diff --git a/docs/index.html b/docs/index.html index 3039f3c..54a129a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -Scenario Spark \ No newline at end of file +Scenario Spark \ No newline at end of file diff --git a/docs/main.css b/docs/main.css index 221f6a3..a3f31f6 100644 --- a/docs/main.css +++ b/docs/main.css @@ -1,2 +1,2 @@ -@font-face{font-family:Material Icons;font-style:normal;font-weight:400;font-display:block;src:url(59322316b3fd6063.woff2)format("woff2"),url(4ad034d2c499d9b6.woff)format("woff")}.material-icons{letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga";direction:ltr;font-family:Material Icons;font-size:24px;font-style:normal;font-weight:400;line-height:1;display:inline-block}.materialize-red{background-color:#e51c23!important}.materialize-red-text{color:#e51c23!important}.materialize-red.lighten-5{background-color:#fdeaeb!important}.materialize-red-text.text-lighten-5{color:#fdeaeb!important}.materialize-red.lighten-4{background-color:#f8c1c3!important}.materialize-red-text.text-lighten-4{color:#f8c1c3!important}.materialize-red.lighten-3{background-color:#f3989b!important}.materialize-red-text.text-lighten-3{color:#f3989b!important}.materialize-red.lighten-2{background-color:#ee6e73!important}.materialize-red-text.text-lighten-2{color:#ee6e73!important}.materialize-red.lighten-1{background-color:#ea454b!important}.materialize-red-text.text-lighten-1{color:#ea454b!important}.materialize-red.darken-1{background-color:#d0181e!important}.materialize-red-text.text-darken-1{color:#d0181e!important}.materialize-red.darken-2{background-color:#b9151b!important}.materialize-red-text.text-darken-2{color:#b9151b!important}.materialize-red.darken-3{background-color:#a21318!important}.materialize-red-text.text-darken-3{color:#a21318!important}.materialize-red.darken-4{background-color:#8b1014!important}.materialize-red-text.text-darken-4{color:#8b1014!important}.red{background-color:#f44336!important}.red-text{color:#f44336!important}.red.lighten-5{background-color:#ffebee!important}.red-text.text-lighten-5{color:#ffebee!important}.red.lighten-4{background-color:#ffcdd2!important}.red-text.text-lighten-4{color:#ffcdd2!important}.red.lighten-3{background-color:#ef9a9a!important}.red-text.text-lighten-3{color:#ef9a9a!important}.red.lighten-2{background-color:#e57373!important}.red-text.text-lighten-2{color:#e57373!important}.red.lighten-1{background-color:#ef5350!important}.red-text.text-lighten-1{color:#ef5350!important}.red.darken-1{background-color:#e53935!important}.red-text.text-darken-1{color:#e53935!important}.red.darken-2{background-color:#d32f2f!important}.red-text.text-darken-2{color:#d32f2f!important}.red.darken-3{background-color:#c62828!important}.red-text.text-darken-3{color:#c62828!important}.red.darken-4{background-color:#b71c1c!important}.red-text.text-darken-4{color:#b71c1c!important}.red.accent-1{background-color:#ff8a80!important}.red-text.text-accent-1{color:#ff8a80!important}.red.accent-2{background-color:#ff5252!important}.red-text.text-accent-2{color:#ff5252!important}.red.accent-3{background-color:#ff1744!important}.red-text.text-accent-3{color:#ff1744!important}.red.accent-4{background-color:#d50000!important}.red-text.text-accent-4{color:#d50000!important}.pink{background-color:#e91e63!important}.pink-text{color:#e91e63!important}.pink.lighten-5{background-color:#fce4ec!important}.pink-text.text-lighten-5{color:#fce4ec!important}.pink.lighten-4{background-color:#f8bbd0!important}.pink-text.text-lighten-4{color:#f8bbd0!important}.pink.lighten-3{background-color:#f48fb1!important}.pink-text.text-lighten-3{color:#f48fb1!important}.pink.lighten-2{background-color:#f06292!important}.pink-text.text-lighten-2{color:#f06292!important}.pink.lighten-1{background-color:#ec407a!important}.pink-text.text-lighten-1{color:#ec407a!important}.pink.darken-1{background-color:#d81b60!important}.pink-text.text-darken-1{color:#d81b60!important}.pink.darken-2{background-color:#c2185b!important}.pink-text.text-darken-2{color:#c2185b!important}.pink.darken-3{background-color:#ad1457!important}.pink-text.text-darken-3{color:#ad1457!important}.pink.darken-4{background-color:#880e4f!important}.pink-text.text-darken-4{color:#880e4f!important}.pink.accent-1{background-color:#ff80ab!important}.pink-text.text-accent-1{color:#ff80ab!important}.pink.accent-2{background-color:#ff4081!important}.pink-text.text-accent-2{color:#ff4081!important}.pink.accent-3{background-color:#f50057!important}.pink-text.text-accent-3{color:#f50057!important}.pink.accent-4{background-color:#c51162!important}.pink-text.text-accent-4{color:#c51162!important}.purple{background-color:#9c27b0!important}.purple-text{color:#9c27b0!important}.purple.lighten-5{background-color:#f3e5f5!important}.purple-text.text-lighten-5{color:#f3e5f5!important}.purple.lighten-4{background-color:#e1bee7!important}.purple-text.text-lighten-4{color:#e1bee7!important}.purple.lighten-3{background-color:#ce93d8!important}.purple-text.text-lighten-3{color:#ce93d8!important}.purple.lighten-2{background-color:#ba68c8!important}.purple-text.text-lighten-2{color:#ba68c8!important}.purple.lighten-1{background-color:#ab47bc!important}.purple-text.text-lighten-1{color:#ab47bc!important}.purple.darken-1{background-color:#8e24aa!important}.purple-text.text-darken-1{color:#8e24aa!important}.purple.darken-2{background-color:#7b1fa2!important}.purple-text.text-darken-2{color:#7b1fa2!important}.purple.darken-3{background-color:#6a1b9a!important}.purple-text.text-darken-3{color:#6a1b9a!important}.purple.darken-4{background-color:#4a148c!important}.purple-text.text-darken-4{color:#4a148c!important}.purple.accent-1{background-color:#ea80fc!important}.purple-text.text-accent-1{color:#ea80fc!important}.purple.accent-2{background-color:#e040fb!important}.purple-text.text-accent-2{color:#e040fb!important}.purple.accent-3{background-color:#d500f9!important}.purple-text.text-accent-3{color:#d500f9!important}.purple.accent-4{background-color:#a0f!important}.purple-text.text-accent-4{color:#a0f!important}.deep-purple{background-color:#673ab7!important}.deep-purple-text{color:#673ab7!important}.deep-purple.lighten-5{background-color:#ede7f6!important}.deep-purple-text.text-lighten-5{color:#ede7f6!important}.deep-purple.lighten-4{background-color:#d1c4e9!important}.deep-purple-text.text-lighten-4{color:#d1c4e9!important}.deep-purple.lighten-3{background-color:#b39ddb!important}.deep-purple-text.text-lighten-3{color:#b39ddb!important}.deep-purple.lighten-2{background-color:#9575cd!important}.deep-purple-text.text-lighten-2{color:#9575cd!important}.deep-purple.lighten-1{background-color:#7e57c2!important}.deep-purple-text.text-lighten-1{color:#7e57c2!important}.deep-purple.darken-1{background-color:#5e35b1!important}.deep-purple-text.text-darken-1{color:#5e35b1!important}.deep-purple.darken-2{background-color:#512da8!important}.deep-purple-text.text-darken-2{color:#512da8!important}.deep-purple.darken-3{background-color:#4527a0!important}.deep-purple-text.text-darken-3{color:#4527a0!important}.deep-purple.darken-4{background-color:#311b92!important}.deep-purple-text.text-darken-4{color:#311b92!important}.deep-purple.accent-1{background-color:#b388ff!important}.deep-purple-text.text-accent-1{color:#b388ff!important}.deep-purple.accent-2{background-color:#7c4dff!important}.deep-purple-text.text-accent-2{color:#7c4dff!important}.deep-purple.accent-3{background-color:#651fff!important}.deep-purple-text.text-accent-3{color:#651fff!important}.deep-purple.accent-4{background-color:#6200ea!important}.deep-purple-text.text-accent-4{color:#6200ea!important}.indigo{background-color:#3f51b5!important}.indigo-text{color:#3f51b5!important}.indigo.lighten-5{background-color:#e8eaf6!important}.indigo-text.text-lighten-5{color:#e8eaf6!important}.indigo.lighten-4{background-color:#c5cae9!important}.indigo-text.text-lighten-4{color:#c5cae9!important}.indigo.lighten-3{background-color:#9fa8da!important}.indigo-text.text-lighten-3{color:#9fa8da!important}.indigo.lighten-2{background-color:#7986cb!important}.indigo-text.text-lighten-2{color:#7986cb!important}.indigo.lighten-1{background-color:#5c6bc0!important}.indigo-text.text-lighten-1{color:#5c6bc0!important}.indigo.darken-1{background-color:#3949ab!important}.indigo-text.text-darken-1{color:#3949ab!important}.indigo.darken-2{background-color:#303f9f!important}.indigo-text.text-darken-2{color:#303f9f!important}.indigo.darken-3{background-color:#283593!important}.indigo-text.text-darken-3{color:#283593!important}.indigo.darken-4{background-color:#1a237e!important}.indigo-text.text-darken-4{color:#1a237e!important}.indigo.accent-1{background-color:#8c9eff!important}.indigo-text.text-accent-1{color:#8c9eff!important}.indigo.accent-2{background-color:#536dfe!important}.indigo-text.text-accent-2{color:#536dfe!important}.indigo.accent-3{background-color:#3d5afe!important}.indigo-text.text-accent-3{color:#3d5afe!important}.indigo.accent-4{background-color:#304ffe!important}.indigo-text.text-accent-4{color:#304ffe!important}.blue{background-color:#2196f3!important}.blue-text{color:#2196f3!important}.blue.lighten-5{background-color:#e3f2fd!important}.blue-text.text-lighten-5{color:#e3f2fd!important}.blue.lighten-4{background-color:#bbdefb!important}.blue-text.text-lighten-4{color:#bbdefb!important}.blue.lighten-3{background-color:#90caf9!important}.blue-text.text-lighten-3{color:#90caf9!important}.blue.lighten-2{background-color:#64b5f6!important}.blue-text.text-lighten-2{color:#64b5f6!important}.blue.lighten-1{background-color:#42a5f5!important}.blue-text.text-lighten-1{color:#42a5f5!important}.blue.darken-1{background-color:#1e88e5!important}.blue-text.text-darken-1{color:#1e88e5!important}.blue.darken-2{background-color:#1976d2!important}.blue-text.text-darken-2{color:#1976d2!important}.blue.darken-3{background-color:#1565c0!important}.blue-text.text-darken-3{color:#1565c0!important}.blue.darken-4{background-color:#0d47a1!important}.blue-text.text-darken-4{color:#0d47a1!important}.blue.accent-1{background-color:#82b1ff!important}.blue-text.text-accent-1{color:#82b1ff!important}.blue.accent-2{background-color:#448aff!important}.blue-text.text-accent-2{color:#448aff!important}.blue.accent-3{background-color:#2979ff!important}.blue-text.text-accent-3{color:#2979ff!important}.blue.accent-4{background-color:#2962ff!important}.blue-text.text-accent-4{color:#2962ff!important}.light-blue{background-color:#03a9f4!important}.light-blue-text{color:#03a9f4!important}.light-blue.lighten-5{background-color:#e1f5fe!important}.light-blue-text.text-lighten-5{color:#e1f5fe!important}.light-blue.lighten-4{background-color:#b3e5fc!important}.light-blue-text.text-lighten-4{color:#b3e5fc!important}.light-blue.lighten-3{background-color:#81d4fa!important}.light-blue-text.text-lighten-3{color:#81d4fa!important}.light-blue.lighten-2{background-color:#4fc3f7!important}.light-blue-text.text-lighten-2{color:#4fc3f7!important}.light-blue.lighten-1{background-color:#29b6f6!important}.light-blue-text.text-lighten-1{color:#29b6f6!important}.light-blue.darken-1{background-color:#039be5!important}.light-blue-text.text-darken-1{color:#039be5!important}.light-blue.darken-2{background-color:#0288d1!important}.light-blue-text.text-darken-2{color:#0288d1!important}.light-blue.darken-3{background-color:#0277bd!important}.light-blue-text.text-darken-3{color:#0277bd!important}.light-blue.darken-4{background-color:#01579b!important}.light-blue-text.text-darken-4{color:#01579b!important}.light-blue.accent-1{background-color:#80d8ff!important}.light-blue-text.text-accent-1{color:#80d8ff!important}.light-blue.accent-2{background-color:#40c4ff!important}.light-blue-text.text-accent-2{color:#40c4ff!important}.light-blue.accent-3{background-color:#00b0ff!important}.light-blue-text.text-accent-3{color:#00b0ff!important}.light-blue.accent-4{background-color:#0091ea!important}.light-blue-text.text-accent-4{color:#0091ea!important}.cyan{background-color:#00bcd4!important}.cyan-text{color:#00bcd4!important}.cyan.lighten-5{background-color:#e0f7fa!important}.cyan-text.text-lighten-5{color:#e0f7fa!important}.cyan.lighten-4{background-color:#b2ebf2!important}.cyan-text.text-lighten-4{color:#b2ebf2!important}.cyan.lighten-3{background-color:#80deea!important}.cyan-text.text-lighten-3{color:#80deea!important}.cyan.lighten-2{background-color:#4dd0e1!important}.cyan-text.text-lighten-2{color:#4dd0e1!important}.cyan.lighten-1{background-color:#26c6da!important}.cyan-text.text-lighten-1{color:#26c6da!important}.cyan.darken-1{background-color:#00acc1!important}.cyan-text.text-darken-1{color:#00acc1!important}.cyan.darken-2{background-color:#0097a7!important}.cyan-text.text-darken-2{color:#0097a7!important}.cyan.darken-3{background-color:#00838f!important}.cyan-text.text-darken-3{color:#00838f!important}.cyan.darken-4{background-color:#006064!important}.cyan-text.text-darken-4{color:#006064!important}.cyan.accent-1{background-color:#84ffff!important}.cyan-text.text-accent-1{color:#84ffff!important}.cyan.accent-2{background-color:#18ffff!important}.cyan-text.text-accent-2{color:#18ffff!important}.cyan.accent-3{background-color:#00e5ff!important}.cyan-text.text-accent-3{color:#00e5ff!important}.cyan.accent-4{background-color:#00b8d4!important}.cyan-text.text-accent-4{color:#00b8d4!important}.teal{background-color:#009688!important}.teal-text{color:#009688!important}.teal.lighten-5{background-color:#e0f2f1!important}.teal-text.text-lighten-5{color:#e0f2f1!important}.teal.lighten-4{background-color:#b2dfdb!important}.teal-text.text-lighten-4{color:#b2dfdb!important}.teal.lighten-3{background-color:#80cbc4!important}.teal-text.text-lighten-3{color:#80cbc4!important}.teal.lighten-2{background-color:#4db6ac!important}.teal-text.text-lighten-2{color:#4db6ac!important}.teal.lighten-1{background-color:#26a69a!important}.teal-text.text-lighten-1{color:#26a69a!important}.teal.darken-1{background-color:#00897b!important}.teal-text.text-darken-1{color:#00897b!important}.teal.darken-2{background-color:#00796b!important}.teal-text.text-darken-2{color:#00796b!important}.teal.darken-3{background-color:#00695c!important}.teal-text.text-darken-3{color:#00695c!important}.teal.darken-4{background-color:#004d40!important}.teal-text.text-darken-4{color:#004d40!important}.teal.accent-1{background-color:#a7ffeb!important}.teal-text.text-accent-1{color:#a7ffeb!important}.teal.accent-2{background-color:#64ffda!important}.teal-text.text-accent-2{color:#64ffda!important}.teal.accent-3{background-color:#1de9b6!important}.teal-text.text-accent-3{color:#1de9b6!important}.teal.accent-4{background-color:#00bfa5!important}.teal-text.text-accent-4{color:#00bfa5!important}.green{background-color:#4caf50!important}.green-text{color:#4caf50!important}.green.lighten-5{background-color:#e8f5e9!important}.green-text.text-lighten-5{color:#e8f5e9!important}.green.lighten-4{background-color:#c8e6c9!important}.green-text.text-lighten-4{color:#c8e6c9!important}.green.lighten-3{background-color:#a5d6a7!important}.green-text.text-lighten-3{color:#a5d6a7!important}.green.lighten-2{background-color:#81c784!important}.green-text.text-lighten-2{color:#81c784!important}.green.lighten-1{background-color:#66bb6a!important}.green-text.text-lighten-1{color:#66bb6a!important}.green.darken-1{background-color:#43a047!important}.green-text.text-darken-1{color:#43a047!important}.green.darken-2{background-color:#388e3c!important}.green-text.text-darken-2{color:#388e3c!important}.green.darken-3{background-color:#2e7d32!important}.green-text.text-darken-3{color:#2e7d32!important}.green.darken-4{background-color:#1b5e20!important}.green-text.text-darken-4{color:#1b5e20!important}.green.accent-1{background-color:#b9f6ca!important}.green-text.text-accent-1{color:#b9f6ca!important}.green.accent-2{background-color:#69f0ae!important}.green-text.text-accent-2{color:#69f0ae!important}.green.accent-3{background-color:#00e676!important}.green-text.text-accent-3{color:#00e676!important}.green.accent-4{background-color:#00c853!important}.green-text.text-accent-4{color:#00c853!important}.light-green{background-color:#8bc34a!important}.light-green-text{color:#8bc34a!important}.light-green.lighten-5{background-color:#f1f8e9!important}.light-green-text.text-lighten-5{color:#f1f8e9!important}.light-green.lighten-4{background-color:#dcedc8!important}.light-green-text.text-lighten-4{color:#dcedc8!important}.light-green.lighten-3{background-color:#c5e1a5!important}.light-green-text.text-lighten-3{color:#c5e1a5!important}.light-green.lighten-2{background-color:#aed581!important}.light-green-text.text-lighten-2{color:#aed581!important}.light-green.lighten-1{background-color:#9ccc65!important}.light-green-text.text-lighten-1{color:#9ccc65!important}.light-green.darken-1{background-color:#7cb342!important}.light-green-text.text-darken-1{color:#7cb342!important}.light-green.darken-2{background-color:#689f38!important}.light-green-text.text-darken-2{color:#689f38!important}.light-green.darken-3{background-color:#558b2f!important}.light-green-text.text-darken-3{color:#558b2f!important}.light-green.darken-4{background-color:#33691e!important}.light-green-text.text-darken-4{color:#33691e!important}.light-green.accent-1{background-color:#ccff90!important}.light-green-text.text-accent-1{color:#ccff90!important}.light-green.accent-2{background-color:#b2ff59!important}.light-green-text.text-accent-2{color:#b2ff59!important}.light-green.accent-3{background-color:#76ff03!important}.light-green-text.text-accent-3{color:#76ff03!important}.light-green.accent-4{background-color:#64dd17!important}.light-green-text.text-accent-4{color:#64dd17!important}.lime{background-color:#cddc39!important}.lime-text{color:#cddc39!important}.lime.lighten-5{background-color:#f9fbe7!important}.lime-text.text-lighten-5{color:#f9fbe7!important}.lime.lighten-4{background-color:#f0f4c3!important}.lime-text.text-lighten-4{color:#f0f4c3!important}.lime.lighten-3{background-color:#e6ee9c!important}.lime-text.text-lighten-3{color:#e6ee9c!important}.lime.lighten-2{background-color:#dce775!important}.lime-text.text-lighten-2{color:#dce775!important}.lime.lighten-1{background-color:#d4e157!important}.lime-text.text-lighten-1{color:#d4e157!important}.lime.darken-1{background-color:#c0ca33!important}.lime-text.text-darken-1{color:#c0ca33!important}.lime.darken-2{background-color:#afb42b!important}.lime-text.text-darken-2{color:#afb42b!important}.lime.darken-3{background-color:#9e9d24!important}.lime-text.text-darken-3{color:#9e9d24!important}.lime.darken-4{background-color:#827717!important}.lime-text.text-darken-4{color:#827717!important}.lime.accent-1{background-color:#f4ff81!important}.lime-text.text-accent-1{color:#f4ff81!important}.lime.accent-2{background-color:#eeff41!important}.lime-text.text-accent-2{color:#eeff41!important}.lime.accent-3{background-color:#c6ff00!important}.lime-text.text-accent-3{color:#c6ff00!important}.lime.accent-4{background-color:#aeea00!important}.lime-text.text-accent-4{color:#aeea00!important}.yellow{background-color:#ffeb3b!important}.yellow-text{color:#ffeb3b!important}.yellow.lighten-5{background-color:#fffde7!important}.yellow-text.text-lighten-5{color:#fffde7!important}.yellow.lighten-4{background-color:#fff9c4!important}.yellow-text.text-lighten-4{color:#fff9c4!important}.yellow.lighten-3{background-color:#fff59d!important}.yellow-text.text-lighten-3{color:#fff59d!important}.yellow.lighten-2{background-color:#fff176!important}.yellow-text.text-lighten-2{color:#fff176!important}.yellow.lighten-1{background-color:#ffee58!important}.yellow-text.text-lighten-1{color:#ffee58!important}.yellow.darken-1{background-color:#fdd835!important}.yellow-text.text-darken-1{color:#fdd835!important}.yellow.darken-2{background-color:#fbc02d!important}.yellow-text.text-darken-2{color:#fbc02d!important}.yellow.darken-3{background-color:#f9a825!important}.yellow-text.text-darken-3{color:#f9a825!important}.yellow.darken-4{background-color:#f57f17!important}.yellow-text.text-darken-4{color:#f57f17!important}.yellow.accent-1{background-color:#ffff8d!important}.yellow-text.text-accent-1{color:#ffff8d!important}.yellow.accent-2{background-color:#ff0!important}.yellow-text.text-accent-2{color:#ff0!important}.yellow.accent-3{background-color:#ffea00!important}.yellow-text.text-accent-3{color:#ffea00!important}.yellow.accent-4{background-color:#ffd600!important}.yellow-text.text-accent-4{color:#ffd600!important}.amber{background-color:#ffc107!important}.amber-text{color:#ffc107!important}.amber.lighten-5{background-color:#fff8e1!important}.amber-text.text-lighten-5{color:#fff8e1!important}.amber.lighten-4{background-color:#ffecb3!important}.amber-text.text-lighten-4{color:#ffecb3!important}.amber.lighten-3{background-color:#ffe082!important}.amber-text.text-lighten-3{color:#ffe082!important}.amber.lighten-2{background-color:#ffd54f!important}.amber-text.text-lighten-2{color:#ffd54f!important}.amber.lighten-1{background-color:#ffca28!important}.amber-text.text-lighten-1{color:#ffca28!important}.amber.darken-1{background-color:#ffb300!important}.amber-text.text-darken-1{color:#ffb300!important}.amber.darken-2{background-color:#ffa000!important}.amber-text.text-darken-2{color:#ffa000!important}.amber.darken-3{background-color:#ff8f00!important}.amber-text.text-darken-3{color:#ff8f00!important}.amber.darken-4{background-color:#ff6f00!important}.amber-text.text-darken-4{color:#ff6f00!important}.amber.accent-1{background-color:#ffe57f!important}.amber-text.text-accent-1{color:#ffe57f!important}.amber.accent-2{background-color:#ffd740!important}.amber-text.text-accent-2{color:#ffd740!important}.amber.accent-3{background-color:#ffc400!important}.amber-text.text-accent-3{color:#ffc400!important}.amber.accent-4{background-color:#ffab00!important}.amber-text.text-accent-4{color:#ffab00!important}.orange{background-color:#ff9800!important}.orange-text{color:#ff9800!important}.orange.lighten-5{background-color:#fff3e0!important}.orange-text.text-lighten-5{color:#fff3e0!important}.orange.lighten-4{background-color:#ffe0b2!important}.orange-text.text-lighten-4{color:#ffe0b2!important}.orange.lighten-3{background-color:#ffcc80!important}.orange-text.text-lighten-3{color:#ffcc80!important}.orange.lighten-2{background-color:#ffb74d!important}.orange-text.text-lighten-2{color:#ffb74d!important}.orange.lighten-1{background-color:#ffa726!important}.orange-text.text-lighten-1{color:#ffa726!important}.orange.darken-1{background-color:#fb8c00!important}.orange-text.text-darken-1{color:#fb8c00!important}.orange.darken-2{background-color:#f57c00!important}.orange-text.text-darken-2{color:#f57c00!important}.orange.darken-3{background-color:#ef6c00!important}.orange-text.text-darken-3{color:#ef6c00!important}.orange.darken-4{background-color:#e65100!important}.orange-text.text-darken-4{color:#e65100!important}.orange.accent-1{background-color:#ffd180!important}.orange-text.text-accent-1{color:#ffd180!important}.orange.accent-2{background-color:#ffab40!important}.orange-text.text-accent-2{color:#ffab40!important}.orange.accent-3{background-color:#ff9100!important}.orange-text.text-accent-3{color:#ff9100!important}.orange.accent-4{background-color:#ff6d00!important}.orange-text.text-accent-4{color:#ff6d00!important}.deep-orange{background-color:#ff5722!important}.deep-orange-text{color:#ff5722!important}.deep-orange.lighten-5{background-color:#fbe9e7!important}.deep-orange-text.text-lighten-5{color:#fbe9e7!important}.deep-orange.lighten-4{background-color:#ffccbc!important}.deep-orange-text.text-lighten-4{color:#ffccbc!important}.deep-orange.lighten-3{background-color:#ffab91!important}.deep-orange-text.text-lighten-3{color:#ffab91!important}.deep-orange.lighten-2{background-color:#ff8a65!important}.deep-orange-text.text-lighten-2{color:#ff8a65!important}.deep-orange.lighten-1{background-color:#ff7043!important}.deep-orange-text.text-lighten-1{color:#ff7043!important}.deep-orange.darken-1{background-color:#f4511e!important}.deep-orange-text.text-darken-1{color:#f4511e!important}.deep-orange.darken-2{background-color:#e64a19!important}.deep-orange-text.text-darken-2{color:#e64a19!important}.deep-orange.darken-3{background-color:#d84315!important}.deep-orange-text.text-darken-3{color:#d84315!important}.deep-orange.darken-4{background-color:#bf360c!important}.deep-orange-text.text-darken-4{color:#bf360c!important}.deep-orange.accent-1{background-color:#ff9e80!important}.deep-orange-text.text-accent-1{color:#ff9e80!important}.deep-orange.accent-2{background-color:#ff6e40!important}.deep-orange-text.text-accent-2{color:#ff6e40!important}.deep-orange.accent-3{background-color:#ff3d00!important}.deep-orange-text.text-accent-3{color:#ff3d00!important}.deep-orange.accent-4{background-color:#dd2c00!important}.deep-orange-text.text-accent-4{color:#dd2c00!important}.brown{background-color:#795548!important}.brown-text{color:#795548!important}.brown.lighten-5{background-color:#efebe9!important}.brown-text.text-lighten-5{color:#efebe9!important}.brown.lighten-4{background-color:#d7ccc8!important}.brown-text.text-lighten-4{color:#d7ccc8!important}.brown.lighten-3{background-color:#bcaaa4!important}.brown-text.text-lighten-3{color:#bcaaa4!important}.brown.lighten-2{background-color:#a1887f!important}.brown-text.text-lighten-2{color:#a1887f!important}.brown.lighten-1{background-color:#8d6e63!important}.brown-text.text-lighten-1{color:#8d6e63!important}.brown.darken-1{background-color:#6d4c41!important}.brown-text.text-darken-1{color:#6d4c41!important}.brown.darken-2{background-color:#5d4037!important}.brown-text.text-darken-2{color:#5d4037!important}.brown.darken-3{background-color:#4e342e!important}.brown-text.text-darken-3{color:#4e342e!important}.brown.darken-4{background-color:#3e2723!important}.brown-text.text-darken-4{color:#3e2723!important}.blue-grey{background-color:#607d8b!important}.blue-grey-text{color:#607d8b!important}.blue-grey.lighten-5{background-color:#eceff1!important}.blue-grey-text.text-lighten-5{color:#eceff1!important}.blue-grey.lighten-4{background-color:#cfd8dc!important}.blue-grey-text.text-lighten-4{color:#cfd8dc!important}.blue-grey.lighten-3{background-color:#b0bec5!important}.blue-grey-text.text-lighten-3{color:#b0bec5!important}.blue-grey.lighten-2{background-color:#90a4ae!important}.blue-grey-text.text-lighten-2{color:#90a4ae!important}.blue-grey.lighten-1{background-color:#78909c!important}.blue-grey-text.text-lighten-1{color:#78909c!important}.blue-grey.darken-1{background-color:#546e7a!important}.blue-grey-text.text-darken-1{color:#546e7a!important}.blue-grey.darken-2{background-color:#455a64!important}.blue-grey-text.text-darken-2{color:#455a64!important}.blue-grey.darken-3{background-color:#37474f!important}.blue-grey-text.text-darken-3{color:#37474f!important}.blue-grey.darken-4{background-color:#263238!important}.blue-grey-text.text-darken-4{color:#263238!important}.grey{background-color:#9e9e9e!important}.grey-text{color:#9e9e9e!important}.grey.lighten-5{background-color:#fafafa!important}.grey-text.text-lighten-5{color:#fafafa!important}.grey.lighten-4{background-color:#f5f5f5!important}.grey-text.text-lighten-4{color:#f5f5f5!important}.grey.lighten-3{background-color:#eee!important}.grey-text.text-lighten-3{color:#eee!important}.grey.lighten-2{background-color:#e0e0e0!important}.grey-text.text-lighten-2{color:#e0e0e0!important}.grey.lighten-1{background-color:#bdbdbd!important}.grey-text.text-lighten-1{color:#bdbdbd!important}.grey.darken-1{background-color:#757575!important}.grey-text.text-darken-1{color:#757575!important}.grey.darken-2{background-color:#616161!important}.grey-text.text-darken-2{color:#616161!important}.grey.darken-3{background-color:#424242!important}.grey-text.text-darken-3{color:#424242!important}.grey.darken-4{background-color:#212121!important}.grey-text.text-darken-4{color:#212121!important}.black{background-color:#000!important}.black-text{color:#000!important}.white{background-color:#fff!important}.white-text{color:#fff!important}.transparent{background-color:transparent!important}.transparent-text{color:transparent!important}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;line-height:1.15}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{margin:.67em 0;font-size:2em}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{-webkit-text-decoration-skip:objects;background-color:transparent}abbr[title]{text-decoration:underline;border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}dfn{font-style:italic}mark{color:#000;background-color:#ff0}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){height:0;display:none}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0;font-family:sans-serif;font-size:100%;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}button{-webkit-appearance:button}html [type=button]{-webkit-appearance:button}[type=reset]{-webkit-appearance:button}[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring{outline:1px dotted buttontext}[type=button]:-moz-focusring{outline:1px dotted buttontext}[type=reset]:-moz-focusring{outline:1px dotted buttontext}[type=submit]:-moz-focusring{outline:1px dotted buttontext}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;white-space:normal;max-width:100%;padding:0;display:table}progress{vertical-align:baseline;display:inline-block}textarea{overflow:auto}[type=checkbox]{box-sizing:border-box;padding:0}[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template,[hidden]{display:none}html{box-sizing:border-box}*,:before,:after{-webkit-box-sizing:inherit;box-sizing:inherit}button,input,optgroup,select,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}ul:not(.browser-default){padding-left:0;list-style-type:none}ul:not(.browser-default)>li{list-style-type:none}a{color:#039be5;-webkit-tap-highlight-color:transparent;text-decoration:none}.valign-wrapper{align-items:center;display:flex}.clearfix{clear:both}.z-depth-0{-webkit-box-shadow:none!important;box-shadow:none!important}.z-depth-1,nav,.card-panel,.card,.toast,.btn,.btn-large,.btn-small,.btn-floating,.dropdown-content,.collapsible,.sidenav{box-shadow:0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px rgba(0,0,0,.2)}.z-depth-1-half,.btn:hover,.btn-large:hover,.btn-small:hover,.btn-floating:hover{box-shadow:0 3px 3px rgba(0,0,0,.14),0 1px 7px rgba(0,0,0,.12),0 3px 1px -1px rgba(0,0,0,.2)}.z-depth-2{box-shadow:0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.3)}.z-depth-3{box-shadow:0 8px 17px 2px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2)}.z-depth-4{box-shadow:0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12),0 8px 10px -7px rgba(0,0,0,.2)}.z-depth-5,.modal{box-shadow:0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12),0 11px 15px -7px rgba(0,0,0,.2)}.hoverable{transition:box-shadow .25s,-webkit-box-shadow .25s}.hoverable:hover{box-shadow:0 8px 17px rgba(0,0,0,.2),0 6px 20px rgba(0,0,0,.19)}.divider{background-color:#e0e0e0;height:1px;overflow:hidden}blockquote{border-left:5px solid #ee6e73;margin:20px 0;padding-left:1.5rem}i{line-height:inherit}i.left{float:left;margin-right:15px}i.right{float:right;margin-left:15px}i.tiny{font-size:1rem}i.small{font-size:2rem}i.medium{font-size:4rem}i.large{font-size:6rem}img.responsive-img,video.responsive-video{max-width:100%;height:auto}.pagination li{text-align:center;vertical-align:top;border-radius:2px;height:30px;display:inline-block}.pagination li a{color:#444;padding:0 10px;font-size:1.2rem;line-height:30px;display:inline-block}.pagination li.active a{color:#fff}.pagination li.active{background-color:#ee6e73}.pagination li.disabled a{cursor:default;color:#999}.pagination li i{font-size:2rem}.pagination li.pages ul li{float:none;display:inline-block}@media only screen and (max-width:992px){.pagination{width:100%}.pagination li.prev,.pagination li.next{width:10%}.pagination li.pages{white-space:nowrap;width:80%;overflow:hidden}}.breadcrumb{color:rgba(255,255,255,.7);font-size:18px}.breadcrumb i,.breadcrumb [class^=mdi-],.breadcrumb [class*=mdi-],.breadcrumb i.material-icons{float:left;font-size:24px;display:inline-block}.breadcrumb:before{content:"";color:rgba(255,255,255,.7);vertical-align:top;-webkit-font-smoothing:antialiased;margin:0 10px 0 8px;font-family:Material Icons;font-size:25px;font-style:normal;font-weight:400;display:inline-block}.breadcrumb:first-child:before{display:none}.breadcrumb:last-child{color:#fff}.parallax-container{height:500px;position:relative;overflow:hidden}.parallax-container .parallax{z-index:-1;position:absolute;top:0;bottom:0;left:0;right:0}.parallax-container .parallax img{opacity:0;min-width:100%;min-height:100%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.pin-top,.pin-bottom{position:relative}.pinned{position:fixed!important}ul.staggered-list li{opacity:0}.fade-in{opacity:0;transform-origin:0}@media only screen and (max-width:600px){.hide-on-small-only,.hide-on-small-and-down{display:none!important}}@media only screen and (max-width:992px){.hide-on-med-and-down{display:none!important}}@media only screen and (min-width:601px){.hide-on-med-and-up{display:none!important}}@media only screen and (min-width:600px) and (max-width:992px){.hide-on-med-only{display:none!important}}@media only screen and (min-width:993px){.hide-on-large-only{display:none!important}}@media only screen and (min-width:1201px){.hide-on-extra-large-only{display:none!important}.show-on-extra-large{display:block!important}}@media only screen and (min-width:993px){.show-on-large{display:block!important}}@media only screen and (min-width:600px) and (max-width:992px){.show-on-medium{display:block!important}}@media only screen and (max-width:600px){.show-on-small{display:block!important}}@media only screen and (min-width:601px){.show-on-medium-and-up{display:block!important}}@media only screen and (max-width:992px){.show-on-medium-and-down{display:block!important}}@media only screen and (max-width:600px){.center-on-small-only{text-align:center}}.page-footer{color:#fff;background-color:#ee6e73;padding-top:20px}.page-footer .footer-copyright{color:rgba(255,255,255,.8);background-color:rgba(51,51,51,.08);justify-content:space-between;align-items:center;min-height:50px;padding:10px 0;display:flex;overflow:hidden}table,th,td{border:none}table{border-collapse:collapse;border-spacing:0;width:100%;display:table}table.striped tr{border-bottom:none}table.striped>tbody>tr:nth-child(odd){background-color:rgba(242,242,242,.5)}table.striped>tbody>tr>td{border-radius:0}table.highlight>tbody>tr{transition:background-color .25s}table.highlight>tbody>tr:hover{background-color:rgba(242,242,242,.5)}table.centered thead tr th,table.centered tbody tr td{text-align:center}tr{border-bottom:1px solid rgba(0,0,0,.12)}td,th{text-align:left;vertical-align:middle;border-radius:2px;padding:15px 5px;display:table-cell}@media only screen and (max-width:992px){table.responsive-table{border-collapse:collapse;border-spacing:0;width:100%;display:block;position:relative}table.responsive-table td:empty:before{content:" "}table.responsive-table th,table.responsive-table td{vertical-align:top;margin:0}table.responsive-table th{text-align:left}table.responsive-table thead{float:left;display:block}table.responsive-table thead tr{padding:0 10px 0 0;display:block}table.responsive-table thead tr th:before{content:" "}table.responsive-table tbody{white-space:nowrap;width:auto;display:block;position:relative;overflow-x:auto}table.responsive-table tbody tr{vertical-align:top;display:inline-block}table.responsive-table th{text-align:right;display:block}table.responsive-table td{text-align:left;min-height:1.25em;display:block}table.responsive-table tr{border-bottom:none;padding:0 10px}table.responsive-table thead{border:0;border-right:1px solid rgba(0,0,0,.12)}}.collection{border:1px solid #e0e0e0;border-radius:2px;margin:.5rem 0 1rem;position:relative;overflow:hidden}.collection .collection-item{background-color:#fff;border-bottom:1px solid #e0e0e0;margin:0;padding:10px 20px;line-height:1.5rem}.collection .collection-item.avatar{min-height:84px;padding-left:72px;position:relative}.collection .collection-item.avatar:not(.circle-clipper)>.circle,.collection .collection-item.avatar :not(.circle-clipper)>.circle{vertical-align:middle;width:42px;height:42px;display:inline-block;position:absolute;left:15px;overflow:hidden}.collection .collection-item.avatar i.circle{color:#fff;text-align:center;background-color:#999;font-size:18px;line-height:42px}.collection .collection-item.avatar .title{font-size:16px}.collection .collection-item.avatar p{margin:0}.collection .collection-item.avatar .secondary-content{position:absolute;top:16px;right:16px}.collection .collection-item:last-child{border-bottom:none}.collection .collection-item.active{color:#eafaf9;background-color:#26a69a}.collection .collection-item.active .secondary-content{color:#fff}.collection a.collection-item{color:#26a69a;transition:all .25s;display:block}.collection a.collection-item:not(.active):hover{background-color:#ddd}.collection.with-header .collection-header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:10px 20px}.collection.with-header .collection-item{padding-left:30px}.collection.with-header .collection-item.avatar{padding-left:72px}.secondary-content{float:right;color:#26a69a}.collapsible .collection{border:none;margin:0}.video-container{height:0;padding-bottom:56.25%;position:relative;overflow:hidden}.video-container iframe,.video-container object,.video-container embed{width:100%;height:100%;position:absolute;top:0;left:0}.progress{background-color:#acece6;border-radius:2px;width:100%;height:4px;margin:.5rem 0 1rem;display:block;position:relative;overflow:hidden}.progress .determinate{background-color:#26a69a;transition:width .3s linear;position:absolute;top:0;bottom:0;left:0}.progress .indeterminate{background-color:#26a69a}.progress .indeterminate:before{content:"";background-color:inherit;will-change:left,right;animation:2.1s cubic-bezier(.65,.815,.735,.395) infinite indeterminate;position:absolute;top:0;bottom:0;left:0}.progress .indeterminate:after{content:"";background-color:inherit;will-change:left,right;animation:2.1s cubic-bezier(.165,.84,.44,1) 1.15s infinite indeterminate-short;position:absolute;top:0;bottom:0;left:0}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}.hide{display:none!important}.left-align{text-align:left}.right-align{text-align:right}.center,.center-align{text-align:center}.left{float:left!important}.right{float:right!important}.no-select{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[type=range]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[type=range]+.thumb{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.circle{border-radius:50%}.center-block{margin-left:auto;margin-right:auto;display:block}.truncate{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.no-padding{padding:0!important}span.badge{text-align:center;color:#757575;float:right;box-sizing:border-box;min-width:3rem;height:22px;margin-left:14px;padding:0 6px;font-size:1rem;line-height:22px}span.badge.new{color:#fff;background-color:#26a69a;border-radius:2px;font-size:.8rem;font-weight:300}span.badge.new:after{content:" new"}span.badge[data-badge-caption]:after{content:" " attr(data-badge-caption)}nav ul a span.badge{float:none;-webkit-font-smoothing:auto;height:22px;margin-left:4px;line-height:22px;display:inline-block}.collection-item span.badge{margin-top:calc(.75rem - 11px)}.collapsible span.badge{margin-left:auto}.sidenav span.badge{margin-top:13px}table span.badge{float:none;margin-left:auto;display:inline-block}.material-icons{text-rendering:optimizeLegibility;-webkit-font-feature-settings:"liga";-moz-font-feature-settings:"liga";font-feature-settings:"liga"}.container{width:90%;max-width:1280px;margin:0 auto}@media only screen and (min-width:601px){.container{width:85%}}@media only screen and (min-width:993px){.container{width:70%}}.col .row{margin-left:-.75rem;margin-right:-.75rem}.section{padding-top:1rem;padding-bottom:1rem}.section.no-pad{padding:0}.section.no-pad-bot{padding-bottom:0}.section.no-pad-top{padding-top:0}.row{margin-bottom:20px;margin-left:auto;margin-right:auto}.row:after{content:"";clear:both;display:table}.row .col{float:left;box-sizing:border-box;min-height:1px;padding:0 .75rem}.row .col[class*=push-],.row .col[class*=pull-]{position:relative}.row .col.s1{width:8.33333%;margin-left:auto;left:auto;right:auto}.row .col.s2{width:16.6667%;margin-left:auto;left:auto;right:auto}.row .col.s3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.s4{width:33.3333%;margin-left:auto;left:auto;right:auto}.row .col.s5{width:41.6667%;margin-left:auto;left:auto;right:auto}.row .col.s6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.s7{width:58.3333%;margin-left:auto;left:auto;right:auto}.row .col.s8{width:66.6667%;margin-left:auto;left:auto;right:auto}.row .col.s9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.s10{width:83.3333%;margin-left:auto;left:auto;right:auto}.row .col.s11{width:91.6667%;margin-left:auto;left:auto;right:auto}.row .col.s12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-s1{margin-left:8.33333%}.row .col.pull-s1{right:8.33333%}.row .col.push-s1{left:8.33333%}.row .col.offset-s2{margin-left:16.6667%}.row .col.pull-s2{right:16.6667%}.row .col.push-s2{left:16.6667%}.row .col.offset-s3{margin-left:25%}.row .col.pull-s3{right:25%}.row .col.push-s3{left:25%}.row .col.offset-s4{margin-left:33.3333%}.row .col.pull-s4{right:33.3333%}.row .col.push-s4{left:33.3333%}.row .col.offset-s5{margin-left:41.6667%}.row .col.pull-s5{right:41.6667%}.row .col.push-s5{left:41.6667%}.row .col.offset-s6{margin-left:50%}.row .col.pull-s6{right:50%}.row .col.push-s6{left:50%}.row .col.offset-s7{margin-left:58.3333%}.row .col.pull-s7{right:58.3333%}.row .col.push-s7{left:58.3333%}.row .col.offset-s8{margin-left:66.6667%}.row .col.pull-s8{right:66.6667%}.row .col.push-s8{left:66.6667%}.row .col.offset-s9{margin-left:75%}.row .col.pull-s9{right:75%}.row .col.push-s9{left:75%}.row .col.offset-s10{margin-left:83.3333%}.row .col.pull-s10{right:83.3333%}.row .col.push-s10{left:83.3333%}.row .col.offset-s11{margin-left:91.6667%}.row .col.pull-s11{right:91.6667%}.row .col.push-s11{left:91.6667%}.row .col.offset-s12{margin-left:100%}.row .col.pull-s12{right:100%}.row .col.push-s12{left:100%}@media only screen and (min-width:601px){.row .col.m1{width:8.33333%;margin-left:auto;left:auto;right:auto}.row .col.m2{width:16.6667%;margin-left:auto;left:auto;right:auto}.row .col.m3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.m4{width:33.3333%;margin-left:auto;left:auto;right:auto}.row .col.m5{width:41.6667%;margin-left:auto;left:auto;right:auto}.row .col.m6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.m7{width:58.3333%;margin-left:auto;left:auto;right:auto}.row .col.m8{width:66.6667%;margin-left:auto;left:auto;right:auto}.row .col.m9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.m10{width:83.3333%;margin-left:auto;left:auto;right:auto}.row .col.m11{width:91.6667%;margin-left:auto;left:auto;right:auto}.row .col.m12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-m1{margin-left:8.33333%}.row .col.pull-m1{right:8.33333%}.row .col.push-m1{left:8.33333%}.row .col.offset-m2{margin-left:16.6667%}.row .col.pull-m2{right:16.6667%}.row .col.push-m2{left:16.6667%}.row .col.offset-m3{margin-left:25%}.row .col.pull-m3{right:25%}.row .col.push-m3{left:25%}.row .col.offset-m4{margin-left:33.3333%}.row .col.pull-m4{right:33.3333%}.row .col.push-m4{left:33.3333%}.row .col.offset-m5{margin-left:41.6667%}.row .col.pull-m5{right:41.6667%}.row .col.push-m5{left:41.6667%}.row .col.offset-m6{margin-left:50%}.row .col.pull-m6{right:50%}.row .col.push-m6{left:50%}.row .col.offset-m7{margin-left:58.3333%}.row .col.pull-m7{right:58.3333%}.row .col.push-m7{left:58.3333%}.row .col.offset-m8{margin-left:66.6667%}.row .col.pull-m8{right:66.6667%}.row .col.push-m8{left:66.6667%}.row .col.offset-m9{margin-left:75%}.row .col.pull-m9{right:75%}.row .col.push-m9{left:75%}.row .col.offset-m10{margin-left:83.3333%}.row .col.pull-m10{right:83.3333%}.row .col.push-m10{left:83.3333%}.row .col.offset-m11{margin-left:91.6667%}.row .col.pull-m11{right:91.6667%}.row .col.push-m11{left:91.6667%}.row .col.offset-m12{margin-left:100%}.row .col.pull-m12{right:100%}.row .col.push-m12{left:100%}}@media only screen and (min-width:993px){.row .col.l1{width:8.33333%;margin-left:auto;left:auto;right:auto}.row .col.l2{width:16.6667%;margin-left:auto;left:auto;right:auto}.row .col.l3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.l4{width:33.3333%;margin-left:auto;left:auto;right:auto}.row .col.l5{width:41.6667%;margin-left:auto;left:auto;right:auto}.row .col.l6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.l7{width:58.3333%;margin-left:auto;left:auto;right:auto}.row .col.l8{width:66.6667%;margin-left:auto;left:auto;right:auto}.row .col.l9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.l10{width:83.3333%;margin-left:auto;left:auto;right:auto}.row .col.l11{width:91.6667%;margin-left:auto;left:auto;right:auto}.row .col.l12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-l1{margin-left:8.33333%}.row .col.pull-l1{right:8.33333%}.row .col.push-l1{left:8.33333%}.row .col.offset-l2{margin-left:16.6667%}.row .col.pull-l2{right:16.6667%}.row .col.push-l2{left:16.6667%}.row .col.offset-l3{margin-left:25%}.row .col.pull-l3{right:25%}.row .col.push-l3{left:25%}.row .col.offset-l4{margin-left:33.3333%}.row .col.pull-l4{right:33.3333%}.row .col.push-l4{left:33.3333%}.row .col.offset-l5{margin-left:41.6667%}.row .col.pull-l5{right:41.6667%}.row .col.push-l5{left:41.6667%}.row .col.offset-l6{margin-left:50%}.row .col.pull-l6{right:50%}.row .col.push-l6{left:50%}.row .col.offset-l7{margin-left:58.3333%}.row .col.pull-l7{right:58.3333%}.row .col.push-l7{left:58.3333%}.row .col.offset-l8{margin-left:66.6667%}.row .col.pull-l8{right:66.6667%}.row .col.push-l8{left:66.6667%}.row .col.offset-l9{margin-left:75%}.row .col.pull-l9{right:75%}.row .col.push-l9{left:75%}.row .col.offset-l10{margin-left:83.3333%}.row .col.pull-l10{right:83.3333%}.row .col.push-l10{left:83.3333%}.row .col.offset-l11{margin-left:91.6667%}.row .col.pull-l11{right:91.6667%}.row .col.push-l11{left:91.6667%}.row .col.offset-l12{margin-left:100%}.row .col.pull-l12{right:100%}.row .col.push-l12{left:100%}}@media only screen and (min-width:1201px){.row .col.xl1{width:8.33333%;margin-left:auto;left:auto;right:auto}.row .col.xl2{width:16.6667%;margin-left:auto;left:auto;right:auto}.row .col.xl3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.xl4{width:33.3333%;margin-left:auto;left:auto;right:auto}.row .col.xl5{width:41.6667%;margin-left:auto;left:auto;right:auto}.row .col.xl6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.xl7{width:58.3333%;margin-left:auto;left:auto;right:auto}.row .col.xl8{width:66.6667%;margin-left:auto;left:auto;right:auto}.row .col.xl9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.xl10{width:83.3333%;margin-left:auto;left:auto;right:auto}.row .col.xl11{width:91.6667%;margin-left:auto;left:auto;right:auto}.row .col.xl12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-xl1{margin-left:8.33333%}.row .col.pull-xl1{right:8.33333%}.row .col.push-xl1{left:8.33333%}.row .col.offset-xl2{margin-left:16.6667%}.row .col.pull-xl2{right:16.6667%}.row .col.push-xl2{left:16.6667%}.row .col.offset-xl3{margin-left:25%}.row .col.pull-xl3{right:25%}.row .col.push-xl3{left:25%}.row .col.offset-xl4{margin-left:33.3333%}.row .col.pull-xl4{right:33.3333%}.row .col.push-xl4{left:33.3333%}.row .col.offset-xl5{margin-left:41.6667%}.row .col.pull-xl5{right:41.6667%}.row .col.push-xl5{left:41.6667%}.row .col.offset-xl6{margin-left:50%}.row .col.pull-xl6{right:50%}.row .col.push-xl6{left:50%}.row .col.offset-xl7{margin-left:58.3333%}.row .col.pull-xl7{right:58.3333%}.row .col.push-xl7{left:58.3333%}.row .col.offset-xl8{margin-left:66.6667%}.row .col.pull-xl8{right:66.6667%}.row .col.push-xl8{left:66.6667%}.row .col.offset-xl9{margin-left:75%}.row .col.pull-xl9{right:75%}.row .col.push-xl9{left:75%}.row .col.offset-xl10{margin-left:83.3333%}.row .col.pull-xl10{right:83.3333%}.row .col.push-xl10{left:83.3333%}.row .col.offset-xl11{margin-left:91.6667%}.row .col.pull-xl11{right:91.6667%}.row .col.push-xl11{left:91.6667%}.row .col.offset-xl12{margin-left:100%}.row .col.pull-xl12{right:100%}.row .col.push-xl12{left:100%}}nav{color:#fff;background-color:#ee6e73;width:100%;height:56px;line-height:56px}nav.nav-extended{height:auto}nav.nav-extended .nav-wrapper{height:auto;min-height:56px}nav.nav-extended .nav-content{line-height:normal;position:relative}nav a{color:#fff}nav i,nav [class^=mdi-],nav [class*=mdi-],nav i.material-icons{height:56px;font-size:24px;line-height:56px;display:block}nav .nav-wrapper{height:100%;position:relative}@media only screen and (min-width:993px){nav a.sidenav-trigger{display:none}}nav .sidenav-trigger{float:left;z-index:1;height:56px;margin:0 18px;position:relative}nav .sidenav-trigger i{height:56px;line-height:56px}nav .brand-logo{color:#fff;padding:0;font-size:2.1rem;display:inline-block;position:absolute}nav .brand-logo.center{left:50%;transform:translate(-50%)}@media only screen and (max-width:992px){nav .brand-logo{left:50%;transform:translate(-50%)}nav .brand-logo.left,nav .brand-logo.right{padding:0;transform:none}nav .brand-logo.left{left:.5rem}nav .brand-logo.right{left:auto;right:.5rem}}nav .brand-logo.right{padding:0;right:.5rem}nav .brand-logo i,nav .brand-logo [class^=mdi-],nav .brand-logo [class*=mdi-],nav .brand-logo i.material-icons{float:left;margin-right:15px}nav .nav-title{padding:28px 0;font-size:32px;display:inline-block}nav ul{margin:0}nav ul li{float:left;padding:0;transition:background-color .3s}nav ul li.active{background-color:rgba(0,0,0,.1)}nav ul a{color:#fff;cursor:pointer;padding:0 15px;font-size:1rem;transition:background-color .3s;display:block}nav ul a.btn,nav ul a.btn-large,nav ul a.btn-small,nav ul a.btn-large,nav ul a.btn-flat,nav ul a.btn-floating{margin-top:-2px;margin-left:15px;margin-right:15px}nav ul a.btn>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-small>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-flat>.material-icons,nav ul a.btn-floating>.material-icons{height:inherit;line-height:inherit}nav ul a:hover{background-color:rgba(0,0,0,.1)}nav ul.left{float:left}nav form{height:100%}nav .input-field{height:100%;margin:0}nav .input-field input{border:none;height:100%;padding-left:2rem;font-size:1.2rem}nav .input-field input:focus{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=text]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=password]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=email]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=url]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=date]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field label{top:0;left:0}nav .input-field label i{color:rgba(255,255,255,.7);transition:color .3s}nav .input-field label.active i{color:#fff}.navbar-fixed{z-index:997;height:56px;position:relative}.navbar-fixed nav{position:fixed}@media only screen and (min-width:601px){nav.nav-extended .nav-wrapper{min-height:64px}nav,nav .nav-wrapper i,nav a.sidenav-trigger,nav a.sidenav-trigger i{height:64px;line-height:64px}.navbar-fixed{height:64px}}a{text-decoration:none}html{color:rgba(0,0,0,.87);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:400;line-height:1.5}@media only screen and (min-width:0){html{font-size:14px}}@media only screen and (min-width:992px){html{font-size:14.5px}}@media only screen and (min-width:1200px){html{font-size:15px}}h1,h2,h3,h4,h5,h6{font-weight:400;line-height:1.3}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}h1{margin:2.8rem 0 1.68rem;font-size:4.2rem;line-height:110%}h2{margin:2.37333rem 0 1.424rem;font-size:3.56rem;line-height:110%}h3{margin:1.94667rem 0 1.168rem;font-size:2.92rem;line-height:110%}h4{margin:1.52rem 0 .912rem;font-size:2.28rem;line-height:110%}h5{margin:1.09333rem 0 .656rem;font-size:1.64rem;line-height:110%}h6{margin:.766667rem 0 .46rem;font-size:1.15rem;line-height:110%}em{font-style:italic}strong{font-weight:500}small{font-size:75%}.light{font-weight:300}.thin{font-weight:200}@media only screen and (min-width:360px){.flow-text{font-size:1.2rem}}@media only screen and (min-width:390px){.flow-text{font-size:1.224rem}}@media only screen and (min-width:420px){.flow-text{font-size:1.248rem}}@media only screen and (min-width:450px){.flow-text{font-size:1.272rem}}@media only screen and (min-width:480px){.flow-text{font-size:1.296rem}}@media only screen and (min-width:510px){.flow-text{font-size:1.32rem}}@media only screen and (min-width:540px){.flow-text{font-size:1.344rem}}@media only screen and (min-width:570px){.flow-text{font-size:1.368rem}}@media only screen and (min-width:600px){.flow-text{font-size:1.392rem}}@media only screen and (min-width:630px){.flow-text{font-size:1.416rem}}@media only screen and (min-width:660px){.flow-text{font-size:1.44rem}}@media only screen and (min-width:690px){.flow-text{font-size:1.464rem}}@media only screen and (min-width:720px){.flow-text{font-size:1.488rem}}@media only screen and (min-width:750px){.flow-text{font-size:1.512rem}}@media only screen and (min-width:780px){.flow-text{font-size:1.536rem}}@media only screen and (min-width:810px){.flow-text{font-size:1.56rem}}@media only screen and (min-width:840px){.flow-text{font-size:1.584rem}}@media only screen and (min-width:870px){.flow-text{font-size:1.608rem}}@media only screen and (min-width:900px){.flow-text{font-size:1.632rem}}@media only screen and (min-width:930px){.flow-text{font-size:1.656rem}}@media only screen and (min-width:960px){.flow-text{font-size:1.68rem}}@media only screen and (max-width:360px){.flow-text{font-size:1.2rem}}.scale-transition{transition:transform .3s cubic-bezier(.53,.01,.36,1.63),-webkit-transform .3s cubic-bezier(.53,.01,.36,1.63)!important}.scale-transition.scale-out{transform:scale(0);transition:transform .2s,-webkit-transform .2s!important}.scale-transition.scale-in{transform:scale(1)}.card-panel{background-color:#fff;border-radius:2px;margin:.5rem 0 1rem;padding:24px;transition:box-shadow .25s,-webkit-box-shadow .25s}.card{background-color:#fff;border-radius:2px;margin:.5rem 0 1rem;transition:box-shadow .25s,-webkit-box-shadow .25s;position:relative}.card .card-title{font-size:24px;font-weight:300}.card .card-title.activator{cursor:pointer}.card.small,.card.medium,.card.large{position:relative}.card.small .card-image,.card.medium .card-image,.card.large .card-image{max-height:60%;overflow:hidden}.card.small .card-image+.card-content,.card.medium .card-image+.card-content,.card.large .card-image+.card-content{max-height:40%}.card.small .card-content,.card.medium .card-content,.card.large .card-content{max-height:100%;overflow:hidden}.card.small .card-action,.card.medium .card-action,.card.large .card-action{position:absolute;bottom:0;left:0;right:0}.card.small{height:300px}.card.medium{height:400px}.card.large{height:500px}.card.horizontal{display:flex}.card.horizontal.small .card-image,.card.horizontal.medium .card-image,.card.horizontal.large .card-image{height:100%;max-height:none;overflow:visible}.card.horizontal.small .card-image img,.card.horizontal.medium .card-image img,.card.horizontal.large .card-image img{height:100%}.card.horizontal .card-image{max-width:50%}.card.horizontal .card-image img{border-radius:2px 0 0 2px;width:auto;max-width:100%}.card.horizontal .card-stacked{flex-direction:column;flex:1;display:flex;position:relative}.card.horizontal .card-stacked .card-content{flex-grow:1}.card.sticky-action .card-action{z-index:2}.card.sticky-action .card-reveal{z-index:1;padding-bottom:64px}.card .card-image{position:relative}.card .card-image img{border-radius:2px 2px 0 0;width:100%;display:block;position:relative;top:0;bottom:0;left:0;right:0}.card .card-image .card-title{color:#fff;max-width:100%;padding:24px;position:absolute;bottom:0;left:0}.card .card-content{border-radius:0 0 2px 2px;padding:24px}.card .card-content p{margin:0}.card .card-content .card-title{margin-bottom:8px;line-height:32px;display:block}.card .card-content .card-title i{line-height:32px}.card .card-action{background-color:inherit;border-top:1px solid rgba(160,160,160,.2);padding:16px 24px;position:relative}.card .card-action:last-child{border-radius:0 0 2px 2px}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating){color:#ffab40;text-transform:uppercase;margin-right:24px;transition:color .3s}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating):hover{color:#ffd8a6}.card .card-reveal{z-index:3;background-color:#fff;width:100%;height:100%;padding:24px;display:none;position:absolute;top:100%;left:0;overflow-y:auto}.card .card-reveal .card-title{cursor:pointer;display:block}#toast-container{z-index:10000;display:block;position:fixed}@media only screen and (max-width:600px){#toast-container{min-width:100%;bottom:0%}}@media only screen and (min-width:601px) and (max-width:992px){#toast-container{max-width:90%;bottom:7%;left:5%}}@media only screen and (min-width:993px){#toast-container{max-width:86%;top:10%;right:7%}}.toast{color:#fff;cursor:default;background-color:#323232;border-radius:2px;justify-content:space-between;align-items:center;width:auto;max-width:100%;height:auto;min-height:48px;margin-top:10px;padding:10px 25px;font-size:1.1rem;font-weight:300;line-height:1.5em;display:flex;position:relative;top:35px}.toast .toast-action{color:#eeff41;margin-left:3rem;margin-right:-25px;font-weight:500}.toast.rounded{border-radius:24px}@media only screen and (max-width:600px){.toast{border-radius:0;width:100%}}.tabs{white-space:nowrap;background-color:#fff;width:100%;height:48px;margin:0 auto;position:relative;overflow-x:auto;overflow-y:hidden}.tabs.tabs-transparent{background-color:transparent}.tabs.tabs-transparent .tab a,.tabs.tabs-transparent .tab.disabled a,.tabs.tabs-transparent .tab.disabled a:hover{color:rgba(255,255,255,.7)}.tabs.tabs-transparent .tab a:hover,.tabs.tabs-transparent .tab a.active{color:#fff}.tabs.tabs-transparent .indicator{background-color:#fff}.tabs.tabs-fixed-width{display:flex}.tabs.tabs-fixed-width .tab{flex-grow:1}.tabs .tab{text-align:center;text-transform:uppercase;height:48px;margin:0;padding:0;line-height:48px;display:inline-block}.tabs .tab a{color:rgba(238,110,115,.7);text-overflow:ellipsis;width:100%;height:100%;padding:0 24px;font-size:14px;transition:color .28s,background-color .28s;display:block;overflow:hidden}.tabs .tab a:focus,.tabs .tab a:focus.active{background-color:rgba(246,178,181,.2);outline:none}.tabs .tab a:hover,.tabs .tab a.active{color:#ee6e73;background-color:transparent}.tabs .tab.disabled a,.tabs .tab.disabled a:hover{color:rgba(238,110,115,.4);cursor:default}.tabs .indicator{will-change:left,right;background-color:#f6b2b5;height:2px;position:absolute;bottom:0}@media only screen and (max-width:992px){.tabs{display:flex}.tabs .tab{flex-grow:1}.tabs .tab a{padding:0 12px}}.material-tooltip{z-index:2000;color:#fff;opacity:0;text-align:center;pointer-events:none;visibility:hidden;background-color:#323232;border-radius:2px;max-width:calc(100% - 4px);min-height:36px;padding:10px 8px;font-size:1rem;line-height:120%;position:absolute;top:0;left:0;overflow:hidden}.backdrop{opacity:0;z-index:-1;transform-origin:50% 0;visibility:hidden;background-color:#323232;border-radius:0 0 50% 50%;width:14px;height:7px;position:absolute}.btn,.btn-large,.btn-small,.btn-flat{text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent;border:none;border-radius:2px;height:36px;padding:0 16px;line-height:36px;display:inline-block}.btn.disabled,.disabled.btn-large,.disabled.btn-small,.btn-floating.disabled,.btn-large.disabled,.btn-small.disabled,.btn-flat.disabled,.btn:disabled,.btn-large:disabled,.btn-small:disabled,.btn-floating:disabled,.btn-large:disabled,.btn-small:disabled,.btn-flat:disabled,.btn[disabled],.btn-large[disabled],.btn-small[disabled],.btn-floating[disabled],.btn-large[disabled],.btn-small[disabled],.btn-flat[disabled]{pointer-events:none;-webkit-box-shadow:none;box-shadow:none;cursor:default;color:#9f9f9f!important;background-color:#dfdfdf!important}.btn.disabled:hover,.disabled.btn-large:hover,.disabled.btn-small:hover,.btn-floating.disabled:hover,.btn-large.disabled:hover,.btn-small.disabled:hover,.btn-flat.disabled:hover,.btn:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-floating:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-flat:disabled:hover,.btn[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-floating[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-flat[disabled]:hover{color:#9f9f9f!important;background-color:#dfdfdf!important}.btn,.btn-large,.btn-small,.btn-floating,.btn-large,.btn-small,.btn-flat{outline:0;font-size:14px}.btn i,.btn-large i,.btn-small i,.btn-floating i,.btn-large i,.btn-small i,.btn-flat i{font-size:1.3rem;line-height:inherit}.btn:focus,.btn-large:focus,.btn-small:focus,.btn-floating:focus{background-color:#1d7d74}.btn,.btn-large,.btn-small{color:#fff;text-align:center;letter-spacing:.5px;cursor:pointer;background-color:#26a69a;text-decoration:none;transition:background-color .2s ease-out}.btn:hover,.btn-large:hover,.btn-small:hover{background-color:#2bbbad}.btn-floating{color:#fff;z-index:1;cursor:pointer;vertical-align:middle;background-color:#26a69a;border-radius:50%;width:40px;height:40px;padding:0;line-height:40px;transition:background-color .3s;display:inline-block;position:relative;overflow:hidden}.btn-floating:hover{background-color:#26a69a}.btn-floating:before{border-radius:0}.btn-floating.btn-large{width:56px;height:56px;padding:0}.btn-floating.btn-large.halfway-fab{bottom:-28px}.btn-floating.btn-large i{line-height:56px}.btn-floating.btn-small{width:32.4px;height:32.4px}.btn-floating.btn-small.halfway-fab{bottom:-16.2px}.btn-floating.btn-small i{line-height:32.4px}.btn-floating.halfway-fab{position:absolute;bottom:-20px;right:24px}.btn-floating.halfway-fab.left{left:24px;right:auto}.btn-floating i{width:inherit;text-align:center;color:#fff;font-size:1.6rem;line-height:40px;display:inline-block}button.btn-floating{border:none}.fixed-action-btn{z-index:997;margin-bottom:0;padding-top:15px;position:fixed;bottom:23px;right:23px}.fixed-action-btn.active ul{visibility:visible}.fixed-action-btn.direction-left,.fixed-action-btn.direction-right{padding:0 0 0 15px}.fixed-action-btn.direction-left ul,.fixed-action-btn.direction-right ul{text-align:right;width:500px;height:100%;top:50%;left:auto;right:64px;transform:translateY(-50%)}.fixed-action-btn.direction-left ul li,.fixed-action-btn.direction-right ul li{margin:7.5px 15px 0 0;display:inline-block}.fixed-action-btn.direction-right{padding:0 15px 0 0}.fixed-action-btn.direction-right ul{text-align:left;direction:rtl;left:64px;right:auto}.fixed-action-btn.direction-right ul li{margin:7.5px 0 0 15px}.fixed-action-btn.direction-bottom{padding:0 0 15px}.fixed-action-btn.direction-bottom ul{flex-direction:column-reverse;display:flex;top:64px;bottom:auto}.fixed-action-btn.direction-bottom ul li{margin:15px 0 0}.fixed-action-btn.toolbar{height:56px;padding:0}.fixed-action-btn.toolbar.active>a i{opacity:0}.fixed-action-btn.toolbar ul{z-index:1;display:flex;top:0;bottom:0}.fixed-action-btn.toolbar ul li{flex:1;height:100%;margin:0;transition:none;display:inline-block}.fixed-action-btn.toolbar ul li a{width:100%;height:100%;-webkit-box-shadow:none;box-shadow:none;color:#fff;z-index:1;background-color:transparent;line-height:56px;display:block;position:relative;overflow:hidden}.fixed-action-btn.toolbar ul li a i{line-height:inherit}.fixed-action-btn ul{text-align:center;visibility:hidden;margin:0;position:absolute;bottom:64px;left:0;right:0}.fixed-action-btn ul li{margin-bottom:15px}.fixed-action-btn ul a.btn-floating{opacity:0}.fixed-action-btn .fab-backdrop{z-index:-1;background-color:#26a69a;border-radius:50%;width:40px;height:40px;position:absolute;top:0;left:0;transform:scale(0)}.btn-flat{-webkit-box-shadow:none;box-shadow:none;color:#343434;cursor:pointer;background-color:transparent;transition:background-color .2s}.btn-flat:focus,.btn-flat:hover{-webkit-box-shadow:none;box-shadow:none}.btn-flat:focus{background-color:rgba(0,0,0,.1)}.btn-flat.disabled,.btn-flat.btn-flat[disabled]{cursor:default;color:#b3b2b2!important;background-color:transparent!important}.btn-large{height:54px;padding:0 28px;font-size:15px;line-height:54px}.btn-large i{font-size:1.6rem}.btn-small{height:32.4px;font-size:13px;line-height:32.4px}.btn-small i{font-size:1.2rem}.btn-block{display:block}.dropdown-content{opacity:0;z-index:9999;transform-origin:0 0;background-color:#fff;min-width:100px;margin:0;display:none;position:absolute;top:0;left:0;overflow-y:auto}.dropdown-content:focus{outline:0}.dropdown-content li{clear:both;color:rgba(0,0,0,.87);cursor:pointer;text-align:left;width:100%;min-height:50px;line-height:1.5rem}.dropdown-content li:hover,.dropdown-content li.active{background-color:#eee}.dropdown-content li:focus{outline:none}.dropdown-content li.divider{height:1px;min-height:0}.dropdown-content li>a,.dropdown-content li>span{color:#26a69a;padding:14px 16px;font-size:16px;line-height:22px;display:block}.dropdown-content li>span>label{height:18px;top:1px;left:0}.dropdown-content li>a>i{height:inherit;line-height:inherit;float:left;width:24px;margin:0 24px 0 0}body.keyboard-focused .dropdown-content li:focus{background-color:#dadada}.input-field.col .dropdown-content [type=checkbox]+label{height:18px;top:1px;left:0;transform:none}.dropdown-trigger{cursor:pointer}.waves-effect{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle;z-index:1;transition:all .3s ease-out;display:inline-block;position:relative;overflow:hidden}.waves-effect .waves-ripple{opacity:0;transition:all .7s ease-out;pointer-events:none;background:rgba(0,0,0,.2);border-radius:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;transition-property:transform,opacity,-webkit-transform;position:absolute;transform:scale(0)}.waves-effect.waves-light .waves-ripple{background-color:rgba(255,255,255,.45)}.waves-effect.waves-red .waves-ripple{background-color:rgba(244,67,54,.7)}.waves-effect.waves-yellow .waves-ripple{background-color:rgba(255,235,59,.7)}.waves-effect.waves-orange .waves-ripple{background-color:rgba(255,152,0,.7)}.waves-effect.waves-purple .waves-ripple{background-color:rgba(156,39,176,.7)}.waves-effect.waves-green .waves-ripple{background-color:rgba(76,175,80,.7)}.waves-effect.waves-teal .waves-ripple{background-color:rgba(0,150,136,.7)}.waves-effect input[type=button]{font-style:normal;font-size:inherit;text-transform:inherit;background:0 0;border:0}.waves-effect input[type=reset]{font-style:normal;font-size:inherit;text-transform:inherit;background:0 0;border:0}.waves-effect input[type=submit]{font-style:normal;font-size:inherit;text-transform:inherit;background:0 0;border:0}.waves-effect img{z-index:-1;position:relative}.waves-notransition{transition:none!important}.waves-circle{transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.waves-input-wrapper{vertical-align:bottom;border-radius:.2em}.waves-input-wrapper .waves-button-input{z-index:1;position:relative;top:0;left:0}.waves-circle{text-align:center;border-radius:50%;width:2.5em;height:2.5em;line-height:2.5em;-webkit-mask-image:none}.waves-block{display:block}.waves-effect .waves-ripple{z-index:-1}.modal{will-change:top,opacity;background-color:#fafafa;border-radius:2px;width:55%;max-height:70%;margin:auto;padding:0;display:none;position:fixed;left:0;right:0;overflow-y:auto}.modal:focus{outline:none}@media only screen and (max-width:992px){.modal{width:80%}}.modal h1,.modal h2,.modal h3,.modal h4{margin-top:0}.modal .modal-content{padding:24px}.modal .modal-close{cursor:pointer}.modal .modal-footer{text-align:right;background-color:#fafafa;border-radius:0 0 2px 2px;width:100%;height:56px;padding:4px 6px}.modal .modal-footer .btn,.modal .modal-footer .btn-large,.modal .modal-footer .btn-small,.modal .modal-footer .btn-flat{margin:6px 0}.modal-overlay{z-index:999;will-change:opacity;background:#000;width:100%;height:125%;display:none;position:fixed;top:-25%;bottom:0;left:0;right:0}.modal.modal-fixed-footer{height:70%;padding:0}.modal.modal-fixed-footer .modal-content{width:100%;height:calc(100% - 56px);max-height:100%;position:absolute;overflow-y:auto}.modal.modal-fixed-footer .modal-footer{border-top:1px solid rgba(0,0,0,.1);position:absolute;bottom:0}.modal.bottom-sheet{will-change:bottom,opacity;border-radius:0;width:100%;max-height:45%;margin:0;top:auto;bottom:-100%}.collapsible{border-top:1px solid #ddd;border-left:1px solid #ddd;border-right:1px solid #ddd;margin:.5rem 0 1rem}.collapsible-header{cursor:pointer;-webkit-tap-highlight-color:transparent;background-color:#fff;border-bottom:1px solid #ddd;padding:1rem;line-height:1.5;display:flex}.collapsible-header:focus{outline:0}.collapsible-header i{text-align:center;width:2rem;margin-right:1rem;font-size:1.6rem;display:inline-block}.keyboard-focused .collapsible-header:focus{background-color:#eee}.collapsible-body{box-sizing:border-box;border-bottom:1px solid #ddd;padding:2rem;display:none}.sidenav .collapsible,.sidenav.fixed .collapsible{-webkit-box-shadow:none;box-shadow:none;border:none}.sidenav .collapsible li,.sidenav.fixed .collapsible li{padding:0}.sidenav .collapsible-header,.sidenav.fixed .collapsible-header{line-height:inherit;height:inherit;background-color:transparent;border:none;padding:0 16px}.sidenav .collapsible-header:hover,.sidenav.fixed .collapsible-header:hover{background-color:rgba(0,0,0,.05)}.sidenav .collapsible-header i,.sidenav.fixed .collapsible-header i{line-height:inherit}.sidenav .collapsible-body,.sidenav.fixed .collapsible-body{background-color:#fff;border:0}.sidenav .collapsible-body li a,.sidenav.fixed .collapsible-body li a{padding:0 23.5px 0 31px}.collapsible.popout{-webkit-box-shadow:none;box-shadow:none;border:none}.collapsible.popout>li{margin:0 24px;transition:margin .35s cubic-bezier(.25,.46,.45,.94);box-shadow:0 2px 5px rgba(0,0,0,.16),0 2px 10px rgba(0,0,0,.12)}.collapsible.popout>li.active{margin:16px 0;box-shadow:0 5px 11px rgba(0,0,0,.18),0 4px 15px rgba(0,0,0,.15)}.chip{color:rgba(0,0,0,.6);background-color:#e4e4e4;border-radius:16px;height:32px;margin-bottom:5px;margin-right:5px;padding:0 12px;font-size:13px;font-weight:500;line-height:32px;display:inline-block}.chip:focus{color:#fff;background-color:#26a69a;outline:none}.chip>img{float:left;border-radius:50%;width:32px;height:32px;margin:0 8px 0 -12px}.chip .close{cursor:pointer;float:right;padding-left:8px;font-size:16px;line-height:32px}.chips{-webkit-box-shadow:none;box-shadow:none;border:none;border-bottom:1px solid #9e9e9e;outline:none;min-height:45px;margin:0 0 8px;transition:all .3s}.chips.focus{border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}.chips:hover{cursor:text}.chips .input{color:rgba(0,0,0,.6);background:0 0;border:0;outline:0;height:3rem;margin:0;font-size:16px;line-height:32px;display:inline-block;width:120px!important;padding:0!important}.chips .input:focus{-webkit-box-shadow:none!important;box-shadow:none!important;border:0!important}.chips .autocomplete-content{margin-top:0;margin-bottom:0}.prefix~.chips{width:92%;width:calc(100% - 3rem);margin-left:3rem}.chips:empty~label{font-size:.8rem;transform:translateY(-140%)}.materialboxed{cursor:-webkit-zoom-in;cursor:zoom-in;-webkit-backface-visibility:hidden;transition:opacity .4s;display:block;position:relative}.materialboxed:hover:not(.active){opacity:.8}.materialboxed.active{cursor:-webkit-zoom-out;cursor:zoom-out}#materialbox-overlay{z-index:1000;will-change:opacity;background-color:#292929;position:fixed;top:0;bottom:0;left:0;right:0}.materialbox-caption{color:#fff;text-align:center;z-index:1000;-webkit-font-smoothing:antialiased;width:100%;height:50px;padding:0% 15%;line-height:50px;display:none;position:fixed;bottom:0;left:0}select:focus{outline:1px solid #c9f3ef}button:focus{background-color:#2ab7a9;outline:none}label{color:#9e9e9e;font-size:.8rem}::-webkit-input-placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}:-ms-input-placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}input:not([type]),textarea.materialize-textarea{width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=text]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=password]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=email]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=url]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=time]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=date]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=datetime]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=datetime-local]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=tel]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=number]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=search]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input:not([type]):disabled,textarea.materialize-textarea:disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input:not([type])[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=text]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=text]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=password]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=password]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=email]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=email]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=url]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=url]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=time]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=time]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=date]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=date]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=datetime]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=datetime]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=datetime-local]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=datetime-local]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=tel]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=tel]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=number]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=number]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=search]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=search]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}textarea.materialize-textarea[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input:not([type]):disabled+label,textarea.materialize-textarea:disabled+label{color:rgba(0,0,0,.42)}input:not([type])[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=text]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=text]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=password]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=password]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=email]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=email]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=url]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=url]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=time]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=time]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=date]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=date]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=datetime]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=datetime]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=datetime-local]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=datetime-local]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=tel]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=tel]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=number]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=number]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=search]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=search]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}textarea.materialize-textarea[readonly=readonly]+label{color:rgba(0,0,0,.42)}input:not([type]):focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=text]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=password]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=email]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=url]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=time]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=date]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=datetime]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=datetime-local]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=tel]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=number]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=search]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input:not([type]):focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#26a69a}input[type=text]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=password]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=email]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=url]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=time]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=date]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=datetime]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=tel]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=number]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=search]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input:not([type]):focus.valid~label,textarea.materialize-textarea:focus.valid~label{color:#4caf50}input[type=text]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=password]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=email]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=url]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=time]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=date]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=datetime]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=datetime-local]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=tel]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=number]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=search]:not(.browser-default):focus.valid~label{color:#4caf50}input:not([type]):focus.invalid~label,textarea.materialize-textarea:focus.invalid~label{color:#f44336}input[type=text]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=password]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=email]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=url]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=time]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=date]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=datetime]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=datetime-local]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=tel]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=number]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=search]:not(.browser-default):focus.invalid~label{color:#f44336}input:not([type]).validate+label,textarea.materialize-textarea.validate+label{width:100%}input[type=text]:not(.browser-default).validate+label{width:100%}input[type=password]:not(.browser-default).validate+label{width:100%}input[type=email]:not(.browser-default).validate+label{width:100%}input[type=url]:not(.browser-default).validate+label{width:100%}input[type=time]:not(.browser-default).validate+label{width:100%}input[type=date]:not(.browser-default).validate+label{width:100%}input[type=datetime]:not(.browser-default).validate+label{width:100%}input[type=datetime-local]:not(.browser-default).validate+label{width:100%}input[type=tel]:not(.browser-default).validate+label{width:100%}input[type=number]:not(.browser-default).validate+label{width:100%}input[type=search]:not(.browser-default).validate+label{width:100%}input.valid:not([type]),input.valid:not([type]):focus,textarea.materialize-textarea.valid,textarea.materialize-textarea.valid:focus,.select-wrapper.valid>input.select-dropdown{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=text]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=text]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=password]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=password]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=email]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=email]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=url]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=url]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=time]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=time]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=date]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=date]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=datetime]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=datetime]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=datetime-local]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=datetime-local]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=tel]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=tel]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=number]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=number]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=search]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=search]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.invalid:not([type]),input.invalid:not([type]):focus,textarea.materialize-textarea.invalid,textarea.materialize-textarea.invalid:focus,.select-wrapper.invalid>input.select-dropdown,.select-wrapper.invalid>input.select-dropdown:focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=text]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=text]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=password]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=password]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=email]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=email]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=url]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=url]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=time]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=time]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=date]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=date]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=datetime]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=datetime]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=datetime-local]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=datetime-local]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=tel]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=tel]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=number]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=number]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=search]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=search]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input:not([type]).valid~.helper-text[data-success],input:not([type]):focus.valid~.helper-text[data-success],input:not([type]).invalid~.helper-text[data-error],input:not([type]):focus.invalid~.helper-text[data-error],textarea.materialize-textarea.valid~.helper-text[data-success],textarea.materialize-textarea:focus.valid~.helper-text[data-success],textarea.materialize-textarea.invalid~.helper-text[data-error],textarea.materialize-textarea:focus.invalid~.helper-text[data-error],.select-wrapper.valid .helper-text[data-success],.select-wrapper.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=text]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=text]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=text]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=text]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=password]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=password]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=password]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=password]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=email]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=email]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=email]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=email]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=url]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=url]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=url]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=url]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=time]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=time]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=time]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=time]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=date]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=date]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=date]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=date]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime-local]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime-local]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime-local]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime-local]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=tel]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=tel]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=tel]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=tel]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=number]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=number]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=number]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=number]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=search]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=search]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=search]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=search]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input:not([type]).valid~.helper-text:after,input:not([type]):focus.valid~.helper-text:after,textarea.materialize-textarea.valid~.helper-text:after,textarea.materialize-textarea:focus.valid~.helper-text:after,.select-wrapper.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=text]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=text]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=password]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=password]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=email]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=email]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=url]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=url]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=time]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=time]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=date]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=date]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=datetime]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=datetime]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=datetime-local]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=datetime-local]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=tel]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=tel]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=number]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=number]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=search]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=search]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input:not([type]).invalid~.helper-text:after,input:not([type]):focus.invalid~.helper-text:after,textarea.materialize-textarea.invalid~.helper-text:after,textarea.materialize-textarea:focus.invalid~.helper-text:after,.select-wrapper.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=text]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=text]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=password]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=password]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=email]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=email]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=url]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=url]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=time]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=time]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=date]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=date]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=datetime]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=datetime]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=datetime-local]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=datetime-local]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=tel]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=tel]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=number]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=number]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=search]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=search]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input:not([type])+label:after,textarea.materialize-textarea+label:after,.select-wrapper+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=text]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=password]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=email]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=url]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=time]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=date]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=datetime]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=datetime-local]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=tel]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=number]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=search]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}.input-field{margin-top:1rem;margin-bottom:1rem;position:relative}.input-field.inline{vertical-align:middle;margin-left:5px;display:inline-block}.input-field.inline input,.input-field.inline .select-dropdown{margin-bottom:1rem}.input-field.col label{left:.75rem}.input-field.col .prefix~label,.input-field.col .prefix~.validate~label{width:calc(100% - 4.5rem)}.input-field>label{color:#9e9e9e;cursor:text;transform-origin:0 100%;text-align:initial;font-size:1rem;transition:transform .2s ease-out,color .2s ease-out,-webkit-transform .2s ease-out;position:absolute;top:0;left:0;transform:translateY(12px)}.input-field>input[type]:-webkit-autofill:not(.browser-default):not([type=search])+label{transform-origin:0 0;transform:translateY(-14px)scale(.8)}.input-field>input[type=date]:not(.browser-default)+label{transform-origin:0 0;transform:translateY(-14px)scale(.8)}.input-field>input[type=time]:not(.browser-default)+label{transform-origin:0 0;transform:translateY(-14px)scale(.8)}.input-field .helper-text{color:rgba(0,0,0,.54);min-height:18px;font-size:12px;display:block;position:relative}.input-field .helper-text:after{opacity:1;position:absolute;top:0;left:0}.input-field .prefix{width:3rem;font-size:2rem;transition:color .2s;position:absolute;top:.5rem}.input-field .prefix.active{color:#26a69a}.input-field .prefix~input,.input-field .prefix~textarea,.input-field .prefix~label,.input-field .prefix~.validate~label,.input-field .prefix~.helper-text,.input-field .prefix~.autocomplete-content{width:92%;width:calc(100% - 3rem);margin-left:3rem}.input-field .prefix~label{margin-left:3rem}@media only screen and (max-width:992px){.input-field .prefix~input{width:86%;width:calc(100% - 3rem)}}@media only screen and (max-width:600px){.input-field .prefix~input{width:80%;width:calc(100% - 3rem)}}.input-field input[type=search]{line-height:inherit;transition:background-color .3s;display:block}.nav-wrapper .input-field input[type=search]{height:inherit;width:calc(100% - 4rem);-webkit-box-shadow:none;box-shadow:none;border:0;padding-left:4rem}.input-field input[type=search]:focus:not(.browser-default){-webkit-box-shadow:none;box-shadow:none;color:#444;background-color:#fff;border:0}.input-field input[type=search]:focus:not(.browser-default)+label i{color:#444}.input-field input[type=search]:focus:not(.browser-default)~.mdi-navigation-close{color:#444}.input-field input[type=search]:focus:not(.browser-default)~.material-icons{color:#444}.input-field input[type=search]+.label-icon{left:1rem;transform:none}.input-field input[type=search]~.mdi-navigation-close{color:transparent;cursor:pointer;font-size:2rem;transition:color .3s;position:absolute;top:0;right:1rem}.input-field input[type=search]~.material-icons{color:transparent;cursor:pointer;font-size:2rem;transition:color .3s;position:absolute;top:0;right:1rem}textarea{background-color:transparent;width:100%;height:3rem}textarea.materialize-textarea{resize:none;box-sizing:border-box;min-height:3rem;padding:.8rem 0;line-height:normal;overflow-y:hidden}.hiddendiv{visibility:hidden;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;z-index:-1;padding-top:1.2rem;position:absolute;top:0}.autocomplete-content li .highlight{color:#444}.autocomplete-content li img{width:40px;height:40px;margin:5px 15px}.character-counter{min-height:18px}[type=radio]:not(:checked){opacity:0;pointer-events:none;position:absolute}[type=radio]:checked{opacity:0;pointer-events:none;position:absolute}[type=radio]:not(:checked)+span{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:25px;padding-left:35px;font-size:1rem;line-height:25px;transition:all .28s;display:inline-block;position:relative}[type=radio]:checked+span{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:25px;padding-left:35px;font-size:1rem;line-height:25px;transition:all .28s;display:inline-block;position:relative}[type=radio]+span:before{content:"";z-index:0;width:16px;height:16px;margin:4px;transition:all .28s;position:absolute;top:0;left:0}[type=radio]+span:after{content:"";z-index:0;width:16px;height:16px;margin:4px;transition:all .28s;position:absolute;top:0;left:0}[type=radio]:not(:checked)+span:before{border-radius:50%}[type=radio]:not(:checked)+span:after{border-radius:50%}[type=radio]:checked+span:before{border-radius:50%}[type=radio]:checked+span:after{border-radius:50%}[type=radio].with-gap:checked+span:before{border-radius:50%}[type=radio].with-gap:checked+span:after{border-radius:50%}[type=radio]:not(:checked)+span:before{border:2px solid #5a5a5a}[type=radio]:not(:checked)+span:after{border:2px solid #5a5a5a}[type=radio]:not(:checked)+span:after{transform:scale(0)}[type=radio]:checked+span:before{border:2px solid transparent}[type=radio]:checked+span:after{border:2px solid #26a69a}[type=radio].with-gap:checked+span:before{border:2px solid #26a69a}[type=radio].with-gap:checked+span:after{border:2px solid #26a69a}[type=radio]:checked+span:after{background-color:#26a69a}[type=radio].with-gap:checked+span:after{background-color:#26a69a}[type=radio]:checked+span:after{transform:scale(1.02)}[type=radio].with-gap:checked+span:after{transform:scale(.5)}[type=radio].tabbed:focus+span:before{box-shadow:0 0 0 10px rgba(0,0,0,.1)}[type=radio].with-gap:disabled:checked+span:before{border:2px solid rgba(0,0,0,.42)}[type=radio].with-gap:disabled:checked+span:after{background-color:rgba(0,0,0,.42);border:none}[type=radio]:disabled:not(:checked)+span:before{background-color:transparent;border-color:rgba(0,0,0,.42)}[type=radio]:disabled:checked+span:before{background-color:transparent;border-color:rgba(0,0,0,.42)}[type=radio]:disabled+span{color:rgba(0,0,0,.42)}[type=radio]:disabled:not(:checked)+span:before{border-color:rgba(0,0,0,.42)}[type=radio]:disabled:checked+span:after{background-color:rgba(0,0,0,.42);border-color:#949494}[type=checkbox]:not(:checked){opacity:0;pointer-events:none;position:absolute}[type=checkbox]:checked{opacity:0;pointer-events:none;position:absolute}[type=checkbox]+span:not(.lever){cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:25px;padding-left:35px;font-size:1rem;line-height:25px;display:inline-block;position:relative}[type=checkbox]+span:not(.lever):before{content:"";z-index:0;border:2px solid #5a5a5a;border-radius:1px;width:18px;height:18px;margin-top:3px;transition:all .2s;position:absolute;top:0;left:0}[type=checkbox]:not(.filled-in)+span:not(.lever):after{content:"";z-index:0;border:2px solid #5a5a5a;border-radius:1px;width:18px;height:18px;margin-top:3px;transition:all .2s;position:absolute;top:0;left:0}[type=checkbox]:not(.filled-in)+span:not(.lever):after{border:0;transform:scale(0)}[type=checkbox]:not(:checked):disabled+span:not(.lever):before{background-color:rgba(0,0,0,.42);border:none}[type=checkbox].tabbed:focus+span:not(.lever):after{background-color:rgba(0,0,0,.1);border:0;border-radius:50%;transform:scale(1);box-shadow:0 0 0 10px rgba(0,0,0,.1)}[type=checkbox]:checked+span:not(.lever):before{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-origin:100% 100%;border:2px solid #26a69a;border-color:transparent #26a69a #26a69a transparent;width:12px;height:22px;top:-4px;left:-5px;transform:rotate(40deg)}[type=checkbox]:checked:disabled+span:before{border-bottom:2px solid rgba(0,0,0,.42);border-right:2px solid rgba(0,0,0,.42)}[type=checkbox]:indeterminate+span:not(.lever):before{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-origin:100% 100%;border:none;border-right:2px solid #26a69a;width:10px;height:22px;top:-11px;left:-12px;transform:rotate(90deg)}[type=checkbox]:indeterminate:disabled+span:not(.lever):before{background-color:transparent;border-right:2px solid rgba(0,0,0,.42)}[type=checkbox].filled-in+span:not(.lever):after{border-radius:2px}[type=checkbox].filled-in+span:not(.lever):before{content:"";z-index:1;transition:border .25s,background-color .25s,width .2s .1s,height .2s .1s,top .2s .1s,left .2s .1s;position:absolute;left:0}[type=checkbox].filled-in+span:not(.lever):after{content:"";z-index:1;transition:border .25s,background-color .25s,width .2s .1s,height .2s .1s,top .2s .1s,left .2s .1s;position:absolute;left:0}[type=checkbox].filled-in:not(:checked)+span:not(.lever):before{transform-origin:100% 100%;border:3px solid transparent;width:0;height:0;top:10px;left:6px;transform:rotate(37deg)}[type=checkbox].filled-in:not(:checked)+span:not(.lever):after{z-index:0;background-color:transparent;border:2px solid #5a5a5a;width:20px;height:20px;top:0}[type=checkbox].filled-in:checked+span:not(.lever):before{transform-origin:100% 100%;border:2px solid #fff;border-color:transparent #fff #fff transparent;width:8px;height:13px;top:0;left:1px;transform:rotate(37deg)}[type=checkbox].filled-in:checked+span:not(.lever):after{z-index:0;background-color:#26a69a;border:2px solid #26a69a;width:20px;height:20px;top:0}[type=checkbox].filled-in.tabbed:focus+span:not(.lever):after{background-color:rgba(0,0,0,.1);border-color:#5a5a5a;border-radius:2px}[type=checkbox].filled-in.tabbed:checked:focus+span:not(.lever):after{background-color:#26a69a;border-color:#26a69a;border-radius:2px}[type=checkbox].filled-in:disabled:not(:checked)+span:not(.lever):before{background-color:transparent;border:2px solid transparent}[type=checkbox].filled-in:disabled:not(:checked)+span:not(.lever):after{background-color:#949494;border-color:transparent}[type=checkbox].filled-in:disabled:checked+span:not(.lever):before{background-color:transparent}[type=checkbox].filled-in:disabled:checked+span:not(.lever):after{background-color:#949494;border-color:#949494}.switch,.switch *{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch label{cursor:pointer}.switch label input[type=checkbox]{opacity:0;width:0;height:0}.switch label input[type=checkbox]:checked+.lever{background-color:#84c7c1}.switch label input[type=checkbox]:checked+.lever:before{left:18px}.switch label input[type=checkbox]:checked+.lever:after{left:18px}.switch label input[type=checkbox]:checked+.lever:after{background-color:#26a69a}.switch label .lever{content:"";vertical-align:middle;background-color:rgba(0,0,0,.38);border-radius:15px;width:36px;height:14px;margin:0 16px;transition:background .3s;display:inline-block;position:relative}.switch label .lever:before,.switch label .lever:after{content:"";border-radius:50%;width:20px;height:20px;transition:left .3s,background .3s,box-shadow .1s,transform .1s,-webkit-box-shadow .1s,-webkit-transform .1s;display:inline-block;position:absolute;top:-3px;left:0}.switch label .lever:before{background-color:rgba(38,166,154,.15)}.switch label .lever:after{background-color:#f1f1f1;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 1px 5px rgba(0,0,0,.12)}input[type=checkbox]:checked:not(:disabled)~.lever:active:before{background-color:rgba(38,166,154,.15);transform:scale(2.4)}input[type=checkbox]:checked:not(:disabled).tabbed:focus~.lever:before{background-color:rgba(38,166,154,.15);transform:scale(2.4)}input[type=checkbox]:not(:disabled)~.lever:active:before{background-color:rgba(0,0,0,.08);transform:scale(2.4)}input[type=checkbox]:not(:disabled).tabbed:focus~.lever:before{background-color:rgba(0,0,0,.08);transform:scale(2.4)}.switch input[type=checkbox][disabled]+.lever{cursor:default;background-color:rgba(0,0,0,.12)}.switch label input[type=checkbox][disabled]+.lever:after{background-color:#949494}.switch label input[type=checkbox][disabled]:checked+.lever:after{background-color:#949494}select{display:none}select.browser-default{display:block}select{background-color:rgba(255,255,255,.9);border:1px solid #f2f2f2;border-radius:2px;width:100%;height:3rem;padding:5px}.select-label{position:absolute}.select-wrapper{position:relative}.select-wrapper.valid+label,.select-wrapper.invalid+label{pointer-events:none;width:100%}.select-wrapper input.select-dropdown{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;outline:none;width:100%;height:3rem;margin:0 0 8px;padding:0;font-size:16px;line-height:3rem;display:block;position:relative}.select-wrapper input.select-dropdown:focus{border-bottom:1px solid #26a69a}.select-wrapper .caret{z-index:0;fill:rgba(0,0,0,.87);margin:auto 0;position:absolute;top:0;bottom:0;right:0}.select-wrapper+label{font-size:.8rem;position:absolute;top:-26px}select:disabled,.select-wrapper.disabled+label{color:rgba(0,0,0,.42)}.select-wrapper.disabled .caret{fill:rgba(0,0,0,.42)}.select-wrapper input.select-dropdown:disabled{color:rgba(0,0,0,.42);cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select-wrapper i{color:rgba(0,0,0,.3)}.select-dropdown li.disabled,.select-dropdown li.disabled>span,.select-dropdown li.optgroup{color:rgba(0,0,0,.3);background-color:transparent}body.keyboard-focused .select-dropdown.dropdown-content li:focus,.select-dropdown.dropdown-content li:hover{background-color:rgba(0,0,0,.08)}.select-dropdown.dropdown-content li.selected{background-color:rgba(0,0,0,.03)}.prefix~.select-wrapper{width:92%;width:calc(100% - 3rem);margin-left:3rem}.prefix~label{margin-left:3rem}.select-dropdown li img{float:right;width:40px;height:40px;margin:5px 15px}.select-dropdown li.optgroup{border-top:1px solid #eee}.select-dropdown li.optgroup.selected>span{color:rgba(0,0,0,.7)}.select-dropdown li.optgroup>span{color:rgba(0,0,0,.4)}.select-dropdown li.optgroup~li.optgroup-option{padding-left:1rem}.file-field{position:relative}.file-field .file-path-wrapper{padding-left:10px;overflow:hidden}.file-field input.file-path{width:100%}.file-field .btn,.file-field .btn-large,.file-field .btn-small{float:left;height:3rem;line-height:3rem}.file-field span{cursor:pointer}.file-field input[type=file]{cursor:pointer;opacity:0;width:100%;-webkit-filter:alpha(opacity=0);filter:alpha(opacity=0);margin:0;padding:0;font-size:20px;position:absolute;top:0;bottom:0;left:0;right:0}.file-field input[type=file]::-webkit-file-upload-button{display:none}.range-field{position:relative}input[type=range]{cursor:pointer}input[type=range]+.thumb{cursor:pointer}input[type=range]{background-color:transparent;border:none;outline:none;width:100%;margin:15px 0;padding:0;position:relative}input[type=range]:focus{outline:none}input[type=range]+.thumb{transform-origin:50%;background-color:#26a69a;border:none;border-radius:50%;width:0;height:0;margin-left:7px;position:absolute;top:10px;left:0;transform:rotate(-45deg)}input[type=range]+.thumb .value{text-align:center;color:#26a69a;width:30px;font-size:0;display:block;transform:rotate(45deg)}input[type=range]+.thumb.active{border-radius:50% 50% 50% 0}input[type=range]+.thumb.active .value{color:#fff;margin-top:8px;margin-left:-1px;font-size:10px}input[type=range]{-webkit-appearance:none}input[type=range]::-webkit-slider-runnable-track{background:#c2c0c2;border:none;height:3px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;transform-origin:50%;background:#26a69a;border:none;border-radius:50%;width:14px;height:14px;margin:-5px 0 0;transition:box-shadow .3s,-webkit-box-shadow .3s}.keyboard-focused input[type=range]:focus:not(.active)::-webkit-slider-thumb{box-shadow:0 0 0 10px rgba(38,166,154,.26)}input[type=range]{border:1px solid #fff}input[type=range]::-moz-range-track{background:#c2c0c2;border:none;height:3px}input[type=range]::-moz-focus-inner{border:0}input[type=range]::-moz-range-thumb{background:#26a69a;border:none;border-radius:50%;width:14px;height:14px;margin-top:-5px;transition:box-shadow .3s,-webkit-box-shadow .3s}input[type=range]:-moz-focusring{outline-offset:-1px;outline:1px solid #fff}.keyboard-focused input[type=range]:focus:not(.active)::-moz-range-thumb{box-shadow:0 0 0 10px rgba(38,166,154,.26)}input[type=range]::-ms-track{color:transparent;background:0 0;border-width:6px 0;border-color:transparent;height:3px}input[type=range]::-ms-fill-lower{background:#777}input[type=range]::-ms-fill-upper{background:#ddd}input[type=range]::-ms-thumb{background:#26a69a;border:none;border-radius:50%;width:14px;height:14px;transition:box-shadow .3s,-webkit-box-shadow .3s}.keyboard-focused input[type=range]:focus:not(.active)::-ms-thumb{box-shadow:0 0 0 10px rgba(38,166,154,.26)}.table-of-contents.fixed{position:fixed}.table-of-contents li{padding:2px 0}.table-of-contents a{color:#757575;letter-spacing:.4px;height:1.5rem;padding-left:16px;font-weight:300;line-height:1.5rem;display:inline-block}.table-of-contents a:hover{color:#a8a8a8;border-left:1px solid #ee6e73;padding-left:15px}.table-of-contents a.active{border-left:2px solid #ee6e73;padding-left:14px;font-weight:500}.sidenav{width:300px;height:100%;height:calc(100% + 60px);height:-moz-calc(100%);z-index:999;will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:#fff;margin:0;padding-bottom:60px;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-105%)}.sidenav.right-aligned{left:auto;right:0;transform:translate(100%)}.sidenav .collapsible{margin:0}.sidenav li{float:none;line-height:48px}.sidenav li.active{background-color:rgba(0,0,0,.05)}.sidenav li>a{color:rgba(0,0,0,.87);height:48px;padding:0 32px;font-size:14px;font-weight:500;line-height:48px;display:block}.sidenav li>a:hover{background-color:rgba(0,0,0,.05)}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-flat,.sidenav li>a.btn-floating{margin:10px 15px}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-floating{color:#fff}.sidenav li>a.btn-flat{color:#343434}.sidenav li>a.btn:hover,.sidenav li>a.btn-large:hover,.sidenav li>a.btn-small:hover,.sidenav li>a.btn-large:hover{background-color:#2bbbad}.sidenav li>a.btn-floating:hover{background-color:#26a69a}.sidenav li>a>i,.sidenav li>a>[class^=mdi-],.sidenav li>a li>a>[class*=mdi-],.sidenav li>a>i.material-icons{float:left;color:rgba(0,0,0,.54);width:24px;height:48px;margin:0 32px 0 0;line-height:48px}.sidenav .divider{margin:8px 0 0}.sidenav .subheader{cursor:initial;pointer-events:none;color:rgba(0,0,0,.54);font-size:14px;font-weight:500;line-height:48px}.sidenav .subheader:hover{background-color:transparent}.sidenav .user-view{margin-bottom:8px;padding:32px 32px 0;position:relative}.sidenav .user-view>a{height:auto;padding:0}.sidenav .user-view>a:hover{background-color:transparent}.sidenav .user-view .background{z-index:-1;position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.sidenav .user-view .circle,.sidenav .user-view .name,.sidenav .user-view .email{display:block}.sidenav .user-view .circle{width:64px;height:64px}.sidenav .user-view .name,.sidenav .user-view .email{font-size:14px;line-height:24px}.sidenav .user-view .name{margin-top:16px;font-weight:500}.sidenav .user-view .email{padding-bottom:16px;font-weight:400}.drag-target{z-index:998;width:10px;height:100%;position:fixed;top:0}.drag-target.right-aligned{right:0}.sidenav.sidenav-fixed{position:fixed;left:0;transform:translate(0)}.sidenav.sidenav-fixed.right-aligned{left:auto;right:0}@media only screen and (max-width:992px){.sidenav.sidenav-fixed{transform:translate(-105%)}.sidenav.sidenav-fixed.right-aligned{transform:translate(105%)}.sidenav>a{padding:0 16px}.sidenav .user-view{padding:16px 16px 0}}.sidenav .collapsible-body>ul:not(.collapsible)>li.active,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active{background-color:#ee6e73}.sidenav .collapsible-body>ul:not(.collapsible)>li.active a,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active a{color:#fff}.sidenav .collapsible-body{padding:0}.sidenav-overlay{opacity:0;z-index:997;background-color:rgba(0,0,0,.5);height:120vh;display:none;position:fixed;top:0;left:0;right:0}.preloader-wrapper{width:50px;height:50px;display:inline-block;position:relative}.preloader-wrapper.small{width:36px;height:36px}.preloader-wrapper.big{width:64px;height:64px}.preloader-wrapper.active{animation:1.568s linear infinite container-rotate}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(360deg)}}@keyframes container-rotate{to{transform:rotate(360deg)}}.spinner-layer{opacity:0;border-color:#26a69a;width:100%;height:100%;position:absolute}.spinner-blue,.spinner-blue-only{border-color:#4285f4}.spinner-red,.spinner-red-only{border-color:#db4437}.spinner-yellow,.spinner-yellow-only{border-color:#f4b400}.spinner-green,.spinner-green-only{border-color:#0f9d58}.active .spinner-layer.spinner-blue{animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate,5.332s cubic-bezier(.4,0,.2,1) infinite both blue-fade-in-out}.active .spinner-layer.spinner-red{animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate,5.332s cubic-bezier(.4,0,.2,1) infinite both red-fade-in-out}.active .spinner-layer.spinner-yellow{animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate,5.332s cubic-bezier(.4,0,.2,1) infinite both yellow-fade-in-out}.active .spinner-layer.spinner-green{animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate,5.332s cubic-bezier(.4,0,.2,1) infinite both green-fade-in-out}.active .spinner-layer,.active .spinner-layer.spinner-blue-only,.active .spinner-layer.spinner-red-only,.active .spinner-layer.spinner-yellow-only,.active .spinner-layer.spinner-green-only{opacity:1;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg)}}@keyframes fill-unfill-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(1080deg)}}@keyframes blue-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes red-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes yellow-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes green-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}.gap-patch{border-color:inherit;width:10%;height:100%;position:absolute;top:0;left:45%;overflow:hidden}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{border-color:inherit;width:50%;height:100%;display:inline-block;position:relative;overflow:hidden}.circle-clipper .circle{border-style:solid;border-width:3px;border-color:inherit;border-radius:50%;width:200%;height:100%;animation:none;position:absolute;top:0;bottom:0;right:0;border-bottom-color:transparent!important}.circle-clipper.left .circle{left:0;transform:rotate(129deg);border-right-color:transparent!important}.circle-clipper.right .circle{left:-100%;transform:rotate(-129deg);border-left-color:transparent!important}.active .circle-clipper.left .circle{animation:1.333s cubic-bezier(.4,0,.2,1) infinite both left-spin}.active .circle-clipper.right .circle{animation:1.333s cubic-bezier(.4,0,.2,1) infinite both right-spin}@-webkit-keyframes left-spin{0%{-webkit-transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg)}}@keyframes left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@-webkit-keyframes right-spin{0%{-webkit-transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg)}}@keyframes right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}#spinnerContainer.cooldown{animation:1.568s linear infinite container-rotate,.4s cubic-bezier(.4,0,.2,1) fade-out}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.slider{width:100%;height:400px;position:relative}.slider.fullscreen{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.slider.fullscreen ul.slides{height:100%}.slider.fullscreen ul.indicators{z-index:2;bottom:30px}.slider .slides{background-color:#9e9e9e;height:400px;margin:0}.slider .slides li{opacity:0;z-index:1;width:100%;height:inherit;position:absolute;top:0;left:0;overflow:hidden}.slider .slides li img{background-position:50%;background-size:cover;width:100%;height:100%}.slider .slides li .caption{color:#fff;opacity:0;width:70%;position:absolute;top:15%;left:15%}.slider .slides li .caption p{color:#e0e0e0}.slider .slides li.active{z-index:2}.slider .indicators{text-align:center;margin:0;position:absolute;bottom:0;left:0;right:0}.slider .indicators .indicator-item{cursor:pointer;background-color:#e0e0e0;border-radius:50%;width:16px;height:16px;margin:0 12px;transition:background-color .3s;display:inline-block;position:relative}.slider .indicators .indicator-item.active{background-color:#4caf50}.carousel{perspective:500px;width:100%;height:400px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;transform-origin:0%;position:relative;overflow:hidden}.carousel.carousel-slider{top:0;left:0}.carousel.carousel-slider .carousel-fixed-item{z-index:1;position:absolute;bottom:20px;left:0;right:0}.carousel.carousel-slider .carousel-fixed-item.with-indicators{bottom:68px}.carousel.carousel-slider .carousel-item{width:100%;height:100%;min-height:400px;position:absolute;top:0;left:0}.carousel.carousel-slider .carousel-item h2{font-size:24px;font-weight:500;line-height:32px}.carousel.carousel-slider .carousel-item p{font-size:15px}.carousel .carousel-item{visibility:hidden;width:200px;height:200px;position:absolute;top:0;left:0}.carousel .carousel-item>img{width:100%}.carousel .indicators{text-align:center;margin:0;position:absolute;bottom:0;left:0;right:0}.carousel .indicators .indicator-item{cursor:pointer;background-color:rgba(255,255,255,.5);border-radius:50%;width:8px;height:8px;margin:24px 4px;transition:background-color .3s;display:inline-block;position:relative}.carousel .indicators .indicator-item.active{background-color:#fff}.carousel.scrolling .carousel-item .materialboxed,.carousel .carousel-item:not(.active) .materialboxed{pointer-events:none}.tap-target-wrapper{z-index:1000;visibility:hidden;width:800px;height:800px;transition:visibility 0s .3s;position:fixed}.tap-target-wrapper.open{visibility:visible;transition:visibility}.tap-target-wrapper.open .tap-target{opacity:.95;transition:transform .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;transform:scale(1)}.tap-target-wrapper.open .tap-target-wave:before{transform:scale(1)}.tap-target-wrapper.open .tap-target-wave:after{visibility:visible;transition:opacity .3s,transform .3s,visibility 0s 1s,-webkit-transform .3s;animation:1s cubic-bezier(.24,0,.38,1) infinite pulse-animation}.tap-target{opacity:0;background-color:#ee6e73;border-radius:50%;width:100%;height:100%;font-size:1rem;transition:transform .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;position:absolute;transform:scale(0);box-shadow:0 20px 20px rgba(0,0,0,.14),0 10px 50px rgba(0,0,0,.12),0 30px 10px -20px rgba(0,0,0,.2)}.tap-target-content{display:table-cell;position:relative}.tap-target-wave{z-index:10001;border-radius:50%;position:absolute}.tap-target-wave:before,.tap-target-wave:after{content:"";background-color:#fff;border-radius:50%;width:100%;height:100%;display:block;position:absolute}.tap-target-wave:before{transition:transform .3s,-webkit-transform .3s;transform:scale(0)}.tap-target-wave:after{visibility:hidden;z-index:-1;transition:opacity .3s,transform .3s,visibility,-webkit-transform .3s}.tap-target-origin{z-index:10002;top:50%;left:50%;transform:translate(-50%,-50%);position:absolute!important}.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small),.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small):hover{background:0 0}@media only screen and (max-width:600px){.tap-target,.tap-target-wrapper{width:600px;height:600px}}.pulse{position:relative;overflow:visible}.pulse:before{content:"";background-color:inherit;border-radius:inherit;z-index:-1;width:100%;height:100%;transition:opacity .3s,transform .3s,-webkit-transform .3s;animation:1s cubic-bezier(.24,0,.38,1) infinite pulse-animation;display:block;position:absolute;top:0;left:0}@keyframes pulse-animation{0%{opacity:1;transform:scale(1)}50%{opacity:0;transform:scale(1.5)}to{opacity:0;transform:scale(1.5)}}.datepicker-modal{min-width:300px;max-width:325px;max-height:none}.datepicker-container.modal-content{flex-direction:column;padding:0;display:flex}.datepicker-controls{justify-content:space-between;width:280px;margin:0 auto;display:flex}.datepicker-controls .selects-container{display:flex}.datepicker-controls .select-wrapper input{text-align:center;border-bottom:none;margin:0}.datepicker-controls .select-wrapper input:focus{border-bottom:none}.datepicker-controls .select-wrapper .caret{display:none}.datepicker-controls .select-year input{width:50px}.datepicker-controls .select-month input{width:70px}.month-prev,.month-next{cursor:pointer;background-color:transparent;border:none;margin-top:4px}.datepicker-date-display{color:#fff;background-color:#26a69a;flex:auto;padding:20px 22px;font-weight:500}.datepicker-date-display .year-text{color:rgba(255,255,255,.7);font-size:1.5rem;line-height:25px;display:block}.datepicker-date-display .date-text{font-size:2.8rem;font-weight:500;line-height:47px;display:block}.datepicker-calendar-container{flex:2.5 auto}.datepicker-table{width:280px;margin:0 auto;font-size:1rem}.datepicker-table thead{border-bottom:none}.datepicker-table th{text-align:center;padding:10px 5px}.datepicker-table tr{border:none}.datepicker-table abbr{color:#999;text-decoration:none}.datepicker-table td{border-radius:50%;padding:0}.datepicker-table td.is-today{color:#26a69a}.datepicker-table td.is-selected{color:#fff;background-color:#26a69a}.datepicker-table td.is-outside-current-month,.datepicker-table td.is-disabled{color:rgba(0,0,0,.3);pointer-events:none}.datepicker-day-button{cursor:pointer;width:100%;color:inherit;background-color:transparent;border:none;border-radius:50%;padding:0 5px;line-height:38px;display:block}.datepicker-day-button:focus{background-color:rgba(43,161,150,.25)}.datepicker-footer{justify-content:space-between;width:280px;margin:0 auto;padding-bottom:5px;display:flex}.datepicker-cancel,.datepicker-clear,.datepicker-today,.datepicker-done{color:#26a69a;padding:0 1rem}.datepicker-clear{color:#f44336}@media only screen and (min-width:601px){.datepicker-modal{max-width:625px}.datepicker-container.modal-content{flex-direction:row}.datepicker-date-display{flex:0 270px}.datepicker-controls,.datepicker-table,.datepicker-footer{width:320px}.datepicker-day-button{line-height:44px}}.timepicker-modal{max-width:325px;max-height:none}.timepicker-container.modal-content{flex-direction:column;padding:0;display:flex}.text-primary{color:#fff}.timepicker-digital-display{background-color:#26a69a;flex:auto;padding:10px;font-weight:300}.timepicker-text-container{text-align:center;color:rgba(255,255,255,.6);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:4rem;font-weight:400;position:relative}.timepicker-span-hours,.timepicker-span-minutes,.timepicker-span-am-pm div{cursor:pointer}.timepicker-span-hours{margin-right:3px}.timepicker-span-minutes{margin-left:3px}.timepicker-display-am-pm{font-size:1.3rem;font-weight:400;position:absolute;bottom:1rem;right:1rem}.timepicker-analog-display{flex:2.5 auto}.timepicker-plate{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#eee;border-radius:50%;width:270px;height:270px;margin:25px auto 5px;position:relative;overflow:visible}.timepicker-canvas,.timepicker-dial{position:absolute;top:0;bottom:0;left:0;right:0}.timepicker-minutes{visibility:hidden}.timepicker-tick{color:rgba(0,0,0,.87);text-align:center;cursor:pointer;border-radius:50%;width:40px;height:40px;font-size:15px;line-height:40px;position:absolute}.timepicker-tick.active,.timepicker-tick:hover{background-color:rgba(38,166,154,.25)}.timepicker-dial{transition:transform .35s,opacity .35s,-webkit-transform .35s}.timepicker-dial-out{opacity:0}.timepicker-dial-out.timepicker-hours{transform:scale(1.1)}.timepicker-dial-out.timepicker-minutes{transform:scale(.8)}.timepicker-canvas{transition:opacity .175s}.timepicker-canvas line{stroke:#26a69a;stroke-width:4px;stroke-linecap:round}.timepicker-canvas-out{opacity:.25}.timepicker-canvas-bearing,.timepicker-canvas-bg{stroke:none;fill:#26a69a}.timepicker-footer{justify-content:space-between;margin:0 auto;padding:5px 1rem;display:flex}.timepicker-clear{color:#f44336}.timepicker-close{color:#26a69a}.timepicker-clear,.timepicker-close{padding:0 20px}@media only screen and (min-width:601px){.timepicker-modal{max-width:600px}.timepicker-container.modal-content{flex-direction:row}.timepicker-text-container{top:32%}.timepicker-display-am-pm{text-align:center;margin-top:1.2rem;position:relative;bottom:auto;right:auto}.container{width:95%}}.container{max-width:unset}body{font-size:18px;overflow-x:hidden}.btn,.btn-floating{background-color:#1565c0}.page-footer,.nav-wrapper,.statusbar,.nav-content{background-color:#fff}nav .title{font-size:2rem;position:fixed;top:0;left:200px}.input-field,.switch>label,.input-field>label,.input-field>.material-icons,.dropdown-content>li>a,.tooltip>.material-icons,label>span,.secondary-content>.material-icons{color:#1a237e}.tabs.tabs-transparent .tab a,nav ul a{color:#1a237e;padding:0}.primary-text{color:#1a237e}a{color:#2b36aa}.markdown ul{padding-left:20px}.markdown ul>li{padding-left:20px;list-style-type:disc}.leaflet-top,.leaflet-bottom{z-index:950}.block-with-text{text-align:justify;max-height:3.6em;margin-right:-1em;padding-right:1em;line-height:1.2em;position:relative;overflow:hidden}.block-with-text:before{content:"...";position:absolute;bottom:0;right:0}.block-with-text:after{content:"";background:#fff;width:1em;height:1em;margin-top:.2em;position:absolute;right:0}.sidenav{top:66px}.buttons a{margin:5px}@media print{html,body{font-size:14px}body{color:#000;background-color:#fff;margin:0}a[href^=http]:after{content:" (" attr(href)")"}.leaflet-container,img,pre,blockquote{page-break-inside:avoid;page-break-before:auto;page-break-after:auto;page-break-inside:avoid}main:after{content:"Copyright DRIVER+";text-align:center;display:block}.do-not-print,header,footer,aside,nav,form,iframe,.menu,.hero,.adslot{display:none}}.margin-top7{margin-top:7px}.inline{margin:0 1rem;display:inline-block}ul.list-inline li{display:inline}ul.menu-buttons>li{margin:5px 0}ul.menu-buttons>li>a{width:100%}ul.questionnaire-nav{text-align:center;width:100%}ul.questionnaire-nav>li{margin:0 10px}ul.questionnaire-nav>li>a{width:25%}.markdown p{color:#000;font-weight:400}.markdown.squeeze p,.repeat-list .pagination{margin:0}.repeat-list .assessment-plugin{margin:0 10px}.incident-view{width:100vw;margin-bottom:0;position:absolute;top:65px;left:-10px}.card-panel{cursor:pointer;margin:.5rem 0;padding:0 20px}.card-panel.xl{height:41.5vh}.card-panel.large{height:200px}.card-panel.medium{height:125px}.card-panel.small{height:75px}.widget{position:relative}.widget ul{margin:0}.widget-link{display:none}.widget:hover .widget-link{display:block}.bold{font-weight:700}.subject{vertical-align:middle;width:42px;display:inline-block;position:absolute;left:15px;overflow:hidden}ul.collection.objects,ul.collection.subjects{max-height:160px;overflow-y:auto}ul.updates{max-height:70px;overflow-y:auto}ul.measures{max-height:170px;overflow-y:auto}li.collection-item:first-child{background-color:#fff;position:fixed}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}.radio{margin-top:2rem}.material-placeholder{z-index:1999}.materialbox-overlay{z-index:2000}.incident-view .leaflet-container{height:200px!important}#map-page .leaflet-container{width:100vw;margin-bottom:-65px;margin-left:-130px;height:91vh!important}.material-icons.hoverable{text-align:center;cursor:pointer}.material-icons.hoverable:hover{background-color:rgba(0,0,0,.1)}.card-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.comment{background-color:#d3d3d3;border-radius:10px;margin:10px 0;padding:10px}.comment-text p{margin:0}.tooltip{display:inline-block;position:relative}.tooltip .tooltiptext{visibility:hidden;color:#fff;text-align:center;z-index:1;background-color:#000;border-radius:6px;width:320px;padding:5px;font-size:1rem;line-height:2rem;position:absolute}.tooltip:hover .tooltiptext{visibility:visible}.tooltip .tooltiptext{width:150px;margin-left:-75px;top:100%;left:50%}.user-page{margin-top:10px}.multiple-choice-question label span{color:#000}:root{--gutter:10px}.hs-container{grid-gap:var(--gutter)0;grid-template-columns:var(--gutter)1fr var(--gutter);align-content:start;width:100%;height:100%}.hs-container>*{grid-column:2/-2}.hs-container>.full{grid-column:1/-1}.hs-header{margin-bottom:-25px;padding-top:10px}.hs>li,.item{scroll-snap-align:center;padding:calc(var(--gutter)/2*1.5);flex-direction:column;justify-content:center;align-items:center;display:flex}.hs{grid-gap:calc(var(--gutter)/2);grid-template-rows:minmax(150px,1fr);grid-template-columns:0;grid-auto-flow:column;grid-auto-columns:calc(24% - var(--gutter)*2);scroll-snap-type:x proximity;padding-bottom:calc(.1*var(--gutter));margin-bottom:calc(-.25*var(--gutter));display:grid;overflow-x:scroll;overflow-y:hidden}.hs:before,.hs:after{content:"";width:10px}.hs-item{width:100%}.section-wrapper{color:#777;border-top:1px solid rgba(0,0,0,.14);margin-top:20px;transition:margin .25s}img.thumbnail{width:auto;height:100%;max-height:20vh;margin:0 auto}.sidenav{width:250px}ul.person-details>li>i.material-icons{vertical-align:middle;margin:3px 10px 3px 0}ul.projects>li{margin:4px 0}ul.projects>li>span.project-id{margin-right:5px}.collapsible>li:first-child .collapsible-header span.badge{margin-left:10px}.input-field.options>label{top:-2.5rem}.input-field.options{margin-top:3rem}.condensed .input-field{margin:0 auto}.assessment-plugin.section{padding:0}.inline-icon{vertical-align:bottom}.margins{margin:10px}.overview .capability{white-space:nowrap;width:100%;margin-right:2rem;display:flex}.overview .capability .name{text-overflow:ellipsis;white-space:nowrap;flex-grow:1;overflow:hidden}.overview .square{background-color:#555;border:2px solid #000;flex:0 0 20px;width:20px;height:20px;margin-top:5px;margin-right:8px}.page .row{margin-bottom:0}.page{min-height:95vh;padding-bottom:20px}label,.pagination li,.material-icons,.unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-khtml-user-select:none}.chips{margin-top:0}a.waves-effect.waves-teal.btn-flat.selected{color:#fff;background:#1a237e}.input-field>label:not(.label-icon).active{transform-origin:0 0;transform:translateY(-8px)scale(.8)}.input-field>input[type=color]{margin-top:20px}.button-group{flex-flow:row;display:flex}.language-option{margin-right:10px;display:inline-block}.language-option img{cursor:pointer;width:30px;height:20px}.language-option span{color:#fff;white-space:nowrap;z-index:100;background-color:#000;border-radius:5px;margin-top:5px;margin-left:5px;padding:5px;font-size:14px;display:none;position:absolute}.language-option:hover span{display:block}.clickable{cursor:pointer}.disabled-image{-webkit-filter:grayscale();filter:grayscale();opacity:.5;pointer-events:none}.kanban{flex-flow:wrap;margin:0;padding:0;list-style:none;display:flex}.kanban-row{flex-flow:column;width:210px;height:100%;margin-top:10px;padding:0;list-style:none;display:flex}.kanban-header{justify-content:space-between;align-items:center;width:100%;height:50px;display:flex}.kanban-item{color:#fff;text-align:center;width:200px;min-width:200px;height:60px;margin:0 0 .7rem;padding:0}.kanban-item .card-content{padding:15px 10px;font-size:.8rem}.kanban-item .card-content>.card-title{margin-bottom:0}.kanban-item .card-desc{text-align:left;white-space:normal;word-wrap:break-word;text-overflow:ellipsis;padding:4px;font-size:.9rem;transition-delay:4s;display:none;overflow:hidden}.kanban-item:hover .card-desc{transition-delay:4s;display:block}.title{letter-spacing:.0125em;font-size:1.25rem;font-weight:500}.w70{width:70%}.w30{width:30%}.mw30{min-width:30%}.ml10{margin-left:10px}.mt5{margin-top:5px}.mt10{margin-top:10px}.mt25{margin-top:25px}.mb0{margin-bottom:0}.no-gutter{margin:0}.top-right{position:absolute;top:0;right:0}.top-right-next{position:absolute;top:4px;right:35px}ul.kanban>li{margin-bottom:10px}.inconsistencies-settings{height:90vh}.show-scenario,.create-scenario{height:calc(100vh - 84px);padding-top:1rem}.create-scenario .row{margin-bottom:0}#editor{min-height:150px}.scenario-table .input-field{margin-bottom:0}.scenario-table .material-icons{margin-top:1.6rem;margin-left:5px}.scenario-table .icons{flex-wrap:nowrap;justify-content:right;align-items:flex-start;display:flex}.narratives{border:solid #dbe2e0;border-radius:10px;margin:10px;padding:10px}.popupContainer{background-color:#fcffa5;width:100%;font-size:2rem;position:fixed;bottom:0;left:0;box-shadow:0 -5px 5px rgba(0,0,0,.3)}.popupContainer>.popupContent{padding:20px}.markdown h1{margin:1.5rem 0 1rem;font-size:2.2em}.markdown h2{font-size:2em}.markdown h3{font-size:1.6em}.markdown h4{font-size:1.4em}.markdown h5{font-size:1.2em}#toc{justify-content:center;align-items:center;display:flex}.markdown h6{font-size:1em}.markdown aside{box-sizing:border-box;padding:0 20px}.markdown main{box-sizing:border-box;flex:1;padding:20px}.markdown header{text-align:center;background-color:#f2f2f2;border-radius:20px;padding:10px 40px}.markdown nav ul{padding:0;list-style-type:none}.markdown nav ul li{margin-bottom:10px}@media only screen and (min-width:993px){table.repoonsive-table td.missing{height:57px}table.responsive-table{border-collapse:collapse;border-spacing:0;width:100%;display:block;position:relative}table.responsive-table td:empty:before{content:" "}table.responsive-table th,table.responsive-table td{vertical-align:top;margin:0}table.responsive-table th{text-align:left}table.responsive-table thead{float:left;display:block}table.responsive-table thead tr{padding:0 10px 0 0;display:block}table.responsive-table thead tr th:before{content:" "}table.responsive-table tbody{white-space:nowrap;width:auto;display:block;position:relative;overflow-x:auto}table.responsive-table tbody tr{vertical-align:top;display:inline-block}table.responsive-table th{text-align:right;display:block}table.responsive-table td{text-align:left;min-height:1.25em;display:block}table.responsive-table tr{border-bottom:none}table.responsive-table td,table.responsive-table th{padding:15px 10px}table.responsive-table thead{border:0;border-right:1px solid rgba(0,0,0,.12)}}.table-container{text-align:center;width:100%;margin:0 auto}.table{text-align:left;display:inline-block}.missing{height:57px}.decision-support table.responsive-table>tbody>tr:last-child,.decision-support td:nth-child(2),.decision-support th:nth-child(2),.decision-support td:nth-child(3),.decision-support th:nth-child(3),.decision-support td:nth-child(4),.decision-support th:nth-child(4){background:#e8f4f7}#editor{font-size:18px}.ql-editor strong{font-weight:700}.ql-editor em{font-style:italic}.ql-editor u{text-decoration:underline}.show-scenario .ql-container.ql-snow{border:none}.show-scenario .ql-editor{padding:30px 0}.show-scenario #editor{font-size:24px}.show-scenario div.input-field.select-space.left.mb0.mw30 input{font-size:42px}.show-scenario .select-wrapper input.select-dropdown{border:none}.select-inline{font-size:inherit;margin:0 0;padding-left:6px;display:inline-block}.select-inline>label{display:none}.select-inline input.select-dropdown{height:2rem;margin:0;padding:0}.scenario-paragraph{margin-bottom:1rem;font-size:24px}.ql-container{box-sizing:border-box;height:100%;margin:0;font-family:Helvetica,Arial,sans-serif;font-size:13px;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui{cursor:pointer}.ql-clipboard{height:1px;position:absolute;top:50%;left:-100000px;overflow-y:hidden}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;-moz-tab-size:4;tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word;outline:none;height:100%;padding:12px 15px;line-height:1.42;overflow-y:auto}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{padding-left:1.5em;list-style-type:none;position:relative}.ql-editor li>.ql-ui:before{text-align:right;white-space:nowrap;width:1.2em;margin-left:-1.5em;margin-right:.3em;display:inline-block}.ql-editor li[data-list=checked]>.ql-ui,.ql-editor li[data-list=unchecked]>.ql-ui{color:#777}.ql-editor li[data-list=bullet]>.ql-ui:before{content:"•"}.ql-editor li[data-list=checked]>.ql-ui:before{content:"☑"}.ql-editor li[data-list=unchecked]>.ql-ui:before{content:"☐"}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal)". "}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8,lower-roman)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal)". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl>.ql-ui:before{text-align:left;margin-left:.3em;margin-right:-1.5em}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{max-width:100%;display:block}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{text-align:inherit;direction:rtl}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);pointer-events:none;font-style:italic;position:absolute;left:15px;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{cursor:pointer;float:left;background:0 0;border:none;width:28px;height:24px;padding:3px 5px;display:inline-block}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{vertical-align:middle;display:inline-block}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2px}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1px}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-top:5px;margin-bottom:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-top:5px;margin-bottom:5px;padding:5px 10px}.ql-snow .ql-editor code{padding:2px 4px;font-size:85%}.ql-snow .ql-editor .ql-code-block-container{color:#f8f8f2;background-color:#23241f;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;float:left;vertical-align:middle;height:24px;font-size:14px;font-weight:500;display:inline-block;position:relative}.ql-snow .ql-picker-label{cursor:pointer;width:100%;height:100%;padding-left:8px;padding-right:2px;display:inline-block;position:relative}.ql-snow .ql-picker-label:before{line-height:22px;display:inline-block}.ql-snow .ql-picker-options{white-space:nowrap;background-color:#fff;min-width:100%;padding:4px 8px;display:none;position:absolute}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;padding-top:5px;padding-bottom:5px;display:block}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{z-index:1;margin-top:-1px;display:block;top:100%}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{width:24px;height:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{width:152px;padding:3px 5px}.ql-snow .ql-color-picker .ql-picker-item{float:left;border:1px solid transparent;width:16px;height:16px;margin:2px;padding:0}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{width:18px;margin-top:-9px;position:absolute;top:50%;right:0}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{top:5px;right:5px}.ql-toolbar.ql-snow{box-sizing:border-box;border:1px solid #ccc;padding:8px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{color:#444;white-space:nowrap;background-color:#fff;border:1px solid #ccc;padding:5px 12px;box-shadow:0 0 5px #ddd}.ql-snow .ql-tooltip:before{content:"Visit URL:";margin-right:8px;line-height:26px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;width:170px;height:26px;margin:0;padding:3px 5px;font-size:13px;display:none}.ql-snow .ql-tooltip a.ql-preview{text-overflow:ellipsis;vertical-align:top;max-width:200px;display:inline-block;overflow-x:hidden}.ql-snow .ql-tooltip a.ql-action:after{content:"Edit";border-right:1px solid #ccc;margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{content:"Save";border-right:0;padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}head{--webpack-gui-909:&_2855,Ā1366Ć_4784Č118} +@font-face{font-family:Material Icons;font-style:normal;font-weight:400;font-display:block;src:url(59322316b3fd6063.woff2)format("woff2"),url(4ad034d2c499d9b6.woff)format("woff")}.material-icons{letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga";direction:ltr;font-family:Material Icons;font-size:24px;font-style:normal;font-weight:400;line-height:1;display:inline-block}.materialize-red{background-color:#e51c23!important}.materialize-red-text{color:#e51c23!important}.materialize-red.lighten-5{background-color:#fdeaeb!important}.materialize-red-text.text-lighten-5{color:#fdeaeb!important}.materialize-red.lighten-4{background-color:#f8c1c3!important}.materialize-red-text.text-lighten-4{color:#f8c1c3!important}.materialize-red.lighten-3{background-color:#f3989b!important}.materialize-red-text.text-lighten-3{color:#f3989b!important}.materialize-red.lighten-2{background-color:#ee6e73!important}.materialize-red-text.text-lighten-2{color:#ee6e73!important}.materialize-red.lighten-1{background-color:#ea454b!important}.materialize-red-text.text-lighten-1{color:#ea454b!important}.materialize-red.darken-1{background-color:#d0181e!important}.materialize-red-text.text-darken-1{color:#d0181e!important}.materialize-red.darken-2{background-color:#b9151b!important}.materialize-red-text.text-darken-2{color:#b9151b!important}.materialize-red.darken-3{background-color:#a21318!important}.materialize-red-text.text-darken-3{color:#a21318!important}.materialize-red.darken-4{background-color:#8b1014!important}.materialize-red-text.text-darken-4{color:#8b1014!important}.red{background-color:#f44336!important}.red-text{color:#f44336!important}.red.lighten-5{background-color:#ffebee!important}.red-text.text-lighten-5{color:#ffebee!important}.red.lighten-4{background-color:#ffcdd2!important}.red-text.text-lighten-4{color:#ffcdd2!important}.red.lighten-3{background-color:#ef9a9a!important}.red-text.text-lighten-3{color:#ef9a9a!important}.red.lighten-2{background-color:#e57373!important}.red-text.text-lighten-2{color:#e57373!important}.red.lighten-1{background-color:#ef5350!important}.red-text.text-lighten-1{color:#ef5350!important}.red.darken-1{background-color:#e53935!important}.red-text.text-darken-1{color:#e53935!important}.red.darken-2{background-color:#d32f2f!important}.red-text.text-darken-2{color:#d32f2f!important}.red.darken-3{background-color:#c62828!important}.red-text.text-darken-3{color:#c62828!important}.red.darken-4{background-color:#b71c1c!important}.red-text.text-darken-4{color:#b71c1c!important}.red.accent-1{background-color:#ff8a80!important}.red-text.text-accent-1{color:#ff8a80!important}.red.accent-2{background-color:#ff5252!important}.red-text.text-accent-2{color:#ff5252!important}.red.accent-3{background-color:#ff1744!important}.red-text.text-accent-3{color:#ff1744!important}.red.accent-4{background-color:#d50000!important}.red-text.text-accent-4{color:#d50000!important}.pink{background-color:#e91e63!important}.pink-text{color:#e91e63!important}.pink.lighten-5{background-color:#fce4ec!important}.pink-text.text-lighten-5{color:#fce4ec!important}.pink.lighten-4{background-color:#f8bbd0!important}.pink-text.text-lighten-4{color:#f8bbd0!important}.pink.lighten-3{background-color:#f48fb1!important}.pink-text.text-lighten-3{color:#f48fb1!important}.pink.lighten-2{background-color:#f06292!important}.pink-text.text-lighten-2{color:#f06292!important}.pink.lighten-1{background-color:#ec407a!important}.pink-text.text-lighten-1{color:#ec407a!important}.pink.darken-1{background-color:#d81b60!important}.pink-text.text-darken-1{color:#d81b60!important}.pink.darken-2{background-color:#c2185b!important}.pink-text.text-darken-2{color:#c2185b!important}.pink.darken-3{background-color:#ad1457!important}.pink-text.text-darken-3{color:#ad1457!important}.pink.darken-4{background-color:#880e4f!important}.pink-text.text-darken-4{color:#880e4f!important}.pink.accent-1{background-color:#ff80ab!important}.pink-text.text-accent-1{color:#ff80ab!important}.pink.accent-2{background-color:#ff4081!important}.pink-text.text-accent-2{color:#ff4081!important}.pink.accent-3{background-color:#f50057!important}.pink-text.text-accent-3{color:#f50057!important}.pink.accent-4{background-color:#c51162!important}.pink-text.text-accent-4{color:#c51162!important}.purple{background-color:#9c27b0!important}.purple-text{color:#9c27b0!important}.purple.lighten-5{background-color:#f3e5f5!important}.purple-text.text-lighten-5{color:#f3e5f5!important}.purple.lighten-4{background-color:#e1bee7!important}.purple-text.text-lighten-4{color:#e1bee7!important}.purple.lighten-3{background-color:#ce93d8!important}.purple-text.text-lighten-3{color:#ce93d8!important}.purple.lighten-2{background-color:#ba68c8!important}.purple-text.text-lighten-2{color:#ba68c8!important}.purple.lighten-1{background-color:#ab47bc!important}.purple-text.text-lighten-1{color:#ab47bc!important}.purple.darken-1{background-color:#8e24aa!important}.purple-text.text-darken-1{color:#8e24aa!important}.purple.darken-2{background-color:#7b1fa2!important}.purple-text.text-darken-2{color:#7b1fa2!important}.purple.darken-3{background-color:#6a1b9a!important}.purple-text.text-darken-3{color:#6a1b9a!important}.purple.darken-4{background-color:#4a148c!important}.purple-text.text-darken-4{color:#4a148c!important}.purple.accent-1{background-color:#ea80fc!important}.purple-text.text-accent-1{color:#ea80fc!important}.purple.accent-2{background-color:#e040fb!important}.purple-text.text-accent-2{color:#e040fb!important}.purple.accent-3{background-color:#d500f9!important}.purple-text.text-accent-3{color:#d500f9!important}.purple.accent-4{background-color:#a0f!important}.purple-text.text-accent-4{color:#a0f!important}.deep-purple{background-color:#673ab7!important}.deep-purple-text{color:#673ab7!important}.deep-purple.lighten-5{background-color:#ede7f6!important}.deep-purple-text.text-lighten-5{color:#ede7f6!important}.deep-purple.lighten-4{background-color:#d1c4e9!important}.deep-purple-text.text-lighten-4{color:#d1c4e9!important}.deep-purple.lighten-3{background-color:#b39ddb!important}.deep-purple-text.text-lighten-3{color:#b39ddb!important}.deep-purple.lighten-2{background-color:#9575cd!important}.deep-purple-text.text-lighten-2{color:#9575cd!important}.deep-purple.lighten-1{background-color:#7e57c2!important}.deep-purple-text.text-lighten-1{color:#7e57c2!important}.deep-purple.darken-1{background-color:#5e35b1!important}.deep-purple-text.text-darken-1{color:#5e35b1!important}.deep-purple.darken-2{background-color:#512da8!important}.deep-purple-text.text-darken-2{color:#512da8!important}.deep-purple.darken-3{background-color:#4527a0!important}.deep-purple-text.text-darken-3{color:#4527a0!important}.deep-purple.darken-4{background-color:#311b92!important}.deep-purple-text.text-darken-4{color:#311b92!important}.deep-purple.accent-1{background-color:#b388ff!important}.deep-purple-text.text-accent-1{color:#b388ff!important}.deep-purple.accent-2{background-color:#7c4dff!important}.deep-purple-text.text-accent-2{color:#7c4dff!important}.deep-purple.accent-3{background-color:#651fff!important}.deep-purple-text.text-accent-3{color:#651fff!important}.deep-purple.accent-4{background-color:#6200ea!important}.deep-purple-text.text-accent-4{color:#6200ea!important}.indigo{background-color:#3f51b5!important}.indigo-text{color:#3f51b5!important}.indigo.lighten-5{background-color:#e8eaf6!important}.indigo-text.text-lighten-5{color:#e8eaf6!important}.indigo.lighten-4{background-color:#c5cae9!important}.indigo-text.text-lighten-4{color:#c5cae9!important}.indigo.lighten-3{background-color:#9fa8da!important}.indigo-text.text-lighten-3{color:#9fa8da!important}.indigo.lighten-2{background-color:#7986cb!important}.indigo-text.text-lighten-2{color:#7986cb!important}.indigo.lighten-1{background-color:#5c6bc0!important}.indigo-text.text-lighten-1{color:#5c6bc0!important}.indigo.darken-1{background-color:#3949ab!important}.indigo-text.text-darken-1{color:#3949ab!important}.indigo.darken-2{background-color:#303f9f!important}.indigo-text.text-darken-2{color:#303f9f!important}.indigo.darken-3{background-color:#283593!important}.indigo-text.text-darken-3{color:#283593!important}.indigo.darken-4{background-color:#1a237e!important}.indigo-text.text-darken-4{color:#1a237e!important}.indigo.accent-1{background-color:#8c9eff!important}.indigo-text.text-accent-1{color:#8c9eff!important}.indigo.accent-2{background-color:#536dfe!important}.indigo-text.text-accent-2{color:#536dfe!important}.indigo.accent-3{background-color:#3d5afe!important}.indigo-text.text-accent-3{color:#3d5afe!important}.indigo.accent-4{background-color:#304ffe!important}.indigo-text.text-accent-4{color:#304ffe!important}.blue{background-color:#2196f3!important}.blue-text{color:#2196f3!important}.blue.lighten-5{background-color:#e3f2fd!important}.blue-text.text-lighten-5{color:#e3f2fd!important}.blue.lighten-4{background-color:#bbdefb!important}.blue-text.text-lighten-4{color:#bbdefb!important}.blue.lighten-3{background-color:#90caf9!important}.blue-text.text-lighten-3{color:#90caf9!important}.blue.lighten-2{background-color:#64b5f6!important}.blue-text.text-lighten-2{color:#64b5f6!important}.blue.lighten-1{background-color:#42a5f5!important}.blue-text.text-lighten-1{color:#42a5f5!important}.blue.darken-1{background-color:#1e88e5!important}.blue-text.text-darken-1{color:#1e88e5!important}.blue.darken-2{background-color:#1976d2!important}.blue-text.text-darken-2{color:#1976d2!important}.blue.darken-3{background-color:#1565c0!important}.blue-text.text-darken-3{color:#1565c0!important}.blue.darken-4{background-color:#0d47a1!important}.blue-text.text-darken-4{color:#0d47a1!important}.blue.accent-1{background-color:#82b1ff!important}.blue-text.text-accent-1{color:#82b1ff!important}.blue.accent-2{background-color:#448aff!important}.blue-text.text-accent-2{color:#448aff!important}.blue.accent-3{background-color:#2979ff!important}.blue-text.text-accent-3{color:#2979ff!important}.blue.accent-4{background-color:#2962ff!important}.blue-text.text-accent-4{color:#2962ff!important}.light-blue{background-color:#03a9f4!important}.light-blue-text{color:#03a9f4!important}.light-blue.lighten-5{background-color:#e1f5fe!important}.light-blue-text.text-lighten-5{color:#e1f5fe!important}.light-blue.lighten-4{background-color:#b3e5fc!important}.light-blue-text.text-lighten-4{color:#b3e5fc!important}.light-blue.lighten-3{background-color:#81d4fa!important}.light-blue-text.text-lighten-3{color:#81d4fa!important}.light-blue.lighten-2{background-color:#4fc3f7!important}.light-blue-text.text-lighten-2{color:#4fc3f7!important}.light-blue.lighten-1{background-color:#29b6f6!important}.light-blue-text.text-lighten-1{color:#29b6f6!important}.light-blue.darken-1{background-color:#039be5!important}.light-blue-text.text-darken-1{color:#039be5!important}.light-blue.darken-2{background-color:#0288d1!important}.light-blue-text.text-darken-2{color:#0288d1!important}.light-blue.darken-3{background-color:#0277bd!important}.light-blue-text.text-darken-3{color:#0277bd!important}.light-blue.darken-4{background-color:#01579b!important}.light-blue-text.text-darken-4{color:#01579b!important}.light-blue.accent-1{background-color:#80d8ff!important}.light-blue-text.text-accent-1{color:#80d8ff!important}.light-blue.accent-2{background-color:#40c4ff!important}.light-blue-text.text-accent-2{color:#40c4ff!important}.light-blue.accent-3{background-color:#00b0ff!important}.light-blue-text.text-accent-3{color:#00b0ff!important}.light-blue.accent-4{background-color:#0091ea!important}.light-blue-text.text-accent-4{color:#0091ea!important}.cyan{background-color:#00bcd4!important}.cyan-text{color:#00bcd4!important}.cyan.lighten-5{background-color:#e0f7fa!important}.cyan-text.text-lighten-5{color:#e0f7fa!important}.cyan.lighten-4{background-color:#b2ebf2!important}.cyan-text.text-lighten-4{color:#b2ebf2!important}.cyan.lighten-3{background-color:#80deea!important}.cyan-text.text-lighten-3{color:#80deea!important}.cyan.lighten-2{background-color:#4dd0e1!important}.cyan-text.text-lighten-2{color:#4dd0e1!important}.cyan.lighten-1{background-color:#26c6da!important}.cyan-text.text-lighten-1{color:#26c6da!important}.cyan.darken-1{background-color:#00acc1!important}.cyan-text.text-darken-1{color:#00acc1!important}.cyan.darken-2{background-color:#0097a7!important}.cyan-text.text-darken-2{color:#0097a7!important}.cyan.darken-3{background-color:#00838f!important}.cyan-text.text-darken-3{color:#00838f!important}.cyan.darken-4{background-color:#006064!important}.cyan-text.text-darken-4{color:#006064!important}.cyan.accent-1{background-color:#84ffff!important}.cyan-text.text-accent-1{color:#84ffff!important}.cyan.accent-2{background-color:#18ffff!important}.cyan-text.text-accent-2{color:#18ffff!important}.cyan.accent-3{background-color:#00e5ff!important}.cyan-text.text-accent-3{color:#00e5ff!important}.cyan.accent-4{background-color:#00b8d4!important}.cyan-text.text-accent-4{color:#00b8d4!important}.teal{background-color:#009688!important}.teal-text{color:#009688!important}.teal.lighten-5{background-color:#e0f2f1!important}.teal-text.text-lighten-5{color:#e0f2f1!important}.teal.lighten-4{background-color:#b2dfdb!important}.teal-text.text-lighten-4{color:#b2dfdb!important}.teal.lighten-3{background-color:#80cbc4!important}.teal-text.text-lighten-3{color:#80cbc4!important}.teal.lighten-2{background-color:#4db6ac!important}.teal-text.text-lighten-2{color:#4db6ac!important}.teal.lighten-1{background-color:#26a69a!important}.teal-text.text-lighten-1{color:#26a69a!important}.teal.darken-1{background-color:#00897b!important}.teal-text.text-darken-1{color:#00897b!important}.teal.darken-2{background-color:#00796b!important}.teal-text.text-darken-2{color:#00796b!important}.teal.darken-3{background-color:#00695c!important}.teal-text.text-darken-3{color:#00695c!important}.teal.darken-4{background-color:#004d40!important}.teal-text.text-darken-4{color:#004d40!important}.teal.accent-1{background-color:#a7ffeb!important}.teal-text.text-accent-1{color:#a7ffeb!important}.teal.accent-2{background-color:#64ffda!important}.teal-text.text-accent-2{color:#64ffda!important}.teal.accent-3{background-color:#1de9b6!important}.teal-text.text-accent-3{color:#1de9b6!important}.teal.accent-4{background-color:#00bfa5!important}.teal-text.text-accent-4{color:#00bfa5!important}.green{background-color:#4caf50!important}.green-text{color:#4caf50!important}.green.lighten-5{background-color:#e8f5e9!important}.green-text.text-lighten-5{color:#e8f5e9!important}.green.lighten-4{background-color:#c8e6c9!important}.green-text.text-lighten-4{color:#c8e6c9!important}.green.lighten-3{background-color:#a5d6a7!important}.green-text.text-lighten-3{color:#a5d6a7!important}.green.lighten-2{background-color:#81c784!important}.green-text.text-lighten-2{color:#81c784!important}.green.lighten-1{background-color:#66bb6a!important}.green-text.text-lighten-1{color:#66bb6a!important}.green.darken-1{background-color:#43a047!important}.green-text.text-darken-1{color:#43a047!important}.green.darken-2{background-color:#388e3c!important}.green-text.text-darken-2{color:#388e3c!important}.green.darken-3{background-color:#2e7d32!important}.green-text.text-darken-3{color:#2e7d32!important}.green.darken-4{background-color:#1b5e20!important}.green-text.text-darken-4{color:#1b5e20!important}.green.accent-1{background-color:#b9f6ca!important}.green-text.text-accent-1{color:#b9f6ca!important}.green.accent-2{background-color:#69f0ae!important}.green-text.text-accent-2{color:#69f0ae!important}.green.accent-3{background-color:#00e676!important}.green-text.text-accent-3{color:#00e676!important}.green.accent-4{background-color:#00c853!important}.green-text.text-accent-4{color:#00c853!important}.light-green{background-color:#8bc34a!important}.light-green-text{color:#8bc34a!important}.light-green.lighten-5{background-color:#f1f8e9!important}.light-green-text.text-lighten-5{color:#f1f8e9!important}.light-green.lighten-4{background-color:#dcedc8!important}.light-green-text.text-lighten-4{color:#dcedc8!important}.light-green.lighten-3{background-color:#c5e1a5!important}.light-green-text.text-lighten-3{color:#c5e1a5!important}.light-green.lighten-2{background-color:#aed581!important}.light-green-text.text-lighten-2{color:#aed581!important}.light-green.lighten-1{background-color:#9ccc65!important}.light-green-text.text-lighten-1{color:#9ccc65!important}.light-green.darken-1{background-color:#7cb342!important}.light-green-text.text-darken-1{color:#7cb342!important}.light-green.darken-2{background-color:#689f38!important}.light-green-text.text-darken-2{color:#689f38!important}.light-green.darken-3{background-color:#558b2f!important}.light-green-text.text-darken-3{color:#558b2f!important}.light-green.darken-4{background-color:#33691e!important}.light-green-text.text-darken-4{color:#33691e!important}.light-green.accent-1{background-color:#ccff90!important}.light-green-text.text-accent-1{color:#ccff90!important}.light-green.accent-2{background-color:#b2ff59!important}.light-green-text.text-accent-2{color:#b2ff59!important}.light-green.accent-3{background-color:#76ff03!important}.light-green-text.text-accent-3{color:#76ff03!important}.light-green.accent-4{background-color:#64dd17!important}.light-green-text.text-accent-4{color:#64dd17!important}.lime{background-color:#cddc39!important}.lime-text{color:#cddc39!important}.lime.lighten-5{background-color:#f9fbe7!important}.lime-text.text-lighten-5{color:#f9fbe7!important}.lime.lighten-4{background-color:#f0f4c3!important}.lime-text.text-lighten-4{color:#f0f4c3!important}.lime.lighten-3{background-color:#e6ee9c!important}.lime-text.text-lighten-3{color:#e6ee9c!important}.lime.lighten-2{background-color:#dce775!important}.lime-text.text-lighten-2{color:#dce775!important}.lime.lighten-1{background-color:#d4e157!important}.lime-text.text-lighten-1{color:#d4e157!important}.lime.darken-1{background-color:#c0ca33!important}.lime-text.text-darken-1{color:#c0ca33!important}.lime.darken-2{background-color:#afb42b!important}.lime-text.text-darken-2{color:#afb42b!important}.lime.darken-3{background-color:#9e9d24!important}.lime-text.text-darken-3{color:#9e9d24!important}.lime.darken-4{background-color:#827717!important}.lime-text.text-darken-4{color:#827717!important}.lime.accent-1{background-color:#f4ff81!important}.lime-text.text-accent-1{color:#f4ff81!important}.lime.accent-2{background-color:#eeff41!important}.lime-text.text-accent-2{color:#eeff41!important}.lime.accent-3{background-color:#c6ff00!important}.lime-text.text-accent-3{color:#c6ff00!important}.lime.accent-4{background-color:#aeea00!important}.lime-text.text-accent-4{color:#aeea00!important}.yellow{background-color:#ffeb3b!important}.yellow-text{color:#ffeb3b!important}.yellow.lighten-5{background-color:#fffde7!important}.yellow-text.text-lighten-5{color:#fffde7!important}.yellow.lighten-4{background-color:#fff9c4!important}.yellow-text.text-lighten-4{color:#fff9c4!important}.yellow.lighten-3{background-color:#fff59d!important}.yellow-text.text-lighten-3{color:#fff59d!important}.yellow.lighten-2{background-color:#fff176!important}.yellow-text.text-lighten-2{color:#fff176!important}.yellow.lighten-1{background-color:#ffee58!important}.yellow-text.text-lighten-1{color:#ffee58!important}.yellow.darken-1{background-color:#fdd835!important}.yellow-text.text-darken-1{color:#fdd835!important}.yellow.darken-2{background-color:#fbc02d!important}.yellow-text.text-darken-2{color:#fbc02d!important}.yellow.darken-3{background-color:#f9a825!important}.yellow-text.text-darken-3{color:#f9a825!important}.yellow.darken-4{background-color:#f57f17!important}.yellow-text.text-darken-4{color:#f57f17!important}.yellow.accent-1{background-color:#ffff8d!important}.yellow-text.text-accent-1{color:#ffff8d!important}.yellow.accent-2{background-color:#ff0!important}.yellow-text.text-accent-2{color:#ff0!important}.yellow.accent-3{background-color:#ffea00!important}.yellow-text.text-accent-3{color:#ffea00!important}.yellow.accent-4{background-color:#ffd600!important}.yellow-text.text-accent-4{color:#ffd600!important}.amber{background-color:#ffc107!important}.amber-text{color:#ffc107!important}.amber.lighten-5{background-color:#fff8e1!important}.amber-text.text-lighten-5{color:#fff8e1!important}.amber.lighten-4{background-color:#ffecb3!important}.amber-text.text-lighten-4{color:#ffecb3!important}.amber.lighten-3{background-color:#ffe082!important}.amber-text.text-lighten-3{color:#ffe082!important}.amber.lighten-2{background-color:#ffd54f!important}.amber-text.text-lighten-2{color:#ffd54f!important}.amber.lighten-1{background-color:#ffca28!important}.amber-text.text-lighten-1{color:#ffca28!important}.amber.darken-1{background-color:#ffb300!important}.amber-text.text-darken-1{color:#ffb300!important}.amber.darken-2{background-color:#ffa000!important}.amber-text.text-darken-2{color:#ffa000!important}.amber.darken-3{background-color:#ff8f00!important}.amber-text.text-darken-3{color:#ff8f00!important}.amber.darken-4{background-color:#ff6f00!important}.amber-text.text-darken-4{color:#ff6f00!important}.amber.accent-1{background-color:#ffe57f!important}.amber-text.text-accent-1{color:#ffe57f!important}.amber.accent-2{background-color:#ffd740!important}.amber-text.text-accent-2{color:#ffd740!important}.amber.accent-3{background-color:#ffc400!important}.amber-text.text-accent-3{color:#ffc400!important}.amber.accent-4{background-color:#ffab00!important}.amber-text.text-accent-4{color:#ffab00!important}.orange{background-color:#ff9800!important}.orange-text{color:#ff9800!important}.orange.lighten-5{background-color:#fff3e0!important}.orange-text.text-lighten-5{color:#fff3e0!important}.orange.lighten-4{background-color:#ffe0b2!important}.orange-text.text-lighten-4{color:#ffe0b2!important}.orange.lighten-3{background-color:#ffcc80!important}.orange-text.text-lighten-3{color:#ffcc80!important}.orange.lighten-2{background-color:#ffb74d!important}.orange-text.text-lighten-2{color:#ffb74d!important}.orange.lighten-1{background-color:#ffa726!important}.orange-text.text-lighten-1{color:#ffa726!important}.orange.darken-1{background-color:#fb8c00!important}.orange-text.text-darken-1{color:#fb8c00!important}.orange.darken-2{background-color:#f57c00!important}.orange-text.text-darken-2{color:#f57c00!important}.orange.darken-3{background-color:#ef6c00!important}.orange-text.text-darken-3{color:#ef6c00!important}.orange.darken-4{background-color:#e65100!important}.orange-text.text-darken-4{color:#e65100!important}.orange.accent-1{background-color:#ffd180!important}.orange-text.text-accent-1{color:#ffd180!important}.orange.accent-2{background-color:#ffab40!important}.orange-text.text-accent-2{color:#ffab40!important}.orange.accent-3{background-color:#ff9100!important}.orange-text.text-accent-3{color:#ff9100!important}.orange.accent-4{background-color:#ff6d00!important}.orange-text.text-accent-4{color:#ff6d00!important}.deep-orange{background-color:#ff5722!important}.deep-orange-text{color:#ff5722!important}.deep-orange.lighten-5{background-color:#fbe9e7!important}.deep-orange-text.text-lighten-5{color:#fbe9e7!important}.deep-orange.lighten-4{background-color:#ffccbc!important}.deep-orange-text.text-lighten-4{color:#ffccbc!important}.deep-orange.lighten-3{background-color:#ffab91!important}.deep-orange-text.text-lighten-3{color:#ffab91!important}.deep-orange.lighten-2{background-color:#ff8a65!important}.deep-orange-text.text-lighten-2{color:#ff8a65!important}.deep-orange.lighten-1{background-color:#ff7043!important}.deep-orange-text.text-lighten-1{color:#ff7043!important}.deep-orange.darken-1{background-color:#f4511e!important}.deep-orange-text.text-darken-1{color:#f4511e!important}.deep-orange.darken-2{background-color:#e64a19!important}.deep-orange-text.text-darken-2{color:#e64a19!important}.deep-orange.darken-3{background-color:#d84315!important}.deep-orange-text.text-darken-3{color:#d84315!important}.deep-orange.darken-4{background-color:#bf360c!important}.deep-orange-text.text-darken-4{color:#bf360c!important}.deep-orange.accent-1{background-color:#ff9e80!important}.deep-orange-text.text-accent-1{color:#ff9e80!important}.deep-orange.accent-2{background-color:#ff6e40!important}.deep-orange-text.text-accent-2{color:#ff6e40!important}.deep-orange.accent-3{background-color:#ff3d00!important}.deep-orange-text.text-accent-3{color:#ff3d00!important}.deep-orange.accent-4{background-color:#dd2c00!important}.deep-orange-text.text-accent-4{color:#dd2c00!important}.brown{background-color:#795548!important}.brown-text{color:#795548!important}.brown.lighten-5{background-color:#efebe9!important}.brown-text.text-lighten-5{color:#efebe9!important}.brown.lighten-4{background-color:#d7ccc8!important}.brown-text.text-lighten-4{color:#d7ccc8!important}.brown.lighten-3{background-color:#bcaaa4!important}.brown-text.text-lighten-3{color:#bcaaa4!important}.brown.lighten-2{background-color:#a1887f!important}.brown-text.text-lighten-2{color:#a1887f!important}.brown.lighten-1{background-color:#8d6e63!important}.brown-text.text-lighten-1{color:#8d6e63!important}.brown.darken-1{background-color:#6d4c41!important}.brown-text.text-darken-1{color:#6d4c41!important}.brown.darken-2{background-color:#5d4037!important}.brown-text.text-darken-2{color:#5d4037!important}.brown.darken-3{background-color:#4e342e!important}.brown-text.text-darken-3{color:#4e342e!important}.brown.darken-4{background-color:#3e2723!important}.brown-text.text-darken-4{color:#3e2723!important}.blue-grey{background-color:#607d8b!important}.blue-grey-text{color:#607d8b!important}.blue-grey.lighten-5{background-color:#eceff1!important}.blue-grey-text.text-lighten-5{color:#eceff1!important}.blue-grey.lighten-4{background-color:#cfd8dc!important}.blue-grey-text.text-lighten-4{color:#cfd8dc!important}.blue-grey.lighten-3{background-color:#b0bec5!important}.blue-grey-text.text-lighten-3{color:#b0bec5!important}.blue-grey.lighten-2{background-color:#90a4ae!important}.blue-grey-text.text-lighten-2{color:#90a4ae!important}.blue-grey.lighten-1{background-color:#78909c!important}.blue-grey-text.text-lighten-1{color:#78909c!important}.blue-grey.darken-1{background-color:#546e7a!important}.blue-grey-text.text-darken-1{color:#546e7a!important}.blue-grey.darken-2{background-color:#455a64!important}.blue-grey-text.text-darken-2{color:#455a64!important}.blue-grey.darken-3{background-color:#37474f!important}.blue-grey-text.text-darken-3{color:#37474f!important}.blue-grey.darken-4{background-color:#263238!important}.blue-grey-text.text-darken-4{color:#263238!important}.grey{background-color:#9e9e9e!important}.grey-text{color:#9e9e9e!important}.grey.lighten-5{background-color:#fafafa!important}.grey-text.text-lighten-5{color:#fafafa!important}.grey.lighten-4{background-color:#f5f5f5!important}.grey-text.text-lighten-4{color:#f5f5f5!important}.grey.lighten-3{background-color:#eee!important}.grey-text.text-lighten-3{color:#eee!important}.grey.lighten-2{background-color:#e0e0e0!important}.grey-text.text-lighten-2{color:#e0e0e0!important}.grey.lighten-1{background-color:#bdbdbd!important}.grey-text.text-lighten-1{color:#bdbdbd!important}.grey.darken-1{background-color:#757575!important}.grey-text.text-darken-1{color:#757575!important}.grey.darken-2{background-color:#616161!important}.grey-text.text-darken-2{color:#616161!important}.grey.darken-3{background-color:#424242!important}.grey-text.text-darken-3{color:#424242!important}.grey.darken-4{background-color:#212121!important}.grey-text.text-darken-4{color:#212121!important}.black{background-color:#000!important}.black-text{color:#000!important}.white{background-color:#fff!important}.white-text{color:#fff!important}.transparent{background-color:transparent!important}.transparent-text{color:transparent!important}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;line-height:1.15}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{margin:.67em 0;font-size:2em}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{-webkit-text-decoration-skip:objects;background-color:transparent}abbr[title]{text-decoration:underline;border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}dfn{font-style:italic}mark{color:#000;background-color:#ff0}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){height:0;display:none}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0;font-family:sans-serif;font-size:100%;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}button{-webkit-appearance:button}html [type=button]{-webkit-appearance:button}[type=reset]{-webkit-appearance:button}[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring{outline:1px dotted buttontext}[type=button]:-moz-focusring{outline:1px dotted buttontext}[type=reset]:-moz-focusring{outline:1px dotted buttontext}[type=submit]:-moz-focusring{outline:1px dotted buttontext}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;white-space:normal;max-width:100%;padding:0;display:table}progress{vertical-align:baseline;display:inline-block}textarea{overflow:auto}[type=checkbox]{box-sizing:border-box;padding:0}[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template,[hidden]{display:none}html{box-sizing:border-box}*,:before,:after{-webkit-box-sizing:inherit;box-sizing:inherit}button,input,optgroup,select,textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}ul:not(.browser-default){padding-left:0;list-style-type:none}ul:not(.browser-default)>li{list-style-type:none}a{color:#039be5;-webkit-tap-highlight-color:transparent;text-decoration:none}.valign-wrapper{align-items:center;display:flex}.clearfix{clear:both}.z-depth-0{-webkit-box-shadow:none!important;box-shadow:none!important}.z-depth-1,nav,.card-panel,.card,.toast,.btn,.btn-large,.btn-small,.btn-floating,.dropdown-content,.collapsible,.sidenav{box-shadow:0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px rgba(0,0,0,.2)}.z-depth-1-half,.btn:hover,.btn-large:hover,.btn-small:hover,.btn-floating:hover{box-shadow:0 3px 3px rgba(0,0,0,.14),0 1px 7px rgba(0,0,0,.12),0 3px 1px -1px rgba(0,0,0,.2)}.z-depth-2{box-shadow:0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.3)}.z-depth-3{box-shadow:0 8px 17px 2px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2)}.z-depth-4{box-shadow:0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12),0 8px 10px -7px rgba(0,0,0,.2)}.z-depth-5,.modal{box-shadow:0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12),0 11px 15px -7px rgba(0,0,0,.2)}.hoverable{transition:box-shadow .25s,-webkit-box-shadow .25s}.hoverable:hover{box-shadow:0 8px 17px rgba(0,0,0,.2),0 6px 20px rgba(0,0,0,.19)}.divider{background-color:#e0e0e0;height:1px;overflow:hidden}blockquote{border-left:5px solid #ee6e73;margin:20px 0;padding-left:1.5rem}i{line-height:inherit}i.left{float:left;margin-right:15px}i.right{float:right;margin-left:15px}i.tiny{font-size:1rem}i.small{font-size:2rem}i.medium{font-size:4rem}i.large{font-size:6rem}img.responsive-img,video.responsive-video{max-width:100%;height:auto}.pagination li{text-align:center;vertical-align:top;border-radius:2px;height:30px;display:inline-block}.pagination li a{color:#444;padding:0 10px;font-size:1.2rem;line-height:30px;display:inline-block}.pagination li.active a{color:#fff}.pagination li.active{background-color:#ee6e73}.pagination li.disabled a{cursor:default;color:#999}.pagination li i{font-size:2rem}.pagination li.pages ul li{float:none;display:inline-block}@media only screen and (max-width:992px){.pagination{width:100%}.pagination li.prev,.pagination li.next{width:10%}.pagination li.pages{white-space:nowrap;width:80%;overflow:hidden}}.breadcrumb{color:rgba(255,255,255,.7);font-size:18px}.breadcrumb i,.breadcrumb [class^=mdi-],.breadcrumb [class*=mdi-],.breadcrumb i.material-icons{float:left;font-size:24px;display:inline-block}.breadcrumb:before{content:"";color:rgba(255,255,255,.7);vertical-align:top;-webkit-font-smoothing:antialiased;margin:0 10px 0 8px;font-family:Material Icons;font-size:25px;font-style:normal;font-weight:400;display:inline-block}.breadcrumb:first-child:before{display:none}.breadcrumb:last-child{color:#fff}.parallax-container{height:500px;position:relative;overflow:hidden}.parallax-container .parallax{z-index:-1;position:absolute;top:0;bottom:0;left:0;right:0}.parallax-container .parallax img{opacity:0;min-width:100%;min-height:100%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.pin-top,.pin-bottom{position:relative}.pinned{position:fixed!important}ul.staggered-list li{opacity:0}.fade-in{opacity:0;transform-origin:0}@media only screen and (max-width:600px){.hide-on-small-only,.hide-on-small-and-down{display:none!important}}@media only screen and (max-width:992px){.hide-on-med-and-down{display:none!important}}@media only screen and (min-width:601px){.hide-on-med-and-up{display:none!important}}@media only screen and (min-width:600px) and (max-width:992px){.hide-on-med-only{display:none!important}}@media only screen and (min-width:993px){.hide-on-large-only{display:none!important}}@media only screen and (min-width:1201px){.hide-on-extra-large-only{display:none!important}.show-on-extra-large{display:block!important}}@media only screen and (min-width:993px){.show-on-large{display:block!important}}@media only screen and (min-width:600px) and (max-width:992px){.show-on-medium{display:block!important}}@media only screen and (max-width:600px){.show-on-small{display:block!important}}@media only screen and (min-width:601px){.show-on-medium-and-up{display:block!important}}@media only screen and (max-width:992px){.show-on-medium-and-down{display:block!important}}@media only screen and (max-width:600px){.center-on-small-only{text-align:center}}.page-footer{color:#fff;background-color:#ee6e73;padding-top:20px}.page-footer .footer-copyright{color:rgba(255,255,255,.8);background-color:rgba(51,51,51,.08);justify-content:space-between;align-items:center;min-height:50px;padding:10px 0;display:flex;overflow:hidden}table,th,td{border:none}table{border-collapse:collapse;border-spacing:0;width:100%;display:table}table.striped tr{border-bottom:none}table.striped>tbody>tr:nth-child(odd){background-color:rgba(242,242,242,.5)}table.striped>tbody>tr>td{border-radius:0}table.highlight>tbody>tr{transition:background-color .25s}table.highlight>tbody>tr:hover{background-color:rgba(242,242,242,.5)}table.centered thead tr th,table.centered tbody tr td{text-align:center}tr{border-bottom:1px solid rgba(0,0,0,.12)}td,th{text-align:left;vertical-align:middle;border-radius:2px;padding:15px 5px;display:table-cell}@media only screen and (max-width:992px){table.responsive-table{border-collapse:collapse;border-spacing:0;width:100%;display:block;position:relative}table.responsive-table td:empty:before{content:" "}table.responsive-table th,table.responsive-table td{vertical-align:top;margin:0}table.responsive-table th{text-align:left}table.responsive-table thead{float:left;display:block}table.responsive-table thead tr{padding:0 10px 0 0;display:block}table.responsive-table thead tr th:before{content:" "}table.responsive-table tbody{white-space:nowrap;width:auto;display:block;position:relative;overflow-x:auto}table.responsive-table tbody tr{vertical-align:top;display:inline-block}table.responsive-table th{text-align:right;display:block}table.responsive-table td{text-align:left;min-height:1.25em;display:block}table.responsive-table tr{border-bottom:none;padding:0 10px}table.responsive-table thead{border:0;border-right:1px solid rgba(0,0,0,.12)}}.collection{border:1px solid #e0e0e0;border-radius:2px;margin:.5rem 0 1rem;position:relative;overflow:hidden}.collection .collection-item{background-color:#fff;border-bottom:1px solid #e0e0e0;margin:0;padding:10px 20px;line-height:1.5rem}.collection .collection-item.avatar{min-height:84px;padding-left:72px;position:relative}.collection .collection-item.avatar:not(.circle-clipper)>.circle,.collection .collection-item.avatar :not(.circle-clipper)>.circle{vertical-align:middle;width:42px;height:42px;display:inline-block;position:absolute;left:15px;overflow:hidden}.collection .collection-item.avatar i.circle{color:#fff;text-align:center;background-color:#999;font-size:18px;line-height:42px}.collection .collection-item.avatar .title{font-size:16px}.collection .collection-item.avatar p{margin:0}.collection .collection-item.avatar .secondary-content{position:absolute;top:16px;right:16px}.collection .collection-item:last-child{border-bottom:none}.collection .collection-item.active{color:#eafaf9;background-color:#26a69a}.collection .collection-item.active .secondary-content{color:#fff}.collection a.collection-item{color:#26a69a;transition:all .25s;display:block}.collection a.collection-item:not(.active):hover{background-color:#ddd}.collection.with-header .collection-header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:10px 20px}.collection.with-header .collection-item{padding-left:30px}.collection.with-header .collection-item.avatar{padding-left:72px}.secondary-content{float:right;color:#26a69a}.collapsible .collection{border:none;margin:0}.video-container{height:0;padding-bottom:56.25%;position:relative;overflow:hidden}.video-container iframe,.video-container object,.video-container embed{width:100%;height:100%;position:absolute;top:0;left:0}.progress{background-color:#acece6;border-radius:2px;width:100%;height:4px;margin:.5rem 0 1rem;display:block;position:relative;overflow:hidden}.progress .determinate{background-color:#26a69a;transition:width .3s linear;position:absolute;top:0;bottom:0;left:0}.progress .indeterminate{background-color:#26a69a}.progress .indeterminate:before{content:"";background-color:inherit;will-change:left,right;animation:2.1s cubic-bezier(.65,.815,.735,.395) infinite indeterminate;position:absolute;top:0;bottom:0;left:0}.progress .indeterminate:after{content:"";background-color:inherit;will-change:left,right;animation:2.1s cubic-bezier(.165,.84,.44,1) 1.15s infinite indeterminate-short;position:absolute;top:0;bottom:0;left:0}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}.hide{display:none!important}.left-align{text-align:left}.right-align{text-align:right}.center,.center-align{text-align:center}.left{float:left!important}.right{float:right!important}.no-select{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[type=range]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[type=range]+.thumb{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.circle{border-radius:50%}.center-block{margin-left:auto;margin-right:auto;display:block}.truncate{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.no-padding{padding:0!important}span.badge{text-align:center;color:#757575;float:right;box-sizing:border-box;min-width:3rem;height:22px;margin-left:14px;padding:0 6px;font-size:1rem;line-height:22px}span.badge.new{color:#fff;background-color:#26a69a;border-radius:2px;font-size:.8rem;font-weight:300}span.badge.new:after{content:" new"}span.badge[data-badge-caption]:after{content:" " attr(data-badge-caption)}nav ul a span.badge{float:none;-webkit-font-smoothing:auto;height:22px;margin-left:4px;line-height:22px;display:inline-block}.collection-item span.badge{margin-top:calc(.75rem - 11px)}.collapsible span.badge{margin-left:auto}.sidenav span.badge{margin-top:13px}table span.badge{float:none;margin-left:auto;display:inline-block}.material-icons{text-rendering:optimizeLegibility;-webkit-font-feature-settings:"liga";-moz-font-feature-settings:"liga";font-feature-settings:"liga"}.container{width:90%;max-width:1280px;margin:0 auto}@media only screen and (min-width:601px){.container{width:85%}}@media only screen and (min-width:993px){.container{width:70%}}.col .row{margin-left:-.75rem;margin-right:-.75rem}.section{padding-top:1rem;padding-bottom:1rem}.section.no-pad{padding:0}.section.no-pad-bot{padding-bottom:0}.section.no-pad-top{padding-top:0}.row{margin-bottom:20px;margin-left:auto;margin-right:auto}.row:after{content:"";clear:both;display:table}.row .col{float:left;box-sizing:border-box;min-height:1px;padding:0 .75rem}.row .col[class*=push-],.row .col[class*=pull-]{position:relative}.row .col.s1{width:8.33333%;margin-left:auto;left:auto;right:auto}.row .col.s2{width:16.6667%;margin-left:auto;left:auto;right:auto}.row .col.s3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.s4{width:33.3333%;margin-left:auto;left:auto;right:auto}.row .col.s5{width:41.6667%;margin-left:auto;left:auto;right:auto}.row .col.s6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.s7{width:58.3333%;margin-left:auto;left:auto;right:auto}.row .col.s8{width:66.6667%;margin-left:auto;left:auto;right:auto}.row .col.s9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.s10{width:83.3333%;margin-left:auto;left:auto;right:auto}.row .col.s11{width:91.6667%;margin-left:auto;left:auto;right:auto}.row .col.s12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-s1{margin-left:8.33333%}.row .col.pull-s1{right:8.33333%}.row .col.push-s1{left:8.33333%}.row .col.offset-s2{margin-left:16.6667%}.row .col.pull-s2{right:16.6667%}.row .col.push-s2{left:16.6667%}.row .col.offset-s3{margin-left:25%}.row .col.pull-s3{right:25%}.row .col.push-s3{left:25%}.row .col.offset-s4{margin-left:33.3333%}.row .col.pull-s4{right:33.3333%}.row .col.push-s4{left:33.3333%}.row .col.offset-s5{margin-left:41.6667%}.row .col.pull-s5{right:41.6667%}.row .col.push-s5{left:41.6667%}.row .col.offset-s6{margin-left:50%}.row .col.pull-s6{right:50%}.row .col.push-s6{left:50%}.row .col.offset-s7{margin-left:58.3333%}.row .col.pull-s7{right:58.3333%}.row .col.push-s7{left:58.3333%}.row .col.offset-s8{margin-left:66.6667%}.row .col.pull-s8{right:66.6667%}.row .col.push-s8{left:66.6667%}.row .col.offset-s9{margin-left:75%}.row .col.pull-s9{right:75%}.row .col.push-s9{left:75%}.row .col.offset-s10{margin-left:83.3333%}.row .col.pull-s10{right:83.3333%}.row .col.push-s10{left:83.3333%}.row .col.offset-s11{margin-left:91.6667%}.row .col.pull-s11{right:91.6667%}.row .col.push-s11{left:91.6667%}.row .col.offset-s12{margin-left:100%}.row .col.pull-s12{right:100%}.row .col.push-s12{left:100%}@media only screen and (min-width:601px){.row .col.m1{width:8.33333%;margin-left:auto;left:auto;right:auto}.row .col.m2{width:16.6667%;margin-left:auto;left:auto;right:auto}.row .col.m3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.m4{width:33.3333%;margin-left:auto;left:auto;right:auto}.row .col.m5{width:41.6667%;margin-left:auto;left:auto;right:auto}.row .col.m6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.m7{width:58.3333%;margin-left:auto;left:auto;right:auto}.row .col.m8{width:66.6667%;margin-left:auto;left:auto;right:auto}.row .col.m9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.m10{width:83.3333%;margin-left:auto;left:auto;right:auto}.row .col.m11{width:91.6667%;margin-left:auto;left:auto;right:auto}.row .col.m12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-m1{margin-left:8.33333%}.row .col.pull-m1{right:8.33333%}.row .col.push-m1{left:8.33333%}.row .col.offset-m2{margin-left:16.6667%}.row .col.pull-m2{right:16.6667%}.row .col.push-m2{left:16.6667%}.row .col.offset-m3{margin-left:25%}.row .col.pull-m3{right:25%}.row .col.push-m3{left:25%}.row .col.offset-m4{margin-left:33.3333%}.row .col.pull-m4{right:33.3333%}.row .col.push-m4{left:33.3333%}.row .col.offset-m5{margin-left:41.6667%}.row .col.pull-m5{right:41.6667%}.row .col.push-m5{left:41.6667%}.row .col.offset-m6{margin-left:50%}.row .col.pull-m6{right:50%}.row .col.push-m6{left:50%}.row .col.offset-m7{margin-left:58.3333%}.row .col.pull-m7{right:58.3333%}.row .col.push-m7{left:58.3333%}.row .col.offset-m8{margin-left:66.6667%}.row .col.pull-m8{right:66.6667%}.row .col.push-m8{left:66.6667%}.row .col.offset-m9{margin-left:75%}.row .col.pull-m9{right:75%}.row .col.push-m9{left:75%}.row .col.offset-m10{margin-left:83.3333%}.row .col.pull-m10{right:83.3333%}.row .col.push-m10{left:83.3333%}.row .col.offset-m11{margin-left:91.6667%}.row .col.pull-m11{right:91.6667%}.row .col.push-m11{left:91.6667%}.row .col.offset-m12{margin-left:100%}.row .col.pull-m12{right:100%}.row .col.push-m12{left:100%}}@media only screen and (min-width:993px){.row .col.l1{width:8.33333%;margin-left:auto;left:auto;right:auto}.row .col.l2{width:16.6667%;margin-left:auto;left:auto;right:auto}.row .col.l3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.l4{width:33.3333%;margin-left:auto;left:auto;right:auto}.row .col.l5{width:41.6667%;margin-left:auto;left:auto;right:auto}.row .col.l6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.l7{width:58.3333%;margin-left:auto;left:auto;right:auto}.row .col.l8{width:66.6667%;margin-left:auto;left:auto;right:auto}.row .col.l9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.l10{width:83.3333%;margin-left:auto;left:auto;right:auto}.row .col.l11{width:91.6667%;margin-left:auto;left:auto;right:auto}.row .col.l12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-l1{margin-left:8.33333%}.row .col.pull-l1{right:8.33333%}.row .col.push-l1{left:8.33333%}.row .col.offset-l2{margin-left:16.6667%}.row .col.pull-l2{right:16.6667%}.row .col.push-l2{left:16.6667%}.row .col.offset-l3{margin-left:25%}.row .col.pull-l3{right:25%}.row .col.push-l3{left:25%}.row .col.offset-l4{margin-left:33.3333%}.row .col.pull-l4{right:33.3333%}.row .col.push-l4{left:33.3333%}.row .col.offset-l5{margin-left:41.6667%}.row .col.pull-l5{right:41.6667%}.row .col.push-l5{left:41.6667%}.row .col.offset-l6{margin-left:50%}.row .col.pull-l6{right:50%}.row .col.push-l6{left:50%}.row .col.offset-l7{margin-left:58.3333%}.row .col.pull-l7{right:58.3333%}.row .col.push-l7{left:58.3333%}.row .col.offset-l8{margin-left:66.6667%}.row .col.pull-l8{right:66.6667%}.row .col.push-l8{left:66.6667%}.row .col.offset-l9{margin-left:75%}.row .col.pull-l9{right:75%}.row .col.push-l9{left:75%}.row .col.offset-l10{margin-left:83.3333%}.row .col.pull-l10{right:83.3333%}.row .col.push-l10{left:83.3333%}.row .col.offset-l11{margin-left:91.6667%}.row .col.pull-l11{right:91.6667%}.row .col.push-l11{left:91.6667%}.row .col.offset-l12{margin-left:100%}.row .col.pull-l12{right:100%}.row .col.push-l12{left:100%}}@media only screen and (min-width:1201px){.row .col.xl1{width:8.33333%;margin-left:auto;left:auto;right:auto}.row .col.xl2{width:16.6667%;margin-left:auto;left:auto;right:auto}.row .col.xl3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.xl4{width:33.3333%;margin-left:auto;left:auto;right:auto}.row .col.xl5{width:41.6667%;margin-left:auto;left:auto;right:auto}.row .col.xl6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.xl7{width:58.3333%;margin-left:auto;left:auto;right:auto}.row .col.xl8{width:66.6667%;margin-left:auto;left:auto;right:auto}.row .col.xl9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.xl10{width:83.3333%;margin-left:auto;left:auto;right:auto}.row .col.xl11{width:91.6667%;margin-left:auto;left:auto;right:auto}.row .col.xl12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-xl1{margin-left:8.33333%}.row .col.pull-xl1{right:8.33333%}.row .col.push-xl1{left:8.33333%}.row .col.offset-xl2{margin-left:16.6667%}.row .col.pull-xl2{right:16.6667%}.row .col.push-xl2{left:16.6667%}.row .col.offset-xl3{margin-left:25%}.row .col.pull-xl3{right:25%}.row .col.push-xl3{left:25%}.row .col.offset-xl4{margin-left:33.3333%}.row .col.pull-xl4{right:33.3333%}.row .col.push-xl4{left:33.3333%}.row .col.offset-xl5{margin-left:41.6667%}.row .col.pull-xl5{right:41.6667%}.row .col.push-xl5{left:41.6667%}.row .col.offset-xl6{margin-left:50%}.row .col.pull-xl6{right:50%}.row .col.push-xl6{left:50%}.row .col.offset-xl7{margin-left:58.3333%}.row .col.pull-xl7{right:58.3333%}.row .col.push-xl7{left:58.3333%}.row .col.offset-xl8{margin-left:66.6667%}.row .col.pull-xl8{right:66.6667%}.row .col.push-xl8{left:66.6667%}.row .col.offset-xl9{margin-left:75%}.row .col.pull-xl9{right:75%}.row .col.push-xl9{left:75%}.row .col.offset-xl10{margin-left:83.3333%}.row .col.pull-xl10{right:83.3333%}.row .col.push-xl10{left:83.3333%}.row .col.offset-xl11{margin-left:91.6667%}.row .col.pull-xl11{right:91.6667%}.row .col.push-xl11{left:91.6667%}.row .col.offset-xl12{margin-left:100%}.row .col.pull-xl12{right:100%}.row .col.push-xl12{left:100%}}nav{color:#fff;background-color:#ee6e73;width:100%;height:56px;line-height:56px}nav.nav-extended{height:auto}nav.nav-extended .nav-wrapper{height:auto;min-height:56px}nav.nav-extended .nav-content{line-height:normal;position:relative}nav a{color:#fff}nav i,nav [class^=mdi-],nav [class*=mdi-],nav i.material-icons{height:56px;font-size:24px;line-height:56px;display:block}nav .nav-wrapper{height:100%;position:relative}@media only screen and (min-width:993px){nav a.sidenav-trigger{display:none}}nav .sidenav-trigger{float:left;z-index:1;height:56px;margin:0 18px;position:relative}nav .sidenav-trigger i{height:56px;line-height:56px}nav .brand-logo{color:#fff;padding:0;font-size:2.1rem;display:inline-block;position:absolute}nav .brand-logo.center{left:50%;transform:translate(-50%)}@media only screen and (max-width:992px){nav .brand-logo{left:50%;transform:translate(-50%)}nav .brand-logo.left,nav .brand-logo.right{padding:0;transform:none}nav .brand-logo.left{left:.5rem}nav .brand-logo.right{left:auto;right:.5rem}}nav .brand-logo.right{padding:0;right:.5rem}nav .brand-logo i,nav .brand-logo [class^=mdi-],nav .brand-logo [class*=mdi-],nav .brand-logo i.material-icons{float:left;margin-right:15px}nav .nav-title{padding:28px 0;font-size:32px;display:inline-block}nav ul{margin:0}nav ul li{float:left;padding:0;transition:background-color .3s}nav ul li.active{background-color:rgba(0,0,0,.1)}nav ul a{color:#fff;cursor:pointer;padding:0 15px;font-size:1rem;transition:background-color .3s;display:block}nav ul a.btn,nav ul a.btn-large,nav ul a.btn-small,nav ul a.btn-large,nav ul a.btn-flat,nav ul a.btn-floating{margin-top:-2px;margin-left:15px;margin-right:15px}nav ul a.btn>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-small>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-flat>.material-icons,nav ul a.btn-floating>.material-icons{height:inherit;line-height:inherit}nav ul a:hover{background-color:rgba(0,0,0,.1)}nav ul.left{float:left}nav form{height:100%}nav .input-field{height:100%;margin:0}nav .input-field input{border:none;height:100%;padding-left:2rem;font-size:1.2rem}nav .input-field input:focus{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=text]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=password]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=email]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=url]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field input[type=date]:valid{-webkit-box-shadow:none;box-shadow:none;border:none}nav .input-field label{top:0;left:0}nav .input-field label i{color:rgba(255,255,255,.7);transition:color .3s}nav .input-field label.active i{color:#fff}.navbar-fixed{z-index:997;height:56px;position:relative}.navbar-fixed nav{position:fixed}@media only screen and (min-width:601px){nav.nav-extended .nav-wrapper{min-height:64px}nav,nav .nav-wrapper i,nav a.sidenav-trigger,nav a.sidenav-trigger i{height:64px;line-height:64px}.navbar-fixed{height:64px}}a{text-decoration:none}html{color:rgba(0,0,0,.87);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:400;line-height:1.5}@media only screen and (min-width:0){html{font-size:14px}}@media only screen and (min-width:992px){html{font-size:14.5px}}@media only screen and (min-width:1200px){html{font-size:15px}}h1,h2,h3,h4,h5,h6{font-weight:400;line-height:1.3}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}h1{margin:2.8rem 0 1.68rem;font-size:4.2rem;line-height:110%}h2{margin:2.37333rem 0 1.424rem;font-size:3.56rem;line-height:110%}h3{margin:1.94667rem 0 1.168rem;font-size:2.92rem;line-height:110%}h4{margin:1.52rem 0 .912rem;font-size:2.28rem;line-height:110%}h5{margin:1.09333rem 0 .656rem;font-size:1.64rem;line-height:110%}h6{margin:.766667rem 0 .46rem;font-size:1.15rem;line-height:110%}em{font-style:italic}strong{font-weight:500}small{font-size:75%}.light{font-weight:300}.thin{font-weight:200}@media only screen and (min-width:360px){.flow-text{font-size:1.2rem}}@media only screen and (min-width:390px){.flow-text{font-size:1.224rem}}@media only screen and (min-width:420px){.flow-text{font-size:1.248rem}}@media only screen and (min-width:450px){.flow-text{font-size:1.272rem}}@media only screen and (min-width:480px){.flow-text{font-size:1.296rem}}@media only screen and (min-width:510px){.flow-text{font-size:1.32rem}}@media only screen and (min-width:540px){.flow-text{font-size:1.344rem}}@media only screen and (min-width:570px){.flow-text{font-size:1.368rem}}@media only screen and (min-width:600px){.flow-text{font-size:1.392rem}}@media only screen and (min-width:630px){.flow-text{font-size:1.416rem}}@media only screen and (min-width:660px){.flow-text{font-size:1.44rem}}@media only screen and (min-width:690px){.flow-text{font-size:1.464rem}}@media only screen and (min-width:720px){.flow-text{font-size:1.488rem}}@media only screen and (min-width:750px){.flow-text{font-size:1.512rem}}@media only screen and (min-width:780px){.flow-text{font-size:1.536rem}}@media only screen and (min-width:810px){.flow-text{font-size:1.56rem}}@media only screen and (min-width:840px){.flow-text{font-size:1.584rem}}@media only screen and (min-width:870px){.flow-text{font-size:1.608rem}}@media only screen and (min-width:900px){.flow-text{font-size:1.632rem}}@media only screen and (min-width:930px){.flow-text{font-size:1.656rem}}@media only screen and (min-width:960px){.flow-text{font-size:1.68rem}}@media only screen and (max-width:360px){.flow-text{font-size:1.2rem}}.scale-transition{transition:transform .3s cubic-bezier(.53,.01,.36,1.63),-webkit-transform .3s cubic-bezier(.53,.01,.36,1.63)!important}.scale-transition.scale-out{transform:scale(0);transition:transform .2s,-webkit-transform .2s!important}.scale-transition.scale-in{transform:scale(1)}.card-panel{background-color:#fff;border-radius:2px;margin:.5rem 0 1rem;padding:24px;transition:box-shadow .25s,-webkit-box-shadow .25s}.card{background-color:#fff;border-radius:2px;margin:.5rem 0 1rem;transition:box-shadow .25s,-webkit-box-shadow .25s;position:relative}.card .card-title{font-size:24px;font-weight:300}.card .card-title.activator{cursor:pointer}.card.small,.card.medium,.card.large{position:relative}.card.small .card-image,.card.medium .card-image,.card.large .card-image{max-height:60%;overflow:hidden}.card.small .card-image+.card-content,.card.medium .card-image+.card-content,.card.large .card-image+.card-content{max-height:40%}.card.small .card-content,.card.medium .card-content,.card.large .card-content{max-height:100%;overflow:hidden}.card.small .card-action,.card.medium .card-action,.card.large .card-action{position:absolute;bottom:0;left:0;right:0}.card.small{height:300px}.card.medium{height:400px}.card.large{height:500px}.card.horizontal{display:flex}.card.horizontal.small .card-image,.card.horizontal.medium .card-image,.card.horizontal.large .card-image{height:100%;max-height:none;overflow:visible}.card.horizontal.small .card-image img,.card.horizontal.medium .card-image img,.card.horizontal.large .card-image img{height:100%}.card.horizontal .card-image{max-width:50%}.card.horizontal .card-image img{border-radius:2px 0 0 2px;width:auto;max-width:100%}.card.horizontal .card-stacked{flex-direction:column;flex:1;display:flex;position:relative}.card.horizontal .card-stacked .card-content{flex-grow:1}.card.sticky-action .card-action{z-index:2}.card.sticky-action .card-reveal{z-index:1;padding-bottom:64px}.card .card-image{position:relative}.card .card-image img{border-radius:2px 2px 0 0;width:100%;display:block;position:relative;top:0;bottom:0;left:0;right:0}.card .card-image .card-title{color:#fff;max-width:100%;padding:24px;position:absolute;bottom:0;left:0}.card .card-content{border-radius:0 0 2px 2px;padding:24px}.card .card-content p{margin:0}.card .card-content .card-title{margin-bottom:8px;line-height:32px;display:block}.card .card-content .card-title i{line-height:32px}.card .card-action{background-color:inherit;border-top:1px solid rgba(160,160,160,.2);padding:16px 24px;position:relative}.card .card-action:last-child{border-radius:0 0 2px 2px}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating){color:#ffab40;text-transform:uppercase;margin-right:24px;transition:color .3s}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating):hover{color:#ffd8a6}.card .card-reveal{z-index:3;background-color:#fff;width:100%;height:100%;padding:24px;display:none;position:absolute;top:100%;left:0;overflow-y:auto}.card .card-reveal .card-title{cursor:pointer;display:block}#toast-container{z-index:10000;display:block;position:fixed}@media only screen and (max-width:600px){#toast-container{min-width:100%;bottom:0%}}@media only screen and (min-width:601px) and (max-width:992px){#toast-container{max-width:90%;bottom:7%;left:5%}}@media only screen and (min-width:993px){#toast-container{max-width:86%;top:10%;right:7%}}.toast{color:#fff;cursor:default;background-color:#323232;border-radius:2px;justify-content:space-between;align-items:center;width:auto;max-width:100%;height:auto;min-height:48px;margin-top:10px;padding:10px 25px;font-size:1.1rem;font-weight:300;line-height:1.5em;display:flex;position:relative;top:35px}.toast .toast-action{color:#eeff41;margin-left:3rem;margin-right:-25px;font-weight:500}.toast.rounded{border-radius:24px}@media only screen and (max-width:600px){.toast{border-radius:0;width:100%}}.tabs{white-space:nowrap;background-color:#fff;width:100%;height:48px;margin:0 auto;position:relative;overflow-x:auto;overflow-y:hidden}.tabs.tabs-transparent{background-color:transparent}.tabs.tabs-transparent .tab a,.tabs.tabs-transparent .tab.disabled a,.tabs.tabs-transparent .tab.disabled a:hover{color:rgba(255,255,255,.7)}.tabs.tabs-transparent .tab a:hover,.tabs.tabs-transparent .tab a.active{color:#fff}.tabs.tabs-transparent .indicator{background-color:#fff}.tabs.tabs-fixed-width{display:flex}.tabs.tabs-fixed-width .tab{flex-grow:1}.tabs .tab{text-align:center;text-transform:uppercase;height:48px;margin:0;padding:0;line-height:48px;display:inline-block}.tabs .tab a{color:rgba(238,110,115,.7);text-overflow:ellipsis;width:100%;height:100%;padding:0 24px;font-size:14px;transition:color .28s,background-color .28s;display:block;overflow:hidden}.tabs .tab a:focus,.tabs .tab a:focus.active{background-color:rgba(246,178,181,.2);outline:none}.tabs .tab a:hover,.tabs .tab a.active{color:#ee6e73;background-color:transparent}.tabs .tab.disabled a,.tabs .tab.disabled a:hover{color:rgba(238,110,115,.4);cursor:default}.tabs .indicator{will-change:left,right;background-color:#f6b2b5;height:2px;position:absolute;bottom:0}@media only screen and (max-width:992px){.tabs{display:flex}.tabs .tab{flex-grow:1}.tabs .tab a{padding:0 12px}}.material-tooltip{z-index:2000;color:#fff;opacity:0;text-align:center;pointer-events:none;visibility:hidden;background-color:#323232;border-radius:2px;max-width:calc(100% - 4px);min-height:36px;padding:10px 8px;font-size:1rem;line-height:120%;position:absolute;top:0;left:0;overflow:hidden}.backdrop{opacity:0;z-index:-1;transform-origin:50% 0;visibility:hidden;background-color:#323232;border-radius:0 0 50% 50%;width:14px;height:7px;position:absolute}.btn,.btn-large,.btn-small,.btn-flat{text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent;border:none;border-radius:2px;height:36px;padding:0 16px;line-height:36px;display:inline-block}.btn.disabled,.disabled.btn-large,.disabled.btn-small,.btn-floating.disabled,.btn-large.disabled,.btn-small.disabled,.btn-flat.disabled,.btn:disabled,.btn-large:disabled,.btn-small:disabled,.btn-floating:disabled,.btn-large:disabled,.btn-small:disabled,.btn-flat:disabled,.btn[disabled],.btn-large[disabled],.btn-small[disabled],.btn-floating[disabled],.btn-large[disabled],.btn-small[disabled],.btn-flat[disabled]{pointer-events:none;-webkit-box-shadow:none;box-shadow:none;cursor:default;color:#9f9f9f!important;background-color:#dfdfdf!important}.btn.disabled:hover,.disabled.btn-large:hover,.disabled.btn-small:hover,.btn-floating.disabled:hover,.btn-large.disabled:hover,.btn-small.disabled:hover,.btn-flat.disabled:hover,.btn:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-floating:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-flat:disabled:hover,.btn[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-floating[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-flat[disabled]:hover{color:#9f9f9f!important;background-color:#dfdfdf!important}.btn,.btn-large,.btn-small,.btn-floating,.btn-large,.btn-small,.btn-flat{outline:0;font-size:14px}.btn i,.btn-large i,.btn-small i,.btn-floating i,.btn-large i,.btn-small i,.btn-flat i{font-size:1.3rem;line-height:inherit}.btn:focus,.btn-large:focus,.btn-small:focus,.btn-floating:focus{background-color:#1d7d74}.btn,.btn-large,.btn-small{color:#fff;text-align:center;letter-spacing:.5px;cursor:pointer;background-color:#26a69a;text-decoration:none;transition:background-color .2s ease-out}.btn:hover,.btn-large:hover,.btn-small:hover{background-color:#2bbbad}.btn-floating{color:#fff;z-index:1;cursor:pointer;vertical-align:middle;background-color:#26a69a;border-radius:50%;width:40px;height:40px;padding:0;line-height:40px;transition:background-color .3s;display:inline-block;position:relative;overflow:hidden}.btn-floating:hover{background-color:#26a69a}.btn-floating:before{border-radius:0}.btn-floating.btn-large{width:56px;height:56px;padding:0}.btn-floating.btn-large.halfway-fab{bottom:-28px}.btn-floating.btn-large i{line-height:56px}.btn-floating.btn-small{width:32.4px;height:32.4px}.btn-floating.btn-small.halfway-fab{bottom:-16.2px}.btn-floating.btn-small i{line-height:32.4px}.btn-floating.halfway-fab{position:absolute;bottom:-20px;right:24px}.btn-floating.halfway-fab.left{left:24px;right:auto}.btn-floating i{width:inherit;text-align:center;color:#fff;font-size:1.6rem;line-height:40px;display:inline-block}button.btn-floating{border:none}.fixed-action-btn{z-index:997;margin-bottom:0;padding-top:15px;position:fixed;bottom:23px;right:23px}.fixed-action-btn.active ul{visibility:visible}.fixed-action-btn.direction-left,.fixed-action-btn.direction-right{padding:0 0 0 15px}.fixed-action-btn.direction-left ul,.fixed-action-btn.direction-right ul{text-align:right;width:500px;height:100%;top:50%;left:auto;right:64px;transform:translateY(-50%)}.fixed-action-btn.direction-left ul li,.fixed-action-btn.direction-right ul li{margin:7.5px 15px 0 0;display:inline-block}.fixed-action-btn.direction-right{padding:0 15px 0 0}.fixed-action-btn.direction-right ul{text-align:left;direction:rtl;left:64px;right:auto}.fixed-action-btn.direction-right ul li{margin:7.5px 0 0 15px}.fixed-action-btn.direction-bottom{padding:0 0 15px}.fixed-action-btn.direction-bottom ul{flex-direction:column-reverse;display:flex;top:64px;bottom:auto}.fixed-action-btn.direction-bottom ul li{margin:15px 0 0}.fixed-action-btn.toolbar{height:56px;padding:0}.fixed-action-btn.toolbar.active>a i{opacity:0}.fixed-action-btn.toolbar ul{z-index:1;display:flex;top:0;bottom:0}.fixed-action-btn.toolbar ul li{flex:1;height:100%;margin:0;transition:none;display:inline-block}.fixed-action-btn.toolbar ul li a{width:100%;height:100%;-webkit-box-shadow:none;box-shadow:none;color:#fff;z-index:1;background-color:transparent;line-height:56px;display:block;position:relative;overflow:hidden}.fixed-action-btn.toolbar ul li a i{line-height:inherit}.fixed-action-btn ul{text-align:center;visibility:hidden;margin:0;position:absolute;bottom:64px;left:0;right:0}.fixed-action-btn ul li{margin-bottom:15px}.fixed-action-btn ul a.btn-floating{opacity:0}.fixed-action-btn .fab-backdrop{z-index:-1;background-color:#26a69a;border-radius:50%;width:40px;height:40px;position:absolute;top:0;left:0;transform:scale(0)}.btn-flat{-webkit-box-shadow:none;box-shadow:none;color:#343434;cursor:pointer;background-color:transparent;transition:background-color .2s}.btn-flat:focus,.btn-flat:hover{-webkit-box-shadow:none;box-shadow:none}.btn-flat:focus{background-color:rgba(0,0,0,.1)}.btn-flat.disabled,.btn-flat.btn-flat[disabled]{cursor:default;color:#b3b2b2!important;background-color:transparent!important}.btn-large{height:54px;padding:0 28px;font-size:15px;line-height:54px}.btn-large i{font-size:1.6rem}.btn-small{height:32.4px;font-size:13px;line-height:32.4px}.btn-small i{font-size:1.2rem}.btn-block{display:block}.dropdown-content{opacity:0;z-index:9999;transform-origin:0 0;background-color:#fff;min-width:100px;margin:0;display:none;position:absolute;top:0;left:0;overflow-y:auto}.dropdown-content:focus{outline:0}.dropdown-content li{clear:both;color:rgba(0,0,0,.87);cursor:pointer;text-align:left;width:100%;min-height:50px;line-height:1.5rem}.dropdown-content li:hover,.dropdown-content li.active{background-color:#eee}.dropdown-content li:focus{outline:none}.dropdown-content li.divider{height:1px;min-height:0}.dropdown-content li>a,.dropdown-content li>span{color:#26a69a;padding:14px 16px;font-size:16px;line-height:22px;display:block}.dropdown-content li>span>label{height:18px;top:1px;left:0}.dropdown-content li>a>i{height:inherit;line-height:inherit;float:left;width:24px;margin:0 24px 0 0}body.keyboard-focused .dropdown-content li:focus{background-color:#dadada}.input-field.col .dropdown-content [type=checkbox]+label{height:18px;top:1px;left:0;transform:none}.dropdown-trigger{cursor:pointer}.waves-effect{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle;z-index:1;transition:all .3s ease-out;display:inline-block;position:relative;overflow:hidden}.waves-effect .waves-ripple{opacity:0;transition:all .7s ease-out;pointer-events:none;background:rgba(0,0,0,.2);border-radius:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;transition-property:transform,opacity,-webkit-transform;position:absolute;transform:scale(0)}.waves-effect.waves-light .waves-ripple{background-color:rgba(255,255,255,.45)}.waves-effect.waves-red .waves-ripple{background-color:rgba(244,67,54,.7)}.waves-effect.waves-yellow .waves-ripple{background-color:rgba(255,235,59,.7)}.waves-effect.waves-orange .waves-ripple{background-color:rgba(255,152,0,.7)}.waves-effect.waves-purple .waves-ripple{background-color:rgba(156,39,176,.7)}.waves-effect.waves-green .waves-ripple{background-color:rgba(76,175,80,.7)}.waves-effect.waves-teal .waves-ripple{background-color:rgba(0,150,136,.7)}.waves-effect input[type=button]{font-style:normal;font-size:inherit;text-transform:inherit;background:0 0;border:0}.waves-effect input[type=reset]{font-style:normal;font-size:inherit;text-transform:inherit;background:0 0;border:0}.waves-effect input[type=submit]{font-style:normal;font-size:inherit;text-transform:inherit;background:0 0;border:0}.waves-effect img{z-index:-1;position:relative}.waves-notransition{transition:none!important}.waves-circle{transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.waves-input-wrapper{vertical-align:bottom;border-radius:.2em}.waves-input-wrapper .waves-button-input{z-index:1;position:relative;top:0;left:0}.waves-circle{text-align:center;border-radius:50%;width:2.5em;height:2.5em;line-height:2.5em;-webkit-mask-image:none}.waves-block{display:block}.waves-effect .waves-ripple{z-index:-1}.modal{will-change:top,opacity;background-color:#fafafa;border-radius:2px;width:55%;max-height:70%;margin:auto;padding:0;display:none;position:fixed;left:0;right:0;overflow-y:auto}.modal:focus{outline:none}@media only screen and (max-width:992px){.modal{width:80%}}.modal h1,.modal h2,.modal h3,.modal h4{margin-top:0}.modal .modal-content{padding:24px}.modal .modal-close{cursor:pointer}.modal .modal-footer{text-align:right;background-color:#fafafa;border-radius:0 0 2px 2px;width:100%;height:56px;padding:4px 6px}.modal .modal-footer .btn,.modal .modal-footer .btn-large,.modal .modal-footer .btn-small,.modal .modal-footer .btn-flat{margin:6px 0}.modal-overlay{z-index:999;will-change:opacity;background:#000;width:100%;height:125%;display:none;position:fixed;top:-25%;bottom:0;left:0;right:0}.modal.modal-fixed-footer{height:70%;padding:0}.modal.modal-fixed-footer .modal-content{width:100%;height:calc(100% - 56px);max-height:100%;position:absolute;overflow-y:auto}.modal.modal-fixed-footer .modal-footer{border-top:1px solid rgba(0,0,0,.1);position:absolute;bottom:0}.modal.bottom-sheet{will-change:bottom,opacity;border-radius:0;width:100%;max-height:45%;margin:0;top:auto;bottom:-100%}.collapsible{border-top:1px solid #ddd;border-left:1px solid #ddd;border-right:1px solid #ddd;margin:.5rem 0 1rem}.collapsible-header{cursor:pointer;-webkit-tap-highlight-color:transparent;background-color:#fff;border-bottom:1px solid #ddd;padding:1rem;line-height:1.5;display:flex}.collapsible-header:focus{outline:0}.collapsible-header i{text-align:center;width:2rem;margin-right:1rem;font-size:1.6rem;display:inline-block}.keyboard-focused .collapsible-header:focus{background-color:#eee}.collapsible-body{box-sizing:border-box;border-bottom:1px solid #ddd;padding:2rem;display:none}.sidenav .collapsible,.sidenav.fixed .collapsible{-webkit-box-shadow:none;box-shadow:none;border:none}.sidenav .collapsible li,.sidenav.fixed .collapsible li{padding:0}.sidenav .collapsible-header,.sidenav.fixed .collapsible-header{line-height:inherit;height:inherit;background-color:transparent;border:none;padding:0 16px}.sidenav .collapsible-header:hover,.sidenav.fixed .collapsible-header:hover{background-color:rgba(0,0,0,.05)}.sidenav .collapsible-header i,.sidenav.fixed .collapsible-header i{line-height:inherit}.sidenav .collapsible-body,.sidenav.fixed .collapsible-body{background-color:#fff;border:0}.sidenav .collapsible-body li a,.sidenav.fixed .collapsible-body li a{padding:0 23.5px 0 31px}.collapsible.popout{-webkit-box-shadow:none;box-shadow:none;border:none}.collapsible.popout>li{margin:0 24px;transition:margin .35s cubic-bezier(.25,.46,.45,.94);box-shadow:0 2px 5px rgba(0,0,0,.16),0 2px 10px rgba(0,0,0,.12)}.collapsible.popout>li.active{margin:16px 0;box-shadow:0 5px 11px rgba(0,0,0,.18),0 4px 15px rgba(0,0,0,.15)}.chip{color:rgba(0,0,0,.6);background-color:#e4e4e4;border-radius:16px;height:32px;margin-bottom:5px;margin-right:5px;padding:0 12px;font-size:13px;font-weight:500;line-height:32px;display:inline-block}.chip:focus{color:#fff;background-color:#26a69a;outline:none}.chip>img{float:left;border-radius:50%;width:32px;height:32px;margin:0 8px 0 -12px}.chip .close{cursor:pointer;float:right;padding-left:8px;font-size:16px;line-height:32px}.chips{-webkit-box-shadow:none;box-shadow:none;border:none;border-bottom:1px solid #9e9e9e;outline:none;min-height:45px;margin:0 0 8px;transition:all .3s}.chips.focus{border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}.chips:hover{cursor:text}.chips .input{color:rgba(0,0,0,.6);background:0 0;border:0;outline:0;height:3rem;margin:0;font-size:16px;line-height:32px;display:inline-block;width:120px!important;padding:0!important}.chips .input:focus{-webkit-box-shadow:none!important;box-shadow:none!important;border:0!important}.chips .autocomplete-content{margin-top:0;margin-bottom:0}.prefix~.chips{width:92%;width:calc(100% - 3rem);margin-left:3rem}.chips:empty~label{font-size:.8rem;transform:translateY(-140%)}.materialboxed{cursor:-webkit-zoom-in;cursor:zoom-in;-webkit-backface-visibility:hidden;transition:opacity .4s;display:block;position:relative}.materialboxed:hover:not(.active){opacity:.8}.materialboxed.active{cursor:-webkit-zoom-out;cursor:zoom-out}#materialbox-overlay{z-index:1000;will-change:opacity;background-color:#292929;position:fixed;top:0;bottom:0;left:0;right:0}.materialbox-caption{color:#fff;text-align:center;z-index:1000;-webkit-font-smoothing:antialiased;width:100%;height:50px;padding:0% 15%;line-height:50px;display:none;position:fixed;bottom:0;left:0}select:focus{outline:1px solid #c9f3ef}button:focus{background-color:#2ab7a9;outline:none}label{color:#9e9e9e;font-size:.8rem}::-webkit-input-placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}:-ms-input-placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}input:not([type]),textarea.materialize-textarea{width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=text]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=password]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=email]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=url]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=time]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=date]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=datetime]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=datetime-local]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=tel]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=number]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input[type=search]:not(.browser-default){width:100%;height:3rem;-webkit-box-shadow:none;box-shadow:none;box-sizing:content-box;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;margin:0 0 8px;padding:0;font-size:16px;transition:box-shadow .3s,border .3s,-webkit-box-shadow .3s}input:not([type]):disabled,textarea.materialize-textarea:disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input:not([type])[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=text]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=text]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=password]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=password]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=email]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=email]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=url]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=url]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=time]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=time]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=date]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=date]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=datetime]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=datetime]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=datetime-local]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=datetime-local]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=tel]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=tel]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=number]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=number]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=search]:not(.browser-default):disabled{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input[type=search]:not(.browser-default)[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}textarea.materialize-textarea[readonly=readonly]{color:rgba(0,0,0,.42);border-bottom:1px dotted rgba(0,0,0,.42)}input:not([type]):disabled+label,textarea.materialize-textarea:disabled+label{color:rgba(0,0,0,.42)}input:not([type])[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=text]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=text]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=password]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=password]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=email]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=email]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=url]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=url]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=time]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=time]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=date]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=date]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=datetime]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=datetime]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=datetime-local]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=datetime-local]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=tel]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=tel]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=number]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=number]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}input[type=search]:not(.browser-default):disabled+label{color:rgba(0,0,0,.42)}input[type=search]:not(.browser-default)[readonly=readonly]+label{color:rgba(0,0,0,.42)}textarea.materialize-textarea[readonly=readonly]+label{color:rgba(0,0,0,.42)}input:not([type]):focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=text]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=password]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=email]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=url]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=time]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=date]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=datetime]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=datetime-local]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=tel]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=number]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input[type=search]:not(.browser-default):focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px #26a69a}input:not([type]):focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#26a69a}input[type=text]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=password]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=email]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=url]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=time]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=date]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=datetime]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=tel]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=number]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input[type=search]:not(.browser-default):focus:not([readonly])+label{color:#26a69a}input:not([type]):focus.valid~label,textarea.materialize-textarea:focus.valid~label{color:#4caf50}input[type=text]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=password]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=email]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=url]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=time]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=date]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=datetime]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=datetime-local]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=tel]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=number]:not(.browser-default):focus.valid~label{color:#4caf50}input[type=search]:not(.browser-default):focus.valid~label{color:#4caf50}input:not([type]):focus.invalid~label,textarea.materialize-textarea:focus.invalid~label{color:#f44336}input[type=text]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=password]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=email]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=url]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=time]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=date]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=datetime]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=datetime-local]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=tel]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=number]:not(.browser-default):focus.invalid~label{color:#f44336}input[type=search]:not(.browser-default):focus.invalid~label{color:#f44336}input:not([type]).validate+label,textarea.materialize-textarea.validate+label{width:100%}input[type=text]:not(.browser-default).validate+label{width:100%}input[type=password]:not(.browser-default).validate+label{width:100%}input[type=email]:not(.browser-default).validate+label{width:100%}input[type=url]:not(.browser-default).validate+label{width:100%}input[type=time]:not(.browser-default).validate+label{width:100%}input[type=date]:not(.browser-default).validate+label{width:100%}input[type=datetime]:not(.browser-default).validate+label{width:100%}input[type=datetime-local]:not(.browser-default).validate+label{width:100%}input[type=tel]:not(.browser-default).validate+label{width:100%}input[type=number]:not(.browser-default).validate+label{width:100%}input[type=search]:not(.browser-default).validate+label{width:100%}input.valid:not([type]),input.valid:not([type]):focus,textarea.materialize-textarea.valid,textarea.materialize-textarea.valid:focus,.select-wrapper.valid>input.select-dropdown{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=text]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=text]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=password]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=password]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=email]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=email]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=url]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=url]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=time]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=time]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=date]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=date]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=datetime]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=datetime]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=datetime-local]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=datetime-local]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=tel]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=tel]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=number]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=number]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=search]:not(.browser-default){border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.valid[type=search]:not(.browser-default):focus{border-bottom:1px solid #4caf50;box-shadow:0 1px #4caf50}input.invalid:not([type]),input.invalid:not([type]):focus,textarea.materialize-textarea.invalid,textarea.materialize-textarea.invalid:focus,.select-wrapper.invalid>input.select-dropdown,.select-wrapper.invalid>input.select-dropdown:focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=text]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=text]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=password]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=password]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=email]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=email]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=url]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=url]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=time]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=time]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=date]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=date]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=datetime]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=datetime]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=datetime-local]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=datetime-local]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=tel]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=tel]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=number]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=number]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=search]:not(.browser-default){border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input.invalid[type=search]:not(.browser-default):focus{border-bottom:1px solid #f44336;box-shadow:0 1px #f44336}input:not([type]).valid~.helper-text[data-success],input:not([type]):focus.valid~.helper-text[data-success],input:not([type]).invalid~.helper-text[data-error],input:not([type]):focus.invalid~.helper-text[data-error],textarea.materialize-textarea.valid~.helper-text[data-success],textarea.materialize-textarea:focus.valid~.helper-text[data-success],textarea.materialize-textarea.invalid~.helper-text[data-error],textarea.materialize-textarea:focus.invalid~.helper-text[data-error],.select-wrapper.valid .helper-text[data-success],.select-wrapper.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=text]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=text]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=text]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=text]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=password]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=password]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=password]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=password]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=email]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=email]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=email]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=email]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=url]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=url]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=url]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=url]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=time]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=time]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=time]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=time]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=date]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=date]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=date]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=date]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime-local]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime-local]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime-local]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=datetime-local]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=tel]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=tel]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=tel]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=tel]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=number]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=number]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=number]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=number]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=search]:not(.browser-default).valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=search]:not(.browser-default):focus.valid~.helper-text[data-success]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=search]:not(.browser-default).invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input[type=search]:not(.browser-default):focus.invalid~.helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input:not([type]).valid~.helper-text:after,input:not([type]):focus.valid~.helper-text:after,textarea.materialize-textarea.valid~.helper-text:after,textarea.materialize-textarea:focus.valid~.helper-text:after,.select-wrapper.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=text]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=text]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=password]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=password]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=email]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=email]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=url]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=url]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=time]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=time]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=date]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=date]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=datetime]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=datetime]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=datetime-local]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=datetime-local]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=tel]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=tel]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=number]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=number]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=search]:not(.browser-default).valid~.helper-text:after{content:attr(data-success);color:#4caf50}input[type=search]:not(.browser-default):focus.valid~.helper-text:after{content:attr(data-success);color:#4caf50}input:not([type]).invalid~.helper-text:after,input:not([type]):focus.invalid~.helper-text:after,textarea.materialize-textarea.invalid~.helper-text:after,textarea.materialize-textarea:focus.invalid~.helper-text:after,.select-wrapper.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=text]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=text]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=password]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=password]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=email]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=email]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=url]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=url]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=time]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=time]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=date]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=date]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=datetime]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=datetime]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=datetime-local]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=datetime-local]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=tel]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=tel]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=number]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=number]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=search]:not(.browser-default).invalid~.helper-text:after{content:attr(data-error);color:#f44336}input[type=search]:not(.browser-default):focus.invalid~.helper-text:after{content:attr(data-error);color:#f44336}input:not([type])+label:after,textarea.materialize-textarea+label:after,.select-wrapper+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=text]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=password]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=email]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=url]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=time]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=date]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=datetime]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=datetime-local]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=tel]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=number]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}input[type=search]:not(.browser-default)+label:after{content:"";opacity:0;transition:opacity .2s ease-out,color .2s ease-out;display:block;position:absolute;top:100%;left:0}.input-field{margin-top:1rem;margin-bottom:1rem;position:relative}.input-field.inline{vertical-align:middle;margin-left:5px;display:inline-block}.input-field.inline input,.input-field.inline .select-dropdown{margin-bottom:1rem}.input-field.col label{left:.75rem}.input-field.col .prefix~label,.input-field.col .prefix~.validate~label{width:calc(100% - 4.5rem)}.input-field>label{color:#9e9e9e;cursor:text;transform-origin:0 100%;text-align:initial;font-size:1rem;transition:transform .2s ease-out,color .2s ease-out,-webkit-transform .2s ease-out;position:absolute;top:0;left:0;transform:translateY(12px)}.input-field>input[type]:-webkit-autofill:not(.browser-default):not([type=search])+label{transform-origin:0 0;transform:translateY(-14px)scale(.8)}.input-field>input[type=date]:not(.browser-default)+label{transform-origin:0 0;transform:translateY(-14px)scale(.8)}.input-field>input[type=time]:not(.browser-default)+label{transform-origin:0 0;transform:translateY(-14px)scale(.8)}.input-field .helper-text{color:rgba(0,0,0,.54);min-height:18px;font-size:12px;display:block;position:relative}.input-field .helper-text:after{opacity:1;position:absolute;top:0;left:0}.input-field .prefix{width:3rem;font-size:2rem;transition:color .2s;position:absolute;top:.5rem}.input-field .prefix.active{color:#26a69a}.input-field .prefix~input,.input-field .prefix~textarea,.input-field .prefix~label,.input-field .prefix~.validate~label,.input-field .prefix~.helper-text,.input-field .prefix~.autocomplete-content{width:92%;width:calc(100% - 3rem);margin-left:3rem}.input-field .prefix~label{margin-left:3rem}@media only screen and (max-width:992px){.input-field .prefix~input{width:86%;width:calc(100% - 3rem)}}@media only screen and (max-width:600px){.input-field .prefix~input{width:80%;width:calc(100% - 3rem)}}.input-field input[type=search]{line-height:inherit;transition:background-color .3s;display:block}.nav-wrapper .input-field input[type=search]{height:inherit;width:calc(100% - 4rem);-webkit-box-shadow:none;box-shadow:none;border:0;padding-left:4rem}.input-field input[type=search]:focus:not(.browser-default){-webkit-box-shadow:none;box-shadow:none;color:#444;background-color:#fff;border:0}.input-field input[type=search]:focus:not(.browser-default)+label i{color:#444}.input-field input[type=search]:focus:not(.browser-default)~.mdi-navigation-close{color:#444}.input-field input[type=search]:focus:not(.browser-default)~.material-icons{color:#444}.input-field input[type=search]+.label-icon{left:1rem;transform:none}.input-field input[type=search]~.mdi-navigation-close{color:transparent;cursor:pointer;font-size:2rem;transition:color .3s;position:absolute;top:0;right:1rem}.input-field input[type=search]~.material-icons{color:transparent;cursor:pointer;font-size:2rem;transition:color .3s;position:absolute;top:0;right:1rem}textarea{background-color:transparent;width:100%;height:3rem}textarea.materialize-textarea{resize:none;box-sizing:border-box;min-height:3rem;padding:.8rem 0;line-height:normal;overflow-y:hidden}.hiddendiv{visibility:hidden;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;z-index:-1;padding-top:1.2rem;position:absolute;top:0}.autocomplete-content li .highlight{color:#444}.autocomplete-content li img{width:40px;height:40px;margin:5px 15px}.character-counter{min-height:18px}[type=radio]:not(:checked){opacity:0;pointer-events:none;position:absolute}[type=radio]:checked{opacity:0;pointer-events:none;position:absolute}[type=radio]:not(:checked)+span{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:25px;padding-left:35px;font-size:1rem;line-height:25px;transition:all .28s;display:inline-block;position:relative}[type=radio]:checked+span{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:25px;padding-left:35px;font-size:1rem;line-height:25px;transition:all .28s;display:inline-block;position:relative}[type=radio]+span:before{content:"";z-index:0;width:16px;height:16px;margin:4px;transition:all .28s;position:absolute;top:0;left:0}[type=radio]+span:after{content:"";z-index:0;width:16px;height:16px;margin:4px;transition:all .28s;position:absolute;top:0;left:0}[type=radio]:not(:checked)+span:before{border-radius:50%}[type=radio]:not(:checked)+span:after{border-radius:50%}[type=radio]:checked+span:before{border-radius:50%}[type=radio]:checked+span:after{border-radius:50%}[type=radio].with-gap:checked+span:before{border-radius:50%}[type=radio].with-gap:checked+span:after{border-radius:50%}[type=radio]:not(:checked)+span:before{border:2px solid #5a5a5a}[type=radio]:not(:checked)+span:after{border:2px solid #5a5a5a}[type=radio]:not(:checked)+span:after{transform:scale(0)}[type=radio]:checked+span:before{border:2px solid transparent}[type=radio]:checked+span:after{border:2px solid #26a69a}[type=radio].with-gap:checked+span:before{border:2px solid #26a69a}[type=radio].with-gap:checked+span:after{border:2px solid #26a69a}[type=radio]:checked+span:after{background-color:#26a69a}[type=radio].with-gap:checked+span:after{background-color:#26a69a}[type=radio]:checked+span:after{transform:scale(1.02)}[type=radio].with-gap:checked+span:after{transform:scale(.5)}[type=radio].tabbed:focus+span:before{box-shadow:0 0 0 10px rgba(0,0,0,.1)}[type=radio].with-gap:disabled:checked+span:before{border:2px solid rgba(0,0,0,.42)}[type=radio].with-gap:disabled:checked+span:after{background-color:rgba(0,0,0,.42);border:none}[type=radio]:disabled:not(:checked)+span:before{background-color:transparent;border-color:rgba(0,0,0,.42)}[type=radio]:disabled:checked+span:before{background-color:transparent;border-color:rgba(0,0,0,.42)}[type=radio]:disabled+span{color:rgba(0,0,0,.42)}[type=radio]:disabled:not(:checked)+span:before{border-color:rgba(0,0,0,.42)}[type=radio]:disabled:checked+span:after{background-color:rgba(0,0,0,.42);border-color:#949494}[type=checkbox]:not(:checked){opacity:0;pointer-events:none;position:absolute}[type=checkbox]:checked{opacity:0;pointer-events:none;position:absolute}[type=checkbox]+span:not(.lever){cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:25px;padding-left:35px;font-size:1rem;line-height:25px;display:inline-block;position:relative}[type=checkbox]+span:not(.lever):before{content:"";z-index:0;border:2px solid #5a5a5a;border-radius:1px;width:18px;height:18px;margin-top:3px;transition:all .2s;position:absolute;top:0;left:0}[type=checkbox]:not(.filled-in)+span:not(.lever):after{content:"";z-index:0;border:2px solid #5a5a5a;border-radius:1px;width:18px;height:18px;margin-top:3px;transition:all .2s;position:absolute;top:0;left:0}[type=checkbox]:not(.filled-in)+span:not(.lever):after{border:0;transform:scale(0)}[type=checkbox]:not(:checked):disabled+span:not(.lever):before{background-color:rgba(0,0,0,.42);border:none}[type=checkbox].tabbed:focus+span:not(.lever):after{background-color:rgba(0,0,0,.1);border:0;border-radius:50%;transform:scale(1);box-shadow:0 0 0 10px rgba(0,0,0,.1)}[type=checkbox]:checked+span:not(.lever):before{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-origin:100% 100%;border:2px solid #26a69a;border-color:transparent #26a69a #26a69a transparent;width:12px;height:22px;top:-4px;left:-5px;transform:rotate(40deg)}[type=checkbox]:checked:disabled+span:before{border-bottom:2px solid rgba(0,0,0,.42);border-right:2px solid rgba(0,0,0,.42)}[type=checkbox]:indeterminate+span:not(.lever):before{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-origin:100% 100%;border:none;border-right:2px solid #26a69a;width:10px;height:22px;top:-11px;left:-12px;transform:rotate(90deg)}[type=checkbox]:indeterminate:disabled+span:not(.lever):before{background-color:transparent;border-right:2px solid rgba(0,0,0,.42)}[type=checkbox].filled-in+span:not(.lever):after{border-radius:2px}[type=checkbox].filled-in+span:not(.lever):before{content:"";z-index:1;transition:border .25s,background-color .25s,width .2s .1s,height .2s .1s,top .2s .1s,left .2s .1s;position:absolute;left:0}[type=checkbox].filled-in+span:not(.lever):after{content:"";z-index:1;transition:border .25s,background-color .25s,width .2s .1s,height .2s .1s,top .2s .1s,left .2s .1s;position:absolute;left:0}[type=checkbox].filled-in:not(:checked)+span:not(.lever):before{transform-origin:100% 100%;border:3px solid transparent;width:0;height:0;top:10px;left:6px;transform:rotate(37deg)}[type=checkbox].filled-in:not(:checked)+span:not(.lever):after{z-index:0;background-color:transparent;border:2px solid #5a5a5a;width:20px;height:20px;top:0}[type=checkbox].filled-in:checked+span:not(.lever):before{transform-origin:100% 100%;border:2px solid #fff;border-color:transparent #fff #fff transparent;width:8px;height:13px;top:0;left:1px;transform:rotate(37deg)}[type=checkbox].filled-in:checked+span:not(.lever):after{z-index:0;background-color:#26a69a;border:2px solid #26a69a;width:20px;height:20px;top:0}[type=checkbox].filled-in.tabbed:focus+span:not(.lever):after{background-color:rgba(0,0,0,.1);border-color:#5a5a5a;border-radius:2px}[type=checkbox].filled-in.tabbed:checked:focus+span:not(.lever):after{background-color:#26a69a;border-color:#26a69a;border-radius:2px}[type=checkbox].filled-in:disabled:not(:checked)+span:not(.lever):before{background-color:transparent;border:2px solid transparent}[type=checkbox].filled-in:disabled:not(:checked)+span:not(.lever):after{background-color:#949494;border-color:transparent}[type=checkbox].filled-in:disabled:checked+span:not(.lever):before{background-color:transparent}[type=checkbox].filled-in:disabled:checked+span:not(.lever):after{background-color:#949494;border-color:#949494}.switch,.switch *{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch label{cursor:pointer}.switch label input[type=checkbox]{opacity:0;width:0;height:0}.switch label input[type=checkbox]:checked+.lever{background-color:#84c7c1}.switch label input[type=checkbox]:checked+.lever:before{left:18px}.switch label input[type=checkbox]:checked+.lever:after{left:18px}.switch label input[type=checkbox]:checked+.lever:after{background-color:#26a69a}.switch label .lever{content:"";vertical-align:middle;background-color:rgba(0,0,0,.38);border-radius:15px;width:36px;height:14px;margin:0 16px;transition:background .3s;display:inline-block;position:relative}.switch label .lever:before,.switch label .lever:after{content:"";border-radius:50%;width:20px;height:20px;transition:left .3s,background .3s,box-shadow .1s,transform .1s,-webkit-box-shadow .1s,-webkit-transform .1s;display:inline-block;position:absolute;top:-3px;left:0}.switch label .lever:before{background-color:rgba(38,166,154,.15)}.switch label .lever:after{background-color:#f1f1f1;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 1px 5px rgba(0,0,0,.12)}input[type=checkbox]:checked:not(:disabled)~.lever:active:before{background-color:rgba(38,166,154,.15);transform:scale(2.4)}input[type=checkbox]:checked:not(:disabled).tabbed:focus~.lever:before{background-color:rgba(38,166,154,.15);transform:scale(2.4)}input[type=checkbox]:not(:disabled)~.lever:active:before{background-color:rgba(0,0,0,.08);transform:scale(2.4)}input[type=checkbox]:not(:disabled).tabbed:focus~.lever:before{background-color:rgba(0,0,0,.08);transform:scale(2.4)}.switch input[type=checkbox][disabled]+.lever{cursor:default;background-color:rgba(0,0,0,.12)}.switch label input[type=checkbox][disabled]+.lever:after{background-color:#949494}.switch label input[type=checkbox][disabled]:checked+.lever:after{background-color:#949494}select{display:none}select.browser-default{display:block}select{background-color:rgba(255,255,255,.9);border:1px solid #f2f2f2;border-radius:2px;width:100%;height:3rem;padding:5px}.select-label{position:absolute}.select-wrapper{position:relative}.select-wrapper.valid+label,.select-wrapper.invalid+label{pointer-events:none;width:100%}.select-wrapper input.select-dropdown{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;outline:none;width:100%;height:3rem;margin:0 0 8px;padding:0;font-size:16px;line-height:3rem;display:block;position:relative}.select-wrapper input.select-dropdown:focus{border-bottom:1px solid #26a69a}.select-wrapper .caret{z-index:0;fill:rgba(0,0,0,.87);margin:auto 0;position:absolute;top:0;bottom:0;right:0}.select-wrapper+label{font-size:.8rem;position:absolute;top:-26px}select:disabled,.select-wrapper.disabled+label{color:rgba(0,0,0,.42)}.select-wrapper.disabled .caret{fill:rgba(0,0,0,.42)}.select-wrapper input.select-dropdown:disabled{color:rgba(0,0,0,.42);cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select-wrapper i{color:rgba(0,0,0,.3)}.select-dropdown li.disabled,.select-dropdown li.disabled>span,.select-dropdown li.optgroup{color:rgba(0,0,0,.3);background-color:transparent}body.keyboard-focused .select-dropdown.dropdown-content li:focus,.select-dropdown.dropdown-content li:hover{background-color:rgba(0,0,0,.08)}.select-dropdown.dropdown-content li.selected{background-color:rgba(0,0,0,.03)}.prefix~.select-wrapper{width:92%;width:calc(100% - 3rem);margin-left:3rem}.prefix~label{margin-left:3rem}.select-dropdown li img{float:right;width:40px;height:40px;margin:5px 15px}.select-dropdown li.optgroup{border-top:1px solid #eee}.select-dropdown li.optgroup.selected>span{color:rgba(0,0,0,.7)}.select-dropdown li.optgroup>span{color:rgba(0,0,0,.4)}.select-dropdown li.optgroup~li.optgroup-option{padding-left:1rem}.file-field{position:relative}.file-field .file-path-wrapper{padding-left:10px;overflow:hidden}.file-field input.file-path{width:100%}.file-field .btn,.file-field .btn-large,.file-field .btn-small{float:left;height:3rem;line-height:3rem}.file-field span{cursor:pointer}.file-field input[type=file]{cursor:pointer;opacity:0;width:100%;-webkit-filter:alpha(opacity=0);filter:alpha(opacity=0);margin:0;padding:0;font-size:20px;position:absolute;top:0;bottom:0;left:0;right:0}.file-field input[type=file]::-webkit-file-upload-button{display:none}.range-field{position:relative}input[type=range]{cursor:pointer}input[type=range]+.thumb{cursor:pointer}input[type=range]{background-color:transparent;border:none;outline:none;width:100%;margin:15px 0;padding:0;position:relative}input[type=range]:focus{outline:none}input[type=range]+.thumb{transform-origin:50%;background-color:#26a69a;border:none;border-radius:50%;width:0;height:0;margin-left:7px;position:absolute;top:10px;left:0;transform:rotate(-45deg)}input[type=range]+.thumb .value{text-align:center;color:#26a69a;width:30px;font-size:0;display:block;transform:rotate(45deg)}input[type=range]+.thumb.active{border-radius:50% 50% 50% 0}input[type=range]+.thumb.active .value{color:#fff;margin-top:8px;margin-left:-1px;font-size:10px}input[type=range]{-webkit-appearance:none}input[type=range]::-webkit-slider-runnable-track{background:#c2c0c2;border:none;height:3px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;transform-origin:50%;background:#26a69a;border:none;border-radius:50%;width:14px;height:14px;margin:-5px 0 0;transition:box-shadow .3s,-webkit-box-shadow .3s}.keyboard-focused input[type=range]:focus:not(.active)::-webkit-slider-thumb{box-shadow:0 0 0 10px rgba(38,166,154,.26)}input[type=range]{border:1px solid #fff}input[type=range]::-moz-range-track{background:#c2c0c2;border:none;height:3px}input[type=range]::-moz-focus-inner{border:0}input[type=range]::-moz-range-thumb{background:#26a69a;border:none;border-radius:50%;width:14px;height:14px;margin-top:-5px;transition:box-shadow .3s,-webkit-box-shadow .3s}input[type=range]:-moz-focusring{outline-offset:-1px;outline:1px solid #fff}.keyboard-focused input[type=range]:focus:not(.active)::-moz-range-thumb{box-shadow:0 0 0 10px rgba(38,166,154,.26)}input[type=range]::-ms-track{color:transparent;background:0 0;border-width:6px 0;border-color:transparent;height:3px}input[type=range]::-ms-fill-lower{background:#777}input[type=range]::-ms-fill-upper{background:#ddd}input[type=range]::-ms-thumb{background:#26a69a;border:none;border-radius:50%;width:14px;height:14px;transition:box-shadow .3s,-webkit-box-shadow .3s}.keyboard-focused input[type=range]:focus:not(.active)::-ms-thumb{box-shadow:0 0 0 10px rgba(38,166,154,.26)}.table-of-contents.fixed{position:fixed}.table-of-contents li{padding:2px 0}.table-of-contents a{color:#757575;letter-spacing:.4px;height:1.5rem;padding-left:16px;font-weight:300;line-height:1.5rem;display:inline-block}.table-of-contents a:hover{color:#a8a8a8;border-left:1px solid #ee6e73;padding-left:15px}.table-of-contents a.active{border-left:2px solid #ee6e73;padding-left:14px;font-weight:500}.sidenav{width:300px;height:100%;height:calc(100% + 60px);height:-moz-calc(100%);z-index:999;will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:#fff;margin:0;padding-bottom:60px;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-105%)}.sidenav.right-aligned{left:auto;right:0;transform:translate(100%)}.sidenav .collapsible{margin:0}.sidenav li{float:none;line-height:48px}.sidenav li.active{background-color:rgba(0,0,0,.05)}.sidenav li>a{color:rgba(0,0,0,.87);height:48px;padding:0 32px;font-size:14px;font-weight:500;line-height:48px;display:block}.sidenav li>a:hover{background-color:rgba(0,0,0,.05)}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-flat,.sidenav li>a.btn-floating{margin:10px 15px}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-floating{color:#fff}.sidenav li>a.btn-flat{color:#343434}.sidenav li>a.btn:hover,.sidenav li>a.btn-large:hover,.sidenav li>a.btn-small:hover,.sidenav li>a.btn-large:hover{background-color:#2bbbad}.sidenav li>a.btn-floating:hover{background-color:#26a69a}.sidenav li>a>i,.sidenav li>a>[class^=mdi-],.sidenav li>a li>a>[class*=mdi-],.sidenav li>a>i.material-icons{float:left;color:rgba(0,0,0,.54);width:24px;height:48px;margin:0 32px 0 0;line-height:48px}.sidenav .divider{margin:8px 0 0}.sidenav .subheader{cursor:initial;pointer-events:none;color:rgba(0,0,0,.54);font-size:14px;font-weight:500;line-height:48px}.sidenav .subheader:hover{background-color:transparent}.sidenav .user-view{margin-bottom:8px;padding:32px 32px 0;position:relative}.sidenav .user-view>a{height:auto;padding:0}.sidenav .user-view>a:hover{background-color:transparent}.sidenav .user-view .background{z-index:-1;position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.sidenav .user-view .circle,.sidenav .user-view .name,.sidenav .user-view .email{display:block}.sidenav .user-view .circle{width:64px;height:64px}.sidenav .user-view .name,.sidenav .user-view .email{font-size:14px;line-height:24px}.sidenav .user-view .name{margin-top:16px;font-weight:500}.sidenav .user-view .email{padding-bottom:16px;font-weight:400}.drag-target{z-index:998;width:10px;height:100%;position:fixed;top:0}.drag-target.right-aligned{right:0}.sidenav.sidenav-fixed{position:fixed;left:0;transform:translate(0)}.sidenav.sidenav-fixed.right-aligned{left:auto;right:0}@media only screen and (max-width:992px){.sidenav.sidenav-fixed{transform:translate(-105%)}.sidenav.sidenav-fixed.right-aligned{transform:translate(105%)}.sidenav>a{padding:0 16px}.sidenav .user-view{padding:16px 16px 0}}.sidenav .collapsible-body>ul:not(.collapsible)>li.active,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active{background-color:#ee6e73}.sidenav .collapsible-body>ul:not(.collapsible)>li.active a,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active a{color:#fff}.sidenav .collapsible-body{padding:0}.sidenav-overlay{opacity:0;z-index:997;background-color:rgba(0,0,0,.5);height:120vh;display:none;position:fixed;top:0;left:0;right:0}.preloader-wrapper{width:50px;height:50px;display:inline-block;position:relative}.preloader-wrapper.small{width:36px;height:36px}.preloader-wrapper.big{width:64px;height:64px}.preloader-wrapper.active{animation:1.568s linear infinite container-rotate}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(360deg)}}@keyframes container-rotate{to{transform:rotate(360deg)}}.spinner-layer{opacity:0;border-color:#26a69a;width:100%;height:100%;position:absolute}.spinner-blue,.spinner-blue-only{border-color:#4285f4}.spinner-red,.spinner-red-only{border-color:#db4437}.spinner-yellow,.spinner-yellow-only{border-color:#f4b400}.spinner-green,.spinner-green-only{border-color:#0f9d58}.active .spinner-layer.spinner-blue{animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate,5.332s cubic-bezier(.4,0,.2,1) infinite both blue-fade-in-out}.active .spinner-layer.spinner-red{animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate,5.332s cubic-bezier(.4,0,.2,1) infinite both red-fade-in-out}.active .spinner-layer.spinner-yellow{animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate,5.332s cubic-bezier(.4,0,.2,1) infinite both yellow-fade-in-out}.active .spinner-layer.spinner-green{animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate,5.332s cubic-bezier(.4,0,.2,1) infinite both green-fade-in-out}.active .spinner-layer,.active .spinner-layer.spinner-blue-only,.active .spinner-layer.spinner-red-only,.active .spinner-layer.spinner-yellow-only,.active .spinner-layer.spinner-green-only{opacity:1;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both fill-unfill-rotate}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg)}}@keyframes fill-unfill-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(1080deg)}}@keyframes blue-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes red-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes yellow-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes green-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}.gap-patch{border-color:inherit;width:10%;height:100%;position:absolute;top:0;left:45%;overflow:hidden}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{border-color:inherit;width:50%;height:100%;display:inline-block;position:relative;overflow:hidden}.circle-clipper .circle{border-style:solid;border-width:3px;border-color:inherit;border-radius:50%;width:200%;height:100%;animation:none;position:absolute;top:0;bottom:0;right:0;border-bottom-color:transparent!important}.circle-clipper.left .circle{left:0;transform:rotate(129deg);border-right-color:transparent!important}.circle-clipper.right .circle{left:-100%;transform:rotate(-129deg);border-left-color:transparent!important}.active .circle-clipper.left .circle{animation:1.333s cubic-bezier(.4,0,.2,1) infinite both left-spin}.active .circle-clipper.right .circle{animation:1.333s cubic-bezier(.4,0,.2,1) infinite both right-spin}@-webkit-keyframes left-spin{0%{-webkit-transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg)}}@keyframes left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@-webkit-keyframes right-spin{0%{-webkit-transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg)}}@keyframes right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}#spinnerContainer.cooldown{animation:1.568s linear infinite container-rotate,.4s cubic-bezier(.4,0,.2,1) fade-out}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.slider{width:100%;height:400px;position:relative}.slider.fullscreen{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.slider.fullscreen ul.slides{height:100%}.slider.fullscreen ul.indicators{z-index:2;bottom:30px}.slider .slides{background-color:#9e9e9e;height:400px;margin:0}.slider .slides li{opacity:0;z-index:1;width:100%;height:inherit;position:absolute;top:0;left:0;overflow:hidden}.slider .slides li img{background-position:50%;background-size:cover;width:100%;height:100%}.slider .slides li .caption{color:#fff;opacity:0;width:70%;position:absolute;top:15%;left:15%}.slider .slides li .caption p{color:#e0e0e0}.slider .slides li.active{z-index:2}.slider .indicators{text-align:center;margin:0;position:absolute;bottom:0;left:0;right:0}.slider .indicators .indicator-item{cursor:pointer;background-color:#e0e0e0;border-radius:50%;width:16px;height:16px;margin:0 12px;transition:background-color .3s;display:inline-block;position:relative}.slider .indicators .indicator-item.active{background-color:#4caf50}.carousel{perspective:500px;width:100%;height:400px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;transform-origin:0%;position:relative;overflow:hidden}.carousel.carousel-slider{top:0;left:0}.carousel.carousel-slider .carousel-fixed-item{z-index:1;position:absolute;bottom:20px;left:0;right:0}.carousel.carousel-slider .carousel-fixed-item.with-indicators{bottom:68px}.carousel.carousel-slider .carousel-item{width:100%;height:100%;min-height:400px;position:absolute;top:0;left:0}.carousel.carousel-slider .carousel-item h2{font-size:24px;font-weight:500;line-height:32px}.carousel.carousel-slider .carousel-item p{font-size:15px}.carousel .carousel-item{visibility:hidden;width:200px;height:200px;position:absolute;top:0;left:0}.carousel .carousel-item>img{width:100%}.carousel .indicators{text-align:center;margin:0;position:absolute;bottom:0;left:0;right:0}.carousel .indicators .indicator-item{cursor:pointer;background-color:rgba(255,255,255,.5);border-radius:50%;width:8px;height:8px;margin:24px 4px;transition:background-color .3s;display:inline-block;position:relative}.carousel .indicators .indicator-item.active{background-color:#fff}.carousel.scrolling .carousel-item .materialboxed,.carousel .carousel-item:not(.active) .materialboxed{pointer-events:none}.tap-target-wrapper{z-index:1000;visibility:hidden;width:800px;height:800px;transition:visibility 0s .3s;position:fixed}.tap-target-wrapper.open{visibility:visible;transition:visibility}.tap-target-wrapper.open .tap-target{opacity:.95;transition:transform .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;transform:scale(1)}.tap-target-wrapper.open .tap-target-wave:before{transform:scale(1)}.tap-target-wrapper.open .tap-target-wave:after{visibility:visible;transition:opacity .3s,transform .3s,visibility 0s 1s,-webkit-transform .3s;animation:1s cubic-bezier(.24,0,.38,1) infinite pulse-animation}.tap-target{opacity:0;background-color:#ee6e73;border-radius:50%;width:100%;height:100%;font-size:1rem;transition:transform .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;position:absolute;transform:scale(0);box-shadow:0 20px 20px rgba(0,0,0,.14),0 10px 50px rgba(0,0,0,.12),0 30px 10px -20px rgba(0,0,0,.2)}.tap-target-content{display:table-cell;position:relative}.tap-target-wave{z-index:10001;border-radius:50%;position:absolute}.tap-target-wave:before,.tap-target-wave:after{content:"";background-color:#fff;border-radius:50%;width:100%;height:100%;display:block;position:absolute}.tap-target-wave:before{transition:transform .3s,-webkit-transform .3s;transform:scale(0)}.tap-target-wave:after{visibility:hidden;z-index:-1;transition:opacity .3s,transform .3s,visibility,-webkit-transform .3s}.tap-target-origin{z-index:10002;top:50%;left:50%;transform:translate(-50%,-50%);position:absolute!important}.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small),.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small):hover{background:0 0}@media only screen and (max-width:600px){.tap-target,.tap-target-wrapper{width:600px;height:600px}}.pulse{position:relative;overflow:visible}.pulse:before{content:"";background-color:inherit;border-radius:inherit;z-index:-1;width:100%;height:100%;transition:opacity .3s,transform .3s,-webkit-transform .3s;animation:1s cubic-bezier(.24,0,.38,1) infinite pulse-animation;display:block;position:absolute;top:0;left:0}@keyframes pulse-animation{0%{opacity:1;transform:scale(1)}50%{opacity:0;transform:scale(1.5)}to{opacity:0;transform:scale(1.5)}}.datepicker-modal{min-width:300px;max-width:325px;max-height:none}.datepicker-container.modal-content{flex-direction:column;padding:0;display:flex}.datepicker-controls{justify-content:space-between;width:280px;margin:0 auto;display:flex}.datepicker-controls .selects-container{display:flex}.datepicker-controls .select-wrapper input{text-align:center;border-bottom:none;margin:0}.datepicker-controls .select-wrapper input:focus{border-bottom:none}.datepicker-controls .select-wrapper .caret{display:none}.datepicker-controls .select-year input{width:50px}.datepicker-controls .select-month input{width:70px}.month-prev,.month-next{cursor:pointer;background-color:transparent;border:none;margin-top:4px}.datepicker-date-display{color:#fff;background-color:#26a69a;flex:auto;padding:20px 22px;font-weight:500}.datepicker-date-display .year-text{color:rgba(255,255,255,.7);font-size:1.5rem;line-height:25px;display:block}.datepicker-date-display .date-text{font-size:2.8rem;font-weight:500;line-height:47px;display:block}.datepicker-calendar-container{flex:2.5 auto}.datepicker-table{width:280px;margin:0 auto;font-size:1rem}.datepicker-table thead{border-bottom:none}.datepicker-table th{text-align:center;padding:10px 5px}.datepicker-table tr{border:none}.datepicker-table abbr{color:#999;text-decoration:none}.datepicker-table td{border-radius:50%;padding:0}.datepicker-table td.is-today{color:#26a69a}.datepicker-table td.is-selected{color:#fff;background-color:#26a69a}.datepicker-table td.is-outside-current-month,.datepicker-table td.is-disabled{color:rgba(0,0,0,.3);pointer-events:none}.datepicker-day-button{cursor:pointer;width:100%;color:inherit;background-color:transparent;border:none;border-radius:50%;padding:0 5px;line-height:38px;display:block}.datepicker-day-button:focus{background-color:rgba(43,161,150,.25)}.datepicker-footer{justify-content:space-between;width:280px;margin:0 auto;padding-bottom:5px;display:flex}.datepicker-cancel,.datepicker-clear,.datepicker-today,.datepicker-done{color:#26a69a;padding:0 1rem}.datepicker-clear{color:#f44336}@media only screen and (min-width:601px){.datepicker-modal{max-width:625px}.datepicker-container.modal-content{flex-direction:row}.datepicker-date-display{flex:0 270px}.datepicker-controls,.datepicker-table,.datepicker-footer{width:320px}.datepicker-day-button{line-height:44px}}.timepicker-modal{max-width:325px;max-height:none}.timepicker-container.modal-content{flex-direction:column;padding:0;display:flex}.text-primary{color:#fff}.timepicker-digital-display{background-color:#26a69a;flex:auto;padding:10px;font-weight:300}.timepicker-text-container{text-align:center;color:rgba(255,255,255,.6);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:4rem;font-weight:400;position:relative}.timepicker-span-hours,.timepicker-span-minutes,.timepicker-span-am-pm div{cursor:pointer}.timepicker-span-hours{margin-right:3px}.timepicker-span-minutes{margin-left:3px}.timepicker-display-am-pm{font-size:1.3rem;font-weight:400;position:absolute;bottom:1rem;right:1rem}.timepicker-analog-display{flex:2.5 auto}.timepicker-plate{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#eee;border-radius:50%;width:270px;height:270px;margin:25px auto 5px;position:relative;overflow:visible}.timepicker-canvas,.timepicker-dial{position:absolute;top:0;bottom:0;left:0;right:0}.timepicker-minutes{visibility:hidden}.timepicker-tick{color:rgba(0,0,0,.87);text-align:center;cursor:pointer;border-radius:50%;width:40px;height:40px;font-size:15px;line-height:40px;position:absolute}.timepicker-tick.active,.timepicker-tick:hover{background-color:rgba(38,166,154,.25)}.timepicker-dial{transition:transform .35s,opacity .35s,-webkit-transform .35s}.timepicker-dial-out{opacity:0}.timepicker-dial-out.timepicker-hours{transform:scale(1.1)}.timepicker-dial-out.timepicker-minutes{transform:scale(.8)}.timepicker-canvas{transition:opacity .175s}.timepicker-canvas line{stroke:#26a69a;stroke-width:4px;stroke-linecap:round}.timepicker-canvas-out{opacity:.25}.timepicker-canvas-bearing,.timepicker-canvas-bg{stroke:none;fill:#26a69a}.timepicker-footer{justify-content:space-between;margin:0 auto;padding:5px 1rem;display:flex}.timepicker-clear{color:#f44336}.timepicker-close{color:#26a69a}.timepicker-clear,.timepicker-close{padding:0 20px}@media only screen and (min-width:601px){.timepicker-modal{max-width:600px}.timepicker-container.modal-content{flex-direction:row}.timepicker-text-container{top:32%}.timepicker-display-am-pm{text-align:center;margin-top:1.2rem;position:relative;bottom:auto;right:auto}.container{width:95%}}.container{max-width:unset}body{font-size:18px;overflow-x:hidden}.btn,.btn-floating{background-color:#1565c0}.page-footer,.nav-wrapper,.statusbar,.nav-content{background-color:#fff}nav .title{font-size:2rem;position:fixed;top:0;left:200px}.input-field,.switch>label,.input-field>label,.input-field>.material-icons,.dropdown-content>li>a,.tooltip>.material-icons,label>span,.secondary-content>.material-icons{color:#1a237e}.tabs.tabs-transparent .tab a,nav ul a{color:#1a237e;padding:0}.primary-text{color:#1a237e}a{color:#2b36aa}.markdown ul{padding-left:20px}.markdown ul>li{padding-left:20px;list-style-type:disc}.leaflet-top,.leaflet-bottom{z-index:950}.block-with-text{text-align:justify;max-height:3.6em;margin-right:-1em;padding-right:1em;line-height:1.2em;position:relative;overflow:hidden}.block-with-text:before{content:"...";position:absolute;bottom:0;right:0}.block-with-text:after{content:"";background:#fff;width:1em;height:1em;margin-top:.2em;position:absolute;right:0}.sidenav{top:66px}.buttons a{margin:5px}@media print{html,body{font-size:14px}body{color:#000;background-color:#fff;margin:0}a[href^=http]:after{content:" (" attr(href)")"}.leaflet-container,img,pre,blockquote{page-break-inside:avoid;page-break-before:auto;page-break-after:auto;page-break-inside:avoid}main:after{content:"Copyright DRIVER+";text-align:center;display:block}.do-not-print,header,footer,aside,nav,form,iframe,.menu,.hero,.adslot{display:none}}.margin-top7{margin-top:7px}.inline{margin:0 1rem;display:inline-block}ul.list-inline li{display:inline}ul.menu-buttons>li{margin:5px 0}ul.menu-buttons>li>a{width:100%}ul.questionnaire-nav{text-align:center;width:100%}ul.questionnaire-nav>li{margin:0 10px}ul.questionnaire-nav>li>a{width:25%}.markdown p{color:#000;font-weight:400}.markdown.squeeze p,.repeat-list .pagination{margin:0}.repeat-list .assessment-plugin{margin:0 10px}.incident-view{width:100vw;margin-bottom:0;position:absolute;top:65px;left:-10px}.card-panel{cursor:pointer;margin:.5rem 0;padding:0 20px}.card-panel.xl{height:41.5vh}.card-panel.large{height:200px}.card-panel.medium{height:125px}.card-panel.small{height:75px}.widget{position:relative}.widget ul{margin:0}.widget-link{display:none}.widget:hover .widget-link{display:block}.bold{font-weight:700}.subject{vertical-align:middle;width:42px;display:inline-block;position:absolute;left:15px;overflow:hidden}ul.collection.objects,ul.collection.subjects{max-height:160px;overflow-y:auto}ul.updates{max-height:70px;overflow-y:auto}ul.measures{max-height:170px;overflow-y:auto}li.collection-item:first-child{background-color:#fff;position:fixed}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}.radio{margin-top:2rem}.material-placeholder{z-index:1999}.materialbox-overlay{z-index:2000}.incident-view .leaflet-container{height:200px!important}#map-page .leaflet-container{width:100vw;margin-bottom:-65px;margin-left:-130px;height:91vh!important}.material-icons.hoverable{text-align:center;cursor:pointer}.material-icons.hoverable:hover{background-color:rgba(0,0,0,.1)}.card-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.comment{background-color:#d3d3d3;border-radius:10px;margin:10px 0;padding:10px}.comment-text p{margin:0}.tooltip{display:inline-block;position:relative}.tooltip .tooltiptext{visibility:hidden;color:#fff;text-align:center;z-index:1;background-color:#000;border-radius:6px;width:320px;padding:5px;font-size:1rem;line-height:2rem;position:absolute}.tooltip:hover .tooltiptext{visibility:visible}.tooltip .tooltiptext{width:150px;margin-left:-75px;top:100%;left:50%}.user-page{margin-top:10px}.multiple-choice-question label span{color:#000}:root{--gutter:10px}.hs-container{grid-gap:var(--gutter)0;grid-template-columns:var(--gutter)1fr var(--gutter);align-content:start;width:100%;height:100%}.hs-container>*{grid-column:2/-2}.hs-container>.full{grid-column:1/-1}.hs-header{margin-bottom:-25px;padding-top:10px}.hs>li,.item{scroll-snap-align:center;padding:calc(var(--gutter)/2*1.5);flex-direction:column;justify-content:center;align-items:center;display:flex}.hs{grid-gap:calc(var(--gutter)/2);grid-template-rows:minmax(150px,1fr);grid-template-columns:0;grid-auto-flow:column;grid-auto-columns:calc(24% - var(--gutter)*2);scroll-snap-type:x proximity;padding-bottom:calc(.1*var(--gutter));margin-bottom:calc(-.25*var(--gutter));display:grid;overflow-x:scroll;overflow-y:hidden}.hs:before,.hs:after{content:"";width:10px}.hs-item{width:100%}.section-wrapper{color:#777;border-top:1px solid rgba(0,0,0,.14);margin-top:20px;transition:margin .25s}img.thumbnail{width:auto;height:100%;max-height:20vh;margin:0 auto}.sidenav{width:250px}ul.person-details>li>i.material-icons{vertical-align:middle;margin:3px 10px 3px 0}ul.projects>li{margin:4px 0}ul.projects>li>span.project-id{margin-right:5px}.collapsible>li:first-child .collapsible-header span.badge{margin-left:10px}.input-field.options>label{top:-2.5rem}.input-field.options{margin-top:3rem}.condensed .input-field{margin:0 auto}.assessment-plugin.section{padding:0}.inline-icon{vertical-align:bottom}.margins{margin:10px}.overview .capability{white-space:nowrap;width:100%;margin-right:2rem;display:flex}.overview .capability .name{text-overflow:ellipsis;white-space:nowrap;flex-grow:1;overflow:hidden}.overview .square{background-color:#555;border:2px solid #000;flex:0 0 20px;width:20px;height:20px;margin-top:5px;margin-right:8px}.page .row{margin-bottom:0}.page{min-height:95vh;padding-bottom:20px}label,.pagination li,.material-icons,.unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-khtml-user-select:none}.chips{margin-top:0}a.waves-effect.waves-teal.btn-flat.selected{color:#fff;background:#1a237e}.input-field>label:not(.label-icon).active{transform-origin:0 0;transform:translateY(-8px)scale(.8)}.input-field>input[type=color]{margin-top:20px}.button-group{flex-flow:row;display:flex}.language-option{margin-right:10px;display:inline-block}.language-option img{cursor:pointer;width:30px;height:20px}.language-option span{color:#fff;white-space:nowrap;z-index:100;background-color:#000;border-radius:5px;margin-top:5px;margin-left:5px;padding:5px;font-size:14px;display:none;position:absolute}.language-option:hover span{display:block}.clickable{cursor:pointer}.disabled-image{-webkit-filter:grayscale();filter:grayscale();opacity:.5;pointer-events:none}.kanban{flex-flow:wrap;margin:0;padding:0;list-style:none;display:flex}.kanban-row{flex-flow:column;width:210px;height:100%;margin-top:10px;padding:0;list-style:none;display:flex}.kanban-header{justify-content:space-between;align-items:center;width:100%;height:50px;display:flex}.kanban-item{color:#fff;text-align:center;width:200px;min-width:200px;height:60px;margin:0 0 .7rem;padding:0}.kanban-item .card-content{padding:15px 10px;font-size:.8rem}.kanban-item .card-content>.card-title{margin-bottom:0}.kanban-item .card-desc{text-align:left;white-space:normal;word-wrap:break-word;text-overflow:ellipsis;padding:4px;font-size:.9rem;transition-delay:4s;display:none;overflow:hidden}.kanban-item:hover .card-desc{transition-delay:4s;display:block}.title{letter-spacing:.0125em;font-size:1.25rem;font-weight:500}.w70{width:70%}.w30{width:30%}.mw30{min-width:30%}.ml10{margin-left:10px}.mt5{margin-top:5px}.mt10{margin-top:10px}.mt25{margin-top:25px}.mb0{margin-bottom:0}.no-gutter{margin:0}.top-right{position:absolute;top:0;right:0}.top-right-next{position:absolute;top:4px;right:35px}ul.kanban>li{margin-bottom:10px}.inconsistencies-settings{height:90vh}.show-scenario,.create-scenario{height:calc(100vh - 84px);padding-top:1rem}.create-scenario .row{margin-bottom:0}#editor{min-height:150px}.scenario-table .input-field{margin-bottom:0}.scenario-table .material-icons{margin-top:1.6rem;margin-left:5px}.scenario-table .icons{flex-wrap:nowrap;justify-content:right;align-items:flex-start;display:flex}.narratives{border:solid #dbe2e0;border-radius:10px;margin:10px;padding:10px}.popupContainer{background-color:#fcffa5;width:100%;font-size:2rem;position:fixed;bottom:0;left:0;box-shadow:0 -5px 5px rgba(0,0,0,.3)}.popupContainer>.popupContent{padding:20px}.markdown h1{margin:1.5rem 0 1rem;font-size:2.2em}.markdown h2{font-size:2em}.markdown h3{font-size:1.6em}.markdown h4{font-size:1.4em}.markdown h5{font-size:1.2em}#toc{justify-content:center;align-items:center;display:flex}.markdown h6{font-size:1em}.markdown aside{box-sizing:border-box;padding:0 20px}.markdown main{box-sizing:border-box;flex:1;padding:20px}.markdown header{text-align:center;background-color:#f2f2f2;border-radius:20px;padding:10px 40px}.markdown nav ul{padding:0;list-style-type:none}.markdown nav ul li{margin-bottom:10px}@media only screen and (min-width:993px){table.repoonsive-table td.missing{height:57px}table.responsive-table{border-collapse:collapse;border-spacing:0;width:100%;display:block;position:relative}table.responsive-table td:empty:before{content:" "}table.responsive-table th,table.responsive-table td{vertical-align:top;margin:0}table.responsive-table th{text-align:left}table.responsive-table thead{float:left;display:block}table.responsive-table thead tr{padding:0 10px 0 0;display:block}table.responsive-table thead tr th:before{content:" "}table.responsive-table tbody{white-space:nowrap;width:auto;display:block;position:relative;overflow-x:auto}table.responsive-table tbody tr{vertical-align:top;display:inline-block}table.responsive-table th{text-align:right;display:block}table.responsive-table td{text-align:left;min-height:1.25em;display:block}table.responsive-table tr{border-bottom:none}table.responsive-table td,table.responsive-table th{padding:15px 10px}table.responsive-table thead{border:0;border-right:1px solid rgba(0,0,0,.12)}}.table-container{text-align:center;width:100%;margin:0 auto}.table{text-align:left;display:inline-block}.missing{height:57px}.decision-support table.responsive-table>tbody>tr:last-child,.decision-support td:nth-child(2),.decision-support th:nth-child(2),.decision-support td:nth-child(3),.decision-support th:nth-child(3),.decision-support td:nth-child(4),.decision-support th:nth-child(4){background:#e8f4f7}#editor{font-size:18px}.ql-editor strong{font-weight:700}.ql-editor em{font-style:italic}.ql-editor u{text-decoration:underline}.show-scenario .ql-container.ql-snow{border:none}.show-scenario .ql-editor{padding:30px 0}.show-scenario #editor{font-size:24px}.show-scenario div.input-field.select-space.left.mb0.mw30 input{font-size:42px}.show-scenario .select-wrapper input.select-dropdown{border:none}.select-inline{font-size:inherit;margin:0 0;padding-left:6px;display:inline-block}.select-inline>label{display:none}.select-inline input.select-dropdown{height:2rem;margin:0;padding:0}.scenario-paragraph{margin-bottom:1rem;font-size:24px}.icon-buttons{align-items:center;gap:0;display:flex}.icon-button{margin:0;padding:0}.flex-row{align-items:center;gap:16px;display:flex}.flex-grow{flex-grow:1}.legend{z-index:1000;background-color:#add8e6;border-radius:6px;margin:10px;padding:6px;display:inline-block;position:fixed;bottom:0;right:0}.ql-container{box-sizing:border-box;height:100%;margin:0;font-family:Helvetica,Arial,sans-serif;font-size:13px;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui{cursor:pointer}.ql-clipboard{height:1px;position:absolute;top:50%;left:-100000px;overflow-y:hidden}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;-moz-tab-size:4;tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word;outline:none;height:100%;padding:12px 15px;line-height:1.42;overflow-y:auto}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{padding-left:1.5em;list-style-type:none;position:relative}.ql-editor li>.ql-ui:before{text-align:right;white-space:nowrap;width:1.2em;margin-left:-1.5em;margin-right:.3em;display:inline-block}.ql-editor li[data-list=checked]>.ql-ui,.ql-editor li[data-list=unchecked]>.ql-ui{color:#777}.ql-editor li[data-list=bullet]>.ql-ui:before{content:"•"}.ql-editor li[data-list=checked]>.ql-ui:before{content:"☑"}.ql-editor li[data-list=unchecked]>.ql-ui:before{content:"☐"}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal)". "}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8,lower-roman)". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal)". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl>.ql-ui:before{text-align:left;margin-left:.3em;margin-right:-1.5em}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{max-width:100%;display:block}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{text-align:inherit;direction:rtl}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);pointer-events:none;font-style:italic;position:absolute;left:15px;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{cursor:pointer;float:left;background:0 0;border:none;width:28px;height:24px;padding:3px 5px;display:inline-block}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{vertical-align:middle;display:inline-block}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2px}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1px}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-top:5px;margin-bottom:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-top:5px;margin-bottom:5px;padding:5px 10px}.ql-snow .ql-editor code{padding:2px 4px;font-size:85%}.ql-snow .ql-editor .ql-code-block-container{color:#f8f8f2;background-color:#23241f;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;float:left;vertical-align:middle;height:24px;font-size:14px;font-weight:500;display:inline-block;position:relative}.ql-snow .ql-picker-label{cursor:pointer;width:100%;height:100%;padding-left:8px;padding-right:2px;display:inline-block;position:relative}.ql-snow .ql-picker-label:before{line-height:22px;display:inline-block}.ql-snow .ql-picker-options{white-space:nowrap;background-color:#fff;min-width:100%;padding:4px 8px;display:none;position:absolute}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;padding-top:5px;padding-bottom:5px;display:block}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{z-index:1;margin-top:-1px;display:block;top:100%}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{width:24px;height:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{width:152px;padding:3px 5px}.ql-snow .ql-color-picker .ql-picker-item{float:left;border:1px solid transparent;width:16px;height:16px;margin:2px;padding:0}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{width:18px;margin-top:-9px;position:absolute;top:50%;right:0}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{top:5px;right:5px}.ql-toolbar.ql-snow{box-sizing:border-box;border:1px solid #ccc;padding:8px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{color:#444;white-space:nowrap;background-color:#fff;border:1px solid #ccc;padding:5px 12px;box-shadow:0 0 5px #ddd}.ql-snow .ql-tooltip:before{content:"Visit URL:";margin-right:8px;line-height:26px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;width:170px;height:26px;margin:0;padding:3px 5px;font-size:13px;display:none}.ql-snow .ql-tooltip a.ql-preview{text-overflow:ellipsis;vertical-align:top;max-width:200px;display:inline-block;overflow-x:hidden}.ql-snow .ql-tooltip a.ql-action:after{content:"Edit";border-right:1px solid #ccc;margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{content:"Save";border-right:0;padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}head{--webpack-gui-909:&_2855,Ā1366Ć_4784Č118} /*# sourceMappingURL=main.css.map*/ \ No newline at end of file diff --git a/docs/main.css.map b/docs/main.css.map index fd16de3..ce64e1e 100644 --- a/docs/main.css.map +++ b/docs/main.css.map @@ -1 +1 @@ -{"version":3,"file":"main.css","sources":["webpack://gui/./node_modules/.pnpm/material-icons@1.13.12/node_modules/material-icons/iconfont/filled.css","webpack://gui/./node_modules/.pnpm/materialize-css@1.0.0/node_modules/materialize-css/dist/css/materialize.min.css","webpack://gui/./src/css/style.css","webpack://gui/./node_modules/.pnpm/quill@2.0.2/node_modules/quill/dist/quill.snow.css"],"sourcesContent":["@font-face {\n font-family: \"Material Icons\";\n font-style: normal;\n font-weight: 400;\n font-display: block;\n src: url(\"./material-icons.woff2\") format(\"woff2\"), url(\"./material-icons.woff\") format(\"woff\");\n}\n.material-icons {\n font-family: \"Material Icons\";\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-feature-settings: \"liga\";\n}\n","/*!\r\n * Materialize v1.0.0 (http://materializecss.com)\r\n * Copyright 2014-2017 Materialize\r\n * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)\r\n */\r\n.materialize-red{background-color:#e51c23 !important}.materialize-red-text{color:#e51c23 !important}.materialize-red.lighten-5{background-color:#fdeaeb !important}.materialize-red-text.text-lighten-5{color:#fdeaeb !important}.materialize-red.lighten-4{background-color:#f8c1c3 !important}.materialize-red-text.text-lighten-4{color:#f8c1c3 !important}.materialize-red.lighten-3{background-color:#f3989b !important}.materialize-red-text.text-lighten-3{color:#f3989b !important}.materialize-red.lighten-2{background-color:#ee6e73 !important}.materialize-red-text.text-lighten-2{color:#ee6e73 !important}.materialize-red.lighten-1{background-color:#ea454b !important}.materialize-red-text.text-lighten-1{color:#ea454b !important}.materialize-red.darken-1{background-color:#d0181e !important}.materialize-red-text.text-darken-1{color:#d0181e !important}.materialize-red.darken-2{background-color:#b9151b !important}.materialize-red-text.text-darken-2{color:#b9151b !important}.materialize-red.darken-3{background-color:#a21318 !important}.materialize-red-text.text-darken-3{color:#a21318 !important}.materialize-red.darken-4{background-color:#8b1014 !important}.materialize-red-text.text-darken-4{color:#8b1014 !important}.red{background-color:#F44336 !important}.red-text{color:#F44336 !important}.red.lighten-5{background-color:#FFEBEE !important}.red-text.text-lighten-5{color:#FFEBEE !important}.red.lighten-4{background-color:#FFCDD2 !important}.red-text.text-lighten-4{color:#FFCDD2 !important}.red.lighten-3{background-color:#EF9A9A !important}.red-text.text-lighten-3{color:#EF9A9A !important}.red.lighten-2{background-color:#E57373 !important}.red-text.text-lighten-2{color:#E57373 !important}.red.lighten-1{background-color:#EF5350 !important}.red-text.text-lighten-1{color:#EF5350 !important}.red.darken-1{background-color:#E53935 !important}.red-text.text-darken-1{color:#E53935 !important}.red.darken-2{background-color:#D32F2F !important}.red-text.text-darken-2{color:#D32F2F !important}.red.darken-3{background-color:#C62828 !important}.red-text.text-darken-3{color:#C62828 !important}.red.darken-4{background-color:#B71C1C !important}.red-text.text-darken-4{color:#B71C1C !important}.red.accent-1{background-color:#FF8A80 !important}.red-text.text-accent-1{color:#FF8A80 !important}.red.accent-2{background-color:#FF5252 !important}.red-text.text-accent-2{color:#FF5252 !important}.red.accent-3{background-color:#FF1744 !important}.red-text.text-accent-3{color:#FF1744 !important}.red.accent-4{background-color:#D50000 !important}.red-text.text-accent-4{color:#D50000 !important}.pink{background-color:#e91e63 !important}.pink-text{color:#e91e63 !important}.pink.lighten-5{background-color:#fce4ec !important}.pink-text.text-lighten-5{color:#fce4ec !important}.pink.lighten-4{background-color:#f8bbd0 !important}.pink-text.text-lighten-4{color:#f8bbd0 !important}.pink.lighten-3{background-color:#f48fb1 !important}.pink-text.text-lighten-3{color:#f48fb1 !important}.pink.lighten-2{background-color:#f06292 !important}.pink-text.text-lighten-2{color:#f06292 !important}.pink.lighten-1{background-color:#ec407a !important}.pink-text.text-lighten-1{color:#ec407a !important}.pink.darken-1{background-color:#d81b60 !important}.pink-text.text-darken-1{color:#d81b60 !important}.pink.darken-2{background-color:#c2185b !important}.pink-text.text-darken-2{color:#c2185b !important}.pink.darken-3{background-color:#ad1457 !important}.pink-text.text-darken-3{color:#ad1457 !important}.pink.darken-4{background-color:#880e4f !important}.pink-text.text-darken-4{color:#880e4f !important}.pink.accent-1{background-color:#ff80ab !important}.pink-text.text-accent-1{color:#ff80ab !important}.pink.accent-2{background-color:#ff4081 !important}.pink-text.text-accent-2{color:#ff4081 !important}.pink.accent-3{background-color:#f50057 !important}.pink-text.text-accent-3{color:#f50057 !important}.pink.accent-4{background-color:#c51162 !important}.pink-text.text-accent-4{color:#c51162 !important}.purple{background-color:#9c27b0 !important}.purple-text{color:#9c27b0 !important}.purple.lighten-5{background-color:#f3e5f5 !important}.purple-text.text-lighten-5{color:#f3e5f5 !important}.purple.lighten-4{background-color:#e1bee7 !important}.purple-text.text-lighten-4{color:#e1bee7 !important}.purple.lighten-3{background-color:#ce93d8 !important}.purple-text.text-lighten-3{color:#ce93d8 !important}.purple.lighten-2{background-color:#ba68c8 !important}.purple-text.text-lighten-2{color:#ba68c8 !important}.purple.lighten-1{background-color:#ab47bc !important}.purple-text.text-lighten-1{color:#ab47bc !important}.purple.darken-1{background-color:#8e24aa !important}.purple-text.text-darken-1{color:#8e24aa !important}.purple.darken-2{background-color:#7b1fa2 !important}.purple-text.text-darken-2{color:#7b1fa2 !important}.purple.darken-3{background-color:#6a1b9a !important}.purple-text.text-darken-3{color:#6a1b9a !important}.purple.darken-4{background-color:#4a148c !important}.purple-text.text-darken-4{color:#4a148c !important}.purple.accent-1{background-color:#ea80fc !important}.purple-text.text-accent-1{color:#ea80fc !important}.purple.accent-2{background-color:#e040fb !important}.purple-text.text-accent-2{color:#e040fb !important}.purple.accent-3{background-color:#d500f9 !important}.purple-text.text-accent-3{color:#d500f9 !important}.purple.accent-4{background-color:#a0f !important}.purple-text.text-accent-4{color:#a0f !important}.deep-purple{background-color:#673ab7 !important}.deep-purple-text{color:#673ab7 !important}.deep-purple.lighten-5{background-color:#ede7f6 !important}.deep-purple-text.text-lighten-5{color:#ede7f6 !important}.deep-purple.lighten-4{background-color:#d1c4e9 !important}.deep-purple-text.text-lighten-4{color:#d1c4e9 !important}.deep-purple.lighten-3{background-color:#b39ddb !important}.deep-purple-text.text-lighten-3{color:#b39ddb !important}.deep-purple.lighten-2{background-color:#9575cd !important}.deep-purple-text.text-lighten-2{color:#9575cd !important}.deep-purple.lighten-1{background-color:#7e57c2 !important}.deep-purple-text.text-lighten-1{color:#7e57c2 !important}.deep-purple.darken-1{background-color:#5e35b1 !important}.deep-purple-text.text-darken-1{color:#5e35b1 !important}.deep-purple.darken-2{background-color:#512da8 !important}.deep-purple-text.text-darken-2{color:#512da8 !important}.deep-purple.darken-3{background-color:#4527a0 !important}.deep-purple-text.text-darken-3{color:#4527a0 !important}.deep-purple.darken-4{background-color:#311b92 !important}.deep-purple-text.text-darken-4{color:#311b92 !important}.deep-purple.accent-1{background-color:#b388ff !important}.deep-purple-text.text-accent-1{color:#b388ff !important}.deep-purple.accent-2{background-color:#7c4dff !important}.deep-purple-text.text-accent-2{color:#7c4dff !important}.deep-purple.accent-3{background-color:#651fff !important}.deep-purple-text.text-accent-3{color:#651fff !important}.deep-purple.accent-4{background-color:#6200ea !important}.deep-purple-text.text-accent-4{color:#6200ea !important}.indigo{background-color:#3f51b5 !important}.indigo-text{color:#3f51b5 !important}.indigo.lighten-5{background-color:#e8eaf6 !important}.indigo-text.text-lighten-5{color:#e8eaf6 !important}.indigo.lighten-4{background-color:#c5cae9 !important}.indigo-text.text-lighten-4{color:#c5cae9 !important}.indigo.lighten-3{background-color:#9fa8da !important}.indigo-text.text-lighten-3{color:#9fa8da !important}.indigo.lighten-2{background-color:#7986cb !important}.indigo-text.text-lighten-2{color:#7986cb !important}.indigo.lighten-1{background-color:#5c6bc0 !important}.indigo-text.text-lighten-1{color:#5c6bc0 !important}.indigo.darken-1{background-color:#3949ab !important}.indigo-text.text-darken-1{color:#3949ab !important}.indigo.darken-2{background-color:#303f9f !important}.indigo-text.text-darken-2{color:#303f9f !important}.indigo.darken-3{background-color:#283593 !important}.indigo-text.text-darken-3{color:#283593 !important}.indigo.darken-4{background-color:#1a237e !important}.indigo-text.text-darken-4{color:#1a237e !important}.indigo.accent-1{background-color:#8c9eff !important}.indigo-text.text-accent-1{color:#8c9eff !important}.indigo.accent-2{background-color:#536dfe !important}.indigo-text.text-accent-2{color:#536dfe !important}.indigo.accent-3{background-color:#3d5afe !important}.indigo-text.text-accent-3{color:#3d5afe !important}.indigo.accent-4{background-color:#304ffe !important}.indigo-text.text-accent-4{color:#304ffe !important}.blue{background-color:#2196F3 !important}.blue-text{color:#2196F3 !important}.blue.lighten-5{background-color:#E3F2FD !important}.blue-text.text-lighten-5{color:#E3F2FD !important}.blue.lighten-4{background-color:#BBDEFB !important}.blue-text.text-lighten-4{color:#BBDEFB !important}.blue.lighten-3{background-color:#90CAF9 !important}.blue-text.text-lighten-3{color:#90CAF9 !important}.blue.lighten-2{background-color:#64B5F6 !important}.blue-text.text-lighten-2{color:#64B5F6 !important}.blue.lighten-1{background-color:#42A5F5 !important}.blue-text.text-lighten-1{color:#42A5F5 !important}.blue.darken-1{background-color:#1E88E5 !important}.blue-text.text-darken-1{color:#1E88E5 !important}.blue.darken-2{background-color:#1976D2 !important}.blue-text.text-darken-2{color:#1976D2 !important}.blue.darken-3{background-color:#1565C0 !important}.blue-text.text-darken-3{color:#1565C0 !important}.blue.darken-4{background-color:#0D47A1 !important}.blue-text.text-darken-4{color:#0D47A1 !important}.blue.accent-1{background-color:#82B1FF !important}.blue-text.text-accent-1{color:#82B1FF !important}.blue.accent-2{background-color:#448AFF !important}.blue-text.text-accent-2{color:#448AFF !important}.blue.accent-3{background-color:#2979FF !important}.blue-text.text-accent-3{color:#2979FF !important}.blue.accent-4{background-color:#2962FF !important}.blue-text.text-accent-4{color:#2962FF !important}.light-blue{background-color:#03a9f4 !important}.light-blue-text{color:#03a9f4 !important}.light-blue.lighten-5{background-color:#e1f5fe !important}.light-blue-text.text-lighten-5{color:#e1f5fe !important}.light-blue.lighten-4{background-color:#b3e5fc !important}.light-blue-text.text-lighten-4{color:#b3e5fc !important}.light-blue.lighten-3{background-color:#81d4fa !important}.light-blue-text.text-lighten-3{color:#81d4fa !important}.light-blue.lighten-2{background-color:#4fc3f7 !important}.light-blue-text.text-lighten-2{color:#4fc3f7 !important}.light-blue.lighten-1{background-color:#29b6f6 !important}.light-blue-text.text-lighten-1{color:#29b6f6 !important}.light-blue.darken-1{background-color:#039be5 !important}.light-blue-text.text-darken-1{color:#039be5 !important}.light-blue.darken-2{background-color:#0288d1 !important}.light-blue-text.text-darken-2{color:#0288d1 !important}.light-blue.darken-3{background-color:#0277bd !important}.light-blue-text.text-darken-3{color:#0277bd !important}.light-blue.darken-4{background-color:#01579b !important}.light-blue-text.text-darken-4{color:#01579b !important}.light-blue.accent-1{background-color:#80d8ff !important}.light-blue-text.text-accent-1{color:#80d8ff !important}.light-blue.accent-2{background-color:#40c4ff !important}.light-blue-text.text-accent-2{color:#40c4ff !important}.light-blue.accent-3{background-color:#00b0ff !important}.light-blue-text.text-accent-3{color:#00b0ff !important}.light-blue.accent-4{background-color:#0091ea !important}.light-blue-text.text-accent-4{color:#0091ea !important}.cyan{background-color:#00bcd4 !important}.cyan-text{color:#00bcd4 !important}.cyan.lighten-5{background-color:#e0f7fa !important}.cyan-text.text-lighten-5{color:#e0f7fa !important}.cyan.lighten-4{background-color:#b2ebf2 !important}.cyan-text.text-lighten-4{color:#b2ebf2 !important}.cyan.lighten-3{background-color:#80deea !important}.cyan-text.text-lighten-3{color:#80deea !important}.cyan.lighten-2{background-color:#4dd0e1 !important}.cyan-text.text-lighten-2{color:#4dd0e1 !important}.cyan.lighten-1{background-color:#26c6da !important}.cyan-text.text-lighten-1{color:#26c6da !important}.cyan.darken-1{background-color:#00acc1 !important}.cyan-text.text-darken-1{color:#00acc1 !important}.cyan.darken-2{background-color:#0097a7 !important}.cyan-text.text-darken-2{color:#0097a7 !important}.cyan.darken-3{background-color:#00838f !important}.cyan-text.text-darken-3{color:#00838f !important}.cyan.darken-4{background-color:#006064 !important}.cyan-text.text-darken-4{color:#006064 !important}.cyan.accent-1{background-color:#84ffff !important}.cyan-text.text-accent-1{color:#84ffff !important}.cyan.accent-2{background-color:#18ffff !important}.cyan-text.text-accent-2{color:#18ffff !important}.cyan.accent-3{background-color:#00e5ff !important}.cyan-text.text-accent-3{color:#00e5ff !important}.cyan.accent-4{background-color:#00b8d4 !important}.cyan-text.text-accent-4{color:#00b8d4 !important}.teal{background-color:#009688 !important}.teal-text{color:#009688 !important}.teal.lighten-5{background-color:#e0f2f1 !important}.teal-text.text-lighten-5{color:#e0f2f1 !important}.teal.lighten-4{background-color:#b2dfdb !important}.teal-text.text-lighten-4{color:#b2dfdb !important}.teal.lighten-3{background-color:#80cbc4 !important}.teal-text.text-lighten-3{color:#80cbc4 !important}.teal.lighten-2{background-color:#4db6ac !important}.teal-text.text-lighten-2{color:#4db6ac !important}.teal.lighten-1{background-color:#26a69a !important}.teal-text.text-lighten-1{color:#26a69a !important}.teal.darken-1{background-color:#00897b !important}.teal-text.text-darken-1{color:#00897b !important}.teal.darken-2{background-color:#00796b !important}.teal-text.text-darken-2{color:#00796b !important}.teal.darken-3{background-color:#00695c !important}.teal-text.text-darken-3{color:#00695c !important}.teal.darken-4{background-color:#004d40 !important}.teal-text.text-darken-4{color:#004d40 !important}.teal.accent-1{background-color:#a7ffeb !important}.teal-text.text-accent-1{color:#a7ffeb !important}.teal.accent-2{background-color:#64ffda !important}.teal-text.text-accent-2{color:#64ffda !important}.teal.accent-3{background-color:#1de9b6 !important}.teal-text.text-accent-3{color:#1de9b6 !important}.teal.accent-4{background-color:#00bfa5 !important}.teal-text.text-accent-4{color:#00bfa5 !important}.green{background-color:#4CAF50 !important}.green-text{color:#4CAF50 !important}.green.lighten-5{background-color:#E8F5E9 !important}.green-text.text-lighten-5{color:#E8F5E9 !important}.green.lighten-4{background-color:#C8E6C9 !important}.green-text.text-lighten-4{color:#C8E6C9 !important}.green.lighten-3{background-color:#A5D6A7 !important}.green-text.text-lighten-3{color:#A5D6A7 !important}.green.lighten-2{background-color:#81C784 !important}.green-text.text-lighten-2{color:#81C784 !important}.green.lighten-1{background-color:#66BB6A !important}.green-text.text-lighten-1{color:#66BB6A !important}.green.darken-1{background-color:#43A047 !important}.green-text.text-darken-1{color:#43A047 !important}.green.darken-2{background-color:#388E3C !important}.green-text.text-darken-2{color:#388E3C !important}.green.darken-3{background-color:#2E7D32 !important}.green-text.text-darken-3{color:#2E7D32 !important}.green.darken-4{background-color:#1B5E20 !important}.green-text.text-darken-4{color:#1B5E20 !important}.green.accent-1{background-color:#B9F6CA !important}.green-text.text-accent-1{color:#B9F6CA !important}.green.accent-2{background-color:#69F0AE !important}.green-text.text-accent-2{color:#69F0AE !important}.green.accent-3{background-color:#00E676 !important}.green-text.text-accent-3{color:#00E676 !important}.green.accent-4{background-color:#00C853 !important}.green-text.text-accent-4{color:#00C853 !important}.light-green{background-color:#8bc34a !important}.light-green-text{color:#8bc34a !important}.light-green.lighten-5{background-color:#f1f8e9 !important}.light-green-text.text-lighten-5{color:#f1f8e9 !important}.light-green.lighten-4{background-color:#dcedc8 !important}.light-green-text.text-lighten-4{color:#dcedc8 !important}.light-green.lighten-3{background-color:#c5e1a5 !important}.light-green-text.text-lighten-3{color:#c5e1a5 !important}.light-green.lighten-2{background-color:#aed581 !important}.light-green-text.text-lighten-2{color:#aed581 !important}.light-green.lighten-1{background-color:#9ccc65 !important}.light-green-text.text-lighten-1{color:#9ccc65 !important}.light-green.darken-1{background-color:#7cb342 !important}.light-green-text.text-darken-1{color:#7cb342 !important}.light-green.darken-2{background-color:#689f38 !important}.light-green-text.text-darken-2{color:#689f38 !important}.light-green.darken-3{background-color:#558b2f !important}.light-green-text.text-darken-3{color:#558b2f !important}.light-green.darken-4{background-color:#33691e !important}.light-green-text.text-darken-4{color:#33691e !important}.light-green.accent-1{background-color:#ccff90 !important}.light-green-text.text-accent-1{color:#ccff90 !important}.light-green.accent-2{background-color:#b2ff59 !important}.light-green-text.text-accent-2{color:#b2ff59 !important}.light-green.accent-3{background-color:#76ff03 !important}.light-green-text.text-accent-3{color:#76ff03 !important}.light-green.accent-4{background-color:#64dd17 !important}.light-green-text.text-accent-4{color:#64dd17 !important}.lime{background-color:#cddc39 !important}.lime-text{color:#cddc39 !important}.lime.lighten-5{background-color:#f9fbe7 !important}.lime-text.text-lighten-5{color:#f9fbe7 !important}.lime.lighten-4{background-color:#f0f4c3 !important}.lime-text.text-lighten-4{color:#f0f4c3 !important}.lime.lighten-3{background-color:#e6ee9c !important}.lime-text.text-lighten-3{color:#e6ee9c !important}.lime.lighten-2{background-color:#dce775 !important}.lime-text.text-lighten-2{color:#dce775 !important}.lime.lighten-1{background-color:#d4e157 !important}.lime-text.text-lighten-1{color:#d4e157 !important}.lime.darken-1{background-color:#c0ca33 !important}.lime-text.text-darken-1{color:#c0ca33 !important}.lime.darken-2{background-color:#afb42b !important}.lime-text.text-darken-2{color:#afb42b !important}.lime.darken-3{background-color:#9e9d24 !important}.lime-text.text-darken-3{color:#9e9d24 !important}.lime.darken-4{background-color:#827717 !important}.lime-text.text-darken-4{color:#827717 !important}.lime.accent-1{background-color:#f4ff81 !important}.lime-text.text-accent-1{color:#f4ff81 !important}.lime.accent-2{background-color:#eeff41 !important}.lime-text.text-accent-2{color:#eeff41 !important}.lime.accent-3{background-color:#c6ff00 !important}.lime-text.text-accent-3{color:#c6ff00 !important}.lime.accent-4{background-color:#aeea00 !important}.lime-text.text-accent-4{color:#aeea00 !important}.yellow{background-color:#ffeb3b !important}.yellow-text{color:#ffeb3b !important}.yellow.lighten-5{background-color:#fffde7 !important}.yellow-text.text-lighten-5{color:#fffde7 !important}.yellow.lighten-4{background-color:#fff9c4 !important}.yellow-text.text-lighten-4{color:#fff9c4 !important}.yellow.lighten-3{background-color:#fff59d !important}.yellow-text.text-lighten-3{color:#fff59d !important}.yellow.lighten-2{background-color:#fff176 !important}.yellow-text.text-lighten-2{color:#fff176 !important}.yellow.lighten-1{background-color:#ffee58 !important}.yellow-text.text-lighten-1{color:#ffee58 !important}.yellow.darken-1{background-color:#fdd835 !important}.yellow-text.text-darken-1{color:#fdd835 !important}.yellow.darken-2{background-color:#fbc02d !important}.yellow-text.text-darken-2{color:#fbc02d !important}.yellow.darken-3{background-color:#f9a825 !important}.yellow-text.text-darken-3{color:#f9a825 !important}.yellow.darken-4{background-color:#f57f17 !important}.yellow-text.text-darken-4{color:#f57f17 !important}.yellow.accent-1{background-color:#ffff8d !important}.yellow-text.text-accent-1{color:#ffff8d !important}.yellow.accent-2{background-color:#ff0 !important}.yellow-text.text-accent-2{color:#ff0 !important}.yellow.accent-3{background-color:#ffea00 !important}.yellow-text.text-accent-3{color:#ffea00 !important}.yellow.accent-4{background-color:#ffd600 !important}.yellow-text.text-accent-4{color:#ffd600 !important}.amber{background-color:#ffc107 !important}.amber-text{color:#ffc107 !important}.amber.lighten-5{background-color:#fff8e1 !important}.amber-text.text-lighten-5{color:#fff8e1 !important}.amber.lighten-4{background-color:#ffecb3 !important}.amber-text.text-lighten-4{color:#ffecb3 !important}.amber.lighten-3{background-color:#ffe082 !important}.amber-text.text-lighten-3{color:#ffe082 !important}.amber.lighten-2{background-color:#ffd54f !important}.amber-text.text-lighten-2{color:#ffd54f !important}.amber.lighten-1{background-color:#ffca28 !important}.amber-text.text-lighten-1{color:#ffca28 !important}.amber.darken-1{background-color:#ffb300 !important}.amber-text.text-darken-1{color:#ffb300 !important}.amber.darken-2{background-color:#ffa000 !important}.amber-text.text-darken-2{color:#ffa000 !important}.amber.darken-3{background-color:#ff8f00 !important}.amber-text.text-darken-3{color:#ff8f00 !important}.amber.darken-4{background-color:#ff6f00 !important}.amber-text.text-darken-4{color:#ff6f00 !important}.amber.accent-1{background-color:#ffe57f !important}.amber-text.text-accent-1{color:#ffe57f !important}.amber.accent-2{background-color:#ffd740 !important}.amber-text.text-accent-2{color:#ffd740 !important}.amber.accent-3{background-color:#ffc400 !important}.amber-text.text-accent-3{color:#ffc400 !important}.amber.accent-4{background-color:#ffab00 !important}.amber-text.text-accent-4{color:#ffab00 !important}.orange{background-color:#ff9800 !important}.orange-text{color:#ff9800 !important}.orange.lighten-5{background-color:#fff3e0 !important}.orange-text.text-lighten-5{color:#fff3e0 !important}.orange.lighten-4{background-color:#ffe0b2 !important}.orange-text.text-lighten-4{color:#ffe0b2 !important}.orange.lighten-3{background-color:#ffcc80 !important}.orange-text.text-lighten-3{color:#ffcc80 !important}.orange.lighten-2{background-color:#ffb74d !important}.orange-text.text-lighten-2{color:#ffb74d !important}.orange.lighten-1{background-color:#ffa726 !important}.orange-text.text-lighten-1{color:#ffa726 !important}.orange.darken-1{background-color:#fb8c00 !important}.orange-text.text-darken-1{color:#fb8c00 !important}.orange.darken-2{background-color:#f57c00 !important}.orange-text.text-darken-2{color:#f57c00 !important}.orange.darken-3{background-color:#ef6c00 !important}.orange-text.text-darken-3{color:#ef6c00 !important}.orange.darken-4{background-color:#e65100 !important}.orange-text.text-darken-4{color:#e65100 !important}.orange.accent-1{background-color:#ffd180 !important}.orange-text.text-accent-1{color:#ffd180 !important}.orange.accent-2{background-color:#ffab40 !important}.orange-text.text-accent-2{color:#ffab40 !important}.orange.accent-3{background-color:#ff9100 !important}.orange-text.text-accent-3{color:#ff9100 !important}.orange.accent-4{background-color:#ff6d00 !important}.orange-text.text-accent-4{color:#ff6d00 !important}.deep-orange{background-color:#ff5722 !important}.deep-orange-text{color:#ff5722 !important}.deep-orange.lighten-5{background-color:#fbe9e7 !important}.deep-orange-text.text-lighten-5{color:#fbe9e7 !important}.deep-orange.lighten-4{background-color:#ffccbc !important}.deep-orange-text.text-lighten-4{color:#ffccbc !important}.deep-orange.lighten-3{background-color:#ffab91 !important}.deep-orange-text.text-lighten-3{color:#ffab91 !important}.deep-orange.lighten-2{background-color:#ff8a65 !important}.deep-orange-text.text-lighten-2{color:#ff8a65 !important}.deep-orange.lighten-1{background-color:#ff7043 !important}.deep-orange-text.text-lighten-1{color:#ff7043 !important}.deep-orange.darken-1{background-color:#f4511e !important}.deep-orange-text.text-darken-1{color:#f4511e !important}.deep-orange.darken-2{background-color:#e64a19 !important}.deep-orange-text.text-darken-2{color:#e64a19 !important}.deep-orange.darken-3{background-color:#d84315 !important}.deep-orange-text.text-darken-3{color:#d84315 !important}.deep-orange.darken-4{background-color:#bf360c !important}.deep-orange-text.text-darken-4{color:#bf360c !important}.deep-orange.accent-1{background-color:#ff9e80 !important}.deep-orange-text.text-accent-1{color:#ff9e80 !important}.deep-orange.accent-2{background-color:#ff6e40 !important}.deep-orange-text.text-accent-2{color:#ff6e40 !important}.deep-orange.accent-3{background-color:#ff3d00 !important}.deep-orange-text.text-accent-3{color:#ff3d00 !important}.deep-orange.accent-4{background-color:#dd2c00 !important}.deep-orange-text.text-accent-4{color:#dd2c00 !important}.brown{background-color:#795548 !important}.brown-text{color:#795548 !important}.brown.lighten-5{background-color:#efebe9 !important}.brown-text.text-lighten-5{color:#efebe9 !important}.brown.lighten-4{background-color:#d7ccc8 !important}.brown-text.text-lighten-4{color:#d7ccc8 !important}.brown.lighten-3{background-color:#bcaaa4 !important}.brown-text.text-lighten-3{color:#bcaaa4 !important}.brown.lighten-2{background-color:#a1887f !important}.brown-text.text-lighten-2{color:#a1887f !important}.brown.lighten-1{background-color:#8d6e63 !important}.brown-text.text-lighten-1{color:#8d6e63 !important}.brown.darken-1{background-color:#6d4c41 !important}.brown-text.text-darken-1{color:#6d4c41 !important}.brown.darken-2{background-color:#5d4037 !important}.brown-text.text-darken-2{color:#5d4037 !important}.brown.darken-3{background-color:#4e342e !important}.brown-text.text-darken-3{color:#4e342e !important}.brown.darken-4{background-color:#3e2723 !important}.brown-text.text-darken-4{color:#3e2723 !important}.blue-grey{background-color:#607d8b !important}.blue-grey-text{color:#607d8b !important}.blue-grey.lighten-5{background-color:#eceff1 !important}.blue-grey-text.text-lighten-5{color:#eceff1 !important}.blue-grey.lighten-4{background-color:#cfd8dc !important}.blue-grey-text.text-lighten-4{color:#cfd8dc !important}.blue-grey.lighten-3{background-color:#b0bec5 !important}.blue-grey-text.text-lighten-3{color:#b0bec5 !important}.blue-grey.lighten-2{background-color:#90a4ae !important}.blue-grey-text.text-lighten-2{color:#90a4ae !important}.blue-grey.lighten-1{background-color:#78909c !important}.blue-grey-text.text-lighten-1{color:#78909c !important}.blue-grey.darken-1{background-color:#546e7a !important}.blue-grey-text.text-darken-1{color:#546e7a !important}.blue-grey.darken-2{background-color:#455a64 !important}.blue-grey-text.text-darken-2{color:#455a64 !important}.blue-grey.darken-3{background-color:#37474f !important}.blue-grey-text.text-darken-3{color:#37474f !important}.blue-grey.darken-4{background-color:#263238 !important}.blue-grey-text.text-darken-4{color:#263238 !important}.grey{background-color:#9e9e9e !important}.grey-text{color:#9e9e9e !important}.grey.lighten-5{background-color:#fafafa !important}.grey-text.text-lighten-5{color:#fafafa !important}.grey.lighten-4{background-color:#f5f5f5 !important}.grey-text.text-lighten-4{color:#f5f5f5 !important}.grey.lighten-3{background-color:#eee !important}.grey-text.text-lighten-3{color:#eee !important}.grey.lighten-2{background-color:#e0e0e0 !important}.grey-text.text-lighten-2{color:#e0e0e0 !important}.grey.lighten-1{background-color:#bdbdbd !important}.grey-text.text-lighten-1{color:#bdbdbd !important}.grey.darken-1{background-color:#757575 !important}.grey-text.text-darken-1{color:#757575 !important}.grey.darken-2{background-color:#616161 !important}.grey-text.text-darken-2{color:#616161 !important}.grey.darken-3{background-color:#424242 !important}.grey-text.text-darken-3{color:#424242 !important}.grey.darken-4{background-color:#212121 !important}.grey-text.text-darken-4{color:#212121 !important}.black{background-color:#000 !important}.black-text{color:#000 !important}.white{background-color:#fff !important}.white-text{color:#fff !important}.transparent{background-color:rgba(0,0,0,0) !important}.transparent-text{color:rgba(0,0,0,0) !important}/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;-moz-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"]::-webkit-search-cancel-button,[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{-webkit-box-sizing:border-box;box-sizing:border-box}*,*:before,*:after{-webkit-box-sizing:inherit;box-sizing:inherit}button,input,optgroup,select,textarea{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif}ul:not(.browser-default){padding-left:0;list-style-type:none}ul:not(.browser-default)>li{list-style-type:none}a{color:#039be5;text-decoration:none;-webkit-tap-highlight-color:transparent}.valign-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.clearfix{clear:both}.z-depth-0{-webkit-box-shadow:none !important;box-shadow:none !important}.z-depth-1,nav,.card-panel,.card,.toast,.btn,.btn-large,.btn-small,.btn-floating,.dropdown-content,.collapsible,.sidenav{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2)}.z-depth-1-half,.btn:hover,.btn-large:hover,.btn-small:hover,.btn-floating:hover{-webkit-box-shadow:0 3px 3px 0 rgba(0,0,0,0.14),0 1px 7px 0 rgba(0,0,0,0.12),0 3px 1px -1px rgba(0,0,0,0.2);box-shadow:0 3px 3px 0 rgba(0,0,0,0.14),0 1px 7px 0 rgba(0,0,0,0.12),0 3px 1px -1px rgba(0,0,0,0.2)}.z-depth-2{-webkit-box-shadow:0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3);box-shadow:0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3)}.z-depth-3{-webkit-box-shadow:0 8px 17px 2px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2);box-shadow:0 8px 17px 2px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2)}.z-depth-4{-webkit-box-shadow:0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -7px rgba(0,0,0,0.2);box-shadow:0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -7px rgba(0,0,0,0.2)}.z-depth-5,.modal{-webkit-box-shadow:0 24px 38px 3px rgba(0,0,0,0.14),0 9px 46px 8px rgba(0,0,0,0.12),0 11px 15px -7px rgba(0,0,0,0.2);box-shadow:0 24px 38px 3px rgba(0,0,0,0.14),0 9px 46px 8px rgba(0,0,0,0.12),0 11px 15px -7px rgba(0,0,0,0.2)}.hoverable{-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s}.hoverable:hover{-webkit-box-shadow:0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);box-shadow:0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}.divider{height:1px;overflow:hidden;background-color:#e0e0e0}blockquote{margin:20px 0;padding-left:1.5rem;border-left:5px solid #ee6e73}i{line-height:inherit}i.left{float:left;margin-right:15px}i.right{float:right;margin-left:15px}i.tiny{font-size:1rem}i.small{font-size:2rem}i.medium{font-size:4rem}i.large{font-size:6rem}img.responsive-img,video.responsive-video{max-width:100%;height:auto}.pagination li{display:inline-block;border-radius:2px;text-align:center;vertical-align:top;height:30px}.pagination li a{color:#444;display:inline-block;font-size:1.2rem;padding:0 10px;line-height:30px}.pagination li.active a{color:#fff}.pagination li.active{background-color:#ee6e73}.pagination li.disabled a{cursor:default;color:#999}.pagination li i{font-size:2rem}.pagination li.pages ul li{display:inline-block;float:none}@media only screen and (max-width: 992px){.pagination{width:100%}.pagination li.prev,.pagination li.next{width:10%}.pagination li.pages{width:80%;overflow:hidden;white-space:nowrap}}.breadcrumb{font-size:18px;color:rgba(255,255,255,0.7)}.breadcrumb i,.breadcrumb [class^=\"mdi-\"],.breadcrumb [class*=\"mdi-\"],.breadcrumb i.material-icons{display:inline-block;float:left;font-size:24px}.breadcrumb:before{content:'\\E5CC';color:rgba(255,255,255,0.7);vertical-align:top;display:inline-block;font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:25px;margin:0 10px 0 8px;-webkit-font-smoothing:antialiased}.breadcrumb:first-child:before{display:none}.breadcrumb:last-child{color:#fff}.parallax-container{position:relative;overflow:hidden;height:500px}.parallax-container .parallax{position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1}.parallax-container .parallax img{opacity:0;position:absolute;left:50%;bottom:0;min-width:100%;min-height:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pin-top,.pin-bottom{position:relative}.pinned{position:fixed !important}ul.staggered-list li{opacity:0}.fade-in{opacity:0;-webkit-transform-origin:0 50%;transform-origin:0 50%}@media only screen and (max-width: 600px){.hide-on-small-only,.hide-on-small-and-down{display:none !important}}@media only screen and (max-width: 992px){.hide-on-med-and-down{display:none !important}}@media only screen and (min-width: 601px){.hide-on-med-and-up{display:none !important}}@media only screen and (min-width: 600px) and (max-width: 992px){.hide-on-med-only{display:none !important}}@media only screen and (min-width: 993px){.hide-on-large-only{display:none !important}}@media only screen and (min-width: 1201px){.hide-on-extra-large-only{display:none !important}}@media only screen and (min-width: 1201px){.show-on-extra-large{display:block !important}}@media only screen and (min-width: 993px){.show-on-large{display:block !important}}@media only screen and (min-width: 600px) and (max-width: 992px){.show-on-medium{display:block !important}}@media only screen and (max-width: 600px){.show-on-small{display:block !important}}@media only screen and (min-width: 601px){.show-on-medium-and-up{display:block !important}}@media only screen and (max-width: 992px){.show-on-medium-and-down{display:block !important}}@media only screen and (max-width: 600px){.center-on-small-only{text-align:center}}.page-footer{padding-top:20px;color:#fff;background-color:#ee6e73}.page-footer .footer-copyright{overflow:hidden;min-height:50px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:10px 0px;color:rgba(255,255,255,0.8);background-color:rgba(51,51,51,0.08)}table,th,td{border:none}table{width:100%;display:table;border-collapse:collapse;border-spacing:0}table.striped tr{border-bottom:none}table.striped>tbody>tr:nth-child(odd){background-color:rgba(242,242,242,0.5)}table.striped>tbody>tr>td{border-radius:0}table.highlight>tbody>tr{-webkit-transition:background-color .25s ease;transition:background-color .25s ease}table.highlight>tbody>tr:hover{background-color:rgba(242,242,242,0.5)}table.centered thead tr th,table.centered tbody tr td{text-align:center}tr{border-bottom:1px solid rgba(0,0,0,0.12)}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}@media only screen and (max-width: 992px){table.responsive-table{width:100%;border-collapse:collapse;border-spacing:0;display:block;position:relative}table.responsive-table td:empty:before{content:'\\00a0'}table.responsive-table th,table.responsive-table td{margin:0;vertical-align:top}table.responsive-table th{text-align:left}table.responsive-table thead{display:block;float:left}table.responsive-table thead tr{display:block;padding:0 10px 0 0}table.responsive-table thead tr th::before{content:\"\\00a0\"}table.responsive-table tbody{display:block;width:auto;position:relative;overflow-x:auto;white-space:nowrap}table.responsive-table tbody tr{display:inline-block;vertical-align:top}table.responsive-table th{display:block;text-align:right}table.responsive-table td{display:block;min-height:1.25em;text-align:left}table.responsive-table tr{border-bottom:none;padding:0 10px}table.responsive-table thead{border:0;border-right:1px solid rgba(0,0,0,0.12)}}.collection{margin:.5rem 0 1rem 0;border:1px solid #e0e0e0;border-radius:2px;overflow:hidden;position:relative}.collection .collection-item{background-color:#fff;line-height:1.5rem;padding:10px 20px;margin:0;border-bottom:1px solid #e0e0e0}.collection .collection-item.avatar{min-height:84px;padding-left:72px;position:relative}.collection .collection-item.avatar:not(.circle-clipper)>.circle,.collection .collection-item.avatar :not(.circle-clipper)>.circle{position:absolute;width:42px;height:42px;overflow:hidden;left:15px;display:inline-block;vertical-align:middle}.collection .collection-item.avatar i.circle{font-size:18px;line-height:42px;color:#fff;background-color:#999;text-align:center}.collection .collection-item.avatar .title{font-size:16px}.collection .collection-item.avatar p{margin:0}.collection .collection-item.avatar .secondary-content{position:absolute;top:16px;right:16px}.collection .collection-item:last-child{border-bottom:none}.collection .collection-item.active{background-color:#26a69a;color:#eafaf9}.collection .collection-item.active .secondary-content{color:#fff}.collection a.collection-item{display:block;-webkit-transition:.25s;transition:.25s;color:#26a69a}.collection a.collection-item:not(.active):hover{background-color:#ddd}.collection.with-header .collection-header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:10px 20px}.collection.with-header .collection-item{padding-left:30px}.collection.with-header .collection-item.avatar{padding-left:72px}.secondary-content{float:right;color:#26a69a}.collapsible .collection{margin:0;border:none}.video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.video-container iframe,.video-container object,.video-container embed{position:absolute;top:0;left:0;width:100%;height:100%}.progress{position:relative;height:4px;display:block;width:100%;background-color:#acece6;border-radius:2px;margin:.5rem 0 1rem 0;overflow:hidden}.progress .determinate{position:absolute;top:0;left:0;bottom:0;background-color:#26a69a;-webkit-transition:width .3s linear;transition:width .3s linear}.progress .indeterminate{background-color:#26a69a}.progress .indeterminate:before{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left, right;-webkit-animation:indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;animation:indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite}.progress .indeterminate:after{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left, right;-webkit-animation:indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;animation:indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}@-webkit-keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@-webkit-keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}.hide{display:none !important}.left-align{text-align:left}.right-align{text-align:right}.center,.center-align{text-align:center}.left{float:left !important}.right{float:right !important}.no-select,input[type=range],input[type=range]+.thumb{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.circle{border-radius:50%}.center-block{display:block;margin-left:auto;margin-right:auto}.truncate{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.no-padding{padding:0 !important}span.badge{min-width:3rem;padding:0 6px;margin-left:14px;text-align:center;font-size:1rem;line-height:22px;height:22px;color:#757575;float:right;-webkit-box-sizing:border-box;box-sizing:border-box}span.badge.new{font-weight:300;font-size:0.8rem;color:#fff;background-color:#26a69a;border-radius:2px}span.badge.new:after{content:\" new\"}span.badge[data-badge-caption]::after{content:\" \" attr(data-badge-caption)}nav ul a span.badge{display:inline-block;float:none;margin-left:4px;line-height:22px;height:22px;-webkit-font-smoothing:auto}.collection-item span.badge{margin-top:calc(.75rem - 11px)}.collapsible span.badge{margin-left:auto}.sidenav span.badge{margin-top:calc(24px - 11px)}table span.badge{display:inline-block;float:none;margin-left:auto}.material-icons{text-rendering:optimizeLegibility;-webkit-font-feature-settings:'liga';-moz-font-feature-settings:'liga';font-feature-settings:'liga'}.container{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width: 601px){.container{width:85%}}@media only screen and (min-width: 993px){.container{width:70%}}.col .row{margin-left:-.75rem;margin-right:-.75rem}.section{padding-top:1rem;padding-bottom:1rem}.section.no-pad{padding:0}.section.no-pad-bot{padding-bottom:0}.section.no-pad-top{padding-top:0}.row{margin-left:auto;margin-right:auto;margin-bottom:20px}.row:after{content:\"\";display:table;clear:both}.row .col{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 .75rem;min-height:1px}.row .col[class*=\"push-\"],.row .col[class*=\"pull-\"]{position:relative}.row .col.s1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.s4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.s7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.s10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-s1{margin-left:8.3333333333%}.row .col.pull-s1{right:8.3333333333%}.row .col.push-s1{left:8.3333333333%}.row .col.offset-s2{margin-left:16.6666666667%}.row .col.pull-s2{right:16.6666666667%}.row .col.push-s2{left:16.6666666667%}.row .col.offset-s3{margin-left:25%}.row .col.pull-s3{right:25%}.row .col.push-s3{left:25%}.row .col.offset-s4{margin-left:33.3333333333%}.row .col.pull-s4{right:33.3333333333%}.row .col.push-s4{left:33.3333333333%}.row .col.offset-s5{margin-left:41.6666666667%}.row .col.pull-s5{right:41.6666666667%}.row .col.push-s5{left:41.6666666667%}.row .col.offset-s6{margin-left:50%}.row .col.pull-s6{right:50%}.row .col.push-s6{left:50%}.row .col.offset-s7{margin-left:58.3333333333%}.row .col.pull-s7{right:58.3333333333%}.row .col.push-s7{left:58.3333333333%}.row .col.offset-s8{margin-left:66.6666666667%}.row .col.pull-s8{right:66.6666666667%}.row .col.push-s8{left:66.6666666667%}.row .col.offset-s9{margin-left:75%}.row .col.pull-s9{right:75%}.row .col.push-s9{left:75%}.row .col.offset-s10{margin-left:83.3333333333%}.row .col.pull-s10{right:83.3333333333%}.row .col.push-s10{left:83.3333333333%}.row .col.offset-s11{margin-left:91.6666666667%}.row .col.pull-s11{right:91.6666666667%}.row .col.push-s11{left:91.6666666667%}.row .col.offset-s12{margin-left:100%}.row .col.pull-s12{right:100%}.row .col.push-s12{left:100%}@media only screen and (min-width: 601px){.row .col.m1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.m4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.m7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.m10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-m1{margin-left:8.3333333333%}.row .col.pull-m1{right:8.3333333333%}.row .col.push-m1{left:8.3333333333%}.row .col.offset-m2{margin-left:16.6666666667%}.row .col.pull-m2{right:16.6666666667%}.row .col.push-m2{left:16.6666666667%}.row .col.offset-m3{margin-left:25%}.row .col.pull-m3{right:25%}.row .col.push-m3{left:25%}.row .col.offset-m4{margin-left:33.3333333333%}.row .col.pull-m4{right:33.3333333333%}.row .col.push-m4{left:33.3333333333%}.row .col.offset-m5{margin-left:41.6666666667%}.row .col.pull-m5{right:41.6666666667%}.row .col.push-m5{left:41.6666666667%}.row .col.offset-m6{margin-left:50%}.row .col.pull-m6{right:50%}.row .col.push-m6{left:50%}.row .col.offset-m7{margin-left:58.3333333333%}.row .col.pull-m7{right:58.3333333333%}.row .col.push-m7{left:58.3333333333%}.row .col.offset-m8{margin-left:66.6666666667%}.row .col.pull-m8{right:66.6666666667%}.row .col.push-m8{left:66.6666666667%}.row .col.offset-m9{margin-left:75%}.row .col.pull-m9{right:75%}.row .col.push-m9{left:75%}.row .col.offset-m10{margin-left:83.3333333333%}.row .col.pull-m10{right:83.3333333333%}.row .col.push-m10{left:83.3333333333%}.row .col.offset-m11{margin-left:91.6666666667%}.row .col.pull-m11{right:91.6666666667%}.row .col.push-m11{left:91.6666666667%}.row .col.offset-m12{margin-left:100%}.row .col.pull-m12{right:100%}.row .col.push-m12{left:100%}}@media only screen and (min-width: 993px){.row .col.l1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.l4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.l7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.l10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-l1{margin-left:8.3333333333%}.row .col.pull-l1{right:8.3333333333%}.row .col.push-l1{left:8.3333333333%}.row .col.offset-l2{margin-left:16.6666666667%}.row .col.pull-l2{right:16.6666666667%}.row .col.push-l2{left:16.6666666667%}.row .col.offset-l3{margin-left:25%}.row .col.pull-l3{right:25%}.row .col.push-l3{left:25%}.row .col.offset-l4{margin-left:33.3333333333%}.row .col.pull-l4{right:33.3333333333%}.row .col.push-l4{left:33.3333333333%}.row .col.offset-l5{margin-left:41.6666666667%}.row .col.pull-l5{right:41.6666666667%}.row .col.push-l5{left:41.6666666667%}.row .col.offset-l6{margin-left:50%}.row .col.pull-l6{right:50%}.row .col.push-l6{left:50%}.row .col.offset-l7{margin-left:58.3333333333%}.row .col.pull-l7{right:58.3333333333%}.row .col.push-l7{left:58.3333333333%}.row .col.offset-l8{margin-left:66.6666666667%}.row .col.pull-l8{right:66.6666666667%}.row .col.push-l8{left:66.6666666667%}.row .col.offset-l9{margin-left:75%}.row .col.pull-l9{right:75%}.row .col.push-l9{left:75%}.row .col.offset-l10{margin-left:83.3333333333%}.row .col.pull-l10{right:83.3333333333%}.row .col.push-l10{left:83.3333333333%}.row .col.offset-l11{margin-left:91.6666666667%}.row .col.pull-l11{right:91.6666666667%}.row .col.push-l11{left:91.6666666667%}.row .col.offset-l12{margin-left:100%}.row .col.pull-l12{right:100%}.row .col.push-l12{left:100%}}@media only screen and (min-width: 1201px){.row .col.xl1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.xl4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.xl7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.xl10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-xl1{margin-left:8.3333333333%}.row .col.pull-xl1{right:8.3333333333%}.row .col.push-xl1{left:8.3333333333%}.row .col.offset-xl2{margin-left:16.6666666667%}.row .col.pull-xl2{right:16.6666666667%}.row .col.push-xl2{left:16.6666666667%}.row .col.offset-xl3{margin-left:25%}.row .col.pull-xl3{right:25%}.row .col.push-xl3{left:25%}.row .col.offset-xl4{margin-left:33.3333333333%}.row .col.pull-xl4{right:33.3333333333%}.row .col.push-xl4{left:33.3333333333%}.row .col.offset-xl5{margin-left:41.6666666667%}.row .col.pull-xl5{right:41.6666666667%}.row .col.push-xl5{left:41.6666666667%}.row .col.offset-xl6{margin-left:50%}.row .col.pull-xl6{right:50%}.row .col.push-xl6{left:50%}.row .col.offset-xl7{margin-left:58.3333333333%}.row .col.pull-xl7{right:58.3333333333%}.row .col.push-xl7{left:58.3333333333%}.row .col.offset-xl8{margin-left:66.6666666667%}.row .col.pull-xl8{right:66.6666666667%}.row .col.push-xl8{left:66.6666666667%}.row .col.offset-xl9{margin-left:75%}.row .col.pull-xl9{right:75%}.row .col.push-xl9{left:75%}.row .col.offset-xl10{margin-left:83.3333333333%}.row .col.pull-xl10{right:83.3333333333%}.row .col.push-xl10{left:83.3333333333%}.row .col.offset-xl11{margin-left:91.6666666667%}.row .col.pull-xl11{right:91.6666666667%}.row .col.push-xl11{left:91.6666666667%}.row .col.offset-xl12{margin-left:100%}.row .col.pull-xl12{right:100%}.row .col.push-xl12{left:100%}}nav{color:#fff;background-color:#ee6e73;width:100%;height:56px;line-height:56px}nav.nav-extended{height:auto}nav.nav-extended .nav-wrapper{min-height:56px;height:auto}nav.nav-extended .nav-content{position:relative;line-height:normal}nav a{color:#fff}nav i,nav [class^=\"mdi-\"],nav [class*=\"mdi-\"],nav i.material-icons{display:block;font-size:24px;height:56px;line-height:56px}nav .nav-wrapper{position:relative;height:100%}@media only screen and (min-width: 993px){nav a.sidenav-trigger{display:none}}nav .sidenav-trigger{float:left;position:relative;z-index:1;height:56px;margin:0 18px}nav .sidenav-trigger i{height:56px;line-height:56px}nav .brand-logo{position:absolute;color:#fff;display:inline-block;font-size:2.1rem;padding:0}nav .brand-logo.center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}@media only screen and (max-width: 992px){nav .brand-logo{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}nav .brand-logo.left,nav .brand-logo.right{padding:0;-webkit-transform:none;transform:none}nav .brand-logo.left{left:0.5rem}nav .brand-logo.right{right:0.5rem;left:auto}}nav .brand-logo.right{right:0.5rem;padding:0}nav .brand-logo i,nav .brand-logo [class^=\"mdi-\"],nav .brand-logo [class*=\"mdi-\"],nav .brand-logo i.material-icons{float:left;margin-right:15px}nav .nav-title{display:inline-block;font-size:32px;padding:28px 0}nav ul{margin:0}nav ul li{-webkit-transition:background-color .3s;transition:background-color .3s;float:left;padding:0}nav ul li.active{background-color:rgba(0,0,0,0.1)}nav ul a{-webkit-transition:background-color .3s;transition:background-color .3s;font-size:1rem;color:#fff;display:block;padding:0 15px;cursor:pointer}nav ul a.btn,nav ul a.btn-large,nav ul a.btn-small,nav ul a.btn-large,nav ul a.btn-flat,nav ul a.btn-floating{margin-top:-2px;margin-left:15px;margin-right:15px}nav ul a.btn>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-small>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-flat>.material-icons,nav ul a.btn-floating>.material-icons{height:inherit;line-height:inherit}nav ul a:hover{background-color:rgba(0,0,0,0.1)}nav ul.left{float:left}nav form{height:100%}nav .input-field{margin:0;height:100%}nav .input-field input{height:100%;font-size:1.2rem;border:none;padding-left:2rem}nav .input-field input:focus,nav .input-field input[type=text]:valid,nav .input-field input[type=password]:valid,nav .input-field input[type=email]:valid,nav .input-field input[type=url]:valid,nav .input-field input[type=date]:valid{border:none;-webkit-box-shadow:none;box-shadow:none}nav .input-field label{top:0;left:0}nav .input-field label i{color:rgba(255,255,255,0.7);-webkit-transition:color .3s;transition:color .3s}nav .input-field label.active i{color:#fff}.navbar-fixed{position:relative;height:56px;z-index:997}.navbar-fixed nav{position:fixed}@media only screen and (min-width: 601px){nav.nav-extended .nav-wrapper{min-height:64px}nav,nav .nav-wrapper i,nav a.sidenav-trigger,nav a.sidenav-trigger i{height:64px;line-height:64px}.navbar-fixed{height:64px}}a{text-decoration:none}html{line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-weight:normal;color:rgba(0,0,0,0.87)}@media only screen and (min-width: 0){html{font-size:14px}}@media only screen and (min-width: 992px){html{font-size:14.5px}}@media only screen and (min-width: 1200px){html{font-size:15px}}h1,h2,h3,h4,h5,h6{font-weight:400;line-height:1.3}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}h1{font-size:4.2rem;line-height:110%;margin:2.8rem 0 1.68rem 0}h2{font-size:3.56rem;line-height:110%;margin:2.3733333333rem 0 1.424rem 0}h3{font-size:2.92rem;line-height:110%;margin:1.9466666667rem 0 1.168rem 0}h4{font-size:2.28rem;line-height:110%;margin:1.52rem 0 .912rem 0}h5{font-size:1.64rem;line-height:110%;margin:1.0933333333rem 0 .656rem 0}h6{font-size:1.15rem;line-height:110%;margin:.7666666667rem 0 .46rem 0}em{font-style:italic}strong{font-weight:500}small{font-size:75%}.light{font-weight:300}.thin{font-weight:200}@media only screen and (min-width: 360px){.flow-text{font-size:1.2rem}}@media only screen and (min-width: 390px){.flow-text{font-size:1.224rem}}@media only screen and (min-width: 420px){.flow-text{font-size:1.248rem}}@media only screen and (min-width: 450px){.flow-text{font-size:1.272rem}}@media only screen and (min-width: 480px){.flow-text{font-size:1.296rem}}@media only screen and (min-width: 510px){.flow-text{font-size:1.32rem}}@media only screen and (min-width: 540px){.flow-text{font-size:1.344rem}}@media only screen and (min-width: 570px){.flow-text{font-size:1.368rem}}@media only screen and (min-width: 600px){.flow-text{font-size:1.392rem}}@media only screen and (min-width: 630px){.flow-text{font-size:1.416rem}}@media only screen and (min-width: 660px){.flow-text{font-size:1.44rem}}@media only screen and (min-width: 690px){.flow-text{font-size:1.464rem}}@media only screen and (min-width: 720px){.flow-text{font-size:1.488rem}}@media only screen and (min-width: 750px){.flow-text{font-size:1.512rem}}@media only screen and (min-width: 780px){.flow-text{font-size:1.536rem}}@media only screen and (min-width: 810px){.flow-text{font-size:1.56rem}}@media only screen and (min-width: 840px){.flow-text{font-size:1.584rem}}@media only screen and (min-width: 870px){.flow-text{font-size:1.608rem}}@media only screen and (min-width: 900px){.flow-text{font-size:1.632rem}}@media only screen and (min-width: 930px){.flow-text{font-size:1.656rem}}@media only screen and (min-width: 960px){.flow-text{font-size:1.68rem}}@media only screen and (max-width: 360px){.flow-text{font-size:1.2rem}}.scale-transition{-webkit-transition:-webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:-webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63), -webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important}.scale-transition.scale-out{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .2s !important;transition:-webkit-transform .2s !important;transition:transform .2s !important;transition:transform .2s, -webkit-transform .2s !important}.scale-transition.scale-in{-webkit-transform:scale(1);transform:scale(1)}.card-panel{-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s;padding:24px;margin:.5rem 0 1rem 0;border-radius:2px;background-color:#fff}.card{position:relative;margin:.5rem 0 1rem 0;background-color:#fff;-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s;border-radius:2px}.card .card-title{font-size:24px;font-weight:300}.card .card-title.activator{cursor:pointer}.card.small,.card.medium,.card.large{position:relative}.card.small .card-image,.card.medium .card-image,.card.large .card-image{max-height:60%;overflow:hidden}.card.small .card-image+.card-content,.card.medium .card-image+.card-content,.card.large .card-image+.card-content{max-height:40%}.card.small .card-content,.card.medium .card-content,.card.large .card-content{max-height:100%;overflow:hidden}.card.small .card-action,.card.medium .card-action,.card.large .card-action{position:absolute;bottom:0;left:0;right:0}.card.small{height:300px}.card.medium{height:400px}.card.large{height:500px}.card.horizontal{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.card.horizontal.small .card-image,.card.horizontal.medium .card-image,.card.horizontal.large .card-image{height:100%;max-height:none;overflow:visible}.card.horizontal.small .card-image img,.card.horizontal.medium .card-image img,.card.horizontal.large .card-image img{height:100%}.card.horizontal .card-image{max-width:50%}.card.horizontal .card-image img{border-radius:2px 0 0 2px;max-width:100%;width:auto}.card.horizontal .card-stacked{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative}.card.horizontal .card-stacked .card-content{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.card.sticky-action .card-action{z-index:2}.card.sticky-action .card-reveal{z-index:1;padding-bottom:64px}.card .card-image{position:relative}.card .card-image img{display:block;border-radius:2px 2px 0 0;position:relative;left:0;right:0;top:0;bottom:0;width:100%}.card .card-image .card-title{color:#fff;position:absolute;bottom:0;left:0;max-width:100%;padding:24px}.card .card-content{padding:24px;border-radius:0 0 2px 2px}.card .card-content p{margin:0}.card .card-content .card-title{display:block;line-height:32px;margin-bottom:8px}.card .card-content .card-title i{line-height:32px}.card .card-action{background-color:inherit;border-top:1px solid rgba(160,160,160,0.2);position:relative;padding:16px 24px}.card .card-action:last-child{border-radius:0 0 2px 2px}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating){color:#ffab40;margin-right:24px;-webkit-transition:color .3s ease;transition:color .3s ease;text-transform:uppercase}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating):hover{color:#ffd8a6}.card .card-reveal{padding:24px;position:absolute;background-color:#fff;width:100%;overflow-y:auto;left:0;top:100%;height:100%;z-index:3;display:none}.card .card-reveal .card-title{cursor:pointer;display:block}#toast-container{display:block;position:fixed;z-index:10000}@media only screen and (max-width: 600px){#toast-container{min-width:100%;bottom:0%}}@media only screen and (min-width: 601px) and (max-width: 992px){#toast-container{left:5%;bottom:7%;max-width:90%}}@media only screen and (min-width: 993px){#toast-container{top:10%;right:7%;max-width:86%}}.toast{border-radius:2px;top:35px;width:auto;margin-top:10px;position:relative;max-width:100%;height:auto;min-height:48px;line-height:1.5em;background-color:#323232;padding:10px 25px;font-size:1.1rem;font-weight:300;color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;cursor:default}.toast .toast-action{color:#eeff41;font-weight:500;margin-right:-25px;margin-left:3rem}.toast.rounded{border-radius:24px}@media only screen and (max-width: 600px){.toast{width:100%;border-radius:0}}.tabs{position:relative;overflow-x:auto;overflow-y:hidden;height:48px;width:100%;background-color:#fff;margin:0 auto;white-space:nowrap}.tabs.tabs-transparent{background-color:transparent}.tabs.tabs-transparent .tab a,.tabs.tabs-transparent .tab.disabled a,.tabs.tabs-transparent .tab.disabled a:hover{color:rgba(255,255,255,0.7)}.tabs.tabs-transparent .tab a:hover,.tabs.tabs-transparent .tab a.active{color:#fff}.tabs.tabs-transparent .indicator{background-color:#fff}.tabs.tabs-fixed-width{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs.tabs-fixed-width .tab{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab{display:inline-block;text-align:center;line-height:48px;height:48px;padding:0;margin:0;text-transform:uppercase}.tabs .tab a{color:rgba(238,110,115,0.7);display:block;width:100%;height:100%;padding:0 24px;font-size:14px;text-overflow:ellipsis;overflow:hidden;-webkit-transition:color .28s ease, background-color .28s ease;transition:color .28s ease, background-color .28s ease}.tabs .tab a:focus,.tabs .tab a:focus.active{background-color:rgba(246,178,181,0.2);outline:none}.tabs .tab a:hover,.tabs .tab a.active{background-color:transparent;color:#ee6e73}.tabs .tab.disabled a,.tabs .tab.disabled a:hover{color:rgba(238,110,115,0.4);cursor:default}.tabs .indicator{position:absolute;bottom:0;height:2px;background-color:#f6b2b5;will-change:left, right}@media only screen and (max-width: 992px){.tabs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs .tab{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab a{padding:0 12px}}.material-tooltip{padding:10px 8px;font-size:1rem;z-index:2000;background-color:transparent;border-radius:2px;color:#fff;min-height:36px;line-height:120%;opacity:0;position:absolute;text-align:center;max-width:calc(100% - 4px);overflow:hidden;left:0;top:0;pointer-events:none;visibility:hidden;background-color:#323232}.backdrop{position:absolute;opacity:0;height:7px;width:14px;border-radius:0 0 50% 50%;background-color:#323232;z-index:-1;-webkit-transform-origin:50% 0%;transform-origin:50% 0%;visibility:hidden}.btn,.btn-large,.btn-small,.btn-flat{border:none;border-radius:2px;display:inline-block;height:36px;line-height:36px;padding:0 16px;text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent}.btn.disabled,.disabled.btn-large,.disabled.btn-small,.btn-floating.disabled,.btn-large.disabled,.btn-small.disabled,.btn-flat.disabled,.btn:disabled,.btn-large:disabled,.btn-small:disabled,.btn-floating:disabled,.btn-large:disabled,.btn-small:disabled,.btn-flat:disabled,.btn[disabled],.btn-large[disabled],.btn-small[disabled],.btn-floating[disabled],.btn-large[disabled],.btn-small[disabled],.btn-flat[disabled]{pointer-events:none;background-color:#DFDFDF !important;-webkit-box-shadow:none;box-shadow:none;color:#9F9F9F !important;cursor:default}.btn.disabled:hover,.disabled.btn-large:hover,.disabled.btn-small:hover,.btn-floating.disabled:hover,.btn-large.disabled:hover,.btn-small.disabled:hover,.btn-flat.disabled:hover,.btn:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-floating:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-flat:disabled:hover,.btn[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-floating[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-flat[disabled]:hover{background-color:#DFDFDF !important;color:#9F9F9F !important}.btn,.btn-large,.btn-small,.btn-floating,.btn-large,.btn-small,.btn-flat{font-size:14px;outline:0}.btn i,.btn-large i,.btn-small i,.btn-floating i,.btn-large i,.btn-small i,.btn-flat i{font-size:1.3rem;line-height:inherit}.btn:focus,.btn-large:focus,.btn-small:focus,.btn-floating:focus{background-color:#1d7d74}.btn,.btn-large,.btn-small{text-decoration:none;color:#fff;background-color:#26a69a;text-align:center;letter-spacing:.5px;-webkit-transition:background-color .2s ease-out;transition:background-color .2s ease-out;cursor:pointer}.btn:hover,.btn-large:hover,.btn-small:hover{background-color:#2bbbad}.btn-floating{display:inline-block;color:#fff;position:relative;overflow:hidden;z-index:1;width:40px;height:40px;line-height:40px;padding:0;background-color:#26a69a;border-radius:50%;-webkit-transition:background-color .3s;transition:background-color .3s;cursor:pointer;vertical-align:middle}.btn-floating:hover{background-color:#26a69a}.btn-floating:before{border-radius:0}.btn-floating.btn-large{width:56px;height:56px;padding:0}.btn-floating.btn-large.halfway-fab{bottom:-28px}.btn-floating.btn-large i{line-height:56px}.btn-floating.btn-small{width:32.4px;height:32.4px}.btn-floating.btn-small.halfway-fab{bottom:-16.2px}.btn-floating.btn-small i{line-height:32.4px}.btn-floating.halfway-fab{position:absolute;right:24px;bottom:-20px}.btn-floating.halfway-fab.left{right:auto;left:24px}.btn-floating i{width:inherit;display:inline-block;text-align:center;color:#fff;font-size:1.6rem;line-height:40px}button.btn-floating{border:none}.fixed-action-btn{position:fixed;right:23px;bottom:23px;padding-top:15px;margin-bottom:0;z-index:997}.fixed-action-btn.active ul{visibility:visible}.fixed-action-btn.direction-left,.fixed-action-btn.direction-right{padding:0 0 0 15px}.fixed-action-btn.direction-left ul,.fixed-action-btn.direction-right ul{text-align:right;right:64px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:100%;left:auto;width:500px}.fixed-action-btn.direction-left ul li,.fixed-action-btn.direction-right ul li{display:inline-block;margin:7.5px 15px 0 0}.fixed-action-btn.direction-right{padding:0 15px 0 0}.fixed-action-btn.direction-right ul{text-align:left;direction:rtl;left:64px;right:auto}.fixed-action-btn.direction-right ul li{margin:7.5px 0 0 15px}.fixed-action-btn.direction-bottom{padding:0 0 15px 0}.fixed-action-btn.direction-bottom ul{top:64px;bottom:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.fixed-action-btn.direction-bottom ul li{margin:15px 0 0 0}.fixed-action-btn.toolbar{padding:0;height:56px}.fixed-action-btn.toolbar.active>a i{opacity:0}.fixed-action-btn.toolbar ul{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;top:0;bottom:0;z-index:1}.fixed-action-btn.toolbar ul li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:inline-block;margin:0;height:100%;-webkit-transition:none;transition:none}.fixed-action-btn.toolbar ul li a{display:block;overflow:hidden;position:relative;width:100%;height:100%;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;color:#fff;line-height:56px;z-index:1}.fixed-action-btn.toolbar ul li a i{line-height:inherit}.fixed-action-btn ul{left:0;right:0;text-align:center;position:absolute;bottom:64px;margin:0;visibility:hidden}.fixed-action-btn ul li{margin-bottom:15px}.fixed-action-btn ul a.btn-floating{opacity:0}.fixed-action-btn .fab-backdrop{position:absolute;top:0;left:0;z-index:-1;width:40px;height:40px;background-color:#26a69a;border-radius:50%;-webkit-transform:scale(0);transform:scale(0)}.btn-flat{-webkit-box-shadow:none;box-shadow:none;background-color:transparent;color:#343434;cursor:pointer;-webkit-transition:background-color .2s;transition:background-color .2s}.btn-flat:focus,.btn-flat:hover{-webkit-box-shadow:none;box-shadow:none}.btn-flat:focus{background-color:rgba(0,0,0,0.1)}.btn-flat.disabled,.btn-flat.btn-flat[disabled]{background-color:transparent !important;color:#b3b2b2 !important;cursor:default}.btn-large{height:54px;line-height:54px;font-size:15px;padding:0 28px}.btn-large i{font-size:1.6rem}.btn-small{height:32.4px;line-height:32.4px;font-size:13px}.btn-small i{font-size:1.2rem}.btn-block{display:block}.dropdown-content{background-color:#fff;margin:0;display:none;min-width:100px;overflow-y:auto;opacity:0;position:absolute;left:0;top:0;z-index:9999;-webkit-transform-origin:0 0;transform-origin:0 0}.dropdown-content:focus{outline:0}.dropdown-content li{clear:both;color:rgba(0,0,0,0.87);cursor:pointer;min-height:50px;line-height:1.5rem;width:100%;text-align:left}.dropdown-content li:hover,.dropdown-content li.active{background-color:#eee}.dropdown-content li:focus{outline:none}.dropdown-content li.divider{min-height:0;height:1px}.dropdown-content li>a,.dropdown-content li>span{font-size:16px;color:#26a69a;display:block;line-height:22px;padding:14px 16px}.dropdown-content li>span>label{top:1px;left:0;height:18px}.dropdown-content li>a>i{height:inherit;line-height:inherit;float:left;margin:0 24px 0 0;width:24px}body.keyboard-focused .dropdown-content li:focus{background-color:#dadada}.input-field.col .dropdown-content [type=\"checkbox\"]+label{top:1px;left:0;height:18px;-webkit-transform:none;transform:none}.dropdown-trigger{cursor:pointer}/*!\r\n * Waves v0.6.0\r\n * http://fian.my.id/Waves\r\n *\r\n * Copyright 2014 Alfiana E. Sibuea and other contributors\r\n * Released under the MIT license\r\n * https://github.com/fians/Waves/blob/master/LICENSE\r\n */.waves-effect{position:relative;cursor:pointer;display:inline-block;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle;z-index:1;-webkit-transition:.3s ease-out;transition:.3s ease-out}.waves-effect .waves-ripple{position:absolute;border-radius:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;opacity:0;background:rgba(0,0,0,0.2);-webkit-transition:all 0.7s ease-out;transition:all 0.7s ease-out;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;-webkit-transform:scale(0);transform:scale(0);pointer-events:none}.waves-effect.waves-light .waves-ripple{background-color:rgba(255,255,255,0.45)}.waves-effect.waves-red .waves-ripple{background-color:rgba(244,67,54,0.7)}.waves-effect.waves-yellow .waves-ripple{background-color:rgba(255,235,59,0.7)}.waves-effect.waves-orange .waves-ripple{background-color:rgba(255,152,0,0.7)}.waves-effect.waves-purple .waves-ripple{background-color:rgba(156,39,176,0.7)}.waves-effect.waves-green .waves-ripple{background-color:rgba(76,175,80,0.7)}.waves-effect.waves-teal .waves-ripple{background-color:rgba(0,150,136,0.7)}.waves-effect input[type=\"button\"],.waves-effect input[type=\"reset\"],.waves-effect input[type=\"submit\"]{border:0;font-style:normal;font-size:inherit;text-transform:inherit;background:none}.waves-effect img{position:relative;z-index:-1}.waves-notransition{-webkit-transition:none !important;transition:none !important}.waves-circle{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle, white 100%, black 100%)}.waves-input-wrapper{border-radius:0.2em;vertical-align:bottom}.waves-input-wrapper .waves-button-input{position:relative;top:0;left:0;z-index:1}.waves-circle{text-align:center;width:2.5em;height:2.5em;line-height:2.5em;border-radius:50%;-webkit-mask-image:none}.waves-block{display:block}.waves-effect .waves-ripple{z-index:-1}.modal{display:none;position:fixed;left:0;right:0;background-color:#fafafa;padding:0;max-height:70%;width:55%;margin:auto;overflow-y:auto;border-radius:2px;will-change:top, opacity}.modal:focus{outline:none}@media only screen and (max-width: 992px){.modal{width:80%}}.modal h1,.modal h2,.modal h3,.modal h4{margin-top:0}.modal .modal-content{padding:24px}.modal .modal-close{cursor:pointer}.modal .modal-footer{border-radius:0 0 2px 2px;background-color:#fafafa;padding:4px 6px;height:56px;width:100%;text-align:right}.modal .modal-footer .btn,.modal .modal-footer .btn-large,.modal .modal-footer .btn-small,.modal .modal-footer .btn-flat{margin:6px 0}.modal-overlay{position:fixed;z-index:999;top:-25%;left:0;bottom:0;right:0;height:125%;width:100%;background:#000;display:none;will-change:opacity}.modal.modal-fixed-footer{padding:0;height:70%}.modal.modal-fixed-footer .modal-content{position:absolute;height:calc(100% - 56px);max-height:100%;width:100%;overflow-y:auto}.modal.modal-fixed-footer .modal-footer{border-top:1px solid rgba(0,0,0,0.1);position:absolute;bottom:0}.modal.bottom-sheet{top:auto;bottom:-100%;margin:0;width:100%;max-height:45%;border-radius:0;will-change:bottom, opacity}.collapsible{border-top:1px solid #ddd;border-right:1px solid #ddd;border-left:1px solid #ddd;margin:.5rem 0 1rem 0}.collapsible-header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-tap-highlight-color:transparent;line-height:1.5;padding:1rem;background-color:#fff;border-bottom:1px solid #ddd}.collapsible-header:focus{outline:0}.collapsible-header i{width:2rem;font-size:1.6rem;display:inline-block;text-align:center;margin-right:1rem}.keyboard-focused .collapsible-header:focus{background-color:#eee}.collapsible-body{display:none;border-bottom:1px solid #ddd;-webkit-box-sizing:border-box;box-sizing:border-box;padding:2rem}.sidenav .collapsible,.sidenav.fixed .collapsible{border:none;-webkit-box-shadow:none;box-shadow:none}.sidenav .collapsible li,.sidenav.fixed .collapsible li{padding:0}.sidenav .collapsible-header,.sidenav.fixed .collapsible-header{background-color:transparent;border:none;line-height:inherit;height:inherit;padding:0 16px}.sidenav .collapsible-header:hover,.sidenav.fixed .collapsible-header:hover{background-color:rgba(0,0,0,0.05)}.sidenav .collapsible-header i,.sidenav.fixed .collapsible-header i{line-height:inherit}.sidenav .collapsible-body,.sidenav.fixed .collapsible-body{border:0;background-color:#fff}.sidenav .collapsible-body li a,.sidenav.fixed .collapsible-body li a{padding:0 23.5px 0 31px}.collapsible.popout{border:none;-webkit-box-shadow:none;box-shadow:none}.collapsible.popout>li{-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);margin:0 24px;-webkit-transition:margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);transition:margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.collapsible.popout>li.active{-webkit-box-shadow:0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);box-shadow:0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);margin:16px 0}.chip{display:inline-block;height:32px;font-size:13px;font-weight:500;color:rgba(0,0,0,0.6);line-height:32px;padding:0 12px;border-radius:16px;background-color:#e4e4e4;margin-bottom:5px;margin-right:5px}.chip:focus{outline:none;background-color:#26a69a;color:#fff}.chip>img{float:left;margin:0 8px 0 -12px;height:32px;width:32px;border-radius:50%}.chip .close{cursor:pointer;float:right;font-size:16px;line-height:32px;padding-left:8px}.chips{border:none;border-bottom:1px solid #9e9e9e;-webkit-box-shadow:none;box-shadow:none;margin:0 0 8px 0;min-height:45px;outline:none;-webkit-transition:all .3s;transition:all .3s}.chips.focus{border-bottom:1px solid #26a69a;-webkit-box-shadow:0 1px 0 0 #26a69a;box-shadow:0 1px 0 0 #26a69a}.chips:hover{cursor:text}.chips .input{background:none;border:0;color:rgba(0,0,0,0.6);display:inline-block;font-size:16px;height:3rem;line-height:32px;outline:0;margin:0;padding:0 !important;width:120px !important}.chips .input:focus{border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.chips .autocomplete-content{margin-top:0;margin-bottom:0}.prefix ~ .chips{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.chips:empty ~ label{font-size:0.8rem;-webkit-transform:translateY(-140%);transform:translateY(-140%)}.materialboxed{display:block;cursor:-webkit-zoom-in;cursor:zoom-in;position:relative;-webkit-transition:opacity .4s;transition:opacity .4s;-webkit-backface-visibility:hidden}.materialboxed:hover:not(.active){opacity:.8}.materialboxed.active{cursor:-webkit-zoom-out;cursor:zoom-out}#materialbox-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#292929;z-index:1000;will-change:opacity}.materialbox-caption{position:fixed;display:none;color:#fff;line-height:50px;bottom:0;left:0;width:100%;text-align:center;padding:0% 15%;height:50px;z-index:1000;-webkit-font-smoothing:antialiased}select:focus{outline:1px solid #c9f3ef}button:focus{outline:none;background-color:#2ab7a9}label{font-size:.8rem;color:#9e9e9e}::-webkit-input-placeholder{color:#d1d1d1}::-moz-placeholder{color:#d1d1d1}:-ms-input-placeholder{color:#d1d1d1}::-ms-input-placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}input:not([type]),input[type=text]:not(.browser-default),input[type=password]:not(.browser-default),input[type=email]:not(.browser-default),input[type=url]:not(.browser-default),input[type=time]:not(.browser-default),input[type=date]:not(.browser-default),input[type=datetime]:not(.browser-default),input[type=datetime-local]:not(.browser-default),input[type=tel]:not(.browser-default),input[type=number]:not(.browser-default),input[type=search]:not(.browser-default),textarea.materialize-textarea{background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;height:3rem;width:100%;font-size:16px;margin:0 0 8px 0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition:border .3s, -webkit-box-shadow .3s;transition:border .3s, -webkit-box-shadow .3s;transition:box-shadow .3s, border .3s;transition:box-shadow .3s, border .3s, -webkit-box-shadow .3s}input:not([type]):disabled,input:not([type])[readonly=\"readonly\"],input[type=text]:not(.browser-default):disabled,input[type=text]:not(.browser-default)[readonly=\"readonly\"],input[type=password]:not(.browser-default):disabled,input[type=password]:not(.browser-default)[readonly=\"readonly\"],input[type=email]:not(.browser-default):disabled,input[type=email]:not(.browser-default)[readonly=\"readonly\"],input[type=url]:not(.browser-default):disabled,input[type=url]:not(.browser-default)[readonly=\"readonly\"],input[type=time]:not(.browser-default):disabled,input[type=time]:not(.browser-default)[readonly=\"readonly\"],input[type=date]:not(.browser-default):disabled,input[type=date]:not(.browser-default)[readonly=\"readonly\"],input[type=datetime]:not(.browser-default):disabled,input[type=datetime]:not(.browser-default)[readonly=\"readonly\"],input[type=datetime-local]:not(.browser-default):disabled,input[type=datetime-local]:not(.browser-default)[readonly=\"readonly\"],input[type=tel]:not(.browser-default):disabled,input[type=tel]:not(.browser-default)[readonly=\"readonly\"],input[type=number]:not(.browser-default):disabled,input[type=number]:not(.browser-default)[readonly=\"readonly\"],input[type=search]:not(.browser-default):disabled,input[type=search]:not(.browser-default)[readonly=\"readonly\"],textarea.materialize-textarea:disabled,textarea.materialize-textarea[readonly=\"readonly\"]{color:rgba(0,0,0,0.42);border-bottom:1px dotted rgba(0,0,0,0.42)}input:not([type]):disabled+label,input:not([type])[readonly=\"readonly\"]+label,input[type=text]:not(.browser-default):disabled+label,input[type=text]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=password]:not(.browser-default):disabled+label,input[type=password]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=email]:not(.browser-default):disabled+label,input[type=email]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=url]:not(.browser-default):disabled+label,input[type=url]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=time]:not(.browser-default):disabled+label,input[type=time]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=date]:not(.browser-default):disabled+label,input[type=date]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=datetime]:not(.browser-default):disabled+label,input[type=datetime]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=datetime-local]:not(.browser-default):disabled+label,input[type=datetime-local]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=tel]:not(.browser-default):disabled+label,input[type=tel]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=number]:not(.browser-default):disabled+label,input[type=number]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=search]:not(.browser-default):disabled+label,input[type=search]:not(.browser-default)[readonly=\"readonly\"]+label,textarea.materialize-textarea:disabled+label,textarea.materialize-textarea[readonly=\"readonly\"]+label{color:rgba(0,0,0,0.42)}input:not([type]):focus:not([readonly]),input[type=text]:not(.browser-default):focus:not([readonly]),input[type=password]:not(.browser-default):focus:not([readonly]),input[type=email]:not(.browser-default):focus:not([readonly]),input[type=url]:not(.browser-default):focus:not([readonly]),input[type=time]:not(.browser-default):focus:not([readonly]),input[type=date]:not(.browser-default):focus:not([readonly]),input[type=datetime]:not(.browser-default):focus:not([readonly]),input[type=datetime-local]:not(.browser-default):focus:not([readonly]),input[type=tel]:not(.browser-default):focus:not([readonly]),input[type=number]:not(.browser-default):focus:not([readonly]),input[type=search]:not(.browser-default):focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #26a69a;-webkit-box-shadow:0 1px 0 0 #26a69a;box-shadow:0 1px 0 0 #26a69a}input:not([type]):focus:not([readonly])+label,input[type=text]:not(.browser-default):focus:not([readonly])+label,input[type=password]:not(.browser-default):focus:not([readonly])+label,input[type=email]:not(.browser-default):focus:not([readonly])+label,input[type=url]:not(.browser-default):focus:not([readonly])+label,input[type=time]:not(.browser-default):focus:not([readonly])+label,input[type=date]:not(.browser-default):focus:not([readonly])+label,input[type=datetime]:not(.browser-default):focus:not([readonly])+label,input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label,input[type=tel]:not(.browser-default):focus:not([readonly])+label,input[type=number]:not(.browser-default):focus:not([readonly])+label,input[type=search]:not(.browser-default):focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#26a69a}input:not([type]):focus.valid ~ label,input[type=text]:not(.browser-default):focus.valid ~ label,input[type=password]:not(.browser-default):focus.valid ~ label,input[type=email]:not(.browser-default):focus.valid ~ label,input[type=url]:not(.browser-default):focus.valid ~ label,input[type=time]:not(.browser-default):focus.valid ~ label,input[type=date]:not(.browser-default):focus.valid ~ label,input[type=datetime]:not(.browser-default):focus.valid ~ label,input[type=datetime-local]:not(.browser-default):focus.valid ~ label,input[type=tel]:not(.browser-default):focus.valid ~ label,input[type=number]:not(.browser-default):focus.valid ~ label,input[type=search]:not(.browser-default):focus.valid ~ label,textarea.materialize-textarea:focus.valid ~ label{color:#4CAF50}input:not([type]):focus.invalid ~ label,input[type=text]:not(.browser-default):focus.invalid ~ label,input[type=password]:not(.browser-default):focus.invalid ~ label,input[type=email]:not(.browser-default):focus.invalid ~ label,input[type=url]:not(.browser-default):focus.invalid ~ label,input[type=time]:not(.browser-default):focus.invalid ~ label,input[type=date]:not(.browser-default):focus.invalid ~ label,input[type=datetime]:not(.browser-default):focus.invalid ~ label,input[type=datetime-local]:not(.browser-default):focus.invalid ~ label,input[type=tel]:not(.browser-default):focus.invalid ~ label,input[type=number]:not(.browser-default):focus.invalid ~ label,input[type=search]:not(.browser-default):focus.invalid ~ label,textarea.materialize-textarea:focus.invalid ~ label{color:#F44336}input:not([type]).validate+label,input[type=text]:not(.browser-default).validate+label,input[type=password]:not(.browser-default).validate+label,input[type=email]:not(.browser-default).validate+label,input[type=url]:not(.browser-default).validate+label,input[type=time]:not(.browser-default).validate+label,input[type=date]:not(.browser-default).validate+label,input[type=datetime]:not(.browser-default).validate+label,input[type=datetime-local]:not(.browser-default).validate+label,input[type=tel]:not(.browser-default).validate+label,input[type=number]:not(.browser-default).validate+label,input[type=search]:not(.browser-default).validate+label,textarea.materialize-textarea.validate+label{width:100%}input.valid:not([type]),input.valid:not([type]):focus,input.valid[type=text]:not(.browser-default),input.valid[type=text]:not(.browser-default):focus,input.valid[type=password]:not(.browser-default),input.valid[type=password]:not(.browser-default):focus,input.valid[type=email]:not(.browser-default),input.valid[type=email]:not(.browser-default):focus,input.valid[type=url]:not(.browser-default),input.valid[type=url]:not(.browser-default):focus,input.valid[type=time]:not(.browser-default),input.valid[type=time]:not(.browser-default):focus,input.valid[type=date]:not(.browser-default),input.valid[type=date]:not(.browser-default):focus,input.valid[type=datetime]:not(.browser-default),input.valid[type=datetime]:not(.browser-default):focus,input.valid[type=datetime-local]:not(.browser-default),input.valid[type=datetime-local]:not(.browser-default):focus,input.valid[type=tel]:not(.browser-default),input.valid[type=tel]:not(.browser-default):focus,input.valid[type=number]:not(.browser-default),input.valid[type=number]:not(.browser-default):focus,input.valid[type=search]:not(.browser-default),input.valid[type=search]:not(.browser-default):focus,textarea.materialize-textarea.valid,textarea.materialize-textarea.valid:focus,.select-wrapper.valid>input.select-dropdown{border-bottom:1px solid #4CAF50;-webkit-box-shadow:0 1px 0 0 #4CAF50;box-shadow:0 1px 0 0 #4CAF50}input.invalid:not([type]),input.invalid:not([type]):focus,input.invalid[type=text]:not(.browser-default),input.invalid[type=text]:not(.browser-default):focus,input.invalid[type=password]:not(.browser-default),input.invalid[type=password]:not(.browser-default):focus,input.invalid[type=email]:not(.browser-default),input.invalid[type=email]:not(.browser-default):focus,input.invalid[type=url]:not(.browser-default),input.invalid[type=url]:not(.browser-default):focus,input.invalid[type=time]:not(.browser-default),input.invalid[type=time]:not(.browser-default):focus,input.invalid[type=date]:not(.browser-default),input.invalid[type=date]:not(.browser-default):focus,input.invalid[type=datetime]:not(.browser-default),input.invalid[type=datetime]:not(.browser-default):focus,input.invalid[type=datetime-local]:not(.browser-default),input.invalid[type=datetime-local]:not(.browser-default):focus,input.invalid[type=tel]:not(.browser-default),input.invalid[type=tel]:not(.browser-default):focus,input.invalid[type=number]:not(.browser-default),input.invalid[type=number]:not(.browser-default):focus,input.invalid[type=search]:not(.browser-default),input.invalid[type=search]:not(.browser-default):focus,textarea.materialize-textarea.invalid,textarea.materialize-textarea.invalid:focus,.select-wrapper.invalid>input.select-dropdown,.select-wrapper.invalid>input.select-dropdown:focus{border-bottom:1px solid #F44336;-webkit-box-shadow:0 1px 0 0 #F44336;box-shadow:0 1px 0 0 #F44336}input:not([type]).valid ~ .helper-text[data-success],input:not([type]):focus.valid ~ .helper-text[data-success],input:not([type]).invalid ~ .helper-text[data-error],input:not([type]):focus.invalid ~ .helper-text[data-error],input[type=text]:not(.browser-default).valid ~ .helper-text[data-success],input[type=text]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=text]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=text]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=password]:not(.browser-default).valid ~ .helper-text[data-success],input[type=password]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=password]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=password]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=email]:not(.browser-default).valid ~ .helper-text[data-success],input[type=email]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=email]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=email]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=url]:not(.browser-default).valid ~ .helper-text[data-success],input[type=url]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=url]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=url]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=time]:not(.browser-default).valid ~ .helper-text[data-success],input[type=time]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=time]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=time]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=date]:not(.browser-default).valid ~ .helper-text[data-success],input[type=date]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=date]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=date]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=datetime]:not(.browser-default).valid ~ .helper-text[data-success],input[type=datetime]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=datetime]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=datetime]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=datetime-local]:not(.browser-default).valid ~ .helper-text[data-success],input[type=datetime-local]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=datetime-local]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=datetime-local]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=tel]:not(.browser-default).valid ~ .helper-text[data-success],input[type=tel]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=tel]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=tel]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=number]:not(.browser-default).valid ~ .helper-text[data-success],input[type=number]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=number]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=number]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=search]:not(.browser-default).valid ~ .helper-text[data-success],input[type=search]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=search]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=search]:not(.browser-default):focus.invalid ~ .helper-text[data-error],textarea.materialize-textarea.valid ~ .helper-text[data-success],textarea.materialize-textarea:focus.valid ~ .helper-text[data-success],textarea.materialize-textarea.invalid ~ .helper-text[data-error],textarea.materialize-textarea:focus.invalid ~ .helper-text[data-error],.select-wrapper.valid .helper-text[data-success],.select-wrapper.invalid ~ .helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input:not([type]).valid ~ .helper-text:after,input:not([type]):focus.valid ~ .helper-text:after,input[type=text]:not(.browser-default).valid ~ .helper-text:after,input[type=text]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=password]:not(.browser-default).valid ~ .helper-text:after,input[type=password]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=email]:not(.browser-default).valid ~ .helper-text:after,input[type=email]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=url]:not(.browser-default).valid ~ .helper-text:after,input[type=url]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=time]:not(.browser-default).valid ~ .helper-text:after,input[type=time]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=date]:not(.browser-default).valid ~ .helper-text:after,input[type=date]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=datetime]:not(.browser-default).valid ~ .helper-text:after,input[type=datetime]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default).valid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=tel]:not(.browser-default).valid ~ .helper-text:after,input[type=tel]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=number]:not(.browser-default).valid ~ .helper-text:after,input[type=number]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=search]:not(.browser-default).valid ~ .helper-text:after,input[type=search]:not(.browser-default):focus.valid ~ .helper-text:after,textarea.materialize-textarea.valid ~ .helper-text:after,textarea.materialize-textarea:focus.valid ~ .helper-text:after,.select-wrapper.valid ~ .helper-text:after{content:attr(data-success);color:#4CAF50}input:not([type]).invalid ~ .helper-text:after,input:not([type]):focus.invalid ~ .helper-text:after,input[type=text]:not(.browser-default).invalid ~ .helper-text:after,input[type=text]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=password]:not(.browser-default).invalid ~ .helper-text:after,input[type=password]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=email]:not(.browser-default).invalid ~ .helper-text:after,input[type=email]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=url]:not(.browser-default).invalid ~ .helper-text:after,input[type=url]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=time]:not(.browser-default).invalid ~ .helper-text:after,input[type=time]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=date]:not(.browser-default).invalid ~ .helper-text:after,input[type=date]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=datetime]:not(.browser-default).invalid ~ .helper-text:after,input[type=datetime]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default).invalid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=tel]:not(.browser-default).invalid ~ .helper-text:after,input[type=tel]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=number]:not(.browser-default).invalid ~ .helper-text:after,input[type=number]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=search]:not(.browser-default).invalid ~ .helper-text:after,input[type=search]:not(.browser-default):focus.invalid ~ .helper-text:after,textarea.materialize-textarea.invalid ~ .helper-text:after,textarea.materialize-textarea:focus.invalid ~ .helper-text:after,.select-wrapper.invalid ~ .helper-text:after{content:attr(data-error);color:#F44336}input:not([type])+label:after,input[type=text]:not(.browser-default)+label:after,input[type=password]:not(.browser-default)+label:after,input[type=email]:not(.browser-default)+label:after,input[type=url]:not(.browser-default)+label:after,input[type=time]:not(.browser-default)+label:after,input[type=date]:not(.browser-default)+label:after,input[type=datetime]:not(.browser-default)+label:after,input[type=datetime-local]:not(.browser-default)+label:after,input[type=tel]:not(.browser-default)+label:after,input[type=number]:not(.browser-default)+label:after,input[type=search]:not(.browser-default)+label:after,textarea.materialize-textarea+label:after,.select-wrapper+label:after{display:block;content:\"\";position:absolute;top:100%;left:0;opacity:0;-webkit-transition:.2s opacity ease-out, .2s color ease-out;transition:.2s opacity ease-out, .2s color ease-out}.input-field{position:relative;margin-top:1rem;margin-bottom:1rem}.input-field.inline{display:inline-block;vertical-align:middle;margin-left:5px}.input-field.inline input,.input-field.inline .select-dropdown{margin-bottom:1rem}.input-field.col label{left:.75rem}.input-field.col .prefix ~ label,.input-field.col .prefix ~ .validate ~ label{width:calc(100% - 3rem - 1.5rem)}.input-field>label{color:#9e9e9e;position:absolute;top:0;left:0;font-size:1rem;cursor:text;-webkit-transition:color .2s ease-out, -webkit-transform .2s ease-out;transition:color .2s ease-out, -webkit-transform .2s ease-out;transition:transform .2s ease-out, color .2s ease-out;transition:transform .2s ease-out, color .2s ease-out, -webkit-transform .2s ease-out;-webkit-transform-origin:0% 100%;transform-origin:0% 100%;text-align:initial;-webkit-transform:translateY(12px);transform:translateY(12px)}.input-field>label:not(.label-icon).active{-webkit-transform:translateY(-14px) scale(0.8);transform:translateY(-14px) scale(0.8);-webkit-transform-origin:0 0;transform-origin:0 0}.input-field>input[type]:-webkit-autofill:not(.browser-default):not([type=\"search\"])+label,.input-field>input[type=date]:not(.browser-default)+label,.input-field>input[type=time]:not(.browser-default)+label{-webkit-transform:translateY(-14px) scale(0.8);transform:translateY(-14px) scale(0.8);-webkit-transform-origin:0 0;transform-origin:0 0}.input-field .helper-text{position:relative;min-height:18px;display:block;font-size:12px;color:rgba(0,0,0,0.54)}.input-field .helper-text::after{opacity:1;position:absolute;top:0;left:0}.input-field .prefix{position:absolute;width:3rem;font-size:2rem;-webkit-transition:color .2s;transition:color .2s;top:.5rem}.input-field .prefix.active{color:#26a69a}.input-field .prefix ~ input,.input-field .prefix ~ textarea,.input-field .prefix ~ label,.input-field .prefix ~ .validate ~ label,.input-field .prefix ~ .helper-text,.input-field .prefix ~ .autocomplete-content{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.input-field .prefix ~ label{margin-left:3rem}@media only screen and (max-width: 992px){.input-field .prefix ~ input{width:86%;width:calc(100% - 3rem)}}@media only screen and (max-width: 600px){.input-field .prefix ~ input{width:80%;width:calc(100% - 3rem)}}.input-field input[type=search]{display:block;line-height:inherit;-webkit-transition:.3s background-color;transition:.3s background-color}.nav-wrapper .input-field input[type=search]{height:inherit;padding-left:4rem;width:calc(100% - 4rem);border:0;-webkit-box-shadow:none;box-shadow:none}.input-field input[type=search]:focus:not(.browser-default){background-color:#fff;border:0;-webkit-box-shadow:none;box-shadow:none;color:#444}.input-field input[type=search]:focus:not(.browser-default)+label i,.input-field input[type=search]:focus:not(.browser-default) ~ .mdi-navigation-close,.input-field input[type=search]:focus:not(.browser-default) ~ .material-icons{color:#444}.input-field input[type=search]+.label-icon{-webkit-transform:none;transform:none;left:1rem}.input-field input[type=search] ~ .mdi-navigation-close,.input-field input[type=search] ~ .material-icons{position:absolute;top:0;right:1rem;color:transparent;cursor:pointer;font-size:2rem;-webkit-transition:.3s color;transition:.3s color}textarea{width:100%;height:3rem;background-color:transparent}textarea.materialize-textarea{line-height:normal;overflow-y:hidden;padding:.8rem 0 .8rem 0;resize:none;min-height:3rem;-webkit-box-sizing:border-box;box-sizing:border-box}.hiddendiv{visibility:hidden;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;padding-top:1.2rem;position:absolute;top:0;z-index:-1}.autocomplete-content li .highlight{color:#444}.autocomplete-content li img{height:40px;width:40px;margin:5px 15px}.character-counter{min-height:18px}[type=\"radio\"]:not(:checked),[type=\"radio\"]:checked{position:absolute;opacity:0;pointer-events:none}[type=\"radio\"]:not(:checked)+span,[type=\"radio\"]:checked+span{position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;-webkit-transition:.28s ease;transition:.28s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[type=\"radio\"]+span:before,[type=\"radio\"]+span:after{content:'';position:absolute;left:0;top:0;margin:4px;width:16px;height:16px;z-index:0;-webkit-transition:.28s ease;transition:.28s ease}[type=\"radio\"]:not(:checked)+span:before,[type=\"radio\"]:not(:checked)+span:after,[type=\"radio\"]:checked+span:before,[type=\"radio\"]:checked+span:after,[type=\"radio\"].with-gap:checked+span:before,[type=\"radio\"].with-gap:checked+span:after{border-radius:50%}[type=\"radio\"]:not(:checked)+span:before,[type=\"radio\"]:not(:checked)+span:after{border:2px solid #5a5a5a}[type=\"radio\"]:not(:checked)+span:after{-webkit-transform:scale(0);transform:scale(0)}[type=\"radio\"]:checked+span:before{border:2px solid transparent}[type=\"radio\"]:checked+span:after,[type=\"radio\"].with-gap:checked+span:before,[type=\"radio\"].with-gap:checked+span:after{border:2px solid #26a69a}[type=\"radio\"]:checked+span:after,[type=\"radio\"].with-gap:checked+span:after{background-color:#26a69a}[type=\"radio\"]:checked+span:after{-webkit-transform:scale(1.02);transform:scale(1.02)}[type=\"radio\"].with-gap:checked+span:after{-webkit-transform:scale(0.5);transform:scale(0.5)}[type=\"radio\"].tabbed:focus+span:before{-webkit-box-shadow:0 0 0 10px rgba(0,0,0,0.1);box-shadow:0 0 0 10px rgba(0,0,0,0.1)}[type=\"radio\"].with-gap:disabled:checked+span:before{border:2px solid rgba(0,0,0,0.42)}[type=\"radio\"].with-gap:disabled:checked+span:after{border:none;background-color:rgba(0,0,0,0.42)}[type=\"radio\"]:disabled:not(:checked)+span:before,[type=\"radio\"]:disabled:checked+span:before{background-color:transparent;border-color:rgba(0,0,0,0.42)}[type=\"radio\"]:disabled+span{color:rgba(0,0,0,0.42)}[type=\"radio\"]:disabled:not(:checked)+span:before{border-color:rgba(0,0,0,0.42)}[type=\"radio\"]:disabled:checked+span:after{background-color:rgba(0,0,0,0.42);border-color:#949494}[type=\"checkbox\"]:not(:checked),[type=\"checkbox\"]:checked{position:absolute;opacity:0;pointer-events:none}[type=\"checkbox\"]+span:not(.lever){position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[type=\"checkbox\"]+span:not(.lever):before,[type=\"checkbox\"]:not(.filled-in)+span:not(.lever):after{content:'';position:absolute;top:0;left:0;width:18px;height:18px;z-index:0;border:2px solid #5a5a5a;border-radius:1px;margin-top:3px;-webkit-transition:.2s;transition:.2s}[type=\"checkbox\"]:not(.filled-in)+span:not(.lever):after{border:0;-webkit-transform:scale(0);transform:scale(0)}[type=\"checkbox\"]:not(:checked):disabled+span:not(.lever):before{border:none;background-color:rgba(0,0,0,0.42)}[type=\"checkbox\"].tabbed:focus+span:not(.lever):after{-webkit-transform:scale(1);transform:scale(1);border:0;border-radius:50%;-webkit-box-shadow:0 0 0 10px rgba(0,0,0,0.1);box-shadow:0 0 0 10px rgba(0,0,0,0.1);background-color:rgba(0,0,0,0.1)}[type=\"checkbox\"]:checked+span:not(.lever):before{top:-4px;left:-5px;width:12px;height:22px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #26a69a;border-bottom:2px solid #26a69a;-webkit-transform:rotate(40deg);transform:rotate(40deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=\"checkbox\"]:checked:disabled+span:before{border-right:2px solid rgba(0,0,0,0.42);border-bottom:2px solid rgba(0,0,0,0.42)}[type=\"checkbox\"]:indeterminate+span:not(.lever):before{top:-11px;left:-12px;width:10px;height:22px;border-top:none;border-left:none;border-right:2px solid #26a69a;border-bottom:none;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=\"checkbox\"]:indeterminate:disabled+span:not(.lever):before{border-right:2px solid rgba(0,0,0,0.42);background-color:transparent}[type=\"checkbox\"].filled-in+span:not(.lever):after{border-radius:2px}[type=\"checkbox\"].filled-in+span:not(.lever):before,[type=\"checkbox\"].filled-in+span:not(.lever):after{content:'';left:0;position:absolute;-webkit-transition:border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;transition:border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;z-index:1}[type=\"checkbox\"].filled-in:not(:checked)+span:not(.lever):before{width:0;height:0;border:3px solid transparent;left:6px;top:10px;-webkit-transform:rotateZ(37deg);transform:rotateZ(37deg);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=\"checkbox\"].filled-in:not(:checked)+span:not(.lever):after{height:20px;width:20px;background-color:transparent;border:2px solid #5a5a5a;top:0px;z-index:0}[type=\"checkbox\"].filled-in:checked+span:not(.lever):before{top:0;left:1px;width:8px;height:13px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #fff;border-bottom:2px solid #fff;-webkit-transform:rotateZ(37deg);transform:rotateZ(37deg);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=\"checkbox\"].filled-in:checked+span:not(.lever):after{top:0;width:20px;height:20px;border:2px solid #26a69a;background-color:#26a69a;z-index:0}[type=\"checkbox\"].filled-in.tabbed:focus+span:not(.lever):after{border-radius:2px;border-color:#5a5a5a;background-color:rgba(0,0,0,0.1)}[type=\"checkbox\"].filled-in.tabbed:checked:focus+span:not(.lever):after{border-radius:2px;background-color:#26a69a;border-color:#26a69a}[type=\"checkbox\"].filled-in:disabled:not(:checked)+span:not(.lever):before{background-color:transparent;border:2px solid transparent}[type=\"checkbox\"].filled-in:disabled:not(:checked)+span:not(.lever):after{border-color:transparent;background-color:#949494}[type=\"checkbox\"].filled-in:disabled:checked+span:not(.lever):before{background-color:transparent}[type=\"checkbox\"].filled-in:disabled:checked+span:not(.lever):after{background-color:#949494;border-color:#949494}.switch,.switch *{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch label{cursor:pointer}.switch label input[type=checkbox]{opacity:0;width:0;height:0}.switch label input[type=checkbox]:checked+.lever{background-color:#84c7c1}.switch label input[type=checkbox]:checked+.lever:before,.switch label input[type=checkbox]:checked+.lever:after{left:18px}.switch label input[type=checkbox]:checked+.lever:after{background-color:#26a69a}.switch label .lever{content:\"\";display:inline-block;position:relative;width:36px;height:14px;background-color:rgba(0,0,0,0.38);border-radius:15px;margin-right:10px;-webkit-transition:background 0.3s ease;transition:background 0.3s ease;vertical-align:middle;margin:0 16px}.switch label .lever:before,.switch label .lever:after{content:\"\";position:absolute;display:inline-block;width:20px;height:20px;border-radius:50%;left:0;top:-3px;-webkit-transition:left 0.3s ease, background .3s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease;transition:left 0.3s ease, background .3s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease;transition:left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;transition:left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease}.switch label .lever:before{background-color:rgba(38,166,154,0.15)}.switch label .lever:after{background-color:#F1F1F1;-webkit-box-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);box-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)}input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before{-webkit-transform:scale(2.4);transform:scale(2.4);background-color:rgba(38,166,154,0.15)}input[type=checkbox]:not(:disabled) ~ .lever:active:before,input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before{-webkit-transform:scale(2.4);transform:scale(2.4);background-color:rgba(0,0,0,0.08)}.switch input[type=checkbox][disabled]+.lever{cursor:default;background-color:rgba(0,0,0,0.12)}.switch label input[type=checkbox][disabled]+.lever:after,.switch label input[type=checkbox][disabled]:checked+.lever:after{background-color:#949494}select{display:none}select.browser-default{display:block}select{background-color:rgba(255,255,255,0.9);width:100%;padding:5px;border:1px solid #f2f2f2;border-radius:2px;height:3rem}.select-label{position:absolute}.select-wrapper{position:relative}.select-wrapper.valid+label,.select-wrapper.invalid+label{width:100%;pointer-events:none}.select-wrapper input.select-dropdown{position:relative;cursor:pointer;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;outline:none;height:3rem;line-height:3rem;width:100%;font-size:16px;margin:0 0 8px 0;padding:0;display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.select-wrapper input.select-dropdown:focus{border-bottom:1px solid #26a69a}.select-wrapper .caret{position:absolute;right:0;top:0;bottom:0;margin:auto 0;z-index:0;fill:rgba(0,0,0,0.87)}.select-wrapper+label{position:absolute;top:-26px;font-size:.8rem}select:disabled{color:rgba(0,0,0,0.42)}.select-wrapper.disabled+label{color:rgba(0,0,0,0.42)}.select-wrapper.disabled .caret{fill:rgba(0,0,0,0.42)}.select-wrapper input.select-dropdown:disabled{color:rgba(0,0,0,0.42);cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select-wrapper i{color:rgba(0,0,0,0.3)}.select-dropdown li.disabled,.select-dropdown li.disabled>span,.select-dropdown li.optgroup{color:rgba(0,0,0,0.3);background-color:transparent}body.keyboard-focused .select-dropdown.dropdown-content li:focus{background-color:rgba(0,0,0,0.08)}.select-dropdown.dropdown-content li:hover{background-color:rgba(0,0,0,0.08)}.select-dropdown.dropdown-content li.selected{background-color:rgba(0,0,0,0.03)}.prefix ~ .select-wrapper{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.prefix ~ label{margin-left:3rem}.select-dropdown li img{height:40px;width:40px;margin:5px 15px;float:right}.select-dropdown li.optgroup{border-top:1px solid #eee}.select-dropdown li.optgroup.selected>span{color:rgba(0,0,0,0.7)}.select-dropdown li.optgroup>span{color:rgba(0,0,0,0.4)}.select-dropdown li.optgroup ~ li.optgroup-option{padding-left:1rem}.file-field{position:relative}.file-field .file-path-wrapper{overflow:hidden;padding-left:10px}.file-field input.file-path{width:100%}.file-field .btn,.file-field .btn-large,.file-field .btn-small{float:left;height:3rem;line-height:3rem}.file-field span{cursor:pointer}.file-field input[type=file]{position:absolute;top:0;right:0;left:0;bottom:0;width:100%;margin:0;padding:0;font-size:20px;cursor:pointer;opacity:0;filter:alpha(opacity=0)}.file-field input[type=file]::-webkit-file-upload-button{display:none}.range-field{position:relative}input[type=range],input[type=range]+.thumb{cursor:pointer}input[type=range]{position:relative;background-color:transparent;border:none;outline:none;width:100%;margin:15px 0;padding:0}input[type=range]:focus{outline:none}input[type=range]+.thumb{position:absolute;top:10px;left:0;border:none;height:0;width:0;border-radius:50%;background-color:#26a69a;margin-left:7px;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}input[type=range]+.thumb .value{display:block;width:30px;text-align:center;color:#26a69a;font-size:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}input[type=range]+.thumb.active{border-radius:50% 50% 50% 0}input[type=range]+.thumb.active .value{color:#fff;margin-left:-1px;margin-top:8px;font-size:10px}input[type=range]{-webkit-appearance:none}input[type=range]::-webkit-slider-runnable-track{height:3px;background:#c2c0c2;border:none}input[type=range]::-webkit-slider-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s;-webkit-appearance:none;background-color:#26a69a;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;margin:-5px 0 0 0}.keyboard-focused input[type=range]:focus:not(.active)::-webkit-slider-thumb{-webkit-box-shadow:0 0 0 10px rgba(38,166,154,0.26);box-shadow:0 0 0 10px rgba(38,166,154,0.26)}input[type=range]{border:1px solid white}input[type=range]::-moz-range-track{height:3px;background:#c2c0c2;border:none}input[type=range]::-moz-focus-inner{border:0}input[type=range]::-moz-range-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s;margin-top:-5px}input[type=range]:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}.keyboard-focused input[type=range]:focus:not(.active)::-moz-range-thumb{box-shadow:0 0 0 10px rgba(38,166,154,0.26)}input[type=range]::-ms-track{height:3px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input[type=range]::-ms-fill-lower{background:#777}input[type=range]::-ms-fill-upper{background:#ddd}input[type=range]::-ms-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s}.keyboard-focused input[type=range]:focus:not(.active)::-ms-thumb{box-shadow:0 0 0 10px rgba(38,166,154,0.26)}.table-of-contents.fixed{position:fixed}.table-of-contents li{padding:2px 0}.table-of-contents a{display:inline-block;font-weight:300;color:#757575;padding-left:16px;height:1.5rem;line-height:1.5rem;letter-spacing:.4;display:inline-block}.table-of-contents a:hover{color:#a8a8a8;padding-left:15px;border-left:1px solid #ee6e73}.table-of-contents a.active{font-weight:500;padding-left:14px;border-left:2px solid #ee6e73}.sidenav{position:fixed;width:300px;left:0;top:0;margin:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);height:100%;height:calc(100% + 60px);height:-moz-calc(100%);padding-bottom:60px;background-color:#fff;z-index:999;overflow-y:auto;will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateX(-105%);transform:translateX(-105%)}.sidenav.right-aligned{right:0;-webkit-transform:translateX(105%);transform:translateX(105%);left:auto;-webkit-transform:translateX(100%);transform:translateX(100%)}.sidenav .collapsible{margin:0}.sidenav li{float:none;line-height:48px}.sidenav li.active{background-color:rgba(0,0,0,0.05)}.sidenav li>a{color:rgba(0,0,0,0.87);display:block;font-size:14px;font-weight:500;height:48px;line-height:48px;padding:0 32px}.sidenav li>a:hover{background-color:rgba(0,0,0,0.05)}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-flat,.sidenav li>a.btn-floating{margin:10px 15px}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-floating{color:#fff}.sidenav li>a.btn-flat{color:#343434}.sidenav li>a.btn:hover,.sidenav li>a.btn-large:hover,.sidenav li>a.btn-small:hover,.sidenav li>a.btn-large:hover{background-color:#2bbbad}.sidenav li>a.btn-floating:hover{background-color:#26a69a}.sidenav li>a>i,.sidenav li>a>[class^=\"mdi-\"],.sidenav li>a li>a>[class*=\"mdi-\"],.sidenav li>a>i.material-icons{float:left;height:48px;line-height:48px;margin:0 32px 0 0;width:24px;color:rgba(0,0,0,0.54)}.sidenav .divider{margin:8px 0 0 0}.sidenav .subheader{cursor:initial;pointer-events:none;color:rgba(0,0,0,0.54);font-size:14px;font-weight:500;line-height:48px}.sidenav .subheader:hover{background-color:transparent}.sidenav .user-view{position:relative;padding:32px 32px 0;margin-bottom:8px}.sidenav .user-view>a{height:auto;padding:0}.sidenav .user-view>a:hover{background-color:transparent}.sidenav .user-view .background{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.sidenav .user-view .circle,.sidenav .user-view .name,.sidenav .user-view .email{display:block}.sidenav .user-view .circle{height:64px;width:64px}.sidenav .user-view .name,.sidenav .user-view .email{font-size:14px;line-height:24px}.sidenav .user-view .name{margin-top:16px;font-weight:500}.sidenav .user-view .email{padding-bottom:16px;font-weight:400}.drag-target{height:100%;width:10px;position:fixed;top:0;z-index:998}.drag-target.right-aligned{right:0}.sidenav.sidenav-fixed{left:0;-webkit-transform:translateX(0);transform:translateX(0);position:fixed}.sidenav.sidenav-fixed.right-aligned{right:0;left:auto}@media only screen and (max-width: 992px){.sidenav.sidenav-fixed{-webkit-transform:translateX(-105%);transform:translateX(-105%)}.sidenav.sidenav-fixed.right-aligned{-webkit-transform:translateX(105%);transform:translateX(105%)}.sidenav>a{padding:0 16px}.sidenav .user-view{padding:16px 16px 0}}.sidenav .collapsible-body>ul:not(.collapsible)>li.active,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active{background-color:#ee6e73}.sidenav .collapsible-body>ul:not(.collapsible)>li.active a,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active a{color:#fff}.sidenav .collapsible-body{padding:0}.sidenav-overlay{position:fixed;top:0;left:0;right:0;opacity:0;height:120vh;background-color:rgba(0,0,0,0.5);z-index:997;display:none}.preloader-wrapper{display:inline-block;position:relative;width:50px;height:50px}.preloader-wrapper.small{width:36px;height:36px}.preloader-wrapper.big{width:64px;height:64px}.preloader-wrapper.active{-webkit-animation:container-rotate 1568ms linear infinite;animation:container-rotate 1568ms linear infinite}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(360deg)}}@keyframes container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-layer{position:absolute;width:100%;height:100%;opacity:0;border-color:#26a69a}.spinner-blue,.spinner-blue-only{border-color:#4285f4}.spinner-red,.spinner-red-only{border-color:#db4437}.spinner-yellow,.spinner-yellow-only{border-color:#f4b400}.spinner-green,.spinner-green-only{border-color:#0f9d58}.active .spinner-layer.spinner-blue{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,blue-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,blue-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-red{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,red-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,red-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-yellow{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-green{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,green-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,green-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer,.active .spinner-layer.spinner-blue-only,.active .spinner-layer.spinner-red-only,.active .spinner-layer.spinner-yellow-only,.active .spinner-layer.spinner-green-only{opacity:1;-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg)}}@keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@-webkit-keyframes blue-fade-in-out{from{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}100%{opacity:1}}@keyframes blue-fade-in-out{from{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}100%{opacity:1}}@-webkit-keyframes red-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes red-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@-webkit-keyframes yellow-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes yellow-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@-webkit-keyframes green-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}100%{opacity:0}}@keyframes green-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}100%{opacity:0}}.gap-patch{position:absolute;top:0;left:45%;width:10%;height:100%;overflow:hidden;border-color:inherit}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{display:inline-block;position:relative;width:50%;height:100%;overflow:hidden;border-color:inherit}.circle-clipper .circle{width:200%;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent !important;border-radius:50%;-webkit-animation:none;animation:none;position:absolute;top:0;right:0;bottom:0}.circle-clipper.left .circle{left:0;border-right-color:transparent !important;-webkit-transform:rotate(129deg);transform:rotate(129deg)}.circle-clipper.right .circle{left:-100%;border-left-color:transparent !important;-webkit-transform:rotate(-129deg);transform:rotate(-129deg)}.active .circle-clipper.left .circle{-webkit-animation:left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .circle-clipper.right .circle{-webkit-animation:right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@-webkit-keyframes left-spin{from{-webkit-transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg)}}@keyframes left-spin{from{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@-webkit-keyframes right-spin{from{-webkit-transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg)}}@keyframes right-spin{from{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}#spinnerContainer.cooldown{-webkit-animation:container-rotate 1568ms linear infinite,fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1);animation:container-rotate 1568ms linear infinite,fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1)}@-webkit-keyframes fade-out{from{opacity:1}to{opacity:0}}@keyframes fade-out{from{opacity:1}to{opacity:0}}.slider{position:relative;height:400px;width:100%}.slider.fullscreen{height:100%;width:100%;position:absolute;top:0;left:0;right:0;bottom:0}.slider.fullscreen ul.slides{height:100%}.slider.fullscreen ul.indicators{z-index:2;bottom:30px}.slider .slides{background-color:#9e9e9e;margin:0;height:400px}.slider .slides li{opacity:0;position:absolute;top:0;left:0;z-index:1;width:100%;height:inherit;overflow:hidden}.slider .slides li img{height:100%;width:100%;background-size:cover;background-position:center}.slider .slides li .caption{color:#fff;position:absolute;top:15%;left:15%;width:70%;opacity:0}.slider .slides li .caption p{color:#e0e0e0}.slider .slides li.active{z-index:2}.slider .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.slider .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:16px;width:16px;margin:0 12px;background-color:#e0e0e0;-webkit-transition:background-color .3s;transition:background-color .3s;border-radius:50%}.slider .indicators .indicator-item.active{background-color:#4CAF50}.carousel{overflow:hidden;position:relative;width:100%;height:400px;-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform-origin:0% 50%;transform-origin:0% 50%}.carousel.carousel-slider{top:0;left:0}.carousel.carousel-slider .carousel-fixed-item{position:absolute;left:0;right:0;bottom:20px;z-index:1}.carousel.carousel-slider .carousel-fixed-item.with-indicators{bottom:68px}.carousel.carousel-slider .carousel-item{width:100%;height:100%;min-height:400px;position:absolute;top:0;left:0}.carousel.carousel-slider .carousel-item h2{font-size:24px;font-weight:500;line-height:32px}.carousel.carousel-slider .carousel-item p{font-size:15px}.carousel .carousel-item{visibility:hidden;width:200px;height:200px;position:absolute;top:0;left:0}.carousel .carousel-item>img{width:100%}.carousel .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.carousel .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:8px;width:8px;margin:24px 4px;background-color:rgba(255,255,255,0.5);-webkit-transition:background-color .3s;transition:background-color .3s;border-radius:50%}.carousel .indicators .indicator-item.active{background-color:#fff}.carousel.scrolling .carousel-item .materialboxed,.carousel .carousel-item:not(.active) .materialboxed{pointer-events:none}.tap-target-wrapper{width:800px;height:800px;position:fixed;z-index:1000;visibility:hidden;-webkit-transition:visibility 0s .3s;transition:visibility 0s .3s}.tap-target-wrapper.open{visibility:visible;-webkit-transition:visibility 0s;transition:visibility 0s}.tap-target-wrapper.open .tap-target{-webkit-transform:scale(1);transform:scale(1);opacity:.95;-webkit-transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1)}.tap-target-wrapper.open .tap-target-wave::before{-webkit-transform:scale(1);transform:scale(1)}.tap-target-wrapper.open .tap-target-wave::after{visibility:visible;-webkit-animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;-webkit-transition:opacity .3s,\r visibility 0s 1s,\r -webkit-transform .3s;transition:opacity .3s,\r visibility 0s 1s,\r -webkit-transform .3s;transition:opacity .3s,\r transform .3s,\r visibility 0s 1s;transition:opacity .3s,\r transform .3s,\r visibility 0s 1s,\r -webkit-transform .3s}.tap-target{position:absolute;font-size:1rem;border-radius:50%;background-color:#ee6e73;-webkit-box-shadow:0 20px 20px 0 rgba(0,0,0,0.14),0 10px 50px 0 rgba(0,0,0,0.12),0 30px 10px -20px rgba(0,0,0,0.2);box-shadow:0 20px 20px 0 rgba(0,0,0,0.14),0 10px 50px 0 rgba(0,0,0,0.12),0 30px 10px -20px rgba(0,0,0,0.2);width:100%;height:100%;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1)}.tap-target-content{position:relative;display:table-cell}.tap-target-wave{position:absolute;border-radius:50%;z-index:10001}.tap-target-wave::before,.tap-target-wave::after{content:'';display:block;position:absolute;width:100%;height:100%;border-radius:50%;background-color:#ffffff}.tap-target-wave::before{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}.tap-target-wave::after{visibility:hidden;-webkit-transition:opacity .3s,\r visibility 0s,\r -webkit-transform .3s;transition:opacity .3s,\r visibility 0s,\r -webkit-transform .3s;transition:opacity .3s,\r transform .3s,\r visibility 0s;transition:opacity .3s,\r transform .3s,\r visibility 0s,\r -webkit-transform .3s;z-index:-1}.tap-target-origin{top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:10002;position:absolute !important}.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small),.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small):hover{background:none}@media only screen and (max-width: 600px){.tap-target,.tap-target-wrapper{width:600px;height:600px}}.pulse{overflow:visible;position:relative}.pulse::before{content:'';display:block;position:absolute;width:100%;height:100%;top:0;left:0;background-color:inherit;border-radius:inherit;-webkit-transition:opacity .3s, -webkit-transform .3s;transition:opacity .3s, -webkit-transform .3s;transition:opacity .3s, transform .3s;transition:opacity .3s, transform .3s, -webkit-transform .3s;-webkit-animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;z-index:-1}@-webkit-keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}100%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}@keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}100%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}.datepicker-modal{max-width:325px;min-width:300px;max-height:none}.datepicker-container.modal-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:0}.datepicker-controls{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:280px;margin:0 auto}.datepicker-controls .selects-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.datepicker-controls .select-wrapper input{border-bottom:none;text-align:center;margin:0}.datepicker-controls .select-wrapper input:focus{border-bottom:none}.datepicker-controls .select-wrapper .caret{display:none}.datepicker-controls .select-year input{width:50px}.datepicker-controls .select-month input{width:70px}.month-prev,.month-next{margin-top:4px;cursor:pointer;background-color:transparent;border:none}.datepicker-date-display{-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;background-color:#26a69a;color:#fff;padding:20px 22px;font-weight:500}.datepicker-date-display .year-text{display:block;font-size:1.5rem;line-height:25px;color:rgba(255,255,255,0.7)}.datepicker-date-display .date-text{display:block;font-size:2.8rem;line-height:47px;font-weight:500}.datepicker-calendar-container{-webkit-box-flex:2.5;-webkit-flex:2.5 auto;-ms-flex:2.5 auto;flex:2.5 auto}.datepicker-table{width:280px;font-size:1rem;margin:0 auto}.datepicker-table thead{border-bottom:none}.datepicker-table th{padding:10px 5px;text-align:center}.datepicker-table tr{border:none}.datepicker-table abbr{text-decoration:none;color:#999}.datepicker-table td{border-radius:50%;padding:0}.datepicker-table td.is-today{color:#26a69a}.datepicker-table td.is-selected{background-color:#26a69a;color:#fff}.datepicker-table td.is-outside-current-month,.datepicker-table td.is-disabled{color:rgba(0,0,0,0.3);pointer-events:none}.datepicker-day-button{background-color:transparent;border:none;line-height:38px;display:block;width:100%;border-radius:50%;padding:0 5px;cursor:pointer;color:inherit}.datepicker-day-button:focus{background-color:rgba(43,161,150,0.25)}.datepicker-footer{width:280px;margin:0 auto;padding-bottom:5px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.datepicker-cancel,.datepicker-clear,.datepicker-today,.datepicker-done{color:#26a69a;padding:0 1rem}.datepicker-clear{color:#F44336}@media only screen and (min-width: 601px){.datepicker-modal{max-width:625px}.datepicker-container.modal-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.datepicker-date-display{-webkit-box-flex:0;-webkit-flex:0 1 270px;-ms-flex:0 1 270px;flex:0 1 270px}.datepicker-controls,.datepicker-table,.datepicker-footer{width:320px}.datepicker-day-button{line-height:44px}}.timepicker-modal{max-width:325px;max-height:none}.timepicker-container.modal-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:0}.text-primary{color:#fff}.timepicker-digital-display{-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;background-color:#26a69a;padding:10px;font-weight:300}.timepicker-text-container{font-size:4rem;font-weight:bold;text-align:center;color:rgba(255,255,255,0.6);font-weight:400;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.timepicker-span-hours,.timepicker-span-minutes,.timepicker-span-am-pm div{cursor:pointer}.timepicker-span-hours{margin-right:3px}.timepicker-span-minutes{margin-left:3px}.timepicker-display-am-pm{font-size:1.3rem;position:absolute;right:1rem;bottom:1rem;font-weight:400}.timepicker-analog-display{-webkit-box-flex:2.5;-webkit-flex:2.5 auto;-ms-flex:2.5 auto;flex:2.5 auto}.timepicker-plate{background-color:#eee;border-radius:50%;width:270px;height:270px;overflow:visible;position:relative;margin:auto;margin-top:25px;margin-bottom:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.timepicker-canvas,.timepicker-dial{position:absolute;left:0;right:0;top:0;bottom:0}.timepicker-minutes{visibility:hidden}.timepicker-tick{border-radius:50%;color:rgba(0,0,0,0.87);line-height:40px;text-align:center;width:40px;height:40px;position:absolute;cursor:pointer;font-size:15px}.timepicker-tick.active,.timepicker-tick:hover{background-color:rgba(38,166,154,0.25)}.timepicker-dial{-webkit-transition:opacity 350ms, -webkit-transform 350ms;transition:opacity 350ms, -webkit-transform 350ms;transition:transform 350ms, opacity 350ms;transition:transform 350ms, opacity 350ms, -webkit-transform 350ms}.timepicker-dial-out{opacity:0}.timepicker-dial-out.timepicker-hours{-webkit-transform:scale(1.1, 1.1);transform:scale(1.1, 1.1)}.timepicker-dial-out.timepicker-minutes{-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}.timepicker-canvas{-webkit-transition:opacity 175ms;transition:opacity 175ms}.timepicker-canvas line{stroke:#26a69a;stroke-width:4;stroke-linecap:round}.timepicker-canvas-out{opacity:0.25}.timepicker-canvas-bearing{stroke:none;fill:#26a69a}.timepicker-canvas-bg{stroke:none;fill:#26a69a}.timepicker-footer{margin:0 auto;padding:5px 1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.timepicker-clear{color:#F44336}.timepicker-close{color:#26a69a}.timepicker-clear,.timepicker-close{padding:0 20px}@media only screen and (min-width: 601px){.timepicker-modal{max-width:600px}.timepicker-container.modal-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.timepicker-text-container{top:32%}.timepicker-display-am-pm{position:relative;right:auto;bottom:auto;text-align:center;margin-top:1.2rem}}\n","@media only screen and (min-width: 601px) {\n .container {\n width: 95%;\n }\n}\n\n.container {\n max-width: unset;\n}\nbody {\n font-size: 18px;\n overflow-x: hidden;\n}\n\n/* Set theme color */\n.btn,\n.btn-floating {\n background-color: #1565c0;\n}\n.page-footer,\n.nav-wrapper,\n.statusbar,\n.nav-content {\n background-color: white;\n}\nnav .title {\n position: fixed;\n top: 0;\n left: 200px;\n font-size: 2rem;\n}\n.input-field,\n.switch > label,\n.input-field > label,\n.input-field > .material-icons,\n.dropdown-content > li > a,\n.tooltip > .material-icons,\nlabel > span,\n.secondary-content > .material-icons {\n color: #1a237e;\n /* font-weight: bold; */\n}\n.tabs.tabs-transparent .tab a,\nnav ul a {\n /* font-weight: bold; */\n color: #1a237e;\n padding: 0;\n}\n.primary-text {\n color: #1a237e;\n}\na {\n color: #2b36aa;\n}\n\n.markdown ul {\n padding-left: 20px;\n}\n.markdown ul > li {\n padding-left: 20px;\n list-style-type: disc;\n}\n.leaflet-top,\n.leaflet-bottom {\n z-index: 950;\n}\n\n/* styles for '...' */\n.block-with-text {\n /* hide text if it more than N lines */\n overflow: hidden;\n /* for set '...' in absolute position */\n position: relative;\n /* use this value to count block height */\n line-height: 1.2em;\n /* max-height = line-height (1.2) * lines max number (3) */\n max-height: 3.6em;\n /* fix problem when last visible word doesn't adjoin right side */\n text-align: justify;\n\n /* */\n margin-right: -1em;\n padding-right: 1em;\n}\n.block-with-text:before {\n /* points in the end */\n content: '...';\n /* absolute position */\n position: absolute;\n /* set position to right bottom corner of block */\n right: 0;\n bottom: 0;\n}\n.block-with-text:after {\n /* points in the end */\n content: '';\n /* absolute position */\n position: absolute;\n /* set position to right bottom corner of text */\n right: 0;\n width: 1em;\n /* set width and height */\n height: 1em;\n margin-top: 0.2em;\n background: white;\n}\n.sidenav {\n top: 66px;\n}\n.buttons a {\n margin: 5px;\n}\n\n/* print styles */\n@media print {\n html,\n body {\n font-size: 14px;\n }\n body {\n margin: 0;\n color: #000;\n background-color: #fff;\n }\n a[href^='http']::after {\n content: ' (' attr(href) ')';\n }\n .leaflet-container,\n img,\n pre,\n blockquote {\n page-break-inside: avoid;\n page-break-before: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */\n page-break-after: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */\n page-break-inside: avoid; /* or 'auto' */\n }\n main::after {\n content: 'Copyright DRIVER+';\n display: block;\n text-align: center;\n }\n .do-not-print,\n header,\n footer,\n aside,\n nav,\n form,\n iframe,\n .menu,\n .hero,\n .adslot {\n display: none;\n }\n}\n\n.margin-top7 {\n margin-top: 7px;\n}\n.inline {\n display: inline-block;\n margin: 0 1rem;\n}\nul.list-inline li {\n display: inline;\n}\nul.menu-buttons > li {\n margin: 5px 0;\n}\nul.menu-buttons > li > a {\n width: 100%;\n}\nul.questionnaire-nav {\n width: 100%;\n text-align: center;\n}\nul.questionnaire-nav > li {\n margin: 0 10px;\n}\nul.questionnaire-nav > li > a {\n width: 25%;\n}\n.markdown p {\n color: black;\n font-weight: normal;\n}\n.markdown.squeeze p {\n margin: 0;\n}\n\n.repeat-list .pagination {\n margin: 0;\n}\n\n.repeat-list .assessment-plugin {\n margin: 0 10px;\n}\n\n.incident-view {\n margin-bottom: 0;\n position: absolute;\n top: 65px;\n left: -10px;\n width: 100vw;\n}\n.card-panel {\n cursor: pointer;\n padding: 0 20px;\n margin: 0.5rem 0 0.5rem 0;\n}\n.card-panel.xl {\n height: 41.5vh;\n}\n.card-panel.large {\n height: 200px;\n}\n.card-panel.medium {\n height: 125px;\n}\n.card-panel.small {\n height: 75px;\n}\n.widget {\n position: relative;\n}\n.widget ul {\n margin: 0px;\n}\n.widget-link {\n display: none;\n}\n.widget:hover .widget-link {\n display: block;\n}\n.bold {\n font-weight: bold;\n}\n.subject {\n position: absolute;\n width: 42px;\n /* height: 42px; */\n overflow: hidden;\n left: 15px;\n display: inline-block;\n vertical-align: middle;\n}\nul.collection.objects,\nul.collection.subjects {\n max-height: 160px;\n overflow-y: auto;\n}\n\nul.updates {\n max-height: 70px;\n overflow-y: auto;\n}\n\nul.measures {\n max-height: 170px;\n overflow-y: auto;\n}\n\nli.collection-item:first-child {\n background-color: white; /* should be the same as the background color behind the list */\n position: fixed;\n}\n\n/* Begin scrollbar */\n\n/* width */\n::-webkit-scrollbar {\n width: 5px;\n}\n\n/* Track */\n::-webkit-scrollbar-track {\n background: #f1f1f1;\n}\n\n/* Handle */\n::-webkit-scrollbar-thumb {\n background: #888;\n}\n\n/* Handle on hover */\n::-webkit-scrollbar-thumb:hover {\n background: #555;\n}\n\n/* Eind scrollbar */\n\n.radio {\n margin-top: 2rem;\n}\n.material-placeholder {\n z-index: 1999;\n}\n.materialbox-overlay {\n z-index: 2000;\n}\n.incident-view .leaflet-container {\n height: 200px !important;\n}\n#map-page .leaflet-container {\n width: 100vw;\n margin-left: -130px;\n margin-bottom: -65px;\n height: 91vh !important;\n}\n\n.material-icons.hoverable {\n text-align: center;\n cursor: pointer;\n}\n.material-icons.hoverable:hover {\n background-color: rgba(0, 0, 0, 0.1);\n}\n\n.card-title {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.comment {\n background-color: lightgrey;\n padding: 10px;\n margin: 10px 0;\n border-radius: 10px;\n}\n\n.comment-text p {\n margin: 0;\n}\n\n/** Tooltips */\n/* Tooltip container */\n.tooltip {\n position: relative;\n display: inline-block;\n /* border-bottom: 1px dotted black; /* If you want dots under the hoverable text */\n}\n\n/* Tooltip text */\n.tooltip .tooltiptext {\n visibility: hidden;\n width: 320px;\n background-color: black;\n color: #fff;\n text-align: center;\n padding: 5px;\n border-radius: 6px;\n font-size: 1rem;\n line-height: 2rem;\n /* Position the tooltip text - see examples below! */\n position: absolute;\n z-index: 1;\n}\n\n/* Show the tooltip text when you mouse over the tooltip container */\n.tooltip:hover .tooltiptext {\n visibility: visible;\n}\n\n.tooltip .tooltiptext {\n width: 150px;\n margin-left: -75px; /* Use half of the width to center the tooltip */\n top: 100%;\n left: 50%;\n}\n/** End Tooltips */\n\n.user-page {\n margin-top: 10px;\n}\n/* .user-card .card .card-title {\n width: 70%;\n} */\n.multiple-choice-question label span {\n color: #000000;\n}\n\n/**\nHorizontal scrollable list of cards\nSource: https://codepen.io/dannievinther/pen/vVydZJ\n*/\n:root {\n --gutter: 10px;\n}\n\n.hs-container {\n /* padding: var(--gutter) 0; */\n width: 100%;\n height: 100%;\n /* display: grid;\n place-items: center; */\n grid-gap: var(--gutter) 0;\n grid-template-columns: var(--gutter) 1fr var(--gutter);\n align-content: start;\n}\n\n.hs-container > * {\n grid-column: 2 / -2;\n}\n\n.hs-container > .full {\n grid-column: 1 / -1;\n}\n\n.hs-header {\n padding-top: 10px;\n margin-bottom: -25px;\n}\n\n.hs > li,\n.item {\n scroll-snap-align: center;\n padding: calc(var(--gutter) / 2 * 1.5);\n /* padding-bottom: 10px; */\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\n.hs {\n display: grid;\n grid-gap: calc(var(--gutter) / 2);\n grid-template-columns: 0px;\n grid-template-rows: minmax(150px, 1fr);\n grid-auto-flow: column;\n grid-auto-columns: calc(24% - var(--gutter) * 2);\n\n overflow-x: scroll;\n overflow-y: hidden;\n scroll-snap-type: x proximity;\n padding-bottom: calc(0.1 * var(--gutter));\n margin-bottom: calc(-0.25 * var(--gutter));\n}\n\n.hs:before,\n.hs:after {\n content: '';\n width: 10px;\n}\n\n.hs-item {\n width: 100%;\n}\n\n.section-wrapper {\n color: #777;\n margin-top: 20px;\n border-top: 1px solid rgba(0, 0, 0, 0.14);\n -webkit-transition: margin 0.25s ease;\n transition: margin 0.25s ease;\n}\n\nimg.thumbnail {\n width: auto;\n height: 100%;\n max-height: 20vh;\n margin: 0 auto;\n}\n\n.sidenav {\n width: 250px;\n}\n\nul.person-details > li > i.material-icons {\n vertical-align: middle;\n margin: 3px 10px 3px 0;\n}\n\nul.projects > li {\n margin: 4px 0;\n}\n\nul.projects > li > span.project-id {\n margin-right: 5px;\n}\n\n.collapsible > li:first-child .collapsible-header span.badge {\n margin-left: 10px;\n}\n\n/* For the options' label */\n.input-field.options > label {\n top: -2.5rem;\n}\n.input-field.options {\n margin-top: 3rem;\n}\n\n.condensed .input-field {\n margin: 0 auto;\n}\n\n.assessment-plugin.section {\n padding: 0;\n}\n.inline-icon {\n vertical-align: bottom;\n /* font-size: 20px !important; */\n}\n\n.margins {\n margin: 10px;\n}\n\n.overview .capability {\n margin-right: 2rem;\n display: flex;\n width: 100%;\n white-space: nowrap;\n}\n.overview .capability .name {\n flex-grow: 1;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.overview .square {\n flex: 0 0 20px;\n height: 20px;\n width: 20px;\n background-color: #555;\n border: solid black 2px;\n margin-top: 5px;\n margin-right: 8px;\n}\n\n.page .row {\n margin-bottom: 0;\n}\n.page {\n min-height: 95vh;\n padding-bottom: 20px;\n}\nlabel,\n.pagination li,\n.material-icons,\n.unselectable {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.chips {\n margin-top: 0;\n}\n\na.waves-effect.waves-teal.btn-flat.selected {\n background: #1a237e;\n color: white;\n}\n\n.input-field > label:not(.label-icon).active {\n -webkit-transform: translateY(-8px) scale(0.8);\n transform: translateY(-8px) scale(0.8);\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n}\n.input-field > input[type='color'] {\n margin-top: 20px;\n}\n\n.button-group {\n display: flex;\n flex-flow: nowrap;\n flex-direction: row;\n}\n\n.language-option {\n display: inline-block;\n margin-right: 10px;\n}\n\n.language-option img {\n width: 30px;\n height: 20px;\n cursor: pointer;\n}\n\n.language-option span {\n display: none;\n position: absolute;\n background-color: #000;\n color: #fff;\n padding: 5px;\n font-size: 14px;\n border-radius: 5px;\n margin-top: 5px;\n margin-left: 5px;\n white-space: nowrap;\n z-index: 100;\n}\n\n.language-option:hover span {\n display: block;\n}\n\n.clickable {\n cursor: pointer;\n}\n\n.disabled-image {\n filter: grayscale(100%);\n opacity: 0.5;\n pointer-events: none;\n}\n\n.kanban {\n display: flex;\n flex-flow: row wrap;\n /* justify-content: auto; */\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.kanban-row {\n /* background-color: lightblue; */\n display: flex;\n flex-flow: column nowrap;\n padding: 0;\n margin-top: 10px;\n list-style: none;\n height: 100%;\n width: 210px;\n}\n.kanban-header {\n width: 100%;\n height: 50px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.kanban-item {\n padding: 0px;\n min-width: 200px;\n width: 200px;\n height: 60px;\n margin: 0 0 0.7rem 0;\n color: white;\n text-align: center;\n\n & .card-content {\n font-size: 0.8rem;\n padding: 15px 10px;\n & > .card-title {\n margin-bottom: 0;\n }\n }\n & .card-desc {\n display: none;\n font-size: 0.9rem;\n padding: 4px;\n transition-delay: 4s;\n text-align: left;\n white-space: normal;\n word-wrap: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n &:hover .card-desc {\n display: block;\n transition-delay: 4s;\n }\n}\n.title {\n font-size: 1.25rem;\n font-weight: 500;\n letter-spacing: 0.0125em;\n}\n.w70 {\n width: 70%;\n}\n.w30 {\n width: 30%;\n}\n.mw30 {\n min-width: 30%;\n}\n.ml10 {\n margin-left: 10px;\n}\n.mt5 {\n margin-top: 5px;\n}\n.mt10 {\n margin-top: 10px;\n}\n.mt25 {\n margin-top: 25px;\n}\n.mb0 {\n margin-bottom: 0;\n}\n.no-gutter {\n margin: 0;\n}\n.top-right {\n position: absolute;\n top: 0;\n right: 0;\n}\n.top-right-next {\n position: absolute;\n top: 4px;\n right: 35px;\n}\nul.kanban > li {\n margin-bottom: 10px;\n}\n.inconsistencies-settings {\n height: 90vh;\n}\n.show-scenario,\n.create-scenario {\n padding-top: 1rem;\n height: calc(100vh - 84px);\n}\n.create-scenario .row {\n margin-bottom: 0;\n}\n#editor {\n min-height: 150px;\n}\n.scenario-table .input-field {\n margin-bottom: 0;\n}\n.scenario-table .material-icons {\n margin-top: 1.6rem;\n margin-left: 5px;\n}\n.scenario-table .icons {\n display: flex;\n flex-wrap: nowrap;\n justify-content: right;\n align-items: flex-start;\n}\n.narratives {\n border: solid #dbe2e0;\n border-radius: 10px;\n margin: 10px;\n padding: 10px;\n}\n\n.popupContainer {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n background-color: #fcffa5;\n font-size: 2rem;\n box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.3);\n /* display: none; Hide the popup by default */\n}\n\n.popupContainer > .popupContent {\n padding: 20px;\n}\n\n.markdown h1 {\n margin: 1.5rem 0 1rem 0;\n font-size: 2.2em;\n}\n\n.markdown h2 {\n font-size: 2em;\n}\n\n.markdown h3 {\n font-size: 1.6em;\n}\n\n.markdown h4 {\n font-size: 1.4em;\n}\n\n.markdown h5 {\n font-size: 1.2em;\n}\n\n#toc {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.markdown h6 {\n font-size: 1em;\n}\n.markdown aside {\n padding: 0 20px;\n box-sizing: border-box;\n}\n\n.markdown main {\n flex: 1;\n padding: 20px;\n box-sizing: border-box;\n}\n\n.markdown header {\n text-align: center;\n padding: 10px 40px;\n background-color: #f2f2f2;\n border-radius: 20px;\n}\n\n.markdown nav ul {\n list-style-type: none;\n padding: 0;\n}\n\n.markdown nav ul li {\n margin-bottom: 10px;\n}\n\n@media only screen and (min-width: 993px) {\n table.repoonsive-table td.missing {\n height: 57px;\n }\n table.responsive-table {\n width: 100%;\n border-collapse: collapse;\n border-spacing: 0;\n display: block;\n position: relative;\n /* sort out borders */\n }\n table.responsive-table td:empty:before {\n content: '\\00a0';\n }\n table.responsive-table th,\n table.responsive-table td {\n margin: 0;\n vertical-align: top;\n }\n table.responsive-table th {\n text-align: left;\n }\n table.responsive-table thead {\n display: block;\n float: left;\n }\n table.responsive-table thead tr {\n display: block;\n padding: 0 10px 0 0;\n }\n table.responsive-table thead tr th::before {\n content: '\\00a0';\n }\n table.responsive-table tbody {\n display: block;\n width: auto;\n position: relative;\n overflow-x: auto;\n white-space: nowrap;\n }\n table.responsive-table tbody tr {\n display: inline-block;\n vertical-align: top;\n }\n table.responsive-table th {\n display: block;\n text-align: right;\n }\n table.responsive-table td {\n display: block;\n min-height: 1.25em;\n text-align: left;\n }\n table.responsive-table tr {\n border-bottom: none;\n /* padding: 0 10px; */\n }\n table.responsive-table td,\n table.responsive-table th {\n padding: 15px 10px;\n }\n table.responsive-table thead {\n border: 0;\n border-right: 1px solid rgba(0, 0, 0, 0.12);\n }\n}\n.table-container {\n width: 100%; /* or a fixed width */\n margin: 0 auto; /* center the container */\n text-align: center; /* center the table inside the container */\n}\n.table {\n display: inline-block; /* make the table an inline-block element */\n text-align: left; /* reset the text alignment */\n}\n\n.missing {\n height: 57px;\n}\n\n.decision-support table.responsive-table > tbody > tr:last-child {\n background: #e8f4f7;\n}\n\n.decision-support td:nth-child(2),\n.decision-support th:nth-child(2),\n.decision-support td:nth-child(3),\n.decision-support th:nth-child(3),\n.decision-support td:nth-child(4),\n.decision-support th:nth-child(4) {\n background: #e8f4f7;\n}\n\n#editor {\n font-size: 18px;\n}\n.ql-editor strong {\n font-weight: bold;\n}\n.ql-editor em {\n font-style: italic;\n}\n.ql-editor u {\n text-decoration: underline;\n}\n.show-scenario .ql-container.ql-snow {\n border: none;\n}\n\n.show-scenario .ql-editor {\n padding: 30px 0;\n}\n\n.show-scenario #editor {\n font-size: 24px;\n}\n\n.show-scenario div.input-field.select-space.left.mb0.mw30 input {\n font-size: 42px;\n}\n\n.show-scenario .select-wrapper input.select-dropdown {\n border: none;\n}\n.select-inline {\n display: inline-block;\n margin: 0 0em;\n /* margin: 0 0.3em; */\n padding-left: 6px;\n /* background-color: #f0f0f0; */\n /* border: 1px solid #ccc; */\n /* border-radius: 3px; */\n font-size: inherit;\n}\n.select-inline > label {\n display: none;\n}\n.select-inline input.select-dropdown {\n /* border-bottom: none; */\n margin: 0px;\n padding: 0;\n height: 2rem;\n}\n.scenario-paragraph {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n","/*!\n * Quill Editor v2.0.2\n * https://quilljs.com\n * Copyright (c) 2017-2024, Slab\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:\"Visit URL:\";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:\"Enter link:\"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:\"Enter formula:\"}.ql-snow .ql-tooltip[data-mode=video]::before{content:\"Enter video:\"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}\n\n/*# sourceMappingURL=quill.snow.css.map*/"],"names":[],"mappings":"AAAA,mLAOA,+VCFA,oDAAqD,8CAA+C,8DAA+D,6DAA8D,8DAA+D,6DAA8D,8DAA+D,6DAA8D,8DAA+D,6DAA8D,8DAA+D,6DAA8D,6DAA8D,4DAA6D,6DAA8D,4DAA6D,6DAA8D,4DAA6D,6DAA8D,4DAA6D,wCAAyC,kCAAmC,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,2CAA4C,qCAAsC,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,iDAAkD,gDAAiD,gDAAiD,0CAA2C,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,2CAA4C,qCAAsC,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,+CAAgD,yCAA0C,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,0CAA2C,oCAAqC,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,gDAAiD,0CAA2C,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,2CAA4C,qCAAsC,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,iDAAkD,gDAAiD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,0CAA2C,oCAAqC,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,2CAA4C,qCAAsC,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,gDAAiD,0CAA2C,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,0CAA2C,oCAAqC,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,8CAA+C,wCAAyC,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,uDAAwD,sDAAuD,uDAAwD,sDAAuD,uDAAwD,sDAAuD,uDAAwD,sDAAuD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,gDAAiD,+CAAgD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,uCAAwC,iCAAkC,uCAAwC,iCAAkC,oDAAuD,8CAA6H,8EAA8E,cAAc,sDAAsD,gCAAiC,qCAAqC,uBAAuB,oDAAmF,wCAAmD,oEAAoE,mIAAyK,gDAAyD,kDAA6D,sBAAsB,sCAA0D,8EAA8E,kBAAmB,cAAe,iCAAiC,4CAA4C,sBAAsB,+BAA+B,sGAAsG,8BAA8B,kCAAkC,6JAAqF,wOAA0J,oOAAgJ,oCAAuC,qGAAmI,sDAAsD,uBAAuB,6FAA+F,0GAAkG,+DAAiE,qIAAiH,oEAAoE,2BAA2B,0BAA0B,4BAA4B,+BAA4C,2BAAyD,+DAAiE,0JAA8J,6DAA6D,iDAAiD,6EAA6E,gDAAuL,qBAAqB,uEAAyE,sNAAyU,8KAAiS,yGAA6N,kHAAuO,oHAA2O,4HAAoP,8DAAwK,iFAAqK,6DAA6D,2EAA2E,sBAAsB,oCAAoC,qCAAqC,sBAAsB,uBAAuB,wBAAwB,uBAAuB,qEAAqE,uGAAuG,kGAAkG,mCAAmC,+CAA+C,oDAAoD,gCAAgC,2DAA2D,yCAA0C,uBAAuB,kDAAkD,mEAAmE,sDAAuD,8IAAkJ,uOAA+O,4CAA4C,kCAAkC,mEAAmE,yFAAyF,yIAAmP,uCAAuC,iCAAkC,+BAA+B,sCAAyE,yCAA0C,oEAAqE,yCAA0C,8CAA+C,yCAA0C,4CAA6C,+DAAiE,0CAA2C,yCAA0C,4CAA6C,0CAA2C,iDAA8F,8CAA+C,yCAA0C,wCAAyC,+DAAiE,yCAA0C,yCAA0C,wCAAyC,yCAA0C,gDAAiD,yCAA0C,kDAAmD,yCAA0C,yCAAyC,kEAAkE,2MAA2a,wBAAwB,yEAAyE,oCAAoC,4EAA6E,0CAA0C,0DAA6G,qEAAsE,wEAAwE,2CAA4C,kGAAkG,yCAA0C,4GAA4G,oDAAuD,gFAAgF,0CAA0C,sDAAsD,iEAAiE,uDAA2D,2GAA2G,wEAAwE,yDAAyD,0EAA0E,4DAA4D,8EAA+E,6GAA+G,iIAAiI,wFAAwF,iPAAiP,gIAAgI,0DAA0D,+CAA+C,6FAA6F,2DAA2D,2EAA2E,kEAAkE,8EAAkG,uEAAuE,mHAAmH,2DAA2D,kEAAkE,6CAA6C,8CAA8C,kFAAkF,6HAA6H,+IAAiJ,oHAAwJ,kDAAkD,0MAAwS,iNAA6V,mGAAkN,wGAA4N,6BAA8B,4BAA4B,8BAA8B,wCAAwC,2BAA4B,6BAA8B,qTAA2I,0BAA0B,+DAA+D,kFAAkF,gCAAiC,uKAAqM,qGAAsG,oCAAoC,0EAA2E,6HAA6H,2DAA2D,yCAAyC,oCAAiD,kEAAkE,sJAAsJ,oDAAoD,yCAA0C,sBAAsB,yCAA0C,sBAAsB,mDAAmD,8CAA8C,0BAA0B,qCAAqC,kCAAkC,2DAA2D,+CAA+C,2EAAyG,kEAAsE,kEAAuE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,mEAAyE,mEAAyE,+DAA+D,yCAA8C,iCAAsC,gCAAqC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,sCAAsC,8BAA8B,6BAA6B,yCAA0C,kEAAuE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,mEAAyE,mEAAyE,+DAA+D,yCAA8C,iCAAsC,gCAAqC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,sCAAsC,8BAA8B,8BAA8B,yCAA0C,kEAAuE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,mEAAyE,mEAAyE,+DAA+D,yCAA8C,iCAAsC,gCAAqC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,sCAAsC,8BAA8B,8BAA8B,0CAA2C,mEAAwE,mEAAyE,8DAA8D,mEAAyE,mEAAyE,8DAA8D,mEAAyE,mEAAyE,8DAA8D,oEAA0E,oEAA0E,gEAAgE,0CAA+C,kCAAuC,iCAAsC,0CAAgD,kCAAwC,iCAAuC,qCAAqC,6BAA6B,4BAA4B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,qCAAqC,6BAA6B,4BAA4B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,qCAAqC,6BAA6B,4BAA4B,2CAAiD,mCAAyC,kCAAwC,2CAAiD,mCAAyC,kCAAwC,uCAAuC,+BAA+B,+BAA+B,gFAAgF,6BAA6B,0DAA0D,mEAAmE,iBAAiB,yHAA6H,+CAA+C,yCAA0C,oCAAoC,sFAAsF,oDAAoD,6FAA6F,0DAA8F,yCAA0C,mDAAuF,oEAA2F,gCAAiC,6CAA8C,4CAA6C,4IAAgJ,kEAAkE,gBAAgB,+DAAuG,iDAAkD,+GAAuJ,iKAAiK,iPAAiP,+CAAgD,uBAAuB,qBAAqB,sCAAsC,kFAAkF,iiBAA6R,oCAAoC,yEAAuG,2CAA2C,wDAAwD,iCAAiC,yCAA0C,8CAA8C,kGAAkG,2BAA2B,uBAAuB,+KAAuL,qCAAsC,qBAAqB,yCAA0C,uBAAuB,0CAA2C,qBAAqB,kDAAkD,kDAAkD,6DAA+D,mEAA0E,mEAA0E,+DAAiE,kEAAyE,iEAAuE,qBAAqB,uBAAuB,oBAAoB,uBAAuB,sBAAsB,yCAA0C,6BAA6B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,8BAA8B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,8BAA8B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,8BAA8B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,8BAA8B,yCAA0C,6BAA6B,yIAA+Y,wGAAyQ,8CAAyE,wIAAoP,uIAAmP,iDAAiD,2CAA2C,uDAAuD,wGAAwG,kIAAkI,+GAA+G,sHAAsH,yBAAyB,0BAA0B,yBAAyB,8BAA2F,uJAAuJ,kIAAkI,2CAA2C,qFAAqF,2FAAsT,yDAAoH,2CAA2C,+DAA+D,oCAAoC,yHAAyH,uGAAuG,2DAA2D,+BAA+B,iFAAiF,mDAAmD,0HAA2H,wDAAwD,gLAAuN,sHAAsH,sJAAsJ,4DAA4D,4DAA4D,yCAA0C,2CAA2C,+DAAiE,kDAAkD,yCAA0C,iDAAiD,gTAA4gB,uFAAuF,kCAAkC,yCAA0C,mCAAmC,wIAAwI,oDAAoD,6IAA8I,oFAAoF,wDAAwD,oCAAiG,wCAAmG,2HAA2H,8LAAyQ,gGAAiG,kFAAkF,4FAA6F,uGAAwG,yCAA0C,mBAAgF,uBAAkF,6BAA6B,kSAA+T,mKAAoM,2NAA2N,qiBAAuiB,wlBAA0lB,kGAAkG,4HAA4H,0FAA0F,kLAAmO,sEAAsE,4PAAoS,6CAA6C,qCAAqC,yDAAyD,iDAAiD,2CAA2C,mDAAmD,mDAAmD,6CAA6C,oEAAoE,oDAAoD,kHAAkH,gCAAgC,qGAAqG,+CAA+C,sFAAsF,0KAA6M,0HAA0H,qDAAqD,wFAAwF,8DAA8D,oDAAsD,sGAAqS,yDAA2D,gDAAgD,+CAA+C,mEAAgI,iGAAsK,oNAAoN,wDAAwD,+GAA+G,2CAA2C,8CAA8C,+JAA0L,4IAAoL,wEAAwE,gDAAiD,8HAAgI,sEAAsE,8BAA8B,2DAA2D,8BAA8B,yBAAyB,yKAAsM,kCAAkC,mIAAoI,6EAA6E,wCAAwC,qDAAqD,+HAA+H,2DAA2D,oGAAoG,0EAA0E,mGAA4H,iCAOz6tE,6QAAyS,yRAA0e,+EAAgF,0EAA2E,8EAA+E,6EAA8E,8EAA+E,4EAA6E,2EAA4E,2VAA4L,+CAA+C,8CAAkF,6GAAiJ,8DAA+D,kFAAkF,qHAAqH,2BAA2B,uCAAuC,oLAAqL,0BAA0B,yCAA0C,kBAAkB,qDAAqD,mCAAmC,mCAAmC,gIAAgI,sIAAsI,mJAAmJ,+CAA+C,+HAA+H,uGAAwG,wHAAyH,kHAAoH,wKAAqO,oCAAoC,2GAA2G,kEAAkE,+FAA6H,sGAAsG,kEAAkE,2JAA2J,6GAA8G,wFAAwF,2FAA2F,8FAA8F,wEAAwE,0JAA2T,6GAAkM,0MAA2M,6DAA6D,mFAAmF,yFAAyF,0JAAuL,sEAA+G,yBAAyB,yLAA6L,mGAAsG,0DAA0D,kEAAoE,+DAAsG,+IAA8K,6CAA6C,8DAA8D,4HAA4H,qMAAqM,uCAAuC,mDAAmD,oCAAoC,sEAA2E,qCAAqC,oFAAkE,k3HAA+7B,u3FAA26C,khEAA6hD,47CAAk3B,sgCAA42B,o4BAAowB,85BAA8xB,yzBAAgsB,yhFAA41C,moFAAs8C,yxSAA+lI,opFAAo0D,4pFAAw3D,0kEAA+1B,kEAAkE,+EAA+E,kFAAkF,mCAAmC,kGAA+G,qPAAyqB,2XAAuV,+GAAgH,yEAA0E,gGAA6H,0CAA0C,yPAAuQ,4CAA8C,yCAA0C,8DAAgE,yCAA0C,8DAAgE,kGAA0I,uJAAuJ,8IAA8I,mQAAiP,qEAA4F,sTAA+O,6DAA6D,qIAA2K,sJAAsJ,+CAA+C,oEAAoE,mCAAmC,gJAAoG,ofAAyT,qQAA6L,6UAA+P,+HAA0G,yDAAsF,8DAAgE,8LAAkJ,2HAAsG,sDAAsF,6DAA6F,2EAA4H,oFAAuF,+FAAkG,8MAAyJ,iDAAoD,6EAAgF,+FAAkG,sJAA0G,0OAA4O,+YAA8Q,mFAAgH,4GAA+G,uKAAoP,yRAAkZ,4HAAgI,8PAA2W,mIAAsI,mEAAqE,qYAAqX,mLAA0P,4JAAgK,uNAAqV,kJAAoJ,qIAAwI,sIAAwI,mIAAqI,0HAA4H,gGAAkG,gHAAkH,+IAA+I,6BAA6B,8DAA8D,2EAA2E,qIAA2H,iFAAiF,gNAAiR,+QAAwmB,kEAAmE,iJAAwR,8PAAuO,oOAAiN,8FAA+F,8KAAqJ,oBAAoB,qCAAqC,2HAA4H,gCAAgC,kCAAkC,yFAAyF,0VAA4V,4EAA4E,6GAA8G,kEAAkE,qEAA6F,qDAAsD,yKAA0K,uCAAwC,8IAA+I,6IAAgL,+EAAgF,2EAA6E,+BAAiC,2EAA2E,uDAAuD,gEAAiE,uDAAwD,kEAAoE,8BAA8B,iEAAiE,uCAAuC,uGAAuG,gCAAgC,2MAA2K,sEAAsE,+BAA+B,yEAA0D,6HAA6H,qCAAqC,iMAAuQ,6HAA6J,4DAA4D,iGAAiG,0CAA0C,2FAA2F,8NAAqY,wHAA6K,wCAAyC,8EAA8E,6CAA6C,6KAAoR,4EAA4E,oHAAqH,qHAA6H,kDAAkD,kDAAkD,sJAA6P,6GAA8G,wCAAwC,oCAAoC,+IAAkK,yFAAyF,4FAA4F,2SAAgZ,mEAAqK,+BAA+B,wCAAwC,oDAAqD,6HAA8H,qDAAsD,6JAA6J,gIAAgI,qCAAqC,2IAA2I,0DAA0D,uMAA4M,iCAAmC,6HAA8H,uDAAuD,4EAA4E,4CAA4C,yDAAyD,2GAA2G,+FAA+F,mDAAmD,qFAAqF,0DAA0D,+DAA+D,qEAAqE,mCAAmC,oEAAqG,uDAAuD,yCAA0C,kDAAuF,+DAAmG,0BAA0B,yCAAyC,2JAA2J,iJAAiJ,qCAAqC,qIAAsI,iFAAiF,gDAAgD,8CAA8C,4EAAsI,yEAAyE,yDAA0F,uFAAuF,sDAAsD,oDAAoD,0DAA0D,wDAAwD,4KAAgV,0KAA6U,gLAAsV,8KAAmV,iRAA6W,uVAAuV,+QAAwhB,+GAA8O,iGAA8M,oGAAoN,kGAAoN,uGAAuG,0CAA0C,kHAAkH,4NAAoP,sGAAwI,2GAA8I,sGAAyL,wGAA4L,0IAA4I,0GAA8M,4IAA8I,4GAAiN,kHAA+N,+CAA0G,kDAAkD,0FAA0F,yCAAyC,uDAAuD,+DAA+D,gHAAgH,4FAA+F,8FAA8F,4CAA4C,oCAAoC,yFAAyF,0MAAkP,oEAAoE,0KAAwO,uCAAuC,sGAAsG,2EAA2E,gHAAgH,4FAA4F,0DAA0D,mGAAmG,wCAAwC,2FAA2F,yNAAkQ,mEAAmE,2HAA2H,wHAA6J,kEAAsG,mKAAikB,oEAAgG,+MCLv/yD,+UAAu2B,yDAAyD,mEAAmE,yJAA8J,0FAA0N,0HASh1C,6GAAuJ,+IAAgJ,yCAA0C,0DAA0D,0CAA0C,kRAAif,iIAAwb,kEAAkE,iFAA+P,0FAA4O,qDAAkH,yFAAyF,oEAAoE,yDAAyD,mDAAmD,oDAAoD,+FAA+F,yGAAkK,+GAAgH,oGAAoG,6CAA0G,2DAA2D,2CAA2C,wDAAwD,iCAAiC,uDAAuD,iDAAiD,4CAA4C,qEAAqE,wHAAyH,uKAAuK,mEAAoE,2GAA6P,qGAAqG,gCAAgC,yCAA0C,kCAAkC,uDAAoK,sCAAqG,sEAAsE,yCAAyC,kDAAkD,iFAA+P,yBAAyB,4FAAqJ,8MAAgO,0FAA0F,wCAAwC,yCAAyC,oGAAoG,yCAAsG,gOAAyP,oFAAoF,sCAAsC,mKAAoK,qFAAsF,+EAA0O,+BAA+B,2DAAkG,4DAAoG,4CAA6E,6EAA2E,mCAAoC,0EAAmG,6FAA+O,gCAAgC,gCAAgC,mDAAmD,yCAA0C,kCAAkC,uDAAoK,mCAAmC,uGAG/9O,sBAKF,2BAGA,sCAMA,4CAIA,wEAMA,0DAMA,uLAWA,+D,4BASA,gBAIA,+BAGA,uDAIA,yCAMA,6IAgBA,yEASA,iHAaA,kBAGA,sBAKA,aACE,yBAIA,+CAKA,+CAGA,mI,uEAcA,oFAcF,4BAGA,2CAIA,iCAGA,gCAGA,gCAGA,kDAIA,sC,oCAMA,uCAIA,sDAQA,8CAIA,iFAOA,yDAKA,6BAGA,+BAGA,gCAGA,8BAGA,0BAGA,oBAGA,0BAGA,yCAGA,sBAGA,2GASA,8EAMA,2CAKA,6CAKA,oE,8BAaA,6CAKA,0CAKA,gD,uBASA,mCAGA,kCAGA,yDAGA,sGAOA,2DAIA,gEAIA,sE,gFAaA,yBAMA,gDAOA,iMAgBA,+CAIA,sEAQA,2BAMA,gD,0JAuBA,iCAIA,qCAIA,gD,qJAgBA,+TAeA,2C,4HAkBA,mEAOA,qBAIA,kFAKA,4BAIA,gDAIA,4E,uCAQA,qCAIA,sCAIA,qCAGA,mCAKA,qBAIA,mFAMA,kGAMA,mIAUA,2B,0CAOA,2L,oBAeA,0EAKA,oGAMA,+CAIA,yCAMA,wDAKA,2DAMA,iMAcA,0CAIA,0BAIA,6FAMA,uEAQA,4GAUA,oGAOA,6GASE,6DAGE,uDAIF,oLAWA,gEAKF,gEAKA,eAGA,eAGA,oBAGA,uBAGA,oBAGA,sBAGA,sBAGA,qBAGA,oBAGA,2CAKA,qDAKA,gCAGA,sCAGA,2EAKA,sCAGA,yBAGA,6CAGA,kEAIA,kGAMA,6EAOA,uIAWA,2CAIA,kDAKA,2BAIA,6BAIA,6BAIA,6B,4DASA,2BAGA,qDAKA,yDAMA,iGAOA,gDAKA,uCAIA,yCACE,8CAGA,4GAQA,oDAGA,gFAKA,0CAGA,sDAIA,iEAIA,uDAGA,2GAOA,wEAIA,yDAIA,0EAKA,6C,oJAaF,4DAKA,4CAKA,qBAIA,4RAaA,uBAGA,kCAGA,gC,uCAMA,iDAIA,yCAIA,sCAIA,+EAIA,iEAGA,kFC/7BA,kCAGA,oE"} \ No newline at end of file +{"version":3,"file":"main.css","sources":["webpack://gui/./node_modules/.pnpm/material-icons@1.13.12/node_modules/material-icons/iconfont/filled.css","webpack://gui/./node_modules/.pnpm/materialize-css@1.0.0/node_modules/materialize-css/dist/css/materialize.min.css","webpack://gui/./src/css/style.css","webpack://gui/./node_modules/.pnpm/quill@2.0.2/node_modules/quill/dist/quill.snow.css"],"sourcesContent":["@font-face {\n font-family: \"Material Icons\";\n font-style: normal;\n font-weight: 400;\n font-display: block;\n src: url(\"./material-icons.woff2\") format(\"woff2\"), url(\"./material-icons.woff\") format(\"woff\");\n}\n.material-icons {\n font-family: \"Material Icons\";\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-feature-settings: \"liga\";\n}\n","/*!\r\n * Materialize v1.0.0 (http://materializecss.com)\r\n * Copyright 2014-2017 Materialize\r\n * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)\r\n */\r\n.materialize-red{background-color:#e51c23 !important}.materialize-red-text{color:#e51c23 !important}.materialize-red.lighten-5{background-color:#fdeaeb !important}.materialize-red-text.text-lighten-5{color:#fdeaeb !important}.materialize-red.lighten-4{background-color:#f8c1c3 !important}.materialize-red-text.text-lighten-4{color:#f8c1c3 !important}.materialize-red.lighten-3{background-color:#f3989b !important}.materialize-red-text.text-lighten-3{color:#f3989b !important}.materialize-red.lighten-2{background-color:#ee6e73 !important}.materialize-red-text.text-lighten-2{color:#ee6e73 !important}.materialize-red.lighten-1{background-color:#ea454b !important}.materialize-red-text.text-lighten-1{color:#ea454b !important}.materialize-red.darken-1{background-color:#d0181e !important}.materialize-red-text.text-darken-1{color:#d0181e !important}.materialize-red.darken-2{background-color:#b9151b !important}.materialize-red-text.text-darken-2{color:#b9151b !important}.materialize-red.darken-3{background-color:#a21318 !important}.materialize-red-text.text-darken-3{color:#a21318 !important}.materialize-red.darken-4{background-color:#8b1014 !important}.materialize-red-text.text-darken-4{color:#8b1014 !important}.red{background-color:#F44336 !important}.red-text{color:#F44336 !important}.red.lighten-5{background-color:#FFEBEE !important}.red-text.text-lighten-5{color:#FFEBEE !important}.red.lighten-4{background-color:#FFCDD2 !important}.red-text.text-lighten-4{color:#FFCDD2 !important}.red.lighten-3{background-color:#EF9A9A !important}.red-text.text-lighten-3{color:#EF9A9A !important}.red.lighten-2{background-color:#E57373 !important}.red-text.text-lighten-2{color:#E57373 !important}.red.lighten-1{background-color:#EF5350 !important}.red-text.text-lighten-1{color:#EF5350 !important}.red.darken-1{background-color:#E53935 !important}.red-text.text-darken-1{color:#E53935 !important}.red.darken-2{background-color:#D32F2F !important}.red-text.text-darken-2{color:#D32F2F !important}.red.darken-3{background-color:#C62828 !important}.red-text.text-darken-3{color:#C62828 !important}.red.darken-4{background-color:#B71C1C !important}.red-text.text-darken-4{color:#B71C1C !important}.red.accent-1{background-color:#FF8A80 !important}.red-text.text-accent-1{color:#FF8A80 !important}.red.accent-2{background-color:#FF5252 !important}.red-text.text-accent-2{color:#FF5252 !important}.red.accent-3{background-color:#FF1744 !important}.red-text.text-accent-3{color:#FF1744 !important}.red.accent-4{background-color:#D50000 !important}.red-text.text-accent-4{color:#D50000 !important}.pink{background-color:#e91e63 !important}.pink-text{color:#e91e63 !important}.pink.lighten-5{background-color:#fce4ec !important}.pink-text.text-lighten-5{color:#fce4ec !important}.pink.lighten-4{background-color:#f8bbd0 !important}.pink-text.text-lighten-4{color:#f8bbd0 !important}.pink.lighten-3{background-color:#f48fb1 !important}.pink-text.text-lighten-3{color:#f48fb1 !important}.pink.lighten-2{background-color:#f06292 !important}.pink-text.text-lighten-2{color:#f06292 !important}.pink.lighten-1{background-color:#ec407a !important}.pink-text.text-lighten-1{color:#ec407a !important}.pink.darken-1{background-color:#d81b60 !important}.pink-text.text-darken-1{color:#d81b60 !important}.pink.darken-2{background-color:#c2185b !important}.pink-text.text-darken-2{color:#c2185b !important}.pink.darken-3{background-color:#ad1457 !important}.pink-text.text-darken-3{color:#ad1457 !important}.pink.darken-4{background-color:#880e4f !important}.pink-text.text-darken-4{color:#880e4f !important}.pink.accent-1{background-color:#ff80ab !important}.pink-text.text-accent-1{color:#ff80ab !important}.pink.accent-2{background-color:#ff4081 !important}.pink-text.text-accent-2{color:#ff4081 !important}.pink.accent-3{background-color:#f50057 !important}.pink-text.text-accent-3{color:#f50057 !important}.pink.accent-4{background-color:#c51162 !important}.pink-text.text-accent-4{color:#c51162 !important}.purple{background-color:#9c27b0 !important}.purple-text{color:#9c27b0 !important}.purple.lighten-5{background-color:#f3e5f5 !important}.purple-text.text-lighten-5{color:#f3e5f5 !important}.purple.lighten-4{background-color:#e1bee7 !important}.purple-text.text-lighten-4{color:#e1bee7 !important}.purple.lighten-3{background-color:#ce93d8 !important}.purple-text.text-lighten-3{color:#ce93d8 !important}.purple.lighten-2{background-color:#ba68c8 !important}.purple-text.text-lighten-2{color:#ba68c8 !important}.purple.lighten-1{background-color:#ab47bc !important}.purple-text.text-lighten-1{color:#ab47bc !important}.purple.darken-1{background-color:#8e24aa !important}.purple-text.text-darken-1{color:#8e24aa !important}.purple.darken-2{background-color:#7b1fa2 !important}.purple-text.text-darken-2{color:#7b1fa2 !important}.purple.darken-3{background-color:#6a1b9a !important}.purple-text.text-darken-3{color:#6a1b9a !important}.purple.darken-4{background-color:#4a148c !important}.purple-text.text-darken-4{color:#4a148c !important}.purple.accent-1{background-color:#ea80fc !important}.purple-text.text-accent-1{color:#ea80fc !important}.purple.accent-2{background-color:#e040fb !important}.purple-text.text-accent-2{color:#e040fb !important}.purple.accent-3{background-color:#d500f9 !important}.purple-text.text-accent-3{color:#d500f9 !important}.purple.accent-4{background-color:#a0f !important}.purple-text.text-accent-4{color:#a0f !important}.deep-purple{background-color:#673ab7 !important}.deep-purple-text{color:#673ab7 !important}.deep-purple.lighten-5{background-color:#ede7f6 !important}.deep-purple-text.text-lighten-5{color:#ede7f6 !important}.deep-purple.lighten-4{background-color:#d1c4e9 !important}.deep-purple-text.text-lighten-4{color:#d1c4e9 !important}.deep-purple.lighten-3{background-color:#b39ddb !important}.deep-purple-text.text-lighten-3{color:#b39ddb !important}.deep-purple.lighten-2{background-color:#9575cd !important}.deep-purple-text.text-lighten-2{color:#9575cd !important}.deep-purple.lighten-1{background-color:#7e57c2 !important}.deep-purple-text.text-lighten-1{color:#7e57c2 !important}.deep-purple.darken-1{background-color:#5e35b1 !important}.deep-purple-text.text-darken-1{color:#5e35b1 !important}.deep-purple.darken-2{background-color:#512da8 !important}.deep-purple-text.text-darken-2{color:#512da8 !important}.deep-purple.darken-3{background-color:#4527a0 !important}.deep-purple-text.text-darken-3{color:#4527a0 !important}.deep-purple.darken-4{background-color:#311b92 !important}.deep-purple-text.text-darken-4{color:#311b92 !important}.deep-purple.accent-1{background-color:#b388ff !important}.deep-purple-text.text-accent-1{color:#b388ff !important}.deep-purple.accent-2{background-color:#7c4dff !important}.deep-purple-text.text-accent-2{color:#7c4dff !important}.deep-purple.accent-3{background-color:#651fff !important}.deep-purple-text.text-accent-3{color:#651fff !important}.deep-purple.accent-4{background-color:#6200ea !important}.deep-purple-text.text-accent-4{color:#6200ea !important}.indigo{background-color:#3f51b5 !important}.indigo-text{color:#3f51b5 !important}.indigo.lighten-5{background-color:#e8eaf6 !important}.indigo-text.text-lighten-5{color:#e8eaf6 !important}.indigo.lighten-4{background-color:#c5cae9 !important}.indigo-text.text-lighten-4{color:#c5cae9 !important}.indigo.lighten-3{background-color:#9fa8da !important}.indigo-text.text-lighten-3{color:#9fa8da !important}.indigo.lighten-2{background-color:#7986cb !important}.indigo-text.text-lighten-2{color:#7986cb !important}.indigo.lighten-1{background-color:#5c6bc0 !important}.indigo-text.text-lighten-1{color:#5c6bc0 !important}.indigo.darken-1{background-color:#3949ab !important}.indigo-text.text-darken-1{color:#3949ab !important}.indigo.darken-2{background-color:#303f9f !important}.indigo-text.text-darken-2{color:#303f9f !important}.indigo.darken-3{background-color:#283593 !important}.indigo-text.text-darken-3{color:#283593 !important}.indigo.darken-4{background-color:#1a237e !important}.indigo-text.text-darken-4{color:#1a237e !important}.indigo.accent-1{background-color:#8c9eff !important}.indigo-text.text-accent-1{color:#8c9eff !important}.indigo.accent-2{background-color:#536dfe !important}.indigo-text.text-accent-2{color:#536dfe !important}.indigo.accent-3{background-color:#3d5afe !important}.indigo-text.text-accent-3{color:#3d5afe !important}.indigo.accent-4{background-color:#304ffe !important}.indigo-text.text-accent-4{color:#304ffe !important}.blue{background-color:#2196F3 !important}.blue-text{color:#2196F3 !important}.blue.lighten-5{background-color:#E3F2FD !important}.blue-text.text-lighten-5{color:#E3F2FD !important}.blue.lighten-4{background-color:#BBDEFB !important}.blue-text.text-lighten-4{color:#BBDEFB !important}.blue.lighten-3{background-color:#90CAF9 !important}.blue-text.text-lighten-3{color:#90CAF9 !important}.blue.lighten-2{background-color:#64B5F6 !important}.blue-text.text-lighten-2{color:#64B5F6 !important}.blue.lighten-1{background-color:#42A5F5 !important}.blue-text.text-lighten-1{color:#42A5F5 !important}.blue.darken-1{background-color:#1E88E5 !important}.blue-text.text-darken-1{color:#1E88E5 !important}.blue.darken-2{background-color:#1976D2 !important}.blue-text.text-darken-2{color:#1976D2 !important}.blue.darken-3{background-color:#1565C0 !important}.blue-text.text-darken-3{color:#1565C0 !important}.blue.darken-4{background-color:#0D47A1 !important}.blue-text.text-darken-4{color:#0D47A1 !important}.blue.accent-1{background-color:#82B1FF !important}.blue-text.text-accent-1{color:#82B1FF !important}.blue.accent-2{background-color:#448AFF !important}.blue-text.text-accent-2{color:#448AFF !important}.blue.accent-3{background-color:#2979FF !important}.blue-text.text-accent-3{color:#2979FF !important}.blue.accent-4{background-color:#2962FF !important}.blue-text.text-accent-4{color:#2962FF !important}.light-blue{background-color:#03a9f4 !important}.light-blue-text{color:#03a9f4 !important}.light-blue.lighten-5{background-color:#e1f5fe !important}.light-blue-text.text-lighten-5{color:#e1f5fe !important}.light-blue.lighten-4{background-color:#b3e5fc !important}.light-blue-text.text-lighten-4{color:#b3e5fc !important}.light-blue.lighten-3{background-color:#81d4fa !important}.light-blue-text.text-lighten-3{color:#81d4fa !important}.light-blue.lighten-2{background-color:#4fc3f7 !important}.light-blue-text.text-lighten-2{color:#4fc3f7 !important}.light-blue.lighten-1{background-color:#29b6f6 !important}.light-blue-text.text-lighten-1{color:#29b6f6 !important}.light-blue.darken-1{background-color:#039be5 !important}.light-blue-text.text-darken-1{color:#039be5 !important}.light-blue.darken-2{background-color:#0288d1 !important}.light-blue-text.text-darken-2{color:#0288d1 !important}.light-blue.darken-3{background-color:#0277bd !important}.light-blue-text.text-darken-3{color:#0277bd !important}.light-blue.darken-4{background-color:#01579b !important}.light-blue-text.text-darken-4{color:#01579b !important}.light-blue.accent-1{background-color:#80d8ff !important}.light-blue-text.text-accent-1{color:#80d8ff !important}.light-blue.accent-2{background-color:#40c4ff !important}.light-blue-text.text-accent-2{color:#40c4ff !important}.light-blue.accent-3{background-color:#00b0ff !important}.light-blue-text.text-accent-3{color:#00b0ff !important}.light-blue.accent-4{background-color:#0091ea !important}.light-blue-text.text-accent-4{color:#0091ea !important}.cyan{background-color:#00bcd4 !important}.cyan-text{color:#00bcd4 !important}.cyan.lighten-5{background-color:#e0f7fa !important}.cyan-text.text-lighten-5{color:#e0f7fa !important}.cyan.lighten-4{background-color:#b2ebf2 !important}.cyan-text.text-lighten-4{color:#b2ebf2 !important}.cyan.lighten-3{background-color:#80deea !important}.cyan-text.text-lighten-3{color:#80deea !important}.cyan.lighten-2{background-color:#4dd0e1 !important}.cyan-text.text-lighten-2{color:#4dd0e1 !important}.cyan.lighten-1{background-color:#26c6da !important}.cyan-text.text-lighten-1{color:#26c6da !important}.cyan.darken-1{background-color:#00acc1 !important}.cyan-text.text-darken-1{color:#00acc1 !important}.cyan.darken-2{background-color:#0097a7 !important}.cyan-text.text-darken-2{color:#0097a7 !important}.cyan.darken-3{background-color:#00838f !important}.cyan-text.text-darken-3{color:#00838f !important}.cyan.darken-4{background-color:#006064 !important}.cyan-text.text-darken-4{color:#006064 !important}.cyan.accent-1{background-color:#84ffff !important}.cyan-text.text-accent-1{color:#84ffff !important}.cyan.accent-2{background-color:#18ffff !important}.cyan-text.text-accent-2{color:#18ffff !important}.cyan.accent-3{background-color:#00e5ff !important}.cyan-text.text-accent-3{color:#00e5ff !important}.cyan.accent-4{background-color:#00b8d4 !important}.cyan-text.text-accent-4{color:#00b8d4 !important}.teal{background-color:#009688 !important}.teal-text{color:#009688 !important}.teal.lighten-5{background-color:#e0f2f1 !important}.teal-text.text-lighten-5{color:#e0f2f1 !important}.teal.lighten-4{background-color:#b2dfdb !important}.teal-text.text-lighten-4{color:#b2dfdb !important}.teal.lighten-3{background-color:#80cbc4 !important}.teal-text.text-lighten-3{color:#80cbc4 !important}.teal.lighten-2{background-color:#4db6ac !important}.teal-text.text-lighten-2{color:#4db6ac !important}.teal.lighten-1{background-color:#26a69a !important}.teal-text.text-lighten-1{color:#26a69a !important}.teal.darken-1{background-color:#00897b !important}.teal-text.text-darken-1{color:#00897b !important}.teal.darken-2{background-color:#00796b !important}.teal-text.text-darken-2{color:#00796b !important}.teal.darken-3{background-color:#00695c !important}.teal-text.text-darken-3{color:#00695c !important}.teal.darken-4{background-color:#004d40 !important}.teal-text.text-darken-4{color:#004d40 !important}.teal.accent-1{background-color:#a7ffeb !important}.teal-text.text-accent-1{color:#a7ffeb !important}.teal.accent-2{background-color:#64ffda !important}.teal-text.text-accent-2{color:#64ffda !important}.teal.accent-3{background-color:#1de9b6 !important}.teal-text.text-accent-3{color:#1de9b6 !important}.teal.accent-4{background-color:#00bfa5 !important}.teal-text.text-accent-4{color:#00bfa5 !important}.green{background-color:#4CAF50 !important}.green-text{color:#4CAF50 !important}.green.lighten-5{background-color:#E8F5E9 !important}.green-text.text-lighten-5{color:#E8F5E9 !important}.green.lighten-4{background-color:#C8E6C9 !important}.green-text.text-lighten-4{color:#C8E6C9 !important}.green.lighten-3{background-color:#A5D6A7 !important}.green-text.text-lighten-3{color:#A5D6A7 !important}.green.lighten-2{background-color:#81C784 !important}.green-text.text-lighten-2{color:#81C784 !important}.green.lighten-1{background-color:#66BB6A !important}.green-text.text-lighten-1{color:#66BB6A !important}.green.darken-1{background-color:#43A047 !important}.green-text.text-darken-1{color:#43A047 !important}.green.darken-2{background-color:#388E3C !important}.green-text.text-darken-2{color:#388E3C !important}.green.darken-3{background-color:#2E7D32 !important}.green-text.text-darken-3{color:#2E7D32 !important}.green.darken-4{background-color:#1B5E20 !important}.green-text.text-darken-4{color:#1B5E20 !important}.green.accent-1{background-color:#B9F6CA !important}.green-text.text-accent-1{color:#B9F6CA !important}.green.accent-2{background-color:#69F0AE !important}.green-text.text-accent-2{color:#69F0AE !important}.green.accent-3{background-color:#00E676 !important}.green-text.text-accent-3{color:#00E676 !important}.green.accent-4{background-color:#00C853 !important}.green-text.text-accent-4{color:#00C853 !important}.light-green{background-color:#8bc34a !important}.light-green-text{color:#8bc34a !important}.light-green.lighten-5{background-color:#f1f8e9 !important}.light-green-text.text-lighten-5{color:#f1f8e9 !important}.light-green.lighten-4{background-color:#dcedc8 !important}.light-green-text.text-lighten-4{color:#dcedc8 !important}.light-green.lighten-3{background-color:#c5e1a5 !important}.light-green-text.text-lighten-3{color:#c5e1a5 !important}.light-green.lighten-2{background-color:#aed581 !important}.light-green-text.text-lighten-2{color:#aed581 !important}.light-green.lighten-1{background-color:#9ccc65 !important}.light-green-text.text-lighten-1{color:#9ccc65 !important}.light-green.darken-1{background-color:#7cb342 !important}.light-green-text.text-darken-1{color:#7cb342 !important}.light-green.darken-2{background-color:#689f38 !important}.light-green-text.text-darken-2{color:#689f38 !important}.light-green.darken-3{background-color:#558b2f !important}.light-green-text.text-darken-3{color:#558b2f !important}.light-green.darken-4{background-color:#33691e !important}.light-green-text.text-darken-4{color:#33691e !important}.light-green.accent-1{background-color:#ccff90 !important}.light-green-text.text-accent-1{color:#ccff90 !important}.light-green.accent-2{background-color:#b2ff59 !important}.light-green-text.text-accent-2{color:#b2ff59 !important}.light-green.accent-3{background-color:#76ff03 !important}.light-green-text.text-accent-3{color:#76ff03 !important}.light-green.accent-4{background-color:#64dd17 !important}.light-green-text.text-accent-4{color:#64dd17 !important}.lime{background-color:#cddc39 !important}.lime-text{color:#cddc39 !important}.lime.lighten-5{background-color:#f9fbe7 !important}.lime-text.text-lighten-5{color:#f9fbe7 !important}.lime.lighten-4{background-color:#f0f4c3 !important}.lime-text.text-lighten-4{color:#f0f4c3 !important}.lime.lighten-3{background-color:#e6ee9c !important}.lime-text.text-lighten-3{color:#e6ee9c !important}.lime.lighten-2{background-color:#dce775 !important}.lime-text.text-lighten-2{color:#dce775 !important}.lime.lighten-1{background-color:#d4e157 !important}.lime-text.text-lighten-1{color:#d4e157 !important}.lime.darken-1{background-color:#c0ca33 !important}.lime-text.text-darken-1{color:#c0ca33 !important}.lime.darken-2{background-color:#afb42b !important}.lime-text.text-darken-2{color:#afb42b !important}.lime.darken-3{background-color:#9e9d24 !important}.lime-text.text-darken-3{color:#9e9d24 !important}.lime.darken-4{background-color:#827717 !important}.lime-text.text-darken-4{color:#827717 !important}.lime.accent-1{background-color:#f4ff81 !important}.lime-text.text-accent-1{color:#f4ff81 !important}.lime.accent-2{background-color:#eeff41 !important}.lime-text.text-accent-2{color:#eeff41 !important}.lime.accent-3{background-color:#c6ff00 !important}.lime-text.text-accent-3{color:#c6ff00 !important}.lime.accent-4{background-color:#aeea00 !important}.lime-text.text-accent-4{color:#aeea00 !important}.yellow{background-color:#ffeb3b !important}.yellow-text{color:#ffeb3b !important}.yellow.lighten-5{background-color:#fffde7 !important}.yellow-text.text-lighten-5{color:#fffde7 !important}.yellow.lighten-4{background-color:#fff9c4 !important}.yellow-text.text-lighten-4{color:#fff9c4 !important}.yellow.lighten-3{background-color:#fff59d !important}.yellow-text.text-lighten-3{color:#fff59d !important}.yellow.lighten-2{background-color:#fff176 !important}.yellow-text.text-lighten-2{color:#fff176 !important}.yellow.lighten-1{background-color:#ffee58 !important}.yellow-text.text-lighten-1{color:#ffee58 !important}.yellow.darken-1{background-color:#fdd835 !important}.yellow-text.text-darken-1{color:#fdd835 !important}.yellow.darken-2{background-color:#fbc02d !important}.yellow-text.text-darken-2{color:#fbc02d !important}.yellow.darken-3{background-color:#f9a825 !important}.yellow-text.text-darken-3{color:#f9a825 !important}.yellow.darken-4{background-color:#f57f17 !important}.yellow-text.text-darken-4{color:#f57f17 !important}.yellow.accent-1{background-color:#ffff8d !important}.yellow-text.text-accent-1{color:#ffff8d !important}.yellow.accent-2{background-color:#ff0 !important}.yellow-text.text-accent-2{color:#ff0 !important}.yellow.accent-3{background-color:#ffea00 !important}.yellow-text.text-accent-3{color:#ffea00 !important}.yellow.accent-4{background-color:#ffd600 !important}.yellow-text.text-accent-4{color:#ffd600 !important}.amber{background-color:#ffc107 !important}.amber-text{color:#ffc107 !important}.amber.lighten-5{background-color:#fff8e1 !important}.amber-text.text-lighten-5{color:#fff8e1 !important}.amber.lighten-4{background-color:#ffecb3 !important}.amber-text.text-lighten-4{color:#ffecb3 !important}.amber.lighten-3{background-color:#ffe082 !important}.amber-text.text-lighten-3{color:#ffe082 !important}.amber.lighten-2{background-color:#ffd54f !important}.amber-text.text-lighten-2{color:#ffd54f !important}.amber.lighten-1{background-color:#ffca28 !important}.amber-text.text-lighten-1{color:#ffca28 !important}.amber.darken-1{background-color:#ffb300 !important}.amber-text.text-darken-1{color:#ffb300 !important}.amber.darken-2{background-color:#ffa000 !important}.amber-text.text-darken-2{color:#ffa000 !important}.amber.darken-3{background-color:#ff8f00 !important}.amber-text.text-darken-3{color:#ff8f00 !important}.amber.darken-4{background-color:#ff6f00 !important}.amber-text.text-darken-4{color:#ff6f00 !important}.amber.accent-1{background-color:#ffe57f !important}.amber-text.text-accent-1{color:#ffe57f !important}.amber.accent-2{background-color:#ffd740 !important}.amber-text.text-accent-2{color:#ffd740 !important}.amber.accent-3{background-color:#ffc400 !important}.amber-text.text-accent-3{color:#ffc400 !important}.amber.accent-4{background-color:#ffab00 !important}.amber-text.text-accent-4{color:#ffab00 !important}.orange{background-color:#ff9800 !important}.orange-text{color:#ff9800 !important}.orange.lighten-5{background-color:#fff3e0 !important}.orange-text.text-lighten-5{color:#fff3e0 !important}.orange.lighten-4{background-color:#ffe0b2 !important}.orange-text.text-lighten-4{color:#ffe0b2 !important}.orange.lighten-3{background-color:#ffcc80 !important}.orange-text.text-lighten-3{color:#ffcc80 !important}.orange.lighten-2{background-color:#ffb74d !important}.orange-text.text-lighten-2{color:#ffb74d !important}.orange.lighten-1{background-color:#ffa726 !important}.orange-text.text-lighten-1{color:#ffa726 !important}.orange.darken-1{background-color:#fb8c00 !important}.orange-text.text-darken-1{color:#fb8c00 !important}.orange.darken-2{background-color:#f57c00 !important}.orange-text.text-darken-2{color:#f57c00 !important}.orange.darken-3{background-color:#ef6c00 !important}.orange-text.text-darken-3{color:#ef6c00 !important}.orange.darken-4{background-color:#e65100 !important}.orange-text.text-darken-4{color:#e65100 !important}.orange.accent-1{background-color:#ffd180 !important}.orange-text.text-accent-1{color:#ffd180 !important}.orange.accent-2{background-color:#ffab40 !important}.orange-text.text-accent-2{color:#ffab40 !important}.orange.accent-3{background-color:#ff9100 !important}.orange-text.text-accent-3{color:#ff9100 !important}.orange.accent-4{background-color:#ff6d00 !important}.orange-text.text-accent-4{color:#ff6d00 !important}.deep-orange{background-color:#ff5722 !important}.deep-orange-text{color:#ff5722 !important}.deep-orange.lighten-5{background-color:#fbe9e7 !important}.deep-orange-text.text-lighten-5{color:#fbe9e7 !important}.deep-orange.lighten-4{background-color:#ffccbc !important}.deep-orange-text.text-lighten-4{color:#ffccbc !important}.deep-orange.lighten-3{background-color:#ffab91 !important}.deep-orange-text.text-lighten-3{color:#ffab91 !important}.deep-orange.lighten-2{background-color:#ff8a65 !important}.deep-orange-text.text-lighten-2{color:#ff8a65 !important}.deep-orange.lighten-1{background-color:#ff7043 !important}.deep-orange-text.text-lighten-1{color:#ff7043 !important}.deep-orange.darken-1{background-color:#f4511e !important}.deep-orange-text.text-darken-1{color:#f4511e !important}.deep-orange.darken-2{background-color:#e64a19 !important}.deep-orange-text.text-darken-2{color:#e64a19 !important}.deep-orange.darken-3{background-color:#d84315 !important}.deep-orange-text.text-darken-3{color:#d84315 !important}.deep-orange.darken-4{background-color:#bf360c !important}.deep-orange-text.text-darken-4{color:#bf360c !important}.deep-orange.accent-1{background-color:#ff9e80 !important}.deep-orange-text.text-accent-1{color:#ff9e80 !important}.deep-orange.accent-2{background-color:#ff6e40 !important}.deep-orange-text.text-accent-2{color:#ff6e40 !important}.deep-orange.accent-3{background-color:#ff3d00 !important}.deep-orange-text.text-accent-3{color:#ff3d00 !important}.deep-orange.accent-4{background-color:#dd2c00 !important}.deep-orange-text.text-accent-4{color:#dd2c00 !important}.brown{background-color:#795548 !important}.brown-text{color:#795548 !important}.brown.lighten-5{background-color:#efebe9 !important}.brown-text.text-lighten-5{color:#efebe9 !important}.brown.lighten-4{background-color:#d7ccc8 !important}.brown-text.text-lighten-4{color:#d7ccc8 !important}.brown.lighten-3{background-color:#bcaaa4 !important}.brown-text.text-lighten-3{color:#bcaaa4 !important}.brown.lighten-2{background-color:#a1887f !important}.brown-text.text-lighten-2{color:#a1887f !important}.brown.lighten-1{background-color:#8d6e63 !important}.brown-text.text-lighten-1{color:#8d6e63 !important}.brown.darken-1{background-color:#6d4c41 !important}.brown-text.text-darken-1{color:#6d4c41 !important}.brown.darken-2{background-color:#5d4037 !important}.brown-text.text-darken-2{color:#5d4037 !important}.brown.darken-3{background-color:#4e342e !important}.brown-text.text-darken-3{color:#4e342e !important}.brown.darken-4{background-color:#3e2723 !important}.brown-text.text-darken-4{color:#3e2723 !important}.blue-grey{background-color:#607d8b !important}.blue-grey-text{color:#607d8b !important}.blue-grey.lighten-5{background-color:#eceff1 !important}.blue-grey-text.text-lighten-5{color:#eceff1 !important}.blue-grey.lighten-4{background-color:#cfd8dc !important}.blue-grey-text.text-lighten-4{color:#cfd8dc !important}.blue-grey.lighten-3{background-color:#b0bec5 !important}.blue-grey-text.text-lighten-3{color:#b0bec5 !important}.blue-grey.lighten-2{background-color:#90a4ae !important}.blue-grey-text.text-lighten-2{color:#90a4ae !important}.blue-grey.lighten-1{background-color:#78909c !important}.blue-grey-text.text-lighten-1{color:#78909c !important}.blue-grey.darken-1{background-color:#546e7a !important}.blue-grey-text.text-darken-1{color:#546e7a !important}.blue-grey.darken-2{background-color:#455a64 !important}.blue-grey-text.text-darken-2{color:#455a64 !important}.blue-grey.darken-3{background-color:#37474f !important}.blue-grey-text.text-darken-3{color:#37474f !important}.blue-grey.darken-4{background-color:#263238 !important}.blue-grey-text.text-darken-4{color:#263238 !important}.grey{background-color:#9e9e9e !important}.grey-text{color:#9e9e9e !important}.grey.lighten-5{background-color:#fafafa !important}.grey-text.text-lighten-5{color:#fafafa !important}.grey.lighten-4{background-color:#f5f5f5 !important}.grey-text.text-lighten-4{color:#f5f5f5 !important}.grey.lighten-3{background-color:#eee !important}.grey-text.text-lighten-3{color:#eee !important}.grey.lighten-2{background-color:#e0e0e0 !important}.grey-text.text-lighten-2{color:#e0e0e0 !important}.grey.lighten-1{background-color:#bdbdbd !important}.grey-text.text-lighten-1{color:#bdbdbd !important}.grey.darken-1{background-color:#757575 !important}.grey-text.text-darken-1{color:#757575 !important}.grey.darken-2{background-color:#616161 !important}.grey-text.text-darken-2{color:#616161 !important}.grey.darken-3{background-color:#424242 !important}.grey-text.text-darken-3{color:#424242 !important}.grey.darken-4{background-color:#212121 !important}.grey-text.text-darken-4{color:#212121 !important}.black{background-color:#000 !important}.black-text{color:#000 !important}.white{background-color:#fff !important}.white-text{color:#fff !important}.transparent{background-color:rgba(0,0,0,0) !important}.transparent-text{color:rgba(0,0,0,0) !important}/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;-moz-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"]::-webkit-search-cancel-button,[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{-webkit-box-sizing:border-box;box-sizing:border-box}*,*:before,*:after{-webkit-box-sizing:inherit;box-sizing:inherit}button,input,optgroup,select,textarea{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif}ul:not(.browser-default){padding-left:0;list-style-type:none}ul:not(.browser-default)>li{list-style-type:none}a{color:#039be5;text-decoration:none;-webkit-tap-highlight-color:transparent}.valign-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.clearfix{clear:both}.z-depth-0{-webkit-box-shadow:none !important;box-shadow:none !important}.z-depth-1,nav,.card-panel,.card,.toast,.btn,.btn-large,.btn-small,.btn-floating,.dropdown-content,.collapsible,.sidenav{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2)}.z-depth-1-half,.btn:hover,.btn-large:hover,.btn-small:hover,.btn-floating:hover{-webkit-box-shadow:0 3px 3px 0 rgba(0,0,0,0.14),0 1px 7px 0 rgba(0,0,0,0.12),0 3px 1px -1px rgba(0,0,0,0.2);box-shadow:0 3px 3px 0 rgba(0,0,0,0.14),0 1px 7px 0 rgba(0,0,0,0.12),0 3px 1px -1px rgba(0,0,0,0.2)}.z-depth-2{-webkit-box-shadow:0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3);box-shadow:0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3)}.z-depth-3{-webkit-box-shadow:0 8px 17px 2px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2);box-shadow:0 8px 17px 2px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2)}.z-depth-4{-webkit-box-shadow:0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -7px rgba(0,0,0,0.2);box-shadow:0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -7px rgba(0,0,0,0.2)}.z-depth-5,.modal{-webkit-box-shadow:0 24px 38px 3px rgba(0,0,0,0.14),0 9px 46px 8px rgba(0,0,0,0.12),0 11px 15px -7px rgba(0,0,0,0.2);box-shadow:0 24px 38px 3px rgba(0,0,0,0.14),0 9px 46px 8px rgba(0,0,0,0.12),0 11px 15px -7px rgba(0,0,0,0.2)}.hoverable{-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s}.hoverable:hover{-webkit-box-shadow:0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);box-shadow:0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}.divider{height:1px;overflow:hidden;background-color:#e0e0e0}blockquote{margin:20px 0;padding-left:1.5rem;border-left:5px solid #ee6e73}i{line-height:inherit}i.left{float:left;margin-right:15px}i.right{float:right;margin-left:15px}i.tiny{font-size:1rem}i.small{font-size:2rem}i.medium{font-size:4rem}i.large{font-size:6rem}img.responsive-img,video.responsive-video{max-width:100%;height:auto}.pagination li{display:inline-block;border-radius:2px;text-align:center;vertical-align:top;height:30px}.pagination li a{color:#444;display:inline-block;font-size:1.2rem;padding:0 10px;line-height:30px}.pagination li.active a{color:#fff}.pagination li.active{background-color:#ee6e73}.pagination li.disabled a{cursor:default;color:#999}.pagination li i{font-size:2rem}.pagination li.pages ul li{display:inline-block;float:none}@media only screen and (max-width: 992px){.pagination{width:100%}.pagination li.prev,.pagination li.next{width:10%}.pagination li.pages{width:80%;overflow:hidden;white-space:nowrap}}.breadcrumb{font-size:18px;color:rgba(255,255,255,0.7)}.breadcrumb i,.breadcrumb [class^=\"mdi-\"],.breadcrumb [class*=\"mdi-\"],.breadcrumb i.material-icons{display:inline-block;float:left;font-size:24px}.breadcrumb:before{content:'\\E5CC';color:rgba(255,255,255,0.7);vertical-align:top;display:inline-block;font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:25px;margin:0 10px 0 8px;-webkit-font-smoothing:antialiased}.breadcrumb:first-child:before{display:none}.breadcrumb:last-child{color:#fff}.parallax-container{position:relative;overflow:hidden;height:500px}.parallax-container .parallax{position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1}.parallax-container .parallax img{opacity:0;position:absolute;left:50%;bottom:0;min-width:100%;min-height:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pin-top,.pin-bottom{position:relative}.pinned{position:fixed !important}ul.staggered-list li{opacity:0}.fade-in{opacity:0;-webkit-transform-origin:0 50%;transform-origin:0 50%}@media only screen and (max-width: 600px){.hide-on-small-only,.hide-on-small-and-down{display:none !important}}@media only screen and (max-width: 992px){.hide-on-med-and-down{display:none !important}}@media only screen and (min-width: 601px){.hide-on-med-and-up{display:none !important}}@media only screen and (min-width: 600px) and (max-width: 992px){.hide-on-med-only{display:none !important}}@media only screen and (min-width: 993px){.hide-on-large-only{display:none !important}}@media only screen and (min-width: 1201px){.hide-on-extra-large-only{display:none !important}}@media only screen and (min-width: 1201px){.show-on-extra-large{display:block !important}}@media only screen and (min-width: 993px){.show-on-large{display:block !important}}@media only screen and (min-width: 600px) and (max-width: 992px){.show-on-medium{display:block !important}}@media only screen and (max-width: 600px){.show-on-small{display:block !important}}@media only screen and (min-width: 601px){.show-on-medium-and-up{display:block !important}}@media only screen and (max-width: 992px){.show-on-medium-and-down{display:block !important}}@media only screen and (max-width: 600px){.center-on-small-only{text-align:center}}.page-footer{padding-top:20px;color:#fff;background-color:#ee6e73}.page-footer .footer-copyright{overflow:hidden;min-height:50px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:10px 0px;color:rgba(255,255,255,0.8);background-color:rgba(51,51,51,0.08)}table,th,td{border:none}table{width:100%;display:table;border-collapse:collapse;border-spacing:0}table.striped tr{border-bottom:none}table.striped>tbody>tr:nth-child(odd){background-color:rgba(242,242,242,0.5)}table.striped>tbody>tr>td{border-radius:0}table.highlight>tbody>tr{-webkit-transition:background-color .25s ease;transition:background-color .25s ease}table.highlight>tbody>tr:hover{background-color:rgba(242,242,242,0.5)}table.centered thead tr th,table.centered tbody tr td{text-align:center}tr{border-bottom:1px solid rgba(0,0,0,0.12)}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}@media only screen and (max-width: 992px){table.responsive-table{width:100%;border-collapse:collapse;border-spacing:0;display:block;position:relative}table.responsive-table td:empty:before{content:'\\00a0'}table.responsive-table th,table.responsive-table td{margin:0;vertical-align:top}table.responsive-table th{text-align:left}table.responsive-table thead{display:block;float:left}table.responsive-table thead tr{display:block;padding:0 10px 0 0}table.responsive-table thead tr th::before{content:\"\\00a0\"}table.responsive-table tbody{display:block;width:auto;position:relative;overflow-x:auto;white-space:nowrap}table.responsive-table tbody tr{display:inline-block;vertical-align:top}table.responsive-table th{display:block;text-align:right}table.responsive-table td{display:block;min-height:1.25em;text-align:left}table.responsive-table tr{border-bottom:none;padding:0 10px}table.responsive-table thead{border:0;border-right:1px solid rgba(0,0,0,0.12)}}.collection{margin:.5rem 0 1rem 0;border:1px solid #e0e0e0;border-radius:2px;overflow:hidden;position:relative}.collection .collection-item{background-color:#fff;line-height:1.5rem;padding:10px 20px;margin:0;border-bottom:1px solid #e0e0e0}.collection .collection-item.avatar{min-height:84px;padding-left:72px;position:relative}.collection .collection-item.avatar:not(.circle-clipper)>.circle,.collection .collection-item.avatar :not(.circle-clipper)>.circle{position:absolute;width:42px;height:42px;overflow:hidden;left:15px;display:inline-block;vertical-align:middle}.collection .collection-item.avatar i.circle{font-size:18px;line-height:42px;color:#fff;background-color:#999;text-align:center}.collection .collection-item.avatar .title{font-size:16px}.collection .collection-item.avatar p{margin:0}.collection .collection-item.avatar .secondary-content{position:absolute;top:16px;right:16px}.collection .collection-item:last-child{border-bottom:none}.collection .collection-item.active{background-color:#26a69a;color:#eafaf9}.collection .collection-item.active .secondary-content{color:#fff}.collection a.collection-item{display:block;-webkit-transition:.25s;transition:.25s;color:#26a69a}.collection a.collection-item:not(.active):hover{background-color:#ddd}.collection.with-header .collection-header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:10px 20px}.collection.with-header .collection-item{padding-left:30px}.collection.with-header .collection-item.avatar{padding-left:72px}.secondary-content{float:right;color:#26a69a}.collapsible .collection{margin:0;border:none}.video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.video-container iframe,.video-container object,.video-container embed{position:absolute;top:0;left:0;width:100%;height:100%}.progress{position:relative;height:4px;display:block;width:100%;background-color:#acece6;border-radius:2px;margin:.5rem 0 1rem 0;overflow:hidden}.progress .determinate{position:absolute;top:0;left:0;bottom:0;background-color:#26a69a;-webkit-transition:width .3s linear;transition:width .3s linear}.progress .indeterminate{background-color:#26a69a}.progress .indeterminate:before{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left, right;-webkit-animation:indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;animation:indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite}.progress .indeterminate:after{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left, right;-webkit-animation:indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;animation:indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}@-webkit-keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@-webkit-keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}.hide{display:none !important}.left-align{text-align:left}.right-align{text-align:right}.center,.center-align{text-align:center}.left{float:left !important}.right{float:right !important}.no-select,input[type=range],input[type=range]+.thumb{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.circle{border-radius:50%}.center-block{display:block;margin-left:auto;margin-right:auto}.truncate{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.no-padding{padding:0 !important}span.badge{min-width:3rem;padding:0 6px;margin-left:14px;text-align:center;font-size:1rem;line-height:22px;height:22px;color:#757575;float:right;-webkit-box-sizing:border-box;box-sizing:border-box}span.badge.new{font-weight:300;font-size:0.8rem;color:#fff;background-color:#26a69a;border-radius:2px}span.badge.new:after{content:\" new\"}span.badge[data-badge-caption]::after{content:\" \" attr(data-badge-caption)}nav ul a span.badge{display:inline-block;float:none;margin-left:4px;line-height:22px;height:22px;-webkit-font-smoothing:auto}.collection-item span.badge{margin-top:calc(.75rem - 11px)}.collapsible span.badge{margin-left:auto}.sidenav span.badge{margin-top:calc(24px - 11px)}table span.badge{display:inline-block;float:none;margin-left:auto}.material-icons{text-rendering:optimizeLegibility;-webkit-font-feature-settings:'liga';-moz-font-feature-settings:'liga';font-feature-settings:'liga'}.container{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width: 601px){.container{width:85%}}@media only screen and (min-width: 993px){.container{width:70%}}.col .row{margin-left:-.75rem;margin-right:-.75rem}.section{padding-top:1rem;padding-bottom:1rem}.section.no-pad{padding:0}.section.no-pad-bot{padding-bottom:0}.section.no-pad-top{padding-top:0}.row{margin-left:auto;margin-right:auto;margin-bottom:20px}.row:after{content:\"\";display:table;clear:both}.row .col{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 .75rem;min-height:1px}.row .col[class*=\"push-\"],.row .col[class*=\"pull-\"]{position:relative}.row .col.s1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.s4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.s7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.s10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.s11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.s12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-s1{margin-left:8.3333333333%}.row .col.pull-s1{right:8.3333333333%}.row .col.push-s1{left:8.3333333333%}.row .col.offset-s2{margin-left:16.6666666667%}.row .col.pull-s2{right:16.6666666667%}.row .col.push-s2{left:16.6666666667%}.row .col.offset-s3{margin-left:25%}.row .col.pull-s3{right:25%}.row .col.push-s3{left:25%}.row .col.offset-s4{margin-left:33.3333333333%}.row .col.pull-s4{right:33.3333333333%}.row .col.push-s4{left:33.3333333333%}.row .col.offset-s5{margin-left:41.6666666667%}.row .col.pull-s5{right:41.6666666667%}.row .col.push-s5{left:41.6666666667%}.row .col.offset-s6{margin-left:50%}.row .col.pull-s6{right:50%}.row .col.push-s6{left:50%}.row .col.offset-s7{margin-left:58.3333333333%}.row .col.pull-s7{right:58.3333333333%}.row .col.push-s7{left:58.3333333333%}.row .col.offset-s8{margin-left:66.6666666667%}.row .col.pull-s8{right:66.6666666667%}.row .col.push-s8{left:66.6666666667%}.row .col.offset-s9{margin-left:75%}.row .col.pull-s9{right:75%}.row .col.push-s9{left:75%}.row .col.offset-s10{margin-left:83.3333333333%}.row .col.pull-s10{right:83.3333333333%}.row .col.push-s10{left:83.3333333333%}.row .col.offset-s11{margin-left:91.6666666667%}.row .col.pull-s11{right:91.6666666667%}.row .col.push-s11{left:91.6666666667%}.row .col.offset-s12{margin-left:100%}.row .col.pull-s12{right:100%}.row .col.push-s12{left:100%}@media only screen and (min-width: 601px){.row .col.m1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.m4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.m7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.m10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.m11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.m12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-m1{margin-left:8.3333333333%}.row .col.pull-m1{right:8.3333333333%}.row .col.push-m1{left:8.3333333333%}.row .col.offset-m2{margin-left:16.6666666667%}.row .col.pull-m2{right:16.6666666667%}.row .col.push-m2{left:16.6666666667%}.row .col.offset-m3{margin-left:25%}.row .col.pull-m3{right:25%}.row .col.push-m3{left:25%}.row .col.offset-m4{margin-left:33.3333333333%}.row .col.pull-m4{right:33.3333333333%}.row .col.push-m4{left:33.3333333333%}.row .col.offset-m5{margin-left:41.6666666667%}.row .col.pull-m5{right:41.6666666667%}.row .col.push-m5{left:41.6666666667%}.row .col.offset-m6{margin-left:50%}.row .col.pull-m6{right:50%}.row .col.push-m6{left:50%}.row .col.offset-m7{margin-left:58.3333333333%}.row .col.pull-m7{right:58.3333333333%}.row .col.push-m7{left:58.3333333333%}.row .col.offset-m8{margin-left:66.6666666667%}.row .col.pull-m8{right:66.6666666667%}.row .col.push-m8{left:66.6666666667%}.row .col.offset-m9{margin-left:75%}.row .col.pull-m9{right:75%}.row .col.push-m9{left:75%}.row .col.offset-m10{margin-left:83.3333333333%}.row .col.pull-m10{right:83.3333333333%}.row .col.push-m10{left:83.3333333333%}.row .col.offset-m11{margin-left:91.6666666667%}.row .col.pull-m11{right:91.6666666667%}.row .col.push-m11{left:91.6666666667%}.row .col.offset-m12{margin-left:100%}.row .col.pull-m12{right:100%}.row .col.push-m12{left:100%}}@media only screen and (min-width: 993px){.row .col.l1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.l4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.l7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.l10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.l11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.l12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-l1{margin-left:8.3333333333%}.row .col.pull-l1{right:8.3333333333%}.row .col.push-l1{left:8.3333333333%}.row .col.offset-l2{margin-left:16.6666666667%}.row .col.pull-l2{right:16.6666666667%}.row .col.push-l2{left:16.6666666667%}.row .col.offset-l3{margin-left:25%}.row .col.pull-l3{right:25%}.row .col.push-l3{left:25%}.row .col.offset-l4{margin-left:33.3333333333%}.row .col.pull-l4{right:33.3333333333%}.row .col.push-l4{left:33.3333333333%}.row .col.offset-l5{margin-left:41.6666666667%}.row .col.pull-l5{right:41.6666666667%}.row .col.push-l5{left:41.6666666667%}.row .col.offset-l6{margin-left:50%}.row .col.pull-l6{right:50%}.row .col.push-l6{left:50%}.row .col.offset-l7{margin-left:58.3333333333%}.row .col.pull-l7{right:58.3333333333%}.row .col.push-l7{left:58.3333333333%}.row .col.offset-l8{margin-left:66.6666666667%}.row .col.pull-l8{right:66.6666666667%}.row .col.push-l8{left:66.6666666667%}.row .col.offset-l9{margin-left:75%}.row .col.pull-l9{right:75%}.row .col.push-l9{left:75%}.row .col.offset-l10{margin-left:83.3333333333%}.row .col.pull-l10{right:83.3333333333%}.row .col.push-l10{left:83.3333333333%}.row .col.offset-l11{margin-left:91.6666666667%}.row .col.pull-l11{right:91.6666666667%}.row .col.push-l11{left:91.6666666667%}.row .col.offset-l12{margin-left:100%}.row .col.pull-l12{right:100%}.row .col.push-l12{left:100%}}@media only screen and (min-width: 1201px){.row .col.xl1{width:8.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl2{width:16.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl3{width:25%;margin-left:auto;left:auto;right:auto}.row .col.xl4{width:33.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl5{width:41.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl6{width:50%;margin-left:auto;left:auto;right:auto}.row .col.xl7{width:58.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl8{width:66.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl9{width:75%;margin-left:auto;left:auto;right:auto}.row .col.xl10{width:83.3333333333%;margin-left:auto;left:auto;right:auto}.row .col.xl11{width:91.6666666667%;margin-left:auto;left:auto;right:auto}.row .col.xl12{width:100%;margin-left:auto;left:auto;right:auto}.row .col.offset-xl1{margin-left:8.3333333333%}.row .col.pull-xl1{right:8.3333333333%}.row .col.push-xl1{left:8.3333333333%}.row .col.offset-xl2{margin-left:16.6666666667%}.row .col.pull-xl2{right:16.6666666667%}.row .col.push-xl2{left:16.6666666667%}.row .col.offset-xl3{margin-left:25%}.row .col.pull-xl3{right:25%}.row .col.push-xl3{left:25%}.row .col.offset-xl4{margin-left:33.3333333333%}.row .col.pull-xl4{right:33.3333333333%}.row .col.push-xl4{left:33.3333333333%}.row .col.offset-xl5{margin-left:41.6666666667%}.row .col.pull-xl5{right:41.6666666667%}.row .col.push-xl5{left:41.6666666667%}.row .col.offset-xl6{margin-left:50%}.row .col.pull-xl6{right:50%}.row .col.push-xl6{left:50%}.row .col.offset-xl7{margin-left:58.3333333333%}.row .col.pull-xl7{right:58.3333333333%}.row .col.push-xl7{left:58.3333333333%}.row .col.offset-xl8{margin-left:66.6666666667%}.row .col.pull-xl8{right:66.6666666667%}.row .col.push-xl8{left:66.6666666667%}.row .col.offset-xl9{margin-left:75%}.row .col.pull-xl9{right:75%}.row .col.push-xl9{left:75%}.row .col.offset-xl10{margin-left:83.3333333333%}.row .col.pull-xl10{right:83.3333333333%}.row .col.push-xl10{left:83.3333333333%}.row .col.offset-xl11{margin-left:91.6666666667%}.row .col.pull-xl11{right:91.6666666667%}.row .col.push-xl11{left:91.6666666667%}.row .col.offset-xl12{margin-left:100%}.row .col.pull-xl12{right:100%}.row .col.push-xl12{left:100%}}nav{color:#fff;background-color:#ee6e73;width:100%;height:56px;line-height:56px}nav.nav-extended{height:auto}nav.nav-extended .nav-wrapper{min-height:56px;height:auto}nav.nav-extended .nav-content{position:relative;line-height:normal}nav a{color:#fff}nav i,nav [class^=\"mdi-\"],nav [class*=\"mdi-\"],nav i.material-icons{display:block;font-size:24px;height:56px;line-height:56px}nav .nav-wrapper{position:relative;height:100%}@media only screen and (min-width: 993px){nav a.sidenav-trigger{display:none}}nav .sidenav-trigger{float:left;position:relative;z-index:1;height:56px;margin:0 18px}nav .sidenav-trigger i{height:56px;line-height:56px}nav .brand-logo{position:absolute;color:#fff;display:inline-block;font-size:2.1rem;padding:0}nav .brand-logo.center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}@media only screen and (max-width: 992px){nav .brand-logo{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}nav .brand-logo.left,nav .brand-logo.right{padding:0;-webkit-transform:none;transform:none}nav .brand-logo.left{left:0.5rem}nav .brand-logo.right{right:0.5rem;left:auto}}nav .brand-logo.right{right:0.5rem;padding:0}nav .brand-logo i,nav .brand-logo [class^=\"mdi-\"],nav .brand-logo [class*=\"mdi-\"],nav .brand-logo i.material-icons{float:left;margin-right:15px}nav .nav-title{display:inline-block;font-size:32px;padding:28px 0}nav ul{margin:0}nav ul li{-webkit-transition:background-color .3s;transition:background-color .3s;float:left;padding:0}nav ul li.active{background-color:rgba(0,0,0,0.1)}nav ul a{-webkit-transition:background-color .3s;transition:background-color .3s;font-size:1rem;color:#fff;display:block;padding:0 15px;cursor:pointer}nav ul a.btn,nav ul a.btn-large,nav ul a.btn-small,nav ul a.btn-large,nav ul a.btn-flat,nav ul a.btn-floating{margin-top:-2px;margin-left:15px;margin-right:15px}nav ul a.btn>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-small>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn-flat>.material-icons,nav ul a.btn-floating>.material-icons{height:inherit;line-height:inherit}nav ul a:hover{background-color:rgba(0,0,0,0.1)}nav ul.left{float:left}nav form{height:100%}nav .input-field{margin:0;height:100%}nav .input-field input{height:100%;font-size:1.2rem;border:none;padding-left:2rem}nav .input-field input:focus,nav .input-field input[type=text]:valid,nav .input-field input[type=password]:valid,nav .input-field input[type=email]:valid,nav .input-field input[type=url]:valid,nav .input-field input[type=date]:valid{border:none;-webkit-box-shadow:none;box-shadow:none}nav .input-field label{top:0;left:0}nav .input-field label i{color:rgba(255,255,255,0.7);-webkit-transition:color .3s;transition:color .3s}nav .input-field label.active i{color:#fff}.navbar-fixed{position:relative;height:56px;z-index:997}.navbar-fixed nav{position:fixed}@media only screen and (min-width: 601px){nav.nav-extended .nav-wrapper{min-height:64px}nav,nav .nav-wrapper i,nav a.sidenav-trigger,nav a.sidenav-trigger i{height:64px;line-height:64px}.navbar-fixed{height:64px}}a{text-decoration:none}html{line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-weight:normal;color:rgba(0,0,0,0.87)}@media only screen and (min-width: 0){html{font-size:14px}}@media only screen and (min-width: 992px){html{font-size:14.5px}}@media only screen and (min-width: 1200px){html{font-size:15px}}h1,h2,h3,h4,h5,h6{font-weight:400;line-height:1.3}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}h1{font-size:4.2rem;line-height:110%;margin:2.8rem 0 1.68rem 0}h2{font-size:3.56rem;line-height:110%;margin:2.3733333333rem 0 1.424rem 0}h3{font-size:2.92rem;line-height:110%;margin:1.9466666667rem 0 1.168rem 0}h4{font-size:2.28rem;line-height:110%;margin:1.52rem 0 .912rem 0}h5{font-size:1.64rem;line-height:110%;margin:1.0933333333rem 0 .656rem 0}h6{font-size:1.15rem;line-height:110%;margin:.7666666667rem 0 .46rem 0}em{font-style:italic}strong{font-weight:500}small{font-size:75%}.light{font-weight:300}.thin{font-weight:200}@media only screen and (min-width: 360px){.flow-text{font-size:1.2rem}}@media only screen and (min-width: 390px){.flow-text{font-size:1.224rem}}@media only screen and (min-width: 420px){.flow-text{font-size:1.248rem}}@media only screen and (min-width: 450px){.flow-text{font-size:1.272rem}}@media only screen and (min-width: 480px){.flow-text{font-size:1.296rem}}@media only screen and (min-width: 510px){.flow-text{font-size:1.32rem}}@media only screen and (min-width: 540px){.flow-text{font-size:1.344rem}}@media only screen and (min-width: 570px){.flow-text{font-size:1.368rem}}@media only screen and (min-width: 600px){.flow-text{font-size:1.392rem}}@media only screen and (min-width: 630px){.flow-text{font-size:1.416rem}}@media only screen and (min-width: 660px){.flow-text{font-size:1.44rem}}@media only screen and (min-width: 690px){.flow-text{font-size:1.464rem}}@media only screen and (min-width: 720px){.flow-text{font-size:1.488rem}}@media only screen and (min-width: 750px){.flow-text{font-size:1.512rem}}@media only screen and (min-width: 780px){.flow-text{font-size:1.536rem}}@media only screen and (min-width: 810px){.flow-text{font-size:1.56rem}}@media only screen and (min-width: 840px){.flow-text{font-size:1.584rem}}@media only screen and (min-width: 870px){.flow-text{font-size:1.608rem}}@media only screen and (min-width: 900px){.flow-text{font-size:1.632rem}}@media only screen and (min-width: 930px){.flow-text{font-size:1.656rem}}@media only screen and (min-width: 960px){.flow-text{font-size:1.68rem}}@media only screen and (max-width: 360px){.flow-text{font-size:1.2rem}}.scale-transition{-webkit-transition:-webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:-webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;transition:transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63), -webkit-transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important}.scale-transition.scale-out{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .2s !important;transition:-webkit-transform .2s !important;transition:transform .2s !important;transition:transform .2s, -webkit-transform .2s !important}.scale-transition.scale-in{-webkit-transform:scale(1);transform:scale(1)}.card-panel{-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s;padding:24px;margin:.5rem 0 1rem 0;border-radius:2px;background-color:#fff}.card{position:relative;margin:.5rem 0 1rem 0;background-color:#fff;-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s, -webkit-box-shadow .25s;border-radius:2px}.card .card-title{font-size:24px;font-weight:300}.card .card-title.activator{cursor:pointer}.card.small,.card.medium,.card.large{position:relative}.card.small .card-image,.card.medium .card-image,.card.large .card-image{max-height:60%;overflow:hidden}.card.small .card-image+.card-content,.card.medium .card-image+.card-content,.card.large .card-image+.card-content{max-height:40%}.card.small .card-content,.card.medium .card-content,.card.large .card-content{max-height:100%;overflow:hidden}.card.small .card-action,.card.medium .card-action,.card.large .card-action{position:absolute;bottom:0;left:0;right:0}.card.small{height:300px}.card.medium{height:400px}.card.large{height:500px}.card.horizontal{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.card.horizontal.small .card-image,.card.horizontal.medium .card-image,.card.horizontal.large .card-image{height:100%;max-height:none;overflow:visible}.card.horizontal.small .card-image img,.card.horizontal.medium .card-image img,.card.horizontal.large .card-image img{height:100%}.card.horizontal .card-image{max-width:50%}.card.horizontal .card-image img{border-radius:2px 0 0 2px;max-width:100%;width:auto}.card.horizontal .card-stacked{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative}.card.horizontal .card-stacked .card-content{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.card.sticky-action .card-action{z-index:2}.card.sticky-action .card-reveal{z-index:1;padding-bottom:64px}.card .card-image{position:relative}.card .card-image img{display:block;border-radius:2px 2px 0 0;position:relative;left:0;right:0;top:0;bottom:0;width:100%}.card .card-image .card-title{color:#fff;position:absolute;bottom:0;left:0;max-width:100%;padding:24px}.card .card-content{padding:24px;border-radius:0 0 2px 2px}.card .card-content p{margin:0}.card .card-content .card-title{display:block;line-height:32px;margin-bottom:8px}.card .card-content .card-title i{line-height:32px}.card .card-action{background-color:inherit;border-top:1px solid rgba(160,160,160,0.2);position:relative;padding:16px 24px}.card .card-action:last-child{border-radius:0 0 2px 2px}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating){color:#ffab40;margin-right:24px;-webkit-transition:color .3s ease;transition:color .3s ease;text-transform:uppercase}.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating):hover{color:#ffd8a6}.card .card-reveal{padding:24px;position:absolute;background-color:#fff;width:100%;overflow-y:auto;left:0;top:100%;height:100%;z-index:3;display:none}.card .card-reveal .card-title{cursor:pointer;display:block}#toast-container{display:block;position:fixed;z-index:10000}@media only screen and (max-width: 600px){#toast-container{min-width:100%;bottom:0%}}@media only screen and (min-width: 601px) and (max-width: 992px){#toast-container{left:5%;bottom:7%;max-width:90%}}@media only screen and (min-width: 993px){#toast-container{top:10%;right:7%;max-width:86%}}.toast{border-radius:2px;top:35px;width:auto;margin-top:10px;position:relative;max-width:100%;height:auto;min-height:48px;line-height:1.5em;background-color:#323232;padding:10px 25px;font-size:1.1rem;font-weight:300;color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;cursor:default}.toast .toast-action{color:#eeff41;font-weight:500;margin-right:-25px;margin-left:3rem}.toast.rounded{border-radius:24px}@media only screen and (max-width: 600px){.toast{width:100%;border-radius:0}}.tabs{position:relative;overflow-x:auto;overflow-y:hidden;height:48px;width:100%;background-color:#fff;margin:0 auto;white-space:nowrap}.tabs.tabs-transparent{background-color:transparent}.tabs.tabs-transparent .tab a,.tabs.tabs-transparent .tab.disabled a,.tabs.tabs-transparent .tab.disabled a:hover{color:rgba(255,255,255,0.7)}.tabs.tabs-transparent .tab a:hover,.tabs.tabs-transparent .tab a.active{color:#fff}.tabs.tabs-transparent .indicator{background-color:#fff}.tabs.tabs-fixed-width{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs.tabs-fixed-width .tab{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab{display:inline-block;text-align:center;line-height:48px;height:48px;padding:0;margin:0;text-transform:uppercase}.tabs .tab a{color:rgba(238,110,115,0.7);display:block;width:100%;height:100%;padding:0 24px;font-size:14px;text-overflow:ellipsis;overflow:hidden;-webkit-transition:color .28s ease, background-color .28s ease;transition:color .28s ease, background-color .28s ease}.tabs .tab a:focus,.tabs .tab a:focus.active{background-color:rgba(246,178,181,0.2);outline:none}.tabs .tab a:hover,.tabs .tab a.active{background-color:transparent;color:#ee6e73}.tabs .tab.disabled a,.tabs .tab.disabled a:hover{color:rgba(238,110,115,0.4);cursor:default}.tabs .indicator{position:absolute;bottom:0;height:2px;background-color:#f6b2b5;will-change:left, right}@media only screen and (max-width: 992px){.tabs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs .tab{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab a{padding:0 12px}}.material-tooltip{padding:10px 8px;font-size:1rem;z-index:2000;background-color:transparent;border-radius:2px;color:#fff;min-height:36px;line-height:120%;opacity:0;position:absolute;text-align:center;max-width:calc(100% - 4px);overflow:hidden;left:0;top:0;pointer-events:none;visibility:hidden;background-color:#323232}.backdrop{position:absolute;opacity:0;height:7px;width:14px;border-radius:0 0 50% 50%;background-color:#323232;z-index:-1;-webkit-transform-origin:50% 0%;transform-origin:50% 0%;visibility:hidden}.btn,.btn-large,.btn-small,.btn-flat{border:none;border-radius:2px;display:inline-block;height:36px;line-height:36px;padding:0 16px;text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent}.btn.disabled,.disabled.btn-large,.disabled.btn-small,.btn-floating.disabled,.btn-large.disabled,.btn-small.disabled,.btn-flat.disabled,.btn:disabled,.btn-large:disabled,.btn-small:disabled,.btn-floating:disabled,.btn-large:disabled,.btn-small:disabled,.btn-flat:disabled,.btn[disabled],.btn-large[disabled],.btn-small[disabled],.btn-floating[disabled],.btn-large[disabled],.btn-small[disabled],.btn-flat[disabled]{pointer-events:none;background-color:#DFDFDF !important;-webkit-box-shadow:none;box-shadow:none;color:#9F9F9F !important;cursor:default}.btn.disabled:hover,.disabled.btn-large:hover,.disabled.btn-small:hover,.btn-floating.disabled:hover,.btn-large.disabled:hover,.btn-small.disabled:hover,.btn-flat.disabled:hover,.btn:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-floating:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-flat:disabled:hover,.btn[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-floating[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover,.btn-flat[disabled]:hover{background-color:#DFDFDF !important;color:#9F9F9F !important}.btn,.btn-large,.btn-small,.btn-floating,.btn-large,.btn-small,.btn-flat{font-size:14px;outline:0}.btn i,.btn-large i,.btn-small i,.btn-floating i,.btn-large i,.btn-small i,.btn-flat i{font-size:1.3rem;line-height:inherit}.btn:focus,.btn-large:focus,.btn-small:focus,.btn-floating:focus{background-color:#1d7d74}.btn,.btn-large,.btn-small{text-decoration:none;color:#fff;background-color:#26a69a;text-align:center;letter-spacing:.5px;-webkit-transition:background-color .2s ease-out;transition:background-color .2s ease-out;cursor:pointer}.btn:hover,.btn-large:hover,.btn-small:hover{background-color:#2bbbad}.btn-floating{display:inline-block;color:#fff;position:relative;overflow:hidden;z-index:1;width:40px;height:40px;line-height:40px;padding:0;background-color:#26a69a;border-radius:50%;-webkit-transition:background-color .3s;transition:background-color .3s;cursor:pointer;vertical-align:middle}.btn-floating:hover{background-color:#26a69a}.btn-floating:before{border-radius:0}.btn-floating.btn-large{width:56px;height:56px;padding:0}.btn-floating.btn-large.halfway-fab{bottom:-28px}.btn-floating.btn-large i{line-height:56px}.btn-floating.btn-small{width:32.4px;height:32.4px}.btn-floating.btn-small.halfway-fab{bottom:-16.2px}.btn-floating.btn-small i{line-height:32.4px}.btn-floating.halfway-fab{position:absolute;right:24px;bottom:-20px}.btn-floating.halfway-fab.left{right:auto;left:24px}.btn-floating i{width:inherit;display:inline-block;text-align:center;color:#fff;font-size:1.6rem;line-height:40px}button.btn-floating{border:none}.fixed-action-btn{position:fixed;right:23px;bottom:23px;padding-top:15px;margin-bottom:0;z-index:997}.fixed-action-btn.active ul{visibility:visible}.fixed-action-btn.direction-left,.fixed-action-btn.direction-right{padding:0 0 0 15px}.fixed-action-btn.direction-left ul,.fixed-action-btn.direction-right ul{text-align:right;right:64px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:100%;left:auto;width:500px}.fixed-action-btn.direction-left ul li,.fixed-action-btn.direction-right ul li{display:inline-block;margin:7.5px 15px 0 0}.fixed-action-btn.direction-right{padding:0 15px 0 0}.fixed-action-btn.direction-right ul{text-align:left;direction:rtl;left:64px;right:auto}.fixed-action-btn.direction-right ul li{margin:7.5px 0 0 15px}.fixed-action-btn.direction-bottom{padding:0 0 15px 0}.fixed-action-btn.direction-bottom ul{top:64px;bottom:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.fixed-action-btn.direction-bottom ul li{margin:15px 0 0 0}.fixed-action-btn.toolbar{padding:0;height:56px}.fixed-action-btn.toolbar.active>a i{opacity:0}.fixed-action-btn.toolbar ul{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;top:0;bottom:0;z-index:1}.fixed-action-btn.toolbar ul li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:inline-block;margin:0;height:100%;-webkit-transition:none;transition:none}.fixed-action-btn.toolbar ul li a{display:block;overflow:hidden;position:relative;width:100%;height:100%;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;color:#fff;line-height:56px;z-index:1}.fixed-action-btn.toolbar ul li a i{line-height:inherit}.fixed-action-btn ul{left:0;right:0;text-align:center;position:absolute;bottom:64px;margin:0;visibility:hidden}.fixed-action-btn ul li{margin-bottom:15px}.fixed-action-btn ul a.btn-floating{opacity:0}.fixed-action-btn .fab-backdrop{position:absolute;top:0;left:0;z-index:-1;width:40px;height:40px;background-color:#26a69a;border-radius:50%;-webkit-transform:scale(0);transform:scale(0)}.btn-flat{-webkit-box-shadow:none;box-shadow:none;background-color:transparent;color:#343434;cursor:pointer;-webkit-transition:background-color .2s;transition:background-color .2s}.btn-flat:focus,.btn-flat:hover{-webkit-box-shadow:none;box-shadow:none}.btn-flat:focus{background-color:rgba(0,0,0,0.1)}.btn-flat.disabled,.btn-flat.btn-flat[disabled]{background-color:transparent !important;color:#b3b2b2 !important;cursor:default}.btn-large{height:54px;line-height:54px;font-size:15px;padding:0 28px}.btn-large i{font-size:1.6rem}.btn-small{height:32.4px;line-height:32.4px;font-size:13px}.btn-small i{font-size:1.2rem}.btn-block{display:block}.dropdown-content{background-color:#fff;margin:0;display:none;min-width:100px;overflow-y:auto;opacity:0;position:absolute;left:0;top:0;z-index:9999;-webkit-transform-origin:0 0;transform-origin:0 0}.dropdown-content:focus{outline:0}.dropdown-content li{clear:both;color:rgba(0,0,0,0.87);cursor:pointer;min-height:50px;line-height:1.5rem;width:100%;text-align:left}.dropdown-content li:hover,.dropdown-content li.active{background-color:#eee}.dropdown-content li:focus{outline:none}.dropdown-content li.divider{min-height:0;height:1px}.dropdown-content li>a,.dropdown-content li>span{font-size:16px;color:#26a69a;display:block;line-height:22px;padding:14px 16px}.dropdown-content li>span>label{top:1px;left:0;height:18px}.dropdown-content li>a>i{height:inherit;line-height:inherit;float:left;margin:0 24px 0 0;width:24px}body.keyboard-focused .dropdown-content li:focus{background-color:#dadada}.input-field.col .dropdown-content [type=\"checkbox\"]+label{top:1px;left:0;height:18px;-webkit-transform:none;transform:none}.dropdown-trigger{cursor:pointer}/*!\r\n * Waves v0.6.0\r\n * http://fian.my.id/Waves\r\n *\r\n * Copyright 2014 Alfiana E. Sibuea and other contributors\r\n * Released under the MIT license\r\n * https://github.com/fians/Waves/blob/master/LICENSE\r\n */.waves-effect{position:relative;cursor:pointer;display:inline-block;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle;z-index:1;-webkit-transition:.3s ease-out;transition:.3s ease-out}.waves-effect .waves-ripple{position:absolute;border-radius:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;opacity:0;background:rgba(0,0,0,0.2);-webkit-transition:all 0.7s ease-out;transition:all 0.7s ease-out;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;-webkit-transform:scale(0);transform:scale(0);pointer-events:none}.waves-effect.waves-light .waves-ripple{background-color:rgba(255,255,255,0.45)}.waves-effect.waves-red .waves-ripple{background-color:rgba(244,67,54,0.7)}.waves-effect.waves-yellow .waves-ripple{background-color:rgba(255,235,59,0.7)}.waves-effect.waves-orange .waves-ripple{background-color:rgba(255,152,0,0.7)}.waves-effect.waves-purple .waves-ripple{background-color:rgba(156,39,176,0.7)}.waves-effect.waves-green .waves-ripple{background-color:rgba(76,175,80,0.7)}.waves-effect.waves-teal .waves-ripple{background-color:rgba(0,150,136,0.7)}.waves-effect input[type=\"button\"],.waves-effect input[type=\"reset\"],.waves-effect input[type=\"submit\"]{border:0;font-style:normal;font-size:inherit;text-transform:inherit;background:none}.waves-effect img{position:relative;z-index:-1}.waves-notransition{-webkit-transition:none !important;transition:none !important}.waves-circle{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle, white 100%, black 100%)}.waves-input-wrapper{border-radius:0.2em;vertical-align:bottom}.waves-input-wrapper .waves-button-input{position:relative;top:0;left:0;z-index:1}.waves-circle{text-align:center;width:2.5em;height:2.5em;line-height:2.5em;border-radius:50%;-webkit-mask-image:none}.waves-block{display:block}.waves-effect .waves-ripple{z-index:-1}.modal{display:none;position:fixed;left:0;right:0;background-color:#fafafa;padding:0;max-height:70%;width:55%;margin:auto;overflow-y:auto;border-radius:2px;will-change:top, opacity}.modal:focus{outline:none}@media only screen and (max-width: 992px){.modal{width:80%}}.modal h1,.modal h2,.modal h3,.modal h4{margin-top:0}.modal .modal-content{padding:24px}.modal .modal-close{cursor:pointer}.modal .modal-footer{border-radius:0 0 2px 2px;background-color:#fafafa;padding:4px 6px;height:56px;width:100%;text-align:right}.modal .modal-footer .btn,.modal .modal-footer .btn-large,.modal .modal-footer .btn-small,.modal .modal-footer .btn-flat{margin:6px 0}.modal-overlay{position:fixed;z-index:999;top:-25%;left:0;bottom:0;right:0;height:125%;width:100%;background:#000;display:none;will-change:opacity}.modal.modal-fixed-footer{padding:0;height:70%}.modal.modal-fixed-footer .modal-content{position:absolute;height:calc(100% - 56px);max-height:100%;width:100%;overflow-y:auto}.modal.modal-fixed-footer .modal-footer{border-top:1px solid rgba(0,0,0,0.1);position:absolute;bottom:0}.modal.bottom-sheet{top:auto;bottom:-100%;margin:0;width:100%;max-height:45%;border-radius:0;will-change:bottom, opacity}.collapsible{border-top:1px solid #ddd;border-right:1px solid #ddd;border-left:1px solid #ddd;margin:.5rem 0 1rem 0}.collapsible-header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-tap-highlight-color:transparent;line-height:1.5;padding:1rem;background-color:#fff;border-bottom:1px solid #ddd}.collapsible-header:focus{outline:0}.collapsible-header i{width:2rem;font-size:1.6rem;display:inline-block;text-align:center;margin-right:1rem}.keyboard-focused .collapsible-header:focus{background-color:#eee}.collapsible-body{display:none;border-bottom:1px solid #ddd;-webkit-box-sizing:border-box;box-sizing:border-box;padding:2rem}.sidenav .collapsible,.sidenav.fixed .collapsible{border:none;-webkit-box-shadow:none;box-shadow:none}.sidenav .collapsible li,.sidenav.fixed .collapsible li{padding:0}.sidenav .collapsible-header,.sidenav.fixed .collapsible-header{background-color:transparent;border:none;line-height:inherit;height:inherit;padding:0 16px}.sidenav .collapsible-header:hover,.sidenav.fixed .collapsible-header:hover{background-color:rgba(0,0,0,0.05)}.sidenav .collapsible-header i,.sidenav.fixed .collapsible-header i{line-height:inherit}.sidenav .collapsible-body,.sidenav.fixed .collapsible-body{border:0;background-color:#fff}.sidenav .collapsible-body li a,.sidenav.fixed .collapsible-body li a{padding:0 23.5px 0 31px}.collapsible.popout{border:none;-webkit-box-shadow:none;box-shadow:none}.collapsible.popout>li{-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);margin:0 24px;-webkit-transition:margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);transition:margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.collapsible.popout>li.active{-webkit-box-shadow:0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);box-shadow:0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);margin:16px 0}.chip{display:inline-block;height:32px;font-size:13px;font-weight:500;color:rgba(0,0,0,0.6);line-height:32px;padding:0 12px;border-radius:16px;background-color:#e4e4e4;margin-bottom:5px;margin-right:5px}.chip:focus{outline:none;background-color:#26a69a;color:#fff}.chip>img{float:left;margin:0 8px 0 -12px;height:32px;width:32px;border-radius:50%}.chip .close{cursor:pointer;float:right;font-size:16px;line-height:32px;padding-left:8px}.chips{border:none;border-bottom:1px solid #9e9e9e;-webkit-box-shadow:none;box-shadow:none;margin:0 0 8px 0;min-height:45px;outline:none;-webkit-transition:all .3s;transition:all .3s}.chips.focus{border-bottom:1px solid #26a69a;-webkit-box-shadow:0 1px 0 0 #26a69a;box-shadow:0 1px 0 0 #26a69a}.chips:hover{cursor:text}.chips .input{background:none;border:0;color:rgba(0,0,0,0.6);display:inline-block;font-size:16px;height:3rem;line-height:32px;outline:0;margin:0;padding:0 !important;width:120px !important}.chips .input:focus{border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.chips .autocomplete-content{margin-top:0;margin-bottom:0}.prefix ~ .chips{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.chips:empty ~ label{font-size:0.8rem;-webkit-transform:translateY(-140%);transform:translateY(-140%)}.materialboxed{display:block;cursor:-webkit-zoom-in;cursor:zoom-in;position:relative;-webkit-transition:opacity .4s;transition:opacity .4s;-webkit-backface-visibility:hidden}.materialboxed:hover:not(.active){opacity:.8}.materialboxed.active{cursor:-webkit-zoom-out;cursor:zoom-out}#materialbox-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#292929;z-index:1000;will-change:opacity}.materialbox-caption{position:fixed;display:none;color:#fff;line-height:50px;bottom:0;left:0;width:100%;text-align:center;padding:0% 15%;height:50px;z-index:1000;-webkit-font-smoothing:antialiased}select:focus{outline:1px solid #c9f3ef}button:focus{outline:none;background-color:#2ab7a9}label{font-size:.8rem;color:#9e9e9e}::-webkit-input-placeholder{color:#d1d1d1}::-moz-placeholder{color:#d1d1d1}:-ms-input-placeholder{color:#d1d1d1}::-ms-input-placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}input:not([type]),input[type=text]:not(.browser-default),input[type=password]:not(.browser-default),input[type=email]:not(.browser-default),input[type=url]:not(.browser-default),input[type=time]:not(.browser-default),input[type=date]:not(.browser-default),input[type=datetime]:not(.browser-default),input[type=datetime-local]:not(.browser-default),input[type=tel]:not(.browser-default),input[type=number]:not(.browser-default),input[type=search]:not(.browser-default),textarea.materialize-textarea{background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;height:3rem;width:100%;font-size:16px;margin:0 0 8px 0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition:border .3s, -webkit-box-shadow .3s;transition:border .3s, -webkit-box-shadow .3s;transition:box-shadow .3s, border .3s;transition:box-shadow .3s, border .3s, -webkit-box-shadow .3s}input:not([type]):disabled,input:not([type])[readonly=\"readonly\"],input[type=text]:not(.browser-default):disabled,input[type=text]:not(.browser-default)[readonly=\"readonly\"],input[type=password]:not(.browser-default):disabled,input[type=password]:not(.browser-default)[readonly=\"readonly\"],input[type=email]:not(.browser-default):disabled,input[type=email]:not(.browser-default)[readonly=\"readonly\"],input[type=url]:not(.browser-default):disabled,input[type=url]:not(.browser-default)[readonly=\"readonly\"],input[type=time]:not(.browser-default):disabled,input[type=time]:not(.browser-default)[readonly=\"readonly\"],input[type=date]:not(.browser-default):disabled,input[type=date]:not(.browser-default)[readonly=\"readonly\"],input[type=datetime]:not(.browser-default):disabled,input[type=datetime]:not(.browser-default)[readonly=\"readonly\"],input[type=datetime-local]:not(.browser-default):disabled,input[type=datetime-local]:not(.browser-default)[readonly=\"readonly\"],input[type=tel]:not(.browser-default):disabled,input[type=tel]:not(.browser-default)[readonly=\"readonly\"],input[type=number]:not(.browser-default):disabled,input[type=number]:not(.browser-default)[readonly=\"readonly\"],input[type=search]:not(.browser-default):disabled,input[type=search]:not(.browser-default)[readonly=\"readonly\"],textarea.materialize-textarea:disabled,textarea.materialize-textarea[readonly=\"readonly\"]{color:rgba(0,0,0,0.42);border-bottom:1px dotted rgba(0,0,0,0.42)}input:not([type]):disabled+label,input:not([type])[readonly=\"readonly\"]+label,input[type=text]:not(.browser-default):disabled+label,input[type=text]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=password]:not(.browser-default):disabled+label,input[type=password]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=email]:not(.browser-default):disabled+label,input[type=email]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=url]:not(.browser-default):disabled+label,input[type=url]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=time]:not(.browser-default):disabled+label,input[type=time]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=date]:not(.browser-default):disabled+label,input[type=date]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=datetime]:not(.browser-default):disabled+label,input[type=datetime]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=datetime-local]:not(.browser-default):disabled+label,input[type=datetime-local]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=tel]:not(.browser-default):disabled+label,input[type=tel]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=number]:not(.browser-default):disabled+label,input[type=number]:not(.browser-default)[readonly=\"readonly\"]+label,input[type=search]:not(.browser-default):disabled+label,input[type=search]:not(.browser-default)[readonly=\"readonly\"]+label,textarea.materialize-textarea:disabled+label,textarea.materialize-textarea[readonly=\"readonly\"]+label{color:rgba(0,0,0,0.42)}input:not([type]):focus:not([readonly]),input[type=text]:not(.browser-default):focus:not([readonly]),input[type=password]:not(.browser-default):focus:not([readonly]),input[type=email]:not(.browser-default):focus:not([readonly]),input[type=url]:not(.browser-default):focus:not([readonly]),input[type=time]:not(.browser-default):focus:not([readonly]),input[type=date]:not(.browser-default):focus:not([readonly]),input[type=datetime]:not(.browser-default):focus:not([readonly]),input[type=datetime-local]:not(.browser-default):focus:not([readonly]),input[type=tel]:not(.browser-default):focus:not([readonly]),input[type=number]:not(.browser-default):focus:not([readonly]),input[type=search]:not(.browser-default):focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #26a69a;-webkit-box-shadow:0 1px 0 0 #26a69a;box-shadow:0 1px 0 0 #26a69a}input:not([type]):focus:not([readonly])+label,input[type=text]:not(.browser-default):focus:not([readonly])+label,input[type=password]:not(.browser-default):focus:not([readonly])+label,input[type=email]:not(.browser-default):focus:not([readonly])+label,input[type=url]:not(.browser-default):focus:not([readonly])+label,input[type=time]:not(.browser-default):focus:not([readonly])+label,input[type=date]:not(.browser-default):focus:not([readonly])+label,input[type=datetime]:not(.browser-default):focus:not([readonly])+label,input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label,input[type=tel]:not(.browser-default):focus:not([readonly])+label,input[type=number]:not(.browser-default):focus:not([readonly])+label,input[type=search]:not(.browser-default):focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#26a69a}input:not([type]):focus.valid ~ label,input[type=text]:not(.browser-default):focus.valid ~ label,input[type=password]:not(.browser-default):focus.valid ~ label,input[type=email]:not(.browser-default):focus.valid ~ label,input[type=url]:not(.browser-default):focus.valid ~ label,input[type=time]:not(.browser-default):focus.valid ~ label,input[type=date]:not(.browser-default):focus.valid ~ label,input[type=datetime]:not(.browser-default):focus.valid ~ label,input[type=datetime-local]:not(.browser-default):focus.valid ~ label,input[type=tel]:not(.browser-default):focus.valid ~ label,input[type=number]:not(.browser-default):focus.valid ~ label,input[type=search]:not(.browser-default):focus.valid ~ label,textarea.materialize-textarea:focus.valid ~ label{color:#4CAF50}input:not([type]):focus.invalid ~ label,input[type=text]:not(.browser-default):focus.invalid ~ label,input[type=password]:not(.browser-default):focus.invalid ~ label,input[type=email]:not(.browser-default):focus.invalid ~ label,input[type=url]:not(.browser-default):focus.invalid ~ label,input[type=time]:not(.browser-default):focus.invalid ~ label,input[type=date]:not(.browser-default):focus.invalid ~ label,input[type=datetime]:not(.browser-default):focus.invalid ~ label,input[type=datetime-local]:not(.browser-default):focus.invalid ~ label,input[type=tel]:not(.browser-default):focus.invalid ~ label,input[type=number]:not(.browser-default):focus.invalid ~ label,input[type=search]:not(.browser-default):focus.invalid ~ label,textarea.materialize-textarea:focus.invalid ~ label{color:#F44336}input:not([type]).validate+label,input[type=text]:not(.browser-default).validate+label,input[type=password]:not(.browser-default).validate+label,input[type=email]:not(.browser-default).validate+label,input[type=url]:not(.browser-default).validate+label,input[type=time]:not(.browser-default).validate+label,input[type=date]:not(.browser-default).validate+label,input[type=datetime]:not(.browser-default).validate+label,input[type=datetime-local]:not(.browser-default).validate+label,input[type=tel]:not(.browser-default).validate+label,input[type=number]:not(.browser-default).validate+label,input[type=search]:not(.browser-default).validate+label,textarea.materialize-textarea.validate+label{width:100%}input.valid:not([type]),input.valid:not([type]):focus,input.valid[type=text]:not(.browser-default),input.valid[type=text]:not(.browser-default):focus,input.valid[type=password]:not(.browser-default),input.valid[type=password]:not(.browser-default):focus,input.valid[type=email]:not(.browser-default),input.valid[type=email]:not(.browser-default):focus,input.valid[type=url]:not(.browser-default),input.valid[type=url]:not(.browser-default):focus,input.valid[type=time]:not(.browser-default),input.valid[type=time]:not(.browser-default):focus,input.valid[type=date]:not(.browser-default),input.valid[type=date]:not(.browser-default):focus,input.valid[type=datetime]:not(.browser-default),input.valid[type=datetime]:not(.browser-default):focus,input.valid[type=datetime-local]:not(.browser-default),input.valid[type=datetime-local]:not(.browser-default):focus,input.valid[type=tel]:not(.browser-default),input.valid[type=tel]:not(.browser-default):focus,input.valid[type=number]:not(.browser-default),input.valid[type=number]:not(.browser-default):focus,input.valid[type=search]:not(.browser-default),input.valid[type=search]:not(.browser-default):focus,textarea.materialize-textarea.valid,textarea.materialize-textarea.valid:focus,.select-wrapper.valid>input.select-dropdown{border-bottom:1px solid #4CAF50;-webkit-box-shadow:0 1px 0 0 #4CAF50;box-shadow:0 1px 0 0 #4CAF50}input.invalid:not([type]),input.invalid:not([type]):focus,input.invalid[type=text]:not(.browser-default),input.invalid[type=text]:not(.browser-default):focus,input.invalid[type=password]:not(.browser-default),input.invalid[type=password]:not(.browser-default):focus,input.invalid[type=email]:not(.browser-default),input.invalid[type=email]:not(.browser-default):focus,input.invalid[type=url]:not(.browser-default),input.invalid[type=url]:not(.browser-default):focus,input.invalid[type=time]:not(.browser-default),input.invalid[type=time]:not(.browser-default):focus,input.invalid[type=date]:not(.browser-default),input.invalid[type=date]:not(.browser-default):focus,input.invalid[type=datetime]:not(.browser-default),input.invalid[type=datetime]:not(.browser-default):focus,input.invalid[type=datetime-local]:not(.browser-default),input.invalid[type=datetime-local]:not(.browser-default):focus,input.invalid[type=tel]:not(.browser-default),input.invalid[type=tel]:not(.browser-default):focus,input.invalid[type=number]:not(.browser-default),input.invalid[type=number]:not(.browser-default):focus,input.invalid[type=search]:not(.browser-default),input.invalid[type=search]:not(.browser-default):focus,textarea.materialize-textarea.invalid,textarea.materialize-textarea.invalid:focus,.select-wrapper.invalid>input.select-dropdown,.select-wrapper.invalid>input.select-dropdown:focus{border-bottom:1px solid #F44336;-webkit-box-shadow:0 1px 0 0 #F44336;box-shadow:0 1px 0 0 #F44336}input:not([type]).valid ~ .helper-text[data-success],input:not([type]):focus.valid ~ .helper-text[data-success],input:not([type]).invalid ~ .helper-text[data-error],input:not([type]):focus.invalid ~ .helper-text[data-error],input[type=text]:not(.browser-default).valid ~ .helper-text[data-success],input[type=text]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=text]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=text]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=password]:not(.browser-default).valid ~ .helper-text[data-success],input[type=password]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=password]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=password]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=email]:not(.browser-default).valid ~ .helper-text[data-success],input[type=email]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=email]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=email]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=url]:not(.browser-default).valid ~ .helper-text[data-success],input[type=url]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=url]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=url]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=time]:not(.browser-default).valid ~ .helper-text[data-success],input[type=time]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=time]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=time]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=date]:not(.browser-default).valid ~ .helper-text[data-success],input[type=date]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=date]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=date]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=datetime]:not(.browser-default).valid ~ .helper-text[data-success],input[type=datetime]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=datetime]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=datetime]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=datetime-local]:not(.browser-default).valid ~ .helper-text[data-success],input[type=datetime-local]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=datetime-local]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=datetime-local]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=tel]:not(.browser-default).valid ~ .helper-text[data-success],input[type=tel]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=tel]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=tel]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=number]:not(.browser-default).valid ~ .helper-text[data-success],input[type=number]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=number]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=number]:not(.browser-default):focus.invalid ~ .helper-text[data-error],input[type=search]:not(.browser-default).valid ~ .helper-text[data-success],input[type=search]:not(.browser-default):focus.valid ~ .helper-text[data-success],input[type=search]:not(.browser-default).invalid ~ .helper-text[data-error],input[type=search]:not(.browser-default):focus.invalid ~ .helper-text[data-error],textarea.materialize-textarea.valid ~ .helper-text[data-success],textarea.materialize-textarea:focus.valid ~ .helper-text[data-success],textarea.materialize-textarea.invalid ~ .helper-text[data-error],textarea.materialize-textarea:focus.invalid ~ .helper-text[data-error],.select-wrapper.valid .helper-text[data-success],.select-wrapper.invalid ~ .helper-text[data-error]{color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}input:not([type]).valid ~ .helper-text:after,input:not([type]):focus.valid ~ .helper-text:after,input[type=text]:not(.browser-default).valid ~ .helper-text:after,input[type=text]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=password]:not(.browser-default).valid ~ .helper-text:after,input[type=password]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=email]:not(.browser-default).valid ~ .helper-text:after,input[type=email]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=url]:not(.browser-default).valid ~ .helper-text:after,input[type=url]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=time]:not(.browser-default).valid ~ .helper-text:after,input[type=time]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=date]:not(.browser-default).valid ~ .helper-text:after,input[type=date]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=datetime]:not(.browser-default).valid ~ .helper-text:after,input[type=datetime]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default).valid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=tel]:not(.browser-default).valid ~ .helper-text:after,input[type=tel]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=number]:not(.browser-default).valid ~ .helper-text:after,input[type=number]:not(.browser-default):focus.valid ~ .helper-text:after,input[type=search]:not(.browser-default).valid ~ .helper-text:after,input[type=search]:not(.browser-default):focus.valid ~ .helper-text:after,textarea.materialize-textarea.valid ~ .helper-text:after,textarea.materialize-textarea:focus.valid ~ .helper-text:after,.select-wrapper.valid ~ .helper-text:after{content:attr(data-success);color:#4CAF50}input:not([type]).invalid ~ .helper-text:after,input:not([type]):focus.invalid ~ .helper-text:after,input[type=text]:not(.browser-default).invalid ~ .helper-text:after,input[type=text]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=password]:not(.browser-default).invalid ~ .helper-text:after,input[type=password]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=email]:not(.browser-default).invalid ~ .helper-text:after,input[type=email]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=url]:not(.browser-default).invalid ~ .helper-text:after,input[type=url]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=time]:not(.browser-default).invalid ~ .helper-text:after,input[type=time]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=date]:not(.browser-default).invalid ~ .helper-text:after,input[type=date]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=datetime]:not(.browser-default).invalid ~ .helper-text:after,input[type=datetime]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default).invalid ~ .helper-text:after,input[type=datetime-local]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=tel]:not(.browser-default).invalid ~ .helper-text:after,input[type=tel]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=number]:not(.browser-default).invalid ~ .helper-text:after,input[type=number]:not(.browser-default):focus.invalid ~ .helper-text:after,input[type=search]:not(.browser-default).invalid ~ .helper-text:after,input[type=search]:not(.browser-default):focus.invalid ~ .helper-text:after,textarea.materialize-textarea.invalid ~ .helper-text:after,textarea.materialize-textarea:focus.invalid ~ .helper-text:after,.select-wrapper.invalid ~ .helper-text:after{content:attr(data-error);color:#F44336}input:not([type])+label:after,input[type=text]:not(.browser-default)+label:after,input[type=password]:not(.browser-default)+label:after,input[type=email]:not(.browser-default)+label:after,input[type=url]:not(.browser-default)+label:after,input[type=time]:not(.browser-default)+label:after,input[type=date]:not(.browser-default)+label:after,input[type=datetime]:not(.browser-default)+label:after,input[type=datetime-local]:not(.browser-default)+label:after,input[type=tel]:not(.browser-default)+label:after,input[type=number]:not(.browser-default)+label:after,input[type=search]:not(.browser-default)+label:after,textarea.materialize-textarea+label:after,.select-wrapper+label:after{display:block;content:\"\";position:absolute;top:100%;left:0;opacity:0;-webkit-transition:.2s opacity ease-out, .2s color ease-out;transition:.2s opacity ease-out, .2s color ease-out}.input-field{position:relative;margin-top:1rem;margin-bottom:1rem}.input-field.inline{display:inline-block;vertical-align:middle;margin-left:5px}.input-field.inline input,.input-field.inline .select-dropdown{margin-bottom:1rem}.input-field.col label{left:.75rem}.input-field.col .prefix ~ label,.input-field.col .prefix ~ .validate ~ label{width:calc(100% - 3rem - 1.5rem)}.input-field>label{color:#9e9e9e;position:absolute;top:0;left:0;font-size:1rem;cursor:text;-webkit-transition:color .2s ease-out, -webkit-transform .2s ease-out;transition:color .2s ease-out, -webkit-transform .2s ease-out;transition:transform .2s ease-out, color .2s ease-out;transition:transform .2s ease-out, color .2s ease-out, -webkit-transform .2s ease-out;-webkit-transform-origin:0% 100%;transform-origin:0% 100%;text-align:initial;-webkit-transform:translateY(12px);transform:translateY(12px)}.input-field>label:not(.label-icon).active{-webkit-transform:translateY(-14px) scale(0.8);transform:translateY(-14px) scale(0.8);-webkit-transform-origin:0 0;transform-origin:0 0}.input-field>input[type]:-webkit-autofill:not(.browser-default):not([type=\"search\"])+label,.input-field>input[type=date]:not(.browser-default)+label,.input-field>input[type=time]:not(.browser-default)+label{-webkit-transform:translateY(-14px) scale(0.8);transform:translateY(-14px) scale(0.8);-webkit-transform-origin:0 0;transform-origin:0 0}.input-field .helper-text{position:relative;min-height:18px;display:block;font-size:12px;color:rgba(0,0,0,0.54)}.input-field .helper-text::after{opacity:1;position:absolute;top:0;left:0}.input-field .prefix{position:absolute;width:3rem;font-size:2rem;-webkit-transition:color .2s;transition:color .2s;top:.5rem}.input-field .prefix.active{color:#26a69a}.input-field .prefix ~ input,.input-field .prefix ~ textarea,.input-field .prefix ~ label,.input-field .prefix ~ .validate ~ label,.input-field .prefix ~ .helper-text,.input-field .prefix ~ .autocomplete-content{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.input-field .prefix ~ label{margin-left:3rem}@media only screen and (max-width: 992px){.input-field .prefix ~ input{width:86%;width:calc(100% - 3rem)}}@media only screen and (max-width: 600px){.input-field .prefix ~ input{width:80%;width:calc(100% - 3rem)}}.input-field input[type=search]{display:block;line-height:inherit;-webkit-transition:.3s background-color;transition:.3s background-color}.nav-wrapper .input-field input[type=search]{height:inherit;padding-left:4rem;width:calc(100% - 4rem);border:0;-webkit-box-shadow:none;box-shadow:none}.input-field input[type=search]:focus:not(.browser-default){background-color:#fff;border:0;-webkit-box-shadow:none;box-shadow:none;color:#444}.input-field input[type=search]:focus:not(.browser-default)+label i,.input-field input[type=search]:focus:not(.browser-default) ~ .mdi-navigation-close,.input-field input[type=search]:focus:not(.browser-default) ~ .material-icons{color:#444}.input-field input[type=search]+.label-icon{-webkit-transform:none;transform:none;left:1rem}.input-field input[type=search] ~ .mdi-navigation-close,.input-field input[type=search] ~ .material-icons{position:absolute;top:0;right:1rem;color:transparent;cursor:pointer;font-size:2rem;-webkit-transition:.3s color;transition:.3s color}textarea{width:100%;height:3rem;background-color:transparent}textarea.materialize-textarea{line-height:normal;overflow-y:hidden;padding:.8rem 0 .8rem 0;resize:none;min-height:3rem;-webkit-box-sizing:border-box;box-sizing:border-box}.hiddendiv{visibility:hidden;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;padding-top:1.2rem;position:absolute;top:0;z-index:-1}.autocomplete-content li .highlight{color:#444}.autocomplete-content li img{height:40px;width:40px;margin:5px 15px}.character-counter{min-height:18px}[type=\"radio\"]:not(:checked),[type=\"radio\"]:checked{position:absolute;opacity:0;pointer-events:none}[type=\"radio\"]:not(:checked)+span,[type=\"radio\"]:checked+span{position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;-webkit-transition:.28s ease;transition:.28s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[type=\"radio\"]+span:before,[type=\"radio\"]+span:after{content:'';position:absolute;left:0;top:0;margin:4px;width:16px;height:16px;z-index:0;-webkit-transition:.28s ease;transition:.28s ease}[type=\"radio\"]:not(:checked)+span:before,[type=\"radio\"]:not(:checked)+span:after,[type=\"radio\"]:checked+span:before,[type=\"radio\"]:checked+span:after,[type=\"radio\"].with-gap:checked+span:before,[type=\"radio\"].with-gap:checked+span:after{border-radius:50%}[type=\"radio\"]:not(:checked)+span:before,[type=\"radio\"]:not(:checked)+span:after{border:2px solid #5a5a5a}[type=\"radio\"]:not(:checked)+span:after{-webkit-transform:scale(0);transform:scale(0)}[type=\"radio\"]:checked+span:before{border:2px solid transparent}[type=\"radio\"]:checked+span:after,[type=\"radio\"].with-gap:checked+span:before,[type=\"radio\"].with-gap:checked+span:after{border:2px solid #26a69a}[type=\"radio\"]:checked+span:after,[type=\"radio\"].with-gap:checked+span:after{background-color:#26a69a}[type=\"radio\"]:checked+span:after{-webkit-transform:scale(1.02);transform:scale(1.02)}[type=\"radio\"].with-gap:checked+span:after{-webkit-transform:scale(0.5);transform:scale(0.5)}[type=\"radio\"].tabbed:focus+span:before{-webkit-box-shadow:0 0 0 10px rgba(0,0,0,0.1);box-shadow:0 0 0 10px rgba(0,0,0,0.1)}[type=\"radio\"].with-gap:disabled:checked+span:before{border:2px solid rgba(0,0,0,0.42)}[type=\"radio\"].with-gap:disabled:checked+span:after{border:none;background-color:rgba(0,0,0,0.42)}[type=\"radio\"]:disabled:not(:checked)+span:before,[type=\"radio\"]:disabled:checked+span:before{background-color:transparent;border-color:rgba(0,0,0,0.42)}[type=\"radio\"]:disabled+span{color:rgba(0,0,0,0.42)}[type=\"radio\"]:disabled:not(:checked)+span:before{border-color:rgba(0,0,0,0.42)}[type=\"radio\"]:disabled:checked+span:after{background-color:rgba(0,0,0,0.42);border-color:#949494}[type=\"checkbox\"]:not(:checked),[type=\"checkbox\"]:checked{position:absolute;opacity:0;pointer-events:none}[type=\"checkbox\"]+span:not(.lever){position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[type=\"checkbox\"]+span:not(.lever):before,[type=\"checkbox\"]:not(.filled-in)+span:not(.lever):after{content:'';position:absolute;top:0;left:0;width:18px;height:18px;z-index:0;border:2px solid #5a5a5a;border-radius:1px;margin-top:3px;-webkit-transition:.2s;transition:.2s}[type=\"checkbox\"]:not(.filled-in)+span:not(.lever):after{border:0;-webkit-transform:scale(0);transform:scale(0)}[type=\"checkbox\"]:not(:checked):disabled+span:not(.lever):before{border:none;background-color:rgba(0,0,0,0.42)}[type=\"checkbox\"].tabbed:focus+span:not(.lever):after{-webkit-transform:scale(1);transform:scale(1);border:0;border-radius:50%;-webkit-box-shadow:0 0 0 10px rgba(0,0,0,0.1);box-shadow:0 0 0 10px rgba(0,0,0,0.1);background-color:rgba(0,0,0,0.1)}[type=\"checkbox\"]:checked+span:not(.lever):before{top:-4px;left:-5px;width:12px;height:22px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #26a69a;border-bottom:2px solid #26a69a;-webkit-transform:rotate(40deg);transform:rotate(40deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=\"checkbox\"]:checked:disabled+span:before{border-right:2px solid rgba(0,0,0,0.42);border-bottom:2px solid rgba(0,0,0,0.42)}[type=\"checkbox\"]:indeterminate+span:not(.lever):before{top:-11px;left:-12px;width:10px;height:22px;border-top:none;border-left:none;border-right:2px solid #26a69a;border-bottom:none;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=\"checkbox\"]:indeterminate:disabled+span:not(.lever):before{border-right:2px solid rgba(0,0,0,0.42);background-color:transparent}[type=\"checkbox\"].filled-in+span:not(.lever):after{border-radius:2px}[type=\"checkbox\"].filled-in+span:not(.lever):before,[type=\"checkbox\"].filled-in+span:not(.lever):after{content:'';left:0;position:absolute;-webkit-transition:border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;transition:border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;z-index:1}[type=\"checkbox\"].filled-in:not(:checked)+span:not(.lever):before{width:0;height:0;border:3px solid transparent;left:6px;top:10px;-webkit-transform:rotateZ(37deg);transform:rotateZ(37deg);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=\"checkbox\"].filled-in:not(:checked)+span:not(.lever):after{height:20px;width:20px;background-color:transparent;border:2px solid #5a5a5a;top:0px;z-index:0}[type=\"checkbox\"].filled-in:checked+span:not(.lever):before{top:0;left:1px;width:8px;height:13px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #fff;border-bottom:2px solid #fff;-webkit-transform:rotateZ(37deg);transform:rotateZ(37deg);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=\"checkbox\"].filled-in:checked+span:not(.lever):after{top:0;width:20px;height:20px;border:2px solid #26a69a;background-color:#26a69a;z-index:0}[type=\"checkbox\"].filled-in.tabbed:focus+span:not(.lever):after{border-radius:2px;border-color:#5a5a5a;background-color:rgba(0,0,0,0.1)}[type=\"checkbox\"].filled-in.tabbed:checked:focus+span:not(.lever):after{border-radius:2px;background-color:#26a69a;border-color:#26a69a}[type=\"checkbox\"].filled-in:disabled:not(:checked)+span:not(.lever):before{background-color:transparent;border:2px solid transparent}[type=\"checkbox\"].filled-in:disabled:not(:checked)+span:not(.lever):after{border-color:transparent;background-color:#949494}[type=\"checkbox\"].filled-in:disabled:checked+span:not(.lever):before{background-color:transparent}[type=\"checkbox\"].filled-in:disabled:checked+span:not(.lever):after{background-color:#949494;border-color:#949494}.switch,.switch *{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch label{cursor:pointer}.switch label input[type=checkbox]{opacity:0;width:0;height:0}.switch label input[type=checkbox]:checked+.lever{background-color:#84c7c1}.switch label input[type=checkbox]:checked+.lever:before,.switch label input[type=checkbox]:checked+.lever:after{left:18px}.switch label input[type=checkbox]:checked+.lever:after{background-color:#26a69a}.switch label .lever{content:\"\";display:inline-block;position:relative;width:36px;height:14px;background-color:rgba(0,0,0,0.38);border-radius:15px;margin-right:10px;-webkit-transition:background 0.3s ease;transition:background 0.3s ease;vertical-align:middle;margin:0 16px}.switch label .lever:before,.switch label .lever:after{content:\"\";position:absolute;display:inline-block;width:20px;height:20px;border-radius:50%;left:0;top:-3px;-webkit-transition:left 0.3s ease, background .3s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease;transition:left 0.3s ease, background .3s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease;transition:left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;transition:left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease, -webkit-box-shadow 0.1s ease, -webkit-transform .1s ease}.switch label .lever:before{background-color:rgba(38,166,154,0.15)}.switch label .lever:after{background-color:#F1F1F1;-webkit-box-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);box-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)}input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before{-webkit-transform:scale(2.4);transform:scale(2.4);background-color:rgba(38,166,154,0.15)}input[type=checkbox]:not(:disabled) ~ .lever:active:before,input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before{-webkit-transform:scale(2.4);transform:scale(2.4);background-color:rgba(0,0,0,0.08)}.switch input[type=checkbox][disabled]+.lever{cursor:default;background-color:rgba(0,0,0,0.12)}.switch label input[type=checkbox][disabled]+.lever:after,.switch label input[type=checkbox][disabled]:checked+.lever:after{background-color:#949494}select{display:none}select.browser-default{display:block}select{background-color:rgba(255,255,255,0.9);width:100%;padding:5px;border:1px solid #f2f2f2;border-radius:2px;height:3rem}.select-label{position:absolute}.select-wrapper{position:relative}.select-wrapper.valid+label,.select-wrapper.invalid+label{width:100%;pointer-events:none}.select-wrapper input.select-dropdown{position:relative;cursor:pointer;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;outline:none;height:3rem;line-height:3rem;width:100%;font-size:16px;margin:0 0 8px 0;padding:0;display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.select-wrapper input.select-dropdown:focus{border-bottom:1px solid #26a69a}.select-wrapper .caret{position:absolute;right:0;top:0;bottom:0;margin:auto 0;z-index:0;fill:rgba(0,0,0,0.87)}.select-wrapper+label{position:absolute;top:-26px;font-size:.8rem}select:disabled{color:rgba(0,0,0,0.42)}.select-wrapper.disabled+label{color:rgba(0,0,0,0.42)}.select-wrapper.disabled .caret{fill:rgba(0,0,0,0.42)}.select-wrapper input.select-dropdown:disabled{color:rgba(0,0,0,0.42);cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select-wrapper i{color:rgba(0,0,0,0.3)}.select-dropdown li.disabled,.select-dropdown li.disabled>span,.select-dropdown li.optgroup{color:rgba(0,0,0,0.3);background-color:transparent}body.keyboard-focused .select-dropdown.dropdown-content li:focus{background-color:rgba(0,0,0,0.08)}.select-dropdown.dropdown-content li:hover{background-color:rgba(0,0,0,0.08)}.select-dropdown.dropdown-content li.selected{background-color:rgba(0,0,0,0.03)}.prefix ~ .select-wrapper{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.prefix ~ label{margin-left:3rem}.select-dropdown li img{height:40px;width:40px;margin:5px 15px;float:right}.select-dropdown li.optgroup{border-top:1px solid #eee}.select-dropdown li.optgroup.selected>span{color:rgba(0,0,0,0.7)}.select-dropdown li.optgroup>span{color:rgba(0,0,0,0.4)}.select-dropdown li.optgroup ~ li.optgroup-option{padding-left:1rem}.file-field{position:relative}.file-field .file-path-wrapper{overflow:hidden;padding-left:10px}.file-field input.file-path{width:100%}.file-field .btn,.file-field .btn-large,.file-field .btn-small{float:left;height:3rem;line-height:3rem}.file-field span{cursor:pointer}.file-field input[type=file]{position:absolute;top:0;right:0;left:0;bottom:0;width:100%;margin:0;padding:0;font-size:20px;cursor:pointer;opacity:0;filter:alpha(opacity=0)}.file-field input[type=file]::-webkit-file-upload-button{display:none}.range-field{position:relative}input[type=range],input[type=range]+.thumb{cursor:pointer}input[type=range]{position:relative;background-color:transparent;border:none;outline:none;width:100%;margin:15px 0;padding:0}input[type=range]:focus{outline:none}input[type=range]+.thumb{position:absolute;top:10px;left:0;border:none;height:0;width:0;border-radius:50%;background-color:#26a69a;margin-left:7px;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}input[type=range]+.thumb .value{display:block;width:30px;text-align:center;color:#26a69a;font-size:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}input[type=range]+.thumb.active{border-radius:50% 50% 50% 0}input[type=range]+.thumb.active .value{color:#fff;margin-left:-1px;margin-top:8px;font-size:10px}input[type=range]{-webkit-appearance:none}input[type=range]::-webkit-slider-runnable-track{height:3px;background:#c2c0c2;border:none}input[type=range]::-webkit-slider-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s;-webkit-appearance:none;background-color:#26a69a;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;margin:-5px 0 0 0}.keyboard-focused input[type=range]:focus:not(.active)::-webkit-slider-thumb{-webkit-box-shadow:0 0 0 10px rgba(38,166,154,0.26);box-shadow:0 0 0 10px rgba(38,166,154,0.26)}input[type=range]{border:1px solid white}input[type=range]::-moz-range-track{height:3px;background:#c2c0c2;border:none}input[type=range]::-moz-focus-inner{border:0}input[type=range]::-moz-range-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s;margin-top:-5px}input[type=range]:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}.keyboard-focused input[type=range]:focus:not(.active)::-moz-range-thumb{box-shadow:0 0 0 10px rgba(38,166,154,0.26)}input[type=range]::-ms-track{height:3px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input[type=range]::-ms-fill-lower{background:#777}input[type=range]::-ms-fill-upper{background:#ddd}input[type=range]::-ms-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s, -webkit-box-shadow .3s}.keyboard-focused input[type=range]:focus:not(.active)::-ms-thumb{box-shadow:0 0 0 10px rgba(38,166,154,0.26)}.table-of-contents.fixed{position:fixed}.table-of-contents li{padding:2px 0}.table-of-contents a{display:inline-block;font-weight:300;color:#757575;padding-left:16px;height:1.5rem;line-height:1.5rem;letter-spacing:.4;display:inline-block}.table-of-contents a:hover{color:#a8a8a8;padding-left:15px;border-left:1px solid #ee6e73}.table-of-contents a.active{font-weight:500;padding-left:14px;border-left:2px solid #ee6e73}.sidenav{position:fixed;width:300px;left:0;top:0;margin:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);height:100%;height:calc(100% + 60px);height:-moz-calc(100%);padding-bottom:60px;background-color:#fff;z-index:999;overflow-y:auto;will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateX(-105%);transform:translateX(-105%)}.sidenav.right-aligned{right:0;-webkit-transform:translateX(105%);transform:translateX(105%);left:auto;-webkit-transform:translateX(100%);transform:translateX(100%)}.sidenav .collapsible{margin:0}.sidenav li{float:none;line-height:48px}.sidenav li.active{background-color:rgba(0,0,0,0.05)}.sidenav li>a{color:rgba(0,0,0,0.87);display:block;font-size:14px;font-weight:500;height:48px;line-height:48px;padding:0 32px}.sidenav li>a:hover{background-color:rgba(0,0,0,0.05)}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-flat,.sidenav li>a.btn-floating{margin:10px 15px}.sidenav li>a.btn,.sidenav li>a.btn-large,.sidenav li>a.btn-small,.sidenav li>a.btn-large,.sidenav li>a.btn-floating{color:#fff}.sidenav li>a.btn-flat{color:#343434}.sidenav li>a.btn:hover,.sidenav li>a.btn-large:hover,.sidenav li>a.btn-small:hover,.sidenav li>a.btn-large:hover{background-color:#2bbbad}.sidenav li>a.btn-floating:hover{background-color:#26a69a}.sidenav li>a>i,.sidenav li>a>[class^=\"mdi-\"],.sidenav li>a li>a>[class*=\"mdi-\"],.sidenav li>a>i.material-icons{float:left;height:48px;line-height:48px;margin:0 32px 0 0;width:24px;color:rgba(0,0,0,0.54)}.sidenav .divider{margin:8px 0 0 0}.sidenav .subheader{cursor:initial;pointer-events:none;color:rgba(0,0,0,0.54);font-size:14px;font-weight:500;line-height:48px}.sidenav .subheader:hover{background-color:transparent}.sidenav .user-view{position:relative;padding:32px 32px 0;margin-bottom:8px}.sidenav .user-view>a{height:auto;padding:0}.sidenav .user-view>a:hover{background-color:transparent}.sidenav .user-view .background{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.sidenav .user-view .circle,.sidenav .user-view .name,.sidenav .user-view .email{display:block}.sidenav .user-view .circle{height:64px;width:64px}.sidenav .user-view .name,.sidenav .user-view .email{font-size:14px;line-height:24px}.sidenav .user-view .name{margin-top:16px;font-weight:500}.sidenav .user-view .email{padding-bottom:16px;font-weight:400}.drag-target{height:100%;width:10px;position:fixed;top:0;z-index:998}.drag-target.right-aligned{right:0}.sidenav.sidenav-fixed{left:0;-webkit-transform:translateX(0);transform:translateX(0);position:fixed}.sidenav.sidenav-fixed.right-aligned{right:0;left:auto}@media only screen and (max-width: 992px){.sidenav.sidenav-fixed{-webkit-transform:translateX(-105%);transform:translateX(-105%)}.sidenav.sidenav-fixed.right-aligned{-webkit-transform:translateX(105%);transform:translateX(105%)}.sidenav>a{padding:0 16px}.sidenav .user-view{padding:16px 16px 0}}.sidenav .collapsible-body>ul:not(.collapsible)>li.active,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active{background-color:#ee6e73}.sidenav .collapsible-body>ul:not(.collapsible)>li.active a,.sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active a{color:#fff}.sidenav .collapsible-body{padding:0}.sidenav-overlay{position:fixed;top:0;left:0;right:0;opacity:0;height:120vh;background-color:rgba(0,0,0,0.5);z-index:997;display:none}.preloader-wrapper{display:inline-block;position:relative;width:50px;height:50px}.preloader-wrapper.small{width:36px;height:36px}.preloader-wrapper.big{width:64px;height:64px}.preloader-wrapper.active{-webkit-animation:container-rotate 1568ms linear infinite;animation:container-rotate 1568ms linear infinite}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(360deg)}}@keyframes container-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-layer{position:absolute;width:100%;height:100%;opacity:0;border-color:#26a69a}.spinner-blue,.spinner-blue-only{border-color:#4285f4}.spinner-red,.spinner-red-only{border-color:#db4437}.spinner-yellow,.spinner-yellow-only{border-color:#f4b400}.spinner-green,.spinner-green-only{border-color:#0f9d58}.active .spinner-layer.spinner-blue{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,blue-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,blue-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-red{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,red-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,red-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-yellow{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer.spinner-green{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,green-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,green-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .spinner-layer,.active .spinner-layer.spinner-blue-only,.active .spinner-layer.spinner-red-only,.active .spinner-layer.spinner-yellow-only,.active .spinner-layer.spinner-green-only{opacity:1;-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg)}}@keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(1080deg);transform:rotate(1080deg)}}@-webkit-keyframes blue-fade-in-out{from{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}100%{opacity:1}}@keyframes blue-fade-in-out{from{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}100%{opacity:1}}@-webkit-keyframes red-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes red-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@-webkit-keyframes yellow-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes yellow-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@-webkit-keyframes green-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}100%{opacity:0}}@keyframes green-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}100%{opacity:0}}.gap-patch{position:absolute;top:0;left:45%;width:10%;height:100%;overflow:hidden;border-color:inherit}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{display:inline-block;position:relative;width:50%;height:100%;overflow:hidden;border-color:inherit}.circle-clipper .circle{width:200%;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent !important;border-radius:50%;-webkit-animation:none;animation:none;position:absolute;top:0;right:0;bottom:0}.circle-clipper.left .circle{left:0;border-right-color:transparent !important;-webkit-transform:rotate(129deg);transform:rotate(129deg)}.circle-clipper.right .circle{left:-100%;border-left-color:transparent !important;-webkit-transform:rotate(-129deg);transform:rotate(-129deg)}.active .circle-clipper.left .circle{-webkit-animation:left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.active .circle-clipper.right .circle{-webkit-animation:right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;animation:right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@-webkit-keyframes left-spin{from{-webkit-transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg)}}@keyframes left-spin{from{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@-webkit-keyframes right-spin{from{-webkit-transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg)}}@keyframes right-spin{from{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}#spinnerContainer.cooldown{-webkit-animation:container-rotate 1568ms linear infinite,fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1);animation:container-rotate 1568ms linear infinite,fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1)}@-webkit-keyframes fade-out{from{opacity:1}to{opacity:0}}@keyframes fade-out{from{opacity:1}to{opacity:0}}.slider{position:relative;height:400px;width:100%}.slider.fullscreen{height:100%;width:100%;position:absolute;top:0;left:0;right:0;bottom:0}.slider.fullscreen ul.slides{height:100%}.slider.fullscreen ul.indicators{z-index:2;bottom:30px}.slider .slides{background-color:#9e9e9e;margin:0;height:400px}.slider .slides li{opacity:0;position:absolute;top:0;left:0;z-index:1;width:100%;height:inherit;overflow:hidden}.slider .slides li img{height:100%;width:100%;background-size:cover;background-position:center}.slider .slides li .caption{color:#fff;position:absolute;top:15%;left:15%;width:70%;opacity:0}.slider .slides li .caption p{color:#e0e0e0}.slider .slides li.active{z-index:2}.slider .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.slider .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:16px;width:16px;margin:0 12px;background-color:#e0e0e0;-webkit-transition:background-color .3s;transition:background-color .3s;border-radius:50%}.slider .indicators .indicator-item.active{background-color:#4CAF50}.carousel{overflow:hidden;position:relative;width:100%;height:400px;-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform-origin:0% 50%;transform-origin:0% 50%}.carousel.carousel-slider{top:0;left:0}.carousel.carousel-slider .carousel-fixed-item{position:absolute;left:0;right:0;bottom:20px;z-index:1}.carousel.carousel-slider .carousel-fixed-item.with-indicators{bottom:68px}.carousel.carousel-slider .carousel-item{width:100%;height:100%;min-height:400px;position:absolute;top:0;left:0}.carousel.carousel-slider .carousel-item h2{font-size:24px;font-weight:500;line-height:32px}.carousel.carousel-slider .carousel-item p{font-size:15px}.carousel .carousel-item{visibility:hidden;width:200px;height:200px;position:absolute;top:0;left:0}.carousel .carousel-item>img{width:100%}.carousel .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.carousel .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:8px;width:8px;margin:24px 4px;background-color:rgba(255,255,255,0.5);-webkit-transition:background-color .3s;transition:background-color .3s;border-radius:50%}.carousel .indicators .indicator-item.active{background-color:#fff}.carousel.scrolling .carousel-item .materialboxed,.carousel .carousel-item:not(.active) .materialboxed{pointer-events:none}.tap-target-wrapper{width:800px;height:800px;position:fixed;z-index:1000;visibility:hidden;-webkit-transition:visibility 0s .3s;transition:visibility 0s .3s}.tap-target-wrapper.open{visibility:visible;-webkit-transition:visibility 0s;transition:visibility 0s}.tap-target-wrapper.open .tap-target{-webkit-transform:scale(1);transform:scale(1);opacity:.95;-webkit-transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1)}.tap-target-wrapper.open .tap-target-wave::before{-webkit-transform:scale(1);transform:scale(1)}.tap-target-wrapper.open .tap-target-wave::after{visibility:visible;-webkit-animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;-webkit-transition:opacity .3s,\r visibility 0s 1s,\r -webkit-transform .3s;transition:opacity .3s,\r visibility 0s 1s,\r -webkit-transform .3s;transition:opacity .3s,\r transform .3s,\r visibility 0s 1s;transition:opacity .3s,\r transform .3s,\r visibility 0s 1s,\r -webkit-transform .3s}.tap-target{position:absolute;font-size:1rem;border-radius:50%;background-color:#ee6e73;-webkit-box-shadow:0 20px 20px 0 rgba(0,0,0,0.14),0 10px 50px 0 rgba(0,0,0,0.12),0 30px 10px -20px rgba(0,0,0,0.2);box-shadow:0 20px 20px 0 rgba(0,0,0,0.14),0 10px 50px 0 rgba(0,0,0,0.12),0 30px 10px -20px rgba(0,0,0,0.2);width:100%;height:100%;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1);transition:transform 0.3s cubic-bezier(0.42, 0, 0.58, 1),opacity 0.3s cubic-bezier(0.42, 0, 0.58, 1),-webkit-transform 0.3s cubic-bezier(0.42, 0, 0.58, 1)}.tap-target-content{position:relative;display:table-cell}.tap-target-wave{position:absolute;border-radius:50%;z-index:10001}.tap-target-wave::before,.tap-target-wave::after{content:'';display:block;position:absolute;width:100%;height:100%;border-radius:50%;background-color:#ffffff}.tap-target-wave::before{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}.tap-target-wave::after{visibility:hidden;-webkit-transition:opacity .3s,\r visibility 0s,\r -webkit-transform .3s;transition:opacity .3s,\r visibility 0s,\r -webkit-transform .3s;transition:opacity .3s,\r transform .3s,\r visibility 0s;transition:opacity .3s,\r transform .3s,\r visibility 0s,\r -webkit-transform .3s;z-index:-1}.tap-target-origin{top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:10002;position:absolute !important}.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small),.tap-target-origin:not(.btn):not(.btn-large):not(.btn-small):hover{background:none}@media only screen and (max-width: 600px){.tap-target,.tap-target-wrapper{width:600px;height:600px}}.pulse{overflow:visible;position:relative}.pulse::before{content:'';display:block;position:absolute;width:100%;height:100%;top:0;left:0;background-color:inherit;border-radius:inherit;-webkit-transition:opacity .3s, -webkit-transform .3s;transition:opacity .3s, -webkit-transform .3s;transition:opacity .3s, transform .3s;transition:opacity .3s, transform .3s, -webkit-transform .3s;-webkit-animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;animation:pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;z-index:-1}@-webkit-keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}100%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}@keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}100%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}.datepicker-modal{max-width:325px;min-width:300px;max-height:none}.datepicker-container.modal-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:0}.datepicker-controls{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:280px;margin:0 auto}.datepicker-controls .selects-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.datepicker-controls .select-wrapper input{border-bottom:none;text-align:center;margin:0}.datepicker-controls .select-wrapper input:focus{border-bottom:none}.datepicker-controls .select-wrapper .caret{display:none}.datepicker-controls .select-year input{width:50px}.datepicker-controls .select-month input{width:70px}.month-prev,.month-next{margin-top:4px;cursor:pointer;background-color:transparent;border:none}.datepicker-date-display{-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;background-color:#26a69a;color:#fff;padding:20px 22px;font-weight:500}.datepicker-date-display .year-text{display:block;font-size:1.5rem;line-height:25px;color:rgba(255,255,255,0.7)}.datepicker-date-display .date-text{display:block;font-size:2.8rem;line-height:47px;font-weight:500}.datepicker-calendar-container{-webkit-box-flex:2.5;-webkit-flex:2.5 auto;-ms-flex:2.5 auto;flex:2.5 auto}.datepicker-table{width:280px;font-size:1rem;margin:0 auto}.datepicker-table thead{border-bottom:none}.datepicker-table th{padding:10px 5px;text-align:center}.datepicker-table tr{border:none}.datepicker-table abbr{text-decoration:none;color:#999}.datepicker-table td{border-radius:50%;padding:0}.datepicker-table td.is-today{color:#26a69a}.datepicker-table td.is-selected{background-color:#26a69a;color:#fff}.datepicker-table td.is-outside-current-month,.datepicker-table td.is-disabled{color:rgba(0,0,0,0.3);pointer-events:none}.datepicker-day-button{background-color:transparent;border:none;line-height:38px;display:block;width:100%;border-radius:50%;padding:0 5px;cursor:pointer;color:inherit}.datepicker-day-button:focus{background-color:rgba(43,161,150,0.25)}.datepicker-footer{width:280px;margin:0 auto;padding-bottom:5px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.datepicker-cancel,.datepicker-clear,.datepicker-today,.datepicker-done{color:#26a69a;padding:0 1rem}.datepicker-clear{color:#F44336}@media only screen and (min-width: 601px){.datepicker-modal{max-width:625px}.datepicker-container.modal-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.datepicker-date-display{-webkit-box-flex:0;-webkit-flex:0 1 270px;-ms-flex:0 1 270px;flex:0 1 270px}.datepicker-controls,.datepicker-table,.datepicker-footer{width:320px}.datepicker-day-button{line-height:44px}}.timepicker-modal{max-width:325px;max-height:none}.timepicker-container.modal-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:0}.text-primary{color:#fff}.timepicker-digital-display{-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;background-color:#26a69a;padding:10px;font-weight:300}.timepicker-text-container{font-size:4rem;font-weight:bold;text-align:center;color:rgba(255,255,255,0.6);font-weight:400;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.timepicker-span-hours,.timepicker-span-minutes,.timepicker-span-am-pm div{cursor:pointer}.timepicker-span-hours{margin-right:3px}.timepicker-span-minutes{margin-left:3px}.timepicker-display-am-pm{font-size:1.3rem;position:absolute;right:1rem;bottom:1rem;font-weight:400}.timepicker-analog-display{-webkit-box-flex:2.5;-webkit-flex:2.5 auto;-ms-flex:2.5 auto;flex:2.5 auto}.timepicker-plate{background-color:#eee;border-radius:50%;width:270px;height:270px;overflow:visible;position:relative;margin:auto;margin-top:25px;margin-bottom:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.timepicker-canvas,.timepicker-dial{position:absolute;left:0;right:0;top:0;bottom:0}.timepicker-minutes{visibility:hidden}.timepicker-tick{border-radius:50%;color:rgba(0,0,0,0.87);line-height:40px;text-align:center;width:40px;height:40px;position:absolute;cursor:pointer;font-size:15px}.timepicker-tick.active,.timepicker-tick:hover{background-color:rgba(38,166,154,0.25)}.timepicker-dial{-webkit-transition:opacity 350ms, -webkit-transform 350ms;transition:opacity 350ms, -webkit-transform 350ms;transition:transform 350ms, opacity 350ms;transition:transform 350ms, opacity 350ms, -webkit-transform 350ms}.timepicker-dial-out{opacity:0}.timepicker-dial-out.timepicker-hours{-webkit-transform:scale(1.1, 1.1);transform:scale(1.1, 1.1)}.timepicker-dial-out.timepicker-minutes{-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}.timepicker-canvas{-webkit-transition:opacity 175ms;transition:opacity 175ms}.timepicker-canvas line{stroke:#26a69a;stroke-width:4;stroke-linecap:round}.timepicker-canvas-out{opacity:0.25}.timepicker-canvas-bearing{stroke:none;fill:#26a69a}.timepicker-canvas-bg{stroke:none;fill:#26a69a}.timepicker-footer{margin:0 auto;padding:5px 1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.timepicker-clear{color:#F44336}.timepicker-close{color:#26a69a}.timepicker-clear,.timepicker-close{padding:0 20px}@media only screen and (min-width: 601px){.timepicker-modal{max-width:600px}.timepicker-container.modal-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.timepicker-text-container{top:32%}.timepicker-display-am-pm{position:relative;right:auto;bottom:auto;text-align:center;margin-top:1.2rem}}\n","@media only screen and (min-width: 601px) {\n .container {\n width: 95%;\n }\n}\n\n.container {\n max-width: unset;\n}\nbody {\n font-size: 18px;\n overflow-x: hidden;\n}\n\n/* Set theme color */\n.btn,\n.btn-floating {\n background-color: #1565c0;\n}\n.page-footer,\n.nav-wrapper,\n.statusbar,\n.nav-content {\n background-color: white;\n}\nnav .title {\n position: fixed;\n top: 0;\n left: 200px;\n font-size: 2rem;\n}\n.input-field,\n.switch > label,\n.input-field > label,\n.input-field > .material-icons,\n.dropdown-content > li > a,\n.tooltip > .material-icons,\nlabel > span,\n.secondary-content > .material-icons {\n color: #1a237e;\n /* font-weight: bold; */\n}\n.tabs.tabs-transparent .tab a,\nnav ul a {\n /* font-weight: bold; */\n color: #1a237e;\n padding: 0;\n}\n.primary-text {\n color: #1a237e;\n}\na {\n color: #2b36aa;\n}\n\n.markdown ul {\n padding-left: 20px;\n}\n.markdown ul > li {\n padding-left: 20px;\n list-style-type: disc;\n}\n.leaflet-top,\n.leaflet-bottom {\n z-index: 950;\n}\n\n/* styles for '...' */\n.block-with-text {\n /* hide text if it more than N lines */\n overflow: hidden;\n /* for set '...' in absolute position */\n position: relative;\n /* use this value to count block height */\n line-height: 1.2em;\n /* max-height = line-height (1.2) * lines max number (3) */\n max-height: 3.6em;\n /* fix problem when last visible word doesn't adjoin right side */\n text-align: justify;\n\n /* */\n margin-right: -1em;\n padding-right: 1em;\n}\n.block-with-text:before {\n /* points in the end */\n content: '...';\n /* absolute position */\n position: absolute;\n /* set position to right bottom corner of block */\n right: 0;\n bottom: 0;\n}\n.block-with-text:after {\n /* points in the end */\n content: '';\n /* absolute position */\n position: absolute;\n /* set position to right bottom corner of text */\n right: 0;\n width: 1em;\n /* set width and height */\n height: 1em;\n margin-top: 0.2em;\n background: white;\n}\n.sidenav {\n top: 66px;\n}\n.buttons a {\n margin: 5px;\n}\n\n/* print styles */\n@media print {\n html,\n body {\n font-size: 14px;\n }\n body {\n margin: 0;\n color: #000;\n background-color: #fff;\n }\n a[href^='http']::after {\n content: ' (' attr(href) ')';\n }\n .leaflet-container,\n img,\n pre,\n blockquote {\n page-break-inside: avoid;\n page-break-before: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */\n page-break-after: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */\n page-break-inside: avoid; /* or 'auto' */\n }\n main::after {\n content: 'Copyright DRIVER+';\n display: block;\n text-align: center;\n }\n .do-not-print,\n header,\n footer,\n aside,\n nav,\n form,\n iframe,\n .menu,\n .hero,\n .adslot {\n display: none;\n }\n}\n\n.margin-top7 {\n margin-top: 7px;\n}\n.inline {\n display: inline-block;\n margin: 0 1rem;\n}\nul.list-inline li {\n display: inline;\n}\nul.menu-buttons > li {\n margin: 5px 0;\n}\nul.menu-buttons > li > a {\n width: 100%;\n}\nul.questionnaire-nav {\n width: 100%;\n text-align: center;\n}\nul.questionnaire-nav > li {\n margin: 0 10px;\n}\nul.questionnaire-nav > li > a {\n width: 25%;\n}\n.markdown p {\n color: black;\n font-weight: normal;\n}\n.markdown.squeeze p {\n margin: 0;\n}\n\n.repeat-list .pagination {\n margin: 0;\n}\n\n.repeat-list .assessment-plugin {\n margin: 0 10px;\n}\n\n.incident-view {\n margin-bottom: 0;\n position: absolute;\n top: 65px;\n left: -10px;\n width: 100vw;\n}\n.card-panel {\n cursor: pointer;\n padding: 0 20px;\n margin: 0.5rem 0 0.5rem 0;\n}\n.card-panel.xl {\n height: 41.5vh;\n}\n.card-panel.large {\n height: 200px;\n}\n.card-panel.medium {\n height: 125px;\n}\n.card-panel.small {\n height: 75px;\n}\n.widget {\n position: relative;\n}\n.widget ul {\n margin: 0px;\n}\n.widget-link {\n display: none;\n}\n.widget:hover .widget-link {\n display: block;\n}\n.bold {\n font-weight: bold;\n}\n.subject {\n position: absolute;\n width: 42px;\n /* height: 42px; */\n overflow: hidden;\n left: 15px;\n display: inline-block;\n vertical-align: middle;\n}\nul.collection.objects,\nul.collection.subjects {\n max-height: 160px;\n overflow-y: auto;\n}\n\nul.updates {\n max-height: 70px;\n overflow-y: auto;\n}\n\nul.measures {\n max-height: 170px;\n overflow-y: auto;\n}\n\nli.collection-item:first-child {\n background-color: white; /* should be the same as the background color behind the list */\n position: fixed;\n}\n\n/* Begin scrollbar */\n\n/* width */\n::-webkit-scrollbar {\n width: 5px;\n}\n\n/* Track */\n::-webkit-scrollbar-track {\n background: #f1f1f1;\n}\n\n/* Handle */\n::-webkit-scrollbar-thumb {\n background: #888;\n}\n\n/* Handle on hover */\n::-webkit-scrollbar-thumb:hover {\n background: #555;\n}\n\n/* Eind scrollbar */\n\n.radio {\n margin-top: 2rem;\n}\n.material-placeholder {\n z-index: 1999;\n}\n.materialbox-overlay {\n z-index: 2000;\n}\n.incident-view .leaflet-container {\n height: 200px !important;\n}\n#map-page .leaflet-container {\n width: 100vw;\n margin-left: -130px;\n margin-bottom: -65px;\n height: 91vh !important;\n}\n\n.material-icons.hoverable {\n text-align: center;\n cursor: pointer;\n}\n.material-icons.hoverable:hover {\n background-color: rgba(0, 0, 0, 0.1);\n}\n\n.card-title {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.comment {\n background-color: lightgrey;\n padding: 10px;\n margin: 10px 0;\n border-radius: 10px;\n}\n\n.comment-text p {\n margin: 0;\n}\n\n/** Tooltips */\n/* Tooltip container */\n.tooltip {\n position: relative;\n display: inline-block;\n /* border-bottom: 1px dotted black; /* If you want dots under the hoverable text */\n}\n\n/* Tooltip text */\n.tooltip .tooltiptext {\n visibility: hidden;\n width: 320px;\n background-color: black;\n color: #fff;\n text-align: center;\n padding: 5px;\n border-radius: 6px;\n font-size: 1rem;\n line-height: 2rem;\n /* Position the tooltip text - see examples below! */\n position: absolute;\n z-index: 1;\n}\n\n/* Show the tooltip text when you mouse over the tooltip container */\n.tooltip:hover .tooltiptext {\n visibility: visible;\n}\n\n.tooltip .tooltiptext {\n width: 150px;\n margin-left: -75px; /* Use half of the width to center the tooltip */\n top: 100%;\n left: 50%;\n}\n/** End Tooltips */\n\n.user-page {\n margin-top: 10px;\n}\n/* .user-card .card .card-title {\n width: 70%;\n} */\n.multiple-choice-question label span {\n color: #000000;\n}\n\n/**\nHorizontal scrollable list of cards\nSource: https://codepen.io/dannievinther/pen/vVydZJ\n*/\n:root {\n --gutter: 10px;\n}\n\n.hs-container {\n /* padding: var(--gutter) 0; */\n width: 100%;\n height: 100%;\n /* display: grid;\n place-items: center; */\n grid-gap: var(--gutter) 0;\n grid-template-columns: var(--gutter) 1fr var(--gutter);\n align-content: start;\n}\n\n.hs-container > * {\n grid-column: 2 / -2;\n}\n\n.hs-container > .full {\n grid-column: 1 / -1;\n}\n\n.hs-header {\n padding-top: 10px;\n margin-bottom: -25px;\n}\n\n.hs > li,\n.item {\n scroll-snap-align: center;\n padding: calc(var(--gutter) / 2 * 1.5);\n /* padding-bottom: 10px; */\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\n.hs {\n display: grid;\n grid-gap: calc(var(--gutter) / 2);\n grid-template-columns: 0px;\n grid-template-rows: minmax(150px, 1fr);\n grid-auto-flow: column;\n grid-auto-columns: calc(24% - var(--gutter) * 2);\n\n overflow-x: scroll;\n overflow-y: hidden;\n scroll-snap-type: x proximity;\n padding-bottom: calc(0.1 * var(--gutter));\n margin-bottom: calc(-0.25 * var(--gutter));\n}\n\n.hs:before,\n.hs:after {\n content: '';\n width: 10px;\n}\n\n.hs-item {\n width: 100%;\n}\n\n.section-wrapper {\n color: #777;\n margin-top: 20px;\n border-top: 1px solid rgba(0, 0, 0, 0.14);\n -webkit-transition: margin 0.25s ease;\n transition: margin 0.25s ease;\n}\n\nimg.thumbnail {\n width: auto;\n height: 100%;\n max-height: 20vh;\n margin: 0 auto;\n}\n\n.sidenav {\n width: 250px;\n}\n\nul.person-details > li > i.material-icons {\n vertical-align: middle;\n margin: 3px 10px 3px 0;\n}\n\nul.projects > li {\n margin: 4px 0;\n}\n\nul.projects > li > span.project-id {\n margin-right: 5px;\n}\n\n.collapsible > li:first-child .collapsible-header span.badge {\n margin-left: 10px;\n}\n\n/* For the options' label */\n.input-field.options > label {\n top: -2.5rem;\n}\n.input-field.options {\n margin-top: 3rem;\n}\n\n.condensed .input-field {\n margin: 0 auto;\n}\n\n.assessment-plugin.section {\n padding: 0;\n}\n.inline-icon {\n vertical-align: bottom;\n /* font-size: 20px !important; */\n}\n\n.margins {\n margin: 10px;\n}\n\n.overview .capability {\n margin-right: 2rem;\n display: flex;\n width: 100%;\n white-space: nowrap;\n}\n.overview .capability .name {\n flex-grow: 1;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.overview .square {\n flex: 0 0 20px;\n height: 20px;\n width: 20px;\n background-color: #555;\n border: solid black 2px;\n margin-top: 5px;\n margin-right: 8px;\n}\n\n.page .row {\n margin-bottom: 0;\n}\n.page {\n min-height: 95vh;\n padding-bottom: 20px;\n}\nlabel,\n.pagination li,\n.material-icons,\n.unselectable {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.chips {\n margin-top: 0;\n}\n\na.waves-effect.waves-teal.btn-flat.selected {\n background: #1a237e;\n color: white;\n}\n\n.input-field > label:not(.label-icon).active {\n -webkit-transform: translateY(-8px) scale(0.8);\n transform: translateY(-8px) scale(0.8);\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n}\n.input-field > input[type='color'] {\n margin-top: 20px;\n}\n\n.button-group {\n display: flex;\n flex-flow: nowrap;\n flex-direction: row;\n}\n\n.language-option {\n display: inline-block;\n margin-right: 10px;\n}\n\n.language-option img {\n width: 30px;\n height: 20px;\n cursor: pointer;\n}\n\n.language-option span {\n display: none;\n position: absolute;\n background-color: #000;\n color: #fff;\n padding: 5px;\n font-size: 14px;\n border-radius: 5px;\n margin-top: 5px;\n margin-left: 5px;\n white-space: nowrap;\n z-index: 100;\n}\n\n.language-option:hover span {\n display: block;\n}\n\n.clickable {\n cursor: pointer;\n}\n\n.disabled-image {\n filter: grayscale(100%);\n opacity: 0.5;\n pointer-events: none;\n}\n\n.kanban {\n display: flex;\n flex-flow: row wrap;\n /* justify-content: auto; */\n padding: 0;\n margin: 0;\n list-style: none;\n}\n.kanban-row {\n /* background-color: lightblue; */\n display: flex;\n flex-flow: column nowrap;\n padding: 0;\n margin-top: 10px;\n list-style: none;\n height: 100%;\n width: 210px;\n}\n.kanban-header {\n width: 100%;\n height: 50px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.kanban-item {\n padding: 0px;\n min-width: 200px;\n width: 200px;\n height: 60px;\n margin: 0 0 0.7rem 0;\n color: white;\n text-align: center;\n\n & .card-content {\n font-size: 0.8rem;\n padding: 15px 10px;\n & > .card-title {\n margin-bottom: 0;\n }\n }\n & .card-desc {\n display: none;\n font-size: 0.9rem;\n padding: 4px;\n transition-delay: 4s;\n text-align: left;\n white-space: normal;\n word-wrap: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n &:hover .card-desc {\n display: block;\n transition-delay: 4s;\n }\n}\n.title {\n font-size: 1.25rem;\n font-weight: 500;\n letter-spacing: 0.0125em;\n}\n.w70 {\n width: 70%;\n}\n.w30 {\n width: 30%;\n}\n.mw30 {\n min-width: 30%;\n}\n.ml10 {\n margin-left: 10px;\n}\n.mt5 {\n margin-top: 5px;\n}\n.mt10 {\n margin-top: 10px;\n}\n.mt25 {\n margin-top: 25px;\n}\n.mb0 {\n margin-bottom: 0;\n}\n.no-gutter {\n margin: 0;\n}\n.top-right {\n position: absolute;\n top: 0;\n right: 0;\n}\n.top-right-next {\n position: absolute;\n top: 4px;\n right: 35px;\n}\nul.kanban > li {\n margin-bottom: 10px;\n}\n.inconsistencies-settings {\n height: 90vh;\n}\n.show-scenario,\n.create-scenario {\n padding-top: 1rem;\n height: calc(100vh - 84px);\n}\n.create-scenario .row {\n margin-bottom: 0;\n}\n#editor {\n min-height: 150px;\n}\n.scenario-table .input-field {\n margin-bottom: 0;\n}\n.scenario-table .material-icons {\n margin-top: 1.6rem;\n margin-left: 5px;\n}\n.scenario-table .icons {\n display: flex;\n flex-wrap: nowrap;\n justify-content: right;\n align-items: flex-start;\n}\n.narratives {\n border: solid #dbe2e0;\n border-radius: 10px;\n margin: 10px;\n padding: 10px;\n}\n\n.popupContainer {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n background-color: #fcffa5;\n font-size: 2rem;\n box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.3);\n /* display: none; Hide the popup by default */\n}\n\n.popupContainer > .popupContent {\n padding: 20px;\n}\n\n.markdown h1 {\n margin: 1.5rem 0 1rem 0;\n font-size: 2.2em;\n}\n\n.markdown h2 {\n font-size: 2em;\n}\n\n.markdown h3 {\n font-size: 1.6em;\n}\n\n.markdown h4 {\n font-size: 1.4em;\n}\n\n.markdown h5 {\n font-size: 1.2em;\n}\n\n#toc {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.markdown h6 {\n font-size: 1em;\n}\n.markdown aside {\n padding: 0 20px;\n box-sizing: border-box;\n}\n\n.markdown main {\n flex: 1;\n padding: 20px;\n box-sizing: border-box;\n}\n\n.markdown header {\n text-align: center;\n padding: 10px 40px;\n background-color: #f2f2f2;\n border-radius: 20px;\n}\n\n.markdown nav ul {\n list-style-type: none;\n padding: 0;\n}\n\n.markdown nav ul li {\n margin-bottom: 10px;\n}\n\n@media only screen and (min-width: 993px) {\n table.repoonsive-table td.missing {\n height: 57px;\n }\n table.responsive-table {\n width: 100%;\n border-collapse: collapse;\n border-spacing: 0;\n display: block;\n position: relative;\n /* sort out borders */\n }\n table.responsive-table td:empty:before {\n content: '\\00a0';\n }\n table.responsive-table th,\n table.responsive-table td {\n margin: 0;\n vertical-align: top;\n }\n table.responsive-table th {\n text-align: left;\n }\n table.responsive-table thead {\n display: block;\n float: left;\n }\n table.responsive-table thead tr {\n display: block;\n padding: 0 10px 0 0;\n }\n table.responsive-table thead tr th::before {\n content: '\\00a0';\n }\n table.responsive-table tbody {\n display: block;\n width: auto;\n position: relative;\n overflow-x: auto;\n white-space: nowrap;\n }\n table.responsive-table tbody tr {\n display: inline-block;\n vertical-align: top;\n }\n table.responsive-table th {\n display: block;\n text-align: right;\n }\n table.responsive-table td {\n display: block;\n min-height: 1.25em;\n text-align: left;\n }\n table.responsive-table tr {\n border-bottom: none;\n /* padding: 0 10px; */\n }\n table.responsive-table td,\n table.responsive-table th {\n padding: 15px 10px;\n }\n table.responsive-table thead {\n border: 0;\n border-right: 1px solid rgba(0, 0, 0, 0.12);\n }\n}\n.table-container {\n width: 100%; /* or a fixed width */\n margin: 0 auto; /* center the container */\n text-align: center; /* center the table inside the container */\n}\n.table {\n display: inline-block; /* make the table an inline-block element */\n text-align: left; /* reset the text alignment */\n}\n\n.missing {\n height: 57px;\n}\n\n.decision-support table.responsive-table > tbody > tr:last-child {\n background: #e8f4f7;\n}\n\n.decision-support td:nth-child(2),\n.decision-support th:nth-child(2),\n.decision-support td:nth-child(3),\n.decision-support th:nth-child(3),\n.decision-support td:nth-child(4),\n.decision-support th:nth-child(4) {\n background: #e8f4f7;\n}\n\n#editor {\n font-size: 18px;\n}\n.ql-editor strong {\n font-weight: bold;\n}\n.ql-editor em {\n font-style: italic;\n}\n.ql-editor u {\n text-decoration: underline;\n}\n.show-scenario .ql-container.ql-snow {\n border: none;\n}\n\n.show-scenario .ql-editor {\n padding: 30px 0;\n}\n\n.show-scenario #editor {\n font-size: 24px;\n}\n\n.show-scenario div.input-field.select-space.left.mb0.mw30 input {\n font-size: 42px;\n}\n\n.show-scenario .select-wrapper input.select-dropdown {\n border: none;\n}\n.select-inline {\n display: inline-block;\n margin: 0 0em;\n /* margin: 0 0.3em; */\n padding-left: 6px;\n /* background-color: #f0f0f0; */\n /* border: 1px solid #ccc; */\n /* border-radius: 3px; */\n font-size: inherit;\n}\n.select-inline > label {\n display: none;\n}\n.select-inline input.select-dropdown {\n /* border-bottom: none; */\n margin: 0px;\n padding: 0;\n height: 2rem;\n}\n.scenario-paragraph {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n\n.icon-buttons {\n display: flex;\n gap: 0px; /* Adjust spacing between buttons */\n align-items: center;\n}\n.icon-button {\n margin: 0;\n padding: 0;\n}\n.flex-row {\n display: flex;\n align-items: center;\n gap: 16px; /* Adjust spacing between select and buttons */\n}\n.flex-grow {\n flex-grow: 1;\n}\n\n.legend {\n position: fixed;\n display: inline-block;\n right: 0;\n z-index: 1000;\n margin: 10px;\n border-radius: 6px;\n padding: 6px;\n background-color: lightblue;\n bottom: 0;\n}\n","/*!\n * Quill Editor v2.0.2\n * https://quilljs.com\n * Copyright (c) 2017-2024, Slab\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:\"Visit URL:\";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:\"Enter link:\"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:\"Enter formula:\"}.ql-snow .ql-tooltip[data-mode=video]::before{content:\"Enter video:\"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}\n\n/*# sourceMappingURL=quill.snow.css.map*/"],"names":[],"mappings":"AAAA,mLAOA,+VCFA,oDAAqD,8CAA+C,8DAA+D,6DAA8D,8DAA+D,6DAA8D,8DAA+D,6DAA8D,8DAA+D,6DAA8D,8DAA+D,6DAA8D,6DAA8D,4DAA6D,6DAA8D,4DAA6D,6DAA8D,4DAA6D,6DAA8D,4DAA6D,wCAAyC,kCAAmC,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,iDAAkD,gDAAiD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,2CAA4C,qCAAsC,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,iDAAkD,gDAAiD,gDAAiD,0CAA2C,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,2CAA4C,qCAAsC,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,+CAAgD,yCAA0C,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,0CAA2C,oCAAqC,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,gDAAiD,0CAA2C,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,2CAA4C,qCAAsC,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,iDAAkD,gDAAiD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,0CAA2C,oCAAqC,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,2CAA4C,qCAAsC,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,qDAAsD,oDAAqD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,gDAAiD,0CAA2C,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,0DAA2D,yDAA0D,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,yDAA0D,wDAAyD,0CAA2C,oCAAqC,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,oDAAqD,mDAAoD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,8CAA+C,wCAAyC,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,wDAAyD,uDAAwD,uDAAwD,sDAAuD,uDAAwD,sDAAuD,uDAAwD,sDAAuD,uDAAwD,sDAAuD,yCAA0C,mCAAoC,mDAAoD,kDAAmD,mDAAoD,kDAAmD,gDAAiD,+CAAgD,mDAAoD,kDAAmD,mDAAoD,kDAAmD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,kDAAmD,iDAAkD,uCAAwC,iCAAkC,uCAAwC,iCAAkC,oDAAuD,8CAA6H,8EAA8E,cAAc,sDAAsD,gCAAiC,qCAAqC,uBAAuB,oDAAmF,wCAAmD,oEAAoE,mIAAyK,gDAAyD,kDAA6D,sBAAsB,sCAA0D,8EAA8E,kBAAmB,cAAe,iCAAiC,4CAA4C,sBAAsB,+BAA+B,sGAAsG,8BAA8B,kCAAkC,6JAAqF,wOAA0J,oOAAgJ,oCAAuC,qGAAmI,sDAAsD,uBAAuB,6FAA+F,0GAAkG,+DAAiE,qIAAiH,oEAAoE,2BAA2B,0BAA0B,4BAA4B,+BAA4C,2BAAyD,+DAAiE,0JAA8J,6DAA6D,iDAAiD,6EAA6E,gDAAuL,qBAAqB,uEAAyE,sNAAyU,8KAAiS,yGAA6N,kHAAuO,oHAA2O,4HAAoP,8DAAwK,iFAAqK,6DAA6D,2EAA2E,sBAAsB,oCAAoC,qCAAqC,sBAAsB,uBAAuB,wBAAwB,uBAAuB,qEAAqE,uGAAuG,kGAAkG,mCAAmC,+CAA+C,oDAAoD,gCAAgC,2DAA2D,yCAA0C,uBAAuB,kDAAkD,mEAAmE,sDAAuD,8IAAkJ,uOAA+O,4CAA4C,kCAAkC,mEAAmE,yFAAyF,yIAAmP,uCAAuC,iCAAkC,+BAA+B,sCAAyE,yCAA0C,oEAAqE,yCAA0C,8CAA+C,yCAA0C,4CAA6C,+DAAiE,0CAA2C,yCAA0C,4CAA6C,0CAA2C,iDAA8F,8CAA+C,yCAA0C,wCAAyC,+DAAiE,yCAA0C,yCAA0C,wCAAyC,yCAA0C,gDAAiD,yCAA0C,kDAAmD,yCAA0C,yCAAyC,kEAAkE,2MAA2a,wBAAwB,yEAAyE,oCAAoC,4EAA6E,0CAA0C,0DAA6G,qEAAsE,wEAAwE,2CAA4C,kGAAkG,yCAA0C,4GAA4G,oDAAuD,gFAAgF,0CAA0C,sDAAsD,iEAAiE,uDAA2D,2GAA2G,wEAAwE,yDAAyD,0EAA0E,4DAA4D,8EAA+E,6GAA+G,iIAAiI,wFAAwF,iPAAiP,gIAAgI,0DAA0D,+CAA+C,6FAA6F,2DAA2D,2EAA2E,kEAAkE,8EAAkG,uEAAuE,mHAAmH,2DAA2D,kEAAkE,6CAA6C,8CAA8C,kFAAkF,6HAA6H,+IAAiJ,oHAAwJ,kDAAkD,0MAAwS,iNAA6V,mGAAkN,wGAA4N,6BAA8B,4BAA4B,8BAA8B,wCAAwC,2BAA4B,6BAA8B,qTAA2I,0BAA0B,+DAA+D,kFAAkF,gCAAiC,uKAAqM,qGAAsG,oCAAoC,0EAA2E,6HAA6H,2DAA2D,yCAAyC,oCAAiD,kEAAkE,sJAAsJ,oDAAoD,yCAA0C,sBAAsB,yCAA0C,sBAAsB,mDAAmD,8CAA8C,0BAA0B,qCAAqC,kCAAkC,2DAA2D,+CAA+C,2EAAyG,kEAAsE,kEAAuE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,mEAAyE,mEAAyE,+DAA+D,yCAA8C,iCAAsC,gCAAqC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,sCAAsC,8BAA8B,6BAA6B,yCAA0C,kEAAuE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,mEAAyE,mEAAyE,+DAA+D,yCAA8C,iCAAsC,gCAAqC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,sCAAsC,8BAA8B,8BAA8B,yCAA0C,kEAAuE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,kEAAwE,kEAAwE,6DAA6D,mEAAyE,mEAAyE,+DAA+D,yCAA8C,iCAAsC,gCAAqC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,yCAA+C,iCAAuC,gCAAsC,yCAA+C,iCAAuC,gCAAsC,oCAAoC,4BAA4B,2BAA2B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,sCAAsC,8BAA8B,8BAA8B,0CAA2C,mEAAwE,mEAAyE,8DAA8D,mEAAyE,mEAAyE,8DAA8D,mEAAyE,mEAAyE,8DAA8D,oEAA0E,oEAA0E,gEAAgE,0CAA+C,kCAAuC,iCAAsC,0CAAgD,kCAAwC,iCAAuC,qCAAqC,6BAA6B,4BAA4B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,qCAAqC,6BAA6B,4BAA4B,0CAAgD,kCAAwC,iCAAuC,0CAAgD,kCAAwC,iCAAuC,qCAAqC,6BAA6B,4BAA4B,2CAAiD,mCAAyC,kCAAwC,2CAAiD,mCAAyC,kCAAwC,uCAAuC,+BAA+B,+BAA+B,gFAAgF,6BAA6B,0DAA0D,mEAAmE,iBAAiB,yHAA6H,+CAA+C,yCAA0C,oCAAoC,sFAAsF,oDAAoD,6FAA6F,0DAA8F,yCAA0C,mDAAuF,oEAA2F,gCAAiC,6CAA8C,4CAA6C,4IAAgJ,kEAAkE,gBAAgB,+DAAuG,iDAAkD,+GAAuJ,iKAAiK,iPAAiP,+CAAgD,uBAAuB,qBAAqB,sCAAsC,kFAAkF,iiBAA6R,oCAAoC,yEAAuG,2CAA2C,wDAAwD,iCAAiC,yCAA0C,8CAA8C,kGAAkG,2BAA2B,uBAAuB,+KAAuL,qCAAsC,qBAAqB,yCAA0C,uBAAuB,0CAA2C,qBAAqB,kDAAkD,kDAAkD,6DAA+D,mEAA0E,mEAA0E,+DAAiE,kEAAyE,iEAAuE,qBAAqB,uBAAuB,oBAAoB,uBAAuB,sBAAsB,yCAA0C,6BAA6B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,8BAA8B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,8BAA8B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,8BAA8B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,+BAA+B,yCAA0C,8BAA8B,yCAA0C,6BAA6B,yIAA+Y,wGAAyQ,8CAAyE,wIAAoP,uIAAmP,iDAAiD,2CAA2C,uDAAuD,wGAAwG,kIAAkI,+GAA+G,sHAAsH,yBAAyB,0BAA0B,yBAAyB,8BAA2F,uJAAuJ,kIAAkI,2CAA2C,qFAAqF,2FAAsT,yDAAoH,2CAA2C,+DAA+D,oCAAoC,yHAAyH,uGAAuG,2DAA2D,+BAA+B,iFAAiF,mDAAmD,0HAA2H,wDAAwD,gLAAuN,sHAAsH,sJAAsJ,4DAA4D,4DAA4D,yCAA0C,2CAA2C,+DAAiE,kDAAkD,yCAA0C,iDAAiD,gTAA4gB,uFAAuF,kCAAkC,yCAA0C,mCAAmC,wIAAwI,oDAAoD,6IAA8I,oFAAoF,wDAAwD,oCAAiG,wCAAmG,2HAA2H,8LAAyQ,gGAAiG,kFAAkF,4FAA6F,uGAAwG,yCAA0C,mBAAgF,uBAAkF,6BAA6B,kSAA+T,mKAAoM,2NAA2N,qiBAAuiB,wlBAA0lB,kGAAkG,4HAA4H,0FAA0F,kLAAmO,sEAAsE,4PAAoS,6CAA6C,qCAAqC,yDAAyD,iDAAiD,2CAA2C,mDAAmD,mDAAmD,6CAA6C,oEAAoE,oDAAoD,kHAAkH,gCAAgC,qGAAqG,+CAA+C,sFAAsF,0KAA6M,0HAA0H,qDAAqD,wFAAwF,8DAA8D,oDAAsD,sGAAqS,yDAA2D,gDAAgD,+CAA+C,mEAAgI,iGAAsK,oNAAoN,wDAAwD,+GAA+G,2CAA2C,8CAA8C,+JAA0L,4IAAoL,wEAAwE,gDAAiD,8HAAgI,sEAAsE,8BAA8B,2DAA2D,8BAA8B,yBAAyB,yKAAsM,kCAAkC,mIAAoI,6EAA6E,wCAAwC,qDAAqD,+HAA+H,2DAA2D,oGAAoG,0EAA0E,mGAA4H,iCAOz6tE,6QAAyS,yRAA0e,+EAAgF,0EAA2E,8EAA+E,6EAA8E,8EAA+E,4EAA6E,2EAA4E,2VAA4L,+CAA+C,8CAAkF,6GAAiJ,8DAA+D,kFAAkF,qHAAqH,2BAA2B,uCAAuC,oLAAqL,0BAA0B,yCAA0C,kBAAkB,qDAAqD,mCAAmC,mCAAmC,gIAAgI,sIAAsI,mJAAmJ,+CAA+C,+HAA+H,uGAAwG,wHAAyH,kHAAoH,wKAAqO,oCAAoC,2GAA2G,kEAAkE,+FAA6H,sGAAsG,kEAAkE,2JAA2J,6GAA8G,wFAAwF,2FAA2F,8FAA8F,wEAAwE,0JAA2T,6GAAkM,0MAA2M,6DAA6D,mFAAmF,yFAAyF,0JAAuL,sEAA+G,yBAAyB,yLAA6L,mGAAsG,0DAA0D,kEAAoE,+DAAsG,+IAA8K,6CAA6C,8DAA8D,4HAA4H,qMAAqM,uCAAuC,mDAAmD,oCAAoC,sEAA2E,qCAAqC,oFAAkE,k3HAA+7B,u3FAA26C,khEAA6hD,47CAAk3B,sgCAA42B,o4BAAowB,85BAA8xB,yzBAAgsB,yhFAA41C,moFAAs8C,yxSAA+lI,opFAAo0D,4pFAAw3D,0kEAA+1B,kEAAkE,+EAA+E,kFAAkF,mCAAmC,kGAA+G,qPAAyqB,2XAAuV,+GAAgH,yEAA0E,gGAA6H,0CAA0C,yPAAuQ,4CAA8C,yCAA0C,8DAAgE,yCAA0C,8DAAgE,kGAA0I,uJAAuJ,8IAA8I,mQAAiP,qEAA4F,sTAA+O,6DAA6D,qIAA2K,sJAAsJ,+CAA+C,oEAAoE,mCAAmC,gJAAoG,ofAAyT,qQAA6L,6UAA+P,+HAA0G,yDAAsF,8DAAgE,8LAAkJ,2HAAsG,sDAAsF,6DAA6F,2EAA4H,oFAAuF,+FAAkG,8MAAyJ,iDAAoD,6EAAgF,+FAAkG,sJAA0G,0OAA4O,+YAA8Q,mFAAgH,4GAA+G,uKAAoP,yRAAkZ,4HAAgI,8PAA2W,mIAAsI,mEAAqE,qYAAqX,mLAA0P,4JAAgK,uNAAqV,kJAAoJ,qIAAwI,sIAAwI,mIAAqI,0HAA4H,gGAAkG,gHAAkH,+IAA+I,6BAA6B,8DAA8D,2EAA2E,qIAA2H,iFAAiF,gNAAiR,+QAAwmB,kEAAmE,iJAAwR,8PAAuO,oOAAiN,8FAA+F,8KAAqJ,oBAAoB,qCAAqC,2HAA4H,gCAAgC,kCAAkC,yFAAyF,0VAA4V,4EAA4E,6GAA8G,kEAAkE,qEAA6F,qDAAsD,yKAA0K,uCAAwC,8IAA+I,6IAAgL,+EAAgF,2EAA6E,+BAAiC,2EAA2E,uDAAuD,gEAAiE,uDAAwD,kEAAoE,8BAA8B,iEAAiE,uCAAuC,uGAAuG,gCAAgC,2MAA2K,sEAAsE,+BAA+B,yEAA0D,6HAA6H,qCAAqC,iMAAuQ,6HAA6J,4DAA4D,iGAAiG,0CAA0C,2FAA2F,8NAAqY,wHAA6K,wCAAyC,8EAA8E,6CAA6C,6KAAoR,4EAA4E,oHAAqH,qHAA6H,kDAAkD,kDAAkD,sJAA6P,6GAA8G,wCAAwC,oCAAoC,+IAAkK,yFAAyF,4FAA4F,2SAAgZ,mEAAqK,+BAA+B,wCAAwC,oDAAqD,6HAA8H,qDAAsD,6JAA6J,gIAAgI,qCAAqC,2IAA2I,0DAA0D,uMAA4M,iCAAmC,6HAA8H,uDAAuD,4EAA4E,4CAA4C,yDAAyD,2GAA2G,+FAA+F,mDAAmD,qFAAqF,0DAA0D,+DAA+D,qEAAqE,mCAAmC,oEAAqG,uDAAuD,yCAA0C,kDAAuF,+DAAmG,0BAA0B,yCAAyC,2JAA2J,iJAAiJ,qCAAqC,qIAAsI,iFAAiF,gDAAgD,8CAA8C,4EAAsI,yEAAyE,yDAA0F,uFAAuF,sDAAsD,oDAAoD,0DAA0D,wDAAwD,4KAAgV,0KAA6U,gLAAsV,8KAAmV,iRAA6W,uVAAuV,+QAAwhB,+GAA8O,iGAA8M,oGAAoN,kGAAoN,uGAAuG,0CAA0C,kHAAkH,4NAAoP,sGAAwI,2GAA8I,sGAAyL,wGAA4L,0IAA4I,0GAA8M,4IAA8I,4GAAiN,kHAA+N,+CAA0G,kDAAkD,0FAA0F,yCAAyC,uDAAuD,+DAA+D,gHAAgH,4FAA+F,8FAA8F,4CAA4C,oCAAoC,yFAAyF,0MAAkP,oEAAoE,0KAAwO,uCAAuC,sGAAsG,2EAA2E,gHAAgH,4FAA4F,0DAA0D,mGAAmG,wCAAwC,2FAA2F,yNAAkQ,mEAAmE,2HAA2H,wHAA6J,kEAAsG,mKAAikB,oEAAgG,+MCLv/yD,+UAAu2B,yDAAyD,mEAAmE,yJAA8J,0FAA0N,0HASh1C,6GAAuJ,+IAAgJ,yCAA0C,0DAA0D,0CAA0C,kRAAif,iIAAwb,kEAAkE,iFAA+P,0FAA4O,qDAAkH,yFAAyF,oEAAoE,yDAAyD,mDAAmD,oDAAoD,+FAA+F,yGAAkK,+GAAgH,oGAAoG,6CAA0G,2DAA2D,2CAA2C,wDAAwD,iCAAiC,uDAAuD,iDAAiD,4CAA4C,qEAAqE,wHAAyH,uKAAuK,mEAAoE,2GAA6P,qGAAqG,gCAAgC,yCAA0C,kCAAkC,uDAAoK,sCAAqG,sEAAsE,yCAAyC,kDAAkD,iFAA+P,yBAAyB,4FAAqJ,8MAAgO,0FAA0F,wCAAwC,yCAAyC,oGAAoG,yCAAsG,gOAAyP,oFAAoF,sCAAsC,mKAAoK,qFAAsF,+EAA0O,+BAA+B,2DAAkG,4DAAoG,4CAA6E,6EAA2E,mCAAoC,0EAAmG,6FAA+O,gCAAgC,gCAAgC,mDAAmD,yCAA0C,kCAAkC,uDAAoK,mCAAmC,uGAG/9O,sBAKF,2BAGA,sCAMA,4CAIA,wEAMA,0DAMA,uLAWA,+D,4BASA,gBAIA,+BAGA,uDAIA,yCAMA,6IAgBA,yEASA,iHAaA,kBAGA,sBAKA,aACE,yBAIA,+CAKA,+CAGA,mI,uEAcA,oFAcF,4BAGA,2CAIA,iCAGA,gCAGA,gCAGA,kDAIA,sC,oCAMA,uCAIA,sDAQA,8CAIA,iFAOA,yDAKA,6BAGA,+BAGA,gCAGA,8BAGA,0BAGA,oBAGA,0BAGA,yCAGA,sBAGA,2GASA,8EAMA,2CAKA,6CAKA,oE,8BAaA,6CAKA,0CAKA,gD,uBASA,mCAGA,kCAGA,yDAGA,sGAOA,2DAIA,gEAIA,sE,gFAaA,yBAMA,gDAOA,iMAgBA,+CAIA,sEAQA,2BAMA,gD,0JAuBA,iCAIA,qCAIA,gD,qJAgBA,+TAeA,2C,4HAkBA,mEAOA,qBAIA,kFAKA,4BAIA,gDAIA,4E,uCAQA,qCAIA,sCAIA,qCAGA,mCAKA,qBAIA,mFAMA,kGAMA,mIAUA,2B,0CAOA,2L,oBAeA,0EAKA,oGAMA,+CAIA,yCAMA,wDAKA,2DAMA,iMAcA,0CAIA,0BAIA,6FAMA,uEAQA,4GAUA,oGAOA,6GASE,6DAGE,uDAIF,oLAWA,gEAKF,gEAKA,eAGA,eAGA,oBAGA,uBAGA,oBAGA,sBAGA,sBAGA,qBAGA,oBAGA,2CAKA,qDAKA,gCAGA,sCAGA,2EAKA,sCAGA,yBAGA,6CAGA,kEAIA,kGAMA,6EAOA,uIAWA,2CAIA,kDAKA,2BAIA,6BAIA,6BAIA,6B,4DASA,2BAGA,qDAKA,yDAMA,iGAOA,gDAKA,uCAIA,yCACE,8CAGA,4GAQA,oDAGA,gFAKA,0CAGA,sDAIA,iEAIA,uDAGA,2GAOA,wEAIA,yDAIA,0EAKA,6C,oJAaF,4DAKA,4CAKA,qBAIA,4RAaA,uBAGA,kCAGA,gC,uCAMA,iDAIA,yCAIA,sCAIA,+EAIA,iEAGA,kFAUA,kCAGA,oEAMA,sDAKA,oDAKA,gCAIA,mDCl+BA,uBAIA,6I"} \ No newline at end of file diff --git a/docs/main.js b/docs/main.js index c177e78..409dfe6 100644 --- a/docs/main.js +++ b/docs/main.js @@ -1,4 +1,4 @@ -(()=>{var e={5966:function(e){var t,n;t="undefined"!=typeof self&&self,n=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){!n.o(e,t)&&Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=139)}([function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(140)),i(n(141)),i(n(53)),i(n(142)),i(n(158)),i(n(159)),i(n(25))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(51)),i(n(216)),i(n(21)),i(n(3)),i(n(37)),i(n(231))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(89)),i(n(90)),i(n(91)),i(n(92)),i(n(93)),i(n(239)),i(n(94))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(17)),i(n(9)),i(n(162)),i(n(163)),i(n(165)),i(n(34)),i(n(213)),i(n(19)),i(n(33)),i(n(215))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var i=n(15),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=h;var o=n(14);o.inherits=n(7);var s=n(57),a=n(29);o.inherits(h,s);for(var l=r(a.prototype),c=0;c=s())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return I(e).length;default:if(i)return S(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0))return"";for(!e&&(e="utf8");;)switch(e){case"hex":return function(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=t;o0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),isNaN(n=+n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return -1;n=e.length-1}else if(n<0){if(!r)return -1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,i,r);if("number"==typeof t){if(t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)return r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n);return y(e,[t],n,i,r)}throw TypeError("val must be string, number or Buffer")}function y(e,t,n,i,r){var o,s=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var u=-1;for(o=n;oa&&(n=a-l),o=n;o>=0;o--){for(var h=!0,d=0;d0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var o=r-i,s=n-t,a=Math.min(o,s),c=this.slice(i,r),u=e.slice(t,n),h=0;hw)&&(n=w),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");!i&&(i="utf8");for(var _=!1;;)switch(i){case"hex":return function(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=t.length;if(o%2!=0)throw TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s>8,r=n%256,o.push(r),o.push(i);return o}(v,g.length-y),g,y,b);default:if(_)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),_=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function w(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r239?4:c>223?3:c>191?2:1;if(r+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:(192&(o=e[r+1]))==128&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[r+1],s=e[r+2],(192&o)==128&&(192&s)==128&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[r+1],s=e[r+2],a=e[r+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",i=0;in)throw RangeError("Trying to access beyond buffer length")}function E(e,t,n,i,r,o){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw RangeError("Index out of range")}function x(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);r>>(i?r:1-r)*8}function k(e,t,n,i){t<0&&(t=0xffffffff+t+1);for(var r=0,o=Math.min(e.length-n,4);r>>(i?r:3-r)*8&255}function T(e,t,n,i,r,o){if(n+i>e.length||n<0)throw RangeError("Index out of range")}function O(e,t,n,i,o){return!o&&T(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,i,23,4),n+4}function C(e,t,n,i,o){return!o&&T(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if(e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return!t&&_(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return!t&&_(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return!t&&_(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return!t&&_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},l.prototype.readUInt32BE=function(e,t){return!t&&_(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,!n&&_(e,t,this.length);for(var i=this[e],r=1,o=0;++o=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,!n&&_(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return(!t&&_(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){!t&&_(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},l.prototype.readInt16BE=function(e,t){!t&&_(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},l.prototype.readInt32LE=function(e,t){return!t&&_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return!t&&_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return!t&&_(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return!t&&_(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return!t&&_(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return!t&&_(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;E(this,e,t,n,r,0)}var o=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+o]=e/s&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,1,255,0),!l.TYPED_ARRAY_SUPPORT&&(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,4,0xffffffff,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):k(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,4,0xffffffff,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,1,127,-128),!l.TYPED_ARRAY_SUPPORT&&(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,4,0x7fffffff,-0x80000000),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):k(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return O(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return O(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(!n&&(n=0),!i&&0!==i&&(i=this.length),t>=e.length&&(t=e.length),!t&&(t=0),i>0&&i=this.length)throw RangeError("sourceStart out of bounds");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,!e&&(e=0),"number"==typeof e)for(r=t;r55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function N(e){for(var t=[],n=0;n=t.length)&&!(r>=e.length);++r)t[r+n]=e[r];return r}}).call(t,n(4))},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.SpaceType||(t.SpaceType={})).DEFAULT="default",r.PRESERVE="preserve"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(33),o=n(68),s=n(34),a=n(69),l=n(70),c=n(19);class u extends i.IgnoreIfEmptyXmlComponent{constructor(e){if(super("w:rPr"),!e)return;e.bold&&this.push(new o.Bold),(void 0===e.boldComplexScript&&e.bold||e.boldComplexScript)&&this.push(new o.BoldComplexScript),e.italics&&this.push(new o.Italics),(void 0===e.italicsComplexScript&&e.italics||e.italicsComplexScript)&&this.push(new o.ItalicsComplexScript),e.underline&&this.push(new c.Underline(e.underline.type,e.underline.color)),e.emphasisMark&&this.push(new r.EmphasisMark(e.emphasisMark.type)),e.color&&this.push(new o.Color(e.color)),e.size&&this.push(new o.Size(e.size));let t=void 0===e.sizeComplexScript||!0===e.sizeComplexScript?e.size:e.sizeComplexScript;t&&this.push(new o.SizeComplexScript(t)),e.rightToLeft&&this.push(new o.RightToLeft),e.smallCaps&&this.push(new o.SmallCaps),e.allCaps&&this.push(new o.Caps),e.strike&&this.push(new o.Strike),e.doubleStrike&&this.push(new o.DoubleStrike),e.subScript&&this.push(new a.SubScript),e.superScript&&this.push(new a.SuperScript),e.style&&this.push(new l.Style(e.style)),e.font&&("string"==typeof e.font?this.push(new s.RunFonts(e.font)):"name"in e.font?this.push(new s.RunFonts(e.font.name,e.font.hint)):this.push(new s.RunFonts(e.font))),e.highlight&&this.push(new o.Highlight(e.highlight));let n=void 0===e.highlightComplexScript||!0===e.highlightComplexScript?e.highlight:e.highlightComplexScript;n&&this.push(new o.HighlightComplexScript(n)),e.characterSpacing&&this.push(new o.CharacterSpacing(e.characterSpacing));let i=e.shading||e.shadow;i&&this.push(new o.Shading(i.type,i.fill,i.color));let u=void 0===e.shadingComplexScript||!0===e.shadingComplexScript?i:e.shadingComplexScript;u&&this.push(new o.ShadowComplexScript(u.type,u.fill,u.color))}push(e){this.root.push(e)}}t.RunProperties=u},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(265)),i(n(38))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"}}}t.DocumentAttributes=r},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(1)),i(n(262)),i(n(280)),i(n(339)),i(n(133)),i(n(50)),i(n(72)),i(n(114)),i(n(23)),i(n(340)),i(n(0)),i(n(49)),i(n(46)),i(n(132)),i(n(131)),i(n(347))},function(e,t){var n,i,r,o=e.exports={};function s(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:s}catch(e){n=s}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var c=[],u=!1,h=-1;function d(){if(!!u&&!!r)u=!1,r.length?c=r.concat(c):h=-1,c.length&&p()}function p(){if(!u){var e=l(d);u=!0;for(var t=c.length;t;){for(r=c,c=[];++h1)for(var n=1;n0;)e=Math.floor((r=s.nextValue())*t.length),n.push(t.splice(e,1)[0]);return n.join("")}()}e.exports={get:function(){return i||a},characters:function(e){return c(e),i},seed:function(e){s.seed(e),r!==e&&(o=!1,r=e)},lookup:function(e){return u()[e]},shuffled:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(52),o=n(230),s=n(63),a=n(64),l=n(65),c=n(66),u=n(82),h=n(83),d=n(84),p=n(85),f=n(37),m=n(68);class g extends i.IgnoreIfEmptyXmlComponent{constructor(e){if(super("w:pPr"),!e)return;if(e.border&&this.push(new s.Border(e.border)),e.spacing&&this.push(new u.Spacing(e.spacing)),void 0!==e.outlineLevel&&this.push(new f.OutlineLevel(e.outlineLevel)),e.alignment&&this.push(new r.Alignment(e.alignment)),e.heading&&this.push(new h.Style(e.heading)),e.bidirectional&&this.push(new o.Bidirectional),e.thematicBreak&&this.push(new s.ThematicBreak),e.pageBreakBefore&&this.push(new c.PageBreakBefore),e.contextualSpacing&&this.push(new u.ContextualSpacing(e.contextualSpacing)),e.indent&&this.push(new a.Indent(e.indent)),e.keepLines&&this.push(new l.KeepLines),e.keepNext&&this.push(new l.KeepNext),e.tabStops)for(let t of e.tabStops)this.push(new d.TabStop(t.type,t.position,t.leader));e.style&&this.push(new h.Style(e.style)),e.bullet&&(this.push(new h.Style("ListParagraph")),this.push(new p.NumberProperties(1,e.bullet.level))),e.numbering&&(!e.numbering.custom&&this.push(new h.Style("ListParagraph")),this.push(new p.NumberProperties(e.numbering.reference,e.numbering.level))),e.rightTabStop&&this.push(new d.TabStop(d.TabStopType.RIGHT,e.rightTabStop)),e.leftTabStop&&this.push(new d.TabStop(d.TabStopType.LEFT,e.leftTabStop)),e.shading&&this.push(new m.Shading(e.shading.type,e.shading.fill,e.shading.color))}push(e){this.root.push(e)}}t.ParagraphProperties=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(257),o=n(258);class s extends i.XmlComponent{constructor(e){super("m:dPr"),e&&(this.root.push(new r.MathBeginningCharacter(e.beginningCharacter)),this.root.push(new o.MathEndingCharacter(e.endingCharacter)))}}t.MathBracketProperties=s},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(271)),i(n(43)),i(n(42)),i(n(106))},function(e,t,n){"use strict";var i,r,o,s;Object.defineProperty(t,"__esModule",{value:!0});let a=n(0),l=n(51),c=n(21),u=n(9);(o=t.LevelFormat||(t.LevelFormat={})).BULLET="bullet",o.CARDINAL_TEXT="cardinalText",o.CHICAGO="chicago",o.DECIMAL="decimal",o.DECIMAL_ENCLOSED_CIRCLE="decimalEnclosedCircle",o.DECIMAL_ENCLOSED_FULLSTOP="decimalEnclosedFullstop",o.DECIMAL_ENCLOSED_PARENTHESES="decimalEnclosedParen",o.DECIMAL_ZERO="decimalZero",o.LOWER_LETTER="lowerLetter",o.LOWER_ROMAN="lowerRoman",o.NONE="none",o.ORDINAL_TEXT="ordinalText",o.UPPER_LETTER="upperLetter",o.UPPER_ROMAN="upperRoman";class h extends a.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={ilvl:"w:ilvl",tentative:"w15:tentative"}}}class d extends a.XmlComponent{constructor(e){super("w:start"),this.root.push(new a.Attributes({val:e}))}}class p extends a.XmlComponent{constructor(e){super("w:numFmt"),this.root.push(new a.Attributes({val:e}))}}class f extends a.XmlComponent{constructor(e){super("w:lvlText"),this.root.push(new a.Attributes({val:e}))}}class m extends a.XmlComponent{constructor(e){super("w:lvlJc"),this.root.push(new a.Attributes({val:e}))}}(s=t.LevelSuffix||(t.LevelSuffix={})).NOTHING="nothing",s.SPACE="space",s.TAB="tab";class g extends a.XmlComponent{constructor(e){super("w:suff"),this.root.push(new a.Attributes({val:e}))}}class v extends a.XmlComponent{constructor({level:e,format:t,text:n,alignment:i=l.AlignmentType.START,start:r=1,style:o,suffix:s}){super("w:lvl"),this.root.push(new h({ilvl:e,tentative:1})),this.root.push(new d(r)),this.root.push(new m(i)),t&&this.root.push(new p(t)),n&&this.root.push(new f(n)),this.paragraphProperties=new c.ParagraphProperties(o&&o.paragraph),this.runProperties=new u.RunProperties(o&&o.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),s&&this.root.push(new g(s))}}t.LevelBase=v;t.Level=class e extends v{constructor(e){super(e)}};t.LevelForOverride=class e extends v{}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.BaseXmlComponent=class e{constructor(e){this.deleted=!1,this.rootKey=e}get IsDeleted(){return this.deleted}}},function(e,t,n){var i=n(54),r=n(156),o=n(62),s=n(157);e.exports={xml2js:i,xml2json:r,js2xml:o,json2xml:s}},function(e,t,n){"use strict";var i,r="object"==typeof Reflect?Reflect:null,o=r&&"function"==typeof r.apply?r.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var l=10;function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function u(e,t,n,i){if("function"!=typeof n)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),a=s[t]),void 0===a)a=s[t]=n,++e._eventsCount;else if("function"==typeof a?a=s[t]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var r,o,s,a,l=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,r=l,console&&console.warn&&console.warn(r)}return e}function h(){for(var e=[],t=0;t0&&(s=t[0]),s instanceof Error)throw s;var s,a=Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=r[e];if(void 0===l)return!1;if("function"==typeof l)o(l,this,t);else{for(var c=l.length,u=m(l,c),n=0;n=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,r=o;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;i--)this.removeListener(e,t[i]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},a.prototype.listenerCount=f,a.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},function(e,t,n){(t=e.exports=n(57)).Stream=t,t.Readable=t,t.Writable=n(29),t.Duplex=n(5),t.Transform=n(61),t.PassThrough=n(151)},function(e,t,n){"use strict";(function(t,i,r){var o,s,a=n(15);function l(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,n){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(n),i=i.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e})(t,e)}}e.exports=y;var c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?i:a.nextTick;y.WritableState=v;var u=n(14);u.inherits=n(7);var h={deprecate:n(150)},d=n(58),p=n(16).Buffer,f=r.Uint8Array||function(){},m=n(59);function g(){}function v(e,t){o=o||n(5),e=e||{};var i=t instanceof o;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,s=e.writableHighWaterMark,u=this.objectMode?16:16384;r||0===r?this.highWaterMark=r:i&&(s||0===s)?this.highWaterMark=s:this.highWaterMark=u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===e.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var n,i,r,o,s,l,u=e._writableState,h=u.sync,d=u.writecb;if((n=u).writing=!1,n.writecb=null,n.length-=n.writelen,n.writelen=0,t){;i=e,r=u,o=h,s=t,l=d,--r.pendingcb,o?(a.nextTick(l,s),a.nextTick(k,i,r),i._writableState.errorEmitted=!0,i.emit("error",s)):(l(s),i._writableState.errorEmitted=!0,i.emit("error",s),k(i,r))}else{var p=E(u);!p&&!u.corked&&!u.bufferProcessing&&u.bufferedRequest&&_(e,u),h?c(w,e,u,p,d):w(e,u,p,d)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new l(this)}function y(e){if(o=o||n(5),!s.call(y,this)&&!(this instanceof o))return new y(e);this._writableState=new v(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),d.call(this)}u.inherits(y,d),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},!function(){try{Object.defineProperty(v.prototype,"buffer",{get:h.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===y&&e&&e._writableState instanceof v}})):s=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};y.prototype.write=function(e,t,n){var i,r,o,s,l,c,u,h,d,m,v,y=this._writableState,w=!1;var _=!y.objectMode&&(i=e,p.isBuffer(i)||i instanceof f);if(_&&!p.isBuffer(e)){;r=e,e=p.from(r)}if("function"==typeof t&&(n=t,t=null),_?t="buffer":!t&&(t=y.defaultEncoding),"function"!=typeof n&&(n=g),y.ended){;o=this,s=n,l=Error("write after end"),o.emit("error",l),a.nextTick(s,l)}else{;if(_||(c=this,u=y,h=e,d=n,m=!0,v=!1,null===h?v=TypeError("May not write null values to stream"):"string"!=typeof h&&void 0!==h&&!u.objectMode&&(v=TypeError("Invalid non-string/buffer chunk")),v&&(c.emit("error",v),a.nextTick(d,v),m=!1),m))y.pendingcb++,w=function(e,t,n,i,r,o){if(!n){var s,a,l,c=(s=t,a=i,l=r,!s.objectMode&&!1!==s.decodeStrings&&"string"==typeof a&&(a=p.from(a,l)),a);i!==c&&(n=!0,r="buffer",i=c)}var u=t.objectMode?1:i.length;t.length+=u;var h=t.length-1))throw TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function b(e,t,n,i,r,o,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,o,t.onwrite),t.sync=!1}function w(e,t,n,i){!n&&function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,i(),k(e,t)}function _(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=Array(t.bufferedRequestCount),r=t.corkedRequestsFree;r.entry=n;for(var o=0,s=!0;n;)i[o]=n,!n.isBuf&&(s=!1),n=n.next,o+=1;i.allBuffers=s,b(e,t,!0,t.length,i,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new l(t),t.bufferedRequestCount=0}else{for(;n;){var a=n.chunk,c=n.encoding,u=n.callback,h=t.objectMode?1:a.length;if(b(e,t,!1,h,a,c,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),k(e,t)})}y.prototype._write=function(e,t,n){n(Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),!i.ending&&!i.finished&&function(e,t,n){t.ending=!0,k(e,t),n&&(t.finished?a.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,i,n)};function k(e,t){var n,i,r=E(t);if(r){;n=e,(i=t).prefinished||i.finalCalled||("function"==typeof n._final?(i.pendingcb++,i.finalCalled=!0,a.nextTick(x,n,i)):(i.prefinished=!0,n.emit("prefinish"))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))}return r}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){if(!!this._writableState)this._writableState.destroyed=e}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,n(13),n(60).setImmediate,n(4))},function(e,t,n){"use strict";var i=n(16).Buffer,r=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===r||!r(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=h,t=3;break;default:this.write=d,this.end=p;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function s(e){if(e<=127)return 0;if(e>>5==6)return 2;if(e>>4==14)return 3;else if(e>>3==30)return 4;return e>>6==2?-1:-2}t.StringDecoder=o,o.prototype.write=function(e){var t,n;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(r>0&&(e.lastNeed=r-1),r):--i=0?(r>0&&(e.lastNeed=r-2),r):--i=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}},function(e,t,n){var i=n(32).isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){(!(e in t)||"boolean"!=typeof t[e])&&(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){(!("alwaysArray"in e)||"boolean"!=typeof e.alwaysArray&&!i(e.alwaysArray))&&(e.alwaysArray=!1)},ensureKeyExists:function(e,t){(!(e+"Key"in t)||"string"!=typeof t[e+"Key"])&&(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},function(e,t){e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0});let r=n(0);(i=t.EmphasisMarkType||(t.EmphasisMarkType={})).DOT="dot";class o extends r.XmlComponent{constructor(e){super("w:em"),this.root.push(new r.Attributes({val:e}))}}t.BaseEmphasisMark=o;t.EmphasisMark=class e extends o{constructor(e=i.DOT){super(e)}};t.DotEmphasisMark=class e extends o{constructor(){super(i.DOT)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"}}}class o extends i.XmlComponent{constructor(e,t){super("w:rFonts"),"string"==typeof e?this.root.push(new r({ascii:e,cs:e,eastAsia:e,hAnsi:e,hint:t})):this.root.push(new r(e))}}t.RunFonts=o},function(e,t,n){"use strict";var i,r,o,s,a,l,c,u;Object.defineProperty(t,"__esModule",{value:!0}),(a=t.HorizontalPositionRelativeFrom||(t.HorizontalPositionRelativeFrom={})).CHARACTER="character",a.COLUMN="column",a.INSIDE_MARGIN="insideMargin",a.LEFT_MARGIN="leftMargin",a.MARGIN="margin",a.OUTSIDE_MARGIN="outsideMargin",a.PAGE="page",a.RIGHT_MARGIN="rightMargin",(l=t.VerticalPositionRelativeFrom||(t.VerticalPositionRelativeFrom={})).BOTTOM_MARGIN="bottomMargin",l.INSIDE_MARGIN="insideMargin",l.LINE="line",l.MARGIN="margin",l.OUTSIDE_MARGIN="outsideMargin",l.PAGE="page",l.PARAGRAPH="paragraph",l.TOP_MARGIN="topMargin",(c=t.HorizontalPositionAlign||(t.HorizontalPositionAlign={})).CENTER="center",c.INSIDE="inside",c.LEFT="left",c.OUTSIDE="outside",c.RIGHT="right",(u=t.VerticalPositionAlign||(t.VerticalPositionAlign={})).BOTTOM="bottom",u.CENTER="center",u.INSIDE="inside",u.OUTSIDE="outside",u.TOP="top"},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(200)),i(n(201)),i(n(202)),i(n(203)),i(n(204))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(217)),i(n(219)),i(n(229))},function(e,t,n){"use strict";var i,r,o,s,a,l,c,u;Object.defineProperty(t,"__esModule",{value:!0});let h=n(0);class d extends h.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={style:"w:val",size:"w:sz",color:"w:color"}}}class p extends h.XmlComponent{setProperties(e,t,n){let i=new d({style:e,size:t,color:n});return this.root.push(i),this}}class f extends h.IgnoreIfEmptyXmlComponent{constructor(){super("w:tcBorders")}addTopBorder(e,t,n){let i=new p("w:top");return i.setProperties(e,t,n),this.root.push(i),this}addStartBorder(e,t,n){let i=new p("w:start");return i.setProperties(e,t,n),this.root.push(i),this}addBottomBorder(e,t,n){let i=new p("w:bottom");return i.setProperties(e,t,n),this.root.push(i),this}addEndBorder(e,t,n){let i=new p("w:end");return i.setProperties(e,t,n),this.root.push(i),this}addLeftBorder(e,t,n){let i=new p("w:left");return i.setProperties(e,t,n),this.root.push(i),this}addRightBorder(e,t,n){let i=new p("w:right");return i.setProperties(e,t,n),this.root.push(i),this}}t.TableCellBorders=f;class m extends h.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class g extends h.XmlComponent{constructor(e){super("w:gridSpan"),this.root.push(new m({val:e}))}}t.GridSpan=g,(a=t.VerticalMergeType||(t.VerticalMergeType={})).CONTINUE="continue",a.RESTART="restart";class v extends h.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class y extends h.XmlComponent{constructor(e){super("w:vMerge"),this.root.push(new v({val:e}))}}t.VerticalMerge=y,(l=t.VerticalAlign||(t.VerticalAlign={})).BOTTOM="bottom",l.CENTER="center",l.TOP="top";class b extends h.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class w extends h.XmlComponent{constructor(e){super("w:vAlign"),this.root.push(new b({val:e}))}}t.VAlign=w,(c=t.TextDirection||(t.TextDirection={})).BOTTOM_TO_TOP_LEFT_TO_RIGHT="btLr",c.LEFT_TO_RIGHT_TOP_TO_BOTTOM="lrTb",c.TOP_TO_BOTTOM_RIGHT_TO_LEFT="tbRl";class _ extends h.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class E extends h.XmlComponent{constructor(e){super("w:textDirection"),this.root.push(new _({val:e}))}}t.TDirection=E,(u=t.WidthType||(t.WidthType={})).AUTO="auto",u.DXA="dxa",u.NIL="nil",u.PERCENTAGE="pct";class x extends h.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={width:"w:w",type:"w:type"}}}class k extends h.XmlComponent{constructor(e,t){super("w:tcW"),this.root.push(new x({width:e,type:t}))}}t.TableCellWidth=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(267))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(41);class o extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"}}}class s extends i.XmlComponent{constructor(e,t){super("w:style"),this.root.push(new o(e)),t&&this.root.push(new r.Name(t))}}t.Style=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class o extends i.XmlComponent{constructor(e){super("w:name"),this.root.push(new r({val:e}))}}t.Name=o;class s extends i.XmlComponent{constructor(e){super("w:basedOn"),this.root.push(new r({val:e}))}}t.BasedOn=s;class a extends i.XmlComponent{constructor(e){super("w:next"),this.root.push(new r({val:e}))}}t.Next=a;class l extends i.XmlComponent{constructor(e){super("w:link"),this.root.push(new r({val:e}))}}t.Link=l;class c extends i.XmlComponent{constructor(e){super("w:uiPriority"),this.root.push(new r({val:e}))}}t.UiPriority=c;class u extends i.XmlComponent{constructor(){super("w:unhideWhenUsed")}}t.UnhideWhenUsed=u;class h extends i.XmlComponent{constructor(){super("w:qFormat")}}t.QuickFormat=h;class d extends i.XmlComponent{}t.TableProperties=d;class p extends i.XmlComponent{}t.RsId=p;class f extends i.XmlComponent{constructor(){super("w:semiHidden")}}t.SemiHidden=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(9),o=n(41),s=n(40);class a extends s.Style{constructor(e){super({type:"paragraph",styleId:e.id},e.name),this.paragraphProperties=new i.ParagraphProperties(e.paragraph),this.runProperties=new r.RunProperties(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),e.basedOn&&this.root.push(new o.BasedOn(e.basedOn)),e.next&&this.root.push(new o.Next(e.next)),e.quickFormat&&this.root.push(new o.QuickFormat),e.link&&this.root.push(new o.Link(e.link)),e.semiHidden&&this.root.push(new o.SemiHidden),e.uiPriority&&this.root.push(new o.UiPriority(e.uiPriority)),e.unhideWhenUsed&&this.root.push(new o.UnhideWhenUsed)}}t.StyleForParagraph=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(9),r=n(41),o=n(40);class s extends o.Style{constructor(e){super({type:"character",styleId:e.id},e.name),this.runProperties=new i.RunProperties(e.run),this.root.push(this.runProperties),this.root.push(new r.UiPriority(99)),this.root.push(new r.UnhideWhenUsed),e.basedOn&&this.root.push(new r.BasedOn(e.basedOn)),e.link&&this.root.push(new r.Link(e.link)),e.semiHidden&&this.root.push(new r.SemiHidden)}}t.StyleForCharacter=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertMillimetersToTwip=e=>Math.floor(e/25.4*1440),t.convertInchesToTwip=e=>Math.floor(1440*e)},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.PageOrientation||(t.PageOrientation={})).PORTRAIT="portrait",r.LANDSCAPE="landscape";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={width:"w:w",height:"w:h",orientation:"w:orient"}}}t.PageSizeAttributes=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(308),r=n(47);t.FooterWrapper=class e{constructor(e,t,n){this.media=e,this.footer=new i.Footer(t,n),this.relationships=new r.Relationships}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get Footer(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(310))},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0});let r=n(0),o=n(312);(t.TargetModeType||(t.TargetModeType={})).EXTERNAL="External";class s extends r.XmlComponent{constructor(e,t,n,i){super("Relationship"),this.root.push(new o.RelationshipAttributes({id:e,type:t,target:n,targetMode:i}))}}t.Relationship=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(326),r=n(47);t.HeaderWrapper=class e{constructor(e,t,n){this.media=e,this.header=new i.Header(t,n),this.relationships=new r.Relationships}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get Header(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(328)),i(n(329))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(52)),i(n(63)),i(n(64)),i(n(65)),i(n(66)),i(n(82)),i(n(83)),i(n(84)),i(n(85))},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.AlignmentType||(t.AlignmentType={})).START="start",r.END="end",r.CENTER="center",r.BOTH="both",r.JUSTIFIED="both",r.DISTRIBUTE="distribute",r.LEFT="left",r.RIGHT="right";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}t.AlignmentAttributes=s;class a extends o.XmlComponent{constructor(e){super("w:jc"),this.root.push(new s({val:e}))}}t.Alignment=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(25);class r extends i.BaseXmlComponent{constructor(e){super("_attr"),this.root=e}prepForXml(){let e={};return Object.keys(this.root).forEach(t=>{let n=this.root[t];void 0!==n&&(e[this.xmlKeys&&this.xmlKeys[t]||t]=n)}),{_attr:e}}set(e){this.root=e}}t.XmlAttributeComponent=r},function(e,t,n){var i,r,o=n(143),s={on:function(){},parse:function(){}},a=n(31),l=n(32).isArray;function c(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function u(e,t){var n;if(i.compact){if(!r[i[e+"Key"]]&&(l(i.alwaysArray)?-1!==i.alwaysArray.indexOf(i[e+"Key"]):i.alwaysArray)&&(r[i[e+"Key"]]=[]),r[i[e+"Key"]]&&!l(r[i[e+"Key"]])&&(r[i[e+"Key"]]=[r[i[e+"Key"]]]),e+"Fn"in i&&"string"==typeof t&&(t=i[e+"Fn"](t,r)),"instruction"===e&&("instructionFn"in i||"instructionNameFn"in i)){for(n in t)if(t.hasOwnProperty(n)){if("instructionFn"in i)t[n]=i.instructionFn(t[n],n,r);else{var o=t[n];delete t[n],t[i.instructionNameFn(n,o,r)]=o}}}l(r[i[e+"Key"]])?r[i[e+"Key"]].push(t):r[i[e+"Key"]]=t}else{!r[i.elementsKey]&&(r[i.elementsKey]=[]);var s={};if(s[i.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;s[i.nameKey]="instructionNameFn"in i?i.instructionNameFn(n,t,r):n,i.instructionHasAttributes?(s[i.attributesKey]=t[n][i.attributesKey],"instructionFn"in i&&(s[i.attributesKey]=i.instructionFn(s[i.attributesKey],n,r))):("instructionFn"in i&&(t[n]=i.instructionFn(t[n],n,r)),s[i.instructionKey]=t[n])}else e+"Fn"in i&&(t=i[e+"Fn"](t,r)),s[i[e+"Key"]]=t;i.addParent&&(s[i.parentKey]=r),r[i.elementsKey].push(s)}}function h(e){if("attributesFn"in i&&e&&(e=i.attributesFn(e,r)),(i.trim||"attributeValueFn"in i||"attributeNameFn"in i||i.nativeTypeAttributes)&&e){var t;for(t in e)if(e.hasOwnProperty(t)&&(i.trim&&(e[t]=e[t].trim()),i.nativeTypeAttributes&&(e[t]=c(e[t])),"attributeValueFn"in i&&(e[t]=i.attributeValueFn(e[t],t,r)),"attributeNameFn"in i)){var n=e[t];delete e[t],e[i.attributeNameFn(t,e[t],r)]=n}}return e}function d(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||i.instructionHasAttributes)){for(var n,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=o.exec(e.body));)t[n[1]]=n[2]||n[3]||n[4];t=h(t)}if("xml"===e.name.toLowerCase()){if(i.ignoreDeclaration)return;r[i.declarationKey]={},Object.keys(t).length&&(r[i.declarationKey][i.attributesKey]=t),i.addParent&&(r[i.declarationKey][i.parentKey]=r)}else{if(i.ignoreInstruction)return;i.trim&&(e.body=e.body.trim());var s={};i.instructionHasAttributes&&Object.keys(t).length?(s[e.name]={},s[e.name][i.attributesKey]=t):s[e.name]=e.body,u("instruction",s)}}function p(e,t){var n,o;if("object"==typeof e&&(t=e.attributes,e=e.name),t=h(t),"elementNameFn"in i&&(e=i.elementNameFn(e,r)),i.compact){if(n={},!i.ignoreAttributes&&t&&Object.keys(t).length)for(o in n[i.attributesKey]={},t)t.hasOwnProperty(o)&&(n[i.attributesKey][o]=t[o]);!(e in r)&&(l(i.alwaysArray)?-1!==i.alwaysArray.indexOf(e):i.alwaysArray)&&(r[e]=[]),r[e]&&!l(r[e])&&(r[e]=[r[e]]),l(r[e])?r[e].push(n):r[e]=n}else!r[i.elementsKey]&&(r[i.elementsKey]=[]),(n={})[i.typeKey]="element",n[i.nameKey]=e,!i.ignoreAttributes&&t&&Object.keys(t).length&&(n[i.attributesKey]=t),i.alwaysChildren&&(n[i.elementsKey]=[]),r[i.elementsKey].push(n);n[i.parentKey]=r,r=n}function f(e){if(!i.ignoreText&&(!!e.trim()||!!i.captureSpacesBetweenElements))i.trim&&(e=e.trim()),i.nativeType&&(e=c(e)),i.sanitize&&(e=e.replace(/&/g,"&").replace(//g,">")),u("text",e)}function m(e){if(!i.ignoreComment)i.trim&&(e=e.trim()),u("comment",e)}function g(e){var t=r[i.parentKey];!i.addParent&&delete r[i.parentKey],r=t}function v(e){if(!i.ignoreCdata)i.trim&&(e=e.trim()),u("cdata",e)}function y(e){if(!i.ignoreDoctype)e=e.replace(/^ /,""),i.trim&&(e=e.trim()),u("doctype",e)}function b(e){e.note=e}e.exports=function(e,t){var n,s=o.parser(!0,{}),l={};r=l,n=t,i=a.copyOptions(n),a.ensureFlagExists("ignoreDeclaration",i),a.ensureFlagExists("ignoreInstruction",i),a.ensureFlagExists("ignoreAttributes",i),a.ensureFlagExists("ignoreText",i),a.ensureFlagExists("ignoreComment",i),a.ensureFlagExists("ignoreCdata",i),a.ensureFlagExists("ignoreDoctype",i),a.ensureFlagExists("compact",i),a.ensureFlagExists("alwaysChildren",i),a.ensureFlagExists("addParent",i),a.ensureFlagExists("trim",i),a.ensureFlagExists("nativeType",i),a.ensureFlagExists("nativeTypeAttributes",i),a.ensureFlagExists("sanitize",i),a.ensureFlagExists("instructionHasAttributes",i),a.ensureFlagExists("captureSpacesBetweenElements",i),a.ensureAlwaysArrayExists(i),a.ensureKeyExists("declaration",i),a.ensureKeyExists("instruction",i),a.ensureKeyExists("attributes",i),a.ensureKeyExists("text",i),a.ensureKeyExists("comment",i),a.ensureKeyExists("cdata",i),a.ensureKeyExists("doctype",i),a.ensureKeyExists("type",i),a.ensureKeyExists("name",i),a.ensureKeyExists("elements",i),a.ensureKeyExists("parent",i),a.checkFnExists("doctype",i),a.checkFnExists("instruction",i),a.checkFnExists("cdata",i),a.checkFnExists("comment",i),a.checkFnExists("text",i),a.checkFnExists("instructionName",i),a.checkFnExists("elementName",i),a.checkFnExists("attributeName",i),a.checkFnExists("attributeValue",i),a.checkFnExists("attributes",i),s.opt={strictEntities:!0},s.onopentag=p,s.ontext=f,s.oncomment=m,s.onclosetag=g,s.onerror=b,s.oncdata=v,s.ondoctype=y,s.onprocessinginstruction=d;s.write(e).close();if(l[i.elementsKey]){var c=l[i.elementsKey];delete l[i.elementsKey],l[i.elementsKey]=c,delete l.text}return l}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){e.exports=r;var i=n(27).EventEmitter;function r(){i.call(this)}n(7)(r,i),r.Readable=n(28),r.Writable=n(152),r.Duplex=n(153),r.Transform=n(154),r.PassThrough=n(155),r.Stream=r,r.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",o),!e._isStdio&&(!t||!1!==t.end)&&(n.on("end",a),n.on("close",l));var s=!1;function a(){!s&&(s=!0,e.end())}function l(){!s&&(s=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===i.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",r),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},function(e,t,n){"use strict";(function(t,i){var r,o,s=n(15);e.exports=b;var a=n(55);b.ReadableState=y,n(27).EventEmitter;var l=function(e,t){return e.listeners(t).length},c=n(58),u=n(16).Buffer,h=t.Uint8Array||function(){},d=n(14);d.inherits=n(7);var p=n(146),f=void 0;f=p&&p.debuglog?p.debuglog("stream"):function(){};var m=n(147),g=n(59);d.inherits(b,c);var v=["error","close","destroy","pause","resume"];function y(e,t){r=r||n(5),e=e||{};var i=t instanceof r;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var s=e.highWaterMark,a=e.readableHighWaterMark,l=this.objectMode?16:16384;s||0===s?this.highWaterMark=s:i&&(a||0===a)?this.highWaterMark=a:this.highWaterMark=l,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(!o&&(o=n(30).StringDecoder),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function b(e){if(r=r||n(5),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,n,i,r){var o,s,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,x(e)}}(e,a);else if(!r&&(s=function(e,t){var n,i;if(i=t,!u.isBuffer(i)&&!(i instanceof h)&&"string"!=typeof t&&void 0!==t&&!e.objectMode)n=TypeError("Invalid non-string/buffer chunk");return n}(a,t)),s)e.emit("error",s);else if(a.objectMode||t&&t.length>0){if("string"!=typeof t&&!a.objectMode&&Object.getPrototypeOf(t)!==u.prototype){;o=t,t=u.from(o)}i?a.endEmitted?e.emit("error",Error("stream.unshift() after end event")):_(e,a,t,!0):a.ended?e.emit("error",Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?_(e,a,t,!1):T(e,a)):_(e,a,t,!1))}else!i&&(a.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark){var n;t.highWaterMark=((n=e)>=8388608?n=8388608:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}b.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t,n=this._readableState,i=e;if(0!==e&&(n.emittedReadable=!1),0===e&&n.needReadable&&(n.length>=n.highWaterMark||n.ended))return f("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?I(this):x(this),null;if(0===(e=E(e,n))&&n.ended)return 0===n.length&&I(this),null;var r=n.needReadable;return f("need readable",r),(0===n.length||n.length-e0?N(e,n):null)?(n.needReadable=!0,e=0):n.length-=e,0===n.length&&(!n.ended&&(n.needReadable=!0),i!==e&&n.ended&&I(this)),null!==t&&this.emit("data",t),t};function x(e){var t=e._readableState;t.needReadable=!1,!t.emittedReadable&&(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?s.nextTick(k,e):k(e))}function k(e){f("emit readable"),e.emit("readable"),S(e)}function T(e,t){!t.readingMore&&(t.readingMore=!0,s.nextTick(O,e,t))}function O(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length1&&-1!==R(r.pipes,e))&&!d&&(f("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function g(t){f("onerror",t),b(),e.removeListener("error",g),0===l(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",y),b()}function y(){f("onfinish"),e.removeListener("close",v),b()}function b(){f("unpipe"),n.unpipe(e)}return n.on("data",m),!function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",g),e.once("close",v),e.once("finish",y),e.emit("pipe",n),!r.flowing&&(f("pipe resume"),n.resume()),e};function C(e){f("readable nexttick read 0"),e.read(0)}b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(!e&&(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var i;return eo.length?o.length:e;if(s===o.length?r+=o:r+=o.slice(0,e),0==(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t):function(e,t){var n=u.allocUnsafe(e),i=t.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var o=i.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),0==(e-=s)){s===o.length?(++r,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=o.slice(s));break}++r}return t.length-=r,n}(e,t),i}(e,t.buffer,t.decoder),n)}b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,i=!1;for(var r in e.on("end",function(){if(f("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(r){if(f("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r)return;if(!!n.objectMode||!!r&&!!r.length)!t.push(r)&&(i=!0,e.pause())}),e)void 0===this[r]&&"function"==typeof e[r]&&(this[r]=function(t){return function(){return e[t].apply(e,arguments)}}(r));for(var o=0;o0)throw Error('"endReadable()" called on non-empty stream');!t.endEmitted&&(t.ended=!0,s.nextTick(L,t,e))}function L(e,t){!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var n=0,i=e.length;n=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(149),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(4))},function(e,t,n){"use strict";e.exports=s;var i=n(5),r=n(14);function o(e,t){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(!i)return this.emit("error",Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),i(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length"}function u(e,t,n){if(t.ignoreInstruction)return"";for(o in e)if(e.hasOwnProperty(o))break;var o,s="instructionNameFn"in t?t.instructionNameFn(o,e[o],r,i):o;if("object"==typeof e[o])return i=e,r=s,"";var a=e[o]?e[o]:"";return"instructionFn"in t&&(a=t.instructionFn(a,o,r,i)),""}function h(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,r,i):e)+"--\x3e"}function d(e,t){return t.ignoreCdata?"":"","]]]]>"))+"]]>"}function p(e,t){return t.ignoreDoctype?"":""}function f(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&/g,"&")).replace(/&/g,"&").replace(//g,">"),"textFn"in t?t.textFn(e,r,i):e)}function m(e,t,n,o){return e.reduce(function(e,s){var c,g,v,y,b,w,_=a(t,n,o&&!e);switch(s.type){case"element":;return e+_+(c=s,g=t,v=n,i=c,r=c.name,y=[],b="elementNameFn"in g?g.elementNameFn(c.name,c):c.name,y.push("<"+b),c[g.attributesKey]&&y.push(l(c[g.attributesKey],g,v)),!(w=c[g.elementsKey]&&c[g.elementsKey].length||c[g.attributesKey]&&"preserve"===c[g.attributesKey]["xml:space"])&&(w="fullTagEmptyElementFn"in g?g.fullTagEmptyElementFn(c.name,c):g.fullTagEmptyElement),w?(y.push(">"),c[g.elementsKey]&&c[g.elementsKey].length&&(y.push(m(c[g.elementsKey],g,v+1)),i=c,r=c.name),y.push(g.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n")):y.push("/>"),y.join(""));case"comment":return e+_+h(s[t.commentKey],t);case"doctype":return e+_+p(s[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?_:"")+d(s[t.cdataKey],t);case"text":return e+(t.indentText?_:"")+f(s[t.textKey],t);case"instruction":var E={};return E[s[t.nameKey]]=s[t.attributesKey]?s:s[t.instructionKey],e+(t.indentInstruction?_:"")+u(E,t,n)}},"")}function g(e,t,n){var i;for(i in e)if(e.hasOwnProperty(i))switch(i){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function v(e,t,n,o){var m,y,b,w=[];for(y in e)if(e.hasOwnProperty(y))for(m=0,b=s(e[y])?e[y]:[e[y]];m":"<"+c+"/>";var u=[];if(t){if(u.push("<"+c),"object"!=typeof e)return u.push(">"+f(e,n)+""),u.join("");e[n.attributesKey]&&u.push(l(e[n.attributesKey],n,o));var h=g(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(!h&&(h="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!h)return u.push("/>"),u.join("");u.push(">")}return u.push(v(e,n,o+1,!1)),i=e,r=t,t&&u.push((s?a(n,o,!1):"")+""),u.join("")}(b[m],y,t,n,g(b[m],t)))}o=o&&!w.length}return w.join("")}e.exports=function(e,t){n=t,s=o.copyOptions(n),o.ensureFlagExists("ignoreDeclaration",s),o.ensureFlagExists("ignoreInstruction",s),o.ensureFlagExists("ignoreAttributes",s),o.ensureFlagExists("ignoreText",s),o.ensureFlagExists("ignoreComment",s),o.ensureFlagExists("ignoreCdata",s),o.ensureFlagExists("ignoreDoctype",s),o.ensureFlagExists("compact",s),o.ensureFlagExists("indentText",s),o.ensureFlagExists("indentCdata",s),o.ensureFlagExists("indentAttributes",s),o.ensureFlagExists("indentInstruction",s),o.ensureFlagExists("fullTagEmptyElement",s),o.ensureFlagExists("noQuotesForNativeAttributes",s),o.ensureSpacesExists(s),"number"==typeof s.spaces&&(s.spaces=Array(s.spaces+1).join(" ")),o.ensureKeyExists("declaration",s),o.ensureKeyExists("instruction",s),o.ensureKeyExists("attributes",s),o.ensureKeyExists("text",s),o.ensureKeyExists("comment",s),o.ensureKeyExists("cdata",s),o.ensureKeyExists("doctype",s),o.ensureKeyExists("type",s),o.ensureKeyExists("name",s),o.ensureKeyExists("elements",s),o.checkFnExists("doctype",s),o.checkFnExists("instruction",s),o.checkFnExists("cdata",s),o.checkFnExists("comment",s),o.checkFnExists("text",s),o.checkFnExists("instructionName",s),o.checkFnExists("elementName",s),o.checkFnExists("attributeName",s),o.checkFnExists("attributeValue",s),o.checkFnExists("attributes",s),o.checkFnExists("fullTagEmptyElement",s),t=s;var n,s,a=[];return i=e,r="_root_",t.compact?a.push(v(e,t,0,!0)):(e[t.declarationKey]&&a.push(c(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&a.push(m(e[t.elementsKey],t,0,!a.length))),a.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(160);class o extends i.XmlComponent{constructor(e,t={color:"auto",space:1,value:"single",size:6}){super(e);let n=new r.BorderAttributes({color:t.color,space:t.space,val:t.value,sz:t.size});this.root.push(n)}}class s extends i.XmlComponent{constructor(e){if(super("w:pBdr"),void 0!==e.top){let t=new o("w:top",e.top);this.root.push(t)}if(void 0!==e.bottom){let t=new o("w:bottom",e.bottom);this.root.push(t)}if(void 0!==e.left){let t=new o("w:left",e.left);this.root.push(t)}if(void 0!==e.right){let t=new o("w:right",e.right);this.root.push(t)}}}t.Border=s;class a extends i.XmlComponent{constructor(){super("w:pBdr");let e=new o("w:bottom",{color:"auto",space:1,value:"single",size:6});this.root.push(e)}}t.ThematicBreak=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={left:"w:left",hanging:"w:hanging",firstLine:"w:firstLine",start:"w:start",end:"w:end",right:"w:end"}}}class o extends i.XmlComponent{constructor(e){super("w:ind"),this.root.push(new r(e))}}t.Indent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:keepLines")}}t.KeepLines=r;class o extends i.XmlComponent{constructor(){super("w:keepNext")}}t.KeepNext=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(3);class o extends i.XmlComponent{constructor(){super("w:br"),this.root.push(new i.Attributes({type:"page"}))}}class s extends r.Run{constructor(){super({}),this.root.push(new o)}}t.PageBreak=s;class a extends i.XmlComponent{constructor(){super("w:pageBreakBefore")}}t.PageBreakBefore=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:br")}}t.Break=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);var r=n(19);t.Underline=r.Underline;var o=n(33);t.EmphasisMark=o.EmphasisMark;var s=n(69);t.SubScript=s.SubScript,t.SuperScript=s.SuperScript;var a=n(34);t.RunFonts=a.RunFonts;class l extends i.XmlComponent{constructor(){super("w:b"),this.root.push(new i.Attributes({val:!0}))}}t.Bold=l;class c extends i.XmlComponent{constructor(){super("w:bCs"),this.root.push(new i.Attributes({val:!0}))}}t.BoldComplexScript=c;class u extends i.XmlComponent{constructor(e){super("w:spacing"),this.root.push(new i.Attributes({val:e}))}}t.CharacterSpacing=u;class h extends i.XmlComponent{constructor(){super("w:i"),this.root.push(new i.Attributes({val:!0}))}}t.Italics=h;class d extends i.XmlComponent{constructor(){super("w:iCs"),this.root.push(new i.Attributes({val:!0}))}}t.ItalicsComplexScript=d;class p extends i.XmlComponent{constructor(){super("w:caps"),this.root.push(new i.Attributes({val:!0}))}}t.Caps=p;class f extends i.XmlComponent{constructor(e){super("w:color"),this.root.push(new i.Attributes({val:e}))}}t.Color=f;class m extends i.XmlComponent{constructor(){super("w:dstrike"),this.root.push(new i.Attributes({val:!0}))}}t.DoubleStrike=m;class g extends i.XmlComponent{constructor(){super("w:emboss"),this.root.push(new i.Attributes({val:!0}))}}t.Emboss=g;class v extends i.XmlComponent{constructor(){super("w:imprint"),this.root.push(new i.Attributes({val:!0}))}}t.Imprint=v;class y extends i.XmlComponent{constructor(){super("w:smallCaps"),this.root.push(new i.Attributes({val:!0}))}}t.SmallCaps=y;class b extends i.XmlComponent{constructor(){super("w:strike"),this.root.push(new i.Attributes({val:!0}))}}t.Strike=b;class w extends i.XmlComponent{constructor(e){super("w:sz"),this.root.push(new i.Attributes({val:e}))}}t.Size=w;class _ extends i.XmlComponent{constructor(e){super("w:szCs"),this.root.push(new i.Attributes({val:e}))}}t.SizeComplexScript=_;class E extends i.XmlComponent{constructor(){super("w:rtl"),this.root.push(new i.Attributes({val:!0}))}}t.RightToLeft=E;class x extends i.XmlComponent{constructor(e){super("w:highlight"),this.root.push(new i.Attributes({val:e}))}}t.Highlight=x;class k extends i.XmlComponent{constructor(e){super("w:highlightCs"),this.root.push(new i.Attributes({val:e}))}}t.HighlightComplexScript=k;class T extends i.XmlComponent{constructor(e,t,n){super("w:shd"),this.root.push(new i.Attributes({val:e,fill:t,color:n}))}}t.Shading=T;class O extends i.XmlComponent{constructor(e,t,n){super("w:shdCs"),this.root.push(new i.Attributes({val:e,fill:t,color:n}))}}t.ShadowComplexScript=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){super("w:vertAlign"),this.root.push(new i.Attributes({val:e}))}}t.VerticalAlign=r;t.SuperScript=class e extends r{constructor(){super("superscript")}};t.SubScript=class e extends r{constructor(){super("subscript")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class o extends i.XmlComponent{constructor(e){super("w:rStyle"),this.root.push(new r({val:e}))}}t.Style=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(8),r=n(0);class o extends r.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={space:"xml:space"}}}class s extends r.XmlComponent{constructor(e){super("w:t"),this.root.push(new o({space:i.SpaceType.PRESERVE})),this.root.push(e)}}t.Text=s},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(166)),i(n(36)),i(n(73))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(35)),i(n(169)),i(n(170)),i(n(171))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){super("wp:align"),this.root.push(e)}}t.Align=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){super("wp:posOffset"),this.root.push(e.toString())}}t.PositionOffset=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(172))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(205);class o extends i.XmlComponent{constructor(){super("wp:docPr"),this.root.push(new r.DocPropertiesAttributes({id:0,name:"",descr:""}))}}t.DocProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(206);class o extends i.XmlComponent{constructor(){super("wp:effectExtent"),this.root.push(new r.EffectExtentAttributes({b:0,l:0,r:0,t:0}))}}t.EffectExtent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(207);class o extends i.XmlComponent{constructor(e,t){super("wp:extent"),this.attributes=new r.ExtentAttributes({cx:e,cy:t}),this.root.push(this.attributes)}setXY(e,t){this.attributes.set({cx:e,cy:t})}}t.Extent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(208);class o extends i.XmlComponent{constructor(){super("wp:cNvGraphicFramePr"),this.root.push(new r.GraphicFrameLocks)}}t.GraphicFrameProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"}}}t.AnchorAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule"}}}class o extends i.XmlComponent{constructor(e){super("w:spacing"),this.root.push(new r(e))}}t.Spacing=o;class s extends i.XmlComponent{constructor(e){super("w:contextualSpacing"),this.root.push(new i.Attributes({val:!1===e?0:1}))}}t.ContextualSpacing=s},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.HeadingLevel||(t.HeadingLevel={})).HEADING_1="Heading1",r.HEADING_2="Heading2",r.HEADING_3="Heading3",r.HEADING_4="Heading4",r.HEADING_5="Heading5",r.HEADING_6="Heading6",r.TITLE="Title";class s extends o.XmlComponent{constructor(e){super("w:pStyle"),this.root.push(new o.Attributes({val:e}))}}t.Style=s},function(e,t,n){"use strict";var i,r,o,s,a,l;Object.defineProperty(t,"__esModule",{value:!0});let c=n(0);class u extends c.XmlComponent{constructor(e,t,n){super("w:tabs"),this.root.push(new d(e,t,n))}}t.TabStop=u,(s=t.TabStopType||(t.TabStopType={})).LEFT="left",s.RIGHT="right",s.CENTER="center",s.BAR="bar",s.CLEAR="clear",s.DECIMAL="decimal",s.END="end",s.NUM="num",s.START="start",(a=t.LeaderType||(t.LeaderType={})).DOT="dot",a.HYPHEN="hyphen",a.MIDDLE_DOT="middleDot",a.NONE="none",a.UNDERSCORE="underscore",(l=t.TabStopPosition||(t.TabStopPosition={}))[l.MAX=9026]="MAX";class h extends c.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val",pos:"w:pos",leader:"w:leader"}}}t.TabAttributes=h;class d extends c.XmlComponent{constructor(e,t,n){super("w:tab"),this.root.push(new h({val:e,pos:t,leader:n}))}}t.TabStopItem=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e,t){super("w:numPr"),this.root.push(new o(t)),this.root.push(new s(e))}}t.NumberProperties=r;class o extends i.XmlComponent{constructor(e){super("w:ilvl"),this.root.push(new i.Attributes({val:e}))}}class s extends i.XmlComponent{constructor(e){super("w:numId"),this.root.push(new i.Attributes({val:"string"==typeof e?`{${e}}`:e}))}}},function(e,t,n){"use strict";e.exports=n(220)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:den"),e))this.root.push(t)}}t.MathDenominator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:num"),e))this.root.push(t)}}t.MathNumerator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={accent:"m:val"}}}class o extends i.XmlComponent{constructor(e){super("m:chr"),this.root.push(new r({accent:e}))}}t.MathAccentCharacter=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:e"),e))this.root.push(t)}}t.MathBase=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={value:"m:val"}}}class o extends i.XmlComponent{constructor(){super("m:limLoc"),this.root.push(new r({value:"undOvr"}))}}t.MathLimitLocation=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(89),o=n(91),s=n(237),a=n(238);class l extends i.XmlComponent{constructor(e,t,n){super("m:naryPr"),this.root.push(new r.MathAccentCharacter(e)),this.root.push(new o.MathLimitLocation),!t&&this.root.push(new a.MathSuperScriptHide),!n&&this.root.push(new s.MathSubScriptHide)}}t.MathNArayProperties=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:sub"),e))this.root.push(t)}}t.MathSubScriptElement=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:sup"),e))this.root.push(t)}}t.MathSuperScriptElement=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:sSupPr")}}t.MathSuperScriptProperties=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:sSubPr")}}t.MathSubScriptProperties=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:sSubSupPr")}}t.MathSubSuperScriptProperties=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:sPrePr")}}t.MathPreSubSuperScriptProperties=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){if(super("m:deg"),e)for(let t of e)this.root.push(t)}}t.MathDegree=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(252);class o extends i.XmlComponent{constructor(e){super("m:radPr"),!e&&this.root.push(new r.MathDegreeHide)}}t.MathRadicalProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:fName"),e))this.root.push(t)}}t.MathFunctionName=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:funcPr")}}t.MathFunctionProperties=r},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(270)),i(n(109)),i(n(111)),i(n(104)),i(n(110))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(23),r=n(0);class o extends r.XmlComponent{constructor(e){super("w:tblBorders"),e.top?this.root.push(new s("w:top",e.top.style,e.top.size,0,e.top.color)):this.root.push(new s("w:top",i.BorderStyle.SINGLE,4,0,"auto")),e.left?this.root.push(new s("w:left",e.left.style,e.left.size,0,e.left.color)):this.root.push(new s("w:left",i.BorderStyle.SINGLE,4,0,"auto")),e.bottom?this.root.push(new s("w:bottom",e.bottom.style,e.bottom.size,0,e.bottom.color)):this.root.push(new s("w:bottom",i.BorderStyle.SINGLE,4,0,"auto")),e.right?this.root.push(new s("w:right",e.right.style,e.right.size,0,e.right.color)):this.root.push(new s("w:right",i.BorderStyle.SINGLE,4,0,"auto")),e.insideHorizontal?this.root.push(new s("w:insideH",e.insideHorizontal.style,e.insideHorizontal.size,0,e.insideHorizontal.color)):this.root.push(new s("w:insideH",i.BorderStyle.SINGLE,4,0,"auto")),e.insideVertical?this.root.push(new s("w:insideV",e.insideVertical.style,e.insideVertical.size,0,e.insideVertical.color)):this.root.push(new s("w:insideV",i.BorderStyle.SINGLE,4,0,"auto"))}}o.NONE={top:{style:i.BorderStyle.NONE,size:0,color:"auto"},bottom:{style:i.BorderStyle.NONE,size:0,color:"auto"},left:{style:i.BorderStyle.NONE,size:0,color:"auto"},right:{style:i.BorderStyle.NONE,size:0,color:"auto"},insideHorizontal:{style:i.BorderStyle.NONE,size:0,color:"auto"},insideVertical:{style:i.BorderStyle.NONE,size:0,color:"auto"}},t.TableBorders=o;class s extends r.XmlComponent{constructor(e,t,n,i,r){super(e),this.root.push(new a({value:t,size:n,space:i,color:r}))}}class a extends r.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={value:"w:val",size:"w:sz",space:"w:space",color:"w:color"}}}},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(40)),i(n(42)),i(n(43)),i(n(272))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(107)),i(n(108)),i(n(275))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(21),r=n(0);class o extends r.XmlComponent{constructor(e){super("w:pPrDefault"),this.root.push(new i.ParagraphProperties(e))}}t.ParagraphPropertiesDefaults=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(9),r=n(0);class o extends r.XmlComponent{constructor(e){super("w:rPrDefault"),this.properties=new i.RunProperties(e),this.root.push(this.properties)}}t.RunPropertiesDefaults=o},function(e,t,n){"use strict";var i,r,o,s,a,l;Object.defineProperty(t,"__esModule",{value:!0});let c=n(0),u=n(110);(s=t.TableAnchorType||(t.TableAnchorType={})).MARGIN="margin",s.PAGE="page",s.TEXT="text",(a=t.RelativeHorizontalPosition||(t.RelativeHorizontalPosition={})).CENTER="center",a.INSIDE="inside",a.LEFT="left",a.OUTSIDE="outside",a.RIGHT="right",(l=t.RelativeVerticalPosition||(t.RelativeVerticalPosition={})).CENTER="center",l.INSIDE="inside",l.BOTTOM="bottom",l.OUTSIDE="outside",l.INLINE="inline",l.TOP="top";class h extends c.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={horizontalAnchor:"w:horzAnchor",verticalAnchor:"w:vertAnchor",absoluteHorizontalPosition:"w:tblpX",relativeHorizontalPosition:"w:tblpXSpec",absoluteVerticalPosition:"w:tblpY",relativeVerticalPosition:"w:tblpYSpec",bottomFromText:"w:bottomFromText",topFromText:"w:topFromText",leftFromText:"w:leftFromText",rightFromText:"w:rightFromText"}}}t.TableFloatOptionsAttributes=h;class d extends c.XmlComponent{constructor(e){super("w:tblpPr"),this.root.push(new h(e)),e.overlap&&this.root.push(new u.TableOverlap(e.overlap))}}t.TableFloatProperties=d},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.OverlapType||(t.OverlapType={})).NEVER="never",r.OVERLAP="overlap";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class a extends o.XmlComponent{constructor(e){super("w:tblOverlap"),this.root.push(new s({val:e}))}}t.TableOverlap=a},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.TableLayoutType||(t.TableLayoutType={})).AUTOFIT="autofit",r.FIXED="fixed";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type"}}}class a extends o.XmlComponent{constructor(e){super("w:tblLayout"),this.root.push(new s({type:e}))}}t.TableLayout=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(113);class o extends i.IgnoreIfEmptyXmlComponent{constructor(){super("w:trPr")}setCantSplit(){return this.root.push(new a),this}setTableHeader(){return this.root.push(new c),this}setHeight(e,t){return this.root.push(new r.TableRowHeight(e,t)),this}}t.TableRowProperties=o;class s extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class a extends i.XmlComponent{constructor(){super("w:cantSplit"),this.root.push(new s({val:!0}))}}t.CantSplit=a;class l extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class c extends i.XmlComponent{constructor(){super("w:tblHeader"),this.root.push(new l({val:!0}))}}t.TableHeader=c},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.HeightRule||(t.HeightRule={})).AUTO="auto",r.ATLEAST="atLeast",r.EXACT="exact";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={height:"w:val",rule:"w:hRule"}}}t.TableRowHeightAttributes=s;class a extends o.XmlComponent{constructor(e,t){super("w:trHeight"),this.root.push(new s({height:e,rule:t}))}}t.TableRowHeight=a},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(292)),i(n(11)),i(n(115)),i(n(130))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(293)),i(n(129))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(44),r=n(0),o=n(294),s=n(296),a=n(117),l=n(118),c=n(120),u=n(121),h=n(123),d=n(124),p=n(300),f=n(125),m=n(126),g=n(45),v=n(303),y=n(127);class b extends r.XmlComponent{constructor(e={column:{}}){super("w:sectPr");let{width:t=11906,height:n=16838,top:r=i.convertInchesToTwip(1),right:a=i.convertInchesToTwip(1),bottom:l=i.convertInchesToTwip(1),left:c=i.convertInchesToTwip(1),header:u=708,footer:b=708,gutter:w=0,mirror:_=!1,column:E={},linePitch:x=360,orientation:k=g.PageOrientation.PORTRAIT,headers:T,footers:O,pageNumberFormatType:C,pageNumberStart:A,lineNumberCountBy:S,lineNumberStart:N,lineNumberRestart:I,lineNumberDistance:L,pageBorders:R,pageBorderTop:P,pageBorderRight:D,pageBorderBottom:j,pageBorderLeft:B,titlePage:F=!1,verticalAlign:q}=e;this.options=e,this.root.push(new m.PageSize(t,n,k)),this.root.push(new p.PageMargin(r,a,l,c,u,b,w,_)),this.root.push(new o.Columns(E.space?E.space:708,E.count?E.count:1)),this.root.push(new s.DocumentGrid(x)),this.addHeaders(T),this.addFooters(O),(A||C)&&this.root.push(new f.PageNumberType(A,C)),(S||N||I||L)&&this.root.push(new h.LineNumberType(S,N,I,L)),(R||P||D||j||B)&&this.root.push(new d.PageBorders({pageBorders:R,pageBorderTop:P,pageBorderRight:D,pageBorderBottom:j,pageBorderLeft:B})),F&&this.root.push(new v.TitlePage),q&&this.root.push(new y.SectionVerticalAlign(q))}addHeaders(e){e&&(e.default&&this.root.push(new u.HeaderReference({headerType:c.HeaderReferenceType.DEFAULT,headerId:e.default.Header.ReferenceId})),e.first&&this.root.push(new u.HeaderReference({headerType:c.HeaderReferenceType.FIRST,headerId:e.first.Header.ReferenceId})),e.even&&this.root.push(new u.HeaderReference({headerType:c.HeaderReferenceType.EVEN,headerId:e.even.Header.ReferenceId})))}addFooters(e){e&&(e.default&&this.root.push(new l.FooterReference({footerType:a.FooterReferenceType.DEFAULT,footerId:e.default.Footer.ReferenceId})),e.first&&this.root.push(new l.FooterReference({footerType:a.FooterReferenceType.FIRST,footerId:e.first.Footer.ReferenceId})),e.even&&this.root.push(new l.FooterReference({footerType:a.FooterReferenceType.EVEN,footerId:e.even.Footer.ReferenceId})))}get Options(){return this.options}}t.SectionProperties=b},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(118)),i(n(119))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(119);class o extends i.XmlComponent{constructor(e){super("w:footerReference"),this.root.push(new r.FooterReferenceAttributes({type:e.footerType||r.FooterReferenceType.DEFAULT,id:`rId${e.footerId}`}))}}t.FooterReference=o},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.FooterReferenceType||(t.FooterReferenceType={})).DEFAULT="default",r.FIRST="first",r.EVEN="even";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",id:"r:id"}}}t.FooterReferenceAttributes=s},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(121)),i(n(122))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(122);class o extends i.XmlComponent{constructor(e){super("w:headerReference"),this.root.push(new r.HeaderReferenceAttributes({type:e.headerType||r.HeaderReferenceType.DEFAULT,id:`rId${e.headerId}`}))}}t.HeaderReference=o},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.HeaderReferenceType||(t.HeaderReferenceType={})).DEFAULT="default",r.FIRST="first",r.EVEN="even";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",id:"r:id"}}}t.HeaderReferenceAttributes=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(298))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(299))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(302))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(45);class o extends i.XmlComponent{constructor(e,t,n){super("w:pgSz");let i=n===r.PageOrientation.LANDSCAPE;this.root.push(new r.PageSizeAttributes({width:i?t:e,height:i?e:t,orientation:n}))}}t.PageSize=o},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(305)),i(n(128))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={verticalAlign:"w:val"}}}t.SectionVerticalAlignAttributes=r},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(116)),i(n(117)),i(n(120)),i(n(306)),i(n(125)),i(n(124)),i(n(123)),i(n(127))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(307))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(313)),i(n(323))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Header=class e{constructor(e={children:[]}){this.options=e}};t.Footer=class e{constructor(e={children:[]}){this.options=e}}},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(330)),i(n(134)),i(n(24)),i(n(135))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(24),o=n(331);class s extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"}}}class a extends i.XmlComponent{constructor(e,t){for(let n of(super("w:abstractNum"),this.root.push(new s({abstractNumId:e,restartNumberingAfterBreak:0})),this.root.push(new o.MultiLevelType("hybridMultilevel")),this.id=e,t))this.root.push(new r.Level(n))}}t.AbstractNumbering=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(24);class o extends i.XmlComponent{constructor(e){super("w:abstractNumId"),this.root.push(new i.Attributes({val:e}))}}class s extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={numId:"w:numId"}}}class a extends i.XmlComponent{constructor(e,t,n){super("w:num"),this.reference=n,this.root.push(new s({numId:e})),this.root.push(new o(t)),this.id=e}overrideLevel(e,t){let n=new c(e,t);return this.root.push(n),n}}t.ConcreteNumbering=a;class l extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={ilvl:"w:ilvl"}}}class c extends i.XmlComponent{constructor(e,t){super("w:lvlOverride"),this.levelNum=e,this.root.push(new l({ilvl:e})),void 0!==t&&this.root.push(new h(t)),this.lvl=new r.LevelForOverride({level:this.levelNum}),this.root.push(this.lvl)}get Level(){return this.lvl}}t.LevelOverride=c;class u extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class h extends i.XmlComponent{constructor(e){super("w:startOverride"),this.root.push(new u({val:e}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={enabled:"w:val"}}}t.UpdateFieldsAttributes=r;class o extends i.XmlComponent{constructor(e=!0){super("w:updateFields"),this.root.push(new r({enabled:e}))}}t.UpdateFields=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={id:"w:id",author:"w:author",date:"w:date"}}}t.ChangeAttributes=r},function(e,t,n){(function(t,n,i){var r,o;o=function(){return(function e(t,n,i){function o(a,l){if(!n[a]){if(!t[a]){if(!l&&"function"==typeof r&&r)return r(a,!0);if(s)return s(a,!0);var c=Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){return o(t[a][1][e]||e)},u,u.exports,e,t,n,i)}return n[a].exports}for(var s="function"==typeof r&&r,a=0;a>2,a=(3&t)<<4|n>>4,l=1>6:64,c=2>4,n=(15&s)<<4|(a=o.indexOf(e.charAt(c++)))>>2,i=(3&a)<<6|(l=o.indexOf(e.charAt(c++))),d[u++]=t,64!==a&&(d[u++]=n),64!==l&&(d[u++]=i);return d}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var i=e("./external"),r=e("./stream/DataWorker"),o=e("./stream/DataLengthProbe"),s=e("./stream/Crc32Probe");function a(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}o=e("./stream/DataLengthProbe"),a.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new s).pipe(new o("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var i=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var i=e("./utils"),r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?0xedb88320^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,n,i){var o=0+n;e^=-1;for(var s=i;s>>8^r[255&(e^t[s])];return -1^e}(0|t,e,e.length,0):function(e,t,n,i){var o=0+n;e^=-1;for(var s=i;s>>8^r[255&(e^t.charCodeAt(s))];return -1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=i?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,s),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function i(e,t){var n,i="";for(n=0;n>>=8;return i}function r(e,t,n,r,s,u){var h,d,p,f,m,g=e.file,v=e.compression,y=u!==a.utf8encode,b=o.transformTo("string",u(g.name)),w=o.transformTo("string",a.utf8encode(g.name)),_=g.comment,E=o.transformTo("string",u(_)),x=o.transformTo("string",a.utf8encode(_)),k=w.length!==g.name.length,T=x.length!==_.length,O="",C="",A="",S=g.dir,N=g.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var L=0;t&&(L|=8),!y&&(k||T)&&(L|=2048);var R=0,P=0;S&&(R|=16),"UNIX"===s?(P=798,R|=(h=g.unixPermissions,d=S,p=h,h||(p=d?16893:33204),(65535&p)<<16)):(P=20,R|=63&(g.dosPermissions||0)),f=(N.getUTCHours()<<6|N.getUTCMinutes())<<5|N.getUTCSeconds()/2,m=(N.getUTCFullYear()-1980<<4|N.getUTCMonth()+1)<<5|N.getUTCDate(),k&&(C=i(1,1)+i(l(b),4)+w,O+="up"+i(C.length,2)+C),T&&(A=i(1,1)+i(l(E),4)+x,O+="uc"+i(A.length,2)+A);var D="";return D+="\n\0",D+=i(L,2),D+=v.magic,D+=i(f,2),D+=i(m,2),D+=i(I.crc32,4),D+=i(I.compressedSize,4),D+=i(I.uncompressedSize,4),D+=i(b.length,2),D+=i(O.length,2),{fileRecord:c.LOCAL_FILE_HEADER+D+b+O,dirRecord:c.CENTRAL_FILE_HEADER+i(P,2)+D+i(E.length,2)+"\0\0\0\0"+i(R,4)+i(r,4)+b+O+E}}var o=e("../utils"),s=e("../stream/GenericWorker"),a=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(e,t,n,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,s),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t,n=this.streamFiles&&!e.file.dir,o=r(e,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),n){;this.push({data:(t=e,c.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)),meta:{percent:100}})}else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e,t,n,r,s,a,l=this.bytesWritten,u=0;u=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{"../utils":32}],19:[function(e,t,n){"use strict";var i=e("./Uint8ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var i=e("./DataReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var i=e("./ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var i=e("../utils"),r=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new a(e):r.uint8array?new l(i.transformTo("uint8array",e)):new o(i.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){"use strict";var i=e("./GenericWorker"),r=e("../utils");function o(e){i.call(this,"ConvertWorker to "+e),this.destType=e}r.inherits(o,i),o.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var i=e("./GenericWorker"),r=e("../crc32");function o(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,i),o.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(o,r),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}r.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}i.inherits(o,r),o.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}},t.exports=i},{}],29:[function(e,n,i){"use strict";var r=e("../utils"),o=e("./ConvertWorker"),s=e("./GenericWorker"),a=e("../base64"),l=e("../support"),c=e("../external"),u=null;if(l.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function h(e,t,n){var i=t;switch(t){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=t,this._mimeType=n,r.checkSupport(i),this._worker=e.pipe(new o(i)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){var n,i;return n=this,i=e,new c.Promise(function(e,o){var s=[],l=n._internalType,c=n._outputType,u=n._mimeType;n.on("data",function(e,t){s.push(e),i&&i(t)}).on("error",function(e){s=[],o(e)}).on("end",function(){try{var n=function(e,t,n){switch(e){case"blob":return r.newBlob(r.transformTo("arraybuffer",t),n);case"base64":return a.encode(t);default:return r.transformTo(e,t)}}(c,function(e,n){var i,r=0,o=null,s=0;for(i=0;i>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return r.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,r,o,s=e.length,l=Array(2*s);for(t=n=0;t>10&1023,l[n++]=56320|1023&r)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),i.applyFromCharCode(l)}(e=i.transformTo(r.uint8array?"uint8array":"array",e))},i.inherits(c,s),c.prototype.processChunk=function(e){var t=i.transformTo(r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+a[e[n]]>t?n:t}(t),l=t;s!==t.length&&(r.uint8array?(l=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(l=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,i.inherits(u,s),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var i=e("./support"),r=e("./base64"),o=e("./nodejsUtils"),s=e("set-immediate-shim"),a=e("./external");function l(e){return e}function c(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n>10&1023,c[i++]=56320|1023&r)}return l(c,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,i){for(var r=65535&e|0,o=e>>>16&65535|0,s=0;0!==n;){for(n-=s=2e3>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var o=r+n;e^=-1;for(var s=r;s>>8^i[255&(e^t[s])];return -1^e}},{}],46:[function(e,t,n){"use strict";var i,r=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),l=e("./messages"),c=573,u=262;function h(e,t){return e.msg=l[t],t}function d(e){return(e<<1)-(4e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function m(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,f(e.strm)}function g(e,t){e.pending_buf[e.pending++]=t}function v(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function y(e,t){var n,i,r=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-u?e.strstart-(e.w_size-u):0,c=e.window,h=e.w_mask,d=e.prev,p=e.strstart+258,f=c[o+s-1],m=c[o+s];e.prev_length>=e.good_match&&(r>>=2),a>e.lookahead&&(a=e.lookahead);do if(c[(n=t)+s]===m&&c[n+s-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do;while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&ol&&0!=--r);return s<=e.lookahead?s:e.lookahead}function b(e){var t,n,i,o,l,c,h,d,p,f,m=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-u)){for(r.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;i=e.head[--t],e.head[t]=m<=i?i-m:0,--n;);for(t=n=m;i=e.prev[--t],e.prev[t]=m<=i?i-m:0,--n;);o+=m}if(0===e.strm.avail_in)break;if(c=e.strm,h=e.window,d=e.strstart+e.lookahead,f=void 0,(p=o)<(f=c.avail_in)&&(f=p),n=0===f?0:(c.avail_in-=f,r.arraySet(h,c.input,c.next_in,f,d),1===c.state.wrap?c.adler=s(c.adler,h,f,d):2===c.state.wrap&&(c.adler=a(c.adler,h,f,d)),c.next_in+=f,c.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3){if(i=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-3,i=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(b(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,m(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-u&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(m(e,!1),e.strm.avail_out),1)}),new E(4,4,8,4,w),new E(4,5,16,8,w),new E(4,6,32,32,w),new E(4,4,16,16,_),new E(8,16,32,32,_),new E(8,16,128,128,_),new E(8,32,128,256,_),new E(32,128,258,1024,_),new E(32,258,258,4096,_)],n.deflateInit=function(e,t){return O(e,t,8,15,8,0)},n.deflateInit2=O,n.deflateReset=T,n.deflateResetKeep=k,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},n.deflate=function(e,t){var n,r,s,l;if(!e||!e.state||5>8&255),g(r,r.gzhead.time>>16&255),g(r,r.gzhead.time>>24&255),g(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),g(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(g(r,255&r.gzhead.extra.length),g(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=a(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(g(r,0),g(r,0),g(r,0),g(r,0),g(r,0),g(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),g(r,3),r.status=113);else{var c=8+(r.w_bits-8<<4)<<8;c|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(c|=32),c+=31-c%31,r.status=113,v(r,c),0!==r.strstart&&(v(r,e.adler>>>16),v(r,65535&e.adler)),e.adler=1}}if(69===r.status){if(r.gzhead.extra){for(s=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending!==r.pending_buf_size));)g(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73}if(73===r.status){if(r.gzhead.name){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindexs&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.gzindex=0,r.status=91)}else r.status=91}if(91===r.status){if(r.gzhead.comment){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindexs&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.status=103)}else r.status=103}if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&f(e),r.pending+2<=r.pending_buf_size&&(g(r,255&e.adler),g(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),0!==r.pending){if(f(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&d(t)<=d(n)&&4!==t)return h(e,-5);if(666===r.status&&0!==e.avail_in)return h(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&666!==r.status){var u=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(b(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,i,r,s,a=e.window;;){if(e.lookahead<=258){if(b(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}(r,t):i[r.level].func(r,t);if(3!==u&&4!==u||(r.status=666),1===u||3===u)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===u&&(1===t?o._tr_align(r):5!==t&&(o._tr_stored_block(r,0,0,!1),3===t&&(p(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),f(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(g(r,255&e.adler),g(r,e.adler>>8&255),g(r,e.adler>>16&255),g(r,e.adler>>24&255),g(r,255&e.total_in),g(r,e.total_in>>8&255),g(r,e.total_in>>16&255),g(r,e.total_in>>24&255)):(v(r,e.adler>>>16),v(r,65535&e.adler)),f(e),0=n.w_size&&(0===a&&(p(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new r.Buf8(n.w_size),r.arraySet(h,t,d-n.w_size,n.w_size,0),t=h,d=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=d,e.next_in=0,e.input=t,b(n);n.lookahead>=3;){for(i=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h<>>=w=b>>>24,f-=w,0==(w=b>>>16&255))O[o++]=65535&b;else{if(!(16&w)){if(0==(64&w)){b=m[(65535&b)+(p&(1<>>=w,f-=w),f<15&&(p+=T[i++]<>>=w=b>>>24,f-=w,!(16&(w=b>>>16&255))){if(0==(64&w)){b=g[(65535&b)+(p&(1<>>=w,f-=w,(w=o-s)>3,p&=(1<<(f-=_<<3))-1,e.next_in=i,e.next_out=o,e.avail_in=i>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(852),t.distcode=t.distdyn=new i.Buf32(592),t.sane=1,t.back=-1,0):-2}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):-2}function d(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=s.wsize?(i.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r<(o=s.wsize-s.wnext)&&(o=r),i.arraySet(s.window,t,n-r,o,s.wnext),(r-=o)?(i.arraySet(s.window,t,n-r,r,0),s.wnext=r,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,n.check=o(n.check,B,2,0),w=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&b)){e.msg="unknown compression method",n.mode=30;break}if(w-=4,L=8+(15&(b>>>=4)),0===n.wbits)n.wbits=L;else if(L>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=o(n.check,B,2,0)),w=b=0,n.mode=3;case 3:for(;w<32;){if(0===p)break e;p--,b+=c[h++]<>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=o(n.check,B,4,0)),w=b=0,n.mode=4;case 4:for(;w<16;){if(0===p)break e;p--,b+=c[h++]<>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=o(n.check,B,2,0)),w=b=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===p)break e;p--,b+=c[h++]<>>8&255,n.check=o(n.check,B,2,0)),w=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(p<(x=n.length)&&(x=p),x&&(n.head&&(L=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),i.arraySet(n.head.extra,c,h,x,L)),512&n.flags&&(n.check=o(n.check,c,x,h)),p-=x,h+=x,n.length-=x),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break e;for(x=0;L=c[h+x++],n.head&&L&&n.length<65536&&(n.head.name+=String.fromCharCode(L)),L&&x>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===p)break e;p--,b+=c[h++]<>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===p)break e;p--,b+=c[h++]<>>=1)){case 0:n.mode=14;break;case 1:if(function(e){if(g){var t;for(f=new i.Buf32(512),m=new i.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,f,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,m,0,e.work,{bits:5}),g=!1}e.lencode=f,e.lenbits=9,e.distcode=m,e.distbits=5}(n),n.mode=20,6!==t)break;b>>>=2,w-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}b>>>=2,w-=2;break;case 14:for(b>>>=7&w,w-=7&w;w<32;){if(0===p)break e;p--,b+=c[h++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&b,w=b=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(x=n.length){if(p>>=5,w-=5,n.ndist=1+(31&b),b>>>=5,w-=5,n.ncode=4+(15&b),b>>>=4,w-=4,286>>=3,w-=3}for(;n.have<19;)n.lens[F[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},R=a(0,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,R){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,A=65535&j,!((O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[h++]<>>=O,w-=O,n.lens[n.have++]=A;else{if(16===A){for(D=O+2;w>>=O,w-=O,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}L=n.lens[n.have-1],x=3+(3&b),b>>>=2,w-=2}else if(17===A){for(D=O+3;w>>=O)),b>>>=3,w-=3}else{for(D=O+7;w>>=O)),b>>>=7,w-=7}if(n.have+x>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=L}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,P={bits:n.lenbits},R=a(1,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,R){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},R=a(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,R){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=p&&258<=y){e.next_out=d,e.avail_out=y,e.next_in=h,e.avail_in=p,n.hold=b,n.bits=w,s(e,E),d=e.next_out,u=e.output,y=e.avail_out,h=e.next_in,c=e.input,p=e.avail_in,b=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;C=(j=n.lencode[b&(1<>>16&255,A=65535&j,!((O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[h++]<>S)])>>>16&255,A=65535&j,!(S+(O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[h++]<>>=S,w-=S,n.back+=S}if(b>>>=O,w-=O,n.back+=O,n.length=A,0===C){n.mode=26;break}if(32&C){n.back=-1,n.mode=12;break}if(64&C){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&C,n.mode=22;case 22:if(n.extra){for(D=n.extra;w>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;C=(j=n.distcode[b&(1<>>16&255,A=65535&j,!((O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[h++]<>S)])>>>16&255,A=65535&j,!(S+(O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[h++]<>>=S,w-=S,n.back+=S}if(b>>>=O,w-=O,n.back+=O,64&C){e.msg="invalid distance code",n.mode=30;break}n.offset=A,n.extra=15&C,n.mode=24;case 24:if(n.extra){for(D=n.extra;w>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break e;if(x=E-y,n.offset>x){if((x=n.offset-x)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}k=x>n.wnext?(x-=n.wnext,n.wsize-x):n.wnext-x,x>n.length&&(x=n.length),T=n.window}else T=u,k=d-n.offset,x=n.length;for(yy?(w=B[F+h[k]],R[P+h[k]]):(w=96,0),p=1<>S)+(f-=p)]=b<<24|w<<16|_|0,0!==f;);for(p=1<>=1;if(0!==p?(L&=p-1,L+=p):L=0,k++,0==--D[x]){if(x===O)break;x=t[n+h[k]]}if(C>>7)]}function x(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function C(e,t,n){var i,r,o=Array(16),s=0;for(i=1;i<=15;i++)o[i]=s=s+n[i-1]<<1;for(r=0;r<=t;r++){var a=e[2*r+1];0!==a&&(e[2*r]=O(o[a]++,a))}}function A(e){var t;for(t=0;t>1;1<=n;n--)I(e,o,n);for(r=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],I(e,o,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,o[2*r]=o[2*n]+o[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,o[2*n+1]=o[2*i+1]=r,e.heap[1]=r++,I(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,o,a,l,c=t.dyn_tree,u=t.max_code,h=t.stat_desc.static_tree,d=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n>=7;i<30;i++)for(b[i]=r<<7,e=0;e<1<>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),R(e,e.l_desc),R(e,e.d_desc),s=function(e){var t;for(P(e,e.dyn_ltree,e.l_desc.max_code),P(e,e.dyn_dtree,e.d_desc.max_code),R(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*u[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),r=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=r&&(r=o)):r=o=n+5,n+4<=r&&-1!==t?B(e,t,n,i):4===e.strategy||o===r?(k(e,2+(i?1:0),3),L(e,h,d)):(k(e,4+(i?1:0),3),function(e,t,n,i){var r;for(k(e,t-257,5),k(e,n-1,5),k(e,i-4,4),r=0;r>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(f[n]+256+1)]++,e.dyn_dtree[2*E(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){var t;k(e,2,3),T(e,256,h),16===(t=e).bi_valid?(x(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){"use strict";t.exports="function"==typeof i?i:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)},e.exports=o()}).call(t,n(6).Buffer,n(4),n(60).setImmediate)},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);t.Document=r.File,i(n(12)),i(n(352)),i(n(360)),i(n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(25);t.EMPTY_OBJECT=Object.seal({});class r extends i.BaseXmlComponent{constructor(e){super(e),this.root=[]}prepForXml(e){let n,r=this.root.filter(e=>e instanceof i.BaseXmlComponent?!e.IsDeleted:void 0!==e).map(t=>t instanceof i.BaseXmlComponent?t.prepForXml(e):t).filter(e=>void 0!==e);return{[this.rootKey]:r.length?1===r.length&&"object"==typeof(n=r[0])&&n._attr?r[0]:r:t.EMPTY_OBJECT}}addChildElement(e){return this.root.push(e),this}delete(){this.deleted=!0}}t.XmlComponent=r;t.IgnoreIfEmptyXmlComponent=class e extends r{prepForXml(){let e=super.prepForXml();if(e&&("object"!=typeof e[this.rootKey]||Object.keys(e[this.rootKey]).length))return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(53);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"}}}t.Attributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(26),r=n(0);function o(e){switch(e.type){case void 0:case"element":let t=new a(e.name,e.attributes);for(let n of e.elements||[]){let e=o(n);void 0!==e&&t.push(e)}return t;case"text":return e.text;default:return}}t.convertToXmlComponent=o;class s extends r.XmlAttributeComponent{}class a extends r.XmlComponent{static fromXmlString(e){return o(i.xml2js(e,{compact:!1}))}constructor(e,t){super(e),t&&this.root.push(new s(t))}push(e){this.root.push(e)}}t.ImportedXmlComponent=a;class l extends r.XmlComponent{constructor(e){super(""),this._attr=e}prepForXml(){return{_attr:this._attr}}}t.ImportedRootElementAttributes=l},function(e,t,n){(function(e){!function(t){t.parser=function(e,t){return new l(e,t)},t.SAXParser=l,t.SAXStream=u,t.createStream=function(e,t){return new u(e,t)},t.MAX_BUFFER_LENGTH=65536;var i,r,o,s,a=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function l(e,n){if(!(this instanceof l))return new l(e,n);(function(e){for(var t=0,n=a.length;t"===i?(k(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=_.TEXT):(b(i)&&(this.state=_.SGML_DECL_QUOTED),this.sgmlDecl+=i);continue;case _.SGML_DECL_QUOTED:i===this.q&&(this.state=_.SGML_DECL,this.q=""),this.sgmlDecl+=i;continue;case _.DOCTYPE:">"===i?(this.state=_.TEXT,k(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=i,"["===i?this.state=_.DOCTYPE_DTD:b(i)&&(this.state=_.DOCTYPE_QUOTED,this.q=i));continue;case _.DOCTYPE_QUOTED:this.doctype+=i,i===this.q&&(this.q="",this.state=_.DOCTYPE);continue;case _.DOCTYPE_DTD:this.doctype+=i,"]"===i?this.state=_.DOCTYPE:b(i)&&(this.state=_.DOCTYPE_DTD_QUOTED,this.q=i);continue;case _.DOCTYPE_DTD_QUOTED:this.doctype+=i,i===this.q&&(this.state=_.DOCTYPE_DTD,this.q="");continue;case _.COMMENT:"-"===i?this.state=_.COMMENT_ENDING:this.comment+=i;continue;case _.COMMENT_ENDING:"-"===i?(this.state=_.COMMENT_ENDED,this.comment=O(this.opt,this.comment),this.comment&&k(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+i,this.state=_.COMMENT);continue;case _.COMMENT_ENDED:">"!==i?(S(this,"Malformed comment"),this.comment+="--"+i,this.state=_.COMMENT):this.state=_.TEXT;continue;case _.CDATA:"]"===i?this.state=_.CDATA_ENDING:this.cdata+=i;continue;case _.CDATA_ENDING:"]"===i?this.state=_.CDATA_ENDING_2:(this.cdata+="]"+i,this.state=_.CDATA);continue;case _.CDATA_ENDING_2:">"===i?(this.cdata&&k(this,"oncdata",this.cdata),k(this,"onclosecdata"),this.cdata="",this.state=_.TEXT):"]"===i?this.cdata+="]":(this.cdata+="]]"+i,this.state=_.CDATA);continue;case _.PROC_INST:"?"===i?this.state=_.PROC_INST_ENDING:y(i)?this.state=_.PROC_INST_BODY:this.procInstName+=i;continue;case _.PROC_INST_BODY:!this.procInstBody&&y(i)||("?"===i?this.state=_.PROC_INST_ENDING:this.procInstBody+=i);continue;case _.PROC_INST_ENDING:">"===i?(k(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=_.TEXT):(this.procInstBody+="?"+i,this.state=_.PROC_INST_BODY);continue;case _.OPEN_TAG:w(m,i)?this.tagName+=i:(!function(e){!e.strict&&(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,k(e,"onopentagstart",n)}(this),">"===i?L(this):"/"===i?this.state=_.OPEN_TAG_SLASH:(!y(i)&&S(this,"Invalid character in tag name"),this.state=_.ATTRIB));continue;case _.OPEN_TAG_SLASH:">"===i?(L(this,!0),R(this)):(S(this,"Forward-slash in opening tag not followed by >"),this.state=_.ATTRIB);continue;case _.ATTRIB:y(i)||(">"===i?L(this):"/"===i?this.state=_.OPEN_TAG_SLASH:w(f,i)?(this.attribName=i,this.attribValue="",this.state=_.ATTRIB_NAME):S(this,"Invalid attribute name"));continue;case _.ATTRIB_NAME:"="===i?this.state=_.ATTRIB_VALUE:">"===i?(S(this,"Attribute without value"),this.attribValue=this.attribName,I(this),L(this)):y(i)?this.state=_.ATTRIB_NAME_SAW_WHITE:w(m,i)?this.attribName+=i:S(this,"Invalid attribute name");continue;case _.ATTRIB_NAME_SAW_WHITE:"="===i?this.state=_.ATTRIB_VALUE:y(i)||(S(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",k(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===i?L(this):w(f,i)?(this.attribName=i,this.state=_.ATTRIB_NAME):(S(this,"Invalid attribute name"),this.state=_.ATTRIB));continue;case _.ATTRIB_VALUE:y(i)||(b(i)?(this.q=i,this.state=_.ATTRIB_VALUE_QUOTED):(S(this,"Unquoted attribute value"),this.state=_.ATTRIB_VALUE_UNQUOTED,this.attribValue=i));continue;case _.ATTRIB_VALUE_QUOTED:if(i!==this.q){"&"===i?this.state=_.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=i;continue}I(this),this.q="",this.state=_.ATTRIB_VALUE_CLOSED;continue;case _.ATTRIB_VALUE_CLOSED:y(i)?this.state=_.ATTRIB:">"===i?L(this):"/"===i?this.state=_.OPEN_TAG_SLASH:w(f,i)?(S(this,"No whitespace between attributes"),this.attribName=i,this.attribValue="",this.state=_.ATTRIB_NAME):S(this,"Invalid attribute name");continue;case _.ATTRIB_VALUE_UNQUOTED:;if(!(">"===(r=i)||y(r))){"&"===i?this.state=_.ATTRIB_VALUE_ENTITY_U:this.attribValue+=i;continue}I(this),">"===i?L(this):this.state=_.ATTRIB;continue;case _.CLOSE_TAG:if(this.tagName)">"===i?R(this):w(m,i)?this.tagName+=i:this.script?(this.script+=""===i?R(this):S(this,"Invalid characters in closing tag");continue;case _.TEXT_ENTITY:case _.ATTRIB_VALUE_ENTITY_Q:case _.ATTRIB_VALUE_ENTITY_U:switch(this.state){case _.TEXT_ENTITY:o=_.TEXT,s="textNode";break;case _.ATTRIB_VALUE_ENTITY_Q:o=_.ATTRIB_VALUE_QUOTED,s="attribValue";break;case _.ATTRIB_VALUE_ENTITY_U:o=_.ATTRIB_VALUE_UNQUOTED,s="attribValue"}";"===i?(this[s]+=function(e){var t,n=e.entity,i=n.toLowerCase(),r="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[i]?e.ENTITIES[i]:("#"===(n=i).charAt(0)&&(r="x"===n.charAt(1)?(t=parseInt(n=n.slice(2),16)).toString(16):(t=parseInt(n=n.slice(1),10)).toString(10)),n=n.replace(/^0+/,""),isNaN(t)||r.toLowerCase()!==n)?(S(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t)}(this),this.entity="",this.state=o):w(this.entity.length?v:g,i)?this.entity+=i:(S(this,"Invalid character in entity name"),this[s]+="&"+this.entity+i,this.entity="",this.state=o);continue;default:throw Error(this,"Unknown state: "+this.state)}}return this.position>=this.bufferCheckPosition&&!function(e){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),i=0,r=0,o=a.length;rn)switch(a[r]){case"textNode":T(e);break;case"cdata":k(e,"oncdata",e.cdata),e.cdata="";break;case"script":k(e,"onscript",e.script),e.script="";break;default:C(e,"Max buffer length exceeded: "+a[r])}i=Math.max(i,s)}var l=t.MAX_BUFFER_LENGTH-i;e.bufferCheckPosition=l+e.position}(this),this},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;e=this,T(e),""!==e.cdata&&(k(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(k(e,"onscript",e.script),e.script="")}};try{s=n(56).Stream}catch(e){s=function(){}}var c=t.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});function u(e,t){if(!(this instanceof u))return new u(e,t);s.apply(this),this._parser=new l(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,c.forEach(function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})})}u.prototype=Object.create(s.prototype,{constructor:{value:u}}),u.prototype.write=function(t){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var i=n(30).StringDecoder;this._decoder=new i("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},u.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},u.prototype.on=function(e,t){var n=this;return!n._parser["on"+e]&&-1!==c.indexOf(e)&&(n._parser["on"+e]=function(){var t=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),s.prototype.on.call(n,e,t)};var h="http://www.w3.org/XML/1998/namespace",d="http://www.w3.org/2000/xmlns/",p={xml:h,xmlns:d},f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,g=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,v=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function y(e){return" "===e||"\n"===e||"\r"===e||" "===e}function b(e){return'"'===e||"'"===e}function w(e,t){return e.test(t)}var _=0;for(var E in t.STATE={BEGIN:_++,BEGIN_WHITESPACE:_++,TEXT:_++,TEXT_ENTITY:_++,OPEN_WAKA:_++,SGML_DECL:_++,SGML_DECL_QUOTED:_++,DOCTYPE:_++,DOCTYPE_QUOTED:_++,DOCTYPE_DTD:_++,DOCTYPE_DTD_QUOTED:_++,COMMENT_STARTING:_++,COMMENT:_++,COMMENT_ENDING:_++,COMMENT_ENDED:_++,CDATA:_++,CDATA_ENDING:_++,CDATA_ENDING_2:_++,PROC_INST:_++,PROC_INST_BODY:_++,PROC_INST_ENDING:_++,OPEN_TAG:_++,OPEN_TAG_SLASH:_++,ATTRIB:_++,ATTRIB_NAME:_++,ATTRIB_NAME_SAW_WHITE:_++,ATTRIB_VALUE:_++,ATTRIB_VALUE_QUOTED:_++,ATTRIB_VALUE_CLOSED:_++,ATTRIB_VALUE_UNQUOTED:_++,ATTRIB_VALUE_ENTITY_Q:_++,ATTRIB_VALUE_ENTITY_U:_++,CLOSE_TAG:_++,CLOSE_TAG_SAW_WHITE:_++,SCRIPT:_++,SCRIPT_ENDING:_++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(e){var n=t.ENTITIES[e],i="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=i}),t.STATE)t.STATE[t.STATE[E]]=E;function x(e,t,n){e[t]&&e[t](n)}function k(e,t,n){e.textNode&&T(e),x(e,t,n)}function T(e){e.textNode=O(e.opt,e.textNode),e.textNode&&x(e,"ontext",e.textNode),e.textNode=""}function O(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function C(e,t){return T(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=Error(t),e.error=t,x(e,"onerror",t),e}function A(e){return e.sawRoot&&!e.closedRoot&&S(e,"Unclosed root tag"),e.state!==_.BEGIN&&e.state!==_.BEGIN_WHITESPACE&&e.state!==_.TEXT&&C(e,"Unexpected end"),T(e),e.c="",e.closed=!0,x(e,"onend"),l.call(e,e.strict,e.opt),e}function S(e,t){if("object"!=typeof e||!(e instanceof l))throw Error("bad call to strictFail");e.strict&&C(e,t)}_=t.STATE;function N(e,t){var n=0>e.indexOf(":")?["",e]:e.split(":"),i=n[0],r=n[1];return t&&"xmlns"===e&&(i="xmlns",r=""),{prefix:i,local:r}}function I(e){if(!e.strict&&(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue="";return}if(e.opt.xmlns){var t=N(e.attribName,!0),n=t.prefix,i=t.local;if("xmlns"===n){if("xml"===i&&e.attribValue!==h)S(e,"xml: prefix must be bound to "+h+"\nActual: "+e.attribValue);else if("xmlns"===i&&e.attribValue!==d)S(e,"xmlns: prefix must be bound to "+d+"\nActual: "+e.attribValue);else{var r=e.tag,o=e.tags[e.tags.length-1]||e;r.ns===o.ns&&(r.ns=Object.create(o.ns)),r.ns[i]=e.attribValue}}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,k(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function L(e,t){if(e.opt.xmlns){var n=e.tag,i=N(e.tagName);n.prefix=i.prefix,n.local=i.local,n.uri=n.ns[i.prefix]||"",n.prefix&&!n.uri&&(S(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=i.prefix);var r=e.tags[e.tags.length-1]||e;n.ns&&r.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){k(e,"onopennamespace",{prefix:t,uri:n.ns[t]})});for(var o=0,s=e.attribList.length;o",e.tagName="",e.state=_.SCRIPT;return}k(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;!e.strict&&(n=n[e.looseCase]());for(var i=n;t--;)if(e.tags[t].name!==i)S(e,"Unexpected close tag");else break;if(t<0){S(e,"Unmatched closing tag: "+e.tagName),e.textNode+="",e.state=_.TEXT;return}e.tagName=n;for(var r=e.tags.length;r-- >t;){var o=e.tag=e.tags.pop();e.tagName=e.tag.name,k(e,"onclosetag",e.tagName);var s={};for(var a in o.ns)s[a]=o.ns[a];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&o.ns!==l.ns&&Object.keys(o.ns).forEach(function(t){var n=o.ns[t];k(e,"onclosenamespace",{prefix:t,uri:n})})}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=_.TEXT}function P(e,t){"<"===t?(e.state=_.OPEN_WAKA,e.startTagPosition=e.position):!y(t)&&(S(e,"Non-whitespace before first tag."),e.textNode=t,e.state=_.TEXT)}function D(e,t){var n="";return t1114111||r(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?n.push(l):(l-=65536,e=(l>>10)+55296,t=l%1024+56320,n.push(e,t)),(o+1===s||n.length>16384)&&(a+=i.apply(null,n),n.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:o,configurable:!0,writable:!0}):String.fromCodePoint=o}}(t)}).call(t,n(6).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],i=t[1];return(n+i)*3/4-i},t.toByteArray=function(e){var t,n,i,s=c(e),a=s[0],l=s[1];for(var u=new o((t=0,(a+(n=l))*3/4-n)),h=0,d=l>0?a-4:a,p=0;p>16&255,u[h++]=i>>8&255,u[h++]=255&i;return 2===l&&(i=r[e.charCodeAt(p)]<<2|r[e.charCodeAt(p+1)]>>4,u[h++]=255&i),1===l&&(i=r[e.charCodeAt(p)]<<10|r[e.charCodeAt(p+1)]<<4|r[e.charCodeAt(p+2)]>>2,u[h++]=i>>8&255,u[h++]=255&i),u},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],s=0,a=n-r;s>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r])}return s.join("")}(e,s,s+16383>a?a:s+16383));return 1===r?(t=e[n-1],o.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"=")),o.join("")};for(var i=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var i=n===t?0:4-n%4;return[n,i]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,i,r){var o,s,a=8*r-i-1,l=(1<>1,u=-7,h=n?r-1:0,d=n?-1:1,p=e[t+h];for(h+=d,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+e[t+h],h+=d,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=i;u>0;s=256*s+e[t+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),o-=c}return(p?-1:1)*s*Math.pow(2,o-i)},t.write=function(e,t,n,i,r,o){var s,a,l,c=8*o-r-1,u=(1<>1,d=23===r?5960464477539062e-23:0,p=i?0:o-1,f=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+h>=1?t+=d/l:t+=d*Math.pow(2,1-h),t*l>=2&&(s++,l/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(t*l-1)*Math.pow(2,r),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,r),s=0));r>=8;e[n+p]=255&a,p+=f,a/=256,r-=8);for(s=s<0;e[n+p]=255&s,p+=f,s/=256,c-=8);e[n+p-f]|=128*m}},function(e,t){},function(e,t,n){"use strict";var i=n(16).Buffer,r=n(148);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var t=i.allocUnsafe(e>>>0),n=this.head,r=0;n;)!function(e,t,n){e.copy(t,n)}(n.data,t,r),r+=n.data.length,n=n.next;return t},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var i,r,o,s,a,l=1,c={},u=!1,h=e.document;var d=Object.getPrototypeOf&&Object.getPrototypeOf(e);if(d=d&&d.setTimeout?d:e,"[object process]"===({}).toString.call(e.process))a=function(e){t.nextTick(function(){f(e)})};else if(function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()){;i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&f(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),a=function(t){e.postMessage(i+t,"*")}}else if(e.MessageChannel){;(o=new MessageChannel).port1.onmessage=function(e){f(e.data)},a=function(e){o.port2.postMessage(e)}}else if(h&&"onreadystatechange"in h.createElement("script")){;s=h.documentElement,a=function(e){var t=h.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,s.removeChild(t),t=null},s.appendChild(t)}}else a=function(e){setTimeout(f,0,e)};d.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),n=0;n0&&(t+=o(i)),t+=o(n)}},function(e,t,n){"use strict";var i=n(20),r=n(224),o=n(225);e.exports=function(e){for(var t,n=0,s="";!t;)s+=o(r,i.get(),1),t=ee.CellCount))).fill(100),margins:{marginUnitType:i,top:a,bottom:l,right:c,left:u}={marginUnitType:o.WidthType.AUTO,top:0,bottom:0,right:0,left:0},float:h,layout:d,borders:p,alignment:f}){for(let o of(super("w:tbl"),this.properties=new s.TableProperties,this.root.push(this.properties),p?this.properties.setBorder(p):this.properties.setBorder({}),t?this.properties.setWidth(t.size,t.type):this.properties.setWidth(100),this.properties.CellMargin.addBottomMargin(l||0,i),this.properties.CellMargin.addTopMargin(a||0,i),this.properties.CellMargin.addLeftMargin(u||0,i),this.properties.CellMargin.addRightMargin(c||0,i),this.root.push(new r.TableGrid(n)),e))this.root.push(o);e.forEach((t,n)=>{if(n===e.length-1)return;let i=0;t.cells.forEach(t=>{if(t.options.rowSpan&&t.options.rowSpan>1){let r=new o.TableCell({rowSpan:t.options.rowSpan-1,columnSpan:t.options.columnSpan,borders:t.options.borders,children:[],verticalMerge:o.VerticalMergeType.CONTINUE});e[n+1].addCellToColumnIndex(r,i)}i+=t.options.columnSpan||1})}),h&&this.properties.setTableFloatProperties(h),d&&this.properties.setLayout(d),f&&this.properties.setAlignment(f)}}t.Table=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("w:tblGrid"),e))this.root.push(new s(t))}}t.TableGrid=r;class o extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={w:"w:w"}}}class s extends i.XmlComponent{constructor(e){super("w:gridCol"),void 0!==e&&this.root.push(new o({w:e}))}}t.GridCol=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(0),o=n(38),s=n(266);class a extends r.XmlComponent{constructor(e){for(let t of(super("w:tc"),this.options=e,this.properties=new s.TableCellProperties,this.root.push(this.properties),e.children))this.root.push(t);e.verticalAlign&&this.properties.setVerticalAlign(e.verticalAlign),e.textDirection&&this.properties.setTextDirection(e.textDirection),e.verticalMerge?this.properties.addVerticalMerge(e.verticalMerge):e.rowSpan&&e.rowSpan>1&&this.properties.addVerticalMerge(o.VerticalMergeType.RESTART),e.margins&&this.properties.addMargins(e.margins),e.shading&&this.properties.setShading(e.shading),e.columnSpan&&this.properties.addGridSpan(e.columnSpan),e.width&&this.properties.setWidth(e.width.size,e.width.type),e.borders&&(e.borders.top&&this.properties.Borders.addTopBorder(e.borders.top.style,e.borders.top.size,e.borders.top.color),e.borders.bottom&&this.properties.Borders.addBottomBorder(e.borders.bottom.style,e.borders.bottom.size,e.borders.bottom.color),e.borders.left&&this.properties.Borders.addLeftBorder(e.borders.left.style,e.borders.left.size,e.borders.left.color),e.borders.right&&this.properties.Borders.addRightBorder(e.borders.right.style,e.borders.right.size,e.borders.right.color))}prepForXml(e){return!(this.root[this.root.length-1]instanceof i.Paragraph)&&this.root.push(new i.Paragraph({})),super.prepForXml(e)}}t.TableCell=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(39),o=n(268),s=n(38);class a extends i.IgnoreIfEmptyXmlComponent{constructor(){super("w:tcPr"),this.cellBorder=new s.TableCellBorders,this.root.push(this.cellBorder)}get Borders(){return this.cellBorder}addGridSpan(e){return this.root.push(new s.GridSpan(e)),this}addVerticalMerge(e){return this.root.push(new s.VerticalMerge(e)),this}setVerticalAlign(e){return this.root.push(new s.VAlign(e)),this}setWidth(e,t=s.WidthType.AUTO){return this.root.push(new s.TableCellWidth(e,t)),this}setShading(e){return this.root.push(new r.TableShading(e)),this}addMargins(e){return this.root.push(new o.TableCellMargin(e)),this}setTextDirection(e){return this.root.push(new s.TDirection(e)),this}}t.TableCellProperties=a},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={fill:"w:fill",color:"w:color",val:"w:val"}}}class a extends o.XmlComponent{constructor(e){super("w:shd"),this.root.push(new s(e))}}t.TableShading=a,(r=t.ShadingType||(t.ShadingType={})).CLEAR="clear",r.DIAGONAL_CROSS="diagCross",r.DIAGONAL_STRIPE="diagStripe",r.HORIZONTAL_CROSS="horzCross",r.HORIZONTAL_STRIPE="horzStripe",r.NIL="nil",r.PERCENT_5="pct5",r.PERCENT_10="pct10",r.PERCENT_12="pct12",r.PERCENT_15="pct15",r.PERCENT_20="pct20",r.PERCENT_25="pct25",r.PERCENT_30="pct30",r.PERCENT_35="pct35",r.PERCENT_37="pct37",r.PERCENT_40="pct40",r.PERCENT_45="pct45",r.PERCENT_50="pct50",r.PERCENT_55="pct55",r.PERCENT_60="pct60",r.PERCENT_62="pct62",r.PERCENT_65="pct65",r.PERCENT_70="pct70",r.PERCENT_75="pct75",r.PERCENT_80="pct80",r.PERCENT_85="pct85",r.PERCENT_87="pct87",r.PERCENT_90="pct90",r.PERCENT_95="pct95",r.REVERSE_DIAGONAL_STRIPE="reverseDiagStripe",r.SOLID="solid",r.THIN_DIAGONAL_CROSS="thinDiagCross",r.THIN_DIAGONAL_STRIPE="thinDiagStripe",r.THIN_HORIZONTAL_CROSS="thinHorzCross",r.THIN_REVERSE_DIAGONAL_STRIPE="thinReverseDiagStripe",r.THIN_VERTICAL_STRIPE="thinVertStripe",r.VERTICAL_STRIPE="vertStripe"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(269);class o extends i.XmlComponent{constructor({top:e=0,left:t=0,right:n=0,bottom:i=0}){super("w:tcMar"),this.root.push(new r.TopCellMargin(e)),this.root.push(new r.BottomCellMargin(i)),this.root.push(new r.RightCellMargin(n)),this.root.push(new r.LeftCellMargin(t))}}t.TableCellMargin=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={width:"w:w",type:"w:type"}}}class o extends i.XmlComponent{constructor(e){super("w:top"),this.root.push(new r({width:e,type:"dxa"}))}}t.TopCellMargin=o;class s extends i.XmlComponent{constructor(e){super("w:bottom"),this.root.push(new r({width:e,type:"dxa"}))}}t.BottomCellMargin=s;class a extends i.XmlComponent{constructor(e){super("w:start"),this.root.push(new r({width:e,type:"dxa"}))}}t.LeftCellMargin=a;class l extends i.XmlComponent{constructor(e){super("w:end"),this.root.push(new r({width:e,type:"dxa"}))}}t.RightCellMargin=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(1),o=n(39),s=n(10),a=n(104),l=n(276),c=n(109),u=n(111),h=n(277);class d extends i.IgnoreIfEmptyXmlComponent{constructor(){super("w:tblPr"),this.cellMargin=new l.TableCellMargin,this.root.push(this.cellMargin)}setWidth(e,t=s.WidthType.AUTO){return this.root.push(new h.PreferredTableWidth(t,e)),this}setLayout(e){this.root.push(new u.TableLayout(e))}setBorder(e){return this.root.push(new a.TableBorders(e)),this}get CellMargin(){return this.cellMargin}setTableFloatProperties(e){return this.root.push(new c.TableFloatProperties(e)),this}setShading(e){return this.root.push(new o.TableShading(e)),this}setAlignment(e){this.root.push(new r.Alignment(e))}}t.TableProperties=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(105);!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(273));class o extends i.XmlComponent{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(let t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(let t of e.paragraphStyles)this.root.push(new r.StyleForParagraph(t));if(e.characterStyles)for(let t of e.characterStyles)this.root.push(new r.StyleForCharacter(t))}}t.Styles=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(19),r=n(43),o=n(42);class s extends o.StyleForParagraph{constructor(e){super(Object.assign({},e,{basedOn:"Normal",next:"Normal",quickFormat:!0}))}}t.HeadingStyle=s;t.TitleStyle=class e extends s{constructor(e){super(Object.assign({},e,{id:"Title",name:"Title"}))}};t.Heading1Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading1",name:"Heading 1"}))}};t.Heading2Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading2",name:"Heading 2"}))}};t.Heading3Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading3",name:"Heading 3"}))}};t.Heading4Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading4",name:"Heading 4"}))}};t.Heading5Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading5",name:"Heading 5"}))}};t.Heading6Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading6",name:"Heading 6"}))}};t.StrongStyle=class e extends s{constructor(e){super(Object.assign({},e,{id:"Strong",name:"Strong"}))}};class a extends o.StyleForParagraph{constructor(e){super(Object.assign({},e,{id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0}))}}t.ListParagraph=a;class l extends o.StyleForParagraph{constructor(e){super(Object.assign({},e,{id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:"auto"}},run:{size:20}}))}}t.FootnoteText=l;class c extends r.StyleForCharacter{constructor(e){super(Object.assign({},e,{id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}}))}}t.FootnoteReferenceStyle=c;class u extends r.StyleForCharacter{constructor(e){super(Object.assign({},e,{id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}}))}}t.FootnoteTextChar=u;class h extends r.StyleForCharacter{constructor(e){super(Object.assign({},e,{id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:i.UnderlineType.SINGLE}}}))}}t.HyperlinkStyle=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(274))},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.BorderStyle||(t.BorderStyle={})).SINGLE="single",r.DASH_DOT_STROKED="dashDotStroked",r.DASHED="dashed",r.DASH_SMALL_GAP="dashSmallGap",r.DOT_DASH="dotDash",r.DOT_DOT_DASH="dotDotDash",r.DOTTED="dotted",r.DOUBLE="double",r.DOUBLE_WAVE="doubleWave",r.INSET="inset",r.NIL="nil",r.NONE="none",r.OUTSET="outset",r.THICK="thick",r.THICK_THIN_LARGE_GAP="thickThinLargeGap",r.THICK_THIN_MEDIUM_GAP="thickThinMediumGap",r.THICK_THIN_SMALL_GAP="thickThinSmallGap",r.THIN_THICK_LARGE_GAP="thinThickLargeGap",r.THIN_THICK_MEDIUM_GAP="thinThickMediumGap",r.THIN_THICK_SMALL_GAP="thinThickSmallGap",r.THIN_THICK_THIN_LARGE_GAP="thinThickThinLargeGap",r.THIN_THICK_THIN_MEDIUM_GAP="thinThickThinMediumGap",r.THIN_THICK_THIN_SMALL_GAP="thinThickThinSmallGap",r.THREE_D_EMBOSS="threeDEmboss",r.THREE_D_ENGRAVE="threeDEngrave",r.TRIPLE="triple",r.WAVE="wave"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(107),o=n(108);class s extends i.XmlComponent{constructor(e){super("w:docDefaults"),this.runPropertiesDefaults=new o.RunPropertiesDefaults(e&&e.run),this.paragraphPropertiesDefaults=new r.ParagraphPropertiesDefaults(e&&e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}t.DocumentDefaults=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(10);class o extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={value:"w:w",type:"w:type"}}}class s extends i.XmlComponent{setProperties(e,t=r.WidthType.DXA){this.root.push(new o({type:t,value:e}))}}class a extends i.IgnoreIfEmptyXmlComponent{constructor(){super("w:tblCellMar")}addTopMargin(e,t=r.WidthType.DXA){let n=new s("w:top");n.setProperties(e,t),this.root.push(n)}addLeftMargin(e,t=r.WidthType.DXA){let n=new s("w:left");n.setProperties(e,t),this.root.push(n)}addBottomMargin(e,t=r.WidthType.DXA){let n=new s("w:bottom");n.setProperties(e,t),this.root.push(n)}addRightMargin(e,t=r.WidthType.DXA){let n=new s("w:right");n.setProperties(e,t),this.root.push(n)}}t.TableCellMargin=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(10);class o extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",w:"w:w"}}}class s extends i.XmlComponent{constructor(e,t){super("w:tblW");let n=e===r.WidthType.PERCENTAGE?`${t}%`:t;this.root.push(new o({type:e,w:n}))}}t.PreferredTableWidth=s},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(279)),i(n(112)),i(n(113))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(10),o=n(112);class s extends i.XmlComponent{constructor(e){for(let t of(super("w:tr"),this.options=e,this.properties=new o.TableRowProperties,this.root.push(this.properties),e.children))this.root.push(t);e.cantSplit&&this.properties.setCantSplit(),e.tableHeader&&this.properties.setTableHeader(),e.height&&this.properties.setHeight(e.height.height,e.height.rule)}get CellCount(){return this.options.children.length}get Children(){return this.options.children}get cells(){return this.root.filter(e=>e instanceof r.TableCell)}addCellToIndex(e,t){this.root.splice(t+1,0,e)}addCellToColumnIndex(e,t){let n=this.columnIndexToRootIndex(t,!0);this.addCellToIndex(e,n-1)}rootIndexToColumnIndex(e){if(e<1||e>=this.root.length)throw Error(`cell 'rootIndex' should between 1 to ${this.root.length-1}`);let t=0;for(let n=1;n=this.root.length){if(t)return this.root.length;throw Error(`cell 'columnIndex' should not great than ${n-1}`)}let e=this.root[i];i+=1,n+=e&&e.options.columnSpan||1}return i-1}}t.TableRow=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(86),r=n(281),o=n(283),s=n(289),a=n(114),l=n(129),c=n(46),u=n(131),h=n(132),d=n(49),p=n(50),f=n(133),m=n(1),g=n(47),v=n(48),y=n(332),b=n(23),w=n(337),_=n(338);t.File=class e{constructor(e={creator:"Un-named",revision:"1",lastModifiedBy:"Un-named"},t={},n=[]){if(this.currentRelationshipId=1,this.headers=[],this.footers=[],this.hyperlinkCache={},this.coreProperties=new s.CoreProperties(e),this.numbering=new f.Numbering(e.numbering?e.numbering:{config:[]}),this.docRelationships=new g.Relationships,this.fileRelationships=new g.Relationships,this.appProperties=new r.AppProperties,this.footNotes=new u.FootNotes,this.contentTypes=new o.ContentTypes,this.document=new a.Document({background:e.background||{}}),this.settings=new y.Settings,this.media=t.template&&t.template.media?t.template.media:new p.Media,t.template&&(this.currentRelationshipId=t.template.currentRelationshipId+1),t.template&&e.externalStyles)throw Error("can not use both template and external styles");if(t.template){let e=new w.ExternalStylesFactory;this.styles=e.newInstance(t.template.styles)}else if(e.externalStyles){let t=new w.ExternalStylesFactory;this.styles=t.newInstance(e.externalStyles)}else if(e.styles){let t=new _.DefaultStylesFactory().newInstance(e.styles.default);this.styles=new b.Styles(Object.assign({},t,e.styles))}else{let e=new _.DefaultStylesFactory;this.styles=new b.Styles(e.newInstance())}if(this.addDefaultRelationships(),t.template&&t.template.headers)for(let e of t.template.headers)this.addHeaderToDocument(e.header,e.type);if(t.template&&t.template.footers)for(let e of t.template.footers)this.addFooterToDocument(e.footer,e.type);for(let e of n)for(let t of(this.document.Body.addSection(e.properties?e.properties:{}),e.children)){if(t instanceof m.HyperlinkRef){let e=this.hyperlinkCache[t.id];this.document.add(e);continue}this.document.add(t)}if(e.footnotes)for(let t of e.footnotes)this.footNotes.createFootNote(t);if(e.hyperlinks){let t={};for(let n in e.hyperlinks){if(!e.hyperlinks[n])continue;let i=e.hyperlinks[n],r=i.type===m.HyperlinkType.EXTERNAL?this.createHyperlink(i.link,i.text):this.createInternalHyperLink(n,i.text);t[n]=r}this.hyperlinkCache=t}e.features&&e.features.trackRevisions&&this.settings.addTrackRevisions()}addSection({headers:e={default:new h.Header},footers:t={default:new h.Header},margins:n={},size:i={},properties:r,children:o}){for(let s of(this.document.Body.addSection(Object.assign({},r,{headers:{default:e.default?this.createHeader(e.default):this.createHeader(new h.Header),first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footers:{default:t.default?this.createFooter(t.default):this.createFooter(new h.Footer),first:t.first?this.createFooter(t.first):void 0,even:t.even?this.createFooter(t.even):void 0}},n,i)),o)){if(s instanceof m.HyperlinkRef){let e=this.hyperlinkCache[s.id];this.document.add(e);continue}this.document.add(s)}}verifyUpdateFields(){this.document.getTablesOfContents().length&&this.settings.addUpdateFields()}createHyperlink(e,t=e){let n=new m.Hyperlink(t,i.generate().toLowerCase());return this.docRelationships.createRelationship(n.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e,v.TargetModeType.EXTERNAL),n}createInternalHyperLink(e,t=e){return new m.Hyperlink(t,i.generate().toLowerCase(),e)}createHeader(e){let t=new d.HeaderWrapper(this.media,this.currentRelationshipId++);for(let n of e.options.children)t.add(n);return this.addHeaderToDocument(t),t}createFooter(e){let t=new c.FooterWrapper(this.media,this.currentRelationshipId++);for(let n of e.options.children)t.add(n);return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=l.HeaderReferenceType.DEFAULT){this.headers.push({header:e,type:t}),this.docRelationships.createRelationship(e.Header.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,t=l.FooterReferenceType.DEFAULT){this.footers.push({footer:e,type:t}),this.docRelationships.createRelationship(e.Footer.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.createRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.createRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.createRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.docRelationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.docRelationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.docRelationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.docRelationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml")}get Document(){return this.document}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get DocumentRelationships(){return this.docRelationships}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get AppProperties(){return this.appProperties}get FootNotes(){return this.footNotes}get Settings(){return this.settings}get HyperlinkCache(){return this.hyperlinkCache}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(282);class o extends i.XmlComponent{constructor(){super("Properties"),this.root.push(new r.AppPropertiesAttributes({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}t.AppProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={xmlns:"xmlns",vt:"xmlns:vt"}}}t.AppPropertiesAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(284),o=n(285),s=n(287);class a extends i.XmlComponent{constructor(){super("Types"),this.root.push(new r.ContentTypeAttributes({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new o.Default("image/png","png")),this.root.push(new o.Default("image/jpeg","jpeg")),this.root.push(new o.Default("image/jpeg","jpg")),this.root.push(new o.Default("image/bmp","bmp")),this.root.push(new o.Default("image/gif","gif")),this.root.push(new o.Default("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new o.Default("application/xml","xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml"))}addFooter(e){this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}}t.ContentTypes=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={xmlns:"xmlns"}}}t.ContentTypeAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(286);class o extends i.XmlComponent{constructor(e,t){super("Default"),this.root.push(new r.DefaultAttributes({contentType:e,extension:t}))}}t.Default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={contentType:"ContentType",extension:"Extension"}}}t.DefaultAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(288);class o extends i.XmlComponent{constructor(e,t){super("Override"),this.root.push(new r.OverrideAttributes({contentType:e,partName:t}))}}t.Override=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={contentType:"ContentType",partName:"PartName"}}}t.OverrideAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(290))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(11),o=n(291);class s extends i.XmlComponent{constructor(e){super("cp:coreProperties"),this.root.push(new r.DocumentAttributes({cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"})),e.title&&this.root.push(new o.Title(e.title)),e.subject&&this.root.push(new o.Subject(e.subject)),e.creator&&this.root.push(new o.Creator(e.creator)),e.keywords&&this.root.push(new o.Keywords(e.keywords)),e.description&&this.root.push(new o.Description(e.description)),e.lastModifiedBy&&this.root.push(new o.LastModifiedBy(e.lastModifiedBy)),e.revision&&this.root.push(new o.Revision(e.revision)),this.root.push(new o.Created),this.root.push(new o.Modified)}}t.CoreProperties=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(11);class o extends i.XmlComponent{constructor(e){super("dc:title"),this.root.push(e)}}t.Title=o;class s extends i.XmlComponent{constructor(e){super("dc:subject"),this.root.push(e)}}t.Subject=s;class a extends i.XmlComponent{constructor(e){super("dc:creator"),this.root.push(e)}}t.Creator=a;class l extends i.XmlComponent{constructor(e){super("cp:keywords"),this.root.push(e)}}t.Keywords=l;class c extends i.XmlComponent{constructor(e){super("dc:description"),this.root.push(e)}}t.Description=c;class u extends i.XmlComponent{constructor(e){super("cp:lastModifiedBy"),this.root.push(e)}}t.LastModifiedBy=u;class h extends i.XmlComponent{constructor(e){super("cp:revision"),this.root.push(e)}}t.Revision=h;class d extends i.XmlComponent{getCurrentDate(){let e=new Date,t=e.getFullYear(),n=("0"+(e.getMonth()+1)).slice(-2),i=("0"+e.getDate()).slice(-2),r=("0"+e.getHours()).slice(-2),o=("0"+e.getMinutes()).slice(-2);return t+"-"+n+"-"+i+"T"+r+":"+o+":"+("0"+e.getSeconds()).slice(-2)+"Z"}}t.DateComponent=d;t.Created=class e extends d{constructor(){super("dcterms:created"),this.root.push(new r.DocumentAttributes({type:"dcterms:W3CDTF"})),this.root.push(this.getCurrentDate())}};t.Modified=class e extends d{constructor(){super("dcterms:modified"),this.root.push(new r.DocumentAttributes({type:"dcterms:W3CDTF"})),this.root.push(this.getCurrentDate())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(115),o=n(11),s=n(130);class a extends i.XmlComponent{constructor(e){super("w:document"),this.root.push(new o.DocumentAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.body=new r.Body,this.root.push(new s.DocumentBackground(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}getTablesOfContents(){return this.body.getTablesOfContents()}}t.Document=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(12),o=n(116);class s extends i.XmlComponent{constructor(){super("w:body"),this.sections=[]}addSection(e){let t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new o.SectionProperties(e))}prepForXml(e){return 1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(e)}push(e){this.root.push(e)}getTablesOfContents(){return this.root.filter(e=>e instanceof r.TableOfContents)}createSectionParagraph(e){let t=new r.Paragraph({}),n=new r.ParagraphProperties({});return n.push(e),t.addChildElement(n),t}}t.Body=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(295);class o extends i.XmlComponent{constructor(e,t){super("w:cols"),this.root.push(new r.ColumnsAttributes({space:e,num:t}))}}t.Columns=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={space:"w:space",num:"w:num"}}}t.ColumnsAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(297);class o extends i.XmlComponent{constructor(e){super("w:docGrid"),this.root.push(new r.DocGridAttributes({linePitch:e}))}}t.DocumentGrid=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={linePitch:"w:linePitch"}}}t.DocGridAttributes=r},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.LineNumberRestartFormat||(t.LineNumberRestartFormat={})).CONTINUOUS="continuous",r.NEW_SECTION="newSection",r.NEW_PAGE="newPage";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={lineNumberCountBy:"w:countBy",lineNumberStart:"w:start",lineNumberRestart:"w:restart",lineNumberDistance:"w:distance"}}}t.LineNumberAttributes=s;class a extends o.XmlComponent{constructor(e,t,n,i){super("w:lnNumType"),this.root.push(new s({lineNumberCountBy:e,lineNumberStart:t,lineNumberRestart:n,lineNumberDistance:i}))}}t.LineNumberType=a},function(e,t,n){"use strict";var i,r,o,s,a,l;Object.defineProperty(t,"__esModule",{value:!0});let c=n(0);(s=t.PageBorderDisplay||(t.PageBorderDisplay={})).ALL_PAGES="allPages",s.FIRST_PAGE="firstPage",s.NOT_FIRST_PAGE="notFirstPage",(a=t.PageBorderOffsetFrom||(t.PageBorderOffsetFrom={})).PAGE="page",a.TEXT="text",(l=t.PageBorderZOrder||(t.PageBorderZOrder={})).BACK="back",l.FRONT="front";class u extends c.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={style:"w:val",size:"w:size",color:"w:color",space:"w:space"}}}class h extends c.XmlComponent{constructor(e,t){super(e),this.root.push(new u(t))}}class d extends c.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"}}}class p extends c.IgnoreIfEmptyXmlComponent{constructor(e){if(super("w:pgBorders"),!e)return;let t={};e.pageBorders&&(t={display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder}),this.root.push(new d(t)),e.pageBorderTop&&this.root.push(new h("w:top",e.pageBorderTop)),e.pageBorderRight&&this.root.push(new h("w:right",e.pageBorderRight)),e.pageBorderBottom&&this.root.push(new h("w:bottom",e.pageBorderBottom)),e.pageBorderLeft&&this.root.push(new h("w:left",e.pageBorderLeft))}}t.PageBorders=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(301);class o extends i.XmlComponent{constructor(e,t,n,i,o,s,a,l){super("w:pgMar"),this.root.push(new r.PageMarginAttributes({top:e,right:t,bottom:n,left:i,header:o,footer:s,gutter:a,mirror:l}))}}t.PageMargin=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",mirror:"w:mirrorMargins"}}}t.PageMarginAttributes=r},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.PageNumberFormat||(t.PageNumberFormat={})).CARDINAL_TEXT="cardinalText",r.DECIMAL="decimal",r.DECIMAL_ENCLOSED_CIRCLE="decimalEnclosedCircle",r.DECIMAL_ENCLOSED_FULL_STOP="decimalEnclosedFullstop",r.DECIMAL_ENCLOSED_PAREN="decimalEnclosedParen",r.DECIMAL_ZERO="decimalZero",r.LOWER_LETTER="lowerLetter",r.LOWER_ROMAN="lowerRoman",r.NONE="none",r.ORDINAL_TEXT="ordinalText",r.UPPER_LETTER="upperLetter",r.UPPER_ROMAN="upperRoman",r.DECIMAL_FULL_WIDTH="decimalFullWidth";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={pageNumberStart:"w:start",pageNumberFormatType:"w:fmt"}}}t.PageNumberTypeAttributes=s;class a extends o.XmlComponent{constructor(e,t){super("w:pgNumType"),this.root.push(new s({pageNumberStart:e,pageNumberFormatType:t}))}}t.PageNumberType=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(304);class o extends i.XmlComponent{constructor(){super("w:titlePg"),this.root.push(new r.TitlePageAttributes({value:"1"}))}}t.TitlePage=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={value:"w:val"}}}t.TitlePageAttributes=r},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0),s=n(128);(r=t.SectionVerticalAlignValue||(t.SectionVerticalAlignValue={})).BOTH="both",r.BOTTOM="bottom",r.CENTER="center",r.TOP="top";class a extends o.XmlComponent{constructor(e){super("w:vAlign"),this.root.push(new s.SectionVerticalAlignAttributes({verticalAlign:e}))}}t.SectionVerticalAlign=a},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(126)),i(n(45))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"}}}t.DocumentBackgroundAttributes=r;class o extends i.XmlComponent{constructor(e){super("w:background"),this.root.push(new r({color:e.color?e.color:"FFFFFF",themeColor:e.themeColor,themeShade:e.themeShade,themeTint:e.themeTint}))}}t.DocumentBackground=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(309);class o extends i.InitializableXmlComponent{constructor(e,t){super("w:ftr",t),this.refId=e,!t&&this.root.push(new r.FooterAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}}t.Footer=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"}}}t.FooterAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(311),o=n(48);class s extends i.XmlComponent{constructor(){super("Relationships"),this.root.push(new r.RelationshipsAttributes({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}addRelationship(e){this.root.push(e)}createRelationship(e,t,n,i){let r=new o.Relationship(`rId${e}`,t,n,i);return this.addRelationship(r),r}get RelationshipCount(){return this.root.length-1}}t.Relationships=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={xmlns:"xmlns"}}}t.RelationshipsAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"}}}t.RelationshipAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(1),o=n(314),s=n(318),a=n(320),l=n(322);class c extends i.XmlComponent{constructor(){super("w:footnotes"),this.currentId=1,this.root.push(new l.FootnotesAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));let e=new o.Footnote(-1,o.FootnoteType.SEPERATOR);e.add(new r.Paragraph({spacing:{after:0,line:240,lineRule:"auto"},children:[new a.SeperatorRun]})),this.root.push(e);let t=new o.Footnote(0,o.FootnoteType.CONTINUATION_SEPERATOR);t.add(new r.Paragraph({spacing:{after:0,line:240,lineRule:"auto"},children:[new s.ContinuationSeperatorRun]})),this.root.push(t)}createFootNote(e){let t=new o.Footnote(this.currentId);t.add(e),this.root.push(t),this.currentId++}}t.FootNotes=c},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0),s=n(315),a=n(316);(r=t.FootnoteType||(t.FootnoteType={})).SEPERATOR="separator",r.CONTINUATION_SEPERATOR="continuationSeparator";class l extends o.XmlComponent{constructor(e,t){super("w:footnote"),this.root.push(new s.FootnoteAttributes({type:t,id:e}))}add(e){e.addRunToFront(new a.FootnoteRefRun),this.root.push(e)}}t.Footnote=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",id:"w:id"}}}t.FootnoteAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(317);class o extends i.Run{constructor(){super({style:"FootnoteReference"}),this.root.push(new r.FootnoteRef)}}t.FootnoteRefRun=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:footnoteRef")}}t.FootnoteRef=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(319);class o extends i.Run{constructor(){super({}),this.root.push(new r.ContinuationSeperator)}}t.ContinuationSeperatorRun=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:continuationSeparator")}}t.ContinuationSeperator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(321);class o extends i.Run{constructor(){super({}),this.root.push(new r.Seperator)}}t.SeperatorRun=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:separator")}}t.Seperator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"}}}t.FootnotesAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(324))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(325))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(3),r=n(70),o=n(0);class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={id:"w:id"}}}t.FootNoteReferenceRunAttributes=s;class a extends o.XmlComponent{constructor(e){super("w:footnoteReference"),this.root.push(new s({id:e}))}}t.FootnoteReference=a;class l extends i.Run{constructor(e){super({}),this.properties.push(new r.Style("FootnoteReference")),this.root.push(new a(e))}}t.FootnoteReferenceRun=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(327);class o extends i.InitializableXmlComponent{constructor(e,t){super("w:hdr",t),this.refId=e,!t&&this.root.push(new r.HeaderAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}}t.Header=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"}}}t.HeaderAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1);class r{static addImage(e,t,n,r,o){let s=e.Media.addMedia(t,n,r);return new i.PictureRun(s,o)}static generateId(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}constructor(){this.map=new Map}getMedia(e){let t=this.map.get(e);if(void 0===t)throw Error(`Cannot find image with the key ${e}`);return t}addMedia(e,t=100,n=100){let i=`${r.generateId()}.png`;return this.createMedia(i,{width:t,height:n},e)}createMedia(e,t,n,i){let r={stream:"string"==typeof n?this.convertDataURIToBinary(n):n,path:i,fileName:e,dimensions:{pixels:{x:Math.round(t.width),y:Math.round(t.height)},emus:{x:Math.round(9525*t.width),y:Math.round(9525*t.height)}}};return this.map.set(e,r),r}get Array(){let e=[];return this.map.forEach(t=>{e.push(t)}),e}convertDataURIToBinary(e){let t=";base64,",i=e.indexOf(t)+t.length;return"function"==typeof atob?new Uint8Array(atob(e.substring(i)).split("").map(e=>e.charCodeAt(0))):new(n(6)).Buffer(e,"base64")}}t.Media=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORKAROUND2=""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(44),r=n(1),o=n(0),s=n(11),a=n(134),l=n(24),c=n(135);class u extends o.XmlComponent{constructor(e){super("w:numbering"),this.abstractNumbering=[],this.concreteNumbering=[],this.root.push(new s.DocumentAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.nextId=0;let t=this.createAbstractNumbering([{level:0,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:i.convertInchesToTwip(.5),hanging:i.convertInchesToTwip(.25)}}}},{level:1,format:l.LevelFormat.BULLET,text:"○",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:i.convertInchesToTwip(1),hanging:i.convertInchesToTwip(.25)}}}},{level:2,format:l.LevelFormat.BULLET,text:"■",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:2160,hanging:i.convertInchesToTwip(.25)}}}},{level:3,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:2880,hanging:i.convertInchesToTwip(.25)}}}},{level:4,format:l.LevelFormat.BULLET,text:"○",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:3600,hanging:i.convertInchesToTwip(.25)}}}},{level:5,format:l.LevelFormat.BULLET,text:"■",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:4320,hanging:i.convertInchesToTwip(.25)}}}},{level:6,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:5040,hanging:i.convertInchesToTwip(.25)}}}},{level:7,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:5760,hanging:i.convertInchesToTwip(.25)}}}},{level:8,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:6480,hanging:i.convertInchesToTwip(.25)}}}}]);for(let n of(this.createConcreteNumbering(t),e.config)){let e=this.createAbstractNumbering(n.levels);this.createConcreteNumbering(e,n.reference)}}prepForXml(){return this.abstractNumbering.forEach(e=>this.root.push(e)),this.concreteNumbering.forEach(e=>this.root.push(e)),super.prepForXml()}createConcreteNumbering(e,t){let n=new c.ConcreteNumbering(this.nextId++,e.id,t);return this.concreteNumbering.push(n),n}createAbstractNumbering(e){let t=new a.AbstractNumbering(this.nextId++,e);return this.abstractNumbering.push(t),t}get ConcreteNumbering(){return this.concreteNumbering}}t.Numbering=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){super("w:multiLevelType"),this.root.push(new i.Attributes({val:e}))}}t.MultiLevelType=r},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(333)),i(n(136))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(334),o=n(335),s=n(336),a=n(136);class l extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"}}}t.SettingsAttributes=l;class c extends i.XmlComponent{constructor(){super("w:settings"),this.root.push(new l({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.compatibility=new r.Compatibility,this.trackRevisions=new s.TrackRevisions,this.root.push(new o.DisplayBackgroundShape)}addUpdateFields(){!this.root.find(e=>e instanceof a.UpdateFields)&&this.addChildElement(new a.UpdateFields)}addCompatibility(){return!this.root.find(e=>e instanceof r.Compatibility)&&this.addChildElement(this.compatibility),this.compatibility}addTrackRevisions(){return!this.root.find(e=>e instanceof s.TrackRevisions)&&this.addChildElement(this.trackRevisions),this.trackRevisions}}t.Settings=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:doNotExpandShiftReturn")}}class o extends i.XmlComponent{constructor(){super("w:compat")}doNotExpandShiftReturn(){return this.root.push(new r),this}}t.Compatibility=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:displayBackgroundShape")}}t.DisplayBackgroundShape=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:trackRevisions")}}t.TrackRevisions=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(26),o=n(23);t.ExternalStylesFactory=class e{newInstance(e){let t;for(let n of r.xml2js(e,{compact:!1}).elements||[])"w:styles"===n.name&&(t=n);if(void 0===t)throw Error("can not find styles element");let n=t.elements||[];return new o.Styles({initialStyles:new i.ImportedRootElementAttributes(t.attributes),importedStyles:n.map(e=>i.convertToXmlComponent(e))})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(11),r=n(106),o=n(105);t.DefaultStylesFactory=class e{newInstance(e={}){return{initialStyles:new i.DocumentAttributes({mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",Ignorable:"w14 w15"}),importedStyles:[new r.DocumentDefaults(e.document),new o.TitleStyle(Object.assign({run:{size:56}},e.title)),new o.Heading1Style(Object.assign({run:{color:"2E74B5",size:32}},e.heading1)),new o.Heading2Style(Object.assign({run:{color:"2E74B5",size:26}},e.heading2)),new o.Heading3Style(Object.assign({run:{color:"1F4D78",size:24}},e.heading3)),new o.Heading4Style(Object.assign({run:{color:"2E74B5",italics:!0}},e.heading4)),new o.Heading5Style(Object.assign({run:{color:"2E74B5"}},e.heading5)),new o.Heading6Style(Object.assign({run:{color:"1F4D78"}},e.heading6)),new o.StrongStyle(Object.assign({run:{bold:!0}},e.strong)),new o.ListParagraph(e.listParagraph||{}),new o.HyperlinkStyle(e.hyperlink||{}),new o.FootnoteReferenceStyle(e.footnoteReference||{}),new o.FootnoteText(e.footnoteText||{}),new o.FootnoteTextChar(e.footnoteTextChar||{})]}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORKAROUND=""},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(341)),i(n(346))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(3),o=n(18),s=n(0),a=n(342),l=n(343),c=n(344);class u extends s.XmlComponent{constructor(e="Table of Contents",t){super("w:sdt"),this.root.push(new c.StructuredDocumentTagProperties(e));let n=new l.StructuredDocumentTagContent,s=new i.Paragraph({children:[new r.Run({children:[new o.Begin(!0),new a.FieldInstruction(t),new o.Separate]})]});n.addChildElement(s);let u=new i.Paragraph({children:[new r.Run({children:[new o.End]})]});n.addChildElement(u),this.root.push(n)}}t.TableOfContents=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(8),r=n(0);class o extends r.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={space:"xml:space"}}}class s extends r.XmlComponent{constructor(e={}){super("w:instrText"),this.properties=e,this.root.push(new o({space:i.SpaceType.PRESERVE}));let t="TOC";if(this.properties.captionLabel&&(t=`${t} \\a "${this.properties.captionLabel}"`),this.properties.entriesFromBookmark&&(t=`${t} \\b "${this.properties.entriesFromBookmark}"`),this.properties.captionLabelIncludingNumbers&&(t=`${t} \\c "${this.properties.captionLabelIncludingNumbers}"`),this.properties.sequenceAndPageNumbersSeparator&&(t=`${t} \\d "${this.properties.sequenceAndPageNumbersSeparator}"`),this.properties.tcFieldIdentifier&&(t=`${t} \\f "${this.properties.tcFieldIdentifier}"`),this.properties.hyperlink&&(t=`${t} \\h`),this.properties.tcFieldLevelRange&&(t=`${t} \\l "${this.properties.tcFieldLevelRange}"`),this.properties.pageNumbersEntryLevelsRange&&(t=`${t} \\n "${this.properties.pageNumbersEntryLevelsRange}"`),this.properties.headingStyleRange&&(t=`${t} \\o "${this.properties.headingStyleRange}"`),this.properties.entryAndPageNumberSeparator&&(t=`${t} \\p "${this.properties.entryAndPageNumberSeparator}"`),this.properties.seqFieldIdentifierForPrefix&&(t=`${t} \\s "${this.properties.seqFieldIdentifierForPrefix}"`),this.properties.stylesWithLevels&&this.properties.stylesWithLevels.length){let e=this.properties.stylesWithLevels.map(e=>`${e.styleName},${e.level}`).join(",");t=`${t} \\t "${e}"`}this.properties.useAppliedParagraphOutlineLevel&&(t=`${t} \\u`),this.properties.preserveTabInEntries&&(t=`${t} \\w`),this.properties.preserveNewLineInEntries&&(t=`${t} \\x`),this.properties.hideTabAndPageNumbersInWebView&&(t=`${t} \\z`),this.root.push(t)}}t.FieldInstruction=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:sdtContent")}}t.StructuredDocumentTagContent=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(345);class o extends i.XmlComponent{constructor(e){super("w:sdtPr"),this.root.push(new r.Alias(e))}}t.StructuredDocumentTagProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={alias:"w:val"}}}class o extends i.XmlComponent{constructor(e){super("w:alias"),this.root.push(new r({alias:e}))}}t.Alias=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.StyleLevel=class e{constructor(e,t){this.styleName=e,this.level=t}}},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(348)),i(n(349))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(12),o=n(137);class s extends i.XmlComponent{constructor(e){super("w:ins"),this.root.push(new o.ChangeAttributes({id:e.id,author:e.author,date:e.date})),this.addChildElement(new r.TextRun(e))}}t.InsertedTextRun=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(12),o=n(67),s=n(18),a=n(17),l=n(137),c=n(350),u=n(351);class h extends i.XmlComponent{constructor(e){super("w:del"),this.root.push(new l.ChangeAttributes({id:e.id,author:e.author,date:e.date})),this.deletedTextRunWrapper=new d(e),this.addChildElement(this.deletedTextRunWrapper)}}t.DeletedTextRun=h;class d extends i.XmlComponent{constructor(e){if(super("w:r"),this.root.push(new r.RunProperties(e)),e.children)for(let t of e.children){if("string"==typeof t){switch(t){case a.PageNumber.CURRENT:this.root.push(new s.Begin),this.root.push(new c.DeletedPage),this.root.push(new s.Separate),this.root.push(new s.End);break;case a.PageNumber.TOTAL_PAGES:this.root.push(new s.Begin),this.root.push(new c.DeletedNumberOfPages),this.root.push(new s.Separate),this.root.push(new s.End);break;case a.PageNumber.TOTAL_PAGES_IN_SECTION:this.root.push(new s.Begin),this.root.push(new c.DeletedNumberOfPagesSection),this.root.push(new s.Separate),this.root.push(new s.End);break;default:this.root.push(new u.DeletedText(t))}continue}this.root.push(t)}else e.text&&this.root.push(new u.DeletedText(e.text));if(e.break)for(let t=0;t(o.forEach((t,i)=>{e.DocumentRelationships.createRelationship(n+i,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)}),r(this.formatter.format(e.DocumentRelationships,e),t)))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{let t=this.imageReplacer.replace(i,o,n);return this.numberingReplacer.replace(t,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:r(this.formatter.format(e.Styles,e),t),path:"word/styles.xml"},Properties:{data:r(this.formatter.format(e.CoreProperties,e),{declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:r(this.formatter.format(e.Numbering,e),t),path:"word/numbering.xml"},FileRelationships:{data:r(this.formatter.format(e.FileRelationships,e),t),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((n,i)=>{let o=r(this.formatter.format(n.Header,e),t);return this.imageReplacer.getMediaData(o,e.Media).forEach((e,t)=>{n.Relationships.createRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:r(this.formatter.format(n.Relationships,e),t),path:`word/_rels/header${i+1}.xml.rels`}}),FooterRelationships:e.Footers.map((n,i)=>{let o=r(this.formatter.format(n.Footer,e),t);return this.imageReplacer.getMediaData(o,e.Media).forEach((e,t)=>{n.Relationships.createRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:r(this.formatter.format(n.Relationships,e),t),path:`word/_rels/footer${i+1}.xml.rels`}}),Headers:e.Headers.map((n,i)=>{let o=r(this.formatter.format(n.Header,e),t),s=this.imageReplacer.getMediaData(o,e.Media);return{data:this.imageReplacer.replace(o,s,0),path:`word/header${i+1}.xml`}}),Footers:e.Footers.map((n,i)=>{let o=r(this.formatter.format(n.Footer,e),t),s=this.imageReplacer.getMediaData(o,e.Media);return{data:this.imageReplacer.replace(o,s,0),path:`word/footer${i+1}.xml`}}),ContentTypes:{data:r(this.formatter.format(e.ContentTypes,e),t),path:"[Content_Types].xml"},AppProperties:{data:r(this.formatter.format(e.AppProperties,e),t),path:"docProps/app.xml"},FootNotes:{data:r(this.formatter.format(e.FootNotes,e),t),path:"word/footnotes.xml"},Settings:{data:r(this.formatter.format(e.Settings,e),t),path:"word/settings.xml"}}}}},function(e,t,n){(function(t){var i=n(356),r=n(56).Stream;function o(e,t,n){n=n||0;var r,s,a,l=(r=t,Array(n||0).join(r||"")),c=e;if("object"==typeof e&&(s=Object.keys(e)[0],(c=e[s])&&c._elem))return c._elem.name=s,c._elem.icount=n,c._elem.indent=t,c._elem.indents=l,c._elem.interrupt=c,c._elem;var u=[],h=[];function d(e){Object.keys(e).forEach(function(t){u.push(function(e,t){return e+'="'+i(t)+'"'}(t,e[t]))})}switch(typeof c){case"object":if(null===c)break;c._attr&&d(c._attr),c._cdata&&h.push(("/g,"]]]]>")+"]]>"),c.forEach&&(a=!1,h.push(""),c.forEach(function(e){"object"==typeof e?"_attr"==Object.keys(e)[0]?d(e._attr):h.push(o(e,t,n+1)):(h.pop(),a=!0,h.push(i(e)))}),!a&&h.push(""));break;default:h.push(i(c))}return{name:s,interrupt:!1,attributes:u,content:h,icount:n,indents:l,indent:t}}function s(e,t,n){if("object"!=typeof t)return e(!1,t);var i=t.interrupt?1:t.content.length;function r(){for(;t.content.length;){var r=t.content.shift();if(void 0!==r){if(o(r))return;s(e,r)}}e(!1,(i>1?t.indents:"")+(t.name?"":"")+(t.indent&&!n?"\n":"")),n&&n()}function o(t){return!!t.interrupt&&(t.interrupt.append=e,t.interrupt.end=r,t.interrupt=!1,e(!0),!0)}if(e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(i?t.name?">":"":t.name?"/>":"")+(t.indent&&i>1?"\n":"")),!i)return e(!1,t.indent?"\n":"");!o(t)&&r()}e.exports=function(e,n){"object"!=typeof n&&(n={indent:n});var i,a,l=n.stream?new r:null,c="",u=!1,h=n.indent?!0===n.indent?" ":n.indent:"",d=!0;function p(e){d?t.nextTick(e):e()}function f(e,t){if(void 0!==t&&(c+=t),e&&!u&&(l=l||new r,u=!0),e&&u){var n=c;p(function(){l.emit("data",n)}),c=""}}function m(e,t){s(f,o(e,h,h?1:0),t)}function g(){if(l){var e=c;p(function(){l.emit("data",e),l.emit("end"),l.readable=!1,l.emit("close")})}}if(p(function(){d=!1}),n.declaration){;a={version:"1.0",encoding:(i=n.declaration).encoding||"UTF-8"},i.standalone&&(a.standalone=i.standalone),m({"?xml":{_attr:a}}),c=c.replace("/>","?>")}return(e&&e.forEach?e.forEach(function(t,n){var i;n+1===e.length&&(i=g),m(t,i)}):m(e,g),l)?(l.readable=!0,l):c},e.exports.element=e.exports.Element=function(){var e=Array.prototype.slice.call(arguments),t={_elem:o(e)};return t.push=function(e){if(!this.append)throw Error("not assigned to a parent!");var t=this,n=this._elem.indent;s(this.append,o(e,n,this._elem.icount+(n?1:0)),function(){t.append(!0)})},t.close=function(e){void 0!==e&&this.push(e),this.end&&this.end()},t}}).call(t,n(13))},function(e,t){var n={"&":"&",'"':""","'":"'","<":"<",">":">"};e.exports=function(e){return e&&e.replace?e.replace(/([&"<>'])/g,function(e,t){return n[t]}):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Formatter=class e{format(e,t){let n=e.prepForXml(t);if(n)return n;throw Error("XMLComponent did not format correctly")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ImageReplacer=class e{replace(e,t,n){let i=e;return t.forEach((e,t)=>{i=i.replace(RegExp(`{${e.fileName}}`,"g"),(n+t).toString())}),i}getMediaData(e,t){return t.Array.filter(t=>e.search(`{${t.fileName}}`)>0)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NumberingReplacer=class e{replace(e,t){let n=e;for(let e of t){if(!!e.reference)n=n.replace(RegExp(`{${e.reference}}`,"g"),e.id.toString())}return n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(361))},function(e,t,n){"use strict";var i,r,o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let s=n(138),a=n(26),l=n(46),c=n(49),u=n(50),h=n(48),d=n(0),p={"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header":"header","http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer":"footer","http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":"image","http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink":"hyperlink"};(i=r||(r={})).HEADER="header",i.FOOTER="footer",i.IMAGE="image",i.HYPERLINK="hyperlink";t.ImportDotx=class e{extract(e){return o(this,void 0,void 0,function*(){let t=yield s.loadAsync(e),n=yield t.files["word/document.xml"].async("text"),i=yield t.files["word/_rels/document.xml.rels"].async("text"),r=this.extractDocumentRefs(n),o=this.findReferenceFiles(i),a=new u.Media;return{headers:yield this.createHeaders(t,r,o,a,0),footers:yield this.createFooters(t,r,o,a,r.headers.length),currentRelationshipId:r.footers.length+r.headers.length,styles:yield t.files["word/styles.xml"].async("text"),titlePageIsDefined:this.checkIfTitlePageIsDefined(n),media:a}})}createFooters(e,t,n,i,r){return o(this,void 0,void 0,function*(){return Promise.all(t.footers.map((t,s)=>o(this,void 0,void 0,function*(){let o=n.find(e=>e.id===t.id);if(null===o||!o)throw Error(`Can not find target file for id ${t.id}`);let c=yield e.files[`word/${o.target}`].async("text"),u=a.xml2js(c,{compact:!1,captureSpacesBetweenElements:!0});if(!u.elements)return;let h=u.elements.reduce((e,t)=>"w:ftr"===t.name?t:e),p=d.convertToXmlComponent(h),f=new l.FooterWrapper(i,r+s,p);return yield this.addRelationshipToWrapper(o,e,f,i),{type:t.type,footer:f}})).filter(e=>!!e))})}createHeaders(e,t,n,i,r){return o(this,void 0,void 0,function*(){return Promise.all(t.headers.map((t,s)=>o(this,void 0,void 0,function*(){let o=n.find(e=>e.id===t.id);if(null===o||!o)throw Error(`Can not find target file for id ${t.id}`);let l=yield e.files[`word/${o.target}`].async("text"),u=a.xml2js(l,{compact:!1,captureSpacesBetweenElements:!0});if(!u.elements)return;let h=u.elements.reduce((e,t)=>"w:hdr"===t.name?t:e),p=d.convertToXmlComponent(h),f=new c.HeaderWrapper(i,r+s,p);return yield this.addRelationshipToWrapper(o,e,f,i),{type:t.type,header:f}})).filter(e=>!!e))})}addRelationshipToWrapper(e,t,n,i){return o(this,void 0,void 0,function*(){let o=t.files[`word/_rels/${e.target}.rels`];if(!o)return;let s=yield o.async("text"),a=this.findReferenceFiles(s).filter(e=>e.type===r.IMAGE),l=this.findReferenceFiles(s).filter(e=>e.type===r.HYPERLINK);for(let e of a){let r=yield t.files[`word/${e.target}`].async("nodebuffer"),o=i.addMedia(r);n.Relationships.createRelationship(e.id,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${o.fileName}`)}for(let e of l)n.Relationships.createRelationship(e.id,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.target,h.TargetModeType.EXTERNAL)})}findReferenceFiles(e){let t=a.xml2js(e,{compact:!0});return(Array.isArray(t.Relationships.Relationship)?t.Relationships.Relationship:[t.Relationships.Relationship]).map(e=>{if(void 0===e._attributes)throw Error("relationship element has no attributes");return{id:this.parseRefId(e._attributes.Id),type:p[e._attributes.Type],target:e._attributes.Target}}).filter(e=>null!==e.type)}extractDocumentRefs(e){let t,n;let i=a.xml2js(e,{compact:!0})["w:document"]["w:body"]["w:sectPr"],r=i["w:headerReference"],o=(t=void 0===r?[]:Array.isArray(r)?r:[r]).map(e=>{if(void 0===e._attributes)throw Error("header referecne element has no attributes");return{type:e._attributes["w:type"],id:this.parseRefId(e._attributes["r:id"])}}),s=i["w:footerReference"];return{headers:o,footers:(n=void 0===s?[]:Array.isArray(s)?s:[s]).map(e=>{if(void 0===e._attributes)throw Error("footer referecne element has no attributes");return{type:e._attributes["w:type"],id:this.parseRefId(e._attributes["r:id"])}})}}checkIfTitlePageIsDefined(e){return void 0!==a.xml2js(e,{compact:!0})["w:document"]["w:body"]["w:sectPr"]["w:titlePg"]}parseRefId(e){let t=/^rId(\d+)$/.exec(e);if(null===t)throw Error("Invalid ref id");return parseInt(t[1],10)}}}])},e.exports=n()},2337:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function i(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,i,o,s){if("function"!=typeof i)throw TypeError("The listener must be a function");var a=new r(i,o||e,s),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],a]:e._events[l].push(a):(e._events[l]=a,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function a(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),!new i().__proto__&&(n=!1)),a.prototype.eventNames=function(){var e,i,r=[];if(0===this._eventsCount)return r;for(i in e=this._events)t.call(e,i)&&r.push(n?i.slice(1):i);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},a.prototype.listeners=function(e){var t=n?n+e:e,i=this._events[t];if(!i)return[];if(i.fn)return[i.fn];for(var r=0,o=i.length,s=Array(o);rs)break t;var d=t.slice(0,h),p=t.slice(h);if(p!==c)break t;var f=Math.min(a,h),m=l.slice(0,f),v=d.slice(0,f);if(m!==v)break t;var y=l.slice(f),b=d.slice(f);return g(m,y,b,c)}n:if(null===u||u===a){var d=t.slice(0,a),p=t.slice(a);if(d!==l)break n;var w=Math.min(o-a,s-a),_=c.slice(c.length-w),E=p.slice(p.length-w);if(_!==E)break n;var y=c.slice(0,c.length-w),b=p.slice(0,p.length-w);return g(l,y,b,_)}}if(i.length>0&&r&&0===r.length)i:{var m=e.slice(0,i.index),_=e.slice(i.index+i.length),f=m.length,w=_.length;if(sr.length?e:r,l=e.length>r.length?r:e,c=a.indexOf(l);if(-1!==c)return s=[[1,a.substring(0,c)],[0,l],[1,a.substring(c+l.length)]],e.length>r.length&&(s[0][0]=s[2][0]=-1),s;if(1===l.length)return[[-1,e],[1,r]];var u=function(e,t){var n,r,s,a,l,c=e.length>t.length?e:t,u=e.length>t.length?t:e;if(c.length<4||2*u.length=e.length?[r,s,a,l,h]:null}var d=h(c,u,Math.ceil(c.length/4)),p=h(c,u,Math.ceil(c.length/2));return d||p?(n=p?d?d[4].length>p[4].length?d:p:p:d,e.length>t.length?(r=n[0],s=n[1],a=n[2],l=n[3]):(a=n[0],l=n[1],r=n[2],s=n[3]),[r,s,a,l,n[4]]):null}(e,r);if(u){var h=u[0],d=u[1],p=u[2],f=u[3],m=u[4],g=t(h,p),v=t(d,f);return g.concat([[0,m]],v)}return function(e,t){for(var i=e.length,r=t.length,o=Math.ceil((i+r)/2),s=2*o,a=Array(s),l=Array(s),c=0;ci)p+=2;else if(w>r)d+=2;else if(h){var _=o+u-v;if(_>=0&&_=E)return n(e,t,y,w)}}}for(var x=-g+f;x<=g-m;x+=2){for(var E,_=o+x,k=(E=x===-g||x!==g&&l[_-1]i)m+=2;else if(k>r)f+=2;else if(!h){var b=o+u-x;if(b>=0&&b=(E=i-E))return n(e,t,y,w)}}}}return[[-1,e],[1,t]]}(e,r)}(e,d=d.substring(0,d.length-y));return b&&_.unshift([0,b]),w&&_.push([0,w]),h(_,m),f&&function(e){for(var t=!1,n=[],i=0,d=null,p=0,f=0,m=0,g=0,v=0;p0?n[i-1]:-1,f=0,m=0,g=0,v=0,d=null,t=!0)),p++;for(t&&h(e),function(e){function t(e,t){if(!e||!t)return 6;var n=e.charAt(e.length-1),i=t.charAt(0),r=n.match(s),o=i.match(s),h=r&&n.match(a),d=o&&i.match(a),p=h&&n.match(l),f=d&&i.match(l),m=p&&e.match(c),g=f&&t.match(u);if(m||g)return 5;if(p||f)return 4;if(r&&!h&&d)return 3;else if(h||d)return 2;else if(r||o)return 1;return 0}for(var n=1;n=v&&(v=y,f=i,m=r,g=h)}e[n-1][1]!=f&&(f?e[n-1][1]=f:(e.splice(n-1,1),n--),e[n][1]=m,g?e[n+1][1]=g:(e.splice(n+1,1),n--))}n++}}(e),p=1;p=_?(w>=y.length/2||w>=b.length/2)&&(e.splice(p,0,[0,b.substring(0,w)]),e[p-1][1]=y.substring(0,y.length-w),e[p+1][1]=b.substring(w),p++):(_>=y.length/2||_>=b.length/2)&&(e.splice(p,0,[0,y.substring(0,_)]),e[p-1][0]=1,e[p-1][1]=b.substring(0,b.length-_),e[p+1][0]=-1,e[p+1][1]=y.substring(_),p++),p++}p++}}(_),_}function n(e,n,i,r){var o=e.substring(0,i),s=n.substring(0,r),a=e.substring(i),l=n.substring(r),c=t(o,s),u=t(a,l);return c.concat(u)}function i(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,i=Math.min(e.length,t.length),r=i,o=0;ni?e=e.substring(n-i):n=0&&m(e[u][1])){var d=e[u][1].slice(-1);if(e[u][1]=e[u][1].slice(0,-1),l=d+l,c=d+c,!e[u][1]){e.splice(u,1),r--;var p=u-1;e[p]&&1===e[p][0]&&(a++,c=e[p][1]+c,p--),e[p]&&-1===e[p][0]&&(s++,l=e[p][1]+l,p--),u=p}}if(f(e[r][1])){var d=e[r][1].charAt(0);e[r][1]=e[r][1].slice(1),l+=d,c+=d}}if(r0||c.length>0){l.length>0&&c.length>0&&(0!==(n=i(c,l))&&(u>=0?e[u][1]+=c.substring(0,n):(e.splice(0,0,[0,c.substring(0,n)]),r++),c=c.substring(n),l=l.substring(n)),0!==(n=o(c,l))&&(e[r][1]=c.substring(c.length-n)+e[r][1],c=c.substring(0,c.length-n),l=l.substring(0,l.length-n)));var g=a+s;0===l.length&&0===c.length?(e.splice(r-g,g),r-=g):0===l.length?(e.splice(r-g,g,[1,c]),r=r-g+1):0===c.length?(e.splice(r-g,g,[-1,l]),r=r-g+1):(e.splice(r-g,g,[-1,l],[1,c]),r=r-g+2)}0!==r&&0===e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,a=0,s=0,l="",c=""}}""===e[e.length-1][1]&&e.pop();var v=!1;for(r=1;r=55296&&e<=56319}function p(e){return e>=56320&&e<=57343}function f(e){return p(e.charCodeAt(0))}function m(e){return d(e.charCodeAt(e.length-1))}function g(e,t,n,i){return m(e)||f(i)?null:function(e){for(var t=[],n=0;n0&&t.push(e[n]);return t}([[0,e],[-1,t],[1,n],[0,i]])}function v(e,n,i,r){return t(e,n,i,r,!0)}v.INSERT=1,v.DELETE=-1,v.EQUAL=0,e.exports=v},2323:function(e,t,n){e=n.nmd(e);var i,r="__lodash_hash_undefined__",o="[object Arguments]",s="[object Boolean]",a="[object Date]",l="[object Function]",c="[object GeneratorFunction]",u="[object Map]",h="[object Number]",d="[object Object]",p="[object Promise]",f="[object RegExp]",m="[object Set]",g="[object String]",v="[object Symbol]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",_="[object Float32Array]",E="[object Float64Array]",x="[object Int8Array]",k="[object Int16Array]",T="[object Int32Array]",O="[object Uint8Array]",C="[object Uint8ClampedArray]",A="[object Uint16Array]",S="[object Uint32Array]",N=/\w*$/,I=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,R={};R[o]=R["[object Array]"]=R[b]=R[w]=R[s]=R[a]=R[_]=R[E]=R[x]=R[k]=R[T]=R[u]=R[h]=R[d]=R[f]=R[m]=R[g]=R[v]=R[O]=R[C]=R[A]=R[S]=!0,R["[object Error]"]=R[l]=R[y]=!1;var P="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,D="object"==typeof self&&self&&self.Object===Object&&self,j=P||D||Function("return this")(),B=t&&!t.nodeType&&t,F=B&&e&&!e.nodeType&&e,q=F&&F.exports===B;function H(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function z(e,t,n,i){var r=-1,o=e?e.length:0;for(i&&o&&(n=e[++r]);++r-1},eA.prototype.set=function(e,t){var n=this.__data__,i=eM(n,e);return i<0?n.push([e,t]):n[i][1]=t,this};function eN(e){this.__data__=new eA(e)}eS.prototype.clear=function(){this.__data__={hash:new eC,map:new(em||eA),string:new eC}},eS.prototype.delete=function(e){return eP(this,e).delete(e)},eS.prototype.get=function(e){return eP(this,e).get(e)},eS.prototype.has=function(e){return eP(this,e).has(e)},eS.prototype.set=function(e,t){return eP(this,e).set(e,t),this};eN.prototype.clear=function(){this.__data__=new eA},eN.prototype.delete=function(e){return this.__data__.delete(e)},eN.prototype.get=function(e){return this.__data__.get(e)},eN.prototype.has=function(e){return this.__data__.has(e)},eN.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eA){var i=n.__data__;if(!em||i.length<199)return i.push([e,t]),this;n=this.__data__=new eS(i)}return n.set(e,t),this};function eI(e,t,n){var i=e[t];(!(et.call(e,t)&&eH(i,n))||void 0===n&&!(t in e))&&(e[t]=n)}function eM(e,t){for(var n=e.length;n--;)if(eH(e[n][0],t))return n;return -1}function eL(e){var t=new e.constructor(e.byteLength);return new es(t).set(new es(e)),t}function eR(e,t,n,i){n||(n={});for(var r=-1,o=t.length;++r-1&&e%1==0&&e<=0x1fffffffffffff}(e.length)&&!eX(e)}var ez=ed||function(){return!1};function eX(e){var t=eW(e)?en.call(e):"";return t==l||t==c}function eW(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eV(e){return eU(e)?function(e,t){var n=e$(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&eU(e)}(e)&&et.call(e,"callee")&&(!ec.call(e,"callee")||en.call(e)==o)}(e)?function(e,t){for(var n=-1,i=Array(e);++n-1&&e%1==0&&e-1},ey.prototype.set=function(e,t){var n=this.__data__,i=eE(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};function ew(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new eb;++ta))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,h=!0,d=2&n?new ew:void 0;for(o.set(e,t),o.set(t,e);++u-1&&e%1==0&&e<=0x1fffffffffffff}function eB(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eF(e){return null!=e&&"object"==typeof e}var eq=D?(s=D,function(e){return s(e)}):function(e){return eF(e)&&ej(e.length)&&!!O[ex(e)]};function eH(e){var t;return null!=(t=e)&&ej(t.length)&&!eD(t)?function(e,t){var n=eR(e),i=!n&&eL(e),r=!n&&!i&&eP(e),o=!n&&!i&&!r&&eq(e),s=n||i||r||o,a=s?function(e,t){for(var n=-1,i=Array(e);++n-1&&e%1==0&&e/,p=/^\w+$/;function f(e,n){return n=n||t,h.test(e)?n.getElementsByClassName(e.slice(1)):p.test(e)?n.getElementsByTagName(e):n.querySelectorAll(e)}function m(n){if(!e){var i=(e=t.implementation.createHTMLDocument(null)).createElement("base");i.href=t.location.href,e.head.appendChild(i)}return e.body.innerHTML=n,e.body.childNodes}function g(e){"loading"!==t.readyState?e():t.addEventListener("DOMContentLoaded",e)}function v(e,i){if(!e)return this;if(e.cash&&e!==n)return e;var r,o=e,s=0;if(c(e))o=u.test(e)?t.getElementById(e.slice(1)):d.test(e)?m(e):f(e,i);else if(l(e))return g(e),this;if(!o)return this;if(o.nodeType||o===n)this[0]=o,this.length=1;else for(r=this.length=o.length;sr.right-n||l+t.width>window.innerWidth-n)&&(i.right=!0),(co-n||c+t.height>window.innerHeight-n)&&(i.bottom=!0),i},M.checkPossibleAlignments=function(e,t,n,i){var r={top:!0,right:!0,bottom:!0,left:!0,spaceOnTop:null,spaceOnRight:null,spaceOnBottom:null,spaceOnLeft:null},o="visible"===getComputedStyle(t).overflow,s=t.getBoundingClientRect(),a=Math.min(s.height,window.innerHeight),l=Math.min(s.width,window.innerWidth),c=e.getBoundingClientRect(),u=t.scrollLeft,h=t.scrollTop,d=n.left-u,p=n.top-h,f=n.top+c.height-h;return r.spaceOnRight=o?window.innerWidth-(c.left+n.width):l-(d+n.width),r.spaceOnRight<0&&(r.left=!1),r.spaceOnLeft=o?c.right-n.width:d-n.width+c.width,r.spaceOnLeft<0&&(r.right=!1),r.spaceOnBottom=o?window.innerHeight-(c.top+n.height+i):a-(p+n.height+i),r.spaceOnBottom<0&&(r.top=!1),r.spaceOnTop=o?c.bottom-(n.height+i):f-(n.height-i),r.spaceOnTop<0&&(r.bottom=!1),r},M.getOverflowParent=function(e){return null==e?null:e===document.body||"visible"!==getComputedStyle(e).overflow?e:M.getOverflowParent(e.parentElement)},M.getIdFromTrigger=function(e){var t=e.getAttribute("data-target");return t||(t=(t=e.getAttribute("href"))?t.slice(1):""),t},M.getDocumentScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},M.getDocumentScrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0};var ej=Date.now||function(){return(new Date).getTime()};M.throttle=function(e,t,n){var i=void 0,r=void 0,o=void 0,s=null,a=0;n||(n={});var l=function(){a=!1===n.leading?0:ej(),s=null,o=e.apply(i,r),i=r=null};return function(){var c=ej();a||!1!==n.leading||(a=c);var u=t-(c-a);return i=this,r=arguments,u<=0?(clearTimeout(s),s=null,a=c,o=e.apply(i,r),i=r=null):s||!1===n.trailing||(s=setTimeout(l,u)),o}};var eB={scope:{}};eB.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){if(n.get||n.set)throw TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},eB.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==n.g&&null!=n.g?n.g:e},eB.global=eB.getGlobal(this),eB.SYMBOL_PREFIX="jscomp_symbol_",eB.initSymbol=function(){eB.initSymbol=function(){},eB.global.Symbol||(eB.global.Symbol=eB.Symbol)},eB.symbolCounter_=0,eB.Symbol=function(e){return eB.SYMBOL_PREFIX+(e||"")+eB.symbolCounter_++},eB.initSymbolIterator=function(){eB.initSymbol();var e=eB.global.Symbol.iterator;e||(e=eB.global.Symbol.iterator=eB.global.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&eB.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return eB.arrayIterator(this)}}),eB.initSymbolIterator=function(){}},eB.arrayIterator=function(e){var t=0;return eB.iteratorPrototype(function(){return t=F.currentTime)for(var u=0;un&&(t.duration=i.duration),t.children.push(i)}),t.seek(0),t.reset(),t.autoplay&&t.restart(),t},t},w.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},w}(),r=cash,o=M.anime,s={accordion:!0,onOpenStart:void 0,onOpenEnd:void 0,onCloseStart:void 0,onCloseEnd:void 0,inDuration:300,outDuration:300},a=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));(i.el.M_Collapsible=i).options=r.extend({},t.defaults,n),i.$headers=i.$el.children("li").children(".collapsible-header"),i.$headers.attr("tabindex",0),i._setupEventHandlers();var o=i.$el.children("li.active").children(".collapsible-body");return i.options.accordion?o.first().css("display","block"):o.css("display","block"),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Collapsible=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleCollapsibleClickBound=this._handleCollapsibleClick.bind(this),this._handleCollapsibleKeydownBound=this._handleCollapsibleKeydown.bind(this),this.el.addEventListener("click",this._handleCollapsibleClickBound),this.$headers.each(function(t){t.addEventListener("keydown",e._handleCollapsibleKeydownBound)})}},{key:"_removeEventHandlers",value:function(){var e=this;this.el.removeEventListener("click",this._handleCollapsibleClickBound),this.$headers.each(function(t){t.removeEventListener("keydown",e._handleCollapsibleKeydownBound)})}},{key:"_handleCollapsibleClick",value:function(e){var t=r(e.target).closest(".collapsible-header");if(e.target&&t.length){var n=t.closest(".collapsible");if(n[0]===this.el){var i=t.closest("li"),o=n.children("li"),s=i[0].classList.contains("active"),a=o.index(i);s?this.close(a):this.open(a)}}}},{key:"_handleCollapsibleKeydown",value:function(e){13===e.keyCode&&this._handleCollapsibleClickBound(e)}},{key:"_animateIn",value:function(e){var t=this,n=this.$el.children("li").eq(e);if(n.length){var i=n.children(".collapsible-body");o.remove(i[0]),i.css({display:"block",overflow:"hidden",height:0,paddingTop:"",paddingBottom:""});var r=i.css("padding-top"),s=i.css("padding-bottom"),a=i[0].scrollHeight;i.css({paddingTop:0,paddingBottom:0}),o({targets:i[0],height:a,paddingTop:r,paddingBottom:s,duration:this.options.inDuration,easing:"easeInOutCubic",complete:function(e){i.css({overflow:"",paddingTop:"",paddingBottom:"",height:""}),"function"==typeof t.options.onOpenEnd&&t.options.onOpenEnd.call(t,n[0])}})}}},{key:"_animateOut",value:function(e){var t=this,n=this.$el.children("li").eq(e);if(n.length){var i=n.children(".collapsible-body");o.remove(i[0]),i.css("overflow","hidden"),o({targets:i[0],height:0,paddingTop:0,paddingBottom:0,duration:this.options.outDuration,easing:"easeInOutCubic",complete:function(){i.css({height:"",overflow:"",padding:"",display:""}),"function"==typeof t.options.onCloseEnd&&t.options.onCloseEnd.call(t,n[0])}})}}},{key:"open",value:function(e){var t=this,n=this.$el.children("li").eq(e);if(n.length&&!n[0].classList.contains("active")){if("function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,n[0]),this.options.accordion){var i=this.$el.children("li");this.$el.children("li.active").each(function(e){var n=i.index(r(e));t.close(n)})}n[0].classList.add("active"),this._animateIn(e)}}},{key:"close",value:function(e){var t=this.$el.children("li").eq(e);t.length&&t[0].classList.contains("active")&&("function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,t[0]),t[0].classList.remove("active"),this._animateOut(e))}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Collapsible}},{key:"defaults",get:function(){return s}}]),t}(),M.Collapsible=a,M.jQueryLoaded&&M.initializeJqueryWrapper(a,"collapsible","M_Collapsible"),l=cash,c=M.anime,u={alignment:"left",autoFocus:!0,constrainWidth:!0,container:null,coverTrigger:!0,closeOnClick:!0,hover:!1,inDuration:150,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onItemClick:null},(h=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return i.el.M_Dropdown=i,t._dropdowns.push(i),i.id=M.getIdFromTrigger(e),i.dropdownEl=document.getElementById(i.id),i.$dropdownEl=l(i.dropdownEl),i.options=l.extend({},t.defaults,n),i.isOpen=!1,i.isScrollable=!1,i.isTouchMoving=!1,i.focusedIndex=-1,i.filterQuery=[],i.options.container?l(i.options.container).append(i.dropdownEl):i.$el.after(i.dropdownEl),i._makeDropdownFocusable(),i._resetFilterQueryBound=i._resetFilterQuery.bind(i),i._handleDocumentClickBound=i._handleDocumentClick.bind(i),i._handleDocumentTouchmoveBound=i._handleDocumentTouchmove.bind(i),i._handleDropdownClickBound=i._handleDropdownClick.bind(i),i._handleDropdownKeydownBound=i._handleDropdownKeydown.bind(i),i._handleTriggerKeydownBound=i._handleTriggerKeydown.bind(i),i._setupEventHandlers(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._resetDropdownStyles(),this._removeEventHandlers(),t._dropdowns.splice(t._dropdowns.indexOf(this),1),this.el.M_Dropdown=void 0}},{key:"_setupEventHandlers",value:function(){this.el.addEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.addEventListener("click",this._handleDropdownClickBound),this.options.hover?(this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.addEventListener("mouseleave",this._handleMouseLeaveBound)):(this._handleClickBound=this._handleClick.bind(this),this.el.addEventListener("click",this._handleClickBound))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.removeEventListener("click",this._handleDropdownClickBound),this.options.hover?(this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.removeEventListener("mouseleave",this._handleMouseLeaveBound)):this.el.removeEventListener("click",this._handleClickBound)}},{key:"_setupTemporaryEventHandlers",value:function(){document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound),document.body.addEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.addEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_removeTemporaryEventHandlers",value:function(){document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound),document.body.removeEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.removeEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_handleClick",value:function(e){e.preventDefault(),this.open()}},{key:"_handleMouseEnter",value:function(){this.open()}},{key:"_handleMouseLeave",value:function(e){var t=e.toElement||e.relatedTarget,n=!!l(t).closest(".dropdown-content").length,i=!1,r=l(t).closest(".dropdown-trigger");r.length&&r[0].M_Dropdown&&r[0].M_Dropdown.isOpen&&(i=!0),i||n||this.close()}},{key:"_handleDocumentClick",value:function(e){var t=this,n=l(e.target);this.options.closeOnClick&&n.closest(".dropdown-content").length&&!this.isTouchMoving?setTimeout(function(){t.close()},0):!n.closest(".dropdown-trigger").length&&n.closest(".dropdown-content").length||setTimeout(function(){t.close()},0),this.isTouchMoving=!1}},{key:"_handleTriggerKeydown",value:function(e){e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ENTER||this.isOpen||(e.preventDefault(),this.open())}},{key:"_handleDocumentTouchmove",value:function(e){l(e.target).closest(".dropdown-content").length&&(this.isTouchMoving=!0)}},{key:"_handleDropdownClick",value:function(e){if("function"==typeof this.options.onItemClick){var t=l(e.target).closest("li")[0];this.options.onItemClick.call(this,t)}}},{key:"_handleDropdownKeydown",value:function(e){if(e.which===M.keys.TAB)e.preventDefault(),this.close();else if((e.which===M.keys.ARROW_DOWN||e.which===M.keys.ARROW_UP)&&this.isOpen){e.preventDefault();var t=e.which===M.keys.ARROW_DOWN?1:-1,n=this.focusedIndex,i=!1;do if(n+=t,this.dropdownEl.children[n]&&-1!==this.dropdownEl.children[n].tabIndex){i=!0;break}while(nl.spaceOnBottom?(c="bottom",n+=l.spaceOnTop,o-=l.spaceOnTop):n+=l.spaceOnBottom)),!l[u]){var h="left"===u?"right":"left";l[h]?u=h:l.spaceOnLeft>l.spaceOnRight?(u="right",i+=l.spaceOnLeft,r-=l.spaceOnLeft):(u="left",i+=l.spaceOnRight)}return"bottom"===c&&(o=o-t.height+(this.options.coverTrigger?e.height:0)),"right"===u&&(r=r-t.width+e.width),{x:r,y:o,verticalAlignment:c,horizontalAlignment:u,height:n,width:i}}},{key:"_animateIn",value:function(){var e=this;c.remove(this.dropdownEl),c({targets:this.dropdownEl,opacity:{value:[0,1],easing:"easeOutQuad"},scaleX:[.3,1],scaleY:[.3,1],duration:this.options.inDuration,easing:"easeOutQuint",complete:function(t){e.options.autoFocus&&e.dropdownEl.focus(),"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}})}},{key:"_animateOut",value:function(){var e=this;c.remove(this.dropdownEl),c({targets:this.dropdownEl,opacity:{value:0,easing:"easeOutQuint"},scaleX:.3,scaleY:.3,duration:this.options.outDuration,easing:"easeOutQuint",complete:function(t){e._resetDropdownStyles(),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}})}},{key:"_placeDropdown",value:function(){var e=this.options.constrainWidth?this.el.getBoundingClientRect().width:this.dropdownEl.getBoundingClientRect().width;this.dropdownEl.style.width=e+"px";var t=this._getDropdownPosition();this.dropdownEl.style.left=t.x+"px",this.dropdownEl.style.top=t.y+"px",this.dropdownEl.style.height=t.height+"px",this.dropdownEl.style.width=t.width+"px",this.dropdownEl.style.transformOrigin=("left"===t.horizontalAlignment?"0":"100%")+" "+("top"===t.verticalAlignment?"0":"100%")}},{key:"open",value:function(){this.isOpen||(this.isOpen=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this._resetDropdownStyles(),this.dropdownEl.style.display="block",this._placeDropdown(),this._animateIn(),this._setupTemporaryEventHandlers())}},{key:"close",value:function(){this.isOpen&&(this.isOpen=!1,this.focusedIndex=-1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this._animateOut(),this._removeTemporaryEventHandlers(),this.options.autoFocus&&this.el.focus())}},{key:"recalculateDimensions",value:function(){this.isOpen&&(this.$dropdownEl.css({width:"",height:"",left:"",top:"","transform-origin":""}),this._placeDropdown())}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Dropdown}},{key:"defaults",get:function(){return u}}]),t}())._dropdowns=[],M.Dropdown=h,M.jQueryLoaded&&M.initializeJqueryWrapper(h,"dropdown","M_Dropdown"),d=cash,p=M.anime,f={opacity:.5,inDuration:250,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0,dismissible:!0,startingTop:"4%",endingTop:"10%"},(m=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Modal=i).options=d.extend({},t.defaults,n),i.isOpen=!1,i.id=i.$el.attr("id"),i._openingTrigger=void 0,i.$overlay=d(''),i.el.tabIndex=0,i._nthModalOpened=0,t._count++,i._setupEventHandlers(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){t._count--,this._removeEventHandlers(),this.el.removeAttribute("style"),this.$overlay.remove(),this.el.M_Modal=void 0}},{key:"_setupEventHandlers",value:function(){this._handleOverlayClickBound=this._handleOverlayClick.bind(this),this._handleModalCloseClickBound=this._handleModalCloseClick.bind(this),1===t._count&&document.body.addEventListener("click",this._handleTriggerClick),this.$overlay[0].addEventListener("click",this._handleOverlayClickBound),this.el.addEventListener("click",this._handleModalCloseClickBound)}},{key:"_removeEventHandlers",value:function(){0===t._count&&document.body.removeEventListener("click",this._handleTriggerClick),this.$overlay[0].removeEventListener("click",this._handleOverlayClickBound),this.el.removeEventListener("click",this._handleModalCloseClickBound)}},{key:"_handleTriggerClick",value:function(e){var t=d(e.target).closest(".modal-trigger");if(t.length){var n=M.getIdFromTrigger(t[0]),i=document.getElementById(n).M_Modal;i&&i.open(t),e.preventDefault()}}},{key:"_handleOverlayClick",value:function(){this.options.dismissible&&this.close()}},{key:"_handleModalCloseClick",value:function(e){d(e.target).closest(".modal-close").length&&this.close()}},{key:"_handleKeydown",value:function(e){27===e.keyCode&&this.options.dismissible&&this.close()}},{key:"_handleFocus",value:function(e){this.el.contains(e.target)||this._nthModalOpened!==t._modalsOpen||this.el.focus()}},{key:"_animateIn",value:function(){var e=this;d.extend(this.el.style,{display:"block",opacity:0}),d.extend(this.$overlay[0].style,{display:"block",opacity:0}),p({targets:this.$overlay[0],opacity:this.options.opacity,duration:this.options.inDuration,easing:"easeOutQuad"});var t={targets:this.el,duration:this.options.inDuration,easing:"easeOutCubic",complete:function(){"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el,e._openingTrigger)}};this.el.classList.contains("bottom-sheet")?d.extend(t,{bottom:0,opacity:1}):d.extend(t,{top:[this.options.startingTop,this.options.endingTop],opacity:1,scaleX:[.8,1],scaleY:[.8,1]}),p(t)}},{key:"_animateOut",value:function(){var e=this;p({targets:this.$overlay[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuart"});var t={targets:this.el,duration:this.options.outDuration,easing:"easeOutCubic",complete:function(){e.el.style.display="none",e.$overlay.remove(),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}};this.el.classList.contains("bottom-sheet")?d.extend(t,{bottom:"-100%",opacity:0}):d.extend(t,{top:[this.options.endingTop,this.options.startingTop],opacity:0,scaleX:.8,scaleY:.8}),p(t)}},{key:"open",value:function(e){if(!this.isOpen)return this.isOpen=!0,t._modalsOpen++,this._nthModalOpened=t._modalsOpen,this.$overlay[0].style.zIndex=1e3+2*t._modalsOpen,this.el.style.zIndex=1e3+2*t._modalsOpen+1,this._openingTrigger=e?e[0]:void 0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el,this._openingTrigger),this.options.preventScrolling&&(document.body.style.overflow="hidden"),this.el.classList.add("open"),this.el.insertAdjacentElement("afterend",this.$overlay[0]),this.options.dismissible&&(this._handleKeydownBound=this._handleKeydown.bind(this),this._handleFocusBound=this._handleFocus.bind(this),document.addEventListener("keydown",this._handleKeydownBound),document.addEventListener("focus",this._handleFocusBound,!0)),p.remove(this.el),p.remove(this.$overlay[0]),this._animateIn(),this.el.focus(),this}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,t._modalsOpen--,this._nthModalOpened=0,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this.el.classList.remove("open"),0===t._modalsOpen&&(document.body.style.overflow=""),this.options.dismissible&&(document.removeEventListener("keydown",this._handleKeydownBound),document.removeEventListener("focus",this._handleFocusBound,!0)),p.remove(this.el),p.remove(this.$overlay[0]),this._animateOut(),this}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Modal}},{key:"defaults",get:function(){return f}}]),t}())._modalsOpen=0,m._count=0,M.Modal=m,M.jQueryLoaded&&M.initializeJqueryWrapper(m,"modal","M_Modal"),g=cash,v=M.anime,y={inDuration:275,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null},b=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Materialbox=i).options=g.extend({},t.defaults,n),i.overlayActive=!1,i.doneAnimating=!0,i.placeholder=g("
").addClass("material-placeholder"),i.originalWidth=0,i.originalHeight=0,i.originInlineStyles=i.$el.attr("style"),i.caption=i.el.getAttribute("data-caption")||"",i.$el.before(i.placeholder),i.placeholder.append(i.$el),i._setupEventHandlers(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Materialbox=void 0,g(this.placeholder).after(this.el).remove(),this.$el.removeAttr("style")}},{key:"_setupEventHandlers",value:function(){this._handleMaterialboxClickBound=this._handleMaterialboxClick.bind(this),this.el.addEventListener("click",this._handleMaterialboxClickBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleMaterialboxClickBound)}},{key:"_handleMaterialboxClick",value:function(e){!1===this.doneAnimating||this.overlayActive&&this.doneAnimating?this.close():this.open()}},{key:"_handleWindowScroll",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowResize",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowEscape",value:function(e){27===e.keyCode&&this.doneAnimating&&this.overlayActive&&this.close()}},{key:"_makeAncestorsOverflowVisible",value:function(){this.ancestorsChanged=g();for(var e=this.placeholder[0].parentNode;null!==e&&!g(e).is(document);){var t=g(e);"visible"!==t.css("overflow")&&(t.css("overflow","visible"),void 0===this.ancestorsChanged?this.ancestorsChanged=t:this.ancestorsChanged=this.ancestorsChanged.add(t)),e=e.parentNode}}},{key:"_animateImageIn",value:function(){var e=this,t={targets:this.el,height:[this.originalHeight,this.newHeight],width:[this.originalWidth,this.newWidth],left:M.getDocumentScrollLeft()+this.windowWidth/2-this.placeholder.offset().left-this.newWidth/2,top:M.getDocumentScrollTop()+this.windowHeight/2-this.placeholder.offset().top-this.newHeight/2,duration:this.options.inDuration,easing:"easeOutQuad",complete:function(){e.doneAnimating=!0,"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}};this.maxWidth=this.$el.css("max-width"),this.maxHeight=this.$el.css("max-height"),"none"!==this.maxWidth&&(t.maxWidth=this.newWidth),"none"!==this.maxHeight&&(t.maxHeight=this.newHeight),v(t)}},{key:"_animateImageOut",value:function(){var e=this;v({targets:this.el,width:this.originalWidth,height:this.originalHeight,left:0,top:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e.placeholder.css({height:"",width:"",position:"",top:"",left:""}),e.attrWidth&&e.$el.attr("width",e.attrWidth),e.attrHeight&&e.$el.attr("height",e.attrHeight),e.$el.removeAttr("style"),e.originInlineStyles&&e.$el.attr("style",e.originInlineStyles),e.$el.removeClass("active"),e.doneAnimating=!0,e.ancestorsChanged.length&&e.ancestorsChanged.css("overflow",""),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}})}},{key:"_updateVars",value:function(){this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight,this.caption=this.el.getAttribute("data-caption")||""}},{key:"open",value:function(){var e=this;this._updateVars(),this.originalWidth=this.el.getBoundingClientRect().width,this.originalHeight=this.el.getBoundingClientRect().height,this.doneAnimating=!1,this.$el.addClass("active"),this.overlayActive=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this.placeholder.css({width:this.placeholder[0].getBoundingClientRect().width+"px",height:this.placeholder[0].getBoundingClientRect().height+"px",position:"relative",top:0,left:0}),this._makeAncestorsOverflowVisible(),this.$el.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}),this.attrWidth=this.$el.attr("width"),this.attrHeight=this.$el.attr("height"),this.attrWidth&&(this.$el.css("width",this.attrWidth+"px"),this.$el.removeAttr("width")),this.attrHeight&&(this.$el.css("width",this.attrHeight+"px"),this.$el.removeAttr("height")),this.$overlay=g('
').css({opacity:0}).one("click",function(){e.doneAnimating&&e.close()}),this.$el.before(this.$overlay);var t=this.$overlay[0].getBoundingClientRect();this.$overlay.css({width:this.windowWidth+"px",height:this.windowHeight+"px",left:-1*t.left+"px",top:-1*t.top+"px"}),v.remove(this.el),v.remove(this.$overlay[0]),v({targets:this.$overlay[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}),""!==this.caption&&(this.$photocaption&&v.remove(this.$photoCaption[0]),this.$photoCaption=g('
'),this.$photoCaption.text(this.caption),g("body").append(this.$photoCaption),this.$photoCaption.css({display:"inline"}),v({targets:this.$photoCaption[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}));var n=0,i=this.originalWidth/this.windowWidth,r=this.originalHeight/this.windowHeight;this.newWidth=0,this.newHeight=0,ri.options.responsiveThreshold,i.$img=i.$el.find("img").first(),i.$img.each(function(){this.complete&&w(this).trigger("load")}),i._updateParallax(),i._setupEventHandlers(),i._setupStyles(),t._parallaxes.push(i),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){t._parallaxes.splice(t._parallaxes.indexOf(this),1),this.$img[0].style.transform="",this._removeEventHandlers(),this.$el[0].M_Parallax=void 0}},{key:"_setupEventHandlers",value:function(){this._handleImageLoadBound=this._handleImageLoad.bind(this),this.$img[0].addEventListener("load",this._handleImageLoadBound),0===t._parallaxes.length&&(t._handleScrollThrottled=M.throttle(t._handleScroll,5),window.addEventListener("scroll",t._handleScrollThrottled),t._handleWindowResizeThrottled=M.throttle(t._handleWindowResize,5),window.addEventListener("resize",t._handleWindowResizeThrottled))}},{key:"_removeEventHandlers",value:function(){this.$img[0].removeEventListener("load",this._handleImageLoadBound),0===t._parallaxes.length&&(window.removeEventListener("scroll",t._handleScrollThrottled),window.removeEventListener("resize",t._handleWindowResizeThrottled))}},{key:"_setupStyles",value:function(){this.$img[0].style.opacity=1}},{key:"_handleImageLoad",value:function(){this._updateParallax()}},{key:"_updateParallax",value:function(){var e=0n.options.responsiveThreshold}}},{key:"defaults",get:function(){return _}}]),t}())._parallaxes=[],M.Parallax=E,M.jQueryLoaded&&M.initializeJqueryWrapper(E,"parallax","M_Parallax"),x=cash,k=M.anime,T={duration:300,onShow:null,swipeable:!1,responsiveThreshold:1/0},O=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Tabs=i).options=x.extend({},t.defaults,n),i.$tabLinks=i.$el.children("li.tab").children("a"),i.index=0,i._setupActiveTabLink(),i.options.swipeable?i._setupSwipeableTabs():i._setupNormalTabs(),i._setTabsAndTabWidth(),i._createIndicator(),i._setupEventHandlers(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this._indicator.parentNode.removeChild(this._indicator),this.options.swipeable?this._teardownSwipeableTabs():this._teardownNormalTabs(),this.$el[0].M_Tabs=void 0}},{key:"_setupEventHandlers",value:function(){this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound),this._handleTabClickBound=this._handleTabClick.bind(this),this.el.addEventListener("click",this._handleTabClickBound)}},{key:"_removeEventHandlers",value:function(){window.removeEventListener("resize",this._handleWindowResizeBound),this.el.removeEventListener("click",this._handleTabClickBound)}},{key:"_handleWindowResize",value:function(){this._setTabsAndTabWidth(),0!==this.tabWidth&&0!==this.tabsWidth&&(this._indicator.style.left=this._calcLeftPos(this.$activeTabLink)+"px",this._indicator.style.right=this._calcRightPos(this.$activeTabLink)+"px")}},{key:"_handleTabClick",value:function(e){var t=this,n=x(e.target).closest("li.tab"),i=x(e.target).closest("a");if(i.length&&i.parent().hasClass("tab")){if(n.hasClass("disabled"))e.preventDefault();else if(!i.attr("target")){this.$activeTabLink.removeClass("active");var r=this.$content;this.$activeTabLink=i,this.$content=x(M.escapeHash(i[0].hash)),this.$tabLinks=this.$el.children("li.tab").children("a"),this.$activeTabLink.addClass("active");var o=this.index;this.index=Math.max(this.$tabLinks.index(i),0),this.options.swipeable?this._tabsCarousel&&this._tabsCarousel.set(this.index,function(){"function"==typeof t.options.onShow&&t.options.onShow.call(t,t.$content[0])}):this.$content.length&&(this.$content[0].style.display="block",this.$content.addClass("active"),"function"==typeof this.options.onShow&&this.options.onShow.call(this,this.$content[0]),r.length&&!r.is(this.$content)&&(r[0].style.display="none",r.removeClass("active"))),this._setTabsAndTabWidth(),this._animateIndicator(o),e.preventDefault()}}}},{key:"_createIndicator",value:function(){var e=this,t=document.createElement("li");t.classList.add("indicator"),this.el.appendChild(t),this._indicator=t,setTimeout(function(){e._indicator.style.left=e._calcLeftPos(e.$activeTabLink)+"px",e._indicator.style.right=e._calcRightPos(e.$activeTabLink)+"px"},0)}},{key:"_setupActiveTabLink",value:function(){this.$activeTabLink=x(this.$tabLinks.filter('[href="'+location.hash+'"]')),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a.active").first()),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a").first()),this.$tabLinks.removeClass("active"),this.$activeTabLink[0].classList.add("active"),this.index=Math.max(this.$tabLinks.index(this.$activeTabLink),0),this.$activeTabLink.length&&(this.$content=x(M.escapeHash(this.$activeTabLink[0].hash)),this.$content.addClass("active"))}},{key:"_setupSwipeableTabs",value:function(){var e=this;window.innerWidth>this.options.responsiveThreshold&&(this.options.swipeable=!1);var t=x();this.$tabLinks.each(function(e){var n=x(M.escapeHash(e.hash));n.addClass("carousel-item"),t=t.add(n)});var n=x('');t.first().before(n),n.append(t),t[0].style.display="";var i=this.$activeTabLink.closest(".tab").index();this._tabsCarousel=M.Carousel.init(n[0],{fullWidth:!0,noWrap:!0,onCycleTo:function(t){var n=e.index;e.index=x(t).index(),e.$activeTabLink.removeClass("active"),e.$activeTabLink=e.$tabLinks.eq(e.index),e.$activeTabLink.addClass("active"),e._animateIndicator(n),"function"==typeof e.options.onShow&&e.options.onShow.call(e,e.$content[0])}}),this._tabsCarousel.set(i)}},{key:"_teardownSwipeableTabs",value:function(){var e=this._tabsCarousel.$el;this._tabsCarousel.destroy(),e.after(e.children()),e.remove()}},{key:"_setupNormalTabs",value:function(){this.$tabLinks.not(this.$activeTabLink).each(function(e){if(e.hash){var t=x(M.escapeHash(e.hash));t.length&&(t[0].style.display="none")}})}},{key:"_teardownNormalTabs",value:function(){this.$tabLinks.each(function(e){if(e.hash){var t=x(M.escapeHash(e.hash));t.length&&(t[0].style.display="")}})}},{key:"_setTabsAndTabWidth",value:function(){this.tabsWidth=this.$el.width(),this.tabWidth=Math.max(this.tabsWidth,this.el.scrollWidth)/this.$tabLinks.length}},{key:"_calcRightPos",value:function(e){return Math.ceil(this.tabsWidth-e.position().left-e[0].getBoundingClientRect().width)}},{key:"_calcLeftPos",value:function(e){return Math.floor(e.position().left)}},{key:"updateTabIndicator",value:function(){this._setTabsAndTabWidth(),this._animateIndicator(this.index)}},{key:"_animateIndicator",value:function(e){var t=0,n=0;0<=this.index-e?t=90:n=90;var i={targets:this._indicator,left:{value:this._calcLeftPos(this.$activeTabLink),delay:t},right:{value:this._calcRightPos(this.$activeTabLink),delay:n},duration:this.options.duration,easing:"easeOutQuad"};k.remove(this._indicator),k(i)}},{key:"select",value:function(e){var t=this.$tabLinks.filter('[href="#'+e+'"]');t.length&&t.trigger("click")}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Tabs}},{key:"defaults",get:function(){return T}}]),t}(),M.Tabs=O,M.jQueryLoaded&&M.initializeJqueryWrapper(O,"tabs","M_Tabs"),C=cash,A=M.anime,S={exitDelay:200,enterDelay:0,html:null,margin:5,inDuration:250,outDuration:200,position:"bottom",transitionMovement:10},N=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Tooltip=i).options=C.extend({},t.defaults,n),i.isOpen=!1,i.isHovered=!1,i.isFocused=!1,i._appendTooltipEl(),i._setupEventHandlers(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){C(this.tooltipEl).remove(),this._removeEventHandlers(),this.el.M_Tooltip=void 0}},{key:"_appendTooltipEl",value:function(){var e=document.createElement("div");e.classList.add("material-tooltip"),this.tooltipEl=e;var t=document.createElement("div");t.classList.add("tooltip-content"),t.innerHTML=this.options.html,e.appendChild(t),document.body.appendChild(e)}},{key:"_updateTooltipContent",value:function(){this.tooltipEl.querySelector(".tooltip-content").innerHTML=this.options.html}},{key:"_setupEventHandlers",value:function(){this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this._handleFocusBound=this._handleFocus.bind(this),this._handleBlurBound=this._handleBlur.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.el.addEventListener("focus",this._handleFocusBound,!0),this.el.addEventListener("blur",this._handleBlurBound,!0)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.el.removeEventListener("focus",this._handleFocusBound,!0),this.el.removeEventListener("blur",this._handleBlurBound,!0)}},{key:"open",value:function(e){this.isOpen||(e=void 0===e||void 0,this.isOpen=!0,this.options=C.extend({},this.options,this._getAttributeOptions()),this._updateTooltipContent(),this._setEnterDelayTimeout(e))}},{key:"close",value:function(){this.isOpen&&(this.isHovered=!1,this.isFocused=!1,this.isOpen=!1,this._setExitDelayTimeout())}},{key:"_setExitDelayTimeout",value:function(){var e=this;clearTimeout(this._exitDelayTimeout),this._exitDelayTimeout=setTimeout(function(){e.isHovered||e.isFocused||e._animateOut()},this.options.exitDelay)}},{key:"_setEnterDelayTimeout",value:function(e){var t=this;clearTimeout(this._enterDelayTimeout),this._enterDelayTimeout=setTimeout(function(){(t.isHovered||t.isFocused||e)&&t._animateIn()},this.options.enterDelay)}},{key:"_positionTooltip",value:function(){var e,t=this.el,n=this.tooltipEl,i=t.offsetHeight,r=t.offsetWidth,o=n.offsetHeight,s=n.offsetWidth,a=this.options.margin,l=void 0,c=void 0;this.xMovement=0,this.yMovement=0,l=t.getBoundingClientRect().top+M.getDocumentScrollTop(),c=t.getBoundingClientRect().left+M.getDocumentScrollLeft(),"top"===this.options.position?(l+=-o-a,c+=r/2-s/2,this.yMovement=-this.options.transitionMovement):"right"===this.options.position?(l+=i/2-o/2,c+=r+a,this.xMovement=this.options.transitionMovement):"left"===this.options.position?(l+=i/2-o/2,c+=-s-a,this.xMovement=-this.options.transitionMovement):(l+=i+a,c+=r/2-s/2,this.yMovement=this.options.transitionMovement),e=this._repositionWithinScreen(c,l,s,o),C(n).css({top:e.y+"px",left:e.x+"px"})}},{key:"_repositionWithinScreen",value:function(e,t,n,i){var r=M.getDocumentScrollLeft(),o=M.getDocumentScrollTop(),s=e-r,a=t-o,l={left:s,top:a,width:n,height:i},c=this.options.margin+this.options.transitionMovement,u=M.checkWithinContainer(document.body,l,c);return u.left?s=c:u.right&&(s-=s+n-window.innerWidth),u.top?a=c:u.bottom&&(a-=a+i-window.innerHeight),{x:s+r,y:a+o}}},{key:"_animateIn",value:function(){this._positionTooltip(),this.tooltipEl.style.visibility="visible",A.remove(this.tooltipEl),A({targets:this.tooltipEl,opacity:1,translateX:this.xMovement,translateY:this.yMovement,duration:this.options.inDuration,easing:"easeOutCubic"})}},{key:"_animateOut",value:function(){A.remove(this.tooltipEl),A({targets:this.tooltipEl,opacity:0,translateX:0,translateY:0,duration:this.options.outDuration,easing:"easeOutCubic"})}},{key:"_handleMouseEnter",value:function(){this.isHovered=!0,this.isFocused=!1,this.open(!1)}},{key:"_handleMouseLeave",value:function(){this.isHovered=!1,this.isFocused=!1,this.close()}},{key:"_handleFocus",value:function(){M.tabPressed&&(this.isFocused=!0,this.open(!1))}},{key:"_handleBlur",value:function(){this.isFocused=!1,this.close()}},{key:"_getAttributeOptions",value:function(){var e={},t=this.el.getAttribute("data-tooltip"),n=this.el.getAttribute("data-position");return t&&(e.html=t),n&&(e.position=n),e}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Tooltip}},{key:"defaults",get:function(){return S}}]),t}(),M.Tooltip=N,M.jQueryLoaded&&M.initializeJqueryWrapper(N,"tooltip","M_Tooltip"),function(e){"use strict";var t=t||{},n=document.querySelectorAll.bind(document);function i(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}var r={duration:750,show:function(e,t){if(2===e.button)return!1;var n=t||this,o=document.createElement("div");o.className="waves-ripple",n.appendChild(o);var s,a,l,c,u=(l={top:0,left:0},s=(c=n&&n.ownerDocument).documentElement,void 0!==n.getBoundingClientRect&&(l=n.getBoundingClientRect()),a=null!==c&&c===c.window?c:9===c.nodeType&&c.defaultView,{top:l.top+a.pageYOffset-s.clientTop,left:l.left+a.pageXOffset-s.clientLeft}),h=e.pageY-u.top,d=e.pageX-u.left,p="scale("+n.clientWidth/100*10+")";"touches"in e&&(h=e.touches[0].pageY-u.top,d=e.touches[0].pageX-u.left),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-scale",p),o.setAttribute("data-x",d),o.setAttribute("data-y",h);var f={top:h+"px",left:d+"px"};o.className=o.className+" waves-notransition",o.setAttribute("style",i(f)),o.className=o.className.replace("waves-notransition",""),f["-webkit-transform"]=p,f["-moz-transform"]=p,f["-ms-transform"]=p,f["-o-transform"]=p,f.transform=p,f.opacity="1",f["-webkit-transition-duration"]=r.duration+"ms",f["-moz-transition-duration"]=r.duration+"ms",f["-o-transition-duration"]=r.duration+"ms",f["transition-duration"]=r.duration+"ms",f["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",o.setAttribute("style",i(f))},hide:function(e){o.touchup(e);var t=this,n=(t.clientWidth,null),s=t.getElementsByClassName("waves-ripple");if(!(0t.el.offsetWidth*t.options.activationPercent||1"+o+""+s+""+a+""),n.length&&t.prepend(n)}},{key:"_resetCurrentElement",value:function(){this.activeIndex=-1,this.$active.removeClass("active")}},{key:"_resetAutocomplete",value:function(){X(this.container).empty(),this._resetCurrentElement(),this.oldVal=null,this.isOpen=!1,this._mousedown=!1}},{key:"selectOption",value:function(e){var t=e.text().trim();this.el.value=t,this.$el.trigger("change"),this._resetAutocomplete(),this.close(),"function"==typeof this.options.onAutocomplete&&this.options.onAutocomplete.call(this,t)}},{key:"_renderDropdown",value:function(e,t){var n=this;this._resetAutocomplete();var i=[];for(var r in e)if(e.hasOwnProperty(r)&&-1!==r.toLowerCase().indexOf(t)){if(this.count>=this.options.limit)break;var o={data:e[r],key:r};i.push(o),this.count++}this.options.sortFunction&&i.sort(function(e,i){return n.options.sortFunction(e.key.toLowerCase(),i.key.toLowerCase(),t.toLowerCase())});for(var s=0;s");a.data?l.append(''+a.key+""):l.append(""+a.key+""),X(this.container).append(l),this._highlight(t,l)}}},{key:"open",value:function(){var e=this.el.value.toLowerCase();this._resetAutocomplete(),e.length>=this.options.minLength&&(this.isOpen=!0,this._renderDropdown(this.options.data,e)),this.dropdown.isOpen?this.dropdown.recalculateDimensions():this.dropdown.open()}},{key:"close",value:function(){this.dropdown.close()}},{key:"updateData",value:function(e){var t=this.el.value.toLowerCase();this.options.data=e,this.isOpen&&this._renderDropdown(e,t)}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Autocomplete}},{key:"defaults",get:function(){return W}}]),t}())._keydown=!1,M.Autocomplete=V,M.jQueryLoaded&&M.initializeJqueryWrapper(V,"autocomplete","M_Autocomplete"),K=cash,M.updateTextFields=function(){K("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea").each(function(e,t){var n=K(this);0'),K("body").append(t));var n=e.css("font-family"),i=e.css("font-size"),r=e.css("line-height"),o=e.css("padding-top"),s=e.css("padding-right"),a=e.css("padding-bottom"),l=e.css("padding-left");i&&t.css("font-size",i),n&&t.css("font-family",n),r&&t.css("line-height",r),o&&t.css("padding-top",o),s&&t.css("padding-right",s),a&&t.css("padding-bottom",a),l&&t.css("padding-left",l),e.data("original-height")||e.data("original-height",e.height()),"off"===e.attr("wrap")&&t.css("overflow-wrap","normal").css("white-space","pre"),t.text(e[0].value+"\n");var c=t.html().replace(/\n/g,"
");t.html(c),0'),this.$slides.each(function(t,n){var i=G('
  • ');e.$indicators.append(i[0])}),this.$el.append(this.$indicators[0]),this.$indicators=this.$indicators.children("li.indicator-item"))}},{key:"_removeIndicators",value:function(){this.$el.find("ul.indicators").remove()}},{key:"set",value:function(e){var t=this;if(e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.activeIndex!=e){this.$active=this.$slides.eq(this.activeIndex);var n=this.$active.find(".caption");this.$active.removeClass("active"),Y({targets:this.$active[0],opacity:0,duration:this.options.duration,easing:"easeOutQuad",complete:function(){t.$slides.not(".active").each(function(e){Y({targets:e,opacity:0,translateX:0,translateY:0,duration:0,easing:"easeOutQuad"})})}}),this._animateCaptionIn(n[0],this.options.duration),this.options.indicators&&(this.$indicators.eq(this.activeIndex).removeClass("active"),this.$indicators.eq(e).addClass("active")),Y({targets:this.$slides.eq(e)[0],opacity:1,duration:this.options.duration,easing:"easeOutQuad"}),Y({targets:this.$slides.eq(e).find(".caption")[0],opacity:1,translateX:0,translateY:0,duration:this.options.duration,delay:this.options.duration,easing:"easeOutQuad"}),this.$slides.eq(e).addClass("active"),this.activeIndex=e,this.start()}}},{key:"pause",value:function(){clearInterval(this.interval)}},{key:"start",value:function(){clearInterval(this.interval),this.interval=setInterval(this._handleIntervalBound,this.options.duration+this.options.interval)}},{key:"next",value:function(){var e=this.activeIndex+1;e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.set(e)}},{key:"prev",value:function(){var e=this.activeIndex-1;e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.set(e)}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Slider}},{key:"defaults",get:function(){return Z}}]),t}(),M.Slider=Q,M.jQueryLoaded&&M.initializeJqueryWrapper(Q,"slider","M_Slider"),function(e,t){e(document).on("click",".card",function(n){if(e(this).children(".card-reveal").length){var i=e(n.target).closest(".card");void 0===i.data("initialOverflow")&&i.data("initialOverflow",void 0===i.css("overflow")?"":i.css("overflow"));var r=e(this).find(".card-reveal");e(n.target).is(e(".card-reveal .card-title"))||e(n.target).is(e(".card-reveal .card-title i"))?t({targets:r[0],translateY:0,duration:225,easing:"easeInOutQuad",complete:function(t){e(t.animatables[0].target).css({display:"none"}),i.css("overflow",i.data("initialOverflow"))}}):(e(n.target).is(e(".card .activator"))||e(n.target).is(e(".card .activator i")))&&(i.css("overflow","hidden"),r.css({display:"block"}),t({targets:r[0],translateY:"-100%",duration:300,easing:"easeInOutQuad"}))}})}(cash,M.anime),J=cash,ee={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{},limit:1/0,onChipAdd:null,onChipSelect:null,onChipDelete:null},(et=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Chips=i).options=J.extend({},t.defaults,n),i.$el.addClass("chips input-field"),i.chipsData=[],i.$chips=J(),i._setupInput(),i.hasAutocomplete=0"),this.$el.append(this.$input)),this.$input.addClass("input")}},{key:"_setupLabel",value:function(){this.$label=this.$el.find("label"),this.$label.length&&this.$label.setAttribute("for",this.$input.attr("id"))}},{key:"_setPlaceholder",value:function(){void 0!==this.chipsData&&!this.chipsData.length&&this.options.placeholder?J(this.$input).prop("placeholder",this.options.placeholder):(void 0===this.chipsData||this.chipsData.length)&&this.options.secondaryPlaceholder&&J(this.$input).prop("placeholder",this.options.secondaryPlaceholder)}},{key:"_isValid",value:function(e){if(e.hasOwnProperty("tag")&&""!==e.tag){for(var t=!1,n=0;n=this.options.limit)){var t=this._renderChip(e);this.$chips.add(t),this.chipsData.push(e),J(this.$input).before(t),this._setPlaceholder(),"function"==typeof this.options.onChipAdd&&this.options.onChipAdd.call(this,this.$el,t)}}},{key:"deleteChip",value:function(e){var t=this.$chips.eq(e);this.$chips.eq(e).remove(),this.$chips=this.$chips.filter(function(e){return 0<=J(e).index()}),this.chipsData.splice(e,1),this._setPlaceholder(),"function"==typeof this.options.onChipDelete&&this.options.onChipDelete.call(this,this.$el,t[0])}},{key:"selectChip",value:function(e){var t=this.$chips.eq(e);(this._selectedChip=t)[0].focus(),"function"==typeof this.options.onChipSelect&&this.options.onChipSelect.call(this,this.$el,t[0])}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Chips}},{key:"_handleChipsKeydown",value:function(e){t._keydown=!0;var n=J(e.target).closest(".chips"),i=e.target&&n.length;if(!J(e.target).is("input, textarea")&&i){var r=n[0].M_Chips;if(8===e.keyCode||46===e.keyCode){e.preventDefault();var o=r.chipsData.length;if(r._selectedChip){var s=r._selectedChip.index();r.deleteChip(s),r._selectedChip=null,o=Math.max(s-1,0)}r.chipsData.length&&r.selectChip(o)}else if(37===e.keyCode){if(r._selectedChip){var a=r._selectedChip.index()-1;if(a<0)return;r.selectChip(a)}}else if(39===e.keyCode&&r._selectedChip){var l=r._selectedChip.index()+1;l>=r.chipsData.length?r.$input[0].focus():r.selectChip(l)}}}},{key:"_handleChipsKeyup",value:function(e){t._keydown=!1}},{key:"_handleChipsBlur",value:function(e){t._keydown||(J(e.target).closest(".chips")[0].M_Chips._selectedChip=null)}},{key:"defaults",get:function(){return ee}}]),t}())._keydown=!1,M.Chips=et,M.jQueryLoaded&&M.initializeJqueryWrapper(et,"chips","M_Chips"),J(document).ready(function(){J(document.body).on("click",".chip .close",function(){var e=J(this).closest(".chips");e.length&&e[0].M_Chips||J(this).closest(".chip").remove()})}),en=cash,ei={top:0,bottom:1/0,offset:0,onPositionChange:null},(er=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Pushpin=i).options=en.extend({},t.defaults,n),i.originalOffset=i.el.offsetTop,t._pushpins.push(i),i._setupEventHandlers(),i._updatePosition(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this.el.style.top=null,this._removePinClasses(),this._removeEventHandlers();var e=t._pushpins.indexOf(this);t._pushpins.splice(e,1)}},{key:"_setupEventHandlers",value:function(){document.addEventListener("scroll",t._updateElements)}},{key:"_removeEventHandlers",value:function(){document.removeEventListener("scroll",t._updateElements)}},{key:"_updatePosition",value:function(){var e=M.getDocumentScrollTop()+this.options.offset;this.options.top<=e&&this.options.bottom>=e&&!this.el.classList.contains("pinned")&&(this._removePinClasses(),this.el.style.top=this.options.offset+"px",this.el.classList.add("pinned"),"function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pinned")),ethis.options.bottom&&!this.el.classList.contains("pin-bottom")&&(this._removePinClasses(),this.el.classList.add("pin-bottom"),this.el.style.top=this.options.bottom-this.originalOffset+"px","function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pin-bottom"))}},{key:"_removePinClasses",value:function(){this.el.classList.remove("pin-top"),this.el.classList.remove("pinned"),this.el.classList.remove("pin-bottom")}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Pushpin}},{key:"_updateElements",value:function(){for(var e in t._pushpins)t._pushpins[e]._updatePosition()}},{key:"defaults",get:function(){return ei}}]),t}())._pushpins=[],M.Pushpin=er,M.jQueryLoaded&&M.initializeJqueryWrapper(er,"pushpin","M_Pushpin"),eo=cash,es=M.anime,ea={direction:"top",hoverEnabled:!0,toolbarEnabled:!1},eo.fn.reverse=[].reverse,el=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_FloatingActionButton=i).options=eo.extend({},t.defaults,n),i.isOpen=!1,i.$anchor=i.$el.children("a").first(),i.$menu=i.$el.children("ul").first(),i.$floatingBtns=i.$el.find("ul .btn-floating"),i.$floatingBtnsReverse=i.$el.find("ul .btn-floating").reverse(),i.offsetY=0,i.offsetX=0,i.$el.addClass("direction-"+i.options.direction),"top"===i.options.direction?i.offsetY=40:"right"===i.options.direction?i.offsetX=-40:"bottom"===i.options.direction?i.offsetY=-40:i.offsetX=40,i._setupEventHandlers(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_FloatingActionButton=void 0}},{key:"_setupEventHandlers",value:function(){this._handleFABClickBound=this._handleFABClick.bind(this),this._handleOpenBound=this.open.bind(this),this._handleCloseBound=this.close.bind(this),this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.addEventListener("mouseenter",this._handleOpenBound),this.el.addEventListener("mouseleave",this._handleCloseBound)):this.el.addEventListener("click",this._handleFABClickBound)}},{key:"_removeEventHandlers",value:function(){this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.removeEventListener("mouseenter",this._handleOpenBound),this.el.removeEventListener("mouseleave",this._handleCloseBound)):this.el.removeEventListener("click",this._handleFABClickBound)}},{key:"_handleFABClick",value:function(){this.isOpen?this.close():this.open()}},{key:"_handleDocumentClick",value:function(e){eo(e.target).closest(this.$menu).length||this.close()}},{key:"open",value:function(){this.isOpen||(this.options.toolbarEnabled?this._animateInToolbar():this._animateInFAB(),this.isOpen=!0)}},{key:"close",value:function(){this.isOpen&&(this.options.toolbarEnabled?(window.removeEventListener("scroll",this._handleCloseBound,!0),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),this._animateOutToolbar()):this._animateOutFAB(),this.isOpen=!1)}},{key:"_animateInFAB",value:function(){var e=this;this.$el.addClass("active");var t=0;this.$floatingBtnsReverse.each(function(n){es({targets:n,opacity:1,scale:[.4,1],translateY:[e.offsetY,0],translateX:[e.offsetX,0],duration:275,delay:t,easing:"easeInOutQuad"}),t+=40})}},{key:"_animateOutFAB",value:function(){var e=this;this.$floatingBtnsReverse.each(function(t){es.remove(t),es({targets:t,opacity:0,scale:.4,translateY:e.offsetY,translateX:e.offsetX,duration:175,easing:"easeOutQuad",complete:function(){e.$el.removeClass("active")}})})}},{key:"_animateInToolbar",value:function(){var e,t=this,n=window.innerWidth,i=window.innerHeight,r=this.el.getBoundingClientRect(),o=eo('
    '),s=this.$anchor.css("background-color");this.$anchor.append(o),this.offsetX=r.left-n/2+r.width/2,this.offsetY=i-r.bottom,e=n/o[0].clientWidth,this.btnBottom=r.bottom,this.btnLeft=r.left,this.btnWidth=r.width,this.$el.addClass("active"),this.$el.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+this.offsetX+"px)",transition:"none"}),this.$anchor.css({transform:"translateY("+-this.offsetY+"px)",transition:"none"}),o.css({"background-color":s}),setTimeout(function(){t.$el.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),t.$anchor.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){t.$el.css({overflow:"hidden","background-color":s}),o.css({transform:"scale("+e+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),t.$menu.children("li").children("a").css({opacity:1}),t._handleDocumentClickBound=t._handleDocumentClick.bind(t),window.addEventListener("scroll",t._handleCloseBound,!0),document.body.addEventListener("click",t._handleDocumentClickBound,!0)},100)},0)}},{key:"_animateOutToolbar",value:function(){var e=this,t=window.innerWidth,n=window.innerHeight,i=this.$el.find(".fab-backdrop"),r=this.$anchor.css("background-color");this.offsetX=this.btnLeft-t/2+this.btnWidth/2,this.offsetY=n-this.btnBottom,this.$el.removeClass("active"),this.$el.css({"background-color":"transparent",transition:"none"}),this.$anchor.css({transition:"none"}),i.css({transform:"scale(0)","background-color":r}),this.$menu.children("li").children("a").css({opacity:""}),setTimeout(function(){i.remove(),e.$el.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-e.offsetX+"px,0,0)"}),e.$anchor.css({overflow:"",transform:"translate3d(0,"+e.offsetY+"px,0)"}),setTimeout(function(){e.$el.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),e.$anchor.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200)}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_FloatingActionButton}},{key:"defaults",get:function(){return ea}}]),t}(),M.FloatingActionButton=el,M.jQueryLoaded&&M.initializeJqueryWrapper(el,"floatingActionButton","M_FloatingActionButton"),ec=cash,eu={autoClose:!1,format:"mmm dd, yyyy",parse:null,defaultDate:null,setDefaultDate:!1,disableWeekends:!1,disableDayFn:null,firstDay:0,minDate:null,maxDate:null,yearRange:10,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,container:null,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok",previousMonth:"‹",nextMonth:"›",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysAbbrev:["S","M","T","W","T","F","S"]},events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null},(eh=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));(i.el.M_Datepicker=i).options=ec.extend({},t.defaults,n),n&&n.hasOwnProperty("i18n")&&"object"==typeof n.i18n&&(i.options.i18n=ec.extend({},t.defaults.i18n,n.i18n)),i.options.minDate&&i.options.minDate.setHours(0,0,0,0),i.options.maxDate&&i.options.maxDate.setHours(0,0,0,0),i.id=M.guid(),i._setupVariables(),i._insertHTMLIntoDOM(),i._setupModal(),i._setupEventHandlers(),i.options.defaultDate||(i.options.defaultDate=new Date(Date.parse(i.el.value)));var r=i.options.defaultDate;return t._isDate(r)?i.options.setDefaultDate?(i.setDate(r,!0),i.setInputValue()):i.gotoDate(r):i.gotoDate(new Date),i.isOpen=!1,i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),ec(this.modalEl).remove(),this.destroySelects(),this.el.M_Datepicker=void 0}},{key:"destroySelects",value:function(){var e=this.calendarEl.querySelector(".orig-select-year");e&&M.FormSelect.getInstance(e).destroy();var t=this.calendarEl.querySelector(".orig-select-month");t&&M.FormSelect.getInstance(t).destroy()}},{key:"_insertHTMLIntoDOM",value:function(){this.options.showClearBtn&&(ec(this.clearBtn).css({visibility:""}),this.clearBtn.innerHTML=this.options.i18n.clear),this.doneBtn.innerHTML=this.options.i18n.done,this.cancelBtn.innerHTML=this.options.i18n.cancel,this.options.container?this.$modalEl.appendTo(this.options.container):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var e=this;this.modalEl.id="modal-"+this.id,this.modal=M.Modal.init(this.modalEl,{onCloseEnd:function(){e.isOpen=!1}})}},{key:"toString",value:function(e){var n=this;return e=e||this.options.format,t._isDate(this.date)?e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g).map(function(e){return n.formats[e]?n.formats[e]():e}).join(""):""}},{key:"setDate",value:function(e,n){if(!e)return this.date=null,this._renderDateDisplay(),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),t._isDate(e)){var i=this.options.minDate,r=this.options.maxDate;t._isDate(i)&&er.maxDate||r.disableWeekends&&t._isWeekend(w)||r.disableDayFn&&r.disableDayFn(w),isEmpty:k,isStartRange:A,isEndRange:S,isInRange:N,showDaysInNextAndPreviousMonths:r.showDaysInNextAndPreviousMonths};c.push(this.renderDay(I)),7==++b&&(l.push(this.renderRow(c,r.isRTL,v)),b=0,c=[],v=!1)}return this.renderTable(r,l,i)}},{key:"renderDay",value:function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'';t.push("is-outside-current-month"),t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'"}},{key:"renderRow",value:function(e,t,n){return''+(t?e.reverse():e).join("")+""}},{key:"renderTable",value:function(e,t,n){return'
    '+this.renderHead(e)+this.renderBody(t)+"
    "}},{key:"renderHead",value:function(e){var t=void 0,n=[];for(t=0;t<7;t++)n.push(''+this.renderDayName(e,t,!0)+"");return""+(e.isRTL?n.reverse():n).join("")+""}},{key:"renderBody",value:function(e){return""+e.join("")+""}},{key:"renderTitle",value:function(e,t,n,i,r,o){var s,a,l=void 0,c=void 0,u=void 0,h=this.options,d=n===h.minYear,p=n===h.maxYear,f='
    ',m=!0,g=!0;for(u=[],l=0;l<12;l++)u.push('");for(s='",ec.isArray(h.yearRange)?(l=h.yearRange[0],c=h.yearRange[1]+1):(l=n-h.yearRange,c=1+n+h.yearRange),u=[];l=h.minYear&&u.push('");return a='",f+='',f+='
    ',h.showMonthAfterYear?f+=a+s:f+=s+a,f+="
    ",d&&(0===i||h.minMonth>=i)&&(m=!1),p&&(11===i||h.maxMonth<=i)&&(g=!1),(f+='')+"
    "}},{key:"draw",value:function(e){if(this.isOpen||e){var t,n=this.options,i=n.minYear,r=n.maxYear,o=n.minMonth,s=n.maxMonth,a="";this._y<=i&&(this._y=i,!isNaN(o)&&this._m=r&&(this._y=r,!isNaN(s)&&this._m>s&&(this._m=s)),t="datepicker-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var l=0;l<1;l++)this._renderDateDisplay(),a+=this.renderTitle(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year,t)+this.render(this.calendars[l].year,this.calendars[l].month,t);this.destroySelects(),this.calendarEl.innerHTML=a;var c=this.calendarEl.querySelector(".orig-select-year"),u=this.calendarEl.querySelector(".orig-select-month");M.FormSelect.init(c,{classes:"select-year",dropdownOptions:{container:document.body,constrainWidth:!1}}),M.FormSelect.init(u,{classes:"select-month",dropdownOptions:{container:document.body,constrainWidth:!1}}),c.addEventListener("change",this._handleYearChange.bind(this)),u.addEventListener("change",this._handleMonthChange.bind(this)),"function"==typeof this.options.onDraw&&this.options.onDraw(this)}}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleInputChangeBound=this._handleInputChange.bind(this),this._handleCalendarClickBound=this._handleCalendarClick.bind(this),this._finishSelectionBound=this._finishSelection.bind(this),this._handleMonthChange=this._handleMonthChange.bind(this),this._closeBound=this.close.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("change",this._handleInputChangeBound),this.calendarEl.addEventListener("click",this._handleCalendarClickBound),this.doneBtn.addEventListener("click",this._finishSelectionBound),this.cancelBtn.addEventListener("click",this._closeBound),this.options.showClearBtn&&(this._handleClearClickBound=this._handleClearClick.bind(this),this.clearBtn.addEventListener("click",this._handleClearClickBound))}},{key:"_setupVariables",value:function(){var e=this;this.$modalEl=ec(t._template),this.modalEl=this.$modalEl[0],this.calendarEl=this.modalEl.querySelector(".datepicker-calendar"),this.yearTextEl=this.modalEl.querySelector(".year-text"),this.dateTextEl=this.modalEl.querySelector(".date-text"),this.options.showClearBtn&&(this.clearBtn=this.modalEl.querySelector(".datepicker-clear")),this.doneBtn=this.modalEl.querySelector(".datepicker-done"),this.cancelBtn=this.modalEl.querySelector(".datepicker-cancel"),this.formats={d:function(){return e.date.getDate()},dd:function(){var t=e.date.getDate();return(t<10?"0":"")+t},ddd:function(){return e.options.i18n.weekdaysShort[e.date.getDay()]},dddd:function(){return e.options.i18n.weekdays[e.date.getDay()]},m:function(){return e.date.getMonth()+1},mm:function(){var t=e.date.getMonth()+1;return(t<10?"0":"")+t},mmm:function(){return e.options.i18n.monthsShort[e.date.getMonth()]},mmmm:function(){return e.options.i18n.months[e.date.getMonth()]},yy:function(){return(""+e.date.getFullYear()).slice(2)},yyyy:function(){return e.date.getFullYear()}}}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("change",this._handleInputChangeBound),this.calendarEl.removeEventListener("click",this._handleCalendarClickBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(e){e.which===M.keys.ENTER&&(e.preventDefault(),this.open())}},{key:"_handleCalendarClick",value:function(e){if(this.isOpen){var t=ec(e.target);t.hasClass("is-disabled")||(!t.hasClass("datepicker-day-button")||t.hasClass("is-empty")||t.parent().hasClass("is-disabled")?t.closest(".month-prev").length?this.prevMonth():t.closest(".month-next").length&&this.nextMonth():(this.setDate(new Date(e.target.getAttribute("data-year"),e.target.getAttribute("data-month"),e.target.getAttribute("data-day"))),this.options.autoClose&&this._finishSelection()))}}},{key:"_handleClearClick",value:function(){this.date=null,this.setInputValue(),this.close()}},{key:"_handleMonthChange",value:function(e){this.gotoMonth(e.target.value)}},{key:"_handleYearChange",value:function(e){this.gotoYear(e.target.value)}},{key:"gotoMonth",value:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())}},{key:"gotoYear",value:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())}},{key:"_handleInputChange",value:function(e){var n=void 0;e.firedBy!==this&&(n=this.options.parse?this.options.parse(this.el.value,this.options.format):new Date(Date.parse(this.el.value)),t._isDate(n)&&this.setDate(n))}},{key:"renderDayName",value:function(e,t,n){for(t+=e.firstDay;7<=t;)t-=7;return n?e.i18n.weekdaysAbbrev[t]:e.i18n.weekdays[t]}},{key:"_finishSelection",value:function(){this.setInputValue(),this.close()}},{key:"open",value:function(){if(!this.isOpen)return this.isOpen=!0,"function"==typeof this.options.onOpen&&this.options.onOpen.call(this),this.draw(),this.modal.open(),this}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,"function"==typeof this.options.onClose&&this.options.onClose.call(this),this.modal.close(),this}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"_isDate",value:function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())}},{key:"_isWeekend",value:function(e){var t=e.getDay();return 0===t||6===t}},{key:"_setToStartOfDay",value:function(e){t._isDate(e)&&e.setHours(0,0,0,0)}},{key:"_getDaysInMonth",value:function(e,n){return[31,t._isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][n]}},{key:"_isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"_compareDates",value:function(e,t){return e.getTime()===t.getTime()}},{key:"_setToStartOfDay",value:function(e){t._isDate(e)&&e.setHours(0,0,0,0)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Datepicker}},{key:"defaults",get:function(){return eu}}]),t}())._template='',M.Datepicker=eh,M.jQueryLoaded&&M.initializeJqueryWrapper(eh,"datepicker","M_Datepicker"),ed=cash,ep={dialRadius:135,outerRadius:105,innerRadius:70,tickRadius:20,duration:350,container:null,defaultTime:"now",fromNow:0,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok"},autoClose:!1,twelveHour:!0,vibrate:!0,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onSelect:null},(ef=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Timepicker=i).options=ed.extend({},t.defaults,n),i.id=M.guid(),i._insertHTMLIntoDOM(),i._setupModal(),i._setupVariables(),i._setupEventHandlers(),i._clockSetup(),i._pickerSetup(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),ed(this.modalEl).remove(),this.el.M_Timepicker=void 0}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleClockClickStartBound=this._handleClockClickStart.bind(this),this._handleDocumentClickMoveBound=this._handleDocumentClickMove.bind(this),this._handleDocumentClickEndBound=this._handleDocumentClickEnd.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.plate.addEventListener("mousedown",this._handleClockClickStartBound),this.plate.addEventListener("touchstart",this._handleClockClickStartBound),ed(this.spanHours).on("click",this.showView.bind(this,"hours")),ed(this.spanMinutes).on("click",this.showView.bind(this,"minutes"))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(e){e.which===M.keys.ENTER&&(e.preventDefault(),this.open())}},{key:"_handleClockClickStart",value:function(e){e.preventDefault();var n=this.plate.getBoundingClientRect(),i=n.left,r=n.top;this.x0=i+this.options.dialRadius,this.y0=r+this.options.dialRadius,this.moved=!1;var o=t._Pos(e);this.dx=o.x-this.x0,this.dy=o.y-this.y0,this.setHand(this.dx,this.dy,!1),document.addEventListener("mousemove",this._handleDocumentClickMoveBound),document.addEventListener("touchmove",this._handleDocumentClickMoveBound),document.addEventListener("mouseup",this._handleDocumentClickEndBound),document.addEventListener("touchend",this._handleDocumentClickEndBound)}},{key:"_handleDocumentClickMove",value:function(e){e.preventDefault();var n=t._Pos(e),i=n.x-this.x0,r=n.y-this.y0;this.moved=!0,this.setHand(i,r,!1,!0)}},{key:"_handleDocumentClickEnd",value:function(e){var n=this;e.preventDefault(),document.removeEventListener("mouseup",this._handleDocumentClickEndBound),document.removeEventListener("touchend",this._handleDocumentClickEndBound);var i=t._Pos(e),r=i.x-this.x0,o=i.y-this.y0;this.moved&&r===this.dx&&o===this.dy&&this.setHand(r,o),"hours"===this.currentView?this.showView("minutes",this.options.duration/2):this.options.autoClose&&(ed(this.minutesView).addClass("timepicker-dial-out"),setTimeout(function(){n.done()},this.options.duration/2)),"function"==typeof this.options.onSelect&&this.options.onSelect.call(this,this.hours,this.minutes),document.removeEventListener("mousemove",this._handleDocumentClickMoveBound),document.removeEventListener("touchmove",this._handleDocumentClickMoveBound)}},{key:"_insertHTMLIntoDOM",value:function(){this.$modalEl=ed(t._template),this.modalEl=this.$modalEl[0],this.modalEl.id="modal-"+this.id;var e=document.querySelector(this.options.container);this.options.container&&e?this.$modalEl.appendTo(e):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var e=this;this.modal=M.Modal.init(this.modalEl,{onOpenStart:this.options.onOpenStart,onOpenEnd:this.options.onOpenEnd,onCloseStart:this.options.onCloseStart,onCloseEnd:function(){"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e),e.isOpen=!1}})}},{key:"_setupVariables",value:function(){this.currentView="hours",this.vibrate=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null,this._canvas=this.modalEl.querySelector(".timepicker-canvas"),this.plate=this.modalEl.querySelector(".timepicker-plate"),this.hoursView=this.modalEl.querySelector(".timepicker-hours"),this.minutesView=this.modalEl.querySelector(".timepicker-minutes"),this.spanHours=this.modalEl.querySelector(".timepicker-span-hours"),this.spanMinutes=this.modalEl.querySelector(".timepicker-span-minutes"),this.spanAmPm=this.modalEl.querySelector(".timepicker-span-am-pm"),this.footer=this.modalEl.querySelector(".timepicker-footer"),this.amOrPm="PM"}},{key:"_pickerSetup",value:function(){var e=ed('").appendTo(this.footer).on("click",this.clear.bind(this));this.options.showClearBtn&&e.css({visibility:""});var t=ed('
    ');ed('").appendTo(t).on("click",this.close.bind(this)),ed('").appendTo(t).on("click",this.done.bind(this)),t.appendTo(this.footer)}},{key:"_clockSetup",value:function(){this.options.twelveHour&&(this.$amBtn=ed('
    AM
    '),this.$pmBtn=ed('
    PM
    '),this.$amBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm),this.$pmBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm)),this._buildHoursView(),this._buildMinutesView(),this._buildSVGClock()}},{key:"_buildSVGClock",value:function(){var e=this.options.dialRadius,n=this.options.tickRadius,i=2*e,r=t._createSVGEl("svg");r.setAttribute("class","timepicker-svg"),r.setAttribute("width",i),r.setAttribute("height",i);var o=t._createSVGEl("g");o.setAttribute("transform","translate("+e+","+e+")");var s=t._createSVGEl("circle");s.setAttribute("class","timepicker-canvas-bearing"),s.setAttribute("cx",0),s.setAttribute("cy",0),s.setAttribute("r",4);var a=t._createSVGEl("line");a.setAttribute("x1",0),a.setAttribute("y1",0);var l=t._createSVGEl("circle");l.setAttribute("class","timepicker-canvas-bg"),l.setAttribute("r",n),o.appendChild(a),o.appendChild(l),o.appendChild(s),r.appendChild(o),this._canvas.appendChild(r),this.hand=a,this.bg=l,this.bearing=s,this.g=o}},{key:"_buildHoursView",value:function(){var e=ed('
    ');if(this.options.twelveHour)for(var t=1;t<13;t+=1){var n=e.clone(),i=t/6*Math.PI,r=this.options.outerRadius;n.css({left:this.options.dialRadius+Math.sin(i)*r-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(i)*r-this.options.tickRadius+"px"}),n.html(0===t?"00":t),this.hoursView.appendChild(n[0])}else for(var o=0;o<24;o+=1){var s=e.clone(),a=o/6*Math.PI,l=0'),n=0;n<60;n+=5){var i=e.clone(),r=n/30*Math.PI;i.css({left:this.options.dialRadius+Math.sin(r)*this.options.outerRadius-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(r)*this.options.outerRadius-this.options.tickRadius+"px"}),i.html(t._addLeadingZero(n)),this.minutesView.appendChild(i[0])}}},{key:"_handleAmPmClick",value:function(e){var t=ed(e.target);this.amOrPm=t.hasClass("am-btn")?"AM":"PM",this._updateAmPmView()}},{key:"_updateAmPmView",value:function(){this.options.twelveHour&&(this.$amBtn.toggleClass("text-primary","AM"===this.amOrPm),this.$pmBtn.toggleClass("text-primary","PM"===this.amOrPm))}},{key:"_updateTimeFromInput",value:function(){var e=((this.el.value||this.options.defaultTime||"")+"").split(":");if(this.options.twelveHour&&void 0!==e[1]&&(0'),i.$el.find(".carousel-item").each(function(e,t){if(i.images.push(e),i.showIndicators){var n=ey('
  • ');0===t&&n[0].classList.add("active"),i.$indicators.append(n)}}),i.showIndicators&&i.$el.append(i.$indicators),i.count=i.images.length,i.options.numVisible=Math.min(i.count,i.options.numVisible),i.xform="transform",["webkit","Moz","O","ms"].every(function(e){var t=e+"Transform";return void 0===document.body.style[t]||(i.xform=t,!1)}),i._setupEventHandlers(),i._scroll(i.offset),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Carousel=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleCarouselTapBound=this._handleCarouselTap.bind(this),this._handleCarouselDragBound=this._handleCarouselDrag.bind(this),this._handleCarouselReleaseBound=this._handleCarouselRelease.bind(this),this._handleCarouselClickBound=this._handleCarouselClick.bind(this),void 0!==window.ontouchstart&&(this.el.addEventListener("touchstart",this._handleCarouselTapBound),this.el.addEventListener("touchmove",this._handleCarouselDragBound),this.el.addEventListener("touchend",this._handleCarouselReleaseBound)),this.el.addEventListener("mousedown",this._handleCarouselTapBound),this.el.addEventListener("mousemove",this._handleCarouselDragBound),this.el.addEventListener("mouseup",this._handleCarouselReleaseBound),this.el.addEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.addEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&(this._handleIndicatorClickBound=this._handleIndicatorClick.bind(this),this.$indicators.find(".indicator-item").each(function(t,n){t.addEventListener("click",e._handleIndicatorClickBound)}));var t=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=t.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){var e=this;void 0!==window.ontouchstart&&(this.el.removeEventListener("touchstart",this._handleCarouselTapBound),this.el.removeEventListener("touchmove",this._handleCarouselDragBound),this.el.removeEventListener("touchend",this._handleCarouselReleaseBound)),this.el.removeEventListener("mousedown",this._handleCarouselTapBound),this.el.removeEventListener("mousemove",this._handleCarouselDragBound),this.el.removeEventListener("mouseup",this._handleCarouselReleaseBound),this.el.removeEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.removeEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&this.$indicators.find(".indicator-item").each(function(t,n){t.removeEventListener("click",e._handleIndicatorClickBound)}),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleCarouselTap",value:function(e){"mousedown"===e.type&&ey(e.target).is("img")&&e.preventDefault(),this.pressed=!0,this.dragged=!1,this.verticalDragged=!1,this.reference=this._xpos(e),this.referenceY=this._ypos(e),this.velocity=this.amplitude=0,this.frame=this.offset,this.timestamp=Date.now(),clearInterval(this.ticker),this.ticker=setInterval(this._trackBound,100)}},{key:"_handleCarouselDrag",value:function(e){var t=void 0,n=void 0,i=void 0;if(this.pressed){if(t=this._xpos(e),n=this._ypos(e),i=this.reference-t,30>Math.abs(this.referenceY-n)&&!this.verticalDragged)(2=this.dim*(this.count-1)?this.target=this.dim*(this.count-1):this.target<0&&(this.target=0)),this.amplitude=this.target-this.offset,this.timestamp=Date.now(),requestAnimationFrame(this._autoScrollBound),this.dragged&&(e.preventDefault(),e.stopPropagation()),!1}},{key:"_handleCarouselClick",value:function(e){if(this.dragged)return e.preventDefault(),e.stopPropagation(),!1;if(!this.options.fullWidth){var t=ey(e.target).closest(".carousel-item").index();0!=this._wrap(this.center)-t&&(e.preventDefault(),e.stopPropagation()),this._cycleTo(t)}}},{key:"_handleIndicatorClick",value:function(e){e.stopPropagation();var t=ey(e.target).closest(".indicator-item");t.length&&this._cycleTo(t.index())}},{key:"_handleResize",value:function(e){this.options.fullWidth?(this.itemWidth=this.$el.find(".carousel-item").first().innerWidth(),this.imageHeight=this.$el.find(".carousel-item.active").height(),this.dim=2*this.itemWidth+this.options.padding,this.offset=2*this.center*this.itemWidth,this.target=this.offset,this._setCarouselHeight(!0)):this._scroll()}},{key:"_setCarouselHeight",value:function(e){var t=this,n=this.$el.find(".carousel-item.active").length?this.$el.find(".carousel-item.active").first():this.$el.find(".carousel-item").first(),i=n.find("img").first();if(i.length){if(i[0].complete){var r=i.height();if(0=this.count?e%this.count:e<0?this._wrap(this.count+e%this.count):e}},{key:"_track",value:function(){var e,t,n,i;t=(e=Date.now())-this.timestamp,this.timestamp=e,n=this.offset-this.frame,this.frame=this.offset,i=1e3*n/(1+t),this.velocity=.8*i+.2*this.velocity}},{key:"_autoScroll",value:function(){var e=void 0,t=void 0;this.amplitude&&(e=Date.now()-this.timestamp,2<(t=this.amplitude*Math.exp(-e/this.options.duration))||t<-2?(this._scroll(this.target-t),requestAnimationFrame(this._autoScrollBound)):this._scroll(this.target))}},{key:"_scroll",value:function(e){var t=this;this.$el.hasClass("scrolling")||this.el.classList.add("scrolling"),null!=this.scrollingTimeout&&window.clearTimeout(this.scrollingTimeout),this.scrollingTimeout=window.setTimeout(function(){t.$el.removeClass("scrolling")},this.options.duration);var n,i,r,o,s=void 0,a=void 0,l=void 0,c=void 0,u=void 0,h=void 0,d=this.center,p=1/this.options.numVisible;if(this.offset="number"==typeof e?e:this.offset,this.center=Math.floor((this.offset+this.dim/2)/this.dim),o=-(r=(i=this.offset-this.center*this.dim)<0?1:-1)*i*2/this.dim,n=this.count>>1,this.options.fullWidth?(l="translateX(0)",h=1):(l="translateX("+(this.el.clientWidth-this.itemWidth)/2+"px) "+("translateY("+(this.el.clientHeight-this.itemHeight)/2+"px)"),h=1-p*o),this.showIndicators){var f=this.center%this.count,m=this.$indicators.find(".indicator-item.active");m.index()!==f&&(m.removeClass("active"),this.$indicators.find(".indicator-item").eq(f)[0].classList.add("active"))}if(!this.noWrap||0<=this.center&&this.center=this.count||t<0){if(this.noWrap)return;t=this._wrap(t)}this._cycleTo(t)}},{key:"prev",value:function(e){(void 0===e||isNaN(e))&&(e=1);var t=this.center-e;if(t>=this.count||t<0){if(this.noWrap)return;t=this._wrap(t)}this._cycleTo(t)}},{key:"set",value:function(e,t){if((void 0===e||isNaN(e))&&(e=0),e>this.count||e<0){if(this.noWrap)return;e=this._wrap(e)}this._cycleTo(e,t)}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Carousel}},{key:"defaults",get:function(){return eb}}]),t}(),M.Carousel=ew,M.jQueryLoaded&&M.initializeJqueryWrapper(ew,"carousel","M_Carousel"),e_=cash,eE={onOpen:void 0,onClose:void 0},ex=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_TapTarget=i).options=e_.extend({},t.defaults,n),i.isOpen=!1,i.$origin=e_("#"+i.$el.attr("data-target")),i._setup(),i._calculatePositioning(),i._setupEventHandlers(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.TapTarget=void 0}},{key:"_setupEventHandlers",value:function(){this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleTargetClickBound=this._handleTargetClick.bind(this),this._handleOriginClickBound=this._handleOriginClick.bind(this),this.el.addEventListener("click",this._handleTargetClickBound),this.originEl.addEventListener("click",this._handleOriginClickBound);var e=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=e.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleTargetClickBound),this.originEl.removeEventListener("click",this._handleOriginClickBound),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleTargetClick",value:function(e){this.open()}},{key:"_handleOriginClick",value:function(e){this.close()}},{key:"_handleResize",value:function(e){this._calculatePositioning()}},{key:"_handleDocumentClick",value:function(e){e_(e.target).closest(".tap-target-wrapper").length||(this.close(),e.preventDefault(),e.stopPropagation())}},{key:"_setup",value:function(){this.wrapper=this.$el.parent()[0],this.waveEl=e_(this.wrapper).find(".tap-target-wave")[0],this.originEl=e_(this.wrapper).find(".tap-target-origin")[0],this.contentEl=this.$el.find(".tap-target-content")[0],e_(this.wrapper).hasClass(".tap-target-wrapper")||(this.wrapper=document.createElement("div"),this.wrapper.classList.add("tap-target-wrapper"),this.$el.before(e_(this.wrapper)),this.wrapper.append(this.el)),this.contentEl||(this.contentEl=document.createElement("div"),this.contentEl.classList.add("tap-target-content"),this.$el.append(this.contentEl)),this.waveEl||(this.waveEl=document.createElement("div"),this.waveEl.classList.add("tap-target-wave"),this.originEl||(this.originEl=this.$origin.clone(!0,!0),this.originEl.addClass("tap-target-origin"),this.originEl.removeAttr("id"),this.originEl.removeAttr("style"),this.originEl=this.originEl[0],this.waveEl.append(this.originEl)),this.wrapper.append(this.waveEl))}},{key:"_calculatePositioning",value:function(){var e="fixed"===this.$origin.css("position");if(!e)for(var t=this.$origin.parents(),n=0;n'+t.getAttribute("label")+"")[0]),i.each(function(t){var n=e._appendOptionWithIcon(e.$el,t,"optgroup-option");e._addOptionToValueDict(t,n)})}}),this.$el.after(this.dropdownOptions),this.input=document.createElement("input"),ek(this.input).addClass("select-dropdown dropdown-trigger"),this.input.setAttribute("type","text"),this.input.setAttribute("readonly","true"),this.input.setAttribute("data-target",this.dropdownOptions.id),this.el.disabled&&ek(this.input).prop("disabled","true"),this.$el.before(this.input),this._setValueToInput();var t=ek('');if(this.$el.before(t[0]),!this.el.disabled){var n=ek.extend({},this.options.dropdownOptions);n.onOpenEnd=function(t){var n=ek(e.dropdownOptions).find(".selected").first();if(n.length&&(M.keyDown=!0,e.dropdown.focusedIndex=n.index(),e.dropdown._focusFocusedItem(),M.keyDown=!1,e.dropdown.isScrollable)){var i=n[0].getBoundingClientRect().top-e.dropdownOptions.getBoundingClientRect().top;i-=e.dropdownOptions.clientHeight/2,e.dropdownOptions.scrollTop=i}},this.isMultiple&&(n.closeOnClick=!1),this.dropdown=M.Dropdown.init(this.input,n)}this._setSelectedStates()}},{key:"_addOptionToValueDict",value:function(e,t){var n=Object.keys(this._valueDict).length,i=this.dropdownOptions.id+n,r={};t.id=i,r.el=e,r.optionEl=t,this._valueDict[i]=r}},{key:"_removeDropdown",value:function(){ek(this.wrapper).find(".caret").remove(),ek(this.input).remove(),ek(this.dropdownOptions).remove(),ek(this.wrapper).before(this.$el),ek(this.wrapper).remove()}},{key:"_appendOptionWithIcon",value:function(e,t,n){var i=t.disabled?"disabled ":"",r=this.isMultiple?'":t.innerHTML,o=ek("
  • "),s=ek("");s.html(r),o.addClass(i+" "+("optgroup-option"===n?"optgroup-option ":"")),o.append(s);var a=t.getAttribute("data-icon");if(a){var l=ek('');o.prepend(l)}return ek(this.dropdownOptions).append(o[0]),o[0]}},{key:"_toggleEntryFromArray",value:function(e){var t=!this._keysSelected.hasOwnProperty(e),n=ek(this._valueDict[e].optionEl);return t?this._keysSelected[e]=!0:delete this._keysSelected[e],n.toggleClass("selected",t),n.find('input[type="checkbox"]').prop("checked",t),n.prop("selected",t),t}},{key:"_setValueToInput",value:function(){var e=[];if(this.$el.find("option").each(function(t){if(ek(t).prop("selected")){var n=ek(t).text();e.push(n)}}),!e.length){var t=this.$el.find("option:disabled").eq(0);t.length&&""===t[0].value&&e.push(t.text())}this.input.value=e.join(", ")}},{key:"_setSelectedStates",value:function(){for(var e in this._keysSelected={},this._valueDict){var t=this._valueDict[e],n=ek(t.el).prop("selected");ek(t.optionEl).find('input[type="checkbox"]').prop("checked",n),n?(this._activateOption(ek(this.dropdownOptions),ek(t.optionEl)),this._keysSelected[e]=!0):ek(t.optionEl).removeClass("selected")}}},{key:"_activateOption",value:function(e,t){t&&(this.isMultiple||e.find("li.selected").removeClass("selected"),ek(t).addClass("selected"))}},{key:"getSelectedValues",value:function(){var e=[];for(var t in this._keysSelected)e.push(this._valueDict[t].el.value);return e}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_FormSelect}},{key:"defaults",get:function(){return eT}}]),t}(),M.FormSelect=eO,M.jQueryLoaded&&M.initializeJqueryWrapper(eO,"formSelect","M_FormSelect"),eC=cash,eA=M.anime,eS={},eN=function(e){function t(e,n){eP(this,t);var i=eL(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Range=i).options=eC.extend({},t.defaults,n),i._mousedown=!1,i._setupThumb(),i._setupEventHandlers(),i}return eR(t,eD),eM(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeThumb(),this.el.M_Range=void 0}},{key:"_setupEventHandlers",value:function(){this._handleRangeChangeBound=this._handleRangeChange.bind(this),this._handleRangeMousedownTouchstartBound=this._handleRangeMousedownTouchstart.bind(this),this._handleRangeInputMousemoveTouchmoveBound=this._handleRangeInputMousemoveTouchmove.bind(this),this._handleRangeMouseupTouchendBound=this._handleRangeMouseupTouchend.bind(this),this._handleRangeBlurMouseoutTouchleaveBound=this._handleRangeBlurMouseoutTouchleave.bind(this),this.el.addEventListener("change",this._handleRangeChangeBound),this.el.addEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.addEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.addEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("change",this._handleRangeChangeBound),this.el.removeEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_handleRangeChange",value:function(){eC(this.value).html(this.$el.val()),eC(this.thumb).hasClass("active")||this._showRangeBubble();var e=this._calcRangeOffset();eC(this.thumb).addClass("active").css("left",e+"px")}},{key:"_handleRangeMousedownTouchstart",value:function(e){if(eC(this.value).html(this.$el.val()),this._mousedown=!0,this.$el.addClass("active"),eC(this.thumb).hasClass("active")||this._showRangeBubble(),"input"!==e.type){var t=this._calcRangeOffset();eC(this.thumb).addClass("active").css("left",t+"px")}}},{key:"_handleRangeInputMousemoveTouchmove",value:function(){if(this._mousedown){eC(this.thumb).hasClass("active")||this._showRangeBubble();var e=this._calcRangeOffset();eC(this.thumb).addClass("active").css("left",e+"px"),eC(this.value).html(this.$el.val())}}},{key:"_handleRangeMouseupTouchend",value:function(){this._mousedown=!1,this.$el.removeClass("active")}},{key:"_handleRangeBlurMouseoutTouchleave",value:function(){if(!this._mousedown){var e=7+parseInt(this.$el.css("padding-left"))+"px";eC(this.thumb).hasClass("active")&&(eA.remove(this.thumb),eA({targets:this.thumb,height:0,width:0,top:10,easing:"easeOutQuad",marginLeft:e,duration:100})),eC(this.thumb).removeClass("active")}}},{key:"_setupThumb",value:function(){this.thumb=document.createElement("span"),this.value=document.createElement("span"),eC(this.thumb).addClass("thumb"),eC(this.value).addClass("value"),eC(this.thumb).append(this.value),this.$el.after(this.thumb)}},{key:"_removeThumb",value:function(){eC(this.thumb).remove()}},{key:"_showRangeBubble",value:function(){var e=-7+parseInt(eC(this.thumb).parent().css("padding-left"))+"px";eA.remove(this.thumb),eA({targets:this.thumb,height:30,width:30,top:-30,marginLeft:e,duration:300,easing:"easeOutQuint"})}},{key:"_calcRangeOffset",value:function(){var e=this.$el.width()-15,t=parseFloat(this.$el.attr("max"))||100,n=parseFloat(this.$el.attr("min"))||0;return(parseFloat(this.$el.val())-n)/(t-n)*e}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Range}},{key:"defaults",get:function(){return eS}}]),t}(),M.Range=eN,M.jQueryLoaded&&M.initializeJqueryWrapper(eN,"range","M_Range"),eN.init(eC("input[type=range]"))},9556:function(e,t,n){"use strict";t.meiosisSetup=void 0;var i=n(2161);Object.defineProperty(t,"meiosisSetup",{enumerable:!0,get:function(){return i.meiosisSetup}})},2161:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.meiosisSetup=void 0;let r=n(1229),o=n(3072),s=i(n(8474)),a=(e,t,n)=>(n[e]=t,n),l=(e,t)=>t?e.concat(t):e,c=e=>e?Object.keys(e).reduce((t,n)=>a(n,Object.assign({},e[n].initial,c(e[n].nested)),t),{}):{},u=e=>Object.assign({},e.initial,c(e.nested)),h=e=>e?Object.keys(e).reduce((t,n)=>{let i=e[n];if(void 0!==i.view){let e=i.view;return a(n,{view:(t,...i)=>e(t.nest(n),...i),nested:h(i.nested)},t)}return t},{}):{},d=e=>h(e.nested),p=(e,t=e=>e,n=e=>e)=>e?Object.keys(e).reduce((i,r)=>{var o;let s=e=>t(e).nest(r),a=e=>n(e)[r],c=e[r];return l(i,null===(o=c.services)||void 0===o?void 0:o.map(e=>({onchange:t=>e.onchange?e.onchange(a(t)):t,run:t=>e.run(s(t))}))).concat(p(c.nested,s,a))},[]):[],f=e=>l([],e.services).concat(p(e.nested)),m=({stream:e,app:t})=>{!e&&(e=r.simpleStream);let n=t||{},i=u(n),o=d(n),a="function"==typeof e?e:e.stream,l=e.scan,c=a();return{states:l((e,t)=>(0,s.default)(e,t),i,c),update:c,view:o}},g=(e,t)=>({[t]:e}),v=(e,t)=>n=>e(g(n,t)),y=(e,t,n)=>i=>{let r=e.map(e=>e[i]),s=()=>e()[i],a=v(t,i),l=(0,o.get)(n,[i,"nested"]);return{states:r,state:s(),getState:s,update:a,nest:y(r,a,l),nested:l}};t.meiosisSetup=e=>{let t=null==e?void 0:e.stream,n=null==e?void 0:e.app,{states:i,update:o,view:s}=m({stream:t,app:n}),a=y(i,o,s),l=()=>i(),c=e=>({states:i,state:e,getState:l,update:o,nest:a,nested:s}),u=(0,r.createDropRepeats)(t);return n&&f(n).forEach(e=>{u(i,e.onchange).map(t=>e.run(c(t)))}),u(i).map(c)}},1229:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dropRepeats=t.createDropRepeats=t.simpleStream=t.scan=t.stream=void 0;t.stream=e=>{let n=[],i=e,r=function(e){if(arguments.length>0&&!r.ended)for(let t in i=e,n)n[t](i);return i};return r.map=e=>{let r=(0,t.stream)(),o=t=>{r(e(t))};return n.push(o),r.end=e=>{let t=n.indexOf(o);r.ended=!0,n.splice(t,1)},void 0!==i&&r(e(i)),r},r.end=e=>{r.ended=!0},r};t.scan=(e,n,i)=>{let r=(0,t.stream)(n),o=n;return i.map(t=>{r(o=e(o,t))}),r},t.simpleStream={stream:t.stream,scan:t.scan};t.createDropRepeats=(e=t.simpleStream)=>(t,n=e=>e)=>{let i;let r=("function"==typeof e?e:e.stream)();return t.map(e=>{let t=n(e);t!==i&&(i=t,r(e))}),r},t.dropRepeats=(0,t.createDropRepeats)()},3072:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateFormFloatValue=t.updateFormIntValue=t.updateFormValue=t.get=void 0;t.get=(e,t)=>t.reduce((e,t)=>void 0==e?void 0:e[t],e);let n=(e,t)=>({[e[0]]:1===e.length?t:n(e.slice(1),t)}),i=e=>Array.isArray(e)?e:[e],r=(e,t,r)=>o=>{let s=e(o.currentTarget.value);!isNaN(s)&&t.update(n(i(r),s))};t.updateFormValue=(e,t,r=e=>e)=>o=>e.update(n(i(t),r(o.currentTarget.value)));t.updateFormIntValue=(e,t)=>n=>r(parseInt,e,t)(n);t.updateFormFloatValue=(e,t)=>n=>r(parseFloat,e,t)(n)},8474:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});let i=Object.assign||((e,t)=>(t&&Object.keys(t).forEach(n=>e[n]=t[n]),e)),r=(e,t,n)=>{let i=typeof n;if(n&&"object"===i){if(Array.isArray(n))for(let i of n)t=r(e,t,i);else for(let i of Object.keys(n)){let s=n[i];"function"==typeof s?t[i]=s(t[i],o):void 0===s?e&&!isNaN(i)?t.splice(i,1):delete t[i]:null===s||"object"!=typeof s||Array.isArray(s)?t[i]=s:"object"==typeof t[i]?t[i]=s===t[i]?s:o(t[i],s):t[i]=r(!1,{},s)}}else"function"===i&&(t=n(t,o));return t},o=(e,...t)=>{let n=Array.isArray(e);return r(n,n?e.slice():i({},e),t)},s=o},8507:function(e,t,n){"use strict";var i=n(1132);e.exports=function(e,t,n){var r=[],o=!1,s=-1;function a(){for(s=0;s=0&&(r.splice(o,2),o<=s&&(s-=2),e(t,[])),null!=n&&(r.push(t,n),e(t,i(n),l))},redraw:l}}},7966:function(e,t,n){"use strict";var i=n(1132),r=n(4142),o=n(7265),s=n(3444),a=n(5353),l=n(8858),c={};function u(e){try{return decodeURIComponent(e)}catch(t){return e}}e.exports=function(e,t){var n=null==e?null:"function"==typeof e.setImmediate?e.setImmediate:e.setTimeout,h=Promise.resolve(),d=!1,p=!1,f=0,m,g,v,y,b,w,_=c,E={onbeforeupdate:function(){return!(!(f=f?2:1)||c===_)},onremove:function(){e.removeEventListener("popstate",T,!1),e.removeEventListener("hashchange",k,!1)},view:function(){if(f&&c!==_){var e=[i(v,y.key,y)];return _&&(e=_.render(e[0])),e}}},x=C.SKIP={};function k(){d=!1;var n=e.location.hash;"#"!==C.prefix[0]&&(n=e.location.search+n,"?"!==C.prefix[0]&&"/"!==(n=e.location.pathname+n)[0]&&(n="/"+n));var i=n.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,u).slice(C.prefix.length),r=s(i);function o(e){console.error(e),O(g,null,{replace:!0})}Object.assign(r.params,e.history.state),function e(n){for(;n=0&&(f+=e.slice(n,o)),u>=0&&(f+=(n<0?"?":"&")+c.slice(u,d));var m=i(l);return m&&(f+=(n<0&&u<0?"?":"&")+m),r>=0&&(f+=e.slice(r)),h>=0&&(f+=(r<0?"":"&")+c.slice(h)),f}},5353:function(e,t,n){"use strict";var i=n(3444);e.exports=function(e){var t=i(e),n=Object.keys(t.params),r=[],o=RegExp("^"+t.path.replace(/:([^\/.-]+)(\.{3}|\.(?!\.)|-)?|[\\^$*+.()|\[\]{}]/g,function(e,t,n){return null==t?"\\"+e:(r.push({k:t,r:"..."===n}),"..."===n)?"(.*)":"."===n?"([^/]+)\\.":"([^/]+)"+(n||"")})+"$");return function(e){for(var i=0;i-1&&c.pop();for(var h=0;h0&&(r.className=i.join(" ")),function(e){for(var t in e)if(o.call(e,t))return!1;return!0}(r)&&(r=null),a[e]={tag:n,attrs:r}}(e),l=(n=h).attrs,u=(c=o.call(l,"class"))?l.class:l.className,n.tag=t.tag,null!=t.attrs?(l=Object.assign({},t.attrs,l),(null!=u||null!=t.attrs.className)&&(l.className=null!=u?null!=t.attrs.className?String(t.attrs.className)+" "+String(u):u:null!=t.attrs.className?t.attrs.className:null)):null!=u&&(l.className=u),c&&(l.class=null),"input"===t.tag&&o.call(l,"type")&&(l=Object.assign({type:l.type},l)),n.attrs=l,n}return h.tag=e,h}},8473:function(e,t,n){"use strict";var i=n(1132);e.exports=function(){var e,t=arguments[this],n=this+1;if(null==t?t={}:("object"!=typeof t||null!=t.tag||Array.isArray(t))&&(t={},n=this),arguments.length===n+1)e=arguments[n],!Array.isArray(e)&&(e=[e]);else for(e=[];n'+t.children+"",s=s.firstChild):s.innerHTML=t.children,t.dom=s.firstChild,t.domSize=s.childNodes.length;for(var l=a(e).createDocumentFragment();r=s.firstChild;)l.appendChild(r);_(e,l,i)}function g(e,t,n,i,r,o){if(t!==n&&(null!=t||null!=n))if(null==t||0===t.length)d(e,n,0,n.length,i,r,o);else if(null==n||0===n.length)x(e,t,0,t.length);else{var s=null!=t[0]&&null!=t[0].key,a=null!=n[0]&&null!=n[0].key,l=0,c=0;if(!s)for(;c=c&&T>=l&&(m=t[E],g=n[T],m.key===g.key);){;m!==g&&v(e,m,g,i,r,o),null!=g.dom&&(r=g.dom),E--,T--}for(;E>=c&&T>=l&&(h=t[c],f=n[l],h.key===f.key);){;c++,l++,h!==f&&v(e,h,f,i,b(t,c,r),o)}for(;E>=c&&T>=l&&l!==T&&h.key===g.key&&m.key===f.key;){;w(e,m,_=b(t,c,r)),m!==f&&v(e,m,f,i,_,o),++l<=--T&&w(e,h,r),h!==g&&v(e,h,g,i,r,o),null!=g.dom&&(r=g.dom),c++,m=t[--E],g=n[T],h=t[c],f=n[l]}for(;E>=c&&T>=l&&m.key===g.key;){;m!==g&&v(e,m,g,i,r,o),null!=g.dom&&(r=g.dom),E--,T--,m=t[E],g=n[T]}if(l>T)x(e,t,c,E+1);else if(c>E)d(e,n,l,T+1,i,r,o);else{var u,O,C=r,A=T-l+1,S=Array(A),N=0,I=0,L=0x7fffffff,R=0;for(I=0;I=l;I--){null==u&&(u=function(e,t,n){for(var i=Object.create(null);t>>1)+(i>>>1)+(n&i&1);e[t[a]]0&&(y[r]=t[n-1]),t[n]=r)}for(n=t.length,i=t[n-1];n-- >0;)t[n]=i,i=y[i];return y.length=0,t}(S)).length-1,I=T;I>=l;I--)f=n[I],-1===S[I-l]?p(e,f,i,o,r):O[N]===I-l?N--:w(e,f,r),null!=f.dom&&(r=n[I].dom);else for(I=T;I>=l;I--)f=n[I],-1===S[I-l]&&p(e,f,i,o,r),null!=f.dom&&(r=n[I].dom)}}else{var D=t.lengthD&&x(e,t,l,t.length),n.length>D&&d(e,n,l,n.length,i,r,o)}}}function v(e,t,n,r,o,s){var a=t.tag;if(a===n.tag){if(n.state=t.state,n.events=t.events,function(e,t){do{if(null!=e.attrs&&"function"==typeof e.attrs.onbeforeupdate){var n=u.call(e.attrs.onbeforeupdate,e,t);if(void 0!==n&&!n)break}if("string"!=typeof e.tag&&"function"==typeof e.state.onbeforeupdate){var n=u.call(e.state.onbeforeupdate,e,t);if(void 0!==n&&!n)break}return!1}while(!1);return e.dom=t.dom,e.domSize=t.domSize,e.instance=t.instance,e.attrs=t.attrs,e.children=t.children,e.text=t.text,!0}(n,t))return;if("string"==typeof a)switch(null!=n.attrs&&P(n.attrs,n,r),a){case"#":(function(e,t){e.children.toString()!==t.children.toString()&&(e.dom.nodeValue=t.children),t.dom=e.dom})(t,n);break;case"<":(function(e,t,n,i,r){t.children!==n.children?(T(e,t,void 0),m(e,n,i,r)):(n.dom=t.dom,n.domSize=t.domSize)})(e,t,n,s,o);break;case"[":(function(e,t,n,i,r,o){g(e,t.children,n.children,i,r,o);var s=0,a=n.children;if(n.dom=null,null!=a){for(var l=0;l-1||null!=e.attrs&&e.attrs.is||"href"!==t&&"list"!==t&&"form"!==t&&"width"!==t&&"height"!==t)&&t in e.dom}function N(e,t,n){if(t===n);else if(null==n)e.style="";else if("object"!=typeof n)e.style=n;else if(null==t||"object"!=typeof t)for(var i in e.style.cssText="",n){var r=n[i];null!=r&&(i.includes("-")?e.style.setProperty(i,String(r)):e.style[i]=String(r))}else{for(var i in n){var r=n[i];null!=r&&(r=String(r))!==String(t[i])&&(i.includes("-")?e.style.setProperty(i,r):e.style[i]=r)}for(var i in t)null!=t[i]&&null==n[i]&&(i.includes("-")?e.style.removeProperty(i):e.style[i]="")}}function I(){this._=e}function L(t,n,i){null!=t.events?(t.events._=e,t.events[n]!==i&&(null!=i&&("function"==typeof i||"object"==typeof i)?(null==t.events[n]&&t.dom.addEventListener(n.slice(2),t.events,!1),t.events[n]=i):(null!=t.events[n]&&t.dom.removeEventListener(n.slice(2),t.events,!1),t.events[n]=void 0))):null!=i&&("function"==typeof i||"object"==typeof i)&&(t.events=new I,t.dom.addEventListener(n.slice(2),t.events,!1),t.events[n]=i)}function R(e,t,n){"function"==typeof e.oninit&&u.call(e.oninit,t),"function"==typeof e.oncreate&&n.push(u.bind(e.oncreate,t))}function P(e,t,n){"function"==typeof e.onupdate&&n.push(u.bind(e.onupdate,t))}return I.prototype=Object.create(null),I.prototype.handleEvent=function(e){var t,n=this["on"+e.type];"function"==typeof n?t=n.call(e.currentTarget,e):"function"==typeof n.handleEvent&&n.handleEvent(e),this._&&!1!==e.redraw&&(0,this._)(),!1===t&&(e.preventDefault(),e.stopPropagation())},function(r,o,s){if(!r)throw TypeError("DOM element being rendered to does not exist.");if(null!=n&&r.contains(n))throw TypeError("Node is currently being rendered to and thus is locked.");var a=e,l=n,c=[],u=h(r),d=r.namespaceURI;n=r,e="function"==typeof s?s:void 0,t={};try{null==r.vnodes&&(r.textContent=""),o=i.normalizeChildren(Array.isArray(o)?o:[o]),g(r,r.vnodes,o,c,null,"http://www.w3.org/1999/xhtml"===d?void 0:d),r.vnodes=o,null!=u&&h(r)!==u&&"function"==typeof u.focus&&u.focus();for(var p=0;p=200&&e.target.status<300||304===e.target.status||/^file:\/\//i.test(l),o=e.target.response;if("json"===h){if(!e.target.responseType&&"function"!=typeof c.extract)try{o=JSON.parse(e.target.responseText)}catch(e){o=null}}else(!h||"text"===h)&&null==o&&(o=e.target.responseText);if("function"==typeof c.extract?(o=c.extract(e.target,c),r=!0):"function"==typeof c.deserialize&&(o=c.deserialize(o)),r){if("function"==typeof c.type){if(Array.isArray(o))for(var s=0;st.indexOf(o)&&(n[o]=e[o]);else for(var o in e)i.call(e,o)&&!r.test(o)&&(n[o]=e[o]);return n}},9781:function(e){"use strict";e.exports=({}).hasOwnProperty},301:function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(2323),s=n(5899);(r=i||(i={})).compose=function(e={},t={},n=!1){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});let i=o(t);for(let r in!n&&(i=Object.keys(i).reduce((e,t)=>(null!=i[t]&&(e[t]=i[t]),e),{})),e)void 0!==e[r]&&void 0===t[r]&&(i[r]=e[r]);return Object.keys(i).length>0?i:void 0},r.diff=function(e={},t={}){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});let n=Object.keys(e).concat(Object.keys(t)).reduce((n,i)=>(!s(e[i],t[i])&&(n[i]=void 0===t[i]?null:t[i]),n),{});return Object.keys(n).length>0?n:void 0},r.invert=function(e={},t={}){e=e||{};let n=Object.keys(t).reduce((n,i)=>(t[i]!==e[i]&&void 0!==e[i]&&(n[i]=t[i]),n),{});return Object.keys(e).reduce((n,i)=>(e[i]!==t[i]&&void 0===t[i]&&(n[i]=null),n),n)},r.transform=function(e,t,n=!1){if("object"!=typeof e)return t;if("object"!=typeof t)return;if(!n)return t;let i=Object.keys(t).reduce((n,i)=>(void 0===e[i]&&(n[i]=t[i]),n),{});return Object.keys(i).length>0?i:void 0},t.default=i},3258:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeMap=t.OpIterator=t.Op=void 0;let i=n(2158),r=n(2323),o=n(5899),s=n(301);t.AttributeMap=s.default;let a=n(8133);t.Op=a.default;let l=n(7316);t.OpIterator=l.default;let c=(e,t)=>{if("object"!=typeof e||null===e)throw Error(`cannot retain a ${typeof e}`);if("object"!=typeof t||null===t)throw Error(`cannot retain a ${typeof t}`);let n=Object.keys(e)[0];if(!n||n!==Object.keys(t)[0])throw Error(`embed types not matched: ${n} != ${Object.keys(t)[0]}`);return[n,e[n],t[n]]};class u{constructor(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}static registerEmbed(e,t){this.handlers[e]=t}static unregisterEmbed(e){delete this.handlers[e]}static getHandler(e){let t=this.handlers[e];if(!t)throw Error(`no handlers for embed type "${e}"`);return t}insert(e,t){let n={};return"string"==typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))}delete(e){return e<=0?this:this.push({delete:e})}retain(e,t){if("number"==typeof e&&e<=0)return this;let n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)}push(e){let t=this.ops.length,n=this.ops[t-1];if(e=r(e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this}chop(){let e=this.ops[this.ops.length-1];return e&&"number"==typeof e.retain&&!e.attributes&&this.ops.pop(),this}filter(e){return this.ops.filter(e)}forEach(e){this.ops.forEach(e)}map(e){return this.ops.map(e)}partition(e){let t=[],n=[];return this.forEach(i=>{(e(i)?t:n).push(i)}),[t,n]}reduce(e,t){return this.ops.reduce(e,t)}changeLength(){return this.reduce((e,t)=>t.insert?e+a.default.length(t):t.delete?e-t.delete:e,0)}length(){return this.reduce((e,t)=>e+a.default.length(t),0)}slice(e=0,t=1/0){let n=[],i=new l.default(this.ops),r=0;for(;r0&&n.next(r.retain-e)}let a=new u(i);for(;t.hasNext()||n.hasNext();)if("insert"===n.peekType())a.push(n.next());else if("delete"===t.peekType())a.push(t.next());else{let e=Math.min(t.peekLength(),n.peekLength()),i=t.next(e),r=n.next(e);if(r.retain){let l={};if("number"==typeof i.retain)l.retain="number"==typeof r.retain?e:r.retain;else if("number"==typeof r.retain)null==i.retain?l.insert=i.insert:l.retain=i.retain;else{let e=null==i.retain?"insert":"retain",[t,n,o]=c(i[e],r.retain),s=u.getHandler(t);l[e]={[t]:s.compose(n,o,"retain"===e)}}let h=s.default.compose(i.attributes,r.attributes,"number"==typeof i.retain);if(h&&(l.attributes=h),a.push(l),!n.hasNext()&&o(a.ops[a.ops.length-1],l)){let e=new u(t.rest());return a.concat(e).chop()}}else"number"==typeof r.delete&&("number"==typeof i.retain||"object"==typeof i.retain&&null!==i.retain)&&a.push(r)}return a.chop()}concat(e){let t=new u(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t}diff(e,t){if(this.ops===e.ops)return new u;let n=[this,e].map(t=>t.map(n=>{if(null!=n.insert)return"string"==typeof n.insert?n.insert:"\0";throw Error("diff() called "+(t===e?"on":"with")+" non-document")}).join("")),r=new u,a=i(n[0],n[1],t,!0),c=new l.default(this.ops),h=new l.default(e.ops);return a.forEach(e=>{let t=e[1].length;for(;t>0;){let n=0;switch(e[0]){case i.INSERT:n=Math.min(h.peekLength(),t),r.push(h.next(n));break;case i.DELETE:n=Math.min(t,c.peekLength()),c.next(n),r.delete(n);break;case i.EQUAL:n=Math.min(c.peekLength(),h.peekLength(),t);let a=c.next(n),l=h.next(n);o(a.insert,l.insert)?r.retain(n,s.default.diff(a.attributes,l.attributes)):r.push(l).delete(n)}t-=n}}),r.chop()}eachLine(e,t="\n"){let n=new l.default(this.ops),i=new u,r=0;for(;n.hasNext();){if("insert"!==n.peekType())return;let o=n.peek(),s=a.default.length(o)-n.peekLength(),l="string"==typeof o.insert?o.insert.indexOf(t,s)-s:-1;if(l<0)i.push(n.next());else if(l>0)i.push(n.next(l));else{if(!1===e(i,n.next(1).attributes||{},r))return;r+=1,i=new u}}i.length()>0&&e(i,{},r)}invert(e){let t=new u;return this.reduce((n,i)=>{if(i.insert)t.delete(a.default.length(i));else if("number"==typeof i.retain&&null==i.attributes)return t.retain(i.retain),n+i.retain;else if(i.delete||"number"==typeof i.retain){let r=i.delete||i.retain;return e.slice(n,n+r).forEach(e=>{i.delete?t.push(e):i.retain&&i.attributes&&t.retain(a.default.length(e),s.default.invert(i.attributes,e.attributes))}),n+r}else if("object"==typeof i.retain&&null!==i.retain){let r=e.slice(n,n+1),o=new l.default(r.ops).next(),[a,h,d]=c(i.retain,o.insert),p=u.getHandler(a);return t.retain({[a]:p.invert(h,d)},s.default.invert(i.attributes,o.attributes)),n+1}return n},0),t.chop()}transform(e,t=!1){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);let n=new l.default(this.ops),i=new l.default(e.ops),r=new u;for(;n.hasNext()||i.hasNext();)if("insert"===n.peekType()&&(t||"insert"!==i.peekType()))r.retain(a.default.length(n.next()));else if("insert"===i.peekType())r.push(i.next());else{let e=Math.min(n.peekLength(),i.peekLength()),o=n.next(e),a=i.next(e);if(o.delete)continue;if(a.delete)r.push(a);else{let n=o.retain,i=a.retain,l="object"==typeof i&&null!==i?i:e;if("object"==typeof n&&null!==n&&"object"==typeof i&&null!==i){let e=Object.keys(n)[0];if(e===Object.keys(i)[0]){let r=u.getHandler(e);r&&(l={[e]:r.transform(n[e],i[e],t)})}}r.retain(l,s.default.transform(o.attributes,a.attributes,t))}}return r.chop()}transformPosition(e,t=!1){t=!!t;let n=new l.default(this.ops),i=0;for(;n.hasNext()&&i<=e;){let r=n.peekLength(),o=n.peekType();if(n.next(),"delete"===o){e-=Math.min(r,e-i);continue}"insert"===o&&(i=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};{let i={};return t.attributes&&(i.attributes=t.attributes),"number"==typeof t.retain?i.retain=e:"object"==typeof t.retain&&null!==t.retain?i.retain=t.retain:"string"==typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?i.default.length(this.ops[this.index])-this.offset:1/0}peekType(){let e=this.ops[this.index];if(e){if("number"==typeof e.delete)return"delete";if("number"!=typeof e.retain&&("object"!=typeof e.retain||null===e.retain))return"insert"}return"retain"}rest(){if(!this.hasNext())return[];if(0===this.offset)return this.ops.slice(this.index);{let e=this.offset,t=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(i)}}}},3205:function(e,t,n){var i,r;i=self,r=function(e){var t,n;return t={190:e=>{var t,n;self,e.exports=(t={607:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseQuillDelta=void 0;let n=!1;function i(e){e.paragraphs.push({textRuns:[]})}function r(e,t,n){var i,r;n?(null===(i=t.paragraphs[t.paragraphs.length-1].textRuns)||void 0===i||i.push({text:e,attributes:n}),n.link&&t.setup.hyperlinks.push({text:e,link:n.link})):null===(r=t.paragraphs[t.paragraphs.length-1].textRuns)||void 0===r||r.push({text:e})}t.parseQuillDelta=function(e){n=!1;let t={paragraphs:[],setup:{numberedLists:0,hyperlinks:[]}};for(let o of e.ops)(function(e,t){var o,s,a,l,c,u,h;e.insert.video||e.insert.image?(o=e,(s=t).paragraphs.push({embed:o.insert}),n=!1,i(s)):e.insert.formula?(a=e,0===(l=t).paragraphs.length&&i(l),null===(c=l.paragraphs[l.paragraphs.length-1].textRuns)||void 0===c||c.push({formula:a.insert.formula,attributes:a.attributes})):"\n"===e.insert?(u=e,h=t,u.attributes&&(h.paragraphs[h.paragraphs.length-1].attributes=u.attributes,"ordered"===u.attributes.list?n||(h.setup.numberedLists++,n=!0):n=!1),i(h)):function(e,t){if(0===t.paragraphs.length&&i(t),e.insert.match(/\n/))for(let o of e.insert.split(/(\n)/))"\n"===o?(i(t),n=!1):r(o,t);else r(e.insert,t,e.attributes)}(e,t)})(o,t);return t}}},n={},function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{}};return t[i](r,r.exports,e),r.exports}(607))},829:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultNumbering=t.customBulletLevels=t.customNumberedLevels=t.defaultStyles=void 0;let i=n(687);t.defaultStyles=[{id:"normal",name:"Normal",next:"normal",basedOn:"normal",quickFormat:!0,run:{size:24},paragraph:{spacing:{line:480,before:0,after:0}}},{id:"header_1",name:"Heading 1",next:"normal",quickFormat:!0,run:{font:"Calibri",size:30,bold:!0},paragraph:{spacing:{before:300,after:200}}},{id:"header_2",name:"Heading 2",basedOn:"normal",next:"normal",quickFormat:!0,run:{font:"Calibri",size:26,bold:!0},paragraph:{spacing:{before:200,after:100}}},{id:"list_paragraph",name:"List Paragraph",basedOn:"normal",quickFormat:!0,run:{size:24}},{id:"code_block",name:"Code Block",basedOn:"normal",quickFormat:!0,run:{size:24,font:"Courier New"},paragraph:{indent:{left:720,right:720}}},{id:"block_quote",name:"Block Quote",basedOn:"normal",quickFormat:!0,run:{italics:!0},paragraph:{indent:{left:540},border:{left:{size:12,space:28,color:"333333",value:"single"}}}},{id:"citation",name:"Citation",basedOn:"normal",quickFormat:!0,run:{size:24},paragraph:{indent:{left:0,hanging:320},spacing:{line:480}}}],t.customNumberedLevels=[{level:0,format:"decimal",text:"%1.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:720,hanging:360}}}},{level:1,format:"lowerLetter",text:"%2.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:1440,hanging:360}}}},{level:2,format:"lowerRoman",text:"%3.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:2160,hanging:360}}}},{level:3,format:"decimal",text:"%4.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:2880,hanging:360}}}},{level:4,format:"lowerLetter",text:"%5.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:3600,hanging:360}}}},{level:3,format:"lowerRoman",text:"%5.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:4320,hanging:360}}}}],t.customBulletLevels=[{level:0,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:720,hanging:360}}}},{level:1,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:1440,hanging:360}}}},{level:2,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:2160,hanging:360}}}},{level:3,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:2880,hanging:360}}}},{level:4,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:3600,hanging:360}}}},{level:3,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:4320,hanging:360}}}}],t.defaultNumbering={config:[{reference:"default-numbering",levels:t.customNumberedLevels}]}},35:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t},s=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.generateWord=void 0;let a=n(190),l=o(n(687)),c=n(687),u=n(829),h=0,d=-1,p=u.defaultStyles,f=u.customNumberedLevels,m=!1;function g(e,t,n){e.paragraph&&(p[n].paragraph=e.paragraph),e.run&&(p[n].run=e.run)}t.generateWord=function(e,t){return s(this,void 0,void 0,function*(){var n,i,r;let o,v,y;h=0,d=-1,m=!1;let b=[],w=[];if(e.ops){let t=a.parseQuillDelta(e);w.push(t)}else if(Array.isArray(e))for(let t of e)w.push(t);else{if(!e.paragraphs)throw Error("Please provide a raw Quill Delta, a parsed Quill delta, or an Array of parsed Quill deltas. See QuillTodocx readme.");w.push(e)}for(let e of(n=w[0],i=t,p=u.defaultStyles,f=u.customNumberedLevels,i&&((r=i).paragraphStyles&&function(e){if(e.normal){let t=p.findIndex(e=>"normal"===e.id);g(e.normal,0,t)}if(e.header_1){let t=p.findIndex(e=>"header_1"===e.id);g(e.header_1,0,t)}if(e.header_2){let t=p.findIndex(e=>"header_2"===e.id);g(e.header_2,0,t)}if(e.list_paragraph){let t=p.findIndex(e=>"list_paragraph"===e.id);g(e.list_paragraph,0,t)}if(e.code_block){let t=p.findIndex(e=>"code_block"===e.id);g(e.code_block,0,t)}if(e.block_quote){let t=p.findIndex(e=>"block_quote"===e.id);g(e.block_quote,0,t)}if(e.citation){let t=p.findIndex(e=>"citation"===e.id);g(e.citation,0,t)}}(r.paragraphStyles),r.customLevels&&(f=r.customLevels)),n.setup.hyperlinks.length>0&&(v=function(e){let t={},n=0;for(let i of e){let e={link:i.link,text:i.text,type:c.HyperlinkType.EXTERNAL};t=Object.assign(Object.assign({},t),{[`link${n}`]:e}),n++}return t}(n.setup.hyperlinks)),n.setup.numberedLists>0&&(y=function(e){let t=[],n=0;for(;n0&&"ordered"===(null===(r=p.attributes)||void 0===r?void 0:r.list)&&("ordered"===(null===(o=e[a-1].attributes)||void 0===o?void 0:o.list)?d:d++),u.push(function(e){var t,n,i,r,o,s,a,u,p,f,g,v,y;let b=[];for(let t of e.textRuns)t.formula?b.push((y=t.formula,new c.TextRun({text:y}))):t.text&&b.push(function(e,t){var n,i,r,o,s,a,l,u,d,p,f,m,g;let v;return(null===(n=e.attributes)||void 0===n?void 0:n.link)?(v=new c.HyperlinkRef(`link${h}`),h++):v=new c.TextRun({text:e.text,bold:!!(null===(i=e.attributes)||void 0===i?void 0:i.bold),italics:!!(null===(r=e.attributes)||void 0===r?void 0:r.italic),subScript:"sub"===(null===(o=e.attributes)||void 0===o?void 0:o.script),superScript:"super"===(null===(s=e.attributes)||void 0===s?void 0:s.script),strike:!!(null===(a=e.attributes)||void 0===a?void 0:a.strike),underline:(null===(l=e.attributes)||void 0===l?void 0:l.underline)?{type:c.UnderlineType.SINGLE,color:"auto"}:void 0,color:(null===(u=e.attributes)||void 0===u?void 0:u.color)?null===(d=e.attributes)||void 0===d?void 0:d.color.slice(1):void 0,size:"huge"===(null===(p=e.attributes)||void 0===p?void 0:p.size)?36:"large"===(null===(f=e.attributes)||void 0===f?void 0:f.size)?32:"small"===(null===(m=e.attributes)||void 0===m?void 0:m.size)?20:void 0,highlight:(null===(g=e.attributes)||void 0===g?void 0:g.background)?"yellow":void 0}),v}(t));return new c.Paragraph({children:b,heading:1===(null===(t=e.attributes)||void 0===t?void 0:t.header)?l.HeadingLevel.HEADING_1:2===(null===(n=e.attributes)||void 0===n?void 0:n.header)?l.HeadingLevel.HEADING_2:void 0,bullet:"bullet"!==(null===(i=e.attributes)||void 0===i?void 0:i.list)||m?void 0:{level:e.attributes.indent?e.attributes.indent:0},numbering:"ordered"===(null===(r=e.attributes)||void 0===r?void 0:r.list)?{reference:`numbered_${d}`,level:e.attributes.indent?e.attributes.indent:0}:"bullet"===(null===(o=e.attributes)||void 0===o?void 0:o.list)&&m?{reference:"customBullets",level:e.attributes.indent?e.attributes.indent:0}:void 0,alignment:"left"===(null===(s=e.attributes)||void 0===s?void 0:s.align)?c.AlignmentType.LEFT:"center"===(null===(a=e.attributes)||void 0===a?void 0:a.align)?c.AlignmentType.CENTER:"right"===(null===(u=e.attributes)||void 0===u?void 0:u.align)?c.AlignmentType.RIGHT:"justify"===(null===(p=e.attributes)||void 0===p?void 0:p.align)?c.AlignmentType.JUSTIFIED:void 0,style:(null===(f=e.attributes)||void 0===f?void 0:f["code-block"])?"code_block":(null===(g=e.attributes)||void 0===g?void 0:g.blockquote)?"block_quote":(null===(v=e.attributes)||void 0===v?void 0:v.citation)?"citation":void 0})}(p)));a++}return u}(e.paragraphs,o));for(let e of b)o.addSection({children:e});return function(e,t){return s(this,void 0,void 0,function*(){if(!t||!t.exportAs||"doc"===t.exportAs)return e;if("blob"===t.exportAs)return c.Packer.toBlob(e);if("buffer"===t.exportAs)return console.log("returning buffer"),c.Packer.toBuffer(e);if("base64"===t.exportAs)return c.Packer.toBase64String(e);throw Error("Please set exportAs configuration to blob, buffer, doc, or base64.")})}(o,t)})}},607:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(35),t),r(n(679),t)},679:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},687:t=>{"use strict";t.exports=e}},n={},function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{}};return t[i].call(r.exports,r,r.exports,e),r.exports}(607)},e.exports=r(n(5966))},8872:function(e,t){var n;function i(e){return 1!==e?"p":"s"}t.plural_EN=i},6867:function(e,t,n){"use strict";e.exports=n.p+"4ad034d2c499d9b6.woff"},9358:function(e,t,n){"use strict";e.exports=n.p+"59322316b3fd6063.woff2"},9509:function(e,t,n){"use strict";let i;var r,o,s,a,l,c,u,h,d,p,f,m,g,v,y,b,w,_,E,x={};n.r(x),n.d(x,{Attributor:()=>rV,AttributorStore:()=>r1,BlockBlot:()=>oi,ClassAttributor:()=>rQ,ContainerBlot:()=>oo,EmbedBlot:()=>os,InlineBlot:()=>ot,LeafBlot:()=>r4,ParentBlot:()=>r7,Registry:()=>rY,Scope:()=>rW,ScrollBlot:()=>oc,StyleAttributor:()=>r0,TextBlot:()=>oh});var k=n("540"),T=n.n(k);n("2855"),n("1366"),n("234"),n("4784"),n("118");var O=((r={}).HOME="HOME",r.ABOUT="ABOUT",r.DEFINE_BOX="DEFINE_BOX",r.CREATE_SCENARIO="CREATE_SCENARIO",r.SHOW_SCENARIO="SHOW_SCENARIO",r.DECISION_SUPPORT="DECISION_SUPPORT",r.SETTINGS="SETTINGS",r.HELP="HELP",r);let C=()=>"idxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16)),A=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),S=e=>t=>Array.prototype.map.call(t,e),N=e=>t=>Array.prototype.join.call(t,e),I=e=>e.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()),L=e=>e?A(N(""),S(t=>`[${I(t)}="${((e="")=>e.toString().replace(/"/g,"""))(e[t])}"]`),Object.keys)(e):"",R=["min","max","minLength","maxLength","rows","cols","placeholder","autocomplete","pattern","readOnly","step"],P=e=>R.indexOf(e)>=0,D=({disabled:e})=>e?"[disabled]":"",j=({required:e,isMandatory:t})=>e||t?"[required][aria-required=true]":"",B=e=>{let t;return(e=>Object.keys(e).filter(P).filter(t=>void 0!==e[t]).reduce((t,n)=>{let i=e[n];return t.push(`[${n.toLowerCase()}=${i}]`),t},[]).join(""))(e)+((t=e).maxLength?`[data-length=${t.maxLength}]`:"")+D(e)+j(e)+(({autofocus:e})=>"boolean"==typeof e&&e||e&&e()?"[autofocus]":"")(e)},F=e=>!isNaN(parseFloat(e))&&isFinite(e),q=(e,t=2,n="0")=>(e+="").length>=t?e:Array(t-e.length+1).join(n)+e;function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}let z=["label","id","isMandatory","isActive"],X={view:({attrs:e})=>T()("span.mandatory",e,"*")},W=()=>({view:e=>{let{attrs:{label:t,id:n,isMandatory:i,isActive:r}}=e,o=U(e.attrs,z);return t?T()(`label${r?".active":""}${n?`[for=${n}]`:""}`,o,[T().trust(t),i?T()(X):void 0]):void 0}}),V=()=>({view:({attrs:{helperText:e,dataError:t,dataSuccess:n,className:i}})=>e||t||n?T()("span.helper-text",{className:i,dataError:t,dataSuccess:n},e?T().trust(e):""):void 0}),K=["iconName"],G=()=>({view:e=>{let{attrs:{iconName:t}}=e,n=U(e.attrs,K);return T()("i.material-icons",n,t)}}),Y=["modalId","tooltip","tooltipPostion","iconName","iconClass","label","attr"],Z=(e,t="")=>()=>{let n=`${e}${t}`;return{view:({attrs:e})=>{let{modalId:t,tooltip:i,tooltipPostion:r,iconName:o,iconClass:s,label:a,attr:l}=e,c=U(e,Y);return T()(`${n}${t?`.modal-trigger[href=#${t}]`:""}${i?`.tooltipped[data-position=${r||"top"}][data-tooltip=${i}]`:""}${L(l)}`,c,o?T()(G,{iconName:o,className:s||"left"}):void 0,a||void 0)}}},Q=Z("a.waves-effect.waves-light.btn","[type=button]"),J=(Z("a.waves-effect.waves-light.btn-large","[type=button]"),Z("a.waves-effect.waves-light.btn-small","[type=button]"),Z("a.waves-effect.waves-teal.btn-flat","[type=button]"));Z("button.btn-floating.btn-large.waves-effect.waves-light","[type=button]"),Z("button.btn.waves-effect.waves-light","[type=submit]"),(o=w||(w={}))[o.BASIC=0]="BASIC",o[o.LINKS=1]="LINKS",o[o.AVATAR=2]="AVATAR";let ee=["className","dataError","dataSuccess","helperText","iconName","id","initialValue","isMandatory","label","maxLength","newRow","onchange","onkeydown","onkeypress","onkeyup","onblur","style","validate"],et=(e,t="")=>()=>{let n={id:C()},i=t=>{let n=t.value;return n&&("number"===e||"range"===e)?+n:n},r=(e,t)=>{e.setCustomValidity("boolean"==typeof t?t?"":"Custom validation failed":t)};return{view:({attrs:o})=>{let{className:s="col s12",dataError:a,dataSuccess:l,helperText:c,iconName:u,id:h=n.id,initialValue:d,isMandatory:p,label:f,maxLength:m,newRow:g,onchange:v,onkeydown:y,onkeypress:b,onkeyup:w,onblur:_,style:E,validate:x}=o,k=B(U(o,ee));return T()(`.input-field${g?".clear":""}${t}`,{className:s,style:E},[u?T()("i.material-icons.prefix",u):void 0,T()(`input.validate[type=${e}][tabindex=0][id=${h}]${k}`,{oncreate:({dom:t})=>{(({autofocus:e})=>!!e&&("boolean"==typeof e?e:e()))(o)&&t.focus(),m&&M.CharacterCounter.init(t),"range"===e&&M.Range.init(t)},onkeyup:w?e=>{w(e,i(e.target))}:void 0,onkeydown:y?e=>{y(e,i(e.target))}:void 0,onkeypress:b?e=>{b(e,i(e.target))}:void 0,onblur:_,onupdate:x?({dom:e})=>{r(e,x(i(e),e))}:void 0,onchange:e=>{let t=e.target;if(t){let e=i(t);v&&v(e),x&&r(t,x(e,t))}},value:d}),T()(W,{label:f,id:h,isMandatory:p,isActive:!(void 0===d&&!o.placeholder&&"number"!==e&&"color"!==e&&"range"!==e)}),T()(V,{helperText:c,dataError:a,dataSuccess:l})])}}},en=et("text"),ei=(et("password"),et("number"),et("url"),et("color"),et("range",".range-field"),et("email"),()=>({view:({attrs:{className:e="col s12",onchange:t,label:n,checked:i,disabled:r,description:o,style:s}})=>T()("div",{className:e,style:s},T()("label",[T()("input[type=checkbox][tabindex=0]",{checked:i,disabled:r,onclick:t?e=>{e.target&&void 0!==e.target.checked&&t(e.target.checked)}:void 0}),n?"string"==typeof n?T()("span",n):n:void 0]),o&&T()(V,{className:"input-checkbox-desc",helperText:o}))})),er=()=>({oncreate:({dom:e,attrs:{options:t,onCreate:n}})=>{let i=M.Modal.init(e,t);n&&n(i)},view:({attrs:{id:e,title:t,description:n,fixedFooter:i,bottomSheet:r,buttons:o,richContent:s}})=>T()(`.modal${i?".modal-fixed-footer":""}${r?".bottom-sheet":""}[id=${e}]`,[T()(".modal-content",[T()("h4",t),s&&"string"==typeof n?T().trust(n||""):"string"==typeof n?T()("p",n):n]),o?T()(".modal-footer",o.map(e=>T()(J,H({},e,{className:"modal-close"})))):void 0])}),eo=()=>({view:({attrs:{id:e,groupId:t,label:n,onchange:i,className:r="col s12",checked:o,disabled:s}})=>T()("div",{className:r},T()("label",[T()(`input[type=radio][tabindex=0][name=${t}]${o?"[checked=checked]":""}${s?"[disabled]":""}`,{onclick:i?()=>i(e):void 0}),T()("span",T().trust(n))]))}),es=()=>{let e={groupId:C()};return{oninit:({attrs:{checkedId:t,initialValue:n}})=>{e.oldCheckedId=t,e.checkedId=t||n},view:({attrs:{id:t,checkedId:n,newRow:i,className:r="col s12",label:o="",disabled:s,description:a,options:l,isMandatory:c,checkboxClass:u,onchange:h}})=>{e.oldCheckedId!==n&&(e.oldCheckedId=e.checkedId=n);let{groupId:d,checkedId:p}=e,f=t=>{e.checkedId=t,h&&h(t)};return i&&(r+=" clear"),T()("div",{id:t,className:r},[T()("div",{className:"input-field options"},T()(W,{id:t,label:o,isMandatory:c})),a?T()("p.helper-text",T().trust(a)):"",...l.map(e=>T()(eo,H({},e,{onchange:f,groupId:d,disabled:s,className:u,checked:e.id===p})))])}}},ea=()=>{let e={},t=e=>e.map(e=>e.id).join(""),n=(e,t,n=!1)=>n||(t instanceof Array&&(e||"number"==typeof e)?t.indexOf(e)>=0:t===e);return{oninit:({attrs:{checkedId:n,initialValue:i,options:r}})=>{e.ids=t(r);let o=n||i;e.checkedId=n instanceof Array?[...n]:n,e.initialValue=null!=o?o instanceof Array?o.filter(e=>null!=e):[o]:[]},view:({attrs:{id:i,newRow:r,className:o="col s12",checkedId:s,key:a,options:l,multiple:c,label:u,helperText:h,placeholder:d="",isMandatory:p,iconName:f,disabled:m,classes:g="",dropdownOptions:v,onchange:y}})=>{e.checkedId!==s&&(e.initialValue=s?s instanceof Array?s:[s]:void 0);let{initialValue:b}=e,w=y?c?()=>{let t=e.instance&&e.instance.getSelectedValues(),n=t?t.length>0&&F(t[0])?t.map(e=>+e):t.filter(e=>null!==e||void 0!==e):void 0;e.initialValue=n||[],y(e.initialValue)}:t=>{if(t&&t.currentTarget){let n=t.currentTarget,i=F(n.value)?+n.value:n.value;e.initialValue=[i]}e.initialValue&&y(e.initialValue)}:void 0;r&&(o+=" clear");let _=!l.some(e=>n(e.id,b)),E=l.reduce((e,t)=>(t.group&&0>e.indexOf(t.group)&&e.push(t.group),e),[]);return T()(".input-field.select-space",{className:o,key:a,oncreate:c?({dom:t})=>e.wrapper=t:void 0},[f&&T()("i.material-icons.prefix",f),T()("select",{id:i,title:u,disabled:m,multiple:c,oncreate:({dom:t})=>{e.instance=M.FormSelect.init(t,{classes:g,dropdownOptions:v})},onupdate:({dom:n})=>{if(c){let t=f?1:0;!e.inputEl&&e.wrapper&&e.wrapper.childNodes&&e.wrapper.childNodes.length>0&&e.wrapper.childNodes[t].childNodes&&e.wrapper.childNodes[t].childNodes[0]&&(e.inputEl=e.wrapper.childNodes[t].childNodes[0]),e.inputEl&&e.inputEl.value&&e.inputEl.value.startsWith(`${d}, `)&&(e.inputEl.value=e.inputEl.value.replace(`${d}, `,""))}let i=t(l),r=s&&e.checkedId!==s.toString();e.ids!==i&&(e.ids=i,r=!0),(e.checkedId instanceof Array&&s instanceof Array?e.checkedId.join()!==s.join():e.checkedId!==s)&&(e.checkedId=s,r=!0),r&&(e.instance=M.FormSelect.init(n,{classes:g,dropdownOptions:v}))},onchange:w},T()("option",{value:"",disabled:!0,selected:!!_||void 0},d),0===E.length?l.map((e,t)=>{var i;return T()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,b,0===t&&_&&!d)},null==(i=e.label)?void 0:i.replace("&","&"))}):E.map(e=>T()("optgroup",{label:e},l.filter(t=>t.group===e).map((e,t)=>{var i;return T()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,b,0===t&&_&&!d)},null==(i=e.label)?void 0:i.replace("&","&"))})))),T()(W,{label:u,isMandatory:p}),h&&T()(V,{helperText:h})])}}},el=()=>{let e={},t=(e,t)=>t||e.replace(/ /g,"").toLowerCase();return{view:({attrs:{tabWidth:n,selectedTabId:i,tabs:r,className:o,style:s,duration:a,onShow:l,swipeable:c,responsiveThreshold:u}})=>{let h=r.filter(e=>e.active).shift(),d=i||(h?t(h.title,h.id):"");return T()(".row",[T()(".col.s12",T()("ul.tabs"+("fill"===n?".tabs-fixed-width":""),{className:o,style:s,oncreate:({dom:t})=>{e.instance=M.Tabs.init(t,{duration:a,onShow:l,responsiveThreshold:u,swipeable:c})},onupdate:()=>{if(d){let e=document.getElementById(`tab_${d}`);e&&e.click()}},onremove:()=>e.instance.destroy()},r.map(({className:e,title:i,id:o,active:s,disabled:a,target:l,href:c})=>T()(`li.tab${a?".disabled":""}${"fixed"===n?`.col.s${Math.floor(12/r.length)}`:""}`,{className:e},T()(`a[id=tab_${t(i,o)}]${s?".active":""}`,{target:l,href:c||`#${t(i,o)}`},i))))),r.filter(({href:e})=>void 0===e).map(({id:e,title:n,vnode:i,contentClass:r})=>T()(`.col.s12[id=${t(n,e)}]`,{className:r},i))])}}};var ec=[{threshold:0,color:"#ddeced"},{threshold:1,color:"#FF7800"},{threshold:2,color:"#ffff00"},{threshold:3,color:"#ff0000"}],eu={version:1,lastUpdate:new Date().valueOf(),scenario:{id:"demo1",label:"Demo",desc:"Demo scenario",includeDecisionSupport:!1,hideInconsistentValues:!0,inconsistencies:{},categories:[{id:"threat",label:"Threat",componentIds:["ThreatDirection","Impact","Motivation","ModusOperandiDuringExecution","Equipment","Responsibility"]},{id:"context",label:"Context",componentIds:["WeatherType","WeatherBehaviour","TypeOfObject","AvailableBudget","OpenCompartments","Location"]}],components:[{id:"ThreatDirection",label:"Threat direction",values:[{id:"df62efe6",label:"Hannibal"},{id:"70630364",label:"The Romans"},{id:"82d5d4f5",label:"Herbert Hoover"}]},{id:"Impact",label:"Impact",values:[{id:"5c532a23",label:"Low"},{id:"16ad9a77",label:"Medium"},{id:"b894abb6",label:"High"}]},{id:"Motivation",label:"Motivation",values:[{id:"f4ab7a7a",label:"Money"},{id:"ff550f8f",label:"Justice"},{id:"22b4867e",label:"Revenge"}]},{id:"ModusOperandiDuringExecution",label:"Modus operandi during execution",values:[{id:"7ed25fa5",label:"Sniper attack",type:"ModusOperandiDuringExecution"},{id:"1f9b68c9",label:"Kidnapping",type:"ModusOperandiDuringExecution"},{id:"5cc5e352",label:"Singing",type:"ModusOperandiDuringExecution"}]},{id:"Equipment",label:"Equipment",values:[{id:"b4218a1f",label:"None"},{id:"8f6185f7",label:"Drone"},{id:"cb02878d",label:"Bomb"},{id:"9d645efb",label:"Helicopter"},{id:"3a4398c7",label:"Hammer"}]},{id:"Responsibility",label:"Responsibility",values:[{id:"f44d22be",label:"Private"},{id:"20f9a6ed",label:"Public"}]},{id:"WeatherType",label:"Weather type",values:[{id:"b9fe2b73",label:"Rainy"},{id:"478581c1",label:"Sunny"},{id:"b855ac10",label:"Windy"},{id:"24c73f36",label:"Cloudy"}]},{id:"WeatherBehaviour",label:"Weather behaviour",values:[{id:"0ff8041e",label:"Stable"},{id:"894a9bcb",label:"Changing"}]},{id:"TypeOfObject",label:"Type of object",values:[{id:"29a303b3",label:"Church"},{id:"2e7df143",label:"Park"},{id:"e11282fb",label:"Palace"},{id:"9a1b3256",label:"Airport"}]},{id:"AvailableBudget",label:"Available budget",values:[{id:"90e1ba48",label:"Knowledge"},{id:"f961174c",label:"Water"}]},{id:"OpenCompartments",label:"Open compartments",values:[{id:"01c3940a",label:"Open"},{id:"56b7fa45",label:"Closed"}]},{id:"Location",label:"Location",values:[{id:"ea57f820",label:"Vietnam"},{id:"b8bd8bc3",label:"Washington"},{id:"8fb1e1ab",label:"Buitenpost"}]}],narratives:[],thresholdColors:ec}},eh={version:1,lastUpdate:new Date().valueOf(),scenario:{id:C(),label:"NEW SCENARIO",desc:"",includeDecisionSupport:!1,hideInconsistentValues:!1,inconsistencies:{},categories:[],components:[],narratives:[],thresholdColors:ec}},ed=[eh,eu],ep=[{id:"airport",name:"Airport",key:"aeroway",value:"aerodrome"},{id:"cafe",name:"Cafe",key:"amenity",value:"bar"},{id:"church",name:"Church",key:"building",value:"church"},{id:"city_square",name:"City square",key:"place",value:"square"},{id:"flats",name:"Flats",key:'"building:levels"',value:'"([6-9]|d{2,})"'},{id:"gas_station",name:"Gas station",key:"amenity",value:"fuel"},{id:"hospital",name:"Hospital",key:"amenity",value:"hospital"},{id:"hotel",name:"Hotel",key:"tourism",value:"hotel"},{id:"palace",name:"Palace",key:"castle_type",value:"palace"},{id:"parking",name:"Parking",key:"amenity",value:"parking"},{id:"restaurant",name:"Restaurant",key:"amenity",value:"restaurant"},{id:"shopping_street",name:"Shopping street",key:"highway",value:"pedestrian"},{id:"stadspoort",name:"Stadspoort",key:"historic",value:"city_gate"},{id:"statue",name:"Statue",key:"memorial",value:"statue"}].map(function(e){return e.id});let ef=n.p+"f418cfa539199976.svg";var em=n("9556");function eg(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}function ev(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){eg(o,i,r,s,a,"next",e)}function a(e){eg(o,i,r,s,a,"throw",e)}s(void 0)})}}function ey(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]":">",'"':""","'":"'"},e_=RegExp(`[${Object.keys(ew).join("")}]`,"g"),eE=[[/\r\n/g,"\n"],[/\n(#+)(.*)/g,(e,t,n="")=>{let i=t.length;return`${n.trim()}`}],[/!\[([^\[]+)\]\((?:javascript:)?([^\)]+)\)/g,'$1'],[/\[([^\[]+)\]\((?:javascript:)?([^\)]+)\)/g,'$1'],[/([^\\])(\*\*|__)(.*?(_|\*)?)\2/g,"$1$3"],[/([^\\])(\*|_)(.*?)\2/g,"$1$3"],[/\\_/g,"_"],[/\~\~(.*?)\~\~/g,"$1"],[/\:\"(.*?)\"\:/g,"$1"],[/\n\s*```\n([^]*?)\n\s*```\s*\n/g,"\n
    $1
    "],[/`(.*?)`/g,(e,t)=>`${t.replace(e_,e=>ew[e])}`],[/\n(\*|\-|\+)(.*)/g,(e,t,n="")=>`
      +(()=>{var e={5966:function(e){var t,n;t="undefined"!=typeof self&&self,n=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){!n.o(e,t)&&Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=139)}([function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(140)),i(n(141)),i(n(53)),i(n(142)),i(n(158)),i(n(159)),i(n(25))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(51)),i(n(216)),i(n(21)),i(n(3)),i(n(37)),i(n(231))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(89)),i(n(90)),i(n(91)),i(n(92)),i(n(93)),i(n(239)),i(n(94))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(17)),i(n(9)),i(n(162)),i(n(163)),i(n(165)),i(n(34)),i(n(213)),i(n(19)),i(n(33)),i(n(215))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var i=n(15),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var o=n(14);o.inherits=n(7);var s=n(57),a=n(29);o.inherits(d,s);for(var l=r(a.prototype),c=0;c=s())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return I(e).length;default:if(i)return S(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0))return"";for(!e&&(e="utf8");;)switch(e){case"hex":return function(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=t;o0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),isNaN(n=+n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return -1;n=e.length-1}else if(n<0){if(!r)return -1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,i,r);if("number"==typeof t){if(t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)return r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n);return y(e,[t],n,i,r)}throw TypeError("val must be string, number or Buffer")}function y(e,t,n,i,r){var o,s=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var u=-1;for(o=n;oa&&(n=a-l),o=n;o>=0;o--){for(var d=!0,h=0;h0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var o=r-i,s=n-t,a=Math.min(o,s),c=this.slice(i,r),u=e.slice(t,n),d=0;dw)&&(n=w),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");!i&&(i="utf8");for(var _=!1;;)switch(i){case"hex":return function(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=t.length;if(o%2!=0)throw TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s>8,r=n%256,o.push(r),o.push(i);return o}(v,g.length-y),g,y,b);default:if(_)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),_=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function w(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r239?4:c>223?3:c>191?2:1;if(r+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(o=e[r+1]))==128&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[r+1],s=e[r+2],(192&o)==128&&(192&s)==128&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[r+1],s=e[r+2],a=e[r+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",i=0;in)throw RangeError("Trying to access beyond buffer length")}function E(e,t,n,i,r,o){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw RangeError("Index out of range")}function x(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);r>>(i?r:1-r)*8}function k(e,t,n,i){t<0&&(t=0xffffffff+t+1);for(var r=0,o=Math.min(e.length-n,4);r>>(i?r:3-r)*8&255}function T(e,t,n,i,r,o){if(n+i>e.length||n<0)throw RangeError("Index out of range")}function O(e,t,n,i,o){return!o&&T(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,i,23,4),n+4}function C(e,t,n,i,o){return!o&&T(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if(e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return!t&&_(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return!t&&_(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return!t&&_(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return!t&&_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},l.prototype.readUInt32BE=function(e,t){return!t&&_(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,!n&&_(e,t,this.length);for(var i=this[e],r=1,o=0;++o=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,!n&&_(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return(!t&&_(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){!t&&_(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},l.prototype.readInt16BE=function(e,t){!t&&_(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},l.prototype.readInt32LE=function(e,t){return!t&&_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return!t&&_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return!t&&_(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return!t&&_(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return!t&&_(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return!t&&_(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;E(this,e,t,n,r,0)}var o=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+o]=e/s&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,1,255,0),!l.TYPED_ARRAY_SUPPORT&&(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,4,0xffffffff,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):k(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,4,0xffffffff,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,1,127,-128),!l.TYPED_ARRAY_SUPPORT&&(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,4,0x7fffffff,-0x80000000),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):k(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,!n&&E(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return O(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return O(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(!n&&(n=0),!i&&0!==i&&(i=this.length),t>=e.length&&(t=e.length),!t&&(t=0),i>0&&i=this.length)throw RangeError("sourceStart out of bounds");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,!e&&(e=0),"number"==typeof e)for(r=t;r55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function N(e){for(var t=[],n=0;n=t.length)&&!(r>=e.length);++r)t[r+n]=e[r];return r}}).call(t,n(4))},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.SpaceType||(t.SpaceType={})).DEFAULT="default",r.PRESERVE="preserve"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(33),o=n(68),s=n(34),a=n(69),l=n(70),c=n(19);class u extends i.IgnoreIfEmptyXmlComponent{constructor(e){if(super("w:rPr"),!e)return;e.bold&&this.push(new o.Bold),(void 0===e.boldComplexScript&&e.bold||e.boldComplexScript)&&this.push(new o.BoldComplexScript),e.italics&&this.push(new o.Italics),(void 0===e.italicsComplexScript&&e.italics||e.italicsComplexScript)&&this.push(new o.ItalicsComplexScript),e.underline&&this.push(new c.Underline(e.underline.type,e.underline.color)),e.emphasisMark&&this.push(new r.EmphasisMark(e.emphasisMark.type)),e.color&&this.push(new o.Color(e.color)),e.size&&this.push(new o.Size(e.size));let t=void 0===e.sizeComplexScript||!0===e.sizeComplexScript?e.size:e.sizeComplexScript;t&&this.push(new o.SizeComplexScript(t)),e.rightToLeft&&this.push(new o.RightToLeft),e.smallCaps&&this.push(new o.SmallCaps),e.allCaps&&this.push(new o.Caps),e.strike&&this.push(new o.Strike),e.doubleStrike&&this.push(new o.DoubleStrike),e.subScript&&this.push(new a.SubScript),e.superScript&&this.push(new a.SuperScript),e.style&&this.push(new l.Style(e.style)),e.font&&("string"==typeof e.font?this.push(new s.RunFonts(e.font)):"name"in e.font?this.push(new s.RunFonts(e.font.name,e.font.hint)):this.push(new s.RunFonts(e.font))),e.highlight&&this.push(new o.Highlight(e.highlight));let n=void 0===e.highlightComplexScript||!0===e.highlightComplexScript?e.highlight:e.highlightComplexScript;n&&this.push(new o.HighlightComplexScript(n)),e.characterSpacing&&this.push(new o.CharacterSpacing(e.characterSpacing));let i=e.shading||e.shadow;i&&this.push(new o.Shading(i.type,i.fill,i.color));let u=void 0===e.shadingComplexScript||!0===e.shadingComplexScript?i:e.shadingComplexScript;u&&this.push(new o.ShadowComplexScript(u.type,u.fill,u.color))}push(e){this.root.push(e)}}t.RunProperties=u},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(265)),i(n(38))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"}}}t.DocumentAttributes=r},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(1)),i(n(262)),i(n(280)),i(n(339)),i(n(133)),i(n(50)),i(n(72)),i(n(114)),i(n(23)),i(n(340)),i(n(0)),i(n(49)),i(n(46)),i(n(132)),i(n(131)),i(n(347))},function(e,t){var n,i,r,o=e.exports={};function s(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:s}catch(e){n=s}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var c=[],u=!1,d=-1;function h(){if(!!u&&!!r)u=!1,r.length?c=r.concat(c):d=-1,c.length&&p()}function p(){if(!u){var e=l(h);u=!0;for(var t=c.length;t;){for(r=c,c=[];++d1)for(var n=1;n0;)e=Math.floor((r=s.nextValue())*t.length),n.push(t.splice(e,1)[0]);return n.join("")}()}e.exports={get:function(){return i||a},characters:function(e){return c(e),i},seed:function(e){s.seed(e),r!==e&&(o=!1,r=e)},lookup:function(e){return u()[e]},shuffled:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(52),o=n(230),s=n(63),a=n(64),l=n(65),c=n(66),u=n(82),d=n(83),h=n(84),p=n(85),f=n(37),m=n(68);class g extends i.IgnoreIfEmptyXmlComponent{constructor(e){if(super("w:pPr"),!e)return;if(e.border&&this.push(new s.Border(e.border)),e.spacing&&this.push(new u.Spacing(e.spacing)),void 0!==e.outlineLevel&&this.push(new f.OutlineLevel(e.outlineLevel)),e.alignment&&this.push(new r.Alignment(e.alignment)),e.heading&&this.push(new d.Style(e.heading)),e.bidirectional&&this.push(new o.Bidirectional),e.thematicBreak&&this.push(new s.ThematicBreak),e.pageBreakBefore&&this.push(new c.PageBreakBefore),e.contextualSpacing&&this.push(new u.ContextualSpacing(e.contextualSpacing)),e.indent&&this.push(new a.Indent(e.indent)),e.keepLines&&this.push(new l.KeepLines),e.keepNext&&this.push(new l.KeepNext),e.tabStops)for(let t of e.tabStops)this.push(new h.TabStop(t.type,t.position,t.leader));e.style&&this.push(new d.Style(e.style)),e.bullet&&(this.push(new d.Style("ListParagraph")),this.push(new p.NumberProperties(1,e.bullet.level))),e.numbering&&(!e.numbering.custom&&this.push(new d.Style("ListParagraph")),this.push(new p.NumberProperties(e.numbering.reference,e.numbering.level))),e.rightTabStop&&this.push(new h.TabStop(h.TabStopType.RIGHT,e.rightTabStop)),e.leftTabStop&&this.push(new h.TabStop(h.TabStopType.LEFT,e.leftTabStop)),e.shading&&this.push(new m.Shading(e.shading.type,e.shading.fill,e.shading.color))}push(e){this.root.push(e)}}t.ParagraphProperties=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(257),o=n(258);class s extends i.XmlComponent{constructor(e){super("m:dPr"),e&&(this.root.push(new r.MathBeginningCharacter(e.beginningCharacter)),this.root.push(new o.MathEndingCharacter(e.endingCharacter)))}}t.MathBracketProperties=s},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(271)),i(n(43)),i(n(42)),i(n(106))},function(e,t,n){"use strict";var i,r,o,s;Object.defineProperty(t,"__esModule",{value:!0});let a=n(0),l=n(51),c=n(21),u=n(9);(o=t.LevelFormat||(t.LevelFormat={})).BULLET="bullet",o.CARDINAL_TEXT="cardinalText",o.CHICAGO="chicago",o.DECIMAL="decimal",o.DECIMAL_ENCLOSED_CIRCLE="decimalEnclosedCircle",o.DECIMAL_ENCLOSED_FULLSTOP="decimalEnclosedFullstop",o.DECIMAL_ENCLOSED_PARENTHESES="decimalEnclosedParen",o.DECIMAL_ZERO="decimalZero",o.LOWER_LETTER="lowerLetter",o.LOWER_ROMAN="lowerRoman",o.NONE="none",o.ORDINAL_TEXT="ordinalText",o.UPPER_LETTER="upperLetter",o.UPPER_ROMAN="upperRoman";class d extends a.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={ilvl:"w:ilvl",tentative:"w15:tentative"}}}class h extends a.XmlComponent{constructor(e){super("w:start"),this.root.push(new a.Attributes({val:e}))}}class p extends a.XmlComponent{constructor(e){super("w:numFmt"),this.root.push(new a.Attributes({val:e}))}}class f extends a.XmlComponent{constructor(e){super("w:lvlText"),this.root.push(new a.Attributes({val:e}))}}class m extends a.XmlComponent{constructor(e){super("w:lvlJc"),this.root.push(new a.Attributes({val:e}))}}(s=t.LevelSuffix||(t.LevelSuffix={})).NOTHING="nothing",s.SPACE="space",s.TAB="tab";class g extends a.XmlComponent{constructor(e){super("w:suff"),this.root.push(new a.Attributes({val:e}))}}class v extends a.XmlComponent{constructor({level:e,format:t,text:n,alignment:i=l.AlignmentType.START,start:r=1,style:o,suffix:s}){super("w:lvl"),this.root.push(new d({ilvl:e,tentative:1})),this.root.push(new h(r)),this.root.push(new m(i)),t&&this.root.push(new p(t)),n&&this.root.push(new f(n)),this.paragraphProperties=new c.ParagraphProperties(o&&o.paragraph),this.runProperties=new u.RunProperties(o&&o.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),s&&this.root.push(new g(s))}}t.LevelBase=v;t.Level=class e extends v{constructor(e){super(e)}};t.LevelForOverride=class e extends v{}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.BaseXmlComponent=class e{constructor(e){this.deleted=!1,this.rootKey=e}get IsDeleted(){return this.deleted}}},function(e,t,n){var i=n(54),r=n(156),o=n(62),s=n(157);e.exports={xml2js:i,xml2json:r,js2xml:o,json2xml:s}},function(e,t,n){"use strict";var i,r="object"==typeof Reflect?Reflect:null,o=r&&"function"==typeof r.apply?r.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var l=10;function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function u(e,t,n,i){if("function"!=typeof n)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),a=s[t]),void 0===a)a=s[t]=n,++e._eventsCount;else if("function"==typeof a?a=s[t]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var r,o,s,a,l=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,r=l,console&&console.warn&&console.warn(r)}return e}function d(){for(var e=[],t=0;t0&&(s=t[0]),s instanceof Error)throw s;var s,a=Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=r[e];if(void 0===l)return!1;if("function"==typeof l)o(l,this,t);else{for(var c=l.length,u=m(l,c),n=0;n=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,r=o;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;i--)this.removeListener(e,t[i]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},a.prototype.listenerCount=f,a.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},function(e,t,n){(t=e.exports=n(57)).Stream=t,t.Readable=t,t.Writable=n(29),t.Duplex=n(5),t.Transform=n(61),t.PassThrough=n(151)},function(e,t,n){"use strict";(function(t,i,r){var o,s,a=n(15);function l(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,n){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(n),i=i.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e})(t,e)}}e.exports=y;var c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?i:a.nextTick;y.WritableState=v;var u=n(14);u.inherits=n(7);var d={deprecate:n(150)},h=n(58),p=n(16).Buffer,f=r.Uint8Array||function(){},m=n(59);function g(){}function v(e,t){o=o||n(5),e=e||{};var i=t instanceof o;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,s=e.writableHighWaterMark,u=this.objectMode?16:16384;r||0===r?this.highWaterMark=r:i&&(s||0===s)?this.highWaterMark=s:this.highWaterMark=u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var n,i,r,o,s,l,u=e._writableState,d=u.sync,h=u.writecb;if((n=u).writing=!1,n.writecb=null,n.length-=n.writelen,n.writelen=0,t){;i=e,r=u,o=d,s=t,l=h,--r.pendingcb,o?(a.nextTick(l,s),a.nextTick(k,i,r),i._writableState.errorEmitted=!0,i.emit("error",s)):(l(s),i._writableState.errorEmitted=!0,i.emit("error",s),k(i,r))}else{var p=E(u);!p&&!u.corked&&!u.bufferProcessing&&u.bufferedRequest&&_(e,u),d?c(w,e,u,p,h):w(e,u,p,h)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new l(this)}function y(e){if(o=o||n(5),!s.call(y,this)&&!(this instanceof o))return new y(e);this._writableState=new v(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}u.inherits(y,h),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},!function(){try{Object.defineProperty(v.prototype,"buffer",{get:d.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===y&&e&&e._writableState instanceof v}})):s=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};y.prototype.write=function(e,t,n){var i,r,o,s,l,c,u,d,h,m,v,y=this._writableState,w=!1;var _=!y.objectMode&&(i=e,p.isBuffer(i)||i instanceof f);if(_&&!p.isBuffer(e)){;r=e,e=p.from(r)}if("function"==typeof t&&(n=t,t=null),_?t="buffer":!t&&(t=y.defaultEncoding),"function"!=typeof n&&(n=g),y.ended){;o=this,s=n,l=Error("write after end"),o.emit("error",l),a.nextTick(s,l)}else{;if(_||(c=this,u=y,d=e,h=n,m=!0,v=!1,null===d?v=TypeError("May not write null values to stream"):"string"!=typeof d&&void 0!==d&&!u.objectMode&&(v=TypeError("Invalid non-string/buffer chunk")),v&&(c.emit("error",v),a.nextTick(h,v),m=!1),m))y.pendingcb++,w=function(e,t,n,i,r,o){if(!n){var s,a,l,c=(s=t,a=i,l=r,!s.objectMode&&!1!==s.decodeStrings&&"string"==typeof a&&(a=p.from(a,l)),a);i!==c&&(n=!0,r="buffer",i=c)}var u=t.objectMode?1:i.length;t.length+=u;var d=t.length-1))throw TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function b(e,t,n,i,r,o,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,o,t.onwrite),t.sync=!1}function w(e,t,n,i){!n&&function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,i(),k(e,t)}function _(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=Array(t.bufferedRequestCount),r=t.corkedRequestsFree;r.entry=n;for(var o=0,s=!0;n;)i[o]=n,!n.isBuf&&(s=!1),n=n.next,o+=1;i.allBuffers=s,b(e,t,!0,t.length,i,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new l(t),t.bufferedRequestCount=0}else{for(;n;){var a=n.chunk,c=n.encoding,u=n.callback,d=t.objectMode?1:a.length;if(b(e,t,!1,d,a,c,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),k(e,t)})}y.prototype._write=function(e,t,n){n(Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),!i.ending&&!i.finished&&function(e,t,n){t.ending=!0,k(e,t),n&&(t.finished?a.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,i,n)};function k(e,t){var n,i,r=E(t);if(r){;n=e,(i=t).prefinished||i.finalCalled||("function"==typeof n._final?(i.pendingcb++,i.finalCalled=!0,a.nextTick(x,n,i)):(i.prefinished=!0,n.emit("prefinish"))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))}return r}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){if(!!this._writableState)this._writableState.destroyed=e}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,n(13),n(60).setImmediate,n(4))},function(e,t,n){"use strict";var i=n(16).Buffer,r=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===r||!r(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:this.write=h,this.end=p;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function s(e){if(e<=127)return 0;if(e>>5==6)return 2;if(e>>4==14)return 3;else if(e>>3==30)return 4;return e>>6==2?-1:-2}t.StringDecoder=o,o.prototype.write=function(e){var t,n;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(r>0&&(e.lastNeed=r-1),r):--i=0?(r>0&&(e.lastNeed=r-2),r):--i=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}},function(e,t,n){var i=n(32).isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){(!(e in t)||"boolean"!=typeof t[e])&&(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){(!("alwaysArray"in e)||"boolean"!=typeof e.alwaysArray&&!i(e.alwaysArray))&&(e.alwaysArray=!1)},ensureKeyExists:function(e,t){(!(e+"Key"in t)||"string"!=typeof t[e+"Key"])&&(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},function(e,t){e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0});let r=n(0);(i=t.EmphasisMarkType||(t.EmphasisMarkType={})).DOT="dot";class o extends r.XmlComponent{constructor(e){super("w:em"),this.root.push(new r.Attributes({val:e}))}}t.BaseEmphasisMark=o;t.EmphasisMark=class e extends o{constructor(e=i.DOT){super(e)}};t.DotEmphasisMark=class e extends o{constructor(){super(i.DOT)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"}}}class o extends i.XmlComponent{constructor(e,t){super("w:rFonts"),"string"==typeof e?this.root.push(new r({ascii:e,cs:e,eastAsia:e,hAnsi:e,hint:t})):this.root.push(new r(e))}}t.RunFonts=o},function(e,t,n){"use strict";var i,r,o,s,a,l,c,u;Object.defineProperty(t,"__esModule",{value:!0}),(a=t.HorizontalPositionRelativeFrom||(t.HorizontalPositionRelativeFrom={})).CHARACTER="character",a.COLUMN="column",a.INSIDE_MARGIN="insideMargin",a.LEFT_MARGIN="leftMargin",a.MARGIN="margin",a.OUTSIDE_MARGIN="outsideMargin",a.PAGE="page",a.RIGHT_MARGIN="rightMargin",(l=t.VerticalPositionRelativeFrom||(t.VerticalPositionRelativeFrom={})).BOTTOM_MARGIN="bottomMargin",l.INSIDE_MARGIN="insideMargin",l.LINE="line",l.MARGIN="margin",l.OUTSIDE_MARGIN="outsideMargin",l.PAGE="page",l.PARAGRAPH="paragraph",l.TOP_MARGIN="topMargin",(c=t.HorizontalPositionAlign||(t.HorizontalPositionAlign={})).CENTER="center",c.INSIDE="inside",c.LEFT="left",c.OUTSIDE="outside",c.RIGHT="right",(u=t.VerticalPositionAlign||(t.VerticalPositionAlign={})).BOTTOM="bottom",u.CENTER="center",u.INSIDE="inside",u.OUTSIDE="outside",u.TOP="top"},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(200)),i(n(201)),i(n(202)),i(n(203)),i(n(204))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(217)),i(n(219)),i(n(229))},function(e,t,n){"use strict";var i,r,o,s,a,l,c,u;Object.defineProperty(t,"__esModule",{value:!0});let d=n(0);class h extends d.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={style:"w:val",size:"w:sz",color:"w:color"}}}class p extends d.XmlComponent{setProperties(e,t,n){let i=new h({style:e,size:t,color:n});return this.root.push(i),this}}class f extends d.IgnoreIfEmptyXmlComponent{constructor(){super("w:tcBorders")}addTopBorder(e,t,n){let i=new p("w:top");return i.setProperties(e,t,n),this.root.push(i),this}addStartBorder(e,t,n){let i=new p("w:start");return i.setProperties(e,t,n),this.root.push(i),this}addBottomBorder(e,t,n){let i=new p("w:bottom");return i.setProperties(e,t,n),this.root.push(i),this}addEndBorder(e,t,n){let i=new p("w:end");return i.setProperties(e,t,n),this.root.push(i),this}addLeftBorder(e,t,n){let i=new p("w:left");return i.setProperties(e,t,n),this.root.push(i),this}addRightBorder(e,t,n){let i=new p("w:right");return i.setProperties(e,t,n),this.root.push(i),this}}t.TableCellBorders=f;class m extends d.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class g extends d.XmlComponent{constructor(e){super("w:gridSpan"),this.root.push(new m({val:e}))}}t.GridSpan=g,(a=t.VerticalMergeType||(t.VerticalMergeType={})).CONTINUE="continue",a.RESTART="restart";class v extends d.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class y extends d.XmlComponent{constructor(e){super("w:vMerge"),this.root.push(new v({val:e}))}}t.VerticalMerge=y,(l=t.VerticalAlign||(t.VerticalAlign={})).BOTTOM="bottom",l.CENTER="center",l.TOP="top";class b extends d.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class w extends d.XmlComponent{constructor(e){super("w:vAlign"),this.root.push(new b({val:e}))}}t.VAlign=w,(c=t.TextDirection||(t.TextDirection={})).BOTTOM_TO_TOP_LEFT_TO_RIGHT="btLr",c.LEFT_TO_RIGHT_TOP_TO_BOTTOM="lrTb",c.TOP_TO_BOTTOM_RIGHT_TO_LEFT="tbRl";class _ extends d.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class E extends d.XmlComponent{constructor(e){super("w:textDirection"),this.root.push(new _({val:e}))}}t.TDirection=E,(u=t.WidthType||(t.WidthType={})).AUTO="auto",u.DXA="dxa",u.NIL="nil",u.PERCENTAGE="pct";class x extends d.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={width:"w:w",type:"w:type"}}}class k extends d.XmlComponent{constructor(e,t){super("w:tcW"),this.root.push(new x({width:e,type:t}))}}t.TableCellWidth=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(267))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(41);class o extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"}}}class s extends i.XmlComponent{constructor(e,t){super("w:style"),this.root.push(new o(e)),t&&this.root.push(new r.Name(t))}}t.Style=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class o extends i.XmlComponent{constructor(e){super("w:name"),this.root.push(new r({val:e}))}}t.Name=o;class s extends i.XmlComponent{constructor(e){super("w:basedOn"),this.root.push(new r({val:e}))}}t.BasedOn=s;class a extends i.XmlComponent{constructor(e){super("w:next"),this.root.push(new r({val:e}))}}t.Next=a;class l extends i.XmlComponent{constructor(e){super("w:link"),this.root.push(new r({val:e}))}}t.Link=l;class c extends i.XmlComponent{constructor(e){super("w:uiPriority"),this.root.push(new r({val:e}))}}t.UiPriority=c;class u extends i.XmlComponent{constructor(){super("w:unhideWhenUsed")}}t.UnhideWhenUsed=u;class d extends i.XmlComponent{constructor(){super("w:qFormat")}}t.QuickFormat=d;class h extends i.XmlComponent{}t.TableProperties=h;class p extends i.XmlComponent{}t.RsId=p;class f extends i.XmlComponent{constructor(){super("w:semiHidden")}}t.SemiHidden=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(9),o=n(41),s=n(40);class a extends s.Style{constructor(e){super({type:"paragraph",styleId:e.id},e.name),this.paragraphProperties=new i.ParagraphProperties(e.paragraph),this.runProperties=new r.RunProperties(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),e.basedOn&&this.root.push(new o.BasedOn(e.basedOn)),e.next&&this.root.push(new o.Next(e.next)),e.quickFormat&&this.root.push(new o.QuickFormat),e.link&&this.root.push(new o.Link(e.link)),e.semiHidden&&this.root.push(new o.SemiHidden),e.uiPriority&&this.root.push(new o.UiPriority(e.uiPriority)),e.unhideWhenUsed&&this.root.push(new o.UnhideWhenUsed)}}t.StyleForParagraph=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(9),r=n(41),o=n(40);class s extends o.Style{constructor(e){super({type:"character",styleId:e.id},e.name),this.runProperties=new i.RunProperties(e.run),this.root.push(this.runProperties),this.root.push(new r.UiPriority(99)),this.root.push(new r.UnhideWhenUsed),e.basedOn&&this.root.push(new r.BasedOn(e.basedOn)),e.link&&this.root.push(new r.Link(e.link)),e.semiHidden&&this.root.push(new r.SemiHidden)}}t.StyleForCharacter=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertMillimetersToTwip=e=>Math.floor(e/25.4*1440),t.convertInchesToTwip=e=>Math.floor(1440*e)},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.PageOrientation||(t.PageOrientation={})).PORTRAIT="portrait",r.LANDSCAPE="landscape";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={width:"w:w",height:"w:h",orientation:"w:orient"}}}t.PageSizeAttributes=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(308),r=n(47);t.FooterWrapper=class e{constructor(e,t,n){this.media=e,this.footer=new i.Footer(t,n),this.relationships=new r.Relationships}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get Footer(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(310))},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0});let r=n(0),o=n(312);(t.TargetModeType||(t.TargetModeType={})).EXTERNAL="External";class s extends r.XmlComponent{constructor(e,t,n,i){super("Relationship"),this.root.push(new o.RelationshipAttributes({id:e,type:t,target:n,targetMode:i}))}}t.Relationship=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(326),r=n(47);t.HeaderWrapper=class e{constructor(e,t,n){this.media=e,this.header=new i.Header(t,n),this.relationships=new r.Relationships}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get Header(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(328)),i(n(329))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(52)),i(n(63)),i(n(64)),i(n(65)),i(n(66)),i(n(82)),i(n(83)),i(n(84)),i(n(85))},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.AlignmentType||(t.AlignmentType={})).START="start",r.END="end",r.CENTER="center",r.BOTH="both",r.JUSTIFIED="both",r.DISTRIBUTE="distribute",r.LEFT="left",r.RIGHT="right";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}t.AlignmentAttributes=s;class a extends o.XmlComponent{constructor(e){super("w:jc"),this.root.push(new s({val:e}))}}t.Alignment=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(25);class r extends i.BaseXmlComponent{constructor(e){super("_attr"),this.root=e}prepForXml(){let e={};return Object.keys(this.root).forEach(t=>{let n=this.root[t];void 0!==n&&(e[this.xmlKeys&&this.xmlKeys[t]||t]=n)}),{_attr:e}}set(e){this.root=e}}t.XmlAttributeComponent=r},function(e,t,n){var i,r,o=n(143),s={on:function(){},parse:function(){}},a=n(31),l=n(32).isArray;function c(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function u(e,t){var n;if(i.compact){if(!r[i[e+"Key"]]&&(l(i.alwaysArray)?-1!==i.alwaysArray.indexOf(i[e+"Key"]):i.alwaysArray)&&(r[i[e+"Key"]]=[]),r[i[e+"Key"]]&&!l(r[i[e+"Key"]])&&(r[i[e+"Key"]]=[r[i[e+"Key"]]]),e+"Fn"in i&&"string"==typeof t&&(t=i[e+"Fn"](t,r)),"instruction"===e&&("instructionFn"in i||"instructionNameFn"in i)){for(n in t)if(t.hasOwnProperty(n)){if("instructionFn"in i)t[n]=i.instructionFn(t[n],n,r);else{var o=t[n];delete t[n],t[i.instructionNameFn(n,o,r)]=o}}}l(r[i[e+"Key"]])?r[i[e+"Key"]].push(t):r[i[e+"Key"]]=t}else{!r[i.elementsKey]&&(r[i.elementsKey]=[]);var s={};if(s[i.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;s[i.nameKey]="instructionNameFn"in i?i.instructionNameFn(n,t,r):n,i.instructionHasAttributes?(s[i.attributesKey]=t[n][i.attributesKey],"instructionFn"in i&&(s[i.attributesKey]=i.instructionFn(s[i.attributesKey],n,r))):("instructionFn"in i&&(t[n]=i.instructionFn(t[n],n,r)),s[i.instructionKey]=t[n])}else e+"Fn"in i&&(t=i[e+"Fn"](t,r)),s[i[e+"Key"]]=t;i.addParent&&(s[i.parentKey]=r),r[i.elementsKey].push(s)}}function d(e){if("attributesFn"in i&&e&&(e=i.attributesFn(e,r)),(i.trim||"attributeValueFn"in i||"attributeNameFn"in i||i.nativeTypeAttributes)&&e){var t;for(t in e)if(e.hasOwnProperty(t)&&(i.trim&&(e[t]=e[t].trim()),i.nativeTypeAttributes&&(e[t]=c(e[t])),"attributeValueFn"in i&&(e[t]=i.attributeValueFn(e[t],t,r)),"attributeNameFn"in i)){var n=e[t];delete e[t],e[i.attributeNameFn(t,e[t],r)]=n}}return e}function h(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||i.instructionHasAttributes)){for(var n,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=o.exec(e.body));)t[n[1]]=n[2]||n[3]||n[4];t=d(t)}if("xml"===e.name.toLowerCase()){if(i.ignoreDeclaration)return;r[i.declarationKey]={},Object.keys(t).length&&(r[i.declarationKey][i.attributesKey]=t),i.addParent&&(r[i.declarationKey][i.parentKey]=r)}else{if(i.ignoreInstruction)return;i.trim&&(e.body=e.body.trim());var s={};i.instructionHasAttributes&&Object.keys(t).length?(s[e.name]={},s[e.name][i.attributesKey]=t):s[e.name]=e.body,u("instruction",s)}}function p(e,t){var n,o;if("object"==typeof e&&(t=e.attributes,e=e.name),t=d(t),"elementNameFn"in i&&(e=i.elementNameFn(e,r)),i.compact){if(n={},!i.ignoreAttributes&&t&&Object.keys(t).length)for(o in n[i.attributesKey]={},t)t.hasOwnProperty(o)&&(n[i.attributesKey][o]=t[o]);!(e in r)&&(l(i.alwaysArray)?-1!==i.alwaysArray.indexOf(e):i.alwaysArray)&&(r[e]=[]),r[e]&&!l(r[e])&&(r[e]=[r[e]]),l(r[e])?r[e].push(n):r[e]=n}else!r[i.elementsKey]&&(r[i.elementsKey]=[]),(n={})[i.typeKey]="element",n[i.nameKey]=e,!i.ignoreAttributes&&t&&Object.keys(t).length&&(n[i.attributesKey]=t),i.alwaysChildren&&(n[i.elementsKey]=[]),r[i.elementsKey].push(n);n[i.parentKey]=r,r=n}function f(e){if(!i.ignoreText&&(!!e.trim()||!!i.captureSpacesBetweenElements))i.trim&&(e=e.trim()),i.nativeType&&(e=c(e)),i.sanitize&&(e=e.replace(/&/g,"&").replace(//g,">")),u("text",e)}function m(e){if(!i.ignoreComment)i.trim&&(e=e.trim()),u("comment",e)}function g(e){var t=r[i.parentKey];!i.addParent&&delete r[i.parentKey],r=t}function v(e){if(!i.ignoreCdata)i.trim&&(e=e.trim()),u("cdata",e)}function y(e){if(!i.ignoreDoctype)e=e.replace(/^ /,""),i.trim&&(e=e.trim()),u("doctype",e)}function b(e){e.note=e}e.exports=function(e,t){var n,s=o.parser(!0,{}),l={};r=l,n=t,i=a.copyOptions(n),a.ensureFlagExists("ignoreDeclaration",i),a.ensureFlagExists("ignoreInstruction",i),a.ensureFlagExists("ignoreAttributes",i),a.ensureFlagExists("ignoreText",i),a.ensureFlagExists("ignoreComment",i),a.ensureFlagExists("ignoreCdata",i),a.ensureFlagExists("ignoreDoctype",i),a.ensureFlagExists("compact",i),a.ensureFlagExists("alwaysChildren",i),a.ensureFlagExists("addParent",i),a.ensureFlagExists("trim",i),a.ensureFlagExists("nativeType",i),a.ensureFlagExists("nativeTypeAttributes",i),a.ensureFlagExists("sanitize",i),a.ensureFlagExists("instructionHasAttributes",i),a.ensureFlagExists("captureSpacesBetweenElements",i),a.ensureAlwaysArrayExists(i),a.ensureKeyExists("declaration",i),a.ensureKeyExists("instruction",i),a.ensureKeyExists("attributes",i),a.ensureKeyExists("text",i),a.ensureKeyExists("comment",i),a.ensureKeyExists("cdata",i),a.ensureKeyExists("doctype",i),a.ensureKeyExists("type",i),a.ensureKeyExists("name",i),a.ensureKeyExists("elements",i),a.ensureKeyExists("parent",i),a.checkFnExists("doctype",i),a.checkFnExists("instruction",i),a.checkFnExists("cdata",i),a.checkFnExists("comment",i),a.checkFnExists("text",i),a.checkFnExists("instructionName",i),a.checkFnExists("elementName",i),a.checkFnExists("attributeName",i),a.checkFnExists("attributeValue",i),a.checkFnExists("attributes",i),s.opt={strictEntities:!0},s.onopentag=p,s.ontext=f,s.oncomment=m,s.onclosetag=g,s.onerror=b,s.oncdata=v,s.ondoctype=y,s.onprocessinginstruction=h;s.write(e).close();if(l[i.elementsKey]){var c=l[i.elementsKey];delete l[i.elementsKey],l[i.elementsKey]=c,delete l.text}return l}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){e.exports=r;var i=n(27).EventEmitter;function r(){i.call(this)}n(7)(r,i),r.Readable=n(28),r.Writable=n(152),r.Duplex=n(153),r.Transform=n(154),r.PassThrough=n(155),r.Stream=r,r.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",o),!e._isStdio&&(!t||!1!==t.end)&&(n.on("end",a),n.on("close",l));var s=!1;function a(){!s&&(s=!0,e.end())}function l(){!s&&(s=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===i.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",r),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},function(e,t,n){"use strict";(function(t,i){var r,o,s=n(15);e.exports=b;var a=n(55);b.ReadableState=y,n(27).EventEmitter;var l=function(e,t){return e.listeners(t).length},c=n(58),u=n(16).Buffer,d=t.Uint8Array||function(){},h=n(14);h.inherits=n(7);var p=n(146),f=void 0;f=p&&p.debuglog?p.debuglog("stream"):function(){};var m=n(147),g=n(59);h.inherits(b,c);var v=["error","close","destroy","pause","resume"];function y(e,t){r=r||n(5),e=e||{};var i=t instanceof r;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var s=e.highWaterMark,a=e.readableHighWaterMark,l=this.objectMode?16:16384;s||0===s?this.highWaterMark=s:i&&(a||0===a)?this.highWaterMark=a:this.highWaterMark=l,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(!o&&(o=n(30).StringDecoder),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function b(e){if(r=r||n(5),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,n,i,r){var o,s,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,x(e)}}(e,a);else if(!r&&(s=function(e,t){var n,i;if(i=t,!u.isBuffer(i)&&!(i instanceof d)&&"string"!=typeof t&&void 0!==t&&!e.objectMode)n=TypeError("Invalid non-string/buffer chunk");return n}(a,t)),s)e.emit("error",s);else if(a.objectMode||t&&t.length>0){if("string"!=typeof t&&!a.objectMode&&Object.getPrototypeOf(t)!==u.prototype){;o=t,t=u.from(o)}i?a.endEmitted?e.emit("error",Error("stream.unshift() after end event")):_(e,a,t,!0):a.ended?e.emit("error",Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?_(e,a,t,!1):T(e,a)):_(e,a,t,!1))}else!i&&(a.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark){var n;t.highWaterMark=((n=e)>=8388608?n=8388608:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}b.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t,n=this._readableState,i=e;if(0!==e&&(n.emittedReadable=!1),0===e&&n.needReadable&&(n.length>=n.highWaterMark||n.ended))return f("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?I(this):x(this),null;if(0===(e=E(e,n))&&n.ended)return 0===n.length&&I(this),null;var r=n.needReadable;return f("need readable",r),(0===n.length||n.length-e0?N(e,n):null)?(n.needReadable=!0,e=0):n.length-=e,0===n.length&&(!n.ended&&(n.needReadable=!0),i!==e&&n.ended&&I(this)),null!==t&&this.emit("data",t),t};function x(e){var t=e._readableState;t.needReadable=!1,!t.emittedReadable&&(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?s.nextTick(k,e):k(e))}function k(e){f("emit readable"),e.emit("readable"),S(e)}function T(e,t){!t.readingMore&&(t.readingMore=!0,s.nextTick(O,e,t))}function O(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length1&&-1!==R(r.pipes,e))&&!h&&(f("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function g(t){f("onerror",t),b(),e.removeListener("error",g),0===l(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",y),b()}function y(){f("onfinish"),e.removeListener("close",v),b()}function b(){f("unpipe"),n.unpipe(e)}return n.on("data",m),!function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",g),e.once("close",v),e.once("finish",y),e.emit("pipe",n),!r.flowing&&(f("pipe resume"),n.resume()),e};function C(e){f("readable nexttick read 0"),e.read(0)}b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(!e&&(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var i;return eo.length?o.length:e;if(s===o.length?r+=o:r+=o.slice(0,e),0==(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t):function(e,t){var n=u.allocUnsafe(e),i=t.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var o=i.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),0==(e-=s)){s===o.length?(++r,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=o.slice(s));break}++r}return t.length-=r,n}(e,t),i}(e,t.buffer,t.decoder),n)}b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,i=!1;for(var r in e.on("end",function(){if(f("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(r){if(f("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r)return;if(!!n.objectMode||!!r&&!!r.length)!t.push(r)&&(i=!0,e.pause())}),e)void 0===this[r]&&"function"==typeof e[r]&&(this[r]=function(t){return function(){return e[t].apply(e,arguments)}}(r));for(var o=0;o0)throw Error('"endReadable()" called on non-empty stream');!t.endEmitted&&(t.ended=!0,s.nextTick(L,t,e))}function L(e,t){!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var n=0,i=e.length;n=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(149),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(4))},function(e,t,n){"use strict";e.exports=s;var i=n(5),r=n(14);function o(e,t){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(!i)return this.emit("error",Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),i(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length"}function u(e,t,n){if(t.ignoreInstruction)return"";for(o in e)if(e.hasOwnProperty(o))break;var o,s="instructionNameFn"in t?t.instructionNameFn(o,e[o],r,i):o;if("object"==typeof e[o])return i=e,r=s,"";var a=e[o]?e[o]:"";return"instructionFn"in t&&(a=t.instructionFn(a,o,r,i)),""}function d(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,r,i):e)+"--\x3e"}function h(e,t){return t.ignoreCdata?"":"","]]]]>"))+"]]>"}function p(e,t){return t.ignoreDoctype?"":""}function f(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&/g,"&")).replace(/&/g,"&").replace(//g,">"),"textFn"in t?t.textFn(e,r,i):e)}function m(e,t,n,o){return e.reduce(function(e,s){var c,g,v,y,b,w,_=a(t,n,o&&!e);switch(s.type){case"element":;return e+_+(c=s,g=t,v=n,i=c,r=c.name,y=[],b="elementNameFn"in g?g.elementNameFn(c.name,c):c.name,y.push("<"+b),c[g.attributesKey]&&y.push(l(c[g.attributesKey],g,v)),!(w=c[g.elementsKey]&&c[g.elementsKey].length||c[g.attributesKey]&&"preserve"===c[g.attributesKey]["xml:space"])&&(w="fullTagEmptyElementFn"in g?g.fullTagEmptyElementFn(c.name,c):g.fullTagEmptyElement),w?(y.push(">"),c[g.elementsKey]&&c[g.elementsKey].length&&(y.push(m(c[g.elementsKey],g,v+1)),i=c,r=c.name),y.push(g.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n")):y.push("/>"),y.join(""));case"comment":return e+_+d(s[t.commentKey],t);case"doctype":return e+_+p(s[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?_:"")+h(s[t.cdataKey],t);case"text":return e+(t.indentText?_:"")+f(s[t.textKey],t);case"instruction":var E={};return E[s[t.nameKey]]=s[t.attributesKey]?s:s[t.instructionKey],e+(t.indentInstruction?_:"")+u(E,t,n)}},"")}function g(e,t,n){var i;for(i in e)if(e.hasOwnProperty(i))switch(i){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function v(e,t,n,o){var m,y,b,w=[];for(y in e)if(e.hasOwnProperty(y))for(m=0,b=s(e[y])?e[y]:[e[y]];m":"<"+c+"/>";var u=[];if(t){if(u.push("<"+c),"object"!=typeof e)return u.push(">"+f(e,n)+""),u.join("");e[n.attributesKey]&&u.push(l(e[n.attributesKey],n,o));var d=g(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(!d&&(d="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!d)return u.push("/>"),u.join("");u.push(">")}return u.push(v(e,n,o+1,!1)),i=e,r=t,t&&u.push((s?a(n,o,!1):"")+""),u.join("")}(b[m],y,t,n,g(b[m],t)))}o=o&&!w.length}return w.join("")}e.exports=function(e,t){n=t,s=o.copyOptions(n),o.ensureFlagExists("ignoreDeclaration",s),o.ensureFlagExists("ignoreInstruction",s),o.ensureFlagExists("ignoreAttributes",s),o.ensureFlagExists("ignoreText",s),o.ensureFlagExists("ignoreComment",s),o.ensureFlagExists("ignoreCdata",s),o.ensureFlagExists("ignoreDoctype",s),o.ensureFlagExists("compact",s),o.ensureFlagExists("indentText",s),o.ensureFlagExists("indentCdata",s),o.ensureFlagExists("indentAttributes",s),o.ensureFlagExists("indentInstruction",s),o.ensureFlagExists("fullTagEmptyElement",s),o.ensureFlagExists("noQuotesForNativeAttributes",s),o.ensureSpacesExists(s),"number"==typeof s.spaces&&(s.spaces=Array(s.spaces+1).join(" ")),o.ensureKeyExists("declaration",s),o.ensureKeyExists("instruction",s),o.ensureKeyExists("attributes",s),o.ensureKeyExists("text",s),o.ensureKeyExists("comment",s),o.ensureKeyExists("cdata",s),o.ensureKeyExists("doctype",s),o.ensureKeyExists("type",s),o.ensureKeyExists("name",s),o.ensureKeyExists("elements",s),o.checkFnExists("doctype",s),o.checkFnExists("instruction",s),o.checkFnExists("cdata",s),o.checkFnExists("comment",s),o.checkFnExists("text",s),o.checkFnExists("instructionName",s),o.checkFnExists("elementName",s),o.checkFnExists("attributeName",s),o.checkFnExists("attributeValue",s),o.checkFnExists("attributes",s),o.checkFnExists("fullTagEmptyElement",s),t=s;var n,s,a=[];return i=e,r="_root_",t.compact?a.push(v(e,t,0,!0)):(e[t.declarationKey]&&a.push(c(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&a.push(m(e[t.elementsKey],t,0,!a.length))),a.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(160);class o extends i.XmlComponent{constructor(e,t={color:"auto",space:1,value:"single",size:6}){super(e);let n=new r.BorderAttributes({color:t.color,space:t.space,val:t.value,sz:t.size});this.root.push(n)}}class s extends i.XmlComponent{constructor(e){if(super("w:pBdr"),void 0!==e.top){let t=new o("w:top",e.top);this.root.push(t)}if(void 0!==e.bottom){let t=new o("w:bottom",e.bottom);this.root.push(t)}if(void 0!==e.left){let t=new o("w:left",e.left);this.root.push(t)}if(void 0!==e.right){let t=new o("w:right",e.right);this.root.push(t)}}}t.Border=s;class a extends i.XmlComponent{constructor(){super("w:pBdr");let e=new o("w:bottom",{color:"auto",space:1,value:"single",size:6});this.root.push(e)}}t.ThematicBreak=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={left:"w:left",hanging:"w:hanging",firstLine:"w:firstLine",start:"w:start",end:"w:end",right:"w:end"}}}class o extends i.XmlComponent{constructor(e){super("w:ind"),this.root.push(new r(e))}}t.Indent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:keepLines")}}t.KeepLines=r;class o extends i.XmlComponent{constructor(){super("w:keepNext")}}t.KeepNext=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(3);class o extends i.XmlComponent{constructor(){super("w:br"),this.root.push(new i.Attributes({type:"page"}))}}class s extends r.Run{constructor(){super({}),this.root.push(new o)}}t.PageBreak=s;class a extends i.XmlComponent{constructor(){super("w:pageBreakBefore")}}t.PageBreakBefore=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:br")}}t.Break=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);var r=n(19);t.Underline=r.Underline;var o=n(33);t.EmphasisMark=o.EmphasisMark;var s=n(69);t.SubScript=s.SubScript,t.SuperScript=s.SuperScript;var a=n(34);t.RunFonts=a.RunFonts;class l extends i.XmlComponent{constructor(){super("w:b"),this.root.push(new i.Attributes({val:!0}))}}t.Bold=l;class c extends i.XmlComponent{constructor(){super("w:bCs"),this.root.push(new i.Attributes({val:!0}))}}t.BoldComplexScript=c;class u extends i.XmlComponent{constructor(e){super("w:spacing"),this.root.push(new i.Attributes({val:e}))}}t.CharacterSpacing=u;class d extends i.XmlComponent{constructor(){super("w:i"),this.root.push(new i.Attributes({val:!0}))}}t.Italics=d;class h extends i.XmlComponent{constructor(){super("w:iCs"),this.root.push(new i.Attributes({val:!0}))}}t.ItalicsComplexScript=h;class p extends i.XmlComponent{constructor(){super("w:caps"),this.root.push(new i.Attributes({val:!0}))}}t.Caps=p;class f extends i.XmlComponent{constructor(e){super("w:color"),this.root.push(new i.Attributes({val:e}))}}t.Color=f;class m extends i.XmlComponent{constructor(){super("w:dstrike"),this.root.push(new i.Attributes({val:!0}))}}t.DoubleStrike=m;class g extends i.XmlComponent{constructor(){super("w:emboss"),this.root.push(new i.Attributes({val:!0}))}}t.Emboss=g;class v extends i.XmlComponent{constructor(){super("w:imprint"),this.root.push(new i.Attributes({val:!0}))}}t.Imprint=v;class y extends i.XmlComponent{constructor(){super("w:smallCaps"),this.root.push(new i.Attributes({val:!0}))}}t.SmallCaps=y;class b extends i.XmlComponent{constructor(){super("w:strike"),this.root.push(new i.Attributes({val:!0}))}}t.Strike=b;class w extends i.XmlComponent{constructor(e){super("w:sz"),this.root.push(new i.Attributes({val:e}))}}t.Size=w;class _ extends i.XmlComponent{constructor(e){super("w:szCs"),this.root.push(new i.Attributes({val:e}))}}t.SizeComplexScript=_;class E extends i.XmlComponent{constructor(){super("w:rtl"),this.root.push(new i.Attributes({val:!0}))}}t.RightToLeft=E;class x extends i.XmlComponent{constructor(e){super("w:highlight"),this.root.push(new i.Attributes({val:e}))}}t.Highlight=x;class k extends i.XmlComponent{constructor(e){super("w:highlightCs"),this.root.push(new i.Attributes({val:e}))}}t.HighlightComplexScript=k;class T extends i.XmlComponent{constructor(e,t,n){super("w:shd"),this.root.push(new i.Attributes({val:e,fill:t,color:n}))}}t.Shading=T;class O extends i.XmlComponent{constructor(e,t,n){super("w:shdCs"),this.root.push(new i.Attributes({val:e,fill:t,color:n}))}}t.ShadowComplexScript=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){super("w:vertAlign"),this.root.push(new i.Attributes({val:e}))}}t.VerticalAlign=r;t.SuperScript=class e extends r{constructor(){super("superscript")}};t.SubScript=class e extends r{constructor(){super("subscript")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class o extends i.XmlComponent{constructor(e){super("w:rStyle"),this.root.push(new r({val:e}))}}t.Style=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(8),r=n(0);class o extends r.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={space:"xml:space"}}}class s extends r.XmlComponent{constructor(e){super("w:t"),this.root.push(new o({space:i.SpaceType.PRESERVE})),this.root.push(e)}}t.Text=s},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(166)),i(n(36)),i(n(73))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(35)),i(n(169)),i(n(170)),i(n(171))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){super("wp:align"),this.root.push(e)}}t.Align=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){super("wp:posOffset"),this.root.push(e.toString())}}t.PositionOffset=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(172))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(205);class o extends i.XmlComponent{constructor(){super("wp:docPr"),this.root.push(new r.DocPropertiesAttributes({id:0,name:"",descr:""}))}}t.DocProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(206);class o extends i.XmlComponent{constructor(){super("wp:effectExtent"),this.root.push(new r.EffectExtentAttributes({b:0,l:0,r:0,t:0}))}}t.EffectExtent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(207);class o extends i.XmlComponent{constructor(e,t){super("wp:extent"),this.attributes=new r.ExtentAttributes({cx:e,cy:t}),this.root.push(this.attributes)}setXY(e,t){this.attributes.set({cx:e,cy:t})}}t.Extent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(208);class o extends i.XmlComponent{constructor(){super("wp:cNvGraphicFramePr"),this.root.push(new r.GraphicFrameLocks)}}t.GraphicFrameProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"}}}t.AnchorAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule"}}}class o extends i.XmlComponent{constructor(e){super("w:spacing"),this.root.push(new r(e))}}t.Spacing=o;class s extends i.XmlComponent{constructor(e){super("w:contextualSpacing"),this.root.push(new i.Attributes({val:!1===e?0:1}))}}t.ContextualSpacing=s},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.HeadingLevel||(t.HeadingLevel={})).HEADING_1="Heading1",r.HEADING_2="Heading2",r.HEADING_3="Heading3",r.HEADING_4="Heading4",r.HEADING_5="Heading5",r.HEADING_6="Heading6",r.TITLE="Title";class s extends o.XmlComponent{constructor(e){super("w:pStyle"),this.root.push(new o.Attributes({val:e}))}}t.Style=s},function(e,t,n){"use strict";var i,r,o,s,a,l;Object.defineProperty(t,"__esModule",{value:!0});let c=n(0);class u extends c.XmlComponent{constructor(e,t,n){super("w:tabs"),this.root.push(new h(e,t,n))}}t.TabStop=u,(s=t.TabStopType||(t.TabStopType={})).LEFT="left",s.RIGHT="right",s.CENTER="center",s.BAR="bar",s.CLEAR="clear",s.DECIMAL="decimal",s.END="end",s.NUM="num",s.START="start",(a=t.LeaderType||(t.LeaderType={})).DOT="dot",a.HYPHEN="hyphen",a.MIDDLE_DOT="middleDot",a.NONE="none",a.UNDERSCORE="underscore",(l=t.TabStopPosition||(t.TabStopPosition={}))[l.MAX=9026]="MAX";class d extends c.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val",pos:"w:pos",leader:"w:leader"}}}t.TabAttributes=d;class h extends c.XmlComponent{constructor(e,t,n){super("w:tab"),this.root.push(new d({val:e,pos:t,leader:n}))}}t.TabStopItem=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e,t){super("w:numPr"),this.root.push(new o(t)),this.root.push(new s(e))}}t.NumberProperties=r;class o extends i.XmlComponent{constructor(e){super("w:ilvl"),this.root.push(new i.Attributes({val:e}))}}class s extends i.XmlComponent{constructor(e){super("w:numId"),this.root.push(new i.Attributes({val:"string"==typeof e?`{${e}}`:e}))}}},function(e,t,n){"use strict";e.exports=n(220)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:den"),e))this.root.push(t)}}t.MathDenominator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:num"),e))this.root.push(t)}}t.MathNumerator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={accent:"m:val"}}}class o extends i.XmlComponent{constructor(e){super("m:chr"),this.root.push(new r({accent:e}))}}t.MathAccentCharacter=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:e"),e))this.root.push(t)}}t.MathBase=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={value:"m:val"}}}class o extends i.XmlComponent{constructor(){super("m:limLoc"),this.root.push(new r({value:"undOvr"}))}}t.MathLimitLocation=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(89),o=n(91),s=n(237),a=n(238);class l extends i.XmlComponent{constructor(e,t,n){super("m:naryPr"),this.root.push(new r.MathAccentCharacter(e)),this.root.push(new o.MathLimitLocation),!t&&this.root.push(new a.MathSuperScriptHide),!n&&this.root.push(new s.MathSubScriptHide)}}t.MathNArayProperties=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:sub"),e))this.root.push(t)}}t.MathSubScriptElement=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:sup"),e))this.root.push(t)}}t.MathSuperScriptElement=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:sSupPr")}}t.MathSuperScriptProperties=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:sSubPr")}}t.MathSubScriptProperties=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:sSubSupPr")}}t.MathSubSuperScriptProperties=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:sPrePr")}}t.MathPreSubSuperScriptProperties=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){if(super("m:deg"),e)for(let t of e)this.root.push(t)}}t.MathDegree=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(252);class o extends i.XmlComponent{constructor(e){super("m:radPr"),!e&&this.root.push(new r.MathDegreeHide)}}t.MathRadicalProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("m:fName"),e))this.root.push(t)}}t.MathFunctionName=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("m:funcPr")}}t.MathFunctionProperties=r},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(270)),i(n(109)),i(n(111)),i(n(104)),i(n(110))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(23),r=n(0);class o extends r.XmlComponent{constructor(e){super("w:tblBorders"),e.top?this.root.push(new s("w:top",e.top.style,e.top.size,0,e.top.color)):this.root.push(new s("w:top",i.BorderStyle.SINGLE,4,0,"auto")),e.left?this.root.push(new s("w:left",e.left.style,e.left.size,0,e.left.color)):this.root.push(new s("w:left",i.BorderStyle.SINGLE,4,0,"auto")),e.bottom?this.root.push(new s("w:bottom",e.bottom.style,e.bottom.size,0,e.bottom.color)):this.root.push(new s("w:bottom",i.BorderStyle.SINGLE,4,0,"auto")),e.right?this.root.push(new s("w:right",e.right.style,e.right.size,0,e.right.color)):this.root.push(new s("w:right",i.BorderStyle.SINGLE,4,0,"auto")),e.insideHorizontal?this.root.push(new s("w:insideH",e.insideHorizontal.style,e.insideHorizontal.size,0,e.insideHorizontal.color)):this.root.push(new s("w:insideH",i.BorderStyle.SINGLE,4,0,"auto")),e.insideVertical?this.root.push(new s("w:insideV",e.insideVertical.style,e.insideVertical.size,0,e.insideVertical.color)):this.root.push(new s("w:insideV",i.BorderStyle.SINGLE,4,0,"auto"))}}o.NONE={top:{style:i.BorderStyle.NONE,size:0,color:"auto"},bottom:{style:i.BorderStyle.NONE,size:0,color:"auto"},left:{style:i.BorderStyle.NONE,size:0,color:"auto"},right:{style:i.BorderStyle.NONE,size:0,color:"auto"},insideHorizontal:{style:i.BorderStyle.NONE,size:0,color:"auto"},insideVertical:{style:i.BorderStyle.NONE,size:0,color:"auto"}},t.TableBorders=o;class s extends r.XmlComponent{constructor(e,t,n,i,r){super(e),this.root.push(new a({value:t,size:n,space:i,color:r}))}}class a extends r.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={value:"w:val",size:"w:sz",space:"w:space",color:"w:color"}}}},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(40)),i(n(42)),i(n(43)),i(n(272))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(107)),i(n(108)),i(n(275))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(21),r=n(0);class o extends r.XmlComponent{constructor(e){super("w:pPrDefault"),this.root.push(new i.ParagraphProperties(e))}}t.ParagraphPropertiesDefaults=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(9),r=n(0);class o extends r.XmlComponent{constructor(e){super("w:rPrDefault"),this.properties=new i.RunProperties(e),this.root.push(this.properties)}}t.RunPropertiesDefaults=o},function(e,t,n){"use strict";var i,r,o,s,a,l;Object.defineProperty(t,"__esModule",{value:!0});let c=n(0),u=n(110);(s=t.TableAnchorType||(t.TableAnchorType={})).MARGIN="margin",s.PAGE="page",s.TEXT="text",(a=t.RelativeHorizontalPosition||(t.RelativeHorizontalPosition={})).CENTER="center",a.INSIDE="inside",a.LEFT="left",a.OUTSIDE="outside",a.RIGHT="right",(l=t.RelativeVerticalPosition||(t.RelativeVerticalPosition={})).CENTER="center",l.INSIDE="inside",l.BOTTOM="bottom",l.OUTSIDE="outside",l.INLINE="inline",l.TOP="top";class d extends c.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={horizontalAnchor:"w:horzAnchor",verticalAnchor:"w:vertAnchor",absoluteHorizontalPosition:"w:tblpX",relativeHorizontalPosition:"w:tblpXSpec",absoluteVerticalPosition:"w:tblpY",relativeVerticalPosition:"w:tblpYSpec",bottomFromText:"w:bottomFromText",topFromText:"w:topFromText",leftFromText:"w:leftFromText",rightFromText:"w:rightFromText"}}}t.TableFloatOptionsAttributes=d;class h extends c.XmlComponent{constructor(e){super("w:tblpPr"),this.root.push(new d(e)),e.overlap&&this.root.push(new u.TableOverlap(e.overlap))}}t.TableFloatProperties=h},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.OverlapType||(t.OverlapType={})).NEVER="never",r.OVERLAP="overlap";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class a extends o.XmlComponent{constructor(e){super("w:tblOverlap"),this.root.push(new s({val:e}))}}t.TableOverlap=a},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.TableLayoutType||(t.TableLayoutType={})).AUTOFIT="autofit",r.FIXED="fixed";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type"}}}class a extends o.XmlComponent{constructor(e){super("w:tblLayout"),this.root.push(new s({type:e}))}}t.TableLayout=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(113);class o extends i.IgnoreIfEmptyXmlComponent{constructor(){super("w:trPr")}setCantSplit(){return this.root.push(new a),this}setTableHeader(){return this.root.push(new c),this}setHeight(e,t){return this.root.push(new r.TableRowHeight(e,t)),this}}t.TableRowProperties=o;class s extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class a extends i.XmlComponent{constructor(){super("w:cantSplit"),this.root.push(new s({val:!0}))}}t.CantSplit=a;class l extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class c extends i.XmlComponent{constructor(){super("w:tblHeader"),this.root.push(new l({val:!0}))}}t.TableHeader=c},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.HeightRule||(t.HeightRule={})).AUTO="auto",r.ATLEAST="atLeast",r.EXACT="exact";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={height:"w:val",rule:"w:hRule"}}}t.TableRowHeightAttributes=s;class a extends o.XmlComponent{constructor(e,t){super("w:trHeight"),this.root.push(new s({height:e,rule:t}))}}t.TableRowHeight=a},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(292)),i(n(11)),i(n(115)),i(n(130))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(293)),i(n(129))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(44),r=n(0),o=n(294),s=n(296),a=n(117),l=n(118),c=n(120),u=n(121),d=n(123),h=n(124),p=n(300),f=n(125),m=n(126),g=n(45),v=n(303),y=n(127);class b extends r.XmlComponent{constructor(e={column:{}}){super("w:sectPr");let{width:t=11906,height:n=16838,top:r=i.convertInchesToTwip(1),right:a=i.convertInchesToTwip(1),bottom:l=i.convertInchesToTwip(1),left:c=i.convertInchesToTwip(1),header:u=708,footer:b=708,gutter:w=0,mirror:_=!1,column:E={},linePitch:x=360,orientation:k=g.PageOrientation.PORTRAIT,headers:T,footers:O,pageNumberFormatType:C,pageNumberStart:A,lineNumberCountBy:S,lineNumberStart:N,lineNumberRestart:I,lineNumberDistance:L,pageBorders:R,pageBorderTop:P,pageBorderRight:D,pageBorderBottom:j,pageBorderLeft:B,titlePage:F=!1,verticalAlign:q}=e;this.options=e,this.root.push(new m.PageSize(t,n,k)),this.root.push(new p.PageMargin(r,a,l,c,u,b,w,_)),this.root.push(new o.Columns(E.space?E.space:708,E.count?E.count:1)),this.root.push(new s.DocumentGrid(x)),this.addHeaders(T),this.addFooters(O),(A||C)&&this.root.push(new f.PageNumberType(A,C)),(S||N||I||L)&&this.root.push(new d.LineNumberType(S,N,I,L)),(R||P||D||j||B)&&this.root.push(new h.PageBorders({pageBorders:R,pageBorderTop:P,pageBorderRight:D,pageBorderBottom:j,pageBorderLeft:B})),F&&this.root.push(new v.TitlePage),q&&this.root.push(new y.SectionVerticalAlign(q))}addHeaders(e){e&&(e.default&&this.root.push(new u.HeaderReference({headerType:c.HeaderReferenceType.DEFAULT,headerId:e.default.Header.ReferenceId})),e.first&&this.root.push(new u.HeaderReference({headerType:c.HeaderReferenceType.FIRST,headerId:e.first.Header.ReferenceId})),e.even&&this.root.push(new u.HeaderReference({headerType:c.HeaderReferenceType.EVEN,headerId:e.even.Header.ReferenceId})))}addFooters(e){e&&(e.default&&this.root.push(new l.FooterReference({footerType:a.FooterReferenceType.DEFAULT,footerId:e.default.Footer.ReferenceId})),e.first&&this.root.push(new l.FooterReference({footerType:a.FooterReferenceType.FIRST,footerId:e.first.Footer.ReferenceId})),e.even&&this.root.push(new l.FooterReference({footerType:a.FooterReferenceType.EVEN,footerId:e.even.Footer.ReferenceId})))}get Options(){return this.options}}t.SectionProperties=b},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(118)),i(n(119))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(119);class o extends i.XmlComponent{constructor(e){super("w:footerReference"),this.root.push(new r.FooterReferenceAttributes({type:e.footerType||r.FooterReferenceType.DEFAULT,id:`rId${e.footerId}`}))}}t.FooterReference=o},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.FooterReferenceType||(t.FooterReferenceType={})).DEFAULT="default",r.FIRST="first",r.EVEN="even";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",id:"r:id"}}}t.FooterReferenceAttributes=s},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(121)),i(n(122))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(122);class o extends i.XmlComponent{constructor(e){super("w:headerReference"),this.root.push(new r.HeaderReferenceAttributes({type:e.headerType||r.HeaderReferenceType.DEFAULT,id:`rId${e.headerId}`}))}}t.HeaderReference=o},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.HeaderReferenceType||(t.HeaderReferenceType={})).DEFAULT="default",r.FIRST="first",r.EVEN="even";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",id:"r:id"}}}t.HeaderReferenceAttributes=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(298))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(299))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(302))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(45);class o extends i.XmlComponent{constructor(e,t,n){super("w:pgSz");let i=n===r.PageOrientation.LANDSCAPE;this.root.push(new r.PageSizeAttributes({width:i?t:e,height:i?e:t,orientation:n}))}}t.PageSize=o},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(305)),i(n(128))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={verticalAlign:"w:val"}}}t.SectionVerticalAlignAttributes=r},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(116)),i(n(117)),i(n(120)),i(n(306)),i(n(125)),i(n(124)),i(n(123)),i(n(127))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(307))},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(313)),i(n(323))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Header=class e{constructor(e={children:[]}){this.options=e}};t.Footer=class e{constructor(e={children:[]}){this.options=e}}},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(330)),i(n(134)),i(n(24)),i(n(135))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(24),o=n(331);class s extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"}}}class a extends i.XmlComponent{constructor(e,t){for(let n of(super("w:abstractNum"),this.root.push(new s({abstractNumId:e,restartNumberingAfterBreak:0})),this.root.push(new o.MultiLevelType("hybridMultilevel")),this.id=e,t))this.root.push(new r.Level(n))}}t.AbstractNumbering=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(24);class o extends i.XmlComponent{constructor(e){super("w:abstractNumId"),this.root.push(new i.Attributes({val:e}))}}class s extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={numId:"w:numId"}}}class a extends i.XmlComponent{constructor(e,t,n){super("w:num"),this.reference=n,this.root.push(new s({numId:e})),this.root.push(new o(t)),this.id=e}overrideLevel(e,t){let n=new c(e,t);return this.root.push(n),n}}t.ConcreteNumbering=a;class l extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={ilvl:"w:ilvl"}}}class c extends i.XmlComponent{constructor(e,t){super("w:lvlOverride"),this.levelNum=e,this.root.push(new l({ilvl:e})),void 0!==t&&this.root.push(new d(t)),this.lvl=new r.LevelForOverride({level:this.levelNum}),this.root.push(this.lvl)}get Level(){return this.lvl}}t.LevelOverride=c;class u extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val"}}}class d extends i.XmlComponent{constructor(e){super("w:startOverride"),this.root.push(new u({val:e}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={enabled:"w:val"}}}t.UpdateFieldsAttributes=r;class o extends i.XmlComponent{constructor(e=!0){super("w:updateFields"),this.root.push(new r({enabled:e}))}}t.UpdateFields=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={id:"w:id",author:"w:author",date:"w:date"}}}t.ChangeAttributes=r},function(e,t,n){(function(t,n,i){var r,o;o=function(){return(function e(t,n,i){function o(a,l){if(!n[a]){if(!t[a]){if(!l&&"function"==typeof r&&r)return r(a,!0);if(s)return s(a,!0);var c=Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){return o(t[a][1][e]||e)},u,u.exports,e,t,n,i)}return n[a].exports}for(var s="function"==typeof r&&r,a=0;a>2,a=(3&t)<<4|n>>4,l=1>6:64,c=2>4,n=(15&s)<<4|(a=o.indexOf(e.charAt(c++)))>>2,i=(3&a)<<6|(l=o.indexOf(e.charAt(c++))),h[u++]=t,64!==a&&(h[u++]=n),64!==l&&(h[u++]=i);return h}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var i=e("./external"),r=e("./stream/DataWorker"),o=e("./stream/DataLengthProbe"),s=e("./stream/Crc32Probe");function a(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}o=e("./stream/DataLengthProbe"),a.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new s).pipe(new o("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var i=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var i=e("./utils"),r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?0xedb88320^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,n,i){var o=0+n;e^=-1;for(var s=i;s>>8^r[255&(e^t[s])];return -1^e}(0|t,e,e.length,0):function(e,t,n,i){var o=0+n;e^=-1;for(var s=i;s>>8^r[255&(e^t.charCodeAt(s))];return -1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=i?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,s),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function i(e,t){var n,i="";for(n=0;n>>=8;return i}function r(e,t,n,r,s,u){var d,h,p,f,m,g=e.file,v=e.compression,y=u!==a.utf8encode,b=o.transformTo("string",u(g.name)),w=o.transformTo("string",a.utf8encode(g.name)),_=g.comment,E=o.transformTo("string",u(_)),x=o.transformTo("string",a.utf8encode(_)),k=w.length!==g.name.length,T=x.length!==_.length,O="",C="",A="",S=g.dir,N=g.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var L=0;t&&(L|=8),!y&&(k||T)&&(L|=2048);var R=0,P=0;S&&(R|=16),"UNIX"===s?(P=798,R|=(d=g.unixPermissions,h=S,p=d,d||(p=h?16893:33204),(65535&p)<<16)):(P=20,R|=63&(g.dosPermissions||0)),f=(N.getUTCHours()<<6|N.getUTCMinutes())<<5|N.getUTCSeconds()/2,m=(N.getUTCFullYear()-1980<<4|N.getUTCMonth()+1)<<5|N.getUTCDate(),k&&(C=i(1,1)+i(l(b),4)+w,O+="up"+i(C.length,2)+C),T&&(A=i(1,1)+i(l(E),4)+x,O+="uc"+i(A.length,2)+A);var D="";return D+="\n\0",D+=i(L,2),D+=v.magic,D+=i(f,2),D+=i(m,2),D+=i(I.crc32,4),D+=i(I.compressedSize,4),D+=i(I.uncompressedSize,4),D+=i(b.length,2),D+=i(O.length,2),{fileRecord:c.LOCAL_FILE_HEADER+D+b+O,dirRecord:c.CENTRAL_FILE_HEADER+i(P,2)+D+i(E.length,2)+"\0\0\0\0"+i(R,4)+i(r,4)+b+O+E}}var o=e("../utils"),s=e("../stream/GenericWorker"),a=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(e,t,n,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,s),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t,n=this.streamFiles&&!e.file.dir,o=r(e,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),n){;this.push({data:(t=e,c.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)),meta:{percent:100}})}else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e,t,n,r,s,a,l=this.bytesWritten,u=0;u=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{"../utils":32}],19:[function(e,t,n){"use strict";var i=e("./Uint8ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var i=e("./DataReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var i=e("./ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var i=e("../utils"),r=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new a(e):r.uint8array?new l(i.transformTo("uint8array",e)):new o(i.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){"use strict";var i=e("./GenericWorker"),r=e("../utils");function o(e){i.call(this,"ConvertWorker to "+e),this.destType=e}r.inherits(o,i),o.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var i=e("./GenericWorker"),r=e("../crc32");function o(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,i),o.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(o,r),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}r.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}i.inherits(o,r),o.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}},t.exports=i},{}],29:[function(e,n,i){"use strict";var r=e("../utils"),o=e("./ConvertWorker"),s=e("./GenericWorker"),a=e("../base64"),l=e("../support"),c=e("../external"),u=null;if(l.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t,n){var i=t;switch(t){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=t,this._mimeType=n,r.checkSupport(i),this._worker=e.pipe(new o(i)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){var n,i;return n=this,i=e,new c.Promise(function(e,o){var s=[],l=n._internalType,c=n._outputType,u=n._mimeType;n.on("data",function(e,t){s.push(e),i&&i(t)}).on("error",function(e){s=[],o(e)}).on("end",function(){try{var n=function(e,t,n){switch(e){case"blob":return r.newBlob(r.transformTo("arraybuffer",t),n);case"base64":return a.encode(t);default:return r.transformTo(e,t)}}(c,function(e,n){var i,r=0,o=null,s=0;for(i=0;i>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return r.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,r,o,s=e.length,l=Array(2*s);for(t=n=0;t>10&1023,l[n++]=56320|1023&r)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),i.applyFromCharCode(l)}(e=i.transformTo(r.uint8array?"uint8array":"array",e))},i.inherits(c,s),c.prototype.processChunk=function(e){var t=i.transformTo(r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+a[e[n]]>t?n:t}(t),l=t;s!==t.length&&(r.uint8array?(l=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(l=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,i.inherits(u,s),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var i=e("./support"),r=e("./base64"),o=e("./nodejsUtils"),s=e("set-immediate-shim"),a=e("./external");function l(e){return e}function c(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n>10&1023,c[i++]=56320|1023&r)}return l(c,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,i){for(var r=65535&e|0,o=e>>>16&65535|0,s=0;0!==n;){for(n-=s=2e3>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var o=r+n;e^=-1;for(var s=r;s>>8^i[255&(e^t[s])];return -1^e}},{}],46:[function(e,t,n){"use strict";var i,r=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),l=e("./messages"),c=573,u=262;function d(e,t){return e.msg=l[t],t}function h(e){return(e<<1)-(4e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function m(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,f(e.strm)}function g(e,t){e.pending_buf[e.pending++]=t}function v(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function y(e,t){var n,i,r=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-u?e.strstart-(e.w_size-u):0,c=e.window,d=e.w_mask,h=e.prev,p=e.strstart+258,f=c[o+s-1],m=c[o+s];e.prev_length>=e.good_match&&(r>>=2),a>e.lookahead&&(a=e.lookahead);do if(c[(n=t)+s]===m&&c[n+s-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do;while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&ol&&0!=--r);return s<=e.lookahead?s:e.lookahead}function b(e){var t,n,i,o,l,c,d,h,p,f,m=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-u)){for(r.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;i=e.head[--t],e.head[t]=m<=i?i-m:0,--n;);for(t=n=m;i=e.prev[--t],e.prev[t]=m<=i?i-m:0,--n;);o+=m}if(0===e.strm.avail_in)break;if(c=e.strm,d=e.window,h=e.strstart+e.lookahead,f=void 0,(p=o)<(f=c.avail_in)&&(f=p),n=0===f?0:(c.avail_in-=f,r.arraySet(d,c.input,c.next_in,f,h),1===c.state.wrap?c.adler=s(c.adler,d,f,h):2===c.state.wrap&&(c.adler=a(c.adler,d,f,h)),c.next_in+=f,c.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3){if(i=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-3,i=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(b(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,m(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-u&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(m(e,!1),e.strm.avail_out),1)}),new E(4,4,8,4,w),new E(4,5,16,8,w),new E(4,6,32,32,w),new E(4,4,16,16,_),new E(8,16,32,32,_),new E(8,16,128,128,_),new E(8,32,128,256,_),new E(32,128,258,1024,_),new E(32,258,258,4096,_)],n.deflateInit=function(e,t){return O(e,t,8,15,8,0)},n.deflateInit2=O,n.deflateReset=T,n.deflateResetKeep=k,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},n.deflate=function(e,t){var n,r,s,l;if(!e||!e.state||5>8&255),g(r,r.gzhead.time>>16&255),g(r,r.gzhead.time>>24&255),g(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),g(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(g(r,255&r.gzhead.extra.length),g(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=a(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(g(r,0),g(r,0),g(r,0),g(r,0),g(r,0),g(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),g(r,3),r.status=113);else{var c=8+(r.w_bits-8<<4)<<8;c|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(c|=32),c+=31-c%31,r.status=113,v(r,c),0!==r.strstart&&(v(r,e.adler>>>16),v(r,65535&e.adler)),e.adler=1}}if(69===r.status){if(r.gzhead.extra){for(s=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending!==r.pending_buf_size));)g(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73}if(73===r.status){if(r.gzhead.name){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindexs&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.gzindex=0,r.status=91)}else r.status=91}if(91===r.status){if(r.gzhead.comment){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindexs&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.status=103)}else r.status=103}if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&f(e),r.pending+2<=r.pending_buf_size&&(g(r,255&e.adler),g(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),0!==r.pending){if(f(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&h(t)<=h(n)&&4!==t)return d(e,-5);if(666===r.status&&0!==e.avail_in)return d(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&666!==r.status){var u=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(b(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,i,r,s,a=e.window;;){if(e.lookahead<=258){if(b(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}(r,t):i[r.level].func(r,t);if(3!==u&&4!==u||(r.status=666),1===u||3===u)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===u&&(1===t?o._tr_align(r):5!==t&&(o._tr_stored_block(r,0,0,!1),3===t&&(p(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),f(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(g(r,255&e.adler),g(r,e.adler>>8&255),g(r,e.adler>>16&255),g(r,e.adler>>24&255),g(r,255&e.total_in),g(r,e.total_in>>8&255),g(r,e.total_in>>16&255),g(r,e.total_in>>24&255)):(v(r,e.adler>>>16),v(r,65535&e.adler)),f(e),0=n.w_size&&(0===a&&(p(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new r.Buf8(n.w_size),r.arraySet(d,t,h-n.w_size,n.w_size,0),t=d,h=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=h,e.next_in=0,e.input=t,b(n);n.lookahead>=3;){for(i=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h<>>=w=b>>>24,f-=w,0==(w=b>>>16&255))O[o++]=65535&b;else{if(!(16&w)){if(0==(64&w)){b=m[(65535&b)+(p&(1<>>=w,f-=w),f<15&&(p+=T[i++]<>>=w=b>>>24,f-=w,!(16&(w=b>>>16&255))){if(0==(64&w)){b=g[(65535&b)+(p&(1<>>=w,f-=w,(w=o-s)>3,p&=(1<<(f-=_<<3))-1,e.next_in=i,e.next_out=o,e.avail_in=i>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(852),t.distcode=t.distdyn=new i.Buf32(592),t.sane=1,t.back=-1,0):-2}function d(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):-2}function h(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=s.wsize?(i.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r<(o=s.wsize-s.wnext)&&(o=r),i.arraySet(s.window,t,n-r,o,s.wnext),(r-=o)?(i.arraySet(s.window,t,n-r,r,0),s.wnext=r,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,n.check=o(n.check,B,2,0),w=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&b)){e.msg="unknown compression method",n.mode=30;break}if(w-=4,L=8+(15&(b>>>=4)),0===n.wbits)n.wbits=L;else if(L>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=o(n.check,B,2,0)),w=b=0,n.mode=3;case 3:for(;w<32;){if(0===p)break e;p--,b+=c[d++]<>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=o(n.check,B,4,0)),w=b=0,n.mode=4;case 4:for(;w<16;){if(0===p)break e;p--,b+=c[d++]<>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=o(n.check,B,2,0)),w=b=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===p)break e;p--,b+=c[d++]<>>8&255,n.check=o(n.check,B,2,0)),w=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(p<(x=n.length)&&(x=p),x&&(n.head&&(L=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),i.arraySet(n.head.extra,c,d,x,L)),512&n.flags&&(n.check=o(n.check,c,x,d)),p-=x,d+=x,n.length-=x),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break e;for(x=0;L=c[d+x++],n.head&&L&&n.length<65536&&(n.head.name+=String.fromCharCode(L)),L&&x>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===p)break e;p--,b+=c[d++]<>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===p)break e;p--,b+=c[d++]<>>=1)){case 0:n.mode=14;break;case 1:if(function(e){if(g){var t;for(f=new i.Buf32(512),m=new i.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,f,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,m,0,e.work,{bits:5}),g=!1}e.lencode=f,e.lenbits=9,e.distcode=m,e.distbits=5}(n),n.mode=20,6!==t)break;b>>>=2,w-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}b>>>=2,w-=2;break;case 14:for(b>>>=7&w,w-=7&w;w<32;){if(0===p)break e;p--,b+=c[d++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&b,w=b=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(x=n.length){if(p>>=5,w-=5,n.ndist=1+(31&b),b>>>=5,w-=5,n.ncode=4+(15&b),b>>>=4,w-=4,286>>=3,w-=3}for(;n.have<19;)n.lens[F[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},R=a(0,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,R){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,A=65535&j,!((O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[d++]<>>=O,w-=O,n.lens[n.have++]=A;else{if(16===A){for(D=O+2;w>>=O,w-=O,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}L=n.lens[n.have-1],x=3+(3&b),b>>>=2,w-=2}else if(17===A){for(D=O+3;w>>=O)),b>>>=3,w-=3}else{for(D=O+7;w>>=O)),b>>>=7,w-=7}if(n.have+x>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=L}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,P={bits:n.lenbits},R=a(1,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,R){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},R=a(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,R){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=p&&258<=y){e.next_out=h,e.avail_out=y,e.next_in=d,e.avail_in=p,n.hold=b,n.bits=w,s(e,E),h=e.next_out,u=e.output,y=e.avail_out,d=e.next_in,c=e.input,p=e.avail_in,b=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;C=(j=n.lencode[b&(1<>>16&255,A=65535&j,!((O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[d++]<>S)])>>>16&255,A=65535&j,!(S+(O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[d++]<>>=S,w-=S,n.back+=S}if(b>>>=O,w-=O,n.back+=O,n.length=A,0===C){n.mode=26;break}if(32&C){n.back=-1,n.mode=12;break}if(64&C){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&C,n.mode=22;case 22:if(n.extra){for(D=n.extra;w>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;C=(j=n.distcode[b&(1<>>16&255,A=65535&j,!((O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[d++]<>S)])>>>16&255,A=65535&j,!(S+(O=j>>>24)<=w);){if(0===p)break e;p--,b+=c[d++]<>>=S,w-=S,n.back+=S}if(b>>>=O,w-=O,n.back+=O,64&C){e.msg="invalid distance code",n.mode=30;break}n.offset=A,n.extra=15&C,n.mode=24;case 24:if(n.extra){for(D=n.extra;w>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break e;if(x=E-y,n.offset>x){if((x=n.offset-x)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}k=x>n.wnext?(x-=n.wnext,n.wsize-x):n.wnext-x,x>n.length&&(x=n.length),T=n.window}else T=u,k=h-n.offset,x=n.length;for(yy?(w=B[F+d[k]],R[P+d[k]]):(w=96,0),p=1<>S)+(f-=p)]=b<<24|w<<16|_|0,0!==f;);for(p=1<>=1;if(0!==p?(L&=p-1,L+=p):L=0,k++,0==--D[x]){if(x===O)break;x=t[n+d[k]]}if(C>>7)]}function x(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function C(e,t,n){var i,r,o=Array(16),s=0;for(i=1;i<=15;i++)o[i]=s=s+n[i-1]<<1;for(r=0;r<=t;r++){var a=e[2*r+1];0!==a&&(e[2*r]=O(o[a]++,a))}}function A(e){var t;for(t=0;t>1;1<=n;n--)I(e,o,n);for(r=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],I(e,o,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,o[2*r]=o[2*n]+o[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,o[2*n+1]=o[2*i+1]=r,e.heap[1]=r++,I(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,o,a,l,c=t.dyn_tree,u=t.max_code,d=t.stat_desc.static_tree,h=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n>=7;i<30;i++)for(b[i]=r<<7,e=0;e<1<>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),R(e,e.l_desc),R(e,e.d_desc),s=function(e){var t;for(P(e,e.dyn_ltree,e.l_desc.max_code),P(e,e.dyn_dtree,e.d_desc.max_code),R(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*u[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),r=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=r&&(r=o)):r=o=n+5,n+4<=r&&-1!==t?B(e,t,n,i):4===e.strategy||o===r?(k(e,2+(i?1:0),3),L(e,d,h)):(k(e,4+(i?1:0),3),function(e,t,n,i){var r;for(k(e,t-257,5),k(e,n-1,5),k(e,i-4,4),r=0;r>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(f[n]+256+1)]++,e.dyn_dtree[2*E(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){var t;k(e,2,3),T(e,256,d),16===(t=e).bi_valid?(x(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){"use strict";t.exports="function"==typeof i?i:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)},e.exports=o()}).call(t,n(6).Buffer,n(4),n(60).setImmediate)},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);t.Document=r.File,i(n(12)),i(n(352)),i(n(360)),i(n(44))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(25);t.EMPTY_OBJECT=Object.seal({});class r extends i.BaseXmlComponent{constructor(e){super(e),this.root=[]}prepForXml(e){let n,r=this.root.filter(e=>e instanceof i.BaseXmlComponent?!e.IsDeleted:void 0!==e).map(t=>t instanceof i.BaseXmlComponent?t.prepForXml(e):t).filter(e=>void 0!==e);return{[this.rootKey]:r.length?1===r.length&&"object"==typeof(n=r[0])&&n._attr?r[0]:r:t.EMPTY_OBJECT}}addChildElement(e){return this.root.push(e),this}delete(){this.deleted=!0}}t.XmlComponent=r;t.IgnoreIfEmptyXmlComponent=class e extends r{prepForXml(){let e=super.prepForXml();if(e&&("object"!=typeof e[this.rootKey]||Object.keys(e[this.rootKey]).length))return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(53);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"}}}t.Attributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(26),r=n(0);function o(e){switch(e.type){case void 0:case"element":let t=new a(e.name,e.attributes);for(let n of e.elements||[]){let e=o(n);void 0!==e&&t.push(e)}return t;case"text":return e.text;default:return}}t.convertToXmlComponent=o;class s extends r.XmlAttributeComponent{}class a extends r.XmlComponent{static fromXmlString(e){return o(i.xml2js(e,{compact:!1}))}constructor(e,t){super(e),t&&this.root.push(new s(t))}push(e){this.root.push(e)}}t.ImportedXmlComponent=a;class l extends r.XmlComponent{constructor(e){super(""),this._attr=e}prepForXml(){return{_attr:this._attr}}}t.ImportedRootElementAttributes=l},function(e,t,n){(function(e){!function(t){t.parser=function(e,t){return new l(e,t)},t.SAXParser=l,t.SAXStream=u,t.createStream=function(e,t){return new u(e,t)},t.MAX_BUFFER_LENGTH=65536;var i,r,o,s,a=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function l(e,n){if(!(this instanceof l))return new l(e,n);(function(e){for(var t=0,n=a.length;t"===i?(k(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=_.TEXT):(b(i)&&(this.state=_.SGML_DECL_QUOTED),this.sgmlDecl+=i);continue;case _.SGML_DECL_QUOTED:i===this.q&&(this.state=_.SGML_DECL,this.q=""),this.sgmlDecl+=i;continue;case _.DOCTYPE:">"===i?(this.state=_.TEXT,k(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=i,"["===i?this.state=_.DOCTYPE_DTD:b(i)&&(this.state=_.DOCTYPE_QUOTED,this.q=i));continue;case _.DOCTYPE_QUOTED:this.doctype+=i,i===this.q&&(this.q="",this.state=_.DOCTYPE);continue;case _.DOCTYPE_DTD:this.doctype+=i,"]"===i?this.state=_.DOCTYPE:b(i)&&(this.state=_.DOCTYPE_DTD_QUOTED,this.q=i);continue;case _.DOCTYPE_DTD_QUOTED:this.doctype+=i,i===this.q&&(this.state=_.DOCTYPE_DTD,this.q="");continue;case _.COMMENT:"-"===i?this.state=_.COMMENT_ENDING:this.comment+=i;continue;case _.COMMENT_ENDING:"-"===i?(this.state=_.COMMENT_ENDED,this.comment=O(this.opt,this.comment),this.comment&&k(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+i,this.state=_.COMMENT);continue;case _.COMMENT_ENDED:">"!==i?(S(this,"Malformed comment"),this.comment+="--"+i,this.state=_.COMMENT):this.state=_.TEXT;continue;case _.CDATA:"]"===i?this.state=_.CDATA_ENDING:this.cdata+=i;continue;case _.CDATA_ENDING:"]"===i?this.state=_.CDATA_ENDING_2:(this.cdata+="]"+i,this.state=_.CDATA);continue;case _.CDATA_ENDING_2:">"===i?(this.cdata&&k(this,"oncdata",this.cdata),k(this,"onclosecdata"),this.cdata="",this.state=_.TEXT):"]"===i?this.cdata+="]":(this.cdata+="]]"+i,this.state=_.CDATA);continue;case _.PROC_INST:"?"===i?this.state=_.PROC_INST_ENDING:y(i)?this.state=_.PROC_INST_BODY:this.procInstName+=i;continue;case _.PROC_INST_BODY:!this.procInstBody&&y(i)||("?"===i?this.state=_.PROC_INST_ENDING:this.procInstBody+=i);continue;case _.PROC_INST_ENDING:">"===i?(k(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=_.TEXT):(this.procInstBody+="?"+i,this.state=_.PROC_INST_BODY);continue;case _.OPEN_TAG:w(m,i)?this.tagName+=i:(!function(e){!e.strict&&(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,k(e,"onopentagstart",n)}(this),">"===i?L(this):"/"===i?this.state=_.OPEN_TAG_SLASH:(!y(i)&&S(this,"Invalid character in tag name"),this.state=_.ATTRIB));continue;case _.OPEN_TAG_SLASH:">"===i?(L(this,!0),R(this)):(S(this,"Forward-slash in opening tag not followed by >"),this.state=_.ATTRIB);continue;case _.ATTRIB:y(i)||(">"===i?L(this):"/"===i?this.state=_.OPEN_TAG_SLASH:w(f,i)?(this.attribName=i,this.attribValue="",this.state=_.ATTRIB_NAME):S(this,"Invalid attribute name"));continue;case _.ATTRIB_NAME:"="===i?this.state=_.ATTRIB_VALUE:">"===i?(S(this,"Attribute without value"),this.attribValue=this.attribName,I(this),L(this)):y(i)?this.state=_.ATTRIB_NAME_SAW_WHITE:w(m,i)?this.attribName+=i:S(this,"Invalid attribute name");continue;case _.ATTRIB_NAME_SAW_WHITE:"="===i?this.state=_.ATTRIB_VALUE:y(i)||(S(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",k(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===i?L(this):w(f,i)?(this.attribName=i,this.state=_.ATTRIB_NAME):(S(this,"Invalid attribute name"),this.state=_.ATTRIB));continue;case _.ATTRIB_VALUE:y(i)||(b(i)?(this.q=i,this.state=_.ATTRIB_VALUE_QUOTED):(S(this,"Unquoted attribute value"),this.state=_.ATTRIB_VALUE_UNQUOTED,this.attribValue=i));continue;case _.ATTRIB_VALUE_QUOTED:if(i!==this.q){"&"===i?this.state=_.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=i;continue}I(this),this.q="",this.state=_.ATTRIB_VALUE_CLOSED;continue;case _.ATTRIB_VALUE_CLOSED:y(i)?this.state=_.ATTRIB:">"===i?L(this):"/"===i?this.state=_.OPEN_TAG_SLASH:w(f,i)?(S(this,"No whitespace between attributes"),this.attribName=i,this.attribValue="",this.state=_.ATTRIB_NAME):S(this,"Invalid attribute name");continue;case _.ATTRIB_VALUE_UNQUOTED:;if(!(">"===(r=i)||y(r))){"&"===i?this.state=_.ATTRIB_VALUE_ENTITY_U:this.attribValue+=i;continue}I(this),">"===i?L(this):this.state=_.ATTRIB;continue;case _.CLOSE_TAG:if(this.tagName)">"===i?R(this):w(m,i)?this.tagName+=i:this.script?(this.script+=""===i?R(this):S(this,"Invalid characters in closing tag");continue;case _.TEXT_ENTITY:case _.ATTRIB_VALUE_ENTITY_Q:case _.ATTRIB_VALUE_ENTITY_U:switch(this.state){case _.TEXT_ENTITY:o=_.TEXT,s="textNode";break;case _.ATTRIB_VALUE_ENTITY_Q:o=_.ATTRIB_VALUE_QUOTED,s="attribValue";break;case _.ATTRIB_VALUE_ENTITY_U:o=_.ATTRIB_VALUE_UNQUOTED,s="attribValue"}";"===i?(this[s]+=function(e){var t,n=e.entity,i=n.toLowerCase(),r="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[i]?e.ENTITIES[i]:("#"===(n=i).charAt(0)&&(r="x"===n.charAt(1)?(t=parseInt(n=n.slice(2),16)).toString(16):(t=parseInt(n=n.slice(1),10)).toString(10)),n=n.replace(/^0+/,""),isNaN(t)||r.toLowerCase()!==n)?(S(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t)}(this),this.entity="",this.state=o):w(this.entity.length?v:g,i)?this.entity+=i:(S(this,"Invalid character in entity name"),this[s]+="&"+this.entity+i,this.entity="",this.state=o);continue;default:throw Error(this,"Unknown state: "+this.state)}}return this.position>=this.bufferCheckPosition&&!function(e){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),i=0,r=0,o=a.length;rn)switch(a[r]){case"textNode":T(e);break;case"cdata":k(e,"oncdata",e.cdata),e.cdata="";break;case"script":k(e,"onscript",e.script),e.script="";break;default:C(e,"Max buffer length exceeded: "+a[r])}i=Math.max(i,s)}var l=t.MAX_BUFFER_LENGTH-i;e.bufferCheckPosition=l+e.position}(this),this},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;e=this,T(e),""!==e.cdata&&(k(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(k(e,"onscript",e.script),e.script="")}};try{s=n(56).Stream}catch(e){s=function(){}}var c=t.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});function u(e,t){if(!(this instanceof u))return new u(e,t);s.apply(this),this._parser=new l(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,c.forEach(function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})})}u.prototype=Object.create(s.prototype,{constructor:{value:u}}),u.prototype.write=function(t){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var i=n(30).StringDecoder;this._decoder=new i("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},u.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},u.prototype.on=function(e,t){var n=this;return!n._parser["on"+e]&&-1!==c.indexOf(e)&&(n._parser["on"+e]=function(){var t=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),s.prototype.on.call(n,e,t)};var d="http://www.w3.org/XML/1998/namespace",h="http://www.w3.org/2000/xmlns/",p={xml:d,xmlns:h},f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,g=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,v=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function y(e){return" "===e||"\n"===e||"\r"===e||" "===e}function b(e){return'"'===e||"'"===e}function w(e,t){return e.test(t)}var _=0;for(var E in t.STATE={BEGIN:_++,BEGIN_WHITESPACE:_++,TEXT:_++,TEXT_ENTITY:_++,OPEN_WAKA:_++,SGML_DECL:_++,SGML_DECL_QUOTED:_++,DOCTYPE:_++,DOCTYPE_QUOTED:_++,DOCTYPE_DTD:_++,DOCTYPE_DTD_QUOTED:_++,COMMENT_STARTING:_++,COMMENT:_++,COMMENT_ENDING:_++,COMMENT_ENDED:_++,CDATA:_++,CDATA_ENDING:_++,CDATA_ENDING_2:_++,PROC_INST:_++,PROC_INST_BODY:_++,PROC_INST_ENDING:_++,OPEN_TAG:_++,OPEN_TAG_SLASH:_++,ATTRIB:_++,ATTRIB_NAME:_++,ATTRIB_NAME_SAW_WHITE:_++,ATTRIB_VALUE:_++,ATTRIB_VALUE_QUOTED:_++,ATTRIB_VALUE_CLOSED:_++,ATTRIB_VALUE_UNQUOTED:_++,ATTRIB_VALUE_ENTITY_Q:_++,ATTRIB_VALUE_ENTITY_U:_++,CLOSE_TAG:_++,CLOSE_TAG_SAW_WHITE:_++,SCRIPT:_++,SCRIPT_ENDING:_++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(e){var n=t.ENTITIES[e],i="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=i}),t.STATE)t.STATE[t.STATE[E]]=E;function x(e,t,n){e[t]&&e[t](n)}function k(e,t,n){e.textNode&&T(e),x(e,t,n)}function T(e){e.textNode=O(e.opt,e.textNode),e.textNode&&x(e,"ontext",e.textNode),e.textNode=""}function O(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function C(e,t){return T(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=Error(t),e.error=t,x(e,"onerror",t),e}function A(e){return e.sawRoot&&!e.closedRoot&&S(e,"Unclosed root tag"),e.state!==_.BEGIN&&e.state!==_.BEGIN_WHITESPACE&&e.state!==_.TEXT&&C(e,"Unexpected end"),T(e),e.c="",e.closed=!0,x(e,"onend"),l.call(e,e.strict,e.opt),e}function S(e,t){if("object"!=typeof e||!(e instanceof l))throw Error("bad call to strictFail");e.strict&&C(e,t)}_=t.STATE;function N(e,t){var n=0>e.indexOf(":")?["",e]:e.split(":"),i=n[0],r=n[1];return t&&"xmlns"===e&&(i="xmlns",r=""),{prefix:i,local:r}}function I(e){if(!e.strict&&(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue="";return}if(e.opt.xmlns){var t=N(e.attribName,!0),n=t.prefix,i=t.local;if("xmlns"===n){if("xml"===i&&e.attribValue!==d)S(e,"xml: prefix must be bound to "+d+"\nActual: "+e.attribValue);else if("xmlns"===i&&e.attribValue!==h)S(e,"xmlns: prefix must be bound to "+h+"\nActual: "+e.attribValue);else{var r=e.tag,o=e.tags[e.tags.length-1]||e;r.ns===o.ns&&(r.ns=Object.create(o.ns)),r.ns[i]=e.attribValue}}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,k(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function L(e,t){if(e.opt.xmlns){var n=e.tag,i=N(e.tagName);n.prefix=i.prefix,n.local=i.local,n.uri=n.ns[i.prefix]||"",n.prefix&&!n.uri&&(S(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=i.prefix);var r=e.tags[e.tags.length-1]||e;n.ns&&r.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){k(e,"onopennamespace",{prefix:t,uri:n.ns[t]})});for(var o=0,s=e.attribList.length;o",e.tagName="",e.state=_.SCRIPT;return}k(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;!e.strict&&(n=n[e.looseCase]());for(var i=n;t--;)if(e.tags[t].name!==i)S(e,"Unexpected close tag");else break;if(t<0){S(e,"Unmatched closing tag: "+e.tagName),e.textNode+="",e.state=_.TEXT;return}e.tagName=n;for(var r=e.tags.length;r-- >t;){var o=e.tag=e.tags.pop();e.tagName=e.tag.name,k(e,"onclosetag",e.tagName);var s={};for(var a in o.ns)s[a]=o.ns[a];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&o.ns!==l.ns&&Object.keys(o.ns).forEach(function(t){var n=o.ns[t];k(e,"onclosenamespace",{prefix:t,uri:n})})}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=_.TEXT}function P(e,t){"<"===t?(e.state=_.OPEN_WAKA,e.startTagPosition=e.position):!y(t)&&(S(e,"Non-whitespace before first tag."),e.textNode=t,e.state=_.TEXT)}function D(e,t){var n="";return t1114111||r(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?n.push(l):(l-=65536,e=(l>>10)+55296,t=l%1024+56320,n.push(e,t)),(o+1===s||n.length>16384)&&(a+=i.apply(null,n),n.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:o,configurable:!0,writable:!0}):String.fromCodePoint=o}}(t)}).call(t,n(6).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],i=t[1];return(n+i)*3/4-i},t.toByteArray=function(e){var t,n,i,s=c(e),a=s[0],l=s[1];for(var u=new o((t=0,(a+(n=l))*3/4-n)),d=0,h=l>0?a-4:a,p=0;p>16&255,u[d++]=i>>8&255,u[d++]=255&i;return 2===l&&(i=r[e.charCodeAt(p)]<<2|r[e.charCodeAt(p+1)]>>4,u[d++]=255&i),1===l&&(i=r[e.charCodeAt(p)]<<10|r[e.charCodeAt(p+1)]<<4|r[e.charCodeAt(p+2)]>>2,u[d++]=i>>8&255,u[d++]=255&i),u},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],s=0,a=n-r;s>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r])}return s.join("")}(e,s,s+16383>a?a:s+16383));return 1===r?(t=e[n-1],o.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"=")),o.join("")};for(var i=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var i=n===t?0:4-n%4;return[n,i]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,i,r){var o,s,a=8*r-i-1,l=(1<>1,u=-7,d=n?r-1:0,h=n?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+e[t+d],d+=h,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=i;u>0;s=256*s+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),o-=c}return(p?-1:1)*s*Math.pow(2,o-i)},t.write=function(e,t,n,i,r,o){var s,a,l,c=8*o-r-1,u=(1<>1,h=23===r?5960464477539062e-23:0,p=i?0:o-1,f=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(t*l-1)*Math.pow(2,r),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;e[n+p]=255&a,p+=f,a/=256,r-=8);for(s=s<0;e[n+p]=255&s,p+=f,s/=256,c-=8);e[n+p-f]|=128*m}},function(e,t){},function(e,t,n){"use strict";var i=n(16).Buffer,r=n(148);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var t=i.allocUnsafe(e>>>0),n=this.head,r=0;n;)!function(e,t,n){e.copy(t,n)}(n.data,t,r),r+=n.data.length,n=n.next;return t},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var i,r,o,s,a,l=1,c={},u=!1,d=e.document;var h=Object.getPrototypeOf&&Object.getPrototypeOf(e);if(h=h&&h.setTimeout?h:e,"[object process]"===({}).toString.call(e.process))a=function(e){t.nextTick(function(){f(e)})};else if(function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()){;i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&f(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),a=function(t){e.postMessage(i+t,"*")}}else if(e.MessageChannel){;(o=new MessageChannel).port1.onmessage=function(e){f(e.data)},a=function(e){o.port2.postMessage(e)}}else if(d&&"onreadystatechange"in d.createElement("script")){;s=d.documentElement,a=function(e){var t=d.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,s.removeChild(t),t=null},s.appendChild(t)}}else a=function(e){setTimeout(f,0,e)};h.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),n=0;n0&&(t+=o(i)),t+=o(n)}},function(e,t,n){"use strict";var i=n(20),r=n(224),o=n(225);e.exports=function(e){for(var t,n=0,s="";!t;)s+=o(r,i.get(),1),t=ee.CellCount))).fill(100),margins:{marginUnitType:i,top:a,bottom:l,right:c,left:u}={marginUnitType:o.WidthType.AUTO,top:0,bottom:0,right:0,left:0},float:d,layout:h,borders:p,alignment:f}){for(let o of(super("w:tbl"),this.properties=new s.TableProperties,this.root.push(this.properties),p?this.properties.setBorder(p):this.properties.setBorder({}),t?this.properties.setWidth(t.size,t.type):this.properties.setWidth(100),this.properties.CellMargin.addBottomMargin(l||0,i),this.properties.CellMargin.addTopMargin(a||0,i),this.properties.CellMargin.addLeftMargin(u||0,i),this.properties.CellMargin.addRightMargin(c||0,i),this.root.push(new r.TableGrid(n)),e))this.root.push(o);e.forEach((t,n)=>{if(n===e.length-1)return;let i=0;t.cells.forEach(t=>{if(t.options.rowSpan&&t.options.rowSpan>1){let r=new o.TableCell({rowSpan:t.options.rowSpan-1,columnSpan:t.options.columnSpan,borders:t.options.borders,children:[],verticalMerge:o.VerticalMergeType.CONTINUE});e[n+1].addCellToColumnIndex(r,i)}i+=t.options.columnSpan||1})}),d&&this.properties.setTableFloatProperties(d),h&&this.properties.setLayout(h),f&&this.properties.setAlignment(f)}}t.Table=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){for(let t of(super("w:tblGrid"),e))this.root.push(new s(t))}}t.TableGrid=r;class o extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={w:"w:w"}}}class s extends i.XmlComponent{constructor(e){super("w:gridCol"),void 0!==e&&this.root.push(new o({w:e}))}}t.GridCol=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(0),o=n(38),s=n(266);class a extends r.XmlComponent{constructor(e){for(let t of(super("w:tc"),this.options=e,this.properties=new s.TableCellProperties,this.root.push(this.properties),e.children))this.root.push(t);e.verticalAlign&&this.properties.setVerticalAlign(e.verticalAlign),e.textDirection&&this.properties.setTextDirection(e.textDirection),e.verticalMerge?this.properties.addVerticalMerge(e.verticalMerge):e.rowSpan&&e.rowSpan>1&&this.properties.addVerticalMerge(o.VerticalMergeType.RESTART),e.margins&&this.properties.addMargins(e.margins),e.shading&&this.properties.setShading(e.shading),e.columnSpan&&this.properties.addGridSpan(e.columnSpan),e.width&&this.properties.setWidth(e.width.size,e.width.type),e.borders&&(e.borders.top&&this.properties.Borders.addTopBorder(e.borders.top.style,e.borders.top.size,e.borders.top.color),e.borders.bottom&&this.properties.Borders.addBottomBorder(e.borders.bottom.style,e.borders.bottom.size,e.borders.bottom.color),e.borders.left&&this.properties.Borders.addLeftBorder(e.borders.left.style,e.borders.left.size,e.borders.left.color),e.borders.right&&this.properties.Borders.addRightBorder(e.borders.right.style,e.borders.right.size,e.borders.right.color))}prepForXml(e){return!(this.root[this.root.length-1]instanceof i.Paragraph)&&this.root.push(new i.Paragraph({})),super.prepForXml(e)}}t.TableCell=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(39),o=n(268),s=n(38);class a extends i.IgnoreIfEmptyXmlComponent{constructor(){super("w:tcPr"),this.cellBorder=new s.TableCellBorders,this.root.push(this.cellBorder)}get Borders(){return this.cellBorder}addGridSpan(e){return this.root.push(new s.GridSpan(e)),this}addVerticalMerge(e){return this.root.push(new s.VerticalMerge(e)),this}setVerticalAlign(e){return this.root.push(new s.VAlign(e)),this}setWidth(e,t=s.WidthType.AUTO){return this.root.push(new s.TableCellWidth(e,t)),this}setShading(e){return this.root.push(new r.TableShading(e)),this}addMargins(e){return this.root.push(new o.TableCellMargin(e)),this}setTextDirection(e){return this.root.push(new s.TDirection(e)),this}}t.TableCellProperties=a},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={fill:"w:fill",color:"w:color",val:"w:val"}}}class a extends o.XmlComponent{constructor(e){super("w:shd"),this.root.push(new s(e))}}t.TableShading=a,(r=t.ShadingType||(t.ShadingType={})).CLEAR="clear",r.DIAGONAL_CROSS="diagCross",r.DIAGONAL_STRIPE="diagStripe",r.HORIZONTAL_CROSS="horzCross",r.HORIZONTAL_STRIPE="horzStripe",r.NIL="nil",r.PERCENT_5="pct5",r.PERCENT_10="pct10",r.PERCENT_12="pct12",r.PERCENT_15="pct15",r.PERCENT_20="pct20",r.PERCENT_25="pct25",r.PERCENT_30="pct30",r.PERCENT_35="pct35",r.PERCENT_37="pct37",r.PERCENT_40="pct40",r.PERCENT_45="pct45",r.PERCENT_50="pct50",r.PERCENT_55="pct55",r.PERCENT_60="pct60",r.PERCENT_62="pct62",r.PERCENT_65="pct65",r.PERCENT_70="pct70",r.PERCENT_75="pct75",r.PERCENT_80="pct80",r.PERCENT_85="pct85",r.PERCENT_87="pct87",r.PERCENT_90="pct90",r.PERCENT_95="pct95",r.REVERSE_DIAGONAL_STRIPE="reverseDiagStripe",r.SOLID="solid",r.THIN_DIAGONAL_CROSS="thinDiagCross",r.THIN_DIAGONAL_STRIPE="thinDiagStripe",r.THIN_HORIZONTAL_CROSS="thinHorzCross",r.THIN_REVERSE_DIAGONAL_STRIPE="thinReverseDiagStripe",r.THIN_VERTICAL_STRIPE="thinVertStripe",r.VERTICAL_STRIPE="vertStripe"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(269);class o extends i.XmlComponent{constructor({top:e=0,left:t=0,right:n=0,bottom:i=0}){super("w:tcMar"),this.root.push(new r.TopCellMargin(e)),this.root.push(new r.BottomCellMargin(i)),this.root.push(new r.RightCellMargin(n)),this.root.push(new r.LeftCellMargin(t))}}t.TableCellMargin=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={width:"w:w",type:"w:type"}}}class o extends i.XmlComponent{constructor(e){super("w:top"),this.root.push(new r({width:e,type:"dxa"}))}}t.TopCellMargin=o;class s extends i.XmlComponent{constructor(e){super("w:bottom"),this.root.push(new r({width:e,type:"dxa"}))}}t.BottomCellMargin=s;class a extends i.XmlComponent{constructor(e){super("w:start"),this.root.push(new r({width:e,type:"dxa"}))}}t.LeftCellMargin=a;class l extends i.XmlComponent{constructor(e){super("w:end"),this.root.push(new r({width:e,type:"dxa"}))}}t.RightCellMargin=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(1),o=n(39),s=n(10),a=n(104),l=n(276),c=n(109),u=n(111),d=n(277);class h extends i.IgnoreIfEmptyXmlComponent{constructor(){super("w:tblPr"),this.cellMargin=new l.TableCellMargin,this.root.push(this.cellMargin)}setWidth(e,t=s.WidthType.AUTO){return this.root.push(new d.PreferredTableWidth(t,e)),this}setLayout(e){this.root.push(new u.TableLayout(e))}setBorder(e){return this.root.push(new a.TableBorders(e)),this}get CellMargin(){return this.cellMargin}setTableFloatProperties(e){return this.root.push(new c.TableFloatProperties(e)),this}setShading(e){return this.root.push(new o.TableShading(e)),this}setAlignment(e){this.root.push(new r.Alignment(e))}}t.TableProperties=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(105);!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(273));class o extends i.XmlComponent{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(let t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(let t of e.paragraphStyles)this.root.push(new r.StyleForParagraph(t));if(e.characterStyles)for(let t of e.characterStyles)this.root.push(new r.StyleForCharacter(t))}}t.Styles=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(19),r=n(43),o=n(42);class s extends o.StyleForParagraph{constructor(e){super(Object.assign({},e,{basedOn:"Normal",next:"Normal",quickFormat:!0}))}}t.HeadingStyle=s;t.TitleStyle=class e extends s{constructor(e){super(Object.assign({},e,{id:"Title",name:"Title"}))}};t.Heading1Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading1",name:"Heading 1"}))}};t.Heading2Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading2",name:"Heading 2"}))}};t.Heading3Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading3",name:"Heading 3"}))}};t.Heading4Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading4",name:"Heading 4"}))}};t.Heading5Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading5",name:"Heading 5"}))}};t.Heading6Style=class e extends s{constructor(e){super(Object.assign({},e,{id:"Heading6",name:"Heading 6"}))}};t.StrongStyle=class e extends s{constructor(e){super(Object.assign({},e,{id:"Strong",name:"Strong"}))}};class a extends o.StyleForParagraph{constructor(e){super(Object.assign({},e,{id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0}))}}t.ListParagraph=a;class l extends o.StyleForParagraph{constructor(e){super(Object.assign({},e,{id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:"auto"}},run:{size:20}}))}}t.FootnoteText=l;class c extends r.StyleForCharacter{constructor(e){super(Object.assign({},e,{id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}}))}}t.FootnoteReferenceStyle=c;class u extends r.StyleForCharacter{constructor(e){super(Object.assign({},e,{id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}}))}}t.FootnoteTextChar=u;class d extends r.StyleForCharacter{constructor(e){super(Object.assign({},e,{id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:i.UnderlineType.SINGLE}}}))}}t.HyperlinkStyle=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(274))},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.BorderStyle||(t.BorderStyle={})).SINGLE="single",r.DASH_DOT_STROKED="dashDotStroked",r.DASHED="dashed",r.DASH_SMALL_GAP="dashSmallGap",r.DOT_DASH="dotDash",r.DOT_DOT_DASH="dotDotDash",r.DOTTED="dotted",r.DOUBLE="double",r.DOUBLE_WAVE="doubleWave",r.INSET="inset",r.NIL="nil",r.NONE="none",r.OUTSET="outset",r.THICK="thick",r.THICK_THIN_LARGE_GAP="thickThinLargeGap",r.THICK_THIN_MEDIUM_GAP="thickThinMediumGap",r.THICK_THIN_SMALL_GAP="thickThinSmallGap",r.THIN_THICK_LARGE_GAP="thinThickLargeGap",r.THIN_THICK_MEDIUM_GAP="thinThickMediumGap",r.THIN_THICK_SMALL_GAP="thinThickSmallGap",r.THIN_THICK_THIN_LARGE_GAP="thinThickThinLargeGap",r.THIN_THICK_THIN_MEDIUM_GAP="thinThickThinMediumGap",r.THIN_THICK_THIN_SMALL_GAP="thinThickThinSmallGap",r.THREE_D_EMBOSS="threeDEmboss",r.THREE_D_ENGRAVE="threeDEngrave",r.TRIPLE="triple",r.WAVE="wave"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(107),o=n(108);class s extends i.XmlComponent{constructor(e){super("w:docDefaults"),this.runPropertiesDefaults=new o.RunPropertiesDefaults(e&&e.run),this.paragraphPropertiesDefaults=new r.ParagraphPropertiesDefaults(e&&e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}t.DocumentDefaults=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(10);class o extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={value:"w:w",type:"w:type"}}}class s extends i.XmlComponent{setProperties(e,t=r.WidthType.DXA){this.root.push(new o({type:t,value:e}))}}class a extends i.IgnoreIfEmptyXmlComponent{constructor(){super("w:tblCellMar")}addTopMargin(e,t=r.WidthType.DXA){let n=new s("w:top");n.setProperties(e,t),this.root.push(n)}addLeftMargin(e,t=r.WidthType.DXA){let n=new s("w:left");n.setProperties(e,t),this.root.push(n)}addBottomMargin(e,t=r.WidthType.DXA){let n=new s("w:bottom");n.setProperties(e,t),this.root.push(n)}addRightMargin(e,t=r.WidthType.DXA){let n=new s("w:right");n.setProperties(e,t),this.root.push(n)}}t.TableCellMargin=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(10);class o extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",w:"w:w"}}}class s extends i.XmlComponent{constructor(e,t){super("w:tblW");let n=e===r.WidthType.PERCENTAGE?`${t}%`:t;this.root.push(new o({type:e,w:n}))}}t.PreferredTableWidth=s},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(279)),i(n(112)),i(n(113))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(10),o=n(112);class s extends i.XmlComponent{constructor(e){for(let t of(super("w:tr"),this.options=e,this.properties=new o.TableRowProperties,this.root.push(this.properties),e.children))this.root.push(t);e.cantSplit&&this.properties.setCantSplit(),e.tableHeader&&this.properties.setTableHeader(),e.height&&this.properties.setHeight(e.height.height,e.height.rule)}get CellCount(){return this.options.children.length}get Children(){return this.options.children}get cells(){return this.root.filter(e=>e instanceof r.TableCell)}addCellToIndex(e,t){this.root.splice(t+1,0,e)}addCellToColumnIndex(e,t){let n=this.columnIndexToRootIndex(t,!0);this.addCellToIndex(e,n-1)}rootIndexToColumnIndex(e){if(e<1||e>=this.root.length)throw Error(`cell 'rootIndex' should between 1 to ${this.root.length-1}`);let t=0;for(let n=1;n=this.root.length){if(t)return this.root.length;throw Error(`cell 'columnIndex' should not great than ${n-1}`)}let e=this.root[i];i+=1,n+=e&&e.options.columnSpan||1}return i-1}}t.TableRow=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(86),r=n(281),o=n(283),s=n(289),a=n(114),l=n(129),c=n(46),u=n(131),d=n(132),h=n(49),p=n(50),f=n(133),m=n(1),g=n(47),v=n(48),y=n(332),b=n(23),w=n(337),_=n(338);t.File=class e{constructor(e={creator:"Un-named",revision:"1",lastModifiedBy:"Un-named"},t={},n=[]){if(this.currentRelationshipId=1,this.headers=[],this.footers=[],this.hyperlinkCache={},this.coreProperties=new s.CoreProperties(e),this.numbering=new f.Numbering(e.numbering?e.numbering:{config:[]}),this.docRelationships=new g.Relationships,this.fileRelationships=new g.Relationships,this.appProperties=new r.AppProperties,this.footNotes=new u.FootNotes,this.contentTypes=new o.ContentTypes,this.document=new a.Document({background:e.background||{}}),this.settings=new y.Settings,this.media=t.template&&t.template.media?t.template.media:new p.Media,t.template&&(this.currentRelationshipId=t.template.currentRelationshipId+1),t.template&&e.externalStyles)throw Error("can not use both template and external styles");if(t.template){let e=new w.ExternalStylesFactory;this.styles=e.newInstance(t.template.styles)}else if(e.externalStyles){let t=new w.ExternalStylesFactory;this.styles=t.newInstance(e.externalStyles)}else if(e.styles){let t=new _.DefaultStylesFactory().newInstance(e.styles.default);this.styles=new b.Styles(Object.assign({},t,e.styles))}else{let e=new _.DefaultStylesFactory;this.styles=new b.Styles(e.newInstance())}if(this.addDefaultRelationships(),t.template&&t.template.headers)for(let e of t.template.headers)this.addHeaderToDocument(e.header,e.type);if(t.template&&t.template.footers)for(let e of t.template.footers)this.addFooterToDocument(e.footer,e.type);for(let e of n)for(let t of(this.document.Body.addSection(e.properties?e.properties:{}),e.children)){if(t instanceof m.HyperlinkRef){let e=this.hyperlinkCache[t.id];this.document.add(e);continue}this.document.add(t)}if(e.footnotes)for(let t of e.footnotes)this.footNotes.createFootNote(t);if(e.hyperlinks){let t={};for(let n in e.hyperlinks){if(!e.hyperlinks[n])continue;let i=e.hyperlinks[n],r=i.type===m.HyperlinkType.EXTERNAL?this.createHyperlink(i.link,i.text):this.createInternalHyperLink(n,i.text);t[n]=r}this.hyperlinkCache=t}e.features&&e.features.trackRevisions&&this.settings.addTrackRevisions()}addSection({headers:e={default:new d.Header},footers:t={default:new d.Header},margins:n={},size:i={},properties:r,children:o}){for(let s of(this.document.Body.addSection(Object.assign({},r,{headers:{default:e.default?this.createHeader(e.default):this.createHeader(new d.Header),first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footers:{default:t.default?this.createFooter(t.default):this.createFooter(new d.Footer),first:t.first?this.createFooter(t.first):void 0,even:t.even?this.createFooter(t.even):void 0}},n,i)),o)){if(s instanceof m.HyperlinkRef){let e=this.hyperlinkCache[s.id];this.document.add(e);continue}this.document.add(s)}}verifyUpdateFields(){this.document.getTablesOfContents().length&&this.settings.addUpdateFields()}createHyperlink(e,t=e){let n=new m.Hyperlink(t,i.generate().toLowerCase());return this.docRelationships.createRelationship(n.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e,v.TargetModeType.EXTERNAL),n}createInternalHyperLink(e,t=e){return new m.Hyperlink(t,i.generate().toLowerCase(),e)}createHeader(e){let t=new h.HeaderWrapper(this.media,this.currentRelationshipId++);for(let n of e.options.children)t.add(n);return this.addHeaderToDocument(t),t}createFooter(e){let t=new c.FooterWrapper(this.media,this.currentRelationshipId++);for(let n of e.options.children)t.add(n);return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=l.HeaderReferenceType.DEFAULT){this.headers.push({header:e,type:t}),this.docRelationships.createRelationship(e.Header.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,t=l.FooterReferenceType.DEFAULT){this.footers.push({footer:e,type:t}),this.docRelationships.createRelationship(e.Footer.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.createRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.createRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.createRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.docRelationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.docRelationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.docRelationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.docRelationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml")}get Document(){return this.document}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get DocumentRelationships(){return this.docRelationships}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get AppProperties(){return this.appProperties}get FootNotes(){return this.footNotes}get Settings(){return this.settings}get HyperlinkCache(){return this.hyperlinkCache}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(282);class o extends i.XmlComponent{constructor(){super("Properties"),this.root.push(new r.AppPropertiesAttributes({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}t.AppProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={xmlns:"xmlns",vt:"xmlns:vt"}}}t.AppPropertiesAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(284),o=n(285),s=n(287);class a extends i.XmlComponent{constructor(){super("Types"),this.root.push(new r.ContentTypeAttributes({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new o.Default("image/png","png")),this.root.push(new o.Default("image/jpeg","jpeg")),this.root.push(new o.Default("image/jpeg","jpg")),this.root.push(new o.Default("image/bmp","bmp")),this.root.push(new o.Default("image/gif","gif")),this.root.push(new o.Default("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new o.Default("application/xml","xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml"))}addFooter(e){this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(new s.Override("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}}t.ContentTypes=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={xmlns:"xmlns"}}}t.ContentTypeAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(286);class o extends i.XmlComponent{constructor(e,t){super("Default"),this.root.push(new r.DefaultAttributes({contentType:e,extension:t}))}}t.Default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={contentType:"ContentType",extension:"Extension"}}}t.DefaultAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(288);class o extends i.XmlComponent{constructor(e,t){super("Override"),this.root.push(new r.OverrideAttributes({contentType:e,partName:t}))}}t.Override=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={contentType:"ContentType",partName:"PartName"}}}t.OverrideAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(290))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(11),o=n(291);class s extends i.XmlComponent{constructor(e){super("cp:coreProperties"),this.root.push(new r.DocumentAttributes({cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"})),e.title&&this.root.push(new o.Title(e.title)),e.subject&&this.root.push(new o.Subject(e.subject)),e.creator&&this.root.push(new o.Creator(e.creator)),e.keywords&&this.root.push(new o.Keywords(e.keywords)),e.description&&this.root.push(new o.Description(e.description)),e.lastModifiedBy&&this.root.push(new o.LastModifiedBy(e.lastModifiedBy)),e.revision&&this.root.push(new o.Revision(e.revision)),this.root.push(new o.Created),this.root.push(new o.Modified)}}t.CoreProperties=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(11);class o extends i.XmlComponent{constructor(e){super("dc:title"),this.root.push(e)}}t.Title=o;class s extends i.XmlComponent{constructor(e){super("dc:subject"),this.root.push(e)}}t.Subject=s;class a extends i.XmlComponent{constructor(e){super("dc:creator"),this.root.push(e)}}t.Creator=a;class l extends i.XmlComponent{constructor(e){super("cp:keywords"),this.root.push(e)}}t.Keywords=l;class c extends i.XmlComponent{constructor(e){super("dc:description"),this.root.push(e)}}t.Description=c;class u extends i.XmlComponent{constructor(e){super("cp:lastModifiedBy"),this.root.push(e)}}t.LastModifiedBy=u;class d extends i.XmlComponent{constructor(e){super("cp:revision"),this.root.push(e)}}t.Revision=d;class h extends i.XmlComponent{getCurrentDate(){let e=new Date,t=e.getFullYear(),n=("0"+(e.getMonth()+1)).slice(-2),i=("0"+e.getDate()).slice(-2),r=("0"+e.getHours()).slice(-2),o=("0"+e.getMinutes()).slice(-2);return t+"-"+n+"-"+i+"T"+r+":"+o+":"+("0"+e.getSeconds()).slice(-2)+"Z"}}t.DateComponent=h;t.Created=class e extends h{constructor(){super("dcterms:created"),this.root.push(new r.DocumentAttributes({type:"dcterms:W3CDTF"})),this.root.push(this.getCurrentDate())}};t.Modified=class e extends h{constructor(){super("dcterms:modified"),this.root.push(new r.DocumentAttributes({type:"dcterms:W3CDTF"})),this.root.push(this.getCurrentDate())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(115),o=n(11),s=n(130);class a extends i.XmlComponent{constructor(e){super("w:document"),this.root.push(new o.DocumentAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.body=new r.Body,this.root.push(new s.DocumentBackground(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}getTablesOfContents(){return this.body.getTablesOfContents()}}t.Document=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(12),o=n(116);class s extends i.XmlComponent{constructor(){super("w:body"),this.sections=[]}addSection(e){let t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new o.SectionProperties(e))}prepForXml(e){return 1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(e)}push(e){this.root.push(e)}getTablesOfContents(){return this.root.filter(e=>e instanceof r.TableOfContents)}createSectionParagraph(e){let t=new r.Paragraph({}),n=new r.ParagraphProperties({});return n.push(e),t.addChildElement(n),t}}t.Body=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(295);class o extends i.XmlComponent{constructor(e,t){super("w:cols"),this.root.push(new r.ColumnsAttributes({space:e,num:t}))}}t.Columns=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={space:"w:space",num:"w:num"}}}t.ColumnsAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(297);class o extends i.XmlComponent{constructor(e){super("w:docGrid"),this.root.push(new r.DocGridAttributes({linePitch:e}))}}t.DocumentGrid=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={linePitch:"w:linePitch"}}}t.DocGridAttributes=r},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.LineNumberRestartFormat||(t.LineNumberRestartFormat={})).CONTINUOUS="continuous",r.NEW_SECTION="newSection",r.NEW_PAGE="newPage";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={lineNumberCountBy:"w:countBy",lineNumberStart:"w:start",lineNumberRestart:"w:restart",lineNumberDistance:"w:distance"}}}t.LineNumberAttributes=s;class a extends o.XmlComponent{constructor(e,t,n,i){super("w:lnNumType"),this.root.push(new s({lineNumberCountBy:e,lineNumberStart:t,lineNumberRestart:n,lineNumberDistance:i}))}}t.LineNumberType=a},function(e,t,n){"use strict";var i,r,o,s,a,l;Object.defineProperty(t,"__esModule",{value:!0});let c=n(0);(s=t.PageBorderDisplay||(t.PageBorderDisplay={})).ALL_PAGES="allPages",s.FIRST_PAGE="firstPage",s.NOT_FIRST_PAGE="notFirstPage",(a=t.PageBorderOffsetFrom||(t.PageBorderOffsetFrom={})).PAGE="page",a.TEXT="text",(l=t.PageBorderZOrder||(t.PageBorderZOrder={})).BACK="back",l.FRONT="front";class u extends c.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={style:"w:val",size:"w:size",color:"w:color",space:"w:space"}}}class d extends c.XmlComponent{constructor(e,t){super(e),this.root.push(new u(t))}}class h extends c.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"}}}class p extends c.IgnoreIfEmptyXmlComponent{constructor(e){if(super("w:pgBorders"),!e)return;let t={};e.pageBorders&&(t={display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder}),this.root.push(new h(t)),e.pageBorderTop&&this.root.push(new d("w:top",e.pageBorderTop)),e.pageBorderRight&&this.root.push(new d("w:right",e.pageBorderRight)),e.pageBorderBottom&&this.root.push(new d("w:bottom",e.pageBorderBottom)),e.pageBorderLeft&&this.root.push(new d("w:left",e.pageBorderLeft))}}t.PageBorders=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(301);class o extends i.XmlComponent{constructor(e,t,n,i,o,s,a,l){super("w:pgMar"),this.root.push(new r.PageMarginAttributes({top:e,right:t,bottom:n,left:i,header:o,footer:s,gutter:a,mirror:l}))}}t.PageMargin=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",mirror:"w:mirrorMargins"}}}t.PageMarginAttributes=r},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0);(r=t.PageNumberFormat||(t.PageNumberFormat={})).CARDINAL_TEXT="cardinalText",r.DECIMAL="decimal",r.DECIMAL_ENCLOSED_CIRCLE="decimalEnclosedCircle",r.DECIMAL_ENCLOSED_FULL_STOP="decimalEnclosedFullstop",r.DECIMAL_ENCLOSED_PAREN="decimalEnclosedParen",r.DECIMAL_ZERO="decimalZero",r.LOWER_LETTER="lowerLetter",r.LOWER_ROMAN="lowerRoman",r.NONE="none",r.ORDINAL_TEXT="ordinalText",r.UPPER_LETTER="upperLetter",r.UPPER_ROMAN="upperRoman",r.DECIMAL_FULL_WIDTH="decimalFullWidth";class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={pageNumberStart:"w:start",pageNumberFormatType:"w:fmt"}}}t.PageNumberTypeAttributes=s;class a extends o.XmlComponent{constructor(e,t){super("w:pgNumType"),this.root.push(new s({pageNumberStart:e,pageNumberFormatType:t}))}}t.PageNumberType=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(304);class o extends i.XmlComponent{constructor(){super("w:titlePg"),this.root.push(new r.TitlePageAttributes({value:"1"}))}}t.TitlePage=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={value:"w:val"}}}t.TitlePageAttributes=r},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0),s=n(128);(r=t.SectionVerticalAlignValue||(t.SectionVerticalAlignValue={})).BOTH="both",r.BOTTOM="bottom",r.CENTER="center",r.TOP="top";class a extends o.XmlComponent{constructor(e){super("w:vAlign"),this.root.push(new s.SectionVerticalAlignAttributes({verticalAlign:e}))}}t.SectionVerticalAlign=a},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(126)),i(n(45))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"}}}t.DocumentBackgroundAttributes=r;class o extends i.XmlComponent{constructor(e){super("w:background"),this.root.push(new r({color:e.color?e.color:"FFFFFF",themeColor:e.themeColor,themeShade:e.themeShade,themeTint:e.themeTint}))}}t.DocumentBackground=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(309);class o extends i.InitializableXmlComponent{constructor(e,t){super("w:ftr",t),this.refId=e,!t&&this.root.push(new r.FooterAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}}t.Footer=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"}}}t.FooterAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(311),o=n(48);class s extends i.XmlComponent{constructor(){super("Relationships"),this.root.push(new r.RelationshipsAttributes({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}addRelationship(e){this.root.push(e)}createRelationship(e,t,n,i){let r=new o.Relationship(`rId${e}`,t,n,i);return this.addRelationship(r),r}get RelationshipCount(){return this.root.length-1}}t.Relationships=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={xmlns:"xmlns"}}}t.RelationshipsAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"}}}t.RelationshipAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(1),o=n(314),s=n(318),a=n(320),l=n(322);class c extends i.XmlComponent{constructor(){super("w:footnotes"),this.currentId=1,this.root.push(new l.FootnotesAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));let e=new o.Footnote(-1,o.FootnoteType.SEPERATOR);e.add(new r.Paragraph({spacing:{after:0,line:240,lineRule:"auto"},children:[new a.SeperatorRun]})),this.root.push(e);let t=new o.Footnote(0,o.FootnoteType.CONTINUATION_SEPERATOR);t.add(new r.Paragraph({spacing:{after:0,line:240,lineRule:"auto"},children:[new s.ContinuationSeperatorRun]})),this.root.push(t)}createFootNote(e){let t=new o.Footnote(this.currentId);t.add(e),this.root.push(t),this.currentId++}}t.FootNotes=c},function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(0),s=n(315),a=n(316);(r=t.FootnoteType||(t.FootnoteType={})).SEPERATOR="separator",r.CONTINUATION_SEPERATOR="continuationSeparator";class l extends o.XmlComponent{constructor(e,t){super("w:footnote"),this.root.push(new s.FootnoteAttributes({type:t,id:e}))}add(e){e.addRunToFront(new a.FootnoteRefRun),this.root.push(e)}}t.Footnote=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={type:"w:type",id:"w:id"}}}t.FootnoteAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(317);class o extends i.Run{constructor(){super({style:"FootnoteReference"}),this.root.push(new r.FootnoteRef)}}t.FootnoteRefRun=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:footnoteRef")}}t.FootnoteRef=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(319);class o extends i.Run{constructor(){super({}),this.root.push(new r.ContinuationSeperator)}}t.ContinuationSeperatorRun=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:continuationSeparator")}}t.ContinuationSeperator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(321);class o extends i.Run{constructor(){super({}),this.root.push(new r.Seperator)}}t.SeperatorRun=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:separator")}}t.Seperator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"}}}t.FootnotesAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(324))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(325))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(3),r=n(70),o=n(0);class s extends o.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={id:"w:id"}}}t.FootNoteReferenceRunAttributes=s;class a extends o.XmlComponent{constructor(e){super("w:footnoteReference"),this.root.push(new s({id:e}))}}t.FootnoteReference=a;class l extends i.Run{constructor(e){super({}),this.properties.push(new r.Style("FootnoteReference")),this.root.push(new a(e))}}t.FootnoteReferenceRun=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(327);class o extends i.InitializableXmlComponent{constructor(e,t){super("w:hdr",t),this.refId=e,!t&&this.root.push(new r.HeaderAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}}t.Header=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"}}}t.HeaderAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1);class r{static addImage(e,t,n,r,o){let s=e.Media.addMedia(t,n,r);return new i.PictureRun(s,o)}static generateId(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}constructor(){this.map=new Map}getMedia(e){let t=this.map.get(e);if(void 0===t)throw Error(`Cannot find image with the key ${e}`);return t}addMedia(e,t=100,n=100){let i=`${r.generateId()}.png`;return this.createMedia(i,{width:t,height:n},e)}createMedia(e,t,n,i){let r={stream:"string"==typeof n?this.convertDataURIToBinary(n):n,path:i,fileName:e,dimensions:{pixels:{x:Math.round(t.width),y:Math.round(t.height)},emus:{x:Math.round(9525*t.width),y:Math.round(9525*t.height)}}};return this.map.set(e,r),r}get Array(){let e=[];return this.map.forEach(t=>{e.push(t)}),e}convertDataURIToBinary(e){let t=";base64,",i=e.indexOf(t)+t.length;return"function"==typeof atob?new Uint8Array(atob(e.substring(i)).split("").map(e=>e.charCodeAt(0))):new(n(6)).Buffer(e,"base64")}}t.Media=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORKAROUND2=""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(44),r=n(1),o=n(0),s=n(11),a=n(134),l=n(24),c=n(135);class u extends o.XmlComponent{constructor(e){super("w:numbering"),this.abstractNumbering=[],this.concreteNumbering=[],this.root.push(new s.DocumentAttributes({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.nextId=0;let t=this.createAbstractNumbering([{level:0,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:i.convertInchesToTwip(.5),hanging:i.convertInchesToTwip(.25)}}}},{level:1,format:l.LevelFormat.BULLET,text:"○",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:i.convertInchesToTwip(1),hanging:i.convertInchesToTwip(.25)}}}},{level:2,format:l.LevelFormat.BULLET,text:"■",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:2160,hanging:i.convertInchesToTwip(.25)}}}},{level:3,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:2880,hanging:i.convertInchesToTwip(.25)}}}},{level:4,format:l.LevelFormat.BULLET,text:"○",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:3600,hanging:i.convertInchesToTwip(.25)}}}},{level:5,format:l.LevelFormat.BULLET,text:"■",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:4320,hanging:i.convertInchesToTwip(.25)}}}},{level:6,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:5040,hanging:i.convertInchesToTwip(.25)}}}},{level:7,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:5760,hanging:i.convertInchesToTwip(.25)}}}},{level:8,format:l.LevelFormat.BULLET,text:"●",alignment:r.AlignmentType.LEFT,style:{paragraph:{indent:{left:6480,hanging:i.convertInchesToTwip(.25)}}}}]);for(let n of(this.createConcreteNumbering(t),e.config)){let e=this.createAbstractNumbering(n.levels);this.createConcreteNumbering(e,n.reference)}}prepForXml(){return this.abstractNumbering.forEach(e=>this.root.push(e)),this.concreteNumbering.forEach(e=>this.root.push(e)),super.prepForXml()}createConcreteNumbering(e,t){let n=new c.ConcreteNumbering(this.nextId++,e.id,t);return this.concreteNumbering.push(n),n}createAbstractNumbering(e){let t=new a.AbstractNumbering(this.nextId++,e);return this.abstractNumbering.push(t),t}get ConcreteNumbering(){return this.concreteNumbering}}t.Numbering=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(e){super("w:multiLevelType"),this.root.push(new i.Attributes({val:e}))}}t.MultiLevelType=r},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(333)),i(n(136))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(334),o=n(335),s=n(336),a=n(136);class l extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"}}}t.SettingsAttributes=l;class c extends i.XmlComponent{constructor(){super("w:settings"),this.root.push(new l({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.compatibility=new r.Compatibility,this.trackRevisions=new s.TrackRevisions,this.root.push(new o.DisplayBackgroundShape)}addUpdateFields(){!this.root.find(e=>e instanceof a.UpdateFields)&&this.addChildElement(new a.UpdateFields)}addCompatibility(){return!this.root.find(e=>e instanceof r.Compatibility)&&this.addChildElement(this.compatibility),this.compatibility}addTrackRevisions(){return!this.root.find(e=>e instanceof s.TrackRevisions)&&this.addChildElement(this.trackRevisions),this.trackRevisions}}t.Settings=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:doNotExpandShiftReturn")}}class o extends i.XmlComponent{constructor(){super("w:compat")}doNotExpandShiftReturn(){return this.root.push(new r),this}}t.Compatibility=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:displayBackgroundShape")}}t.DisplayBackgroundShape=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:trackRevisions")}}t.TrackRevisions=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(26),o=n(23);t.ExternalStylesFactory=class e{newInstance(e){let t;for(let n of r.xml2js(e,{compact:!1}).elements||[])"w:styles"===n.name&&(t=n);if(void 0===t)throw Error("can not find styles element");let n=t.elements||[];return new o.Styles({initialStyles:new i.ImportedRootElementAttributes(t.attributes),importedStyles:n.map(e=>i.convertToXmlComponent(e))})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(11),r=n(106),o=n(105);t.DefaultStylesFactory=class e{newInstance(e={}){return{initialStyles:new i.DocumentAttributes({mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",Ignorable:"w14 w15"}),importedStyles:[new r.DocumentDefaults(e.document),new o.TitleStyle(Object.assign({run:{size:56}},e.title)),new o.Heading1Style(Object.assign({run:{color:"2E74B5",size:32}},e.heading1)),new o.Heading2Style(Object.assign({run:{color:"2E74B5",size:26}},e.heading2)),new o.Heading3Style(Object.assign({run:{color:"1F4D78",size:24}},e.heading3)),new o.Heading4Style(Object.assign({run:{color:"2E74B5",italics:!0}},e.heading4)),new o.Heading5Style(Object.assign({run:{color:"2E74B5"}},e.heading5)),new o.Heading6Style(Object.assign({run:{color:"1F4D78"}},e.heading6)),new o.StrongStyle(Object.assign({run:{bold:!0}},e.strong)),new o.ListParagraph(e.listParagraph||{}),new o.HyperlinkStyle(e.hyperlink||{}),new o.FootnoteReferenceStyle(e.footnoteReference||{}),new o.FootnoteText(e.footnoteText||{}),new o.FootnoteTextChar(e.footnoteTextChar||{})]}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORKAROUND=""},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(341)),i(n(346))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(1),r=n(3),o=n(18),s=n(0),a=n(342),l=n(343),c=n(344);class u extends s.XmlComponent{constructor(e="Table of Contents",t){super("w:sdt"),this.root.push(new c.StructuredDocumentTagProperties(e));let n=new l.StructuredDocumentTagContent,s=new i.Paragraph({children:[new r.Run({children:[new o.Begin(!0),new a.FieldInstruction(t),new o.Separate]})]});n.addChildElement(s);let u=new i.Paragraph({children:[new r.Run({children:[new o.End]})]});n.addChildElement(u),this.root.push(n)}}t.TableOfContents=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(8),r=n(0);class o extends r.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={space:"xml:space"}}}class s extends r.XmlComponent{constructor(e={}){super("w:instrText"),this.properties=e,this.root.push(new o({space:i.SpaceType.PRESERVE}));let t="TOC";if(this.properties.captionLabel&&(t=`${t} \\a "${this.properties.captionLabel}"`),this.properties.entriesFromBookmark&&(t=`${t} \\b "${this.properties.entriesFromBookmark}"`),this.properties.captionLabelIncludingNumbers&&(t=`${t} \\c "${this.properties.captionLabelIncludingNumbers}"`),this.properties.sequenceAndPageNumbersSeparator&&(t=`${t} \\d "${this.properties.sequenceAndPageNumbersSeparator}"`),this.properties.tcFieldIdentifier&&(t=`${t} \\f "${this.properties.tcFieldIdentifier}"`),this.properties.hyperlink&&(t=`${t} \\h`),this.properties.tcFieldLevelRange&&(t=`${t} \\l "${this.properties.tcFieldLevelRange}"`),this.properties.pageNumbersEntryLevelsRange&&(t=`${t} \\n "${this.properties.pageNumbersEntryLevelsRange}"`),this.properties.headingStyleRange&&(t=`${t} \\o "${this.properties.headingStyleRange}"`),this.properties.entryAndPageNumberSeparator&&(t=`${t} \\p "${this.properties.entryAndPageNumberSeparator}"`),this.properties.seqFieldIdentifierForPrefix&&(t=`${t} \\s "${this.properties.seqFieldIdentifierForPrefix}"`),this.properties.stylesWithLevels&&this.properties.stylesWithLevels.length){let e=this.properties.stylesWithLevels.map(e=>`${e.styleName},${e.level}`).join(",");t=`${t} \\t "${e}"`}this.properties.useAppliedParagraphOutlineLevel&&(t=`${t} \\u`),this.properties.preserveTabInEntries&&(t=`${t} \\w`),this.properties.preserveNewLineInEntries&&(t=`${t} \\x`),this.properties.hideTabAndPageNumbersInWebView&&(t=`${t} \\z`),this.root.push(t)}}t.FieldInstruction=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlComponent{constructor(){super("w:sdtContent")}}t.StructuredDocumentTagContent=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(345);class o extends i.XmlComponent{constructor(e){super("w:sdtPr"),this.root.push(new r.Alias(e))}}t.StructuredDocumentTagProperties=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0);class r extends i.XmlAttributeComponent{constructor(){super(...arguments),this.xmlKeys={alias:"w:val"}}}class o extends i.XmlComponent{constructor(e){super("w:alias"),this.root.push(new r({alias:e}))}}t.Alias=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.StyleLevel=class e{constructor(e,t){this.styleName=e,this.level=t}}},function(e,t,n){"use strict";function i(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n(348)),i(n(349))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(12),o=n(137);class s extends i.XmlComponent{constructor(e){super("w:ins"),this.root.push(new o.ChangeAttributes({id:e.id,author:e.author,date:e.date})),this.addChildElement(new r.TextRun(e))}}t.InsertedTextRun=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(0),r=n(12),o=n(67),s=n(18),a=n(17),l=n(137),c=n(350),u=n(351);class d extends i.XmlComponent{constructor(e){super("w:del"),this.root.push(new l.ChangeAttributes({id:e.id,author:e.author,date:e.date})),this.deletedTextRunWrapper=new h(e),this.addChildElement(this.deletedTextRunWrapper)}}t.DeletedTextRun=d;class h extends i.XmlComponent{constructor(e){if(super("w:r"),this.root.push(new r.RunProperties(e)),e.children)for(let t of e.children){if("string"==typeof t){switch(t){case a.PageNumber.CURRENT:this.root.push(new s.Begin),this.root.push(new c.DeletedPage),this.root.push(new s.Separate),this.root.push(new s.End);break;case a.PageNumber.TOTAL_PAGES:this.root.push(new s.Begin),this.root.push(new c.DeletedNumberOfPages),this.root.push(new s.Separate),this.root.push(new s.End);break;case a.PageNumber.TOTAL_PAGES_IN_SECTION:this.root.push(new s.Begin),this.root.push(new c.DeletedNumberOfPagesSection),this.root.push(new s.Separate),this.root.push(new s.End);break;default:this.root.push(new u.DeletedText(t))}continue}this.root.push(t)}else e.text&&this.root.push(new u.DeletedText(e.text));if(e.break)for(let t=0;t(o.forEach((t,i)=>{e.DocumentRelationships.createRelationship(n+i,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)}),r(this.formatter.format(e.DocumentRelationships,e),t)))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{let t=this.imageReplacer.replace(i,o,n);return this.numberingReplacer.replace(t,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:r(this.formatter.format(e.Styles,e),t),path:"word/styles.xml"},Properties:{data:r(this.formatter.format(e.CoreProperties,e),{declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:r(this.formatter.format(e.Numbering,e),t),path:"word/numbering.xml"},FileRelationships:{data:r(this.formatter.format(e.FileRelationships,e),t),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((n,i)=>{let o=r(this.formatter.format(n.Header,e),t);return this.imageReplacer.getMediaData(o,e.Media).forEach((e,t)=>{n.Relationships.createRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:r(this.formatter.format(n.Relationships,e),t),path:`word/_rels/header${i+1}.xml.rels`}}),FooterRelationships:e.Footers.map((n,i)=>{let o=r(this.formatter.format(n.Footer,e),t);return this.imageReplacer.getMediaData(o,e.Media).forEach((e,t)=>{n.Relationships.createRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:r(this.formatter.format(n.Relationships,e),t),path:`word/_rels/footer${i+1}.xml.rels`}}),Headers:e.Headers.map((n,i)=>{let o=r(this.formatter.format(n.Header,e),t),s=this.imageReplacer.getMediaData(o,e.Media);return{data:this.imageReplacer.replace(o,s,0),path:`word/header${i+1}.xml`}}),Footers:e.Footers.map((n,i)=>{let o=r(this.formatter.format(n.Footer,e),t),s=this.imageReplacer.getMediaData(o,e.Media);return{data:this.imageReplacer.replace(o,s,0),path:`word/footer${i+1}.xml`}}),ContentTypes:{data:r(this.formatter.format(e.ContentTypes,e),t),path:"[Content_Types].xml"},AppProperties:{data:r(this.formatter.format(e.AppProperties,e),t),path:"docProps/app.xml"},FootNotes:{data:r(this.formatter.format(e.FootNotes,e),t),path:"word/footnotes.xml"},Settings:{data:r(this.formatter.format(e.Settings,e),t),path:"word/settings.xml"}}}}},function(e,t,n){(function(t){var i=n(356),r=n(56).Stream;function o(e,t,n){n=n||0;var r,s,a,l=(r=t,Array(n||0).join(r||"")),c=e;if("object"==typeof e&&(s=Object.keys(e)[0],(c=e[s])&&c._elem))return c._elem.name=s,c._elem.icount=n,c._elem.indent=t,c._elem.indents=l,c._elem.interrupt=c,c._elem;var u=[],d=[];function h(e){Object.keys(e).forEach(function(t){u.push(function(e,t){return e+'="'+i(t)+'"'}(t,e[t]))})}switch(typeof c){case"object":if(null===c)break;c._attr&&h(c._attr),c._cdata&&d.push(("/g,"]]]]>")+"]]>"),c.forEach&&(a=!1,d.push(""),c.forEach(function(e){"object"==typeof e?"_attr"==Object.keys(e)[0]?h(e._attr):d.push(o(e,t,n+1)):(d.pop(),a=!0,d.push(i(e)))}),!a&&d.push(""));break;default:d.push(i(c))}return{name:s,interrupt:!1,attributes:u,content:d,icount:n,indents:l,indent:t}}function s(e,t,n){if("object"!=typeof t)return e(!1,t);var i=t.interrupt?1:t.content.length;function r(){for(;t.content.length;){var r=t.content.shift();if(void 0!==r){if(o(r))return;s(e,r)}}e(!1,(i>1?t.indents:"")+(t.name?"":"")+(t.indent&&!n?"\n":"")),n&&n()}function o(t){return!!t.interrupt&&(t.interrupt.append=e,t.interrupt.end=r,t.interrupt=!1,e(!0),!0)}if(e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(i?t.name?">":"":t.name?"/>":"")+(t.indent&&i>1?"\n":"")),!i)return e(!1,t.indent?"\n":"");!o(t)&&r()}e.exports=function(e,n){"object"!=typeof n&&(n={indent:n});var i,a,l=n.stream?new r:null,c="",u=!1,d=n.indent?!0===n.indent?" ":n.indent:"",h=!0;function p(e){h?t.nextTick(e):e()}function f(e,t){if(void 0!==t&&(c+=t),e&&!u&&(l=l||new r,u=!0),e&&u){var n=c;p(function(){l.emit("data",n)}),c=""}}function m(e,t){s(f,o(e,d,d?1:0),t)}function g(){if(l){var e=c;p(function(){l.emit("data",e),l.emit("end"),l.readable=!1,l.emit("close")})}}if(p(function(){h=!1}),n.declaration){;a={version:"1.0",encoding:(i=n.declaration).encoding||"UTF-8"},i.standalone&&(a.standalone=i.standalone),m({"?xml":{_attr:a}}),c=c.replace("/>","?>")}return(e&&e.forEach?e.forEach(function(t,n){var i;n+1===e.length&&(i=g),m(t,i)}):m(e,g),l)?(l.readable=!0,l):c},e.exports.element=e.exports.Element=function(){var e=Array.prototype.slice.call(arguments),t={_elem:o(e)};return t.push=function(e){if(!this.append)throw Error("not assigned to a parent!");var t=this,n=this._elem.indent;s(this.append,o(e,n,this._elem.icount+(n?1:0)),function(){t.append(!0)})},t.close=function(e){void 0!==e&&this.push(e),this.end&&this.end()},t}}).call(t,n(13))},function(e,t){var n={"&":"&",'"':""","'":"'","<":"<",">":">"};e.exports=function(e){return e&&e.replace?e.replace(/([&"<>'])/g,function(e,t){return n[t]}):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Formatter=class e{format(e,t){let n=e.prepForXml(t);if(n)return n;throw Error("XMLComponent did not format correctly")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ImageReplacer=class e{replace(e,t,n){let i=e;return t.forEach((e,t)=>{i=i.replace(RegExp(`{${e.fileName}}`,"g"),(n+t).toString())}),i}getMediaData(e,t){return t.Array.filter(t=>e.search(`{${t.fileName}}`)>0)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NumberingReplacer=class e{replace(e,t){let n=e;for(let e of t){if(!!e.reference)n=n.replace(RegExp(`{${e.reference}}`,"g"),e.id.toString())}return n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e){for(var n in e)!t.hasOwnProperty(n)&&(t[n]=e[n])}(n(361))},function(e,t,n){"use strict";var i,r,o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let s=n(138),a=n(26),l=n(46),c=n(49),u=n(50),d=n(48),h=n(0),p={"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header":"header","http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer":"footer","http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":"image","http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink":"hyperlink"};(i=r||(r={})).HEADER="header",i.FOOTER="footer",i.IMAGE="image",i.HYPERLINK="hyperlink";t.ImportDotx=class e{extract(e){return o(this,void 0,void 0,function*(){let t=yield s.loadAsync(e),n=yield t.files["word/document.xml"].async("text"),i=yield t.files["word/_rels/document.xml.rels"].async("text"),r=this.extractDocumentRefs(n),o=this.findReferenceFiles(i),a=new u.Media;return{headers:yield this.createHeaders(t,r,o,a,0),footers:yield this.createFooters(t,r,o,a,r.headers.length),currentRelationshipId:r.footers.length+r.headers.length,styles:yield t.files["word/styles.xml"].async("text"),titlePageIsDefined:this.checkIfTitlePageIsDefined(n),media:a}})}createFooters(e,t,n,i,r){return o(this,void 0,void 0,function*(){return Promise.all(t.footers.map((t,s)=>o(this,void 0,void 0,function*(){let o=n.find(e=>e.id===t.id);if(null===o||!o)throw Error(`Can not find target file for id ${t.id}`);let c=yield e.files[`word/${o.target}`].async("text"),u=a.xml2js(c,{compact:!1,captureSpacesBetweenElements:!0});if(!u.elements)return;let d=u.elements.reduce((e,t)=>"w:ftr"===t.name?t:e),p=h.convertToXmlComponent(d),f=new l.FooterWrapper(i,r+s,p);return yield this.addRelationshipToWrapper(o,e,f,i),{type:t.type,footer:f}})).filter(e=>!!e))})}createHeaders(e,t,n,i,r){return o(this,void 0,void 0,function*(){return Promise.all(t.headers.map((t,s)=>o(this,void 0,void 0,function*(){let o=n.find(e=>e.id===t.id);if(null===o||!o)throw Error(`Can not find target file for id ${t.id}`);let l=yield e.files[`word/${o.target}`].async("text"),u=a.xml2js(l,{compact:!1,captureSpacesBetweenElements:!0});if(!u.elements)return;let d=u.elements.reduce((e,t)=>"w:hdr"===t.name?t:e),p=h.convertToXmlComponent(d),f=new c.HeaderWrapper(i,r+s,p);return yield this.addRelationshipToWrapper(o,e,f,i),{type:t.type,header:f}})).filter(e=>!!e))})}addRelationshipToWrapper(e,t,n,i){return o(this,void 0,void 0,function*(){let o=t.files[`word/_rels/${e.target}.rels`];if(!o)return;let s=yield o.async("text"),a=this.findReferenceFiles(s).filter(e=>e.type===r.IMAGE),l=this.findReferenceFiles(s).filter(e=>e.type===r.HYPERLINK);for(let e of a){let r=yield t.files[`word/${e.target}`].async("nodebuffer"),o=i.addMedia(r);n.Relationships.createRelationship(e.id,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${o.fileName}`)}for(let e of l)n.Relationships.createRelationship(e.id,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.target,d.TargetModeType.EXTERNAL)})}findReferenceFiles(e){let t=a.xml2js(e,{compact:!0});return(Array.isArray(t.Relationships.Relationship)?t.Relationships.Relationship:[t.Relationships.Relationship]).map(e=>{if(void 0===e._attributes)throw Error("relationship element has no attributes");return{id:this.parseRefId(e._attributes.Id),type:p[e._attributes.Type],target:e._attributes.Target}}).filter(e=>null!==e.type)}extractDocumentRefs(e){let t,n;let i=a.xml2js(e,{compact:!0})["w:document"]["w:body"]["w:sectPr"],r=i["w:headerReference"],o=(t=void 0===r?[]:Array.isArray(r)?r:[r]).map(e=>{if(void 0===e._attributes)throw Error("header referecne element has no attributes");return{type:e._attributes["w:type"],id:this.parseRefId(e._attributes["r:id"])}}),s=i["w:footerReference"];return{headers:o,footers:(n=void 0===s?[]:Array.isArray(s)?s:[s]).map(e=>{if(void 0===e._attributes)throw Error("footer referecne element has no attributes");return{type:e._attributes["w:type"],id:this.parseRefId(e._attributes["r:id"])}})}}checkIfTitlePageIsDefined(e){return void 0!==a.xml2js(e,{compact:!0})["w:document"]["w:body"]["w:sectPr"]["w:titlePg"]}parseRefId(e){let t=/^rId(\d+)$/.exec(e);if(null===t)throw Error("Invalid ref id");return parseInt(t[1],10)}}}])},e.exports=n()},2337:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function i(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,i,o,s){if("function"!=typeof i)throw TypeError("The listener must be a function");var a=new r(i,o||e,s),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],a]:e._events[l].push(a):(e._events[l]=a,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function a(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),!new i().__proto__&&(n=!1)),a.prototype.eventNames=function(){var e,i,r=[];if(0===this._eventsCount)return r;for(i in e=this._events)t.call(e,i)&&r.push(n?i.slice(1):i);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},a.prototype.listeners=function(e){var t=n?n+e:e,i=this._events[t];if(!i)return[];if(i.fn)return[i.fn];for(var r=0,o=i.length,s=Array(o);rs)break t;var h=t.slice(0,d),p=t.slice(d);if(p!==c)break t;var f=Math.min(a,d),m=l.slice(0,f),v=h.slice(0,f);if(m!==v)break t;var y=l.slice(f),b=h.slice(f);return g(m,y,b,c)}n:if(null===u||u===a){var h=t.slice(0,a),p=t.slice(a);if(h!==l)break n;var w=Math.min(o-a,s-a),_=c.slice(c.length-w),E=p.slice(p.length-w);if(_!==E)break n;var y=c.slice(0,c.length-w),b=p.slice(0,p.length-w);return g(l,y,b,_)}}if(i.length>0&&r&&0===r.length)i:{var m=e.slice(0,i.index),_=e.slice(i.index+i.length),f=m.length,w=_.length;if(sr.length?e:r,l=e.length>r.length?r:e,c=a.indexOf(l);if(-1!==c)return s=[[1,a.substring(0,c)],[0,l],[1,a.substring(c+l.length)]],e.length>r.length&&(s[0][0]=s[2][0]=-1),s;if(1===l.length)return[[-1,e],[1,r]];var u=function(e,t){var n,r,s,a,l,c=e.length>t.length?e:t,u=e.length>t.length?t:e;if(c.length<4||2*u.length=e.length?[r,s,a,l,d]:null}var h=d(c,u,Math.ceil(c.length/4)),p=d(c,u,Math.ceil(c.length/2));return h||p?(n=p?h?h[4].length>p[4].length?h:p:p:h,e.length>t.length?(r=n[0],s=n[1],a=n[2],l=n[3]):(a=n[0],l=n[1],r=n[2],s=n[3]),[r,s,a,l,n[4]]):null}(e,r);if(u){var d=u[0],h=u[1],p=u[2],f=u[3],m=u[4],g=t(d,p),v=t(h,f);return g.concat([[0,m]],v)}return function(e,t){for(var i=e.length,r=t.length,o=Math.ceil((i+r)/2),s=2*o,a=Array(s),l=Array(s),c=0;ci)p+=2;else if(w>r)h+=2;else if(d){var _=o+u-v;if(_>=0&&_=E)return n(e,t,y,w)}}}for(var x=-g+f;x<=g-m;x+=2){for(var E,_=o+x,k=(E=x===-g||x!==g&&l[_-1]i)m+=2;else if(k>r)f+=2;else if(!d){var b=o+u-x;if(b>=0&&b=(E=i-E))return n(e,t,y,w)}}}}return[[-1,e],[1,t]]}(e,r)}(e,h=h.substring(0,h.length-y));return b&&_.unshift([0,b]),w&&_.push([0,w]),d(_,m),f&&function(e){for(var t=!1,n=[],i=0,h=null,p=0,f=0,m=0,g=0,v=0;p0?n[i-1]:-1,f=0,m=0,g=0,v=0,h=null,t=!0)),p++;for(t&&d(e),function(e){function t(e,t){if(!e||!t)return 6;var n=e.charAt(e.length-1),i=t.charAt(0),r=n.match(s),o=i.match(s),d=r&&n.match(a),h=o&&i.match(a),p=d&&n.match(l),f=h&&i.match(l),m=p&&e.match(c),g=f&&t.match(u);if(m||g)return 5;if(p||f)return 4;if(r&&!d&&h)return 3;else if(d||h)return 2;else if(r||o)return 1;return 0}for(var n=1;n=v&&(v=y,f=i,m=r,g=d)}e[n-1][1]!=f&&(f?e[n-1][1]=f:(e.splice(n-1,1),n--),e[n][1]=m,g?e[n+1][1]=g:(e.splice(n+1,1),n--))}n++}}(e),p=1;p=_?(w>=y.length/2||w>=b.length/2)&&(e.splice(p,0,[0,b.substring(0,w)]),e[p-1][1]=y.substring(0,y.length-w),e[p+1][1]=b.substring(w),p++):(_>=y.length/2||_>=b.length/2)&&(e.splice(p,0,[0,y.substring(0,_)]),e[p-1][0]=1,e[p-1][1]=b.substring(0,b.length-_),e[p+1][0]=-1,e[p+1][1]=y.substring(_),p++),p++}p++}}(_),_}function n(e,n,i,r){var o=e.substring(0,i),s=n.substring(0,r),a=e.substring(i),l=n.substring(r),c=t(o,s),u=t(a,l);return c.concat(u)}function i(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,i=Math.min(e.length,t.length),r=i,o=0;ni?e=e.substring(n-i):n=0&&m(e[u][1])){var h=e[u][1].slice(-1);if(e[u][1]=e[u][1].slice(0,-1),l=h+l,c=h+c,!e[u][1]){e.splice(u,1),r--;var p=u-1;e[p]&&1===e[p][0]&&(a++,c=e[p][1]+c,p--),e[p]&&-1===e[p][0]&&(s++,l=e[p][1]+l,p--),u=p}}if(f(e[r][1])){var h=e[r][1].charAt(0);e[r][1]=e[r][1].slice(1),l+=h,c+=h}}if(r0||c.length>0){l.length>0&&c.length>0&&(0!==(n=i(c,l))&&(u>=0?e[u][1]+=c.substring(0,n):(e.splice(0,0,[0,c.substring(0,n)]),r++),c=c.substring(n),l=l.substring(n)),0!==(n=o(c,l))&&(e[r][1]=c.substring(c.length-n)+e[r][1],c=c.substring(0,c.length-n),l=l.substring(0,l.length-n)));var g=a+s;0===l.length&&0===c.length?(e.splice(r-g,g),r-=g):0===l.length?(e.splice(r-g,g,[1,c]),r=r-g+1):0===c.length?(e.splice(r-g,g,[-1,l]),r=r-g+1):(e.splice(r-g,g,[-1,l],[1,c]),r=r-g+2)}0!==r&&0===e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,a=0,s=0,l="",c=""}}""===e[e.length-1][1]&&e.pop();var v=!1;for(r=1;r=55296&&e<=56319}function p(e){return e>=56320&&e<=57343}function f(e){return p(e.charCodeAt(0))}function m(e){return h(e.charCodeAt(e.length-1))}function g(e,t,n,i){return m(e)||f(i)?null:function(e){for(var t=[],n=0;n0&&t.push(e[n]);return t}([[0,e],[-1,t],[1,n],[0,i]])}function v(e,n,i,r){return t(e,n,i,r,!0)}v.INSERT=1,v.DELETE=-1,v.EQUAL=0,e.exports=v},2323:function(e,t,n){e=n.nmd(e);var i,r="__lodash_hash_undefined__",o="[object Arguments]",s="[object Boolean]",a="[object Date]",l="[object Function]",c="[object GeneratorFunction]",u="[object Map]",d="[object Number]",h="[object Object]",p="[object Promise]",f="[object RegExp]",m="[object Set]",g="[object String]",v="[object Symbol]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",_="[object Float32Array]",E="[object Float64Array]",x="[object Int8Array]",k="[object Int16Array]",T="[object Int32Array]",O="[object Uint8Array]",C="[object Uint8ClampedArray]",A="[object Uint16Array]",S="[object Uint32Array]",N=/\w*$/,I=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,R={};R[o]=R["[object Array]"]=R[b]=R[w]=R[s]=R[a]=R[_]=R[E]=R[x]=R[k]=R[T]=R[u]=R[d]=R[h]=R[f]=R[m]=R[g]=R[v]=R[O]=R[C]=R[A]=R[S]=!0,R["[object Error]"]=R[l]=R[y]=!1;var P="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,D="object"==typeof self&&self&&self.Object===Object&&self,j=P||D||Function("return this")(),B=t&&!t.nodeType&&t,F=B&&e&&!e.nodeType&&e,q=F&&F.exports===B;function H(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function z(e,t,n,i){var r=-1,o=e?e.length:0;for(i&&o&&(n=e[++r]);++r-1},eA.prototype.set=function(e,t){var n=this.__data__,i=eL(n,e);return i<0?n.push([e,t]):n[i][1]=t,this};function eN(e){this.__data__=new eA(e)}eS.prototype.clear=function(){this.__data__={hash:new eC,map:new(em||eA),string:new eC}},eS.prototype.delete=function(e){return eP(this,e).delete(e)},eS.prototype.get=function(e){return eP(this,e).get(e)},eS.prototype.has=function(e){return eP(this,e).has(e)},eS.prototype.set=function(e,t){return eP(this,e).set(e,t),this};eN.prototype.clear=function(){this.__data__=new eA},eN.prototype.delete=function(e){return this.__data__.delete(e)},eN.prototype.get=function(e){return this.__data__.get(e)},eN.prototype.has=function(e){return this.__data__.has(e)},eN.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eA){var i=n.__data__;if(!em||i.length<199)return i.push([e,t]),this;n=this.__data__=new eS(i)}return n.set(e,t),this};function eI(e,t,n){var i=e[t];(!(et.call(e,t)&&eH(i,n))||void 0===n&&!(t in e))&&(e[t]=n)}function eL(e,t){for(var n=e.length;n--;)if(eH(e[n][0],t))return n;return -1}function eM(e){var t=new e.constructor(e.byteLength);return new es(t).set(new es(e)),t}function eR(e,t,n,i){n||(n={});for(var r=-1,o=t.length;++r-1&&e%1==0&&e<=0x1fffffffffffff}(e.length)&&!eX(e)}var ez=eh||function(){return!1};function eX(e){var t=eW(e)?en.call(e):"";return t==l||t==c}function eW(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eV(e){return eU(e)?function(e,t){var n=e$(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&eU(e)}(e)&&et.call(e,"callee")&&(!ec.call(e,"callee")||en.call(e)==o)}(e)?function(e,t){for(var n=-1,i=Array(e);++n-1&&e%1==0&&e-1},ey.prototype.set=function(e,t){var n=this.__data__,i=eE(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};function ew(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new eb;++ta))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,h=2&n?new ew:void 0;for(o.set(e,t),o.set(t,e);++u-1&&e%1==0&&e<=0x1fffffffffffff}function eB(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eF(e){return null!=e&&"object"==typeof e}var eq=D?(s=D,function(e){return s(e)}):function(e){return eF(e)&&ej(e.length)&&!!O[ex(e)]};function eH(e){var t;return null!=(t=e)&&ej(t.length)&&!eD(t)?function(e,t){var n=eR(e),i=!n&&eM(e),r=!n&&!i&&eP(e),o=!n&&!i&&!r&&eq(e),s=n||i||r||o,a=s?function(e,t){for(var n=-1,i=Array(e);++n-1&&e%1==0&&e/,p=/^\w+$/;function f(e,n){return n=n||t,d.test(e)?n.getElementsByClassName(e.slice(1)):p.test(e)?n.getElementsByTagName(e):n.querySelectorAll(e)}function m(n){if(!e){var i=(e=t.implementation.createHTMLDocument(null)).createElement("base");i.href=t.location.href,e.head.appendChild(i)}return e.body.innerHTML=n,e.body.childNodes}function g(e){"loading"!==t.readyState?e():t.addEventListener("DOMContentLoaded",e)}function v(e,i){if(!e)return this;if(e.cash&&e!==n)return e;var r,o=e,s=0;if(c(e))o=u.test(e)?t.getElementById(e.slice(1)):h.test(e)?m(e):f(e,i);else if(l(e))return g(e),this;if(!o)return this;if(o.nodeType||o===n)this[0]=o,this.length=1;else for(r=this.length=o.length;sr.right-n||l+t.width>window.innerWidth-n)&&(i.right=!0),(co-n||c+t.height>window.innerHeight-n)&&(i.bottom=!0),i},M.checkPossibleAlignments=function(e,t,n,i){var r={top:!0,right:!0,bottom:!0,left:!0,spaceOnTop:null,spaceOnRight:null,spaceOnBottom:null,spaceOnLeft:null},o="visible"===getComputedStyle(t).overflow,s=t.getBoundingClientRect(),a=Math.min(s.height,window.innerHeight),l=Math.min(s.width,window.innerWidth),c=e.getBoundingClientRect(),u=t.scrollLeft,d=t.scrollTop,h=n.left-u,p=n.top-d,f=n.top+c.height-d;return r.spaceOnRight=o?window.innerWidth-(c.left+n.width):l-(h+n.width),r.spaceOnRight<0&&(r.left=!1),r.spaceOnLeft=o?c.right-n.width:h-n.width+c.width,r.spaceOnLeft<0&&(r.right=!1),r.spaceOnBottom=o?window.innerHeight-(c.top+n.height+i):a-(p+n.height+i),r.spaceOnBottom<0&&(r.top=!1),r.spaceOnTop=o?c.bottom-(n.height+i):f-(n.height-i),r.spaceOnTop<0&&(r.bottom=!1),r},M.getOverflowParent=function(e){return null==e?null:e===document.body||"visible"!==getComputedStyle(e).overflow?e:M.getOverflowParent(e.parentElement)},M.getIdFromTrigger=function(e){var t=e.getAttribute("data-target");return t||(t=(t=e.getAttribute("href"))?t.slice(1):""),t},M.getDocumentScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},M.getDocumentScrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0};var ej=Date.now||function(){return(new Date).getTime()};M.throttle=function(e,t,n){var i=void 0,r=void 0,o=void 0,s=null,a=0;n||(n={});var l=function(){a=!1===n.leading?0:ej(),s=null,o=e.apply(i,r),i=r=null};return function(){var c=ej();a||!1!==n.leading||(a=c);var u=t-(c-a);return i=this,r=arguments,u<=0?(clearTimeout(s),s=null,a=c,o=e.apply(i,r),i=r=null):s||!1===n.trailing||(s=setTimeout(l,u)),o}};var eB={scope:{}};eB.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){if(n.get||n.set)throw TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},eB.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==n.g&&null!=n.g?n.g:e},eB.global=eB.getGlobal(this),eB.SYMBOL_PREFIX="jscomp_symbol_",eB.initSymbol=function(){eB.initSymbol=function(){},eB.global.Symbol||(eB.global.Symbol=eB.Symbol)},eB.symbolCounter_=0,eB.Symbol=function(e){return eB.SYMBOL_PREFIX+(e||"")+eB.symbolCounter_++},eB.initSymbolIterator=function(){eB.initSymbol();var e=eB.global.Symbol.iterator;e||(e=eB.global.Symbol.iterator=eB.global.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&eB.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return eB.arrayIterator(this)}}),eB.initSymbolIterator=function(){}},eB.arrayIterator=function(e){var t=0;return eB.iteratorPrototype(function(){return t=F.currentTime)for(var u=0;un&&(t.duration=i.duration),t.children.push(i)}),t.seek(0),t.reset(),t.autoplay&&t.restart(),t},t},w.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},w}(),r=cash,o=M.anime,s={accordion:!0,onOpenStart:void 0,onOpenEnd:void 0,onCloseStart:void 0,onCloseEnd:void 0,inDuration:300,outDuration:300},a=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));(i.el.M_Collapsible=i).options=r.extend({},t.defaults,n),i.$headers=i.$el.children("li").children(".collapsible-header"),i.$headers.attr("tabindex",0),i._setupEventHandlers();var o=i.$el.children("li.active").children(".collapsible-body");return i.options.accordion?o.first().css("display","block"):o.css("display","block"),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Collapsible=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleCollapsibleClickBound=this._handleCollapsibleClick.bind(this),this._handleCollapsibleKeydownBound=this._handleCollapsibleKeydown.bind(this),this.el.addEventListener("click",this._handleCollapsibleClickBound),this.$headers.each(function(t){t.addEventListener("keydown",e._handleCollapsibleKeydownBound)})}},{key:"_removeEventHandlers",value:function(){var e=this;this.el.removeEventListener("click",this._handleCollapsibleClickBound),this.$headers.each(function(t){t.removeEventListener("keydown",e._handleCollapsibleKeydownBound)})}},{key:"_handleCollapsibleClick",value:function(e){var t=r(e.target).closest(".collapsible-header");if(e.target&&t.length){var n=t.closest(".collapsible");if(n[0]===this.el){var i=t.closest("li"),o=n.children("li"),s=i[0].classList.contains("active"),a=o.index(i);s?this.close(a):this.open(a)}}}},{key:"_handleCollapsibleKeydown",value:function(e){13===e.keyCode&&this._handleCollapsibleClickBound(e)}},{key:"_animateIn",value:function(e){var t=this,n=this.$el.children("li").eq(e);if(n.length){var i=n.children(".collapsible-body");o.remove(i[0]),i.css({display:"block",overflow:"hidden",height:0,paddingTop:"",paddingBottom:""});var r=i.css("padding-top"),s=i.css("padding-bottom"),a=i[0].scrollHeight;i.css({paddingTop:0,paddingBottom:0}),o({targets:i[0],height:a,paddingTop:r,paddingBottom:s,duration:this.options.inDuration,easing:"easeInOutCubic",complete:function(e){i.css({overflow:"",paddingTop:"",paddingBottom:"",height:""}),"function"==typeof t.options.onOpenEnd&&t.options.onOpenEnd.call(t,n[0])}})}}},{key:"_animateOut",value:function(e){var t=this,n=this.$el.children("li").eq(e);if(n.length){var i=n.children(".collapsible-body");o.remove(i[0]),i.css("overflow","hidden"),o({targets:i[0],height:0,paddingTop:0,paddingBottom:0,duration:this.options.outDuration,easing:"easeInOutCubic",complete:function(){i.css({height:"",overflow:"",padding:"",display:""}),"function"==typeof t.options.onCloseEnd&&t.options.onCloseEnd.call(t,n[0])}})}}},{key:"open",value:function(e){var t=this,n=this.$el.children("li").eq(e);if(n.length&&!n[0].classList.contains("active")){if("function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,n[0]),this.options.accordion){var i=this.$el.children("li");this.$el.children("li.active").each(function(e){var n=i.index(r(e));t.close(n)})}n[0].classList.add("active"),this._animateIn(e)}}},{key:"close",value:function(e){var t=this.$el.children("li").eq(e);t.length&&t[0].classList.contains("active")&&("function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,t[0]),t[0].classList.remove("active"),this._animateOut(e))}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Collapsible}},{key:"defaults",get:function(){return s}}]),t}(),M.Collapsible=a,M.jQueryLoaded&&M.initializeJqueryWrapper(a,"collapsible","M_Collapsible"),l=cash,c=M.anime,u={alignment:"left",autoFocus:!0,constrainWidth:!0,container:null,coverTrigger:!0,closeOnClick:!0,hover:!1,inDuration:150,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onItemClick:null},(d=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return i.el.M_Dropdown=i,t._dropdowns.push(i),i.id=M.getIdFromTrigger(e),i.dropdownEl=document.getElementById(i.id),i.$dropdownEl=l(i.dropdownEl),i.options=l.extend({},t.defaults,n),i.isOpen=!1,i.isScrollable=!1,i.isTouchMoving=!1,i.focusedIndex=-1,i.filterQuery=[],i.options.container?l(i.options.container).append(i.dropdownEl):i.$el.after(i.dropdownEl),i._makeDropdownFocusable(),i._resetFilterQueryBound=i._resetFilterQuery.bind(i),i._handleDocumentClickBound=i._handleDocumentClick.bind(i),i._handleDocumentTouchmoveBound=i._handleDocumentTouchmove.bind(i),i._handleDropdownClickBound=i._handleDropdownClick.bind(i),i._handleDropdownKeydownBound=i._handleDropdownKeydown.bind(i),i._handleTriggerKeydownBound=i._handleTriggerKeydown.bind(i),i._setupEventHandlers(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._resetDropdownStyles(),this._removeEventHandlers(),t._dropdowns.splice(t._dropdowns.indexOf(this),1),this.el.M_Dropdown=void 0}},{key:"_setupEventHandlers",value:function(){this.el.addEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.addEventListener("click",this._handleDropdownClickBound),this.options.hover?(this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.addEventListener("mouseleave",this._handleMouseLeaveBound)):(this._handleClickBound=this._handleClick.bind(this),this.el.addEventListener("click",this._handleClickBound))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.removeEventListener("click",this._handleDropdownClickBound),this.options.hover?(this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.removeEventListener("mouseleave",this._handleMouseLeaveBound)):this.el.removeEventListener("click",this._handleClickBound)}},{key:"_setupTemporaryEventHandlers",value:function(){document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound),document.body.addEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.addEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_removeTemporaryEventHandlers",value:function(){document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound),document.body.removeEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.removeEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_handleClick",value:function(e){e.preventDefault(),this.open()}},{key:"_handleMouseEnter",value:function(){this.open()}},{key:"_handleMouseLeave",value:function(e){var t=e.toElement||e.relatedTarget,n=!!l(t).closest(".dropdown-content").length,i=!1,r=l(t).closest(".dropdown-trigger");r.length&&r[0].M_Dropdown&&r[0].M_Dropdown.isOpen&&(i=!0),i||n||this.close()}},{key:"_handleDocumentClick",value:function(e){var t=this,n=l(e.target);this.options.closeOnClick&&n.closest(".dropdown-content").length&&!this.isTouchMoving?setTimeout(function(){t.close()},0):!n.closest(".dropdown-trigger").length&&n.closest(".dropdown-content").length||setTimeout(function(){t.close()},0),this.isTouchMoving=!1}},{key:"_handleTriggerKeydown",value:function(e){e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ENTER||this.isOpen||(e.preventDefault(),this.open())}},{key:"_handleDocumentTouchmove",value:function(e){l(e.target).closest(".dropdown-content").length&&(this.isTouchMoving=!0)}},{key:"_handleDropdownClick",value:function(e){if("function"==typeof this.options.onItemClick){var t=l(e.target).closest("li")[0];this.options.onItemClick.call(this,t)}}},{key:"_handleDropdownKeydown",value:function(e){if(e.which===M.keys.TAB)e.preventDefault(),this.close();else if((e.which===M.keys.ARROW_DOWN||e.which===M.keys.ARROW_UP)&&this.isOpen){e.preventDefault();var t=e.which===M.keys.ARROW_DOWN?1:-1,n=this.focusedIndex,i=!1;do if(n+=t,this.dropdownEl.children[n]&&-1!==this.dropdownEl.children[n].tabIndex){i=!0;break}while(nl.spaceOnBottom?(c="bottom",n+=l.spaceOnTop,o-=l.spaceOnTop):n+=l.spaceOnBottom)),!l[u]){var d="left"===u?"right":"left";l[d]?u=d:l.spaceOnLeft>l.spaceOnRight?(u="right",i+=l.spaceOnLeft,r-=l.spaceOnLeft):(u="left",i+=l.spaceOnRight)}return"bottom"===c&&(o=o-t.height+(this.options.coverTrigger?e.height:0)),"right"===u&&(r=r-t.width+e.width),{x:r,y:o,verticalAlignment:c,horizontalAlignment:u,height:n,width:i}}},{key:"_animateIn",value:function(){var e=this;c.remove(this.dropdownEl),c({targets:this.dropdownEl,opacity:{value:[0,1],easing:"easeOutQuad"},scaleX:[.3,1],scaleY:[.3,1],duration:this.options.inDuration,easing:"easeOutQuint",complete:function(t){e.options.autoFocus&&e.dropdownEl.focus(),"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}})}},{key:"_animateOut",value:function(){var e=this;c.remove(this.dropdownEl),c({targets:this.dropdownEl,opacity:{value:0,easing:"easeOutQuint"},scaleX:.3,scaleY:.3,duration:this.options.outDuration,easing:"easeOutQuint",complete:function(t){e._resetDropdownStyles(),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}})}},{key:"_placeDropdown",value:function(){var e=this.options.constrainWidth?this.el.getBoundingClientRect().width:this.dropdownEl.getBoundingClientRect().width;this.dropdownEl.style.width=e+"px";var t=this._getDropdownPosition();this.dropdownEl.style.left=t.x+"px",this.dropdownEl.style.top=t.y+"px",this.dropdownEl.style.height=t.height+"px",this.dropdownEl.style.width=t.width+"px",this.dropdownEl.style.transformOrigin=("left"===t.horizontalAlignment?"0":"100%")+" "+("top"===t.verticalAlignment?"0":"100%")}},{key:"open",value:function(){this.isOpen||(this.isOpen=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this._resetDropdownStyles(),this.dropdownEl.style.display="block",this._placeDropdown(),this._animateIn(),this._setupTemporaryEventHandlers())}},{key:"close",value:function(){this.isOpen&&(this.isOpen=!1,this.focusedIndex=-1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this._animateOut(),this._removeTemporaryEventHandlers(),this.options.autoFocus&&this.el.focus())}},{key:"recalculateDimensions",value:function(){this.isOpen&&(this.$dropdownEl.css({width:"",height:"",left:"",top:"","transform-origin":""}),this._placeDropdown())}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Dropdown}},{key:"defaults",get:function(){return u}}]),t}())._dropdowns=[],M.Dropdown=d,M.jQueryLoaded&&M.initializeJqueryWrapper(d,"dropdown","M_Dropdown"),h=cash,p=M.anime,f={opacity:.5,inDuration:250,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0,dismissible:!0,startingTop:"4%",endingTop:"10%"},(m=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Modal=i).options=h.extend({},t.defaults,n),i.isOpen=!1,i.id=i.$el.attr("id"),i._openingTrigger=void 0,i.$overlay=h(''),i.el.tabIndex=0,i._nthModalOpened=0,t._count++,i._setupEventHandlers(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){t._count--,this._removeEventHandlers(),this.el.removeAttribute("style"),this.$overlay.remove(),this.el.M_Modal=void 0}},{key:"_setupEventHandlers",value:function(){this._handleOverlayClickBound=this._handleOverlayClick.bind(this),this._handleModalCloseClickBound=this._handleModalCloseClick.bind(this),1===t._count&&document.body.addEventListener("click",this._handleTriggerClick),this.$overlay[0].addEventListener("click",this._handleOverlayClickBound),this.el.addEventListener("click",this._handleModalCloseClickBound)}},{key:"_removeEventHandlers",value:function(){0===t._count&&document.body.removeEventListener("click",this._handleTriggerClick),this.$overlay[0].removeEventListener("click",this._handleOverlayClickBound),this.el.removeEventListener("click",this._handleModalCloseClickBound)}},{key:"_handleTriggerClick",value:function(e){var t=h(e.target).closest(".modal-trigger");if(t.length){var n=M.getIdFromTrigger(t[0]),i=document.getElementById(n).M_Modal;i&&i.open(t),e.preventDefault()}}},{key:"_handleOverlayClick",value:function(){this.options.dismissible&&this.close()}},{key:"_handleModalCloseClick",value:function(e){h(e.target).closest(".modal-close").length&&this.close()}},{key:"_handleKeydown",value:function(e){27===e.keyCode&&this.options.dismissible&&this.close()}},{key:"_handleFocus",value:function(e){this.el.contains(e.target)||this._nthModalOpened!==t._modalsOpen||this.el.focus()}},{key:"_animateIn",value:function(){var e=this;h.extend(this.el.style,{display:"block",opacity:0}),h.extend(this.$overlay[0].style,{display:"block",opacity:0}),p({targets:this.$overlay[0],opacity:this.options.opacity,duration:this.options.inDuration,easing:"easeOutQuad"});var t={targets:this.el,duration:this.options.inDuration,easing:"easeOutCubic",complete:function(){"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el,e._openingTrigger)}};this.el.classList.contains("bottom-sheet")?h.extend(t,{bottom:0,opacity:1}):h.extend(t,{top:[this.options.startingTop,this.options.endingTop],opacity:1,scaleX:[.8,1],scaleY:[.8,1]}),p(t)}},{key:"_animateOut",value:function(){var e=this;p({targets:this.$overlay[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuart"});var t={targets:this.el,duration:this.options.outDuration,easing:"easeOutCubic",complete:function(){e.el.style.display="none",e.$overlay.remove(),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}};this.el.classList.contains("bottom-sheet")?h.extend(t,{bottom:"-100%",opacity:0}):h.extend(t,{top:[this.options.endingTop,this.options.startingTop],opacity:0,scaleX:.8,scaleY:.8}),p(t)}},{key:"open",value:function(e){if(!this.isOpen)return this.isOpen=!0,t._modalsOpen++,this._nthModalOpened=t._modalsOpen,this.$overlay[0].style.zIndex=1e3+2*t._modalsOpen,this.el.style.zIndex=1e3+2*t._modalsOpen+1,this._openingTrigger=e?e[0]:void 0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el,this._openingTrigger),this.options.preventScrolling&&(document.body.style.overflow="hidden"),this.el.classList.add("open"),this.el.insertAdjacentElement("afterend",this.$overlay[0]),this.options.dismissible&&(this._handleKeydownBound=this._handleKeydown.bind(this),this._handleFocusBound=this._handleFocus.bind(this),document.addEventListener("keydown",this._handleKeydownBound),document.addEventListener("focus",this._handleFocusBound,!0)),p.remove(this.el),p.remove(this.$overlay[0]),this._animateIn(),this.el.focus(),this}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,t._modalsOpen--,this._nthModalOpened=0,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this.el.classList.remove("open"),0===t._modalsOpen&&(document.body.style.overflow=""),this.options.dismissible&&(document.removeEventListener("keydown",this._handleKeydownBound),document.removeEventListener("focus",this._handleFocusBound,!0)),p.remove(this.el),p.remove(this.$overlay[0]),this._animateOut(),this}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Modal}},{key:"defaults",get:function(){return f}}]),t}())._modalsOpen=0,m._count=0,M.Modal=m,M.jQueryLoaded&&M.initializeJqueryWrapper(m,"modal","M_Modal"),g=cash,v=M.anime,y={inDuration:275,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null},b=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Materialbox=i).options=g.extend({},t.defaults,n),i.overlayActive=!1,i.doneAnimating=!0,i.placeholder=g("
      ").addClass("material-placeholder"),i.originalWidth=0,i.originalHeight=0,i.originInlineStyles=i.$el.attr("style"),i.caption=i.el.getAttribute("data-caption")||"",i.$el.before(i.placeholder),i.placeholder.append(i.$el),i._setupEventHandlers(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Materialbox=void 0,g(this.placeholder).after(this.el).remove(),this.$el.removeAttr("style")}},{key:"_setupEventHandlers",value:function(){this._handleMaterialboxClickBound=this._handleMaterialboxClick.bind(this),this.el.addEventListener("click",this._handleMaterialboxClickBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleMaterialboxClickBound)}},{key:"_handleMaterialboxClick",value:function(e){!1===this.doneAnimating||this.overlayActive&&this.doneAnimating?this.close():this.open()}},{key:"_handleWindowScroll",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowResize",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowEscape",value:function(e){27===e.keyCode&&this.doneAnimating&&this.overlayActive&&this.close()}},{key:"_makeAncestorsOverflowVisible",value:function(){this.ancestorsChanged=g();for(var e=this.placeholder[0].parentNode;null!==e&&!g(e).is(document);){var t=g(e);"visible"!==t.css("overflow")&&(t.css("overflow","visible"),void 0===this.ancestorsChanged?this.ancestorsChanged=t:this.ancestorsChanged=this.ancestorsChanged.add(t)),e=e.parentNode}}},{key:"_animateImageIn",value:function(){var e=this,t={targets:this.el,height:[this.originalHeight,this.newHeight],width:[this.originalWidth,this.newWidth],left:M.getDocumentScrollLeft()+this.windowWidth/2-this.placeholder.offset().left-this.newWidth/2,top:M.getDocumentScrollTop()+this.windowHeight/2-this.placeholder.offset().top-this.newHeight/2,duration:this.options.inDuration,easing:"easeOutQuad",complete:function(){e.doneAnimating=!0,"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}};this.maxWidth=this.$el.css("max-width"),this.maxHeight=this.$el.css("max-height"),"none"!==this.maxWidth&&(t.maxWidth=this.newWidth),"none"!==this.maxHeight&&(t.maxHeight=this.newHeight),v(t)}},{key:"_animateImageOut",value:function(){var e=this;v({targets:this.el,width:this.originalWidth,height:this.originalHeight,left:0,top:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e.placeholder.css({height:"",width:"",position:"",top:"",left:""}),e.attrWidth&&e.$el.attr("width",e.attrWidth),e.attrHeight&&e.$el.attr("height",e.attrHeight),e.$el.removeAttr("style"),e.originInlineStyles&&e.$el.attr("style",e.originInlineStyles),e.$el.removeClass("active"),e.doneAnimating=!0,e.ancestorsChanged.length&&e.ancestorsChanged.css("overflow",""),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}})}},{key:"_updateVars",value:function(){this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight,this.caption=this.el.getAttribute("data-caption")||""}},{key:"open",value:function(){var e=this;this._updateVars(),this.originalWidth=this.el.getBoundingClientRect().width,this.originalHeight=this.el.getBoundingClientRect().height,this.doneAnimating=!1,this.$el.addClass("active"),this.overlayActive=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this.placeholder.css({width:this.placeholder[0].getBoundingClientRect().width+"px",height:this.placeholder[0].getBoundingClientRect().height+"px",position:"relative",top:0,left:0}),this._makeAncestorsOverflowVisible(),this.$el.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}),this.attrWidth=this.$el.attr("width"),this.attrHeight=this.$el.attr("height"),this.attrWidth&&(this.$el.css("width",this.attrWidth+"px"),this.$el.removeAttr("width")),this.attrHeight&&(this.$el.css("width",this.attrHeight+"px"),this.$el.removeAttr("height")),this.$overlay=g('
      ').css({opacity:0}).one("click",function(){e.doneAnimating&&e.close()}),this.$el.before(this.$overlay);var t=this.$overlay[0].getBoundingClientRect();this.$overlay.css({width:this.windowWidth+"px",height:this.windowHeight+"px",left:-1*t.left+"px",top:-1*t.top+"px"}),v.remove(this.el),v.remove(this.$overlay[0]),v({targets:this.$overlay[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}),""!==this.caption&&(this.$photocaption&&v.remove(this.$photoCaption[0]),this.$photoCaption=g('
      '),this.$photoCaption.text(this.caption),g("body").append(this.$photoCaption),this.$photoCaption.css({display:"inline"}),v({targets:this.$photoCaption[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}));var n=0,i=this.originalWidth/this.windowWidth,r=this.originalHeight/this.windowHeight;this.newWidth=0,this.newHeight=0,ri.options.responsiveThreshold,i.$img=i.$el.find("img").first(),i.$img.each(function(){this.complete&&w(this).trigger("load")}),i._updateParallax(),i._setupEventHandlers(),i._setupStyles(),t._parallaxes.push(i),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){t._parallaxes.splice(t._parallaxes.indexOf(this),1),this.$img[0].style.transform="",this._removeEventHandlers(),this.$el[0].M_Parallax=void 0}},{key:"_setupEventHandlers",value:function(){this._handleImageLoadBound=this._handleImageLoad.bind(this),this.$img[0].addEventListener("load",this._handleImageLoadBound),0===t._parallaxes.length&&(t._handleScrollThrottled=M.throttle(t._handleScroll,5),window.addEventListener("scroll",t._handleScrollThrottled),t._handleWindowResizeThrottled=M.throttle(t._handleWindowResize,5),window.addEventListener("resize",t._handleWindowResizeThrottled))}},{key:"_removeEventHandlers",value:function(){this.$img[0].removeEventListener("load",this._handleImageLoadBound),0===t._parallaxes.length&&(window.removeEventListener("scroll",t._handleScrollThrottled),window.removeEventListener("resize",t._handleWindowResizeThrottled))}},{key:"_setupStyles",value:function(){this.$img[0].style.opacity=1}},{key:"_handleImageLoad",value:function(){this._updateParallax()}},{key:"_updateParallax",value:function(){var e=0n.options.responsiveThreshold}}},{key:"defaults",get:function(){return _}}]),t}())._parallaxes=[],M.Parallax=E,M.jQueryLoaded&&M.initializeJqueryWrapper(E,"parallax","M_Parallax"),x=cash,k=M.anime,T={duration:300,onShow:null,swipeable:!1,responsiveThreshold:1/0},O=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Tabs=i).options=x.extend({},t.defaults,n),i.$tabLinks=i.$el.children("li.tab").children("a"),i.index=0,i._setupActiveTabLink(),i.options.swipeable?i._setupSwipeableTabs():i._setupNormalTabs(),i._setTabsAndTabWidth(),i._createIndicator(),i._setupEventHandlers(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this._indicator.parentNode.removeChild(this._indicator),this.options.swipeable?this._teardownSwipeableTabs():this._teardownNormalTabs(),this.$el[0].M_Tabs=void 0}},{key:"_setupEventHandlers",value:function(){this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound),this._handleTabClickBound=this._handleTabClick.bind(this),this.el.addEventListener("click",this._handleTabClickBound)}},{key:"_removeEventHandlers",value:function(){window.removeEventListener("resize",this._handleWindowResizeBound),this.el.removeEventListener("click",this._handleTabClickBound)}},{key:"_handleWindowResize",value:function(){this._setTabsAndTabWidth(),0!==this.tabWidth&&0!==this.tabsWidth&&(this._indicator.style.left=this._calcLeftPos(this.$activeTabLink)+"px",this._indicator.style.right=this._calcRightPos(this.$activeTabLink)+"px")}},{key:"_handleTabClick",value:function(e){var t=this,n=x(e.target).closest("li.tab"),i=x(e.target).closest("a");if(i.length&&i.parent().hasClass("tab")){if(n.hasClass("disabled"))e.preventDefault();else if(!i.attr("target")){this.$activeTabLink.removeClass("active");var r=this.$content;this.$activeTabLink=i,this.$content=x(M.escapeHash(i[0].hash)),this.$tabLinks=this.$el.children("li.tab").children("a"),this.$activeTabLink.addClass("active");var o=this.index;this.index=Math.max(this.$tabLinks.index(i),0),this.options.swipeable?this._tabsCarousel&&this._tabsCarousel.set(this.index,function(){"function"==typeof t.options.onShow&&t.options.onShow.call(t,t.$content[0])}):this.$content.length&&(this.$content[0].style.display="block",this.$content.addClass("active"),"function"==typeof this.options.onShow&&this.options.onShow.call(this,this.$content[0]),r.length&&!r.is(this.$content)&&(r[0].style.display="none",r.removeClass("active"))),this._setTabsAndTabWidth(),this._animateIndicator(o),e.preventDefault()}}}},{key:"_createIndicator",value:function(){var e=this,t=document.createElement("li");t.classList.add("indicator"),this.el.appendChild(t),this._indicator=t,setTimeout(function(){e._indicator.style.left=e._calcLeftPos(e.$activeTabLink)+"px",e._indicator.style.right=e._calcRightPos(e.$activeTabLink)+"px"},0)}},{key:"_setupActiveTabLink",value:function(){this.$activeTabLink=x(this.$tabLinks.filter('[href="'+location.hash+'"]')),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a.active").first()),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a").first()),this.$tabLinks.removeClass("active"),this.$activeTabLink[0].classList.add("active"),this.index=Math.max(this.$tabLinks.index(this.$activeTabLink),0),this.$activeTabLink.length&&(this.$content=x(M.escapeHash(this.$activeTabLink[0].hash)),this.$content.addClass("active"))}},{key:"_setupSwipeableTabs",value:function(){var e=this;window.innerWidth>this.options.responsiveThreshold&&(this.options.swipeable=!1);var t=x();this.$tabLinks.each(function(e){var n=x(M.escapeHash(e.hash));n.addClass("carousel-item"),t=t.add(n)});var n=x('');t.first().before(n),n.append(t),t[0].style.display="";var i=this.$activeTabLink.closest(".tab").index();this._tabsCarousel=M.Carousel.init(n[0],{fullWidth:!0,noWrap:!0,onCycleTo:function(t){var n=e.index;e.index=x(t).index(),e.$activeTabLink.removeClass("active"),e.$activeTabLink=e.$tabLinks.eq(e.index),e.$activeTabLink.addClass("active"),e._animateIndicator(n),"function"==typeof e.options.onShow&&e.options.onShow.call(e,e.$content[0])}}),this._tabsCarousel.set(i)}},{key:"_teardownSwipeableTabs",value:function(){var e=this._tabsCarousel.$el;this._tabsCarousel.destroy(),e.after(e.children()),e.remove()}},{key:"_setupNormalTabs",value:function(){this.$tabLinks.not(this.$activeTabLink).each(function(e){if(e.hash){var t=x(M.escapeHash(e.hash));t.length&&(t[0].style.display="none")}})}},{key:"_teardownNormalTabs",value:function(){this.$tabLinks.each(function(e){if(e.hash){var t=x(M.escapeHash(e.hash));t.length&&(t[0].style.display="")}})}},{key:"_setTabsAndTabWidth",value:function(){this.tabsWidth=this.$el.width(),this.tabWidth=Math.max(this.tabsWidth,this.el.scrollWidth)/this.$tabLinks.length}},{key:"_calcRightPos",value:function(e){return Math.ceil(this.tabsWidth-e.position().left-e[0].getBoundingClientRect().width)}},{key:"_calcLeftPos",value:function(e){return Math.floor(e.position().left)}},{key:"updateTabIndicator",value:function(){this._setTabsAndTabWidth(),this._animateIndicator(this.index)}},{key:"_animateIndicator",value:function(e){var t=0,n=0;0<=this.index-e?t=90:n=90;var i={targets:this._indicator,left:{value:this._calcLeftPos(this.$activeTabLink),delay:t},right:{value:this._calcRightPos(this.$activeTabLink),delay:n},duration:this.options.duration,easing:"easeOutQuad"};k.remove(this._indicator),k(i)}},{key:"select",value:function(e){var t=this.$tabLinks.filter('[href="#'+e+'"]');t.length&&t.trigger("click")}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Tabs}},{key:"defaults",get:function(){return T}}]),t}(),M.Tabs=O,M.jQueryLoaded&&M.initializeJqueryWrapper(O,"tabs","M_Tabs"),C=cash,A=M.anime,S={exitDelay:200,enterDelay:0,html:null,margin:5,inDuration:250,outDuration:200,position:"bottom",transitionMovement:10},N=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Tooltip=i).options=C.extend({},t.defaults,n),i.isOpen=!1,i.isHovered=!1,i.isFocused=!1,i._appendTooltipEl(),i._setupEventHandlers(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){C(this.tooltipEl).remove(),this._removeEventHandlers(),this.el.M_Tooltip=void 0}},{key:"_appendTooltipEl",value:function(){var e=document.createElement("div");e.classList.add("material-tooltip"),this.tooltipEl=e;var t=document.createElement("div");t.classList.add("tooltip-content"),t.innerHTML=this.options.html,e.appendChild(t),document.body.appendChild(e)}},{key:"_updateTooltipContent",value:function(){this.tooltipEl.querySelector(".tooltip-content").innerHTML=this.options.html}},{key:"_setupEventHandlers",value:function(){this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this._handleFocusBound=this._handleFocus.bind(this),this._handleBlurBound=this._handleBlur.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.el.addEventListener("focus",this._handleFocusBound,!0),this.el.addEventListener("blur",this._handleBlurBound,!0)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.el.removeEventListener("focus",this._handleFocusBound,!0),this.el.removeEventListener("blur",this._handleBlurBound,!0)}},{key:"open",value:function(e){this.isOpen||(e=void 0===e||void 0,this.isOpen=!0,this.options=C.extend({},this.options,this._getAttributeOptions()),this._updateTooltipContent(),this._setEnterDelayTimeout(e))}},{key:"close",value:function(){this.isOpen&&(this.isHovered=!1,this.isFocused=!1,this.isOpen=!1,this._setExitDelayTimeout())}},{key:"_setExitDelayTimeout",value:function(){var e=this;clearTimeout(this._exitDelayTimeout),this._exitDelayTimeout=setTimeout(function(){e.isHovered||e.isFocused||e._animateOut()},this.options.exitDelay)}},{key:"_setEnterDelayTimeout",value:function(e){var t=this;clearTimeout(this._enterDelayTimeout),this._enterDelayTimeout=setTimeout(function(){(t.isHovered||t.isFocused||e)&&t._animateIn()},this.options.enterDelay)}},{key:"_positionTooltip",value:function(){var e,t=this.el,n=this.tooltipEl,i=t.offsetHeight,r=t.offsetWidth,o=n.offsetHeight,s=n.offsetWidth,a=this.options.margin,l=void 0,c=void 0;this.xMovement=0,this.yMovement=0,l=t.getBoundingClientRect().top+M.getDocumentScrollTop(),c=t.getBoundingClientRect().left+M.getDocumentScrollLeft(),"top"===this.options.position?(l+=-o-a,c+=r/2-s/2,this.yMovement=-this.options.transitionMovement):"right"===this.options.position?(l+=i/2-o/2,c+=r+a,this.xMovement=this.options.transitionMovement):"left"===this.options.position?(l+=i/2-o/2,c+=-s-a,this.xMovement=-this.options.transitionMovement):(l+=i+a,c+=r/2-s/2,this.yMovement=this.options.transitionMovement),e=this._repositionWithinScreen(c,l,s,o),C(n).css({top:e.y+"px",left:e.x+"px"})}},{key:"_repositionWithinScreen",value:function(e,t,n,i){var r=M.getDocumentScrollLeft(),o=M.getDocumentScrollTop(),s=e-r,a=t-o,l={left:s,top:a,width:n,height:i},c=this.options.margin+this.options.transitionMovement,u=M.checkWithinContainer(document.body,l,c);return u.left?s=c:u.right&&(s-=s+n-window.innerWidth),u.top?a=c:u.bottom&&(a-=a+i-window.innerHeight),{x:s+r,y:a+o}}},{key:"_animateIn",value:function(){this._positionTooltip(),this.tooltipEl.style.visibility="visible",A.remove(this.tooltipEl),A({targets:this.tooltipEl,opacity:1,translateX:this.xMovement,translateY:this.yMovement,duration:this.options.inDuration,easing:"easeOutCubic"})}},{key:"_animateOut",value:function(){A.remove(this.tooltipEl),A({targets:this.tooltipEl,opacity:0,translateX:0,translateY:0,duration:this.options.outDuration,easing:"easeOutCubic"})}},{key:"_handleMouseEnter",value:function(){this.isHovered=!0,this.isFocused=!1,this.open(!1)}},{key:"_handleMouseLeave",value:function(){this.isHovered=!1,this.isFocused=!1,this.close()}},{key:"_handleFocus",value:function(){M.tabPressed&&(this.isFocused=!0,this.open(!1))}},{key:"_handleBlur",value:function(){this.isFocused=!1,this.close()}},{key:"_getAttributeOptions",value:function(){var e={},t=this.el.getAttribute("data-tooltip"),n=this.el.getAttribute("data-position");return t&&(e.html=t),n&&(e.position=n),e}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Tooltip}},{key:"defaults",get:function(){return S}}]),t}(),M.Tooltip=N,M.jQueryLoaded&&M.initializeJqueryWrapper(N,"tooltip","M_Tooltip"),function(e){"use strict";var t=t||{},n=document.querySelectorAll.bind(document);function i(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}var r={duration:750,show:function(e,t){if(2===e.button)return!1;var n=t||this,o=document.createElement("div");o.className="waves-ripple",n.appendChild(o);var s,a,l,c,u=(l={top:0,left:0},s=(c=n&&n.ownerDocument).documentElement,void 0!==n.getBoundingClientRect&&(l=n.getBoundingClientRect()),a=null!==c&&c===c.window?c:9===c.nodeType&&c.defaultView,{top:l.top+a.pageYOffset-s.clientTop,left:l.left+a.pageXOffset-s.clientLeft}),d=e.pageY-u.top,h=e.pageX-u.left,p="scale("+n.clientWidth/100*10+")";"touches"in e&&(d=e.touches[0].pageY-u.top,h=e.touches[0].pageX-u.left),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-scale",p),o.setAttribute("data-x",h),o.setAttribute("data-y",d);var f={top:d+"px",left:h+"px"};o.className=o.className+" waves-notransition",o.setAttribute("style",i(f)),o.className=o.className.replace("waves-notransition",""),f["-webkit-transform"]=p,f["-moz-transform"]=p,f["-ms-transform"]=p,f["-o-transform"]=p,f.transform=p,f.opacity="1",f["-webkit-transition-duration"]=r.duration+"ms",f["-moz-transition-duration"]=r.duration+"ms",f["-o-transition-duration"]=r.duration+"ms",f["transition-duration"]=r.duration+"ms",f["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",o.setAttribute("style",i(f))},hide:function(e){o.touchup(e);var t=this,n=(t.clientWidth,null),s=t.getElementsByClassName("waves-ripple");if(!(0t.el.offsetWidth*t.options.activationPercent||1"+o+""+s+""+a+""),n.length&&t.prepend(n)}},{key:"_resetCurrentElement",value:function(){this.activeIndex=-1,this.$active.removeClass("active")}},{key:"_resetAutocomplete",value:function(){X(this.container).empty(),this._resetCurrentElement(),this.oldVal=null,this.isOpen=!1,this._mousedown=!1}},{key:"selectOption",value:function(e){var t=e.text().trim();this.el.value=t,this.$el.trigger("change"),this._resetAutocomplete(),this.close(),"function"==typeof this.options.onAutocomplete&&this.options.onAutocomplete.call(this,t)}},{key:"_renderDropdown",value:function(e,t){var n=this;this._resetAutocomplete();var i=[];for(var r in e)if(e.hasOwnProperty(r)&&-1!==r.toLowerCase().indexOf(t)){if(this.count>=this.options.limit)break;var o={data:e[r],key:r};i.push(o),this.count++}this.options.sortFunction&&i.sort(function(e,i){return n.options.sortFunction(e.key.toLowerCase(),i.key.toLowerCase(),t.toLowerCase())});for(var s=0;s");a.data?l.append(''+a.key+""):l.append(""+a.key+""),X(this.container).append(l),this._highlight(t,l)}}},{key:"open",value:function(){var e=this.el.value.toLowerCase();this._resetAutocomplete(),e.length>=this.options.minLength&&(this.isOpen=!0,this._renderDropdown(this.options.data,e)),this.dropdown.isOpen?this.dropdown.recalculateDimensions():this.dropdown.open()}},{key:"close",value:function(){this.dropdown.close()}},{key:"updateData",value:function(e){var t=this.el.value.toLowerCase();this.options.data=e,this.isOpen&&this._renderDropdown(e,t)}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Autocomplete}},{key:"defaults",get:function(){return W}}]),t}())._keydown=!1,M.Autocomplete=V,M.jQueryLoaded&&M.initializeJqueryWrapper(V,"autocomplete","M_Autocomplete"),K=cash,M.updateTextFields=function(){K("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea").each(function(e,t){var n=K(this);0'),K("body").append(t));var n=e.css("font-family"),i=e.css("font-size"),r=e.css("line-height"),o=e.css("padding-top"),s=e.css("padding-right"),a=e.css("padding-bottom"),l=e.css("padding-left");i&&t.css("font-size",i),n&&t.css("font-family",n),r&&t.css("line-height",r),o&&t.css("padding-top",o),s&&t.css("padding-right",s),a&&t.css("padding-bottom",a),l&&t.css("padding-left",l),e.data("original-height")||e.data("original-height",e.height()),"off"===e.attr("wrap")&&t.css("overflow-wrap","normal").css("white-space","pre"),t.text(e[0].value+"\n");var c=t.html().replace(/\n/g,"
      ");t.html(c),0
    '),this.$slides.each(function(t,n){var i=G('
  • ');e.$indicators.append(i[0])}),this.$el.append(this.$indicators[0]),this.$indicators=this.$indicators.children("li.indicator-item"))}},{key:"_removeIndicators",value:function(){this.$el.find("ul.indicators").remove()}},{key:"set",value:function(e){var t=this;if(e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.activeIndex!=e){this.$active=this.$slides.eq(this.activeIndex);var n=this.$active.find(".caption");this.$active.removeClass("active"),Y({targets:this.$active[0],opacity:0,duration:this.options.duration,easing:"easeOutQuad",complete:function(){t.$slides.not(".active").each(function(e){Y({targets:e,opacity:0,translateX:0,translateY:0,duration:0,easing:"easeOutQuad"})})}}),this._animateCaptionIn(n[0],this.options.duration),this.options.indicators&&(this.$indicators.eq(this.activeIndex).removeClass("active"),this.$indicators.eq(e).addClass("active")),Y({targets:this.$slides.eq(e)[0],opacity:1,duration:this.options.duration,easing:"easeOutQuad"}),Y({targets:this.$slides.eq(e).find(".caption")[0],opacity:1,translateX:0,translateY:0,duration:this.options.duration,delay:this.options.duration,easing:"easeOutQuad"}),this.$slides.eq(e).addClass("active"),this.activeIndex=e,this.start()}}},{key:"pause",value:function(){clearInterval(this.interval)}},{key:"start",value:function(){clearInterval(this.interval),this.interval=setInterval(this._handleIntervalBound,this.options.duration+this.options.interval)}},{key:"next",value:function(){var e=this.activeIndex+1;e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.set(e)}},{key:"prev",value:function(){var e=this.activeIndex-1;e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.set(e)}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Slider}},{key:"defaults",get:function(){return Z}}]),t}(),M.Slider=Q,M.jQueryLoaded&&M.initializeJqueryWrapper(Q,"slider","M_Slider"),function(e,t){e(document).on("click",".card",function(n){if(e(this).children(".card-reveal").length){var i=e(n.target).closest(".card");void 0===i.data("initialOverflow")&&i.data("initialOverflow",void 0===i.css("overflow")?"":i.css("overflow"));var r=e(this).find(".card-reveal");e(n.target).is(e(".card-reveal .card-title"))||e(n.target).is(e(".card-reveal .card-title i"))?t({targets:r[0],translateY:0,duration:225,easing:"easeInOutQuad",complete:function(t){e(t.animatables[0].target).css({display:"none"}),i.css("overflow",i.data("initialOverflow"))}}):(e(n.target).is(e(".card .activator"))||e(n.target).is(e(".card .activator i")))&&(i.css("overflow","hidden"),r.css({display:"block"}),t({targets:r[0],translateY:"-100%",duration:300,easing:"easeInOutQuad"}))}})}(cash,M.anime),J=cash,ee={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{},limit:1/0,onChipAdd:null,onChipSelect:null,onChipDelete:null},(et=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Chips=i).options=J.extend({},t.defaults,n),i.$el.addClass("chips input-field"),i.chipsData=[],i.$chips=J(),i._setupInput(),i.hasAutocomplete=0"),this.$el.append(this.$input)),this.$input.addClass("input")}},{key:"_setupLabel",value:function(){this.$label=this.$el.find("label"),this.$label.length&&this.$label.setAttribute("for",this.$input.attr("id"))}},{key:"_setPlaceholder",value:function(){void 0!==this.chipsData&&!this.chipsData.length&&this.options.placeholder?J(this.$input).prop("placeholder",this.options.placeholder):(void 0===this.chipsData||this.chipsData.length)&&this.options.secondaryPlaceholder&&J(this.$input).prop("placeholder",this.options.secondaryPlaceholder)}},{key:"_isValid",value:function(e){if(e.hasOwnProperty("tag")&&""!==e.tag){for(var t=!1,n=0;n=this.options.limit)){var t=this._renderChip(e);this.$chips.add(t),this.chipsData.push(e),J(this.$input).before(t),this._setPlaceholder(),"function"==typeof this.options.onChipAdd&&this.options.onChipAdd.call(this,this.$el,t)}}},{key:"deleteChip",value:function(e){var t=this.$chips.eq(e);this.$chips.eq(e).remove(),this.$chips=this.$chips.filter(function(e){return 0<=J(e).index()}),this.chipsData.splice(e,1),this._setPlaceholder(),"function"==typeof this.options.onChipDelete&&this.options.onChipDelete.call(this,this.$el,t[0])}},{key:"selectChip",value:function(e){var t=this.$chips.eq(e);(this._selectedChip=t)[0].focus(),"function"==typeof this.options.onChipSelect&&this.options.onChipSelect.call(this,this.$el,t[0])}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Chips}},{key:"_handleChipsKeydown",value:function(e){t._keydown=!0;var n=J(e.target).closest(".chips"),i=e.target&&n.length;if(!J(e.target).is("input, textarea")&&i){var r=n[0].M_Chips;if(8===e.keyCode||46===e.keyCode){e.preventDefault();var o=r.chipsData.length;if(r._selectedChip){var s=r._selectedChip.index();r.deleteChip(s),r._selectedChip=null,o=Math.max(s-1,0)}r.chipsData.length&&r.selectChip(o)}else if(37===e.keyCode){if(r._selectedChip){var a=r._selectedChip.index()-1;if(a<0)return;r.selectChip(a)}}else if(39===e.keyCode&&r._selectedChip){var l=r._selectedChip.index()+1;l>=r.chipsData.length?r.$input[0].focus():r.selectChip(l)}}}},{key:"_handleChipsKeyup",value:function(e){t._keydown=!1}},{key:"_handleChipsBlur",value:function(e){t._keydown||(J(e.target).closest(".chips")[0].M_Chips._selectedChip=null)}},{key:"defaults",get:function(){return ee}}]),t}())._keydown=!1,M.Chips=et,M.jQueryLoaded&&M.initializeJqueryWrapper(et,"chips","M_Chips"),J(document).ready(function(){J(document.body).on("click",".chip .close",function(){var e=J(this).closest(".chips");e.length&&e[0].M_Chips||J(this).closest(".chip").remove()})}),en=cash,ei={top:0,bottom:1/0,offset:0,onPositionChange:null},(er=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Pushpin=i).options=en.extend({},t.defaults,n),i.originalOffset=i.el.offsetTop,t._pushpins.push(i),i._setupEventHandlers(),i._updatePosition(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this.el.style.top=null,this._removePinClasses(),this._removeEventHandlers();var e=t._pushpins.indexOf(this);t._pushpins.splice(e,1)}},{key:"_setupEventHandlers",value:function(){document.addEventListener("scroll",t._updateElements)}},{key:"_removeEventHandlers",value:function(){document.removeEventListener("scroll",t._updateElements)}},{key:"_updatePosition",value:function(){var e=M.getDocumentScrollTop()+this.options.offset;this.options.top<=e&&this.options.bottom>=e&&!this.el.classList.contains("pinned")&&(this._removePinClasses(),this.el.style.top=this.options.offset+"px",this.el.classList.add("pinned"),"function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pinned")),ethis.options.bottom&&!this.el.classList.contains("pin-bottom")&&(this._removePinClasses(),this.el.classList.add("pin-bottom"),this.el.style.top=this.options.bottom-this.originalOffset+"px","function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pin-bottom"))}},{key:"_removePinClasses",value:function(){this.el.classList.remove("pin-top"),this.el.classList.remove("pinned"),this.el.classList.remove("pin-bottom")}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Pushpin}},{key:"_updateElements",value:function(){for(var e in t._pushpins)t._pushpins[e]._updatePosition()}},{key:"defaults",get:function(){return ei}}]),t}())._pushpins=[],M.Pushpin=er,M.jQueryLoaded&&M.initializeJqueryWrapper(er,"pushpin","M_Pushpin"),eo=cash,es=M.anime,ea={direction:"top",hoverEnabled:!0,toolbarEnabled:!1},eo.fn.reverse=[].reverse,el=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_FloatingActionButton=i).options=eo.extend({},t.defaults,n),i.isOpen=!1,i.$anchor=i.$el.children("a").first(),i.$menu=i.$el.children("ul").first(),i.$floatingBtns=i.$el.find("ul .btn-floating"),i.$floatingBtnsReverse=i.$el.find("ul .btn-floating").reverse(),i.offsetY=0,i.offsetX=0,i.$el.addClass("direction-"+i.options.direction),"top"===i.options.direction?i.offsetY=40:"right"===i.options.direction?i.offsetX=-40:"bottom"===i.options.direction?i.offsetY=-40:i.offsetX=40,i._setupEventHandlers(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_FloatingActionButton=void 0}},{key:"_setupEventHandlers",value:function(){this._handleFABClickBound=this._handleFABClick.bind(this),this._handleOpenBound=this.open.bind(this),this._handleCloseBound=this.close.bind(this),this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.addEventListener("mouseenter",this._handleOpenBound),this.el.addEventListener("mouseleave",this._handleCloseBound)):this.el.addEventListener("click",this._handleFABClickBound)}},{key:"_removeEventHandlers",value:function(){this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.removeEventListener("mouseenter",this._handleOpenBound),this.el.removeEventListener("mouseleave",this._handleCloseBound)):this.el.removeEventListener("click",this._handleFABClickBound)}},{key:"_handleFABClick",value:function(){this.isOpen?this.close():this.open()}},{key:"_handleDocumentClick",value:function(e){eo(e.target).closest(this.$menu).length||this.close()}},{key:"open",value:function(){this.isOpen||(this.options.toolbarEnabled?this._animateInToolbar():this._animateInFAB(),this.isOpen=!0)}},{key:"close",value:function(){this.isOpen&&(this.options.toolbarEnabled?(window.removeEventListener("scroll",this._handleCloseBound,!0),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),this._animateOutToolbar()):this._animateOutFAB(),this.isOpen=!1)}},{key:"_animateInFAB",value:function(){var e=this;this.$el.addClass("active");var t=0;this.$floatingBtnsReverse.each(function(n){es({targets:n,opacity:1,scale:[.4,1],translateY:[e.offsetY,0],translateX:[e.offsetX,0],duration:275,delay:t,easing:"easeInOutQuad"}),t+=40})}},{key:"_animateOutFAB",value:function(){var e=this;this.$floatingBtnsReverse.each(function(t){es.remove(t),es({targets:t,opacity:0,scale:.4,translateY:e.offsetY,translateX:e.offsetX,duration:175,easing:"easeOutQuad",complete:function(){e.$el.removeClass("active")}})})}},{key:"_animateInToolbar",value:function(){var e,t=this,n=window.innerWidth,i=window.innerHeight,r=this.el.getBoundingClientRect(),o=eo('
    '),s=this.$anchor.css("background-color");this.$anchor.append(o),this.offsetX=r.left-n/2+r.width/2,this.offsetY=i-r.bottom,e=n/o[0].clientWidth,this.btnBottom=r.bottom,this.btnLeft=r.left,this.btnWidth=r.width,this.$el.addClass("active"),this.$el.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+this.offsetX+"px)",transition:"none"}),this.$anchor.css({transform:"translateY("+-this.offsetY+"px)",transition:"none"}),o.css({"background-color":s}),setTimeout(function(){t.$el.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),t.$anchor.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){t.$el.css({overflow:"hidden","background-color":s}),o.css({transform:"scale("+e+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),t.$menu.children("li").children("a").css({opacity:1}),t._handleDocumentClickBound=t._handleDocumentClick.bind(t),window.addEventListener("scroll",t._handleCloseBound,!0),document.body.addEventListener("click",t._handleDocumentClickBound,!0)},100)},0)}},{key:"_animateOutToolbar",value:function(){var e=this,t=window.innerWidth,n=window.innerHeight,i=this.$el.find(".fab-backdrop"),r=this.$anchor.css("background-color");this.offsetX=this.btnLeft-t/2+this.btnWidth/2,this.offsetY=n-this.btnBottom,this.$el.removeClass("active"),this.$el.css({"background-color":"transparent",transition:"none"}),this.$anchor.css({transition:"none"}),i.css({transform:"scale(0)","background-color":r}),this.$menu.children("li").children("a").css({opacity:""}),setTimeout(function(){i.remove(),e.$el.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-e.offsetX+"px,0,0)"}),e.$anchor.css({overflow:"",transform:"translate3d(0,"+e.offsetY+"px,0)"}),setTimeout(function(){e.$el.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),e.$anchor.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200)}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_FloatingActionButton}},{key:"defaults",get:function(){return ea}}]),t}(),M.FloatingActionButton=el,M.jQueryLoaded&&M.initializeJqueryWrapper(el,"floatingActionButton","M_FloatingActionButton"),ec=cash,eu={autoClose:!1,format:"mmm dd, yyyy",parse:null,defaultDate:null,setDefaultDate:!1,disableWeekends:!1,disableDayFn:null,firstDay:0,minDate:null,maxDate:null,yearRange:10,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,container:null,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok",previousMonth:"‹",nextMonth:"›",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysAbbrev:["S","M","T","W","T","F","S"]},events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null},(ed=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));(i.el.M_Datepicker=i).options=ec.extend({},t.defaults,n),n&&n.hasOwnProperty("i18n")&&"object"==typeof n.i18n&&(i.options.i18n=ec.extend({},t.defaults.i18n,n.i18n)),i.options.minDate&&i.options.minDate.setHours(0,0,0,0),i.options.maxDate&&i.options.maxDate.setHours(0,0,0,0),i.id=M.guid(),i._setupVariables(),i._insertHTMLIntoDOM(),i._setupModal(),i._setupEventHandlers(),i.options.defaultDate||(i.options.defaultDate=new Date(Date.parse(i.el.value)));var r=i.options.defaultDate;return t._isDate(r)?i.options.setDefaultDate?(i.setDate(r,!0),i.setInputValue()):i.gotoDate(r):i.gotoDate(new Date),i.isOpen=!1,i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),ec(this.modalEl).remove(),this.destroySelects(),this.el.M_Datepicker=void 0}},{key:"destroySelects",value:function(){var e=this.calendarEl.querySelector(".orig-select-year");e&&M.FormSelect.getInstance(e).destroy();var t=this.calendarEl.querySelector(".orig-select-month");t&&M.FormSelect.getInstance(t).destroy()}},{key:"_insertHTMLIntoDOM",value:function(){this.options.showClearBtn&&(ec(this.clearBtn).css({visibility:""}),this.clearBtn.innerHTML=this.options.i18n.clear),this.doneBtn.innerHTML=this.options.i18n.done,this.cancelBtn.innerHTML=this.options.i18n.cancel,this.options.container?this.$modalEl.appendTo(this.options.container):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var e=this;this.modalEl.id="modal-"+this.id,this.modal=M.Modal.init(this.modalEl,{onCloseEnd:function(){e.isOpen=!1}})}},{key:"toString",value:function(e){var n=this;return e=e||this.options.format,t._isDate(this.date)?e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g).map(function(e){return n.formats[e]?n.formats[e]():e}).join(""):""}},{key:"setDate",value:function(e,n){if(!e)return this.date=null,this._renderDateDisplay(),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),t._isDate(e)){var i=this.options.minDate,r=this.options.maxDate;t._isDate(i)&&er.maxDate||r.disableWeekends&&t._isWeekend(w)||r.disableDayFn&&r.disableDayFn(w),isEmpty:k,isStartRange:A,isEndRange:S,isInRange:N,showDaysInNextAndPreviousMonths:r.showDaysInNextAndPreviousMonths};c.push(this.renderDay(I)),7==++b&&(l.push(this.renderRow(c,r.isRTL,v)),b=0,c=[],v=!1)}return this.renderTable(r,l,i)}},{key:"renderDay",value:function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'';t.push("is-outside-current-month"),t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'"}},{key:"renderRow",value:function(e,t,n){return''+(t?e.reverse():e).join("")+""}},{key:"renderTable",value:function(e,t,n){return'
    '+this.renderHead(e)+this.renderBody(t)+"
    "}},{key:"renderHead",value:function(e){var t=void 0,n=[];for(t=0;t<7;t++)n.push(''+this.renderDayName(e,t,!0)+"");return""+(e.isRTL?n.reverse():n).join("")+""}},{key:"renderBody",value:function(e){return""+e.join("")+""}},{key:"renderTitle",value:function(e,t,n,i,r,o){var s,a,l=void 0,c=void 0,u=void 0,d=this.options,h=n===d.minYear,p=n===d.maxYear,f='
    ',m=!0,g=!0;for(u=[],l=0;l<12;l++)u.push('");for(s='",ec.isArray(d.yearRange)?(l=d.yearRange[0],c=d.yearRange[1]+1):(l=n-d.yearRange,c=1+n+d.yearRange),u=[];l=d.minYear&&u.push('");return a='",f+='',f+='
    ',d.showMonthAfterYear?f+=a+s:f+=s+a,f+="
    ",h&&(0===i||d.minMonth>=i)&&(m=!1),p&&(11===i||d.maxMonth<=i)&&(g=!1),(f+='')+"
    "}},{key:"draw",value:function(e){if(this.isOpen||e){var t,n=this.options,i=n.minYear,r=n.maxYear,o=n.minMonth,s=n.maxMonth,a="";this._y<=i&&(this._y=i,!isNaN(o)&&this._m=r&&(this._y=r,!isNaN(s)&&this._m>s&&(this._m=s)),t="datepicker-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var l=0;l<1;l++)this._renderDateDisplay(),a+=this.renderTitle(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year,t)+this.render(this.calendars[l].year,this.calendars[l].month,t);this.destroySelects(),this.calendarEl.innerHTML=a;var c=this.calendarEl.querySelector(".orig-select-year"),u=this.calendarEl.querySelector(".orig-select-month");M.FormSelect.init(c,{classes:"select-year",dropdownOptions:{container:document.body,constrainWidth:!1}}),M.FormSelect.init(u,{classes:"select-month",dropdownOptions:{container:document.body,constrainWidth:!1}}),c.addEventListener("change",this._handleYearChange.bind(this)),u.addEventListener("change",this._handleMonthChange.bind(this)),"function"==typeof this.options.onDraw&&this.options.onDraw(this)}}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleInputChangeBound=this._handleInputChange.bind(this),this._handleCalendarClickBound=this._handleCalendarClick.bind(this),this._finishSelectionBound=this._finishSelection.bind(this),this._handleMonthChange=this._handleMonthChange.bind(this),this._closeBound=this.close.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("change",this._handleInputChangeBound),this.calendarEl.addEventListener("click",this._handleCalendarClickBound),this.doneBtn.addEventListener("click",this._finishSelectionBound),this.cancelBtn.addEventListener("click",this._closeBound),this.options.showClearBtn&&(this._handleClearClickBound=this._handleClearClick.bind(this),this.clearBtn.addEventListener("click",this._handleClearClickBound))}},{key:"_setupVariables",value:function(){var e=this;this.$modalEl=ec(t._template),this.modalEl=this.$modalEl[0],this.calendarEl=this.modalEl.querySelector(".datepicker-calendar"),this.yearTextEl=this.modalEl.querySelector(".year-text"),this.dateTextEl=this.modalEl.querySelector(".date-text"),this.options.showClearBtn&&(this.clearBtn=this.modalEl.querySelector(".datepicker-clear")),this.doneBtn=this.modalEl.querySelector(".datepicker-done"),this.cancelBtn=this.modalEl.querySelector(".datepicker-cancel"),this.formats={d:function(){return e.date.getDate()},dd:function(){var t=e.date.getDate();return(t<10?"0":"")+t},ddd:function(){return e.options.i18n.weekdaysShort[e.date.getDay()]},dddd:function(){return e.options.i18n.weekdays[e.date.getDay()]},m:function(){return e.date.getMonth()+1},mm:function(){var t=e.date.getMonth()+1;return(t<10?"0":"")+t},mmm:function(){return e.options.i18n.monthsShort[e.date.getMonth()]},mmmm:function(){return e.options.i18n.months[e.date.getMonth()]},yy:function(){return(""+e.date.getFullYear()).slice(2)},yyyy:function(){return e.date.getFullYear()}}}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("change",this._handleInputChangeBound),this.calendarEl.removeEventListener("click",this._handleCalendarClickBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(e){e.which===M.keys.ENTER&&(e.preventDefault(),this.open())}},{key:"_handleCalendarClick",value:function(e){if(this.isOpen){var t=ec(e.target);t.hasClass("is-disabled")||(!t.hasClass("datepicker-day-button")||t.hasClass("is-empty")||t.parent().hasClass("is-disabled")?t.closest(".month-prev").length?this.prevMonth():t.closest(".month-next").length&&this.nextMonth():(this.setDate(new Date(e.target.getAttribute("data-year"),e.target.getAttribute("data-month"),e.target.getAttribute("data-day"))),this.options.autoClose&&this._finishSelection()))}}},{key:"_handleClearClick",value:function(){this.date=null,this.setInputValue(),this.close()}},{key:"_handleMonthChange",value:function(e){this.gotoMonth(e.target.value)}},{key:"_handleYearChange",value:function(e){this.gotoYear(e.target.value)}},{key:"gotoMonth",value:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())}},{key:"gotoYear",value:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())}},{key:"_handleInputChange",value:function(e){var n=void 0;e.firedBy!==this&&(n=this.options.parse?this.options.parse(this.el.value,this.options.format):new Date(Date.parse(this.el.value)),t._isDate(n)&&this.setDate(n))}},{key:"renderDayName",value:function(e,t,n){for(t+=e.firstDay;7<=t;)t-=7;return n?e.i18n.weekdaysAbbrev[t]:e.i18n.weekdays[t]}},{key:"_finishSelection",value:function(){this.setInputValue(),this.close()}},{key:"open",value:function(){if(!this.isOpen)return this.isOpen=!0,"function"==typeof this.options.onOpen&&this.options.onOpen.call(this),this.draw(),this.modal.open(),this}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,"function"==typeof this.options.onClose&&this.options.onClose.call(this),this.modal.close(),this}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"_isDate",value:function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())}},{key:"_isWeekend",value:function(e){var t=e.getDay();return 0===t||6===t}},{key:"_setToStartOfDay",value:function(e){t._isDate(e)&&e.setHours(0,0,0,0)}},{key:"_getDaysInMonth",value:function(e,n){return[31,t._isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][n]}},{key:"_isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"_compareDates",value:function(e,t){return e.getTime()===t.getTime()}},{key:"_setToStartOfDay",value:function(e){t._isDate(e)&&e.setHours(0,0,0,0)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Datepicker}},{key:"defaults",get:function(){return eu}}]),t}())._template='',M.Datepicker=ed,M.jQueryLoaded&&M.initializeJqueryWrapper(ed,"datepicker","M_Datepicker"),eh=cash,ep={dialRadius:135,outerRadius:105,innerRadius:70,tickRadius:20,duration:350,container:null,defaultTime:"now",fromNow:0,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok"},autoClose:!1,twelveHour:!0,vibrate:!0,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onSelect:null},(ef=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Timepicker=i).options=eh.extend({},t.defaults,n),i.id=M.guid(),i._insertHTMLIntoDOM(),i._setupModal(),i._setupVariables(),i._setupEventHandlers(),i._clockSetup(),i._pickerSetup(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),eh(this.modalEl).remove(),this.el.M_Timepicker=void 0}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleClockClickStartBound=this._handleClockClickStart.bind(this),this._handleDocumentClickMoveBound=this._handleDocumentClickMove.bind(this),this._handleDocumentClickEndBound=this._handleDocumentClickEnd.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.plate.addEventListener("mousedown",this._handleClockClickStartBound),this.plate.addEventListener("touchstart",this._handleClockClickStartBound),eh(this.spanHours).on("click",this.showView.bind(this,"hours")),eh(this.spanMinutes).on("click",this.showView.bind(this,"minutes"))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(e){e.which===M.keys.ENTER&&(e.preventDefault(),this.open())}},{key:"_handleClockClickStart",value:function(e){e.preventDefault();var n=this.plate.getBoundingClientRect(),i=n.left,r=n.top;this.x0=i+this.options.dialRadius,this.y0=r+this.options.dialRadius,this.moved=!1;var o=t._Pos(e);this.dx=o.x-this.x0,this.dy=o.y-this.y0,this.setHand(this.dx,this.dy,!1),document.addEventListener("mousemove",this._handleDocumentClickMoveBound),document.addEventListener("touchmove",this._handleDocumentClickMoveBound),document.addEventListener("mouseup",this._handleDocumentClickEndBound),document.addEventListener("touchend",this._handleDocumentClickEndBound)}},{key:"_handleDocumentClickMove",value:function(e){e.preventDefault();var n=t._Pos(e),i=n.x-this.x0,r=n.y-this.y0;this.moved=!0,this.setHand(i,r,!1,!0)}},{key:"_handleDocumentClickEnd",value:function(e){var n=this;e.preventDefault(),document.removeEventListener("mouseup",this._handleDocumentClickEndBound),document.removeEventListener("touchend",this._handleDocumentClickEndBound);var i=t._Pos(e),r=i.x-this.x0,o=i.y-this.y0;this.moved&&r===this.dx&&o===this.dy&&this.setHand(r,o),"hours"===this.currentView?this.showView("minutes",this.options.duration/2):this.options.autoClose&&(eh(this.minutesView).addClass("timepicker-dial-out"),setTimeout(function(){n.done()},this.options.duration/2)),"function"==typeof this.options.onSelect&&this.options.onSelect.call(this,this.hours,this.minutes),document.removeEventListener("mousemove",this._handleDocumentClickMoveBound),document.removeEventListener("touchmove",this._handleDocumentClickMoveBound)}},{key:"_insertHTMLIntoDOM",value:function(){this.$modalEl=eh(t._template),this.modalEl=this.$modalEl[0],this.modalEl.id="modal-"+this.id;var e=document.querySelector(this.options.container);this.options.container&&e?this.$modalEl.appendTo(e):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var e=this;this.modal=M.Modal.init(this.modalEl,{onOpenStart:this.options.onOpenStart,onOpenEnd:this.options.onOpenEnd,onCloseStart:this.options.onCloseStart,onCloseEnd:function(){"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e),e.isOpen=!1}})}},{key:"_setupVariables",value:function(){this.currentView="hours",this.vibrate=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null,this._canvas=this.modalEl.querySelector(".timepicker-canvas"),this.plate=this.modalEl.querySelector(".timepicker-plate"),this.hoursView=this.modalEl.querySelector(".timepicker-hours"),this.minutesView=this.modalEl.querySelector(".timepicker-minutes"),this.spanHours=this.modalEl.querySelector(".timepicker-span-hours"),this.spanMinutes=this.modalEl.querySelector(".timepicker-span-minutes"),this.spanAmPm=this.modalEl.querySelector(".timepicker-span-am-pm"),this.footer=this.modalEl.querySelector(".timepicker-footer"),this.amOrPm="PM"}},{key:"_pickerSetup",value:function(){var e=eh('").appendTo(this.footer).on("click",this.clear.bind(this));this.options.showClearBtn&&e.css({visibility:""});var t=eh('
    ');eh('").appendTo(t).on("click",this.close.bind(this)),eh('").appendTo(t).on("click",this.done.bind(this)),t.appendTo(this.footer)}},{key:"_clockSetup",value:function(){this.options.twelveHour&&(this.$amBtn=eh('
    AM
    '),this.$pmBtn=eh('
    PM
    '),this.$amBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm),this.$pmBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm)),this._buildHoursView(),this._buildMinutesView(),this._buildSVGClock()}},{key:"_buildSVGClock",value:function(){var e=this.options.dialRadius,n=this.options.tickRadius,i=2*e,r=t._createSVGEl("svg");r.setAttribute("class","timepicker-svg"),r.setAttribute("width",i),r.setAttribute("height",i);var o=t._createSVGEl("g");o.setAttribute("transform","translate("+e+","+e+")");var s=t._createSVGEl("circle");s.setAttribute("class","timepicker-canvas-bearing"),s.setAttribute("cx",0),s.setAttribute("cy",0),s.setAttribute("r",4);var a=t._createSVGEl("line");a.setAttribute("x1",0),a.setAttribute("y1",0);var l=t._createSVGEl("circle");l.setAttribute("class","timepicker-canvas-bg"),l.setAttribute("r",n),o.appendChild(a),o.appendChild(l),o.appendChild(s),r.appendChild(o),this._canvas.appendChild(r),this.hand=a,this.bg=l,this.bearing=s,this.g=o}},{key:"_buildHoursView",value:function(){var e=eh('
    ');if(this.options.twelveHour)for(var t=1;t<13;t+=1){var n=e.clone(),i=t/6*Math.PI,r=this.options.outerRadius;n.css({left:this.options.dialRadius+Math.sin(i)*r-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(i)*r-this.options.tickRadius+"px"}),n.html(0===t?"00":t),this.hoursView.appendChild(n[0])}else for(var o=0;o<24;o+=1){var s=e.clone(),a=o/6*Math.PI,l=0'),n=0;n<60;n+=5){var i=e.clone(),r=n/30*Math.PI;i.css({left:this.options.dialRadius+Math.sin(r)*this.options.outerRadius-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(r)*this.options.outerRadius-this.options.tickRadius+"px"}),i.html(t._addLeadingZero(n)),this.minutesView.appendChild(i[0])}}},{key:"_handleAmPmClick",value:function(e){var t=eh(e.target);this.amOrPm=t.hasClass("am-btn")?"AM":"PM",this._updateAmPmView()}},{key:"_updateAmPmView",value:function(){this.options.twelveHour&&(this.$amBtn.toggleClass("text-primary","AM"===this.amOrPm),this.$pmBtn.toggleClass("text-primary","PM"===this.amOrPm))}},{key:"_updateTimeFromInput",value:function(){var e=((this.el.value||this.options.defaultTime||"")+"").split(":");if(this.options.twelveHour&&void 0!==e[1]&&(0'),i.$el.find(".carousel-item").each(function(e,t){if(i.images.push(e),i.showIndicators){var n=ey('
  • ');0===t&&n[0].classList.add("active"),i.$indicators.append(n)}}),i.showIndicators&&i.$el.append(i.$indicators),i.count=i.images.length,i.options.numVisible=Math.min(i.count,i.options.numVisible),i.xform="transform",["webkit","Moz","O","ms"].every(function(e){var t=e+"Transform";return void 0===document.body.style[t]||(i.xform=t,!1)}),i._setupEventHandlers(),i._scroll(i.offset),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Carousel=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleCarouselTapBound=this._handleCarouselTap.bind(this),this._handleCarouselDragBound=this._handleCarouselDrag.bind(this),this._handleCarouselReleaseBound=this._handleCarouselRelease.bind(this),this._handleCarouselClickBound=this._handleCarouselClick.bind(this),void 0!==window.ontouchstart&&(this.el.addEventListener("touchstart",this._handleCarouselTapBound),this.el.addEventListener("touchmove",this._handleCarouselDragBound),this.el.addEventListener("touchend",this._handleCarouselReleaseBound)),this.el.addEventListener("mousedown",this._handleCarouselTapBound),this.el.addEventListener("mousemove",this._handleCarouselDragBound),this.el.addEventListener("mouseup",this._handleCarouselReleaseBound),this.el.addEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.addEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&(this._handleIndicatorClickBound=this._handleIndicatorClick.bind(this),this.$indicators.find(".indicator-item").each(function(t,n){t.addEventListener("click",e._handleIndicatorClickBound)}));var t=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=t.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){var e=this;void 0!==window.ontouchstart&&(this.el.removeEventListener("touchstart",this._handleCarouselTapBound),this.el.removeEventListener("touchmove",this._handleCarouselDragBound),this.el.removeEventListener("touchend",this._handleCarouselReleaseBound)),this.el.removeEventListener("mousedown",this._handleCarouselTapBound),this.el.removeEventListener("mousemove",this._handleCarouselDragBound),this.el.removeEventListener("mouseup",this._handleCarouselReleaseBound),this.el.removeEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.removeEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&this.$indicators.find(".indicator-item").each(function(t,n){t.removeEventListener("click",e._handleIndicatorClickBound)}),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleCarouselTap",value:function(e){"mousedown"===e.type&&ey(e.target).is("img")&&e.preventDefault(),this.pressed=!0,this.dragged=!1,this.verticalDragged=!1,this.reference=this._xpos(e),this.referenceY=this._ypos(e),this.velocity=this.amplitude=0,this.frame=this.offset,this.timestamp=Date.now(),clearInterval(this.ticker),this.ticker=setInterval(this._trackBound,100)}},{key:"_handleCarouselDrag",value:function(e){var t=void 0,n=void 0,i=void 0;if(this.pressed){if(t=this._xpos(e),n=this._ypos(e),i=this.reference-t,30>Math.abs(this.referenceY-n)&&!this.verticalDragged)(2=this.dim*(this.count-1)?this.target=this.dim*(this.count-1):this.target<0&&(this.target=0)),this.amplitude=this.target-this.offset,this.timestamp=Date.now(),requestAnimationFrame(this._autoScrollBound),this.dragged&&(e.preventDefault(),e.stopPropagation()),!1}},{key:"_handleCarouselClick",value:function(e){if(this.dragged)return e.preventDefault(),e.stopPropagation(),!1;if(!this.options.fullWidth){var t=ey(e.target).closest(".carousel-item").index();0!=this._wrap(this.center)-t&&(e.preventDefault(),e.stopPropagation()),this._cycleTo(t)}}},{key:"_handleIndicatorClick",value:function(e){e.stopPropagation();var t=ey(e.target).closest(".indicator-item");t.length&&this._cycleTo(t.index())}},{key:"_handleResize",value:function(e){this.options.fullWidth?(this.itemWidth=this.$el.find(".carousel-item").first().innerWidth(),this.imageHeight=this.$el.find(".carousel-item.active").height(),this.dim=2*this.itemWidth+this.options.padding,this.offset=2*this.center*this.itemWidth,this.target=this.offset,this._setCarouselHeight(!0)):this._scroll()}},{key:"_setCarouselHeight",value:function(e){var t=this,n=this.$el.find(".carousel-item.active").length?this.$el.find(".carousel-item.active").first():this.$el.find(".carousel-item").first(),i=n.find("img").first();if(i.length){if(i[0].complete){var r=i.height();if(0=this.count?e%this.count:e<0?this._wrap(this.count+e%this.count):e}},{key:"_track",value:function(){var e,t,n,i;t=(e=Date.now())-this.timestamp,this.timestamp=e,n=this.offset-this.frame,this.frame=this.offset,i=1e3*n/(1+t),this.velocity=.8*i+.2*this.velocity}},{key:"_autoScroll",value:function(){var e=void 0,t=void 0;this.amplitude&&(e=Date.now()-this.timestamp,2<(t=this.amplitude*Math.exp(-e/this.options.duration))||t<-2?(this._scroll(this.target-t),requestAnimationFrame(this._autoScrollBound)):this._scroll(this.target))}},{key:"_scroll",value:function(e){var t=this;this.$el.hasClass("scrolling")||this.el.classList.add("scrolling"),null!=this.scrollingTimeout&&window.clearTimeout(this.scrollingTimeout),this.scrollingTimeout=window.setTimeout(function(){t.$el.removeClass("scrolling")},this.options.duration);var n,i,r,o,s=void 0,a=void 0,l=void 0,c=void 0,u=void 0,d=void 0,h=this.center,p=1/this.options.numVisible;if(this.offset="number"==typeof e?e:this.offset,this.center=Math.floor((this.offset+this.dim/2)/this.dim),o=-(r=(i=this.offset-this.center*this.dim)<0?1:-1)*i*2/this.dim,n=this.count>>1,this.options.fullWidth?(l="translateX(0)",d=1):(l="translateX("+(this.el.clientWidth-this.itemWidth)/2+"px) "+("translateY("+(this.el.clientHeight-this.itemHeight)/2+"px)"),d=1-p*o),this.showIndicators){var f=this.center%this.count,m=this.$indicators.find(".indicator-item.active");m.index()!==f&&(m.removeClass("active"),this.$indicators.find(".indicator-item").eq(f)[0].classList.add("active"))}if(!this.noWrap||0<=this.center&&this.center=this.count||t<0){if(this.noWrap)return;t=this._wrap(t)}this._cycleTo(t)}},{key:"prev",value:function(e){(void 0===e||isNaN(e))&&(e=1);var t=this.center-e;if(t>=this.count||t<0){if(this.noWrap)return;t=this._wrap(t)}this._cycleTo(t)}},{key:"set",value:function(e,t){if((void 0===e||isNaN(e))&&(e=0),e>this.count||e<0){if(this.noWrap)return;e=this._wrap(e)}this._cycleTo(e,t)}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Carousel}},{key:"defaults",get:function(){return eb}}]),t}(),M.Carousel=ew,M.jQueryLoaded&&M.initializeJqueryWrapper(ew,"carousel","M_Carousel"),e_=cash,eE={onOpen:void 0,onClose:void 0},ex=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_TapTarget=i).options=e_.extend({},t.defaults,n),i.isOpen=!1,i.$origin=e_("#"+i.$el.attr("data-target")),i._setup(),i._calculatePositioning(),i._setupEventHandlers(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.TapTarget=void 0}},{key:"_setupEventHandlers",value:function(){this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleTargetClickBound=this._handleTargetClick.bind(this),this._handleOriginClickBound=this._handleOriginClick.bind(this),this.el.addEventListener("click",this._handleTargetClickBound),this.originEl.addEventListener("click",this._handleOriginClickBound);var e=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=e.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleTargetClickBound),this.originEl.removeEventListener("click",this._handleOriginClickBound),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleTargetClick",value:function(e){this.open()}},{key:"_handleOriginClick",value:function(e){this.close()}},{key:"_handleResize",value:function(e){this._calculatePositioning()}},{key:"_handleDocumentClick",value:function(e){e_(e.target).closest(".tap-target-wrapper").length||(this.close(),e.preventDefault(),e.stopPropagation())}},{key:"_setup",value:function(){this.wrapper=this.$el.parent()[0],this.waveEl=e_(this.wrapper).find(".tap-target-wave")[0],this.originEl=e_(this.wrapper).find(".tap-target-origin")[0],this.contentEl=this.$el.find(".tap-target-content")[0],e_(this.wrapper).hasClass(".tap-target-wrapper")||(this.wrapper=document.createElement("div"),this.wrapper.classList.add("tap-target-wrapper"),this.$el.before(e_(this.wrapper)),this.wrapper.append(this.el)),this.contentEl||(this.contentEl=document.createElement("div"),this.contentEl.classList.add("tap-target-content"),this.$el.append(this.contentEl)),this.waveEl||(this.waveEl=document.createElement("div"),this.waveEl.classList.add("tap-target-wave"),this.originEl||(this.originEl=this.$origin.clone(!0,!0),this.originEl.addClass("tap-target-origin"),this.originEl.removeAttr("id"),this.originEl.removeAttr("style"),this.originEl=this.originEl[0],this.waveEl.append(this.originEl)),this.wrapper.append(this.waveEl))}},{key:"_calculatePositioning",value:function(){var e="fixed"===this.$origin.css("position");if(!e)for(var t=this.$origin.parents(),n=0;n'+t.getAttribute("label")+"")[0]),i.each(function(t){var n=e._appendOptionWithIcon(e.$el,t,"optgroup-option");e._addOptionToValueDict(t,n)})}}),this.$el.after(this.dropdownOptions),this.input=document.createElement("input"),ek(this.input).addClass("select-dropdown dropdown-trigger"),this.input.setAttribute("type","text"),this.input.setAttribute("readonly","true"),this.input.setAttribute("data-target",this.dropdownOptions.id),this.el.disabled&&ek(this.input).prop("disabled","true"),this.$el.before(this.input),this._setValueToInput();var t=ek('');if(this.$el.before(t[0]),!this.el.disabled){var n=ek.extend({},this.options.dropdownOptions);n.onOpenEnd=function(t){var n=ek(e.dropdownOptions).find(".selected").first();if(n.length&&(M.keyDown=!0,e.dropdown.focusedIndex=n.index(),e.dropdown._focusFocusedItem(),M.keyDown=!1,e.dropdown.isScrollable)){var i=n[0].getBoundingClientRect().top-e.dropdownOptions.getBoundingClientRect().top;i-=e.dropdownOptions.clientHeight/2,e.dropdownOptions.scrollTop=i}},this.isMultiple&&(n.closeOnClick=!1),this.dropdown=M.Dropdown.init(this.input,n)}this._setSelectedStates()}},{key:"_addOptionToValueDict",value:function(e,t){var n=Object.keys(this._valueDict).length,i=this.dropdownOptions.id+n,r={};t.id=i,r.el=e,r.optionEl=t,this._valueDict[i]=r}},{key:"_removeDropdown",value:function(){ek(this.wrapper).find(".caret").remove(),ek(this.input).remove(),ek(this.dropdownOptions).remove(),ek(this.wrapper).before(this.$el),ek(this.wrapper).remove()}},{key:"_appendOptionWithIcon",value:function(e,t,n){var i=t.disabled?"disabled ":"",r=this.isMultiple?'":t.innerHTML,o=ek("
  • "),s=ek("");s.html(r),o.addClass(i+" "+("optgroup-option"===n?"optgroup-option ":"")),o.append(s);var a=t.getAttribute("data-icon");if(a){var l=ek('');o.prepend(l)}return ek(this.dropdownOptions).append(o[0]),o[0]}},{key:"_toggleEntryFromArray",value:function(e){var t=!this._keysSelected.hasOwnProperty(e),n=ek(this._valueDict[e].optionEl);return t?this._keysSelected[e]=!0:delete this._keysSelected[e],n.toggleClass("selected",t),n.find('input[type="checkbox"]').prop("checked",t),n.prop("selected",t),t}},{key:"_setValueToInput",value:function(){var e=[];if(this.$el.find("option").each(function(t){if(ek(t).prop("selected")){var n=ek(t).text();e.push(n)}}),!e.length){var t=this.$el.find("option:disabled").eq(0);t.length&&""===t[0].value&&e.push(t.text())}this.input.value=e.join(", ")}},{key:"_setSelectedStates",value:function(){for(var e in this._keysSelected={},this._valueDict){var t=this._valueDict[e],n=ek(t.el).prop("selected");ek(t.optionEl).find('input[type="checkbox"]').prop("checked",n),n?(this._activateOption(ek(this.dropdownOptions),ek(t.optionEl)),this._keysSelected[e]=!0):ek(t.optionEl).removeClass("selected")}}},{key:"_activateOption",value:function(e,t){t&&(this.isMultiple||e.find("li.selected").removeClass("selected"),ek(t).addClass("selected"))}},{key:"getSelectedValues",value:function(){var e=[];for(var t in this._keysSelected)e.push(this._valueDict[t].el.value);return e}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_FormSelect}},{key:"defaults",get:function(){return eT}}]),t}(),M.FormSelect=eO,M.jQueryLoaded&&M.initializeJqueryWrapper(eO,"formSelect","M_FormSelect"),eC=cash,eA=M.anime,eS={},eN=function(e){function t(e,n){eP(this,t);var i=eM(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,t,e,n));return(i.el.M_Range=i).options=eC.extend({},t.defaults,n),i._mousedown=!1,i._setupThumb(),i._setupEventHandlers(),i}return eR(t,eD),eL(t,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeThumb(),this.el.M_Range=void 0}},{key:"_setupEventHandlers",value:function(){this._handleRangeChangeBound=this._handleRangeChange.bind(this),this._handleRangeMousedownTouchstartBound=this._handleRangeMousedownTouchstart.bind(this),this._handleRangeInputMousemoveTouchmoveBound=this._handleRangeInputMousemoveTouchmove.bind(this),this._handleRangeMouseupTouchendBound=this._handleRangeMouseupTouchend.bind(this),this._handleRangeBlurMouseoutTouchleaveBound=this._handleRangeBlurMouseoutTouchleave.bind(this),this.el.addEventListener("change",this._handleRangeChangeBound),this.el.addEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.addEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.addEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("change",this._handleRangeChangeBound),this.el.removeEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_handleRangeChange",value:function(){eC(this.value).html(this.$el.val()),eC(this.thumb).hasClass("active")||this._showRangeBubble();var e=this._calcRangeOffset();eC(this.thumb).addClass("active").css("left",e+"px")}},{key:"_handleRangeMousedownTouchstart",value:function(e){if(eC(this.value).html(this.$el.val()),this._mousedown=!0,this.$el.addClass("active"),eC(this.thumb).hasClass("active")||this._showRangeBubble(),"input"!==e.type){var t=this._calcRangeOffset();eC(this.thumb).addClass("active").css("left",t+"px")}}},{key:"_handleRangeInputMousemoveTouchmove",value:function(){if(this._mousedown){eC(this.thumb).hasClass("active")||this._showRangeBubble();var e=this._calcRangeOffset();eC(this.thumb).addClass("active").css("left",e+"px"),eC(this.value).html(this.$el.val())}}},{key:"_handleRangeMouseupTouchend",value:function(){this._mousedown=!1,this.$el.removeClass("active")}},{key:"_handleRangeBlurMouseoutTouchleave",value:function(){if(!this._mousedown){var e=7+parseInt(this.$el.css("padding-left"))+"px";eC(this.thumb).hasClass("active")&&(eA.remove(this.thumb),eA({targets:this.thumb,height:0,width:0,top:10,easing:"easeOutQuad",marginLeft:e,duration:100})),eC(this.thumb).removeClass("active")}}},{key:"_setupThumb",value:function(){this.thumb=document.createElement("span"),this.value=document.createElement("span"),eC(this.thumb).addClass("thumb"),eC(this.value).addClass("value"),eC(this.thumb).append(this.value),this.$el.after(this.thumb)}},{key:"_removeThumb",value:function(){eC(this.thumb).remove()}},{key:"_showRangeBubble",value:function(){var e=-7+parseInt(eC(this.thumb).parent().css("padding-left"))+"px";eA.remove(this.thumb),eA({targets:this.thumb,height:30,width:30,top:-30,marginLeft:e,duration:300,easing:"easeOutQuint"})}},{key:"_calcRangeOffset",value:function(){var e=this.$el.width()-15,t=parseFloat(this.$el.attr("max"))||100,n=parseFloat(this.$el.attr("min"))||0;return(parseFloat(this.$el.val())-n)/(t-n)*e}}],[{key:"init",value:function(e,n){return eI(t.__proto__||Object.getPrototypeOf(t),"init",this).call(this,this,e,n)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Range}},{key:"defaults",get:function(){return eS}}]),t}(),M.Range=eN,M.jQueryLoaded&&M.initializeJqueryWrapper(eN,"range","M_Range"),eN.init(eC("input[type=range]"))},9556:function(e,t,n){"use strict";t.meiosisSetup=void 0;var i=n(2161);Object.defineProperty(t,"meiosisSetup",{enumerable:!0,get:function(){return i.meiosisSetup}})},2161:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.meiosisSetup=void 0;let r=n(1229),o=n(3072),s=i(n(8474)),a=(e,t,n)=>(n[e]=t,n),l=(e,t)=>t?e.concat(t):e,c=e=>e?Object.keys(e).reduce((t,n)=>a(n,Object.assign({},e[n].initial,c(e[n].nested)),t),{}):{},u=e=>Object.assign({},e.initial,c(e.nested)),d=e=>e?Object.keys(e).reduce((t,n)=>{let i=e[n];if(void 0!==i.view){let e=i.view;return a(n,{view:(t,...i)=>e(t.nest(n),...i),nested:d(i.nested)},t)}return t},{}):{},h=e=>d(e.nested),p=(e,t=e=>e,n=e=>e)=>e?Object.keys(e).reduce((i,r)=>{var o;let s=e=>t(e).nest(r),a=e=>n(e)[r],c=e[r];return l(i,null===(o=c.services)||void 0===o?void 0:o.map(e=>({onchange:t=>e.onchange?e.onchange(a(t)):t,run:t=>e.run(s(t))}))).concat(p(c.nested,s,a))},[]):[],f=e=>l([],e.services).concat(p(e.nested)),m=({stream:e,app:t})=>{!e&&(e=r.simpleStream);let n=t||{},i=u(n),o=h(n),a="function"==typeof e?e:e.stream,l=e.scan,c=a();return{states:l((e,t)=>(0,s.default)(e,t),i,c),update:c,view:o}},g=(e,t)=>({[t]:e}),v=(e,t)=>n=>e(g(n,t)),y=(e,t,n)=>i=>{let r=e.map(e=>e[i]),s=()=>e()[i],a=v(t,i),l=(0,o.get)(n,[i,"nested"]);return{states:r,state:s(),getState:s,update:a,nest:y(r,a,l),nested:l}};t.meiosisSetup=e=>{let t=null==e?void 0:e.stream,n=null==e?void 0:e.app,{states:i,update:o,view:s}=m({stream:t,app:n}),a=y(i,o,s),l=()=>i(),c=e=>({states:i,state:e,getState:l,update:o,nest:a,nested:s}),u=(0,r.createDropRepeats)(t);return n&&f(n).forEach(e=>{u(i,e.onchange).map(t=>e.run(c(t)))}),u(i).map(c)}},1229:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dropRepeats=t.createDropRepeats=t.simpleStream=t.scan=t.stream=void 0;t.stream=e=>{let n=[],i=e,r=function(e){if(arguments.length>0&&!r.ended)for(let t in i=e,n)n[t](i);return i};return r.map=e=>{let r=(0,t.stream)(),o=t=>{r(e(t))};return n.push(o),r.end=e=>{let t=n.indexOf(o);r.ended=!0,n.splice(t,1)},void 0!==i&&r(e(i)),r},r.end=e=>{r.ended=!0},r};t.scan=(e,n,i)=>{let r=(0,t.stream)(n),o=n;return i.map(t=>{r(o=e(o,t))}),r},t.simpleStream={stream:t.stream,scan:t.scan};t.createDropRepeats=(e=t.simpleStream)=>(t,n=e=>e)=>{let i;let r=("function"==typeof e?e:e.stream)();return t.map(e=>{let t=n(e);t!==i&&(i=t,r(e))}),r},t.dropRepeats=(0,t.createDropRepeats)()},3072:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateFormFloatValue=t.updateFormIntValue=t.updateFormValue=t.get=void 0;t.get=(e,t)=>t.reduce((e,t)=>void 0==e?void 0:e[t],e);let n=(e,t)=>({[e[0]]:1===e.length?t:n(e.slice(1),t)}),i=e=>Array.isArray(e)?e:[e],r=(e,t,r)=>o=>{let s=e(o.currentTarget.value);!isNaN(s)&&t.update(n(i(r),s))};t.updateFormValue=(e,t,r=e=>e)=>o=>e.update(n(i(t),r(o.currentTarget.value)));t.updateFormIntValue=(e,t)=>n=>r(parseInt,e,t)(n);t.updateFormFloatValue=(e,t)=>n=>r(parseFloat,e,t)(n)},8474:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});let i=Object.assign||((e,t)=>(t&&Object.keys(t).forEach(n=>e[n]=t[n]),e)),r=(e,t,n)=>{let i=typeof n;if(n&&"object"===i){if(Array.isArray(n))for(let i of n)t=r(e,t,i);else for(let i of Object.keys(n)){let s=n[i];"function"==typeof s?t[i]=s(t[i],o):void 0===s?e&&!isNaN(i)?t.splice(i,1):delete t[i]:null===s||"object"!=typeof s||Array.isArray(s)?t[i]=s:"object"==typeof t[i]?t[i]=s===t[i]?s:o(t[i],s):t[i]=r(!1,{},s)}}else"function"===i&&(t=n(t,o));return t},o=(e,...t)=>{let n=Array.isArray(e);return r(n,n?e.slice():i({},e),t)},s=o},8507:function(e,t,n){"use strict";var i=n(1132);e.exports=function(e,t,n){var r=[],o=!1,s=-1;function a(){for(s=0;s=0&&(r.splice(o,2),o<=s&&(s-=2),e(t,[])),null!=n&&(r.push(t,n),e(t,i(n),l))},redraw:l}}},7966:function(e,t,n){"use strict";var i=n(1132),r=n(4142),o=n(7265),s=n(3444),a=n(5353),l=n(8858),c={};function u(e){try{return decodeURIComponent(e)}catch(t){return e}}e.exports=function(e,t){var n=null==e?null:"function"==typeof e.setImmediate?e.setImmediate:e.setTimeout,d=Promise.resolve(),h=!1,p=!1,f=0,m,g,v,y,b,w,_=c,E={onbeforeupdate:function(){return!(!(f=f?2:1)||c===_)},onremove:function(){e.removeEventListener("popstate",T,!1),e.removeEventListener("hashchange",k,!1)},view:function(){if(f&&c!==_){var e=[i(v,y.key,y)];return _&&(e=_.render(e[0])),e}}},x=C.SKIP={};function k(){h=!1;var n=e.location.hash;"#"!==C.prefix[0]&&(n=e.location.search+n,"?"!==C.prefix[0]&&"/"!==(n=e.location.pathname+n)[0]&&(n="/"+n));var i=n.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,u).slice(C.prefix.length),r=s(i);function o(e){console.error(e),O(g,null,{replace:!0})}Object.assign(r.params,e.history.state),function e(n){for(;n=0&&(f+=e.slice(n,o)),u>=0&&(f+=(n<0?"?":"&")+c.slice(u,h));var m=i(l);return m&&(f+=(n<0&&u<0?"?":"&")+m),r>=0&&(f+=e.slice(r)),d>=0&&(f+=(r<0?"":"&")+c.slice(d)),f}},5353:function(e,t,n){"use strict";var i=n(3444);e.exports=function(e){var t=i(e),n=Object.keys(t.params),r=[],o=RegExp("^"+t.path.replace(/:([^\/.-]+)(\.{3}|\.(?!\.)|-)?|[\\^$*+.()|\[\]{}]/g,function(e,t,n){return null==t?"\\"+e:(r.push({k:t,r:"..."===n}),"..."===n)?"(.*)":"."===n?"([^/]+)\\.":"([^/]+)"+(n||"")})+"$");return function(e){for(var i=0;i-1&&c.pop();for(var d=0;d0&&(r.className=i.join(" ")),function(e){for(var t in e)if(o.call(e,t))return!1;return!0}(r)&&(r=null),a[e]={tag:n,attrs:r}}(e),l=(n=d).attrs,u=(c=o.call(l,"class"))?l.class:l.className,n.tag=t.tag,null!=t.attrs?(l=Object.assign({},t.attrs,l),(null!=u||null!=t.attrs.className)&&(l.className=null!=u?null!=t.attrs.className?String(t.attrs.className)+" "+String(u):u:null!=t.attrs.className?t.attrs.className:null)):null!=u&&(l.className=u),c&&(l.class=null),"input"===t.tag&&o.call(l,"type")&&(l=Object.assign({type:l.type},l)),n.attrs=l,n}return d.tag=e,d}},8473:function(e,t,n){"use strict";var i=n(1132);e.exports=function(){var e,t=arguments[this],n=this+1;if(null==t?t={}:("object"!=typeof t||null!=t.tag||Array.isArray(t))&&(t={},n=this),arguments.length===n+1)e=arguments[n],!Array.isArray(e)&&(e=[e]);else for(e=[];n'+t.children+"",s=s.firstChild):s.innerHTML=t.children,t.dom=s.firstChild,t.domSize=s.childNodes.length;for(var l=a(e).createDocumentFragment();r=s.firstChild;)l.appendChild(r);_(e,l,i)}function g(e,t,n,i,r,o){if(t!==n&&(null!=t||null!=n))if(null==t||0===t.length)h(e,n,0,n.length,i,r,o);else if(null==n||0===n.length)x(e,t,0,t.length);else{var s=null!=t[0]&&null!=t[0].key,a=null!=n[0]&&null!=n[0].key,l=0,c=0;if(!s)for(;c=c&&T>=l&&(m=t[E],g=n[T],m.key===g.key);){;m!==g&&v(e,m,g,i,r,o),null!=g.dom&&(r=g.dom),E--,T--}for(;E>=c&&T>=l&&(d=t[c],f=n[l],d.key===f.key);){;c++,l++,d!==f&&v(e,d,f,i,b(t,c,r),o)}for(;E>=c&&T>=l&&l!==T&&d.key===g.key&&m.key===f.key;){;w(e,m,_=b(t,c,r)),m!==f&&v(e,m,f,i,_,o),++l<=--T&&w(e,d,r),d!==g&&v(e,d,g,i,r,o),null!=g.dom&&(r=g.dom),c++,m=t[--E],g=n[T],d=t[c],f=n[l]}for(;E>=c&&T>=l&&m.key===g.key;){;m!==g&&v(e,m,g,i,r,o),null!=g.dom&&(r=g.dom),E--,T--,m=t[E],g=n[T]}if(l>T)x(e,t,c,E+1);else if(c>E)h(e,n,l,T+1,i,r,o);else{var u,O,C=r,A=T-l+1,S=Array(A),N=0,I=0,L=0x7fffffff,R=0;for(I=0;I=l;I--){null==u&&(u=function(e,t,n){for(var i=Object.create(null);t>>1)+(i>>>1)+(n&i&1);e[t[a]]0&&(y[r]=t[n-1]),t[n]=r)}for(n=t.length,i=t[n-1];n-- >0;)t[n]=i,i=y[i];return y.length=0,t}(S)).length-1,I=T;I>=l;I--)f=n[I],-1===S[I-l]?p(e,f,i,o,r):O[N]===I-l?N--:w(e,f,r),null!=f.dom&&(r=n[I].dom);else for(I=T;I>=l;I--)f=n[I],-1===S[I-l]&&p(e,f,i,o,r),null!=f.dom&&(r=n[I].dom)}}else{var D=t.lengthD&&x(e,t,l,t.length),n.length>D&&h(e,n,l,n.length,i,r,o)}}}function v(e,t,n,r,o,s){var a=t.tag;if(a===n.tag){if(n.state=t.state,n.events=t.events,function(e,t){do{if(null!=e.attrs&&"function"==typeof e.attrs.onbeforeupdate){var n=u.call(e.attrs.onbeforeupdate,e,t);if(void 0!==n&&!n)break}if("string"!=typeof e.tag&&"function"==typeof e.state.onbeforeupdate){var n=u.call(e.state.onbeforeupdate,e,t);if(void 0!==n&&!n)break}return!1}while(!1);return e.dom=t.dom,e.domSize=t.domSize,e.instance=t.instance,e.attrs=t.attrs,e.children=t.children,e.text=t.text,!0}(n,t))return;if("string"==typeof a)switch(null!=n.attrs&&P(n.attrs,n,r),a){case"#":(function(e,t){e.children.toString()!==t.children.toString()&&(e.dom.nodeValue=t.children),t.dom=e.dom})(t,n);break;case"<":(function(e,t,n,i,r){t.children!==n.children?(T(e,t,void 0),m(e,n,i,r)):(n.dom=t.dom,n.domSize=t.domSize)})(e,t,n,s,o);break;case"[":(function(e,t,n,i,r,o){g(e,t.children,n.children,i,r,o);var s=0,a=n.children;if(n.dom=null,null!=a){for(var l=0;l-1||null!=e.attrs&&e.attrs.is||"href"!==t&&"list"!==t&&"form"!==t&&"width"!==t&&"height"!==t)&&t in e.dom}function N(e,t,n){if(t===n);else if(null==n)e.style="";else if("object"!=typeof n)e.style=n;else if(null==t||"object"!=typeof t)for(var i in e.style.cssText="",n){var r=n[i];null!=r&&(i.includes("-")?e.style.setProperty(i,String(r)):e.style[i]=String(r))}else{for(var i in n){var r=n[i];null!=r&&(r=String(r))!==String(t[i])&&(i.includes("-")?e.style.setProperty(i,r):e.style[i]=r)}for(var i in t)null!=t[i]&&null==n[i]&&(i.includes("-")?e.style.removeProperty(i):e.style[i]="")}}function I(){this._=e}function L(t,n,i){null!=t.events?(t.events._=e,t.events[n]!==i&&(null!=i&&("function"==typeof i||"object"==typeof i)?(null==t.events[n]&&t.dom.addEventListener(n.slice(2),t.events,!1),t.events[n]=i):(null!=t.events[n]&&t.dom.removeEventListener(n.slice(2),t.events,!1),t.events[n]=void 0))):null!=i&&("function"==typeof i||"object"==typeof i)&&(t.events=new I,t.dom.addEventListener(n.slice(2),t.events,!1),t.events[n]=i)}function R(e,t,n){"function"==typeof e.oninit&&u.call(e.oninit,t),"function"==typeof e.oncreate&&n.push(u.bind(e.oncreate,t))}function P(e,t,n){"function"==typeof e.onupdate&&n.push(u.bind(e.onupdate,t))}return I.prototype=Object.create(null),I.prototype.handleEvent=function(e){var t,n=this["on"+e.type];"function"==typeof n?t=n.call(e.currentTarget,e):"function"==typeof n.handleEvent&&n.handleEvent(e),this._&&!1!==e.redraw&&(0,this._)(),!1===t&&(e.preventDefault(),e.stopPropagation())},function(r,o,s){if(!r)throw TypeError("DOM element being rendered to does not exist.");if(null!=n&&r.contains(n))throw TypeError("Node is currently being rendered to and thus is locked.");var a=e,l=n,c=[],u=d(r),h=r.namespaceURI;n=r,e="function"==typeof s?s:void 0,t={};try{null==r.vnodes&&(r.textContent=""),o=i.normalizeChildren(Array.isArray(o)?o:[o]),g(r,r.vnodes,o,c,null,"http://www.w3.org/1999/xhtml"===h?void 0:h),r.vnodes=o,null!=u&&d(r)!==u&&"function"==typeof u.focus&&u.focus();for(var p=0;p=200&&e.target.status<300||304===e.target.status||/^file:\/\//i.test(l),o=e.target.response;if("json"===d){if(!e.target.responseType&&"function"!=typeof c.extract)try{o=JSON.parse(e.target.responseText)}catch(e){o=null}}else(!d||"text"===d)&&null==o&&(o=e.target.responseText);if("function"==typeof c.extract?(o=c.extract(e.target,c),r=!0):"function"==typeof c.deserialize&&(o=c.deserialize(o)),r){if("function"==typeof c.type){if(Array.isArray(o))for(var s=0;st.indexOf(o)&&(n[o]=e[o]);else for(var o in e)i.call(e,o)&&!r.test(o)&&(n[o]=e[o]);return n}},9781:function(e){"use strict";e.exports=({}).hasOwnProperty},301:function(e,t,n){"use strict";var i,r;Object.defineProperty(t,"__esModule",{value:!0});let o=n(2323),s=n(5899);(r=i||(i={})).compose=function(e={},t={},n=!1){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});let i=o(t);for(let r in!n&&(i=Object.keys(i).reduce((e,t)=>(null!=i[t]&&(e[t]=i[t]),e),{})),e)void 0!==e[r]&&void 0===t[r]&&(i[r]=e[r]);return Object.keys(i).length>0?i:void 0},r.diff=function(e={},t={}){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});let n=Object.keys(e).concat(Object.keys(t)).reduce((n,i)=>(!s(e[i],t[i])&&(n[i]=void 0===t[i]?null:t[i]),n),{});return Object.keys(n).length>0?n:void 0},r.invert=function(e={},t={}){e=e||{};let n=Object.keys(t).reduce((n,i)=>(t[i]!==e[i]&&void 0!==e[i]&&(n[i]=t[i]),n),{});return Object.keys(e).reduce((n,i)=>(e[i]!==t[i]&&void 0===t[i]&&(n[i]=null),n),n)},r.transform=function(e,t,n=!1){if("object"!=typeof e)return t;if("object"!=typeof t)return;if(!n)return t;let i=Object.keys(t).reduce((n,i)=>(void 0===e[i]&&(n[i]=t[i]),n),{});return Object.keys(i).length>0?i:void 0},t.default=i},3258:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeMap=t.OpIterator=t.Op=void 0;let i=n(2158),r=n(2323),o=n(5899),s=n(301);t.AttributeMap=s.default;let a=n(8133);t.Op=a.default;let l=n(7316);t.OpIterator=l.default;let c=(e,t)=>{if("object"!=typeof e||null===e)throw Error(`cannot retain a ${typeof e}`);if("object"!=typeof t||null===t)throw Error(`cannot retain a ${typeof t}`);let n=Object.keys(e)[0];if(!n||n!==Object.keys(t)[0])throw Error(`embed types not matched: ${n} != ${Object.keys(t)[0]}`);return[n,e[n],t[n]]};class u{constructor(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}static registerEmbed(e,t){this.handlers[e]=t}static unregisterEmbed(e){delete this.handlers[e]}static getHandler(e){let t=this.handlers[e];if(!t)throw Error(`no handlers for embed type "${e}"`);return t}insert(e,t){let n={};return"string"==typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))}delete(e){return e<=0?this:this.push({delete:e})}retain(e,t){if("number"==typeof e&&e<=0)return this;let n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)}push(e){let t=this.ops.length,n=this.ops[t-1];if(e=r(e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this}chop(){let e=this.ops[this.ops.length-1];return e&&"number"==typeof e.retain&&!e.attributes&&this.ops.pop(),this}filter(e){return this.ops.filter(e)}forEach(e){this.ops.forEach(e)}map(e){return this.ops.map(e)}partition(e){let t=[],n=[];return this.forEach(i=>{(e(i)?t:n).push(i)}),[t,n]}reduce(e,t){return this.ops.reduce(e,t)}changeLength(){return this.reduce((e,t)=>t.insert?e+a.default.length(t):t.delete?e-t.delete:e,0)}length(){return this.reduce((e,t)=>e+a.default.length(t),0)}slice(e=0,t=1/0){let n=[],i=new l.default(this.ops),r=0;for(;r0&&n.next(r.retain-e)}let a=new u(i);for(;t.hasNext()||n.hasNext();)if("insert"===n.peekType())a.push(n.next());else if("delete"===t.peekType())a.push(t.next());else{let e=Math.min(t.peekLength(),n.peekLength()),i=t.next(e),r=n.next(e);if(r.retain){let l={};if("number"==typeof i.retain)l.retain="number"==typeof r.retain?e:r.retain;else if("number"==typeof r.retain)null==i.retain?l.insert=i.insert:l.retain=i.retain;else{let e=null==i.retain?"insert":"retain",[t,n,o]=c(i[e],r.retain),s=u.getHandler(t);l[e]={[t]:s.compose(n,o,"retain"===e)}}let d=s.default.compose(i.attributes,r.attributes,"number"==typeof i.retain);if(d&&(l.attributes=d),a.push(l),!n.hasNext()&&o(a.ops[a.ops.length-1],l)){let e=new u(t.rest());return a.concat(e).chop()}}else"number"==typeof r.delete&&("number"==typeof i.retain||"object"==typeof i.retain&&null!==i.retain)&&a.push(r)}return a.chop()}concat(e){let t=new u(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t}diff(e,t){if(this.ops===e.ops)return new u;let n=[this,e].map(t=>t.map(n=>{if(null!=n.insert)return"string"==typeof n.insert?n.insert:"\0";throw Error("diff() called "+(t===e?"on":"with")+" non-document")}).join("")),r=new u,a=i(n[0],n[1],t,!0),c=new l.default(this.ops),d=new l.default(e.ops);return a.forEach(e=>{let t=e[1].length;for(;t>0;){let n=0;switch(e[0]){case i.INSERT:n=Math.min(d.peekLength(),t),r.push(d.next(n));break;case i.DELETE:n=Math.min(t,c.peekLength()),c.next(n),r.delete(n);break;case i.EQUAL:n=Math.min(c.peekLength(),d.peekLength(),t);let a=c.next(n),l=d.next(n);o(a.insert,l.insert)?r.retain(n,s.default.diff(a.attributes,l.attributes)):r.push(l).delete(n)}t-=n}}),r.chop()}eachLine(e,t="\n"){let n=new l.default(this.ops),i=new u,r=0;for(;n.hasNext();){if("insert"!==n.peekType())return;let o=n.peek(),s=a.default.length(o)-n.peekLength(),l="string"==typeof o.insert?o.insert.indexOf(t,s)-s:-1;if(l<0)i.push(n.next());else if(l>0)i.push(n.next(l));else{if(!1===e(i,n.next(1).attributes||{},r))return;r+=1,i=new u}}i.length()>0&&e(i,{},r)}invert(e){let t=new u;return this.reduce((n,i)=>{if(i.insert)t.delete(a.default.length(i));else if("number"==typeof i.retain&&null==i.attributes)return t.retain(i.retain),n+i.retain;else if(i.delete||"number"==typeof i.retain){let r=i.delete||i.retain;return e.slice(n,n+r).forEach(e=>{i.delete?t.push(e):i.retain&&i.attributes&&t.retain(a.default.length(e),s.default.invert(i.attributes,e.attributes))}),n+r}else if("object"==typeof i.retain&&null!==i.retain){let r=e.slice(n,n+1),o=new l.default(r.ops).next(),[a,d,h]=c(i.retain,o.insert),p=u.getHandler(a);return t.retain({[a]:p.invert(d,h)},s.default.invert(i.attributes,o.attributes)),n+1}return n},0),t.chop()}transform(e,t=!1){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);let n=new l.default(this.ops),i=new l.default(e.ops),r=new u;for(;n.hasNext()||i.hasNext();)if("insert"===n.peekType()&&(t||"insert"!==i.peekType()))r.retain(a.default.length(n.next()));else if("insert"===i.peekType())r.push(i.next());else{let e=Math.min(n.peekLength(),i.peekLength()),o=n.next(e),a=i.next(e);if(o.delete)continue;if(a.delete)r.push(a);else{let n=o.retain,i=a.retain,l="object"==typeof i&&null!==i?i:e;if("object"==typeof n&&null!==n&&"object"==typeof i&&null!==i){let e=Object.keys(n)[0];if(e===Object.keys(i)[0]){let r=u.getHandler(e);r&&(l={[e]:r.transform(n[e],i[e],t)})}}r.retain(l,s.default.transform(o.attributes,a.attributes,t))}}return r.chop()}transformPosition(e,t=!1){t=!!t;let n=new l.default(this.ops),i=0;for(;n.hasNext()&&i<=e;){let r=n.peekLength(),o=n.peekType();if(n.next(),"delete"===o){e-=Math.min(r,e-i);continue}"insert"===o&&(i=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};{let i={};return t.attributes&&(i.attributes=t.attributes),"number"==typeof t.retain?i.retain=e:"object"==typeof t.retain&&null!==t.retain?i.retain=t.retain:"string"==typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?i.default.length(this.ops[this.index])-this.offset:1/0}peekType(){let e=this.ops[this.index];if(e){if("number"==typeof e.delete)return"delete";if("number"!=typeof e.retain&&("object"!=typeof e.retain||null===e.retain))return"insert"}return"retain"}rest(){if(!this.hasNext())return[];if(0===this.offset)return this.ops.slice(this.index);{let e=this.offset,t=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(i)}}}},3205:function(e,t,n){var i,r;i=self,r=function(e){var t,n;return t={190:e=>{var t,n;self,e.exports=(t={607:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseQuillDelta=void 0;let n=!1;function i(e){e.paragraphs.push({textRuns:[]})}function r(e,t,n){var i,r;n?(null===(i=t.paragraphs[t.paragraphs.length-1].textRuns)||void 0===i||i.push({text:e,attributes:n}),n.link&&t.setup.hyperlinks.push({text:e,link:n.link})):null===(r=t.paragraphs[t.paragraphs.length-1].textRuns)||void 0===r||r.push({text:e})}t.parseQuillDelta=function(e){n=!1;let t={paragraphs:[],setup:{numberedLists:0,hyperlinks:[]}};for(let o of e.ops)(function(e,t){var o,s,a,l,c,u,d;e.insert.video||e.insert.image?(o=e,(s=t).paragraphs.push({embed:o.insert}),n=!1,i(s)):e.insert.formula?(a=e,0===(l=t).paragraphs.length&&i(l),null===(c=l.paragraphs[l.paragraphs.length-1].textRuns)||void 0===c||c.push({formula:a.insert.formula,attributes:a.attributes})):"\n"===e.insert?(u=e,d=t,u.attributes&&(d.paragraphs[d.paragraphs.length-1].attributes=u.attributes,"ordered"===u.attributes.list?n||(d.setup.numberedLists++,n=!0):n=!1),i(d)):function(e,t){if(0===t.paragraphs.length&&i(t),e.insert.match(/\n/))for(let o of e.insert.split(/(\n)/))"\n"===o?(i(t),n=!1):r(o,t);else r(e.insert,t,e.attributes)}(e,t)})(o,t);return t}}},n={},function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{}};return t[i](r,r.exports,e),r.exports}(607))},829:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultNumbering=t.customBulletLevels=t.customNumberedLevels=t.defaultStyles=void 0;let i=n(687);t.defaultStyles=[{id:"normal",name:"Normal",next:"normal",basedOn:"normal",quickFormat:!0,run:{size:24},paragraph:{spacing:{line:480,before:0,after:0}}},{id:"header_1",name:"Heading 1",next:"normal",quickFormat:!0,run:{font:"Calibri",size:30,bold:!0},paragraph:{spacing:{before:300,after:200}}},{id:"header_2",name:"Heading 2",basedOn:"normal",next:"normal",quickFormat:!0,run:{font:"Calibri",size:26,bold:!0},paragraph:{spacing:{before:200,after:100}}},{id:"list_paragraph",name:"List Paragraph",basedOn:"normal",quickFormat:!0,run:{size:24}},{id:"code_block",name:"Code Block",basedOn:"normal",quickFormat:!0,run:{size:24,font:"Courier New"},paragraph:{indent:{left:720,right:720}}},{id:"block_quote",name:"Block Quote",basedOn:"normal",quickFormat:!0,run:{italics:!0},paragraph:{indent:{left:540},border:{left:{size:12,space:28,color:"333333",value:"single"}}}},{id:"citation",name:"Citation",basedOn:"normal",quickFormat:!0,run:{size:24},paragraph:{indent:{left:0,hanging:320},spacing:{line:480}}}],t.customNumberedLevels=[{level:0,format:"decimal",text:"%1.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:720,hanging:360}}}},{level:1,format:"lowerLetter",text:"%2.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:1440,hanging:360}}}},{level:2,format:"lowerRoman",text:"%3.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:2160,hanging:360}}}},{level:3,format:"decimal",text:"%4.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:2880,hanging:360}}}},{level:4,format:"lowerLetter",text:"%5.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:3600,hanging:360}}}},{level:3,format:"lowerRoman",text:"%5.",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:4320,hanging:360}}}}],t.customBulletLevels=[{level:0,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:720,hanging:360}}}},{level:1,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:1440,hanging:360}}}},{level:2,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:2160,hanging:360}}}},{level:3,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:2880,hanging:360}}}},{level:4,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:3600,hanging:360}}}},{level:3,format:"bullet",text:"•",alignment:i.AlignmentType.LEFT,style:{paragraph:{indent:{left:4320,hanging:360}}}}],t.defaultNumbering={config:[{reference:"default-numbering",levels:t.customNumberedLevels}]}},35:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t},s=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.generateWord=void 0;let a=n(190),l=o(n(687)),c=n(687),u=n(829),d=0,h=-1,p=u.defaultStyles,f=u.customNumberedLevels,m=!1;function g(e,t,n){e.paragraph&&(p[n].paragraph=e.paragraph),e.run&&(p[n].run=e.run)}t.generateWord=function(e,t){return s(this,void 0,void 0,function*(){var n,i,r;let o,v,y;d=0,h=-1,m=!1;let b=[],w=[];if(e.ops){let t=a.parseQuillDelta(e);w.push(t)}else if(Array.isArray(e))for(let t of e)w.push(t);else{if(!e.paragraphs)throw Error("Please provide a raw Quill Delta, a parsed Quill delta, or an Array of parsed Quill deltas. See QuillTodocx readme.");w.push(e)}for(let e of(n=w[0],i=t,p=u.defaultStyles,f=u.customNumberedLevels,i&&((r=i).paragraphStyles&&function(e){if(e.normal){let t=p.findIndex(e=>"normal"===e.id);g(e.normal,0,t)}if(e.header_1){let t=p.findIndex(e=>"header_1"===e.id);g(e.header_1,0,t)}if(e.header_2){let t=p.findIndex(e=>"header_2"===e.id);g(e.header_2,0,t)}if(e.list_paragraph){let t=p.findIndex(e=>"list_paragraph"===e.id);g(e.list_paragraph,0,t)}if(e.code_block){let t=p.findIndex(e=>"code_block"===e.id);g(e.code_block,0,t)}if(e.block_quote){let t=p.findIndex(e=>"block_quote"===e.id);g(e.block_quote,0,t)}if(e.citation){let t=p.findIndex(e=>"citation"===e.id);g(e.citation,0,t)}}(r.paragraphStyles),r.customLevels&&(f=r.customLevels)),n.setup.hyperlinks.length>0&&(v=function(e){let t={},n=0;for(let i of e){let e={link:i.link,text:i.text,type:c.HyperlinkType.EXTERNAL};t=Object.assign(Object.assign({},t),{[`link${n}`]:e}),n++}return t}(n.setup.hyperlinks)),n.setup.numberedLists>0&&(y=function(e){let t=[],n=0;for(;n0&&"ordered"===(null===(r=p.attributes)||void 0===r?void 0:r.list)&&("ordered"===(null===(o=e[a-1].attributes)||void 0===o?void 0:o.list)?h:h++),u.push(function(e){var t,n,i,r,o,s,a,u,p,f,g,v,y;let b=[];for(let t of e.textRuns)t.formula?b.push((y=t.formula,new c.TextRun({text:y}))):t.text&&b.push(function(e,t){var n,i,r,o,s,a,l,u,h,p,f,m,g;let v;return(null===(n=e.attributes)||void 0===n?void 0:n.link)?(v=new c.HyperlinkRef(`link${d}`),d++):v=new c.TextRun({text:e.text,bold:!!(null===(i=e.attributes)||void 0===i?void 0:i.bold),italics:!!(null===(r=e.attributes)||void 0===r?void 0:r.italic),subScript:"sub"===(null===(o=e.attributes)||void 0===o?void 0:o.script),superScript:"super"===(null===(s=e.attributes)||void 0===s?void 0:s.script),strike:!!(null===(a=e.attributes)||void 0===a?void 0:a.strike),underline:(null===(l=e.attributes)||void 0===l?void 0:l.underline)?{type:c.UnderlineType.SINGLE,color:"auto"}:void 0,color:(null===(u=e.attributes)||void 0===u?void 0:u.color)?null===(h=e.attributes)||void 0===h?void 0:h.color.slice(1):void 0,size:"huge"===(null===(p=e.attributes)||void 0===p?void 0:p.size)?36:"large"===(null===(f=e.attributes)||void 0===f?void 0:f.size)?32:"small"===(null===(m=e.attributes)||void 0===m?void 0:m.size)?20:void 0,highlight:(null===(g=e.attributes)||void 0===g?void 0:g.background)?"yellow":void 0}),v}(t));return new c.Paragraph({children:b,heading:1===(null===(t=e.attributes)||void 0===t?void 0:t.header)?l.HeadingLevel.HEADING_1:2===(null===(n=e.attributes)||void 0===n?void 0:n.header)?l.HeadingLevel.HEADING_2:void 0,bullet:"bullet"!==(null===(i=e.attributes)||void 0===i?void 0:i.list)||m?void 0:{level:e.attributes.indent?e.attributes.indent:0},numbering:"ordered"===(null===(r=e.attributes)||void 0===r?void 0:r.list)?{reference:`numbered_${h}`,level:e.attributes.indent?e.attributes.indent:0}:"bullet"===(null===(o=e.attributes)||void 0===o?void 0:o.list)&&m?{reference:"customBullets",level:e.attributes.indent?e.attributes.indent:0}:void 0,alignment:"left"===(null===(s=e.attributes)||void 0===s?void 0:s.align)?c.AlignmentType.LEFT:"center"===(null===(a=e.attributes)||void 0===a?void 0:a.align)?c.AlignmentType.CENTER:"right"===(null===(u=e.attributes)||void 0===u?void 0:u.align)?c.AlignmentType.RIGHT:"justify"===(null===(p=e.attributes)||void 0===p?void 0:p.align)?c.AlignmentType.JUSTIFIED:void 0,style:(null===(f=e.attributes)||void 0===f?void 0:f["code-block"])?"code_block":(null===(g=e.attributes)||void 0===g?void 0:g.blockquote)?"block_quote":(null===(v=e.attributes)||void 0===v?void 0:v.citation)?"citation":void 0})}(p)));a++}return u}(e.paragraphs,o));for(let e of b)o.addSection({children:e});return function(e,t){return s(this,void 0,void 0,function*(){if(!t||!t.exportAs||"doc"===t.exportAs)return e;if("blob"===t.exportAs)return c.Packer.toBlob(e);if("buffer"===t.exportAs)return console.log("returning buffer"),c.Packer.toBuffer(e);if("base64"===t.exportAs)return c.Packer.toBase64String(e);throw Error("Please set exportAs configuration to blob, buffer, doc, or base64.")})}(o,t)})}},607:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(35),t),r(n(679),t)},679:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},687:t=>{"use strict";t.exports=e}},n={},function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{}};return t[i].call(r.exports,r,r.exports,e),r.exports}(607)},e.exports=r(n(5966))},8872:function(e,t){var n;function i(e){return 1!==e?"p":"s"}t.plural_EN=i},6867:function(e,t,n){"use strict";e.exports=n.p+"4ad034d2c499d9b6.woff"},9358:function(e,t,n){"use strict";e.exports=n.p+"59322316b3fd6063.woff2"},4247:function(e,t,n){"use strict";let i;var r,o,s,a,l,c,u,d,h,p,f,m,g,v,y,b,w,_,E,x,k={};n.r(k),n.d(k,{Attributor:()=>r1,AttributorStore:()=>r7,BlockBlot:()=>od,ClassAttributor:()=>r6,ContainerBlot:()=>op,EmbedBlot:()=>of,InlineBlot:()=>oc,LeafBlot:()=>oi,ParentBlot:()=>oa,Registry:()=>r3,Scope:()=>r0,ScrollBlot:()=>ov,StyleAttributor:()=>r9,TextBlot:()=>ob});var T=n("540"),O=n.n(T);n("2855"),n("1366"),n("234"),n("4784"),n("118");var C=((r={}).HOME="HOME",r.ABOUT="ABOUT",r.DEFINE_BOX="DEFINE_BOX",r.CREATE_SCENARIO="CREATE_SCENARIO",r.SHOW_SCENARIO="SHOW_SCENARIO",r.DECISION_SUPPORT="DECISION_SUPPORT",r.SETTINGS="SETTINGS",r.HELP="HELP",r);let A=()=>"idxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16)),S=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),N=e=>t=>Array.prototype.map.call(t,e),I=e=>t=>Array.prototype.join.call(t,e),L=e=>e.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()),R=e=>e?S(I(""),N(t=>`[${L(t)}="${((e="")=>e.toString().replace(/"/g,"""))(e[t])}"]`),Object.keys)(e):"",P=["min","max","minLength","maxLength","rows","cols","placeholder","autocomplete","pattern","readOnly","step"],D=e=>P.indexOf(e)>=0,j=({disabled:e})=>e?"[disabled]":"",B=({required:e,isMandatory:t})=>e||t?"[required][aria-required=true]":"",F=e=>{let t;return(e=>Object.keys(e).filter(D).filter(t=>void 0!==e[t]).reduce((t,n)=>{let i=e[n];return t.push(`[${n.toLowerCase()}=${i}]`),t},[]).join(""))(e)+((t=e).maxLength?`[data-length=${t.maxLength}]`:"")+j(e)+B(e)+(({autofocus:e})=>"boolean"==typeof e&&e||e&&e()?"[autofocus]":"")(e)},q=e=>!isNaN(parseFloat(e))&&isFinite(e),H=(e,t=2,n="0")=>(e+="").length>=t?e:Array(t-e.length+1).join(n)+e;function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}let X=["label","id","isMandatory","isActive"],W={view:({attrs:e})=>O()("span.mandatory",e,"*")},V=()=>({view:e=>{let{attrs:{label:t,id:n,isMandatory:i,isActive:r}}=e,o=z(e.attrs,X);return t?O()(`label${r?".active":""}${n?`[for=${n}]`:""}`,o,[O().trust(t),i?O()(W):void 0]):void 0}}),K=()=>({view:({attrs:{helperText:e,dataError:t,dataSuccess:n,className:i}})=>e||t||n?O()("span.helper-text",{className:i,dataError:t,dataSuccess:n},e?O().trust(e):""):void 0}),G=["iconName"],Y=()=>({view:e=>{let{attrs:{iconName:t}}=e,n=z(e.attrs,G);return O()("i.material-icons",n,t)}}),Z=["modalId","tooltip","tooltipPostion","iconName","iconClass","label","attr"],Q=(e,t="")=>()=>{let n=`${e}${t}`;return{view:({attrs:e})=>{let{modalId:t,tooltip:i,tooltipPostion:r,iconName:o,iconClass:s,label:a,attr:l}=e,c=z(e,Z);return O()(`${n}${t?`.modal-trigger[href=#${t}]`:""}${i?`.tooltipped[data-position=${r||"top"}][data-tooltip=${i}]`:""}${R(l)}`,c,o?O()(Y,{iconName:o,className:s||"left"}):void 0,a||void 0)}}},J=Q("a.waves-effect.waves-light.btn","[type=button]"),ee=(Q("a.waves-effect.waves-light.btn-large","[type=button]"),Q("a.waves-effect.waves-light.btn-small","[type=button]"),Q("a.waves-effect.waves-teal.btn-flat","[type=button]"));Q("button.btn-floating.btn-large.waves-effect.waves-light","[type=button]"),Q("button.btn.waves-effect.waves-light","[type=submit]"),(o=_||(_={}))[o.BASIC=0]="BASIC",o[o.LINKS=1]="LINKS",o[o.AVATAR=2]="AVATAR";let et=["className","dataError","dataSuccess","helperText","iconName","id","initialValue","isMandatory","label","maxLength","newRow","onchange","onkeydown","onkeypress","onkeyup","onblur","style","validate"],en=(e,t="")=>()=>{let n={id:A()},i=t=>{let n=t.value;return n&&("number"===e||"range"===e)?+n:n},r=(e,t)=>{e.setCustomValidity("boolean"==typeof t?t?"":"Custom validation failed":t)};return{view:({attrs:o})=>{let{className:s="col s12",dataError:a,dataSuccess:l,helperText:c,iconName:u,id:d=n.id,initialValue:h,isMandatory:p,label:f,maxLength:m,newRow:g,onchange:v,onkeydown:y,onkeypress:b,onkeyup:w,onblur:_,style:E,validate:x}=o,k=F(z(o,et));return O()(`.input-field${g?".clear":""}${t}`,{className:s,style:E},[u?O()("i.material-icons.prefix",u):void 0,O()(`input.validate[type=${e}][tabindex=0][id=${d}]${k}`,{oncreate:({dom:t})=>{(({autofocus:e})=>!!e&&("boolean"==typeof e?e:e()))(o)&&t.focus(),m&&M.CharacterCounter.init(t),"range"===e&&M.Range.init(t)},onkeyup:w?e=>{w(e,i(e.target))}:void 0,onkeydown:y?e=>{y(e,i(e.target))}:void 0,onkeypress:b?e=>{b(e,i(e.target))}:void 0,onblur:_,onupdate:x?({dom:e})=>{r(e,x(i(e),e))}:void 0,onchange:e=>{let t=e.target;if(t){let e=i(t);v&&v(e),x&&r(t,x(e,t))}},value:h}),O()(V,{label:f,id:d,isMandatory:p,isActive:!(void 0===h&&!o.placeholder&&"number"!==e&&"color"!==e&&"range"!==e)}),O()(K,{helperText:c,dataError:a,dataSuccess:l})])}}},ei=en("text"),er=(en("password"),en("number"),en("url"),en("color"),en("range",".range-field"),en("email"),()=>({view:({attrs:{className:e="col s12",onchange:t,label:n,checked:i,disabled:r,description:o,style:s}})=>O()("div",{className:e,style:s},O()("label",[O()("input[type=checkbox][tabindex=0]",{checked:i,disabled:r,onclick:t?e=>{e.target&&void 0!==e.target.checked&&t(e.target.checked)}:void 0}),n?"string"==typeof n?O()("span",n):n:void 0]),o&&O()(K,{className:"input-checkbox-desc",helperText:o}))})),eo=()=>({oncreate:({dom:e,attrs:{options:t,onCreate:n}})=>{let i=M.Modal.init(e,t);n&&n(i)},view:({attrs:{id:e,title:t,description:n,fixedFooter:i,bottomSheet:r,buttons:o,richContent:s}})=>O()(`.modal${i?".modal-fixed-footer":""}${r?".bottom-sheet":""}[id=${e}]`,[O()(".modal-content",[O()("h4",t),s&&"string"==typeof n?O().trust(n||""):"string"==typeof n?O()("p",n):n]),o?O()(".modal-footer",o.map(e=>O()(ee,U({},e,{className:"modal-close"})))):void 0])}),es=()=>({view:({attrs:{id:e,groupId:t,label:n,onchange:i,className:r="col s12",checked:o,disabled:s}})=>O()("div",{className:r},O()("label",[O()(`input[type=radio][tabindex=0][name=${t}]${o?"[checked=checked]":""}${s?"[disabled]":""}`,{onclick:i?()=>i(e):void 0}),O()("span",O().trust(n))]))}),ea=()=>{let e={groupId:A()};return{oninit:({attrs:{checkedId:t,initialValue:n}})=>{e.oldCheckedId=t,e.checkedId=t||n},view:({attrs:{id:t,checkedId:n,newRow:i,className:r="col s12",label:o="",disabled:s,description:a,options:l,isMandatory:c,checkboxClass:u,onchange:d}})=>{e.oldCheckedId!==n&&(e.oldCheckedId=e.checkedId=n);let{groupId:h,checkedId:p}=e,f=t=>{e.checkedId=t,d&&d(t)};return i&&(r+=" clear"),O()("div",{id:t,className:r},[O()("div",{className:"input-field options"},O()(V,{id:t,label:o,isMandatory:c})),a?O()("p.helper-text",O().trust(a)):"",...l.map(e=>O()(es,U({},e,{onchange:f,groupId:h,disabled:s,className:u,checked:e.id===p})))])}}},el=()=>{let e={},t=e=>e.map(e=>e.id).join(""),n=(e,t,n=!1)=>n||(t instanceof Array&&(e||"number"==typeof e)?t.indexOf(e)>=0:t===e);return{oninit:({attrs:{checkedId:n,initialValue:i,options:r}})=>{e.ids=t(r);let o=n||i;e.checkedId=n instanceof Array?[...n]:n,e.initialValue=null!=o?o instanceof Array?o.filter(e=>null!=e):[o]:[]},view:({attrs:{id:i,newRow:r,className:o="col s12",checkedId:s,key:a,options:l,multiple:c,label:u,helperText:d,placeholder:h="",isMandatory:p,iconName:f,disabled:m,classes:g="",dropdownOptions:v,onchange:y}})=>{e.checkedId!==s&&(e.initialValue=s?s instanceof Array?s:[s]:void 0);let{initialValue:b}=e,w=y?c?()=>{let t=e.instance&&e.instance.getSelectedValues(),n=t?t.length>0&&q(t[0])?t.map(e=>+e):t.filter(e=>null!==e||void 0!==e):void 0;e.initialValue=n||[],y(e.initialValue)}:t=>{if(t&&t.currentTarget){let n=t.currentTarget,i=q(n.value)?+n.value:n.value;e.initialValue=[i]}e.initialValue&&y(e.initialValue)}:void 0;r&&(o+=" clear");let _=!l.some(e=>n(e.id,b)),E=l.reduce((e,t)=>(t.group&&0>e.indexOf(t.group)&&e.push(t.group),e),[]);return O()(".input-field.select-space",{className:o,key:a,oncreate:c?({dom:t})=>e.wrapper=t:void 0},[f&&O()("i.material-icons.prefix",f),O()("select",{id:i,title:u,disabled:m,multiple:c,oncreate:({dom:t})=>{e.instance=M.FormSelect.init(t,{classes:g,dropdownOptions:v})},onupdate:({dom:n})=>{if(c){let t=f?1:0;!e.inputEl&&e.wrapper&&e.wrapper.childNodes&&e.wrapper.childNodes.length>0&&e.wrapper.childNodes[t].childNodes&&e.wrapper.childNodes[t].childNodes[0]&&(e.inputEl=e.wrapper.childNodes[t].childNodes[0]),e.inputEl&&e.inputEl.value&&e.inputEl.value.startsWith(`${h}, `)&&(e.inputEl.value=e.inputEl.value.replace(`${h}, `,""))}let i=t(l),r=s&&e.checkedId!==s.toString();e.ids!==i&&(e.ids=i,r=!0),(e.checkedId instanceof Array&&s instanceof Array?e.checkedId.join()!==s.join():e.checkedId!==s)&&(e.checkedId=s,r=!0),r&&(e.instance=M.FormSelect.init(n,{classes:g,dropdownOptions:v}))},onchange:w},O()("option",{value:"",disabled:!0,selected:!!_||void 0},h),0===E.length?l.map((e,t)=>{var i;return O()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,b,0===t&&_&&!h)},null==(i=e.label)?void 0:i.replace("&","&"))}):E.map(e=>O()("optgroup",{label:e},l.filter(t=>t.group===e).map((e,t)=>{var i;return O()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,b,0===t&&_&&!h)},null==(i=e.label)?void 0:i.replace("&","&"))})))),O()(V,{label:u,isMandatory:p}),d&&O()(K,{helperText:d})])}}},ec=()=>{let e={},t=(e,t)=>t||e.replace(/ /g,"").toLowerCase();return{view:({attrs:{tabWidth:n,selectedTabId:i,tabs:r,className:o,style:s,duration:a,onShow:l,swipeable:c,responsiveThreshold:u}})=>{let d=r.filter(e=>e.active).shift(),h=i||(d?t(d.title,d.id):"");return O()(".row",[O()(".col.s12",O()("ul.tabs"+("fill"===n?".tabs-fixed-width":""),{className:o,style:s,oncreate:({dom:t})=>{e.instance=M.Tabs.init(t,{duration:a,onShow:l,responsiveThreshold:u,swipeable:c})},onupdate:()=>{if(h){let e=document.getElementById(`tab_${h}`);e&&e.click()}},onremove:()=>e.instance.destroy()},r.map(({className:e,title:i,id:o,active:s,disabled:a,target:l,href:c})=>O()(`li.tab${a?".disabled":""}${"fixed"===n?`.col.s${Math.floor(12/r.length)}`:""}`,{className:e},O()(`a[id=tab_${t(i,o)}]${s?".active":""}`,{target:l,href:c||`#${t(i,o)}`},i))))),r.filter(({href:e})=>void 0===e).map(({id:e,title:n,vnode:i,contentClass:r})=>O()(`.col.s12[id=${t(n,e)}]`,{className:r},i))])}}};var eu=[{threshold:0,color:"#ddeced"},{threshold:1,color:"#FF7800"},{threshold:2,color:"#ffff00"},{threshold:3,color:"#ff0000"}],ed={version:1,lastUpdate:new Date().valueOf(),scenarios:[],scenario:{id:"demo1",label:"Demo",desc:"Demo scenario",includeDecisionSupport:!1,hideInconsistentValues:!0,inconsistencies:{},categories:[{id:"threat",label:"Threat",componentIds:["ThreatDirection","Impact","Motivation","ModusOperandiDuringExecution","Equipment","Responsibility"]},{id:"context",label:"Context",componentIds:["WeatherType","WeatherBehaviour","TypeOfObject","AvailableBudget","OpenCompartments","Location"]}],components:[{id:"ThreatDirection",label:"Threat direction",values:[{id:"df62efe6",label:"Hannibal"},{id:"70630364",label:"The Romans"},{id:"82d5d4f5",label:"Herbert Hoover"}]},{id:"Impact",label:"Impact",values:[{id:"5c532a23",label:"Low"},{id:"16ad9a77",label:"Medium"},{id:"b894abb6",label:"High"}]},{id:"Motivation",label:"Motivation",values:[{id:"f4ab7a7a",label:"Money"},{id:"ff550f8f",label:"Justice"},{id:"22b4867e",label:"Revenge"}]},{id:"ModusOperandiDuringExecution",label:"Modus operandi during execution",values:[{id:"7ed25fa5",label:"Sniper attack",type:"ModusOperandiDuringExecution"},{id:"1f9b68c9",label:"Kidnapping",type:"ModusOperandiDuringExecution"},{id:"5cc5e352",label:"Singing",type:"ModusOperandiDuringExecution"}]},{id:"Equipment",label:"Equipment",values:[{id:"b4218a1f",label:"None"},{id:"8f6185f7",label:"Drone"},{id:"cb02878d",label:"Bomb"},{id:"9d645efb",label:"Helicopter"},{id:"3a4398c7",label:"Hammer"}]},{id:"Responsibility",label:"Responsibility",values:[{id:"f44d22be",label:"Private"},{id:"20f9a6ed",label:"Public"}]},{id:"WeatherType",label:"Weather type",values:[{id:"b9fe2b73",label:"Rainy"},{id:"478581c1",label:"Sunny"},{id:"b855ac10",label:"Windy"},{id:"24c73f36",label:"Cloudy"}]},{id:"WeatherBehaviour",label:"Weather behaviour",values:[{id:"0ff8041e",label:"Stable"},{id:"894a9bcb",label:"Changing"}]},{id:"TypeOfObject",label:"Type of object",values:[{id:"29a303b3",label:"Church"},{id:"2e7df143",label:"Park"},{id:"e11282fb",label:"Palace"},{id:"9a1b3256",label:"Airport"}]},{id:"AvailableBudget",label:"Available budget",values:[{id:"90e1ba48",label:"Knowledge"},{id:"f961174c",label:"Water"}]},{id:"OpenCompartments",label:"Open compartments",values:[{id:"01c3940a",label:"Open"},{id:"56b7fa45",label:"Closed"}]},{id:"Location",label:"Location",values:[{id:"ea57f820",label:"Vietnam"},{id:"b8bd8bc3",label:"Washington"},{id:"8fb1e1ab",label:"Buitenpost"}]}],narratives:[],thresholdColors:eu}},eh=function(){return{id:A(),label:"NEW SCENARIO",desc:"",includeDecisionSupport:!1,hideInconsistentValues:!1,inconsistencies:{},categories:[],components:[],narratives:[],thresholdColors:eu}},ep=function(){return{version:1,lastUpdate:new Date().valueOf(),scenarios:[],scenario:eh()}},ef=[ep(),ed],em=[{id:"airport",name:"Airport",key:"aeroway",value:"aerodrome"},{id:"cafe",name:"Cafe",key:"amenity",value:"bar"},{id:"church",name:"Church",key:"building",value:"church"},{id:"city_square",name:"City square",key:"place",value:"square"},{id:"flats",name:"Flats",key:'"building:levels"',value:'"([6-9]|d{2,})"'},{id:"gas_station",name:"Gas station",key:"amenity",value:"fuel"},{id:"hospital",name:"Hospital",key:"amenity",value:"hospital"},{id:"hotel",name:"Hotel",key:"tourism",value:"hotel"},{id:"palace",name:"Palace",key:"castle_type",value:"palace"},{id:"parking",name:"Parking",key:"amenity",value:"parking"},{id:"restaurant",name:"Restaurant",key:"amenity",value:"restaurant"},{id:"shopping_street",name:"Shopping street",key:"highway",value:"pedestrian"},{id:"stadspoort",name:"Stadspoort",key:"historic",value:"city_gate"},{id:"statue",name:"Statue",key:"memorial",value:"statue"}].map(function(e){return e.id});let eg=n.p+"f418cfa539199976.svg";var ev=n("9556");function ey(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}function eb(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){ey(o,i,r,s,a,"next",e)}function a(e){ey(o,i,r,s,a,"throw",e)}s(void 0)})}}function ew(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]":">",'"':""","'":"'"},ex=RegExp(`[${Object.keys(eE).join("")}]`,"g"),ek=[[/\r\n/g,"\n"],[/\n(#+)(.*)/g,(e,t,n="")=>{let i=t.length;return`${n.trim()}`}],[/!\[([^\[]+)\]\((?:javascript:)?([^\)]+)\)/g,'$1'],[/\[([^\[]+)\]\((?:javascript:)?([^\)]+)\)/g,'$1'],[/([^\\])(\*\*|__)(.*?(_|\*)?)\2/g,"$1$3"],[/([^\\])(\*|_)(.*?)\2/g,"$1$3"],[/\\_/g,"_"],[/\~\~(.*?)\~\~/g,"$1"],[/\:\"(.*?)\"\:/g,"$1"],[/\n\s*```\n([^]*?)\n\s*```\s*\n/g,"\n
    $1
    "],[/`(.*?)`/g,(e,t)=>`${t.replace(ex,e=>eE[e])}`],[/\n(\*|\-|\+)(.*)/g,(e,t,n="")=>`
    • ${n.trim()}
    `],[/\n[0-9]+\.(.*)/g,(e,t="")=>`
    1. ${t.trim()}
    2. @@ -11,12 +11,12 @@ ${t}

      ${n}

      -`}],[/\s?<\/ul>\s?
        /g,""],[/\s?<\/ol>\s?
          /g,""],[/<\/blockquote>\n
          /g,"
          \n"],[/https?:\/\/[^"']*/g,e=>e.replace(/<\/?em>/g,"_")],[/_/g,"_"]],ex=(e,t=!1,n=!1)=>(e=` +`}],[/\s?<\/ul>\s?
            /g,""],[/\s?<\/ol>\s?
              /g,""],[/<\/blockquote>\n
              /g,"
              \n"],[/https?:\/\/[^"']*/g,e=>e.replace(/<\/?em>/g,"_")],[/_/g,"_"]],eT=(e,t=!1,n=!1)=>(e=` ${e} -`,eE.forEach(([t,n])=>{e=e.replace(t,n)}),e=e.trim(),t&&(e=e.replace(/^

              ([\s\S]*)<\/p>$/,"$1")),n&&(e=e.replace(/(16*Math.random()|0).toString(16)),eT=["min","max","minLength","maxLength","rows","cols","placeholder","autocomplete","pattern","readOnly","step"],eO=e=>eT.indexOf(e)>=0,eC=({disabled:e})=>e?"[disabled]":"",eA=e=>{let t;return(e=>Object.keys(e).filter(eO).filter(t=>void 0!==e[t]).reduce((t,n)=>{let i=e[n];return t.push(`[${n.toLowerCase()}=${i}]`),t},[]).join(""))(e)+((t=e).maxLength?`[data-length=${t.maxLength}]`:"")+eC(e)+(({required:e,isMandatory:t})=>e||t?"[required][aria-required=true]":"")(e)+(({autofocus:e})=>"boolean"==typeof e&&e||e&&e()?"[autofocus]":"")(e)},eS=e=>!isNaN(parseFloat(e))&&isFinite(e);function eN(){return(eN=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}let eM=["label","id","isMandatory","isActive"],eL={view:({attrs:e})=>T()("span.mandatory",e,"*")},eR=()=>({view:e=>{let{attrs:{label:t,id:n,isMandatory:i,isActive:r}}=e,o=eI(e.attrs,eM);return t?T()(`label${r?".active":""}${n?`[for=${n}]`:""}`,o,[T().trust(t),i?T()(eL):void 0]):void 0}}),eP=()=>({view:({attrs:{helperText:e,dataError:t,dataSuccess:n,className:i}})=>e||t||n?T()("span.helper-text",{className:i,dataError:t,dataSuccess:n},e?T().trust(e):""):void 0}),eD=()=>{let e={id:ek()};return{view:({attrs:t})=>{let n=t.id||e.id,i=eA(t),{label:r,helperText:o,initialValue:s,onchange:a,newRow:l,className:c="col s12",style:u,iconName:h,isMandatory:d}=t;return T()(".input-field"+(l?".clear":""),{className:l?c+" clear":c,style:u},[h?T()("i.material-icons.prefix",h):"",T()(`input.autocomplete[type=text][tabindex=0]${i}`,{id:n,oncreate:({dom:e})=>{M.Autocomplete.init(e,t)},onchange:a?e=>{e.target&&e.target.value&&a(e.target.value)}:void 0,value:s}),T()(eR,{label:r,id:n,isMandatory:d,isActive:s}),T()(eP,{helperText:o})])}}},ej=["iconName"],eB=()=>({view:e=>{let{attrs:{iconName:t}}=e,n=eI(e.attrs,ej);return T()("i.material-icons",n,t)}}),eF=["modalId","tooltip","tooltipPostion","iconName","iconClass","label","attr"],eq=(e,t="")=>()=>{let n=`${e}${t}`;return{view:({attrs:e})=>{var t;let i,{modalId:r,tooltip:o,tooltipPostion:s,iconName:a,iconClass:l,label:c,attr:u}=e,h=eI(e,eF);return T()(`${n}${r?`.modal-trigger[href=#${r}]`:""}${o?`.tooltipped[data-position=${s||"top"}][data-tooltip=${o}]`:""}${(t=u)?((...e)=>t=>e.reduceRight((e,t)=>t(e),t))(e=>Array.prototype.join.call(e,""),(i=e=>`[${e.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())}="${((e="")=>e.toString().replace(/"/g,"""))(t[e])}"]`,e=>Array.prototype.map.call(e,i)),Object.keys)(t):""}`,h,a?T()(eB,{iconName:a,className:l||"left"}):void 0,c||void 0)}}},eH=eq("a.waves-effect.waves-teal.btn-flat","[type=button]"),e$=eq("button.btn-floating.btn-large.waves-effect.waves-light","[type=button]"),eU=()=>({oncreate:({attrs:e,dom:t})=>{let{onchange:n,onChipAdd:i,onChipDelete:r}=e,o=M.Chips.getInstance(t.children[0]),s=i?i.bind(o):void 0;e.onChipAdd=function(e,t){n&&n(this.chipsData),s&&s(e,t)};let a=r?r.bind(o):void 0;e.onChipDelete=function(e,t){n&&n(this.chipsData),a&&a(e,t)},M.Chips.init(t.children[0],e)},onupdate:({dom:e,attrs:{data:t}})=>{if(!t||0===t.length)return;let n=M.Chips.getInstance(e.children[0]);t.forEach(e=>n.addChip(e))},view:({attrs:{placeholder:e,required:t,isMandatory:n=t,data:i,className:r="col s12",label:o,helperText:s}})=>T()(".input-field",{className:r},[T()(`.chips.chips-autocomplete${e?".chips-placeholder":""}${i?".chips-initial":""}`),o?T()(eR,{label:o,isMandatory:n,className:"active"}):void 0,s?T()(eP,{helperText:s}):void 0])}),ez=()=>({view:({attrs:{header:e,body:t,active:n,iconName:i}})=>T()(n?"li.active":"li",[e||i?T()(".collapsible-header",[i?T()("i.material-icons",i):void 0,e?"string"==typeof e?T()("span",e):e:void 0]):void 0,t?T()(".collapsible-body",t):void 0])}),eX=()=>({oncreate:({dom:e,attrs:t})=>{M.Collapsible.init(e,t)},view:({attrs:e})=>{let{items:t,class:n,className:i,style:r,id:o}=e;return t&&t.length>0?T()("ul.collapsible",{class:n||i,style:r,id:o},t.map(e=>T()(ez,e))):void 0}});(s=_||(_={}))[s.BASIC=0]="BASIC",s[s.LINKS=1]="LINKS",s[s.AVATAR=2]="AVATAR";let eW=["className","helperText","iconName","id","initialValue","isMandatory","label","onchange","onkeydown","onkeypress","onkeyup","onblur","style"],eV=["className","dataError","dataSuccess","helperText","iconName","id","initialValue","isMandatory","label","maxLength","newRow","onchange","onkeydown","onkeypress","onkeyup","onblur","style","validate"],eK=()=>{let e={id:ek()};return{view:({attrs:t})=>{let{className:n="col s12",helperText:i,iconName:r,id:o=e.id,initialValue:s,isMandatory:a,label:l,onchange:c,onkeydown:u,onkeypress:h,onkeyup:d,onblur:p,style:f}=t,m=eA(eI(t,eW));return T()(".input-field",{className:n,style:f},[r?T()("i.material-icons.prefix",r):"",T()(`textarea.materialize-textarea[tabindex=0][id=${o}]${m}`,{oncreate:({dom:e})=>{M.textareaAutoResize(e),t.maxLength&&M.CharacterCounter.init(e)},onchange:c?e=>{let t=e.target;c(t&&"string"==typeof t.value?t.value:"")}:void 0,value:s,onkeyup:d?e=>{d(e,e.target.value)}:void 0,onkeydown:u?e=>{u(e,e.target.value)}:void 0,onkeypress:h?e=>{h(e,e.target.value)}:void 0,onblur:p}),T()(eR,{label:l,id:o,isMandatory:a,isActive:s||t.placeholder}),T()(eP,{helperText:i})])}}},eG=(e,t="")=>()=>{let n={id:ek()},i=t=>{let n=t.value;return n&&("number"===e||"range"===e)?+n:n},r=(e,t)=>{e.setCustomValidity("boolean"==typeof t?t?"":"Custom validation failed":t)};return{view:({attrs:o})=>{let{className:s="col s12",dataError:a,dataSuccess:l,helperText:c,iconName:u,id:h=n.id,initialValue:d,isMandatory:p,label:f,maxLength:m,newRow:g,onchange:v,onkeydown:y,onkeypress:b,onkeyup:w,onblur:_,style:E,validate:x}=o,k=eA(eI(o,eV));return T()(`.input-field${g?".clear":""}${t}`,{className:s,style:E},[u?T()("i.material-icons.prefix",u):void 0,T()(`input.validate[type=${e}][tabindex=0][id=${h}]${k}`,{oncreate:({dom:t})=>{(({autofocus:e})=>!!e&&("boolean"==typeof e?e:e()))(o)&&t.focus(),m&&M.CharacterCounter.init(t),"range"===e&&M.Range.init(t)},onkeyup:w?e=>{w(e,i(e.target))}:void 0,onkeydown:y?e=>{y(e,i(e.target))}:void 0,onkeypress:b?e=>{b(e,i(e.target))}:void 0,onblur:_,onupdate:x?({dom:e})=>{r(e,x(i(e),e))}:void 0,onchange:e=>{let t=e.target;if(t){let e=i(t);v&&v(e),x&&r(t,x(e,t))}},value:d}),T()(eR,{label:f,id:h,isMandatory:p,isActive:!(void 0===d&&!o.placeholder&&"number"!==e&&"color"!==e&&"range"!==e)}),T()(eP,{helperText:c,dataError:a,dataSuccess:l})])}}},eY=eG("text"),eZ=eG("number"),eQ=eG("url"),eJ=eG("color"),e0=eG("email"),e1=()=>{let e,t=!1;return{view:({attrs:n})=>{let{multiple:i,disabled:r,initialValue:o,placeholder:s,onchange:a,className:l="col s12",accept:c,label:u="File"}=n,h=c?c instanceof Array?c.join(", "):c:void 0,d=h?`[accept=${h}]`:"",p=s?`[placeholder=${s}]`:"";return T()(".file-field.input-field",{className:n.class||l},[T()(".btn",[T()("span",u),T()(`input[type=file]${i?"[multiple]":""}${r?"[disabled]":""}${d}`,{onchange:a?e=>{let n=e.target;n&&n.files&&a&&(t=!0,a(n.files))}:void 0})]),T()(".file-path-wrapper",T()(`input.file-path.validate${p}[type=text]`,{oncreate:({dom:t})=>{e=t,o&&(e.value=o)}})),(t||o)&&T()("a.waves-effect.waves-teal.btn-flat",{style:"float: right;position: relative;top: -3rem; padding: 0",onclick:()=>{t=!1,e.value="",a&&a({})}},T()("i.material-icons","clear"))])}}},e2=()=>({view:({attrs:{className:e="col s12",onchange:t,label:n,checked:i,disabled:r,description:o}})=>T()("div",{className:e},T()("label",[T()("input[type=checkbox][tabindex=0]",{checked:i,disabled:r,onclick:t?e=>{e.target&&void 0!==e.target.checked&&t(e.target.checked)}:void 0}),n?"string"==typeof n?T()("span",n):n:void 0]),o&&T()(eP,{className:"input-checkbox-desc",helperText:o}))}),e5=()=>{let e={},t=t=>e.checkedIds.indexOf(t)>=0;return{oninit:({attrs:{initialValue:t,checkedId:n}})=>{let i=n||t;e.checkedId=n,e.checkedIds=i?i instanceof Array?[...i]:[i]:[]},view:({attrs:{label:n,id:i,options:r,checkedId:o,description:s,className:a="col s12",disabled:l,checkboxClass:c,newRow:u,isMandatory:h,onchange:d}})=>{o&&e.checkedId!==o&&(e.checkedId=o,e.checkedIds=o instanceof Array?o:[o]);let p=d?(t,n)=>{let i=e.checkedIds.filter(e=>e!==t);n&&i.push(t),e.checkedIds=i,d(i)}:void 0;return T()("div"+(u?".clear":""),{className:a},[T()("div",{className:"input-field options"},T()(eR,{id:i,label:n,isMandatory:h})),T()(eP,{helperText:s}),...r.map(e=>T()(e2,{disabled:l||e.disabled,label:e.label,onchange:p?t=>p(e.id,t):void 0,className:e.className||c,checked:t(e.id),description:e.description}))])}}},e3=()=>({oncreate:({dom:e,attrs:{options:t,onCreate:n}})=>{let i=M.Modal.init(e,t);n&&n(i)},view:({attrs:{id:e,title:t,description:n,fixedFooter:i,bottomSheet:r,buttons:o,richContent:s}})=>T()(`.modal${i?".modal-fixed-footer":""}${r?".bottom-sheet":""}[id=${e}]`,[T()(".modal-content",[T()("h4",t),s&&"string"==typeof n?T().trust(n||""):"string"==typeof n?T()("p",n):n]),o?T()(".modal-footer",o.map(e=>T()(eH,eN({},e,{className:"modal-close"})))):void 0])}),e4=()=>({view:({attrs:{title:e,href:t,active:n,disabled:i}})=>T()("li",{className:n?"active":i?"disabled":"waves-effect"},"number"==typeof e?T()(T().route.Link,{href:t},e):e)}),e6=()=>{let e={pagIndex:0};return{view:({attrs:{items:t,curPage:n=1,size:i=Math.min(9,t.length)}})=>{let{pagIndex:r}=e,o=r*i,s=o+i,a=r>0,l=sa&&e.pagIndex--},T()("i.material-icons","chevron_left")),disabled:!a},...t.filter((e,t)=>o<=t&&tl&&e.pagIndex++},T()("i.material-icons","chevron_right")),disabled:!l}];return T()("ul.pagination",c.map((e,t)=>T()(e4,eN({title:o+t},e,{active:o+t===n}))))}}},e8=["label","helperText","initialValue","newRow","className","iconName","isMandatory","onchange","disabled"],e9=["label","helperText","initialValue","newRow","className","iconName","isMandatory","onchange","disabled"],e7=()=>{let e={id:ek()};return{view:t=>{let{attrs:{label:n,helperText:i,initialValue:r,newRow:o,className:s="col s12",iconName:a,isMandatory:l,onchange:c,disabled:u}}=t,h=eI(t.attrs,e8),d=e.id,p=eA(h),f=c?()=>e.dp&&c(e.dp.date):void 0;return T()(".input-field"+(o?".clear":""),{className:s,onremove:()=>e.dp&&e.dp.destroy()},[a?T()("i.material-icons.prefix",a):"",T()(`input.datepicker[type=text][tabindex=0][id=${d}]${p}${u?"[disabled]":""}`,{oncreate:({dom:t})=>{e.dp=M.Datepicker.init(t,eN({format:"yyyy/mm/dd",showClearBtn:!0,setDefaultDate:!0,defaultDate:r?new Date(r):new Date},h,{onClose:f}))}}),T()(eR,{label:n,id:d,isMandatory:l,isActive:!!r}),T()(eP,{helperText:i})])}}},te=()=>{let e={id:ek()};return{view:t=>{let{attrs:{label:n,helperText:i,initialValue:r,newRow:o,className:s="col s12",iconName:a,isMandatory:l,onchange:c,disabled:u}}=t,h=eI(t.attrs,e9),d=e.id,p=eA(h),f=new Date,m=c?()=>e.tp&&c(e.tp.time||r||`${f.getHours()}:${f.getMinutes()}`):void 0;return T()(`.input-field.timepicker${o?".clear":""}`,{className:s,onremove:()=>e.tp&&e.tp.destroy()},[a?T()("i.material-icons.prefix",a):"",T()(`input[type=text][tabindex=0][id=${d}]${p}${u?"[disabled]":""}`,{value:r,oncreate:({dom:t})=>{e.tp=M.Timepicker.init(t,eN({twelveHour:!1,showClearBtn:!0,defaultTime:r},h,{onCloseEnd:m}))}}),T()(eR,{label:n,id:d,isMandatory:l,isActive:r}),T()(eP,{helperText:i})])}}},tt=()=>({view:({attrs:{id:e,groupId:t,label:n,onchange:i,className:r="col s12",checked:o,disabled:s}})=>T()("div",{className:r},T()("label",[T()(`input[type=radio][tabindex=0][name=${t}]${o?"[checked=checked]":""}${s?"[disabled]":""}`,{onclick:i?()=>i(e):void 0}),T()("span",T().trust(n))]))}),tn=()=>{let e={groupId:ek()};return{oninit:({attrs:{checkedId:t,initialValue:n}})=>{e.oldCheckedId=t,e.checkedId=t||n},view:({attrs:{id:t,checkedId:n,newRow:i,className:r="col s12",label:o="",disabled:s,description:a,options:l,isMandatory:c,checkboxClass:u,onchange:h}})=>{e.oldCheckedId!==n&&(e.oldCheckedId=e.checkedId=n);let{groupId:d,checkedId:p}=e,f=t=>{e.checkedId=t,h&&h(t)};return i&&(r+=" clear"),T()("div",{id:t,className:r},[T()("div",{className:"input-field options"},T()(eR,{id:t,label:o,isMandatory:c})),a?T()("p.helper-text",T().trust(a)):"",...l.map(e=>T()(tt,eN({},e,{onchange:f,groupId:d,disabled:s,className:u,checked:e.id===p})))])}}},ti=()=>{let e={},t=e=>e.map(e=>e.id).join(""),n=(e,t,n=!1)=>n||(t instanceof Array&&(e||"number"==typeof e)?t.indexOf(e)>=0:t===e);return{oninit:({attrs:{checkedId:n,initialValue:i,options:r}})=>{e.ids=t(r);let o=n||i;e.checkedId=n instanceof Array?[...n]:n,e.initialValue=null!=o?o instanceof Array?o.filter(e=>null!=e):[o]:[]},view:({attrs:{id:i,newRow:r,className:o="col s12",checkedId:s,key:a,options:l,multiple:c,label:u,helperText:h,placeholder:d="",isMandatory:p,iconName:f,disabled:m,classes:g="",dropdownOptions:v,onchange:y}})=>{e.checkedId!==s&&(e.initialValue=s?s instanceof Array?s:[s]:void 0);let{initialValue:b}=e,w=y?c?()=>{let t=e.instance&&e.instance.getSelectedValues(),n=t?t.length>0&&eS(t[0])?t.map(e=>+e):t.filter(e=>null!==e||void 0!==e):void 0;e.initialValue=n||[],y(e.initialValue)}:t=>{if(t&&t.currentTarget){let n=t.currentTarget,i=eS(n.value)?+n.value:n.value;e.initialValue=[i]}e.initialValue&&y(e.initialValue)}:void 0;r&&(o+=" clear");let _=!l.some(e=>n(e.id,b)),E=l.reduce((e,t)=>(t.group&&0>e.indexOf(t.group)&&e.push(t.group),e),[]);return T()(".input-field.select-space",{className:o,key:a,oncreate:c?({dom:t})=>e.wrapper=t:void 0},[f&&T()("i.material-icons.prefix",f),T()("select",{id:i,title:u,disabled:m,multiple:c,oncreate:({dom:t})=>{e.instance=M.FormSelect.init(t,{classes:g,dropdownOptions:v})},onupdate:({dom:n})=>{if(c){let t=f?1:0;!e.inputEl&&e.wrapper&&e.wrapper.childNodes&&e.wrapper.childNodes.length>0&&e.wrapper.childNodes[t].childNodes&&e.wrapper.childNodes[t].childNodes[0]&&(e.inputEl=e.wrapper.childNodes[t].childNodes[0]),e.inputEl&&e.inputEl.value&&e.inputEl.value.startsWith(`${d}, `)&&(e.inputEl.value=e.inputEl.value.replace(`${d}, `,""))}let i=t(l),r=s&&e.checkedId!==s.toString();e.ids!==i&&(e.ids=i,r=!0),(e.checkedId instanceof Array&&s instanceof Array?e.checkedId.join()!==s.join():e.checkedId!==s)&&(e.checkedId=s,r=!0),r&&(e.instance=M.FormSelect.init(n,{classes:g,dropdownOptions:v}))},onchange:w},T()("option",{value:"",disabled:!0,selected:!!_||void 0},d),0===E.length?l.map((e,t)=>{var i;return T()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,b,0===t&&_&&!d)},null==(i=e.label)?void 0:i.replace("&","&"))}):E.map(e=>T()("optgroup",{label:e},l.filter(t=>t.group===e).map((e,t)=>{var i;return T()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,b,0===t&&_&&!d)},null==(i=e.label)?void 0:i.replace("&","&"))})))),T()(eR,{label:u,isMandatory:p}),h&&T()(eP,{helperText:h})])}}},tr=["label","left","right","disabled","newRow","onchange","checked","isMandatory","className"],to=()=>{let e={id:ek()};return{view:({attrs:t})=>{let n=t.id||e.id,{label:i,left:r,right:o,disabled:s,newRow:a,onchange:l,checked:c,isMandatory:u,className:h="col s12"}=t,d=eI(t,tr);return T()("div"+(a?".clear":""),{className:h},[i?T()(eR,{label:i||"",id:n,isMandatory:u}):void 0,T()(".switch",d,T()("label",[r||"Off",T()(`input[id=${n}][type=checkbox]${eC({disabled:s})}${c?"[checked]":""}`,{onclick:l?e=>{e.target&&void 0!==e.target.checked&&l(e.target.checked)}:void 0}),T()("span.lever"),o||"On"]))])}}},ts=()=>{let e={},t=(e,t)=>t||e.replace(/ /g,"").toLowerCase();return{view:({attrs:{tabWidth:n,selectedTabId:i,tabs:r,className:o,style:s,duration:a,onShow:l,swipeable:c,responsiveThreshold:u}})=>{let h=r.filter(e=>e.active).shift(),d=i||(h?t(h.title,h.id):"");return T()(".row",[T()(".col.s12",T()("ul.tabs"+("fill"===n?".tabs-fixed-width":""),{className:o,style:s,oncreate:({dom:t})=>{e.instance=M.Tabs.init(t,{duration:a,onShow:l,responsiveThreshold:u,swipeable:c})},onupdate:()=>{if(d){let e=document.getElementById(`tab_${d}`);e&&e.click()}},onremove:()=>e.instance.destroy()},r.map(({className:e,title:i,id:o,active:s,disabled:a,target:l,href:c})=>T()(`li.tab${a?".disabled":""}${"fixed"===n?`.col.s${Math.floor(12/r.length)}`:""}`,{className:e},T()(`a[id=tab_${t(i,o)}]${s?".active":""}`,{target:l,href:c||`#${t(i,o)}`},i))))),r.filter(({href:e})=>void 0===e).map(({id:e,title:n,vnode:i,contentClass:r})=>T()(`.col.s12[id=${t(n,e)}]`,{className:r},i))])}}},ta=e=>e.charAt(0).toUpperCase()+e.slice(1),tl=(e,t=2,n="0")=>e.toString().length>=t?e.toString():tl(n+e,t,n),tc=e=>e?`${tl(e.getHours())}:${tl(e.getMinutes())}`:"00:00",tu=(e,t)=>{let n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i={...e};for(let t=0,r=n.length;te[o]===t).shift();if(!s)return;i=s}}}return i},th=e=>e.reduce((e,t)=>t instanceof Array?[...e,...t]:[...e,t],[]),td=/([^ =><]*)\s*([=><]*)\s*(\S*)/i,tp=/^\s*!\s*/,tf=/===?|[^<>=]/i,tm=function(e){var t=[].slice.call(arguments,1);return 0===e.length||(e instanceof Array?e:[e]).some(e=>{let n,i;return n=e,i=tf.test(e)?[t[0]]:th(t),n.split("&").reduce((e,t)=>{let n=tp.test(t),r=n?t.replace(tp,""):t;return e=e&&i.filter(Boolean).reduce((e,t)=>e||((e,t)=>{if(!t||0===Object.keys(t).length)return!1;let n=td.exec(e);if(n){let[e,i,r,o]=n,s=tu(t,i.trim());if(void 0===s||"string"==typeof s&&0===s.length)return!1;if(!r||!o)return!0;{let t=isNaN(+o)?"true"===o||"false"!==o&&o:+o;switch(r){case"=":case"==":case"===":return s instanceof Array?s.indexOf(t)>=0:s===t;case"<=":return s<=t;case">=":return s>=t;case"<":return s":return s>t;default:return console.error(`Unrecognized operand (${r}) in expression: ${e}`),!1}}}return!0})(r.trim(),t),!1),n?!e:e},!0)})},tg=(e,t)=>tu(t.filter(Boolean).reduceRight((e,t)=>({...t,...e})),e.trim()),tv=(e,t)=>void 0!==tg(e,t),ty=/{{\s*([^\s"'`:]*):?([^\s]*)\s*}}/g,tb=function(e){let t;if(!ty.test(e))return!0;ty.lastIndex=0;let n=!0;do(t=ty.exec(e))&&(t.index===ty.lastIndex&&ty.lastIndex++,t.forEach((e,t,[,i])=>{n=n&&tv(i,[].slice.call(arguments,1))}));while(n&&null!==t);return n},tw=(e,t)=>{if(void 0===e)return"";if(e instanceof Array)return e.map(e=>tw(e,t)).join(", ");if(!t)return e.toString();if("boolean"==typeof e){let n=t.indexOf(":");return e?t.substring(0,n):t.substring(n+1)}switch(t){default:return e.toString();case"date":return new Date(e).toLocaleDateString();case"time":return new Date(e).toLocaleTimeString();case"iso":return new Date(e).toISOString();case"utc":return new Date(e).toUTCString()}},t_=function(e){let t;if(!ty.test(e))return e;ty.lastIndex=0;do(t=ty.exec(e))&&(t.index===ty.lastIndex&&ty.lastIndex++,t.forEach((t,n,[i,r,o])=>{let s=tg(r,[].slice.call(arguments,1));!s||s instanceof Array||(e=e.replace(i,tw(s,o)))}));while(null!==t);return e},tE=e=>{if(null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array){let t=[];return e.forEach(e=>{t.push(e)}),t.map(e=>tE(e))}if("object"==typeof e){let t={...e};return Object.keys(t).forEach(e=>{t[e]=tE(t[e])}),t}return e},tx=(e="")=>e.replace(/\s|,|\./g,"").toLowerCase(),tk=(e,t,n=1)=>{let i=[];for(let r=e;r<=t;r+=n)i.push(r);return i},tT=e=>{"string"!=typeof e&&(e=JSON.stringify(e));let t=0;if(0===e.length)return t;for(var n=0;n{let i=Object.assign({},t,n);return`${e}?${Object.keys(i).map(e=>`${e}=${i[e]}`).join("&")}`},tC=()=>({view:({attrs:{md:e="",removeParagraphs:t=!1,externalLinks:n=!1,...i}})=>T()(".slimdown-view.markdown",i,T().trust(ex(e,t,n)))}),tA=()=>({view:({attrs:{type:e,props:t,label:n="",initialValue:i,inline:r=!1}})=>{let o={className:t.className||"col s12"};if(i instanceof Array&&i.length>3)return T()(".readonly",o,[T()("label",n),T()(tC,{md:"\n- "+i.join("\n- ")})]);if("string"==typeof i)return T()(".readonly",o,"url"===e?[T()("label",`${n.trim()}: `),T()("a[target=_blank]",{href:i},i)]:"color"===e?[T()("label",`${n.trim()}: `),T()(".color",{style:`height: 1rem; width: 40px; border-radius: 4px; background-color: ${i}`})]:[T()("label",n),T()(tC,{md:i})]);let s=i instanceof Array?i.join(", "):i;return T()(".readonly",o,[n&&T()("label",n),r?T()("span",s?`: ${s}`:T().trust(" ")):T()("p",s||T().trust(" "))])}}),tS=()=>{let e;let t={},n=(e,n)=>{let i=e instanceof Array?e.length:e.hasOwnProperty(n)?e[n].length:0,r=t.onNewItem?t.onNewItem(e,n,i):{};e instanceof Array?e.push(r):e.hasOwnProperty(n)?e[n].push(r):e[n]=[r]},i=e=>{e.preventDefault()};return{oninit:({attrs:{i18n:n={},field:{id:i="",sortProperty:r,onNewItem:o}}})=>{t.editLabel=n.editRepeat||`Edit ${String(i)}`,t.createLabel=n.createRepeat||`Create new ${String(i)}`,t.onNewItem=o,e=(e=>{if(!e)return(e,t)=>0;let t="!"===e[0],n=t?e.substring(1):e;return t?(e,t)=>e[n]>t[n]?-1:e[n]e[n]>t[n]?1:e[n]{let f,m;let{filterValue:g}=t,{id:v,label:y,type:b,min:w,max:_,pageSize:E,propertyFilter:x,filterLabel:k,readonly:O=h,repeatItemClass:C=""}=r,A=(f=o,m=v,f instanceof Array?f:(f.hasOwnProperty(m)||(f[m]=[]),f[m])),S=g?tx(g):void 0,N=x&&S&&S.length>2?A.filter(e=>tx(`${e[x]}`).indexOf(S)>=0):A,I=(e=>{let t=window.location.hash.split("?")[1];return t?new URLSearchParams(t).get(e):null})(String(v)),L=I?Math.min(N.length,+I):1,R=E&&N&&(L-1)*E=_),B=!u&&!O&&(!w||N.length>w),F=P?P.split("?")[0]:"",q=(e=>{let t=e?e.split("?")[1]:window.location.search.slice(1),n={};if(t){let e=t.split("&");for(var i=0;i{n(o,String(v)),v&&T().route.set(F,Object.assign(q,{[v]:N.length})),p&&p(o)},style:{padding:0},className:"left",disabled:u||j,readonly:O}),D>1&&T()(".right",T()(e6,{curPage:R,items:tk(1,D).map(e=>({href:tO(F,q,{[v]:e})}))})),(N.length>1||g)&&x&&!u&&T()(eY,{style:"margin-top: -6px; margin-bottom: -1rem;",iconName:"filter_list",iconClass:"small",placeholder:k,onkeyup:(e,n)=>t.filterValue=n,className:"right",disabled:u,readonly:O})])),N&&N.length>0&&"string"!=typeof b&&N.sort(e).filter(E?(e,t)=>(R-1)*E<=t&&t!0).map((e,n)=>T()(".mui-repeat-item",{key:n,draggable:U,ondragstart:U?e=>{var t,i;return t=e,i=n,void t.dataTransfer?.setData("text/plain",i.toString())}:void 0,ondragover:U?i:void 0,ondrop:U?e=>((e,t,n,i,r)=>{let o=parseInt(e.dataTransfer?.getData("text")||"0",10),s=[...n[i]],[a]=s.splice(o,1);s.splice(t,0,a),n[i]=s,r&&r(n),e.preventDefault()})(e,n,o,v,p):void 0,style:{display:"flex",cursor:U?"move":void 0}},[B&&[(!E||E>1)&&T()("span.mui-show-item-number left",{style:`flex: 0 0 ${H}px;`},`[${(E?(R-1)*E+n:n)+1}]`)],[T()(".row.repeat-item",{className:C,key:L+tT(e),style:"flex: 1;"},[b&&T()(tM,{form:b,obj:e,i18n:d,context:s instanceof Array?[o,...s]:[o,s],section:l,containerId:c,disabled:u,readonly:O,onchange:()=>p&&p(o)})])],B&&[T()(eH,{iconName:"delete",className:"mui-delete-item",iconClass:"mui-delete-icon",style:{flex:"0 0 20px",padding:0},disabled:u,readonly:O,onclick:()=>{t.curItemIdx=E?(R-1)*E+n:n}})]])),!(u||j||O||!N||0===N.length||1===E)&&T()(e$,{iconName:"add",className:"row mui-add-new-item btn-small right",title:y,style:"padding: 0; margin-top: -10px; margin-right: -25px",onclick:()=>{n(o,String(v)),T().route.set(F,Object.assign(q,{[v]:N.length})),p&&p(o)}})])],void 0!==t.curItemIdx&&T()(e3,{id:"deleteItem",onCreate:e=>e.open(),options:{onCloseStart:()=>{t.curItemIdx=void 0,T().redraw()}},fixedFooter:!0,title:d.deleteItem||"Delete item",description:T()(tM,{form:b,obj:N[t.curItemIdx],context:s instanceof Array?[o,...s]:[o,s],section:l,containerId:c,readonly:!0,i18n:d}),buttons:[{label:d.disagree||"Disagree"},{label:d.agree||"Agree",onclick:()=>{void 0!==t.curItemIdx&&(N.splice(t.curItemIdx,1),o instanceof Array?o=[...N]:o[v]=[...N],p&&p(o))}}]})]}}},tN=()=>{let e={};return{oninit:({attrs:{i18n:t={}}})=>{let{raw:n="RAW",view:i="VIEW"}=t;e.raw=n,e.view=i},view:({attrs:{field:{id:t="",type:n,onSelect:i},obj:r,context:o,containerId:s,disabled:a,readonly:l,i18n:c,onchange:u}})=>{if(r instanceof Array)return;let h=r[t],d=h?JSON.parse(h):void 0,p=d&&d.features||[],f=[],m={title:e.raw,vnode:T()(eK,{class:"col s12",initialValue:d?JSON.stringify(d,null,2):void 0,placeholder:"Enter GeoJSON",onchange:e=>r[t]=e})};if(!n||"string"==typeof n)return;let g=n.length>0?n[0].id:void 0,v={title:e.view,vnode:p.length?T()(eX,{oncreate:({dom:t})=>e.dom=t,onOpenStart:i?t=>{let n=e.dom.children||[];for(let e=0;e(e.properties||(e.properties={}),{id:"erik_"+i,key:i,header:g&&e.properties[g]||e.geometry.type,body:T()(".row",T()(tM,{class:"col s12",form:n,obj:e.properties,i18n:c,context:o instanceof Array?[r,...o]:[r,o],containerId:s,disabled:a,readonly:l,onchange:(e,n)=>{n&&(p[i].properties=n),r[t]=JSON.stringify(d,null,2),u&&u(r)}}))}))}):T()("span","...")};return f.push(v),f.push(m),T()(ts,{tabs:f,tabWidth:"fill"})}}},tI=((e={},t={})=>()=>{let n={key:Date.now()};return{view:({attrs:{i18n:i,field:r,obj:o,autofocus:s,onchange:a,context:l=[],containerId:c,disabled:u,readonly:h}})=>{let{id:d="",type:p,disabled:f=u,readonly:m=h,value:g,required:v,autogenerate:y,show:b,label:w,description:_,i18n:E=i||{},checkAllOptions:x,transform:k,effect:O,onkeyup:C,onkeydown:A,onblur:S}=r;if(b&&!tm(b,o,l)||w&&!tb(w,o,l)||_&&!tb(_,o,l))return;let N="string"==typeof r.options?tg(r.options,[o,...l]):r.options,I=N&&N instanceof Array?N.filter(e=>void 0!==e.id&&(e.label||isNaN(Number(e.id)))&&(!e.show||tm(e.show,o,l))).map(e=>e.label?e:{...e,label:ta(e.id)}):[],L="boolean"==typeof u&&u,R=((e,t=!1,n=!1)=>{let{id:i="",label:r,description:o,required:s,multiple:a,className:l,checkboxClass:c,icon:u,iconClass:h,placeholder:d,maxLength:p,minLength:f,max:m,min:g,step:v,dateTimeOutput:y,dateTimeSeconds:b,dateFormat:w,twelveHour:_}=e,E={id:`mui_${String(i)}-${ek()}`,label:r};return void 0===r&&i&&(E.label=ta(String(i))),o&&(E.helperText=ex(o,!0)),l&&(E.className=l),u&&(E.iconName=u),h&&(E.iconClass=h),c&&(E.checkboxClass=c),d&&(E.placeholder=d),s&&(E.isMandatory=!0),a&&(E.multiple=a),n&&(E.disabled=!0),t&&(E.autofocus=!0),void 0!==p&&(E.maxLength=p),void 0!==f&&(E.minLength=f),void 0!==m&&(E.max=m),void 0!==g&&(E.min=g),void 0!==v&&(E.step=v),y&&(E.dateTimeOutput=y),b&&(E.dateTimeSeconds=b),w&&(E.dateFormat=w),_&&(E.twelveHour=_),E})(r,s,"boolean"==typeof f||void 0===f?L||f:L||tm(f,o,l));w&&(R.label=ex(t_(R.label||w,o,l),!0)),_&&(R.description=ex(t_(R.description||_,o,l),!0));let P=v?e=>!(e instanceof Array)||e&&e.length>0:void 0;if(o instanceof Array)return void console.warn("Only a repeat list can deal with arrays!");let D=function(e){try{return void 0===e||"undefined"===e?(delete o[d],a(o),Promise.resolve()):(o[d]=k?k("to",e):e,O?Promise.resolve(O(o,o[d],l)).then(function(e){a(void 0!==e?e:o)}):Promise.resolve(a(o)))}catch(e){return Promise.reject(e)}};if(p instanceof Array)return d?(o.hasOwnProperty(d)||(o[d]={}),T()(".muf-form",{className:r.className},[T()(".muf-form-header",T().trust(ex(R.label||ta(String(d)),!0))),R.description&&T()("div",T().trust(ex(R.description))),T()(".row",T()(tM,{...R,i18n:E,readonly:m,form:p,obj:o[d],context:l instanceof Array?[o,...l]:[o,l],onchange:()=>a&&a(o),containerId:c}))])):void console.warn("Missing ID for type "+JSON.stringify(p));y&&!o[d]&&(o[d]="guid"===y?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}):"id"===y?ek():Date.now());let j=o.hasOwnProperty(d)&&void 0!==o[d]?k?k("from",o[d]):o[d]:g;d&&void 0!==g&&void 0!==j&&(o[d]=k?k("to",j):j);let[B,F]=x?x.split("|"):["",""];if(m&&p&&0>["md","none"].indexOf(p)){if(t.hasOwnProperty(p))return T()(t[p],{iv:j,field:r,props:R,label:R.label,obj:o,context:l});if(p&&e.hasOwnProperty(p))return T()(e[p],{iv:j,field:r,props:R,label:R.label,onchange:D,obj:o,context:l});switch(p){case"time":{let e=E.dateTimeOptions?{hour:"2-digit",minute:"2-digit",second:void 0,...E.dateTimeOptions,weekday:void 0,month:void 0,day:void 0,year:void 0}:void 0,t="number"==typeof j||"string"==typeof j||j instanceof Date?new Date(j):void 0,n=t?t.toLocaleTimeString(E.locales,e):"";return T()(tA,{props:R,label:R.label,initialValue:n})}case"date":{let e=E.dateTimeOptions?{...E.dateTimeOptions,hour:void 0,hour12:void 0,minute:void 0,second:void 0}:void 0,t="number"==typeof j||"string"==typeof j||j instanceof Date?new Date(j):void 0,n=t?t.toLocaleDateString(E.locales,e):"";return T()(tA,{props:R,label:R.label,initialValue:n})}case"datetime":{let e=E.dateTimeOptions?{hour:"2-digit",minute:"2-digit",month:"numeric",day:"numeric",...E.dateTimeOptions}:void 0,t="number"==typeof j||"string"==typeof j||j instanceof Date?new Date(j):void 0,n=t?t.toLocaleTimeString(E.locales,e):"";return T()(tA,{props:R,label:R.label,initialValue:n})}case"switch":case"checkbox":return T()(tA,{props:R,label:R.label,initialValue:j?"✔":"✘",inline:!0});case"tags":return T()(tA,{props:R,label:R.label,initialValue:j||[]});case"options":case"select":{let e=void 0!==j?j instanceof Array?j:[j]:[],t=I.filter(t=>e.indexOf(t.id)>=0),n=t&&0===t.length?"?":1===t.length?t[0].label:t.map(e=>e.label);return T()(tA,{props:R,label:R.label,initialValue:n})}case"radio":{let e=I.filter(e=>e.id===j);return T()(tA,{props:R,label:R.label,initialValue:e&&e.length?e[0].label:"?"})}case"base64":return!(!j||!/data:image/i.test(j))&&T()("div",T()("img.responsive-img",{src:j,alt:o.title||o.alt||o.name||"",style:`max-height: ${r.max||50}px`}));case"file":return T()("div",R,(j instanceof Array?j:[j]).map((e="")=>{let t=/data:image|.jpg$|.jpeg$|.png$|.gif$|.svg$|.bmp$|.tif$|.tiff$/i.test(e),n=`${new URL(r.url).origin}${e}`;return T()("a[target=_blank]",{href:n},t?T()("img",{src:n,alt:n,style:`max-height: ${r.max||50}`}):T()(tA,{props:R,label:r.placeholder||"File",initialValue:e}))}));case"md":case"markdown":{let e="string"==typeof j&&j?ex(j):"";return T()(tA,{props:R,label:R.label,initialValue:e})}default:return T()(tA,{props:R,type:p,label:R.label,initialValue:j})}}else{if(p&&e.hasOwnProperty(p))return T()(e[p],{iv:j,field:r,props:R,label:R.label,onchange:D,obj:o,context:l});switch(p){case"colour":case"color":return T()(eJ,{...R,initialValue:j,onchange:D,onblur:S});case"time":{let{twelveHour:e=!1}=R,t=j?"number"==typeof j||"string"==typeof j?new Date(j):j:new Date,n=tc(t);return o[d]=k?k("to",t):t,T()(te,{...R,twelveHour:e,initialValue:n,onchange:e=>{let n=e.split(":").map(e=>+e);t.setHours(n[0],n[1]),D(t)},container:c})}case"date":{let{format:e="mmmm d, yyyy"}=R,t="number"==typeof j||"string"==typeof j?new Date(j):j;o[d]=t?k?k("to",t.valueOf()):t.valueOf():t;let{min:n,max:i}=R,r=n?!t||nt.valueOf()?new Date(i):t:void 0;return T()(e7,{...R,minDate:r,maxDate:s,setDefaultDate:!!t,format:e,initialValue:t,onchange:e=>{D(new Date(e))},container:c})}case"datetime":{let{label:e,className:t="col s12",dateTimeSeconds:n=!1,twelveHour:i=!1,format:r="mmmm d, yyyy",...o}=R,s="number"==typeof j||"string"==typeof j?new Date(j):j,a={initialDateTime:s},l=s||void 0,u=s?tc(s):"",{min:h,max:d}=R,p=h?!s||hs.valueOf()?new Date(d):s:void 0,m=R.dateTimeOutput||"UTC",g=e=>{a.initialDateTime=e,D("UTC"===m?e.toUTCString():"ISO"===m?e.toISOString():e.valueOf())};return T()("div",{className:t},T()(".row",[T()(n?".col.s6":".col.s8",{style:"padding: 0"},T()(e7,{...o,label:e,minDate:p,maxDate:f,setDefaultDate:!!s,format:r,initialValue:l,container:c,onchange:e=>{let t=new Date(a.initialDateTime);t.setFullYear(e.getFullYear()),t.setMonth(e.getMonth()),t.setDate(e.getDate()),g(t)}})),T()(".col.s4",{style:"min-width: 6rem; padding-right: 0; padding-left: 0"},T()(te,{...o,label:"",helperText:"",twelveHour:i,initialValue:u,container:c,onchange:e=>{let t=e.split(":").map(e=>+e),n=a.initialDateTime||new Date((new Date).setSeconds(0,0));n.setHours(t[0],t[1]),g(n)}})),n&&T()(eZ,{style:"min-width: 4rem; padding-right: 0; padding-left: 0",className:"col s2",min:0,max:59,onchange:e=>{let t=a.initialDateTime||new Date((new Date).setSeconds(0,0));t.setSeconds(e,0),g(t)}})]))}case"email":return T()(e0,{...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeydown:A,onkeyup:C,onblur:S});case"number":return T()(eZ,{...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeydown:A,onkeyup:C,onblur:S});case"radio":return T()(tn,{label:"",...R,options:I,checkedId:j,onchange:D});case"checkbox":return T()(e2,{...R,checked:j,onchange:D});case"options":return[[T()(e5,{key:n.key,checkboxClass:"col s6 m4 l3",className:"input-field col s12",...R,disabled:R.disabled||!I||0===I.length,options:I,checkedId:j,onchange:e=>D(1===e.length?e[0]:e.filter(e=>null!==e))})],void 0!==x&&T()(".col.s12.option-buttons",[T()(eH,{disabled:R.disabled,label:B,iconName:"check",onclick:()=>{n.key=Date.now(),D(I.map(e=>e.id))}}),F&&T()(eH,{disabled:R.disabled,label:F,iconName:"check_box_outline_blank",onclick:()=>{let e=o[d]||[];e.length=0,n.key=Date.now(),D(e)}})])];case"select":return T()(ti,{placeholder:R.multiple?E.pickOneOrMore||"Pick one or more":E.pickOne||"Pick one",...R,disabled:R.disabled||!I||0===I.length,options:I,initialValue:j,onchange:e=>D(1!==e.length||R.multiple?e.filter(e=>null!==e||void 0!==e):e[0])});case"markdown":case"md":{let{label:e,className:t="col s12"}=R,n=t_((d?j:g||e)||"",o,l);return T()(tC,{md:n,className:t})}case"section":return T()(".divider");case"switch":{let e=I&&I.length>0?I[0].label:"",t=I&&I.length>1?I[1].label:"";return T()(to,{...R,left:e,right:t,checked:j,onchange:D})}case"tags":{let e=(j?j instanceof Array?j:[j]:[]).map(e=>({tag:e})),t=I&&I.length>0?{data:I.reduce((e,t)=>(e[t.id]=null,e),{}),limit:r.maxLength||1/0,minLength:r.minLength||1}:{},{label:n,isMandatory:i,className:o,helperText:s}=R;return T()(eU,{className:o,label:n,isMandatory:i,helperText:s,onchange:e=>D(e.map(e=>e.tag)),placeholder:r.placeholder||"Add a tag",secondaryPlaceholder:r.secondaryPlaceholder||"+tag",data:e,autocompleteOptions:t,onblur:S})}case"autocomplete":{let e=I&&I.length>0?{data:I.reduce((e,t)=>(e[t.id]=null,e),{}),limit:r.maxLength||1/0,minLength:r.minLength||1}:{data:{}},{label:t,isMandatory:n,className:i,helperText:o}=R;return T()(eD,{initialValue:j,className:i,label:t,isMandatory:n,helperText:o,onchange:D,onblur:S,placeholder:r.placeholder||"...",...e})}case"textarea":return T()(eK,{...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeyup:C,onkeydown:A,onblur:S});case"file":{let{url:e,placeholder:t}=r;if(!e)throw Error('Input field "url" not defined, which indicates the URL to the upload folder.');let n=I?I.map(e=>e.id):void 0;return T()(e1,{...R,accept:n,placeholder:t,onchange:t=>{if(!t||t.length<1)return void D("");let n=new FormData;n.append("file",t[0]),T().request({method:"POST",url:e,body:n}).then(e=>D(e)).catch(console.error)},initialValue:j})}case"base64":{let e=!(!j||!/data:image/i.test(j)),{placeholder:t}=r,n=I?I.map(e=>e.id).join(","):void 0;return e?T()("div",[T()("img.responsive-img",{src:j,alt:o.title||o.alt||o.name||"",style:`max-height: ${r.max||50}px`}),T()(eH,{iconName:"clear",onclick:()=>D("")})]):T()(e1,{...R,accept:n,placeholder:t,onchange:e=>{if(!e||e.length<1)return void D("");let t=new FileReader;t.onloadend=()=>{"string"==typeof t.result&&D(t.result),T().redraw()},t.readAsDataURL(e[0])},initialValue:j})}case"url":return T()(eQ,{placeholder:"http(s)://www.example.com",...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeydown:A,onkeyup:C,onblur:S});case"text":return T()(eY,{...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeydown:A,onkeyup:C,onblur:S});default:return}}}}})({},{}),tM=()=>({view:({attrs:{i18n:e,form:t,obj:n,onchange:i,disabled:r,readonly:o,context:s,section:a}})=>{let l=e=>{let n;return i&&i((n=e,t.filter(e=>e.required&&(e.id,!0)).reduce((e,t)=>e&&!(t.id&&(void 0===n[t.id]||n[t.id]instanceof Array&&0===n[t.id].length||"string"==typeof n[t.id]&&0===n[t.id].length)),!0)),e)};return t.filter((e=>{if(!e)return e=>!0;let t=!1;return({type:n,id:i})=>"section"===n?(t=i===e,!1):t})(a)).filter(e=>!e.show||tm(e.show,n,...s||[])).reduce((t,i)=>(i.type||(i.type=(e=>{let{autogenerate:t,value:n,options:i}=e;return t?"none":n?"string"==typeof n?"md":"number"==typeof n?"number":"boolean"==typeof n?"checkbox":"none":i&&i.length>0?"select":"none"})(i)),[...t,void 0===i.repeat||!1===i.repeat?T()(tI,{i18n:e,field:i,obj:n,onchange:l,disabled:r,readonly:o,context:s,section:a,containerId:"body"}):T()("geojson"===i.repeat?tN:tS,{obj:n,field:i,onchange:l,context:s,i18n:e,containerId:"body",disabled:r,readonly:o})]),[])}});function tL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&void 0!==arguments[0]?arguments[0]:new Date,t=new Date(e);return"".concat(t.getFullYear(),"-").concat(q(t.getMonth()+1),"-").concat(q(t.getDate()))},t$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"and",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],r=e.filter(function(e){return e});return 0===r.length?"":n+(1===r.length?r[0]:"".concat(r.slice(0,r.length-1).map(function(e,t){return 0!==t&&void 0!==e&&i?e.toLowerCase():e}).join(", ")," ").concat(t," ").concat(i?r[r.length-1].toLowerCase():r[r.length-1]))},tU=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(e>t)throw Error("Start number must be less than or equal to the end number.");if(n<=0)throw Error("Step size must be a positive number.");return Array.from({length:Math.floor((t-e)/n)+1},function(t,i){return e+i*n})},tz=function(e){if(0!==e.length){var t=Math.floor(Math.random()*e.length);return e[t]}},tX=function(e){if(null===e)return e;if(tR(e,Date))return new Date(e.getTime());if(tR(e,Array)){var t=[];return e.forEach(function(e){t.push(e)}),t.map(function(e){return tX(e)})}if((void 0===e?"undefined":tB(e))==="object"){var n=tP({},e);return Object.keys(n).forEach(function(e){n[e]=tX(n[e])}),n}return e},tW=function(e){var t=[parseInt(e[1]+e[2],16),parseInt(e[3]+e[4],16),parseInt(e[5]+e[6],16)];return .2126*t[0]+.7152*t[1]+.0722*t[2]<20?"#ffffff":"#000000"},tV=function(e,t){var n,i=(null===(n=e.scenario)||void 0===n?void 0:n.label)||"scenario_spark";return t&&(i+="_".concat(t)),"".concat(i.replace(/\s/g,"_"),"_v").concat(q(e.version||1,3),"_").concat(tH())},tK=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.categories,i=e.components,r=e.inconsistencies,o=0;do{var s=function(){var e=tP({},t),o=!0,s=!1,a=void 0;try{for(var l,c=n[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){var u=function(){var t=l.value,n=i.filter(function(e){return t.componentIds&&t.componentIds.includes(e.id)}).map(function(e){var t=e.values?e.values.reduce(function(e,t){return e+(r[t.id]?Object.keys(r[t.id]).length:0)},0):0;return tD(tP({},e),{inc:t})}).sort(function(e,t){return e.inc>t.inc?-1:1}),o=[],s=!0,a=!1,c=void 0;try{for(var u,h=n[Symbol.iterator]();!(s=(u=h.next()).done);s=!0){var d=function(){var t=u.value;if(e.hasOwnProperty(t.id)){var n=e[t.id];if(n&&n.length){if(n.some(function(e){return o.includes(e)}))return{v:!1};n.forEach(function(e){r[e]&&Object.keys(r[e]).forEach(function(t){return r[e][t]&&o.push(t)})})}return"continue"}var i=t.values&&t.values.map(function(e){return e.id}).filter(function(e){return!o.includes(e)});if(!i||0===i.length)return{v:!1};var s=tz(i);if(!s)return{v:!1};r[s]&&Object.keys(r[s]).forEach(function(e){return r[s][e]&&o.push(e)}),e[t.id]=[s]}();if("object"===tB(d))return{v:d.v}}}catch(e){a=!0,c=e}finally{try{!s&&null!=h.return&&h.return()}finally{if(a)throw c}}}();if("object"===tB(u))return u.v}}catch(e){s=!0,a=e}finally{try{!o&&null!=c.return&&c.return()}finally{if(s)throw a}}return e}();if(s)return{id:C(),components:s,included:!1};o++}while(o<100);return!1},tG=function(e,t){t&&t.preventDefault();var n=document.getElementById(e);n?n.scrollIntoView({behavior:"smooth"}):console.log("Element with id ".concat(e," not found."))},tY=function(){window.scrollTo({top:0,behavior:"smooth"})},tZ=function(e,t){var n=e.components,i=tP({components:{}},function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i=0)&&(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}}return r}(e,["components"]));return t.filter(function(e){return n.hasOwnProperty(e.id)}).forEach(function(e){i.components[e.id]=n[e.id].filter(function(t){var n;return null===(n=e.values)||void 0===n?void 0:n.find(function(e){return e.id===t})})}),i},tQ=function(e){return e.map(function(e){return tD(tP({},e),{group:e.included?E("GROUP","SELECTED"):E("GROUP","UNSELECTED")})}).sort(function(e,t){return e.included&&t.included?(e.label||"").localeCompare(t.label):e.included?-1:1})},tJ=["#2c7bb6","#abd9e9","#ffffbf","#fdae61","#d7191c"],t0=function(e){var t=btoa(e);return"data:image/svg+xml;base64,".concat(t)},t1=function(e,t){var n=.1*t;return'\n ')},t2=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=1,i=e.match(/^(.*?)(\d+)$/);i&&(e=i[1].trim(),n=parseInt(i[2])+1);for(var r="".concat(e," ").concat(n);t.includes(r);)n++,r="".concat(e," ").concat(n);return r};function t5(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]2&&void 0!==i[2]&&i[2],localStorage.setItem(tq,"false"),t.lastUpdate=Date.now(),!n)return[3,2];if(o=t.scenario,console.log("Validating scenario"),!o||(!o.inconsistencies&&(o.inconsistencies={}),!o.categories&&(o.categories=[]),!o.components&&(o.components=[]),!o.narratives&&(o.narratives=[]),o.narratives=o.narratives.map(function(e){return tZ(e,o.components)}),void 0===o.hideInconsistentValues&&(o.hideInconsistentValues=!0),!o.thresholdColors&&(o.thresholdColors=ec),o.narratives.forEach(function(e){!e.components&&(e.components={}),!e.id&&(e.id=C()),!e.label&&(e.label="UNKNOWN")}),o.categories.forEach(function(e){!e.componentIds&&(e.componentIds=[]),!e.id&&(e.id=C()),!e.label&&(e.label="UNKNOWN")}),o.components.forEach(function(e){!e.values&&(e.values=[]),!e.id&&(e.id=C()),!e.label&&(e.label="UNKNOWN")}),0))return alert(E("JSON_NOT_VALID")),[2];return[4,eb.set(t8,JSON.stringify(t))];case 1:return r.sent(),e.update({model:function(){return t},activeTooltip:"",title:t.scenario.label,curNarrative:function(){},excludedComps:function(){return{}},lockedComps:function(){return{}}}),[3,4];case 2:return[4,eb.set(t8,JSON.stringify(t))];case 3:r.sent(),e.update({model:function(){return t}}),r.label=4;case 4:return localStorage.setItem(tq,"false"),[2]}})}),function(e,t){return a.apply(this,arguments)});var nn=(l=t4(function(e,t){var n;return t6(this,function(i){return n=e.getState().model,!t.id&&(t.id=C()),n.scenario.narratives?t.saved?n.scenario.narratives=n.scenario.narratives.map(function(e){return e.id!==t.id?e:t}):(t.saved=!0,n.scenario.narratives.push(t)):(t.saved=!0,n.scenario.narratives=[t]),e.update({curNarrative:function(){return t}}),nt(e,n),[2]})}),function(e,t){return l.apply(this,arguments)});var ni=(c=t4(function(e,t){return t6(this,function(n){switch(n.label){case 0:if(!t.saved)return[3,2];return[4,nn(e,t)];case 1:n.sent(),n.label=2;case 2:return e.update({curNarrative:t}),[2]}})}),function(e,t){return c.apply(this,arguments)}),nr=function(e,t,n,i){var r,o=e.state.model,s=o.scenario.components.filter(function(e){return e.id===t}).shift();if(!s){console.error("Scenario component not found!");return}var a=s.values,l=void 0===a?[]:a;s.values="update"===i?l.map(function(e){return e.id===n.id?n:e}):"delete"===i?l.filter(function(e){return e.id!==n.id}):((function(e){if(Array.isArray(e))return t5(e)})(r=l)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return t5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t5(e,t)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([n]),"delete"===i&&(o.scenario.narratives=o.scenario.narratives.map(function(e){return tZ(e,o.scenario.components)})),nt(e,o)},no=function(e,t,n,i,r){var o=e.state.model,s=o.scenario.components.filter(function(e){return e.id===t}).shift();if(!s){console.error("Scenario component not found!");return}var a=s.values,l=void 0===a?[]:a,c=l.find(function(e){return e.id===n});if(!!c)l.find(function(e){return e.id===i})&&(s.values=l.filter(function(e){return e.id!==n}).reduce(function(e,t){return t.id===i?r?(e.push(c),e.push(t)):(e.push(t),e.push(c)):e.push(t),e},[]),nt(e,o))};var ns=(u=t4(function(){var e,t=arguments;return t6(this,function(n){switch(n.label){case 0:return e=t.length>0&&void 0!==t[0]?t[0]:nw.currentLocale,localStorage.setItem(tF,e),[4,nw.loadAndSetLocale(e)];case 1:return n.sent(),[2]}})}),function(){return u.apply(this,arguments)});var na=(h=t4(function(e){var t,n,i,r;return t6(this,function(o){switch(o.label){case 0:return[4,eb.get(t8)];case 1:return t9(r=(null===(t=(i=(n=o.sent())?JSON.parse(n):eu).scenario)||void 0===t?void 0:t.label)||""),e({model:function(){return function(e){for(var t=1;t1?s:s[0],i[e]=o}return o=o.pop?function(e,t,n,i){for(var r=i.array?e.slice():e[0],o=e.length,s=1;s0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=0}(e)?e:nw.defaultLocale,nw.currentLocale=t,E=nd("nl"===e?ny:nv,{debug:!0,array:!0,resolveAliases:!0,pluralize:np.plural_EN,useKeyForMissingTranslation:!0}),nw.i18n={editRepeat:E("i18n","editRepeat"),createRepeat:E("i18n","createRepeat"),deleteItem:E("i18n","deleteItem"),agree:E("i18n","agree"),disagree:E("i18n","disagree"),pickOne:E("i18n","pickOne"),pickOneOrMore:E("i18n","pickOneOrMore"),cancel:E("i18n","cancel"),save:E("i18n","save")},nb.forEach(function(e){return e(nw.currentLocale,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nw.currentLocale;return nw.locales[e].dir||"ltr"}())}),[2]})})).apply(this,arguments)}let nk=n.p+"e8244ad7ec8b2937.png",nT=n.p+"ec3f975a962f44ff.png";function nO(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}var nC=(p=(d=function(){var e,t=arguments;return function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&void 0!==t[0]?t[0]:nw.currentLocale,localStorage.setItem(tF,e),[4,nw.loadAndSetLocale(e)];case 1:return n.sent(),[2]}})},function(){var e=this,t=arguments;return new Promise(function(n,i){var r=d.apply(e,t);function o(e){nO(r,n,i,o,s,"next",e)}function s(e){nO(r,n,i,o,s,"throw",e)}o(void 0)})}),function(){return p.apply(this,arguments)}),nA=function(){return{view:function(e){var t,n,i=e.children,r=e.attrs,o=function(e){return r.state.page===e.id?".active":""},s=ch.getList().filter(function(e){var t,n;return("boolean"==typeof e.visible?e.visible:e.visible(null===(n=r.state)||void 0===n?void 0:null===(t=n.model)||void 0===t?void 0:t.scenario))||o(e)}),a=nw.currentLocale;return T()(".main",{style:"overflow-x: hidden"},[T()(".navbar-fixed",{style:"z-index: 1001"},T()("nav",T()(".nav-wrapper",[T()("a.brand-logo[href=#].show-on-large",{style:"margin-left: 20px"},[T()("img[width=140][height=60][src=".concat(ef,"][alt=TNO]"),{style:"margin-top: 5px; margin-left: -5px;"}),T()(".title.show-on-med-and-up.black-text.truncate",null===(n=r.state.model)||void 0===n?void 0:null===(t=n.scenario)||void 0===t?void 0:t.label)]),T()(T().route.Link,{className:"sidenav-trigger","data-target":"slide-out",href:T().route.get()},T()(G,{iconName:"menu",className:"hide-on-large-and-up black-text",style:"margin-left: 5px;"})),T()("ul#dropdown_languages.dropdown-content",[T()("li",T()("a",{href:"#!",onclick:function(){return nC("nl")}},[T()("img",{src:nk,alt:"Nederlands",title:"Nederlands",disabled:"nl"===a,class:"nl"===a?"disabled-image":"clickable"}),"Nederlands"])),T()("li",T()("a",{href:"#!",onclick:function(){return nC("en")}},[T()("img",{src:nT,alt:"English",title:"English",disabled:"en"===a,class:"en"===a?"disabled-image":"clickable"}),"English"]))]),T()("ul#slide-out.sidenav.hide-on-large-and-up",{oncreate:function(){var e=document.querySelectorAll(".sidenav");M.Sidenav.init(e)}},s.map(function(e){return T()("li.tooltip".concat(o(e),".unselectable"),[T()("a",{href:ch.href(e.id)},T()(G,{className:e.iconClass?" ".concat(e.iconClass):"",iconName:"string"==typeof e.icon?e.icon:e.icon()}),("string"==typeof e.title?e.title:e.title()).toUpperCase())])}),T()("li.tooltip.language-settings.unselectable",[T()("a.dropdown-trigger",{href:"#!","data-target":"dropdown_languages",oncreate:function(e){var t=e.dom;M.Dropdown.init(t)}},T()(G,{iconName:"language",className:"hoverable",style:"font-size: 2.2rem; width: 4rem;"}),T()("span.tooltiptext",E("SET_LANGUAGE").toUpperCase()))])),T()("ul.right.hide-on-med-and-down",s.map(function(e){return T()("li.tooltip".concat(o(e),".unselectable"),[T()(G,{className:"hoverable"+(e.iconClass?" ".concat(e.iconClass):""),style:"font-size: 2.2rem; width: 4rem;",iconName:"string"==typeof e.icon?e.icon:e.icon(),onclick:function(){return ne(r,e.id)}}),T()("span.tooltiptext",("string"==typeof e.title?e.title:e.title()).toUpperCase())])}),T()("li.tooltip.language-settings.unselectable",[T()("a.dropdown-trigger",{href:"#!","data-target":"dropdown_languages",oncreate:function(e){var t=e.dom;M.Dropdown.init(t)}},T()(G,{iconName:"language",className:"hoverable",style:"font-size: 2.2rem; width: 4rem;"}),T()("span.tooltiptext",E("SET_LANGUAGE").toUpperCase()))]))]))),T()(".container",i)])}}};let nS=n.p+"094cb0b3bbf09476.png",nN=n.p+"c74483ed5cfc0c92.png",nI=n.p+"c4f17dae74c10fe5.png",nM=n.p+"c03c2e1f7852da96.png",nL=n.p+"bb94794d7d411f8a.png",nR=n.p+"7dcc9881475f4790.png";var nP="_ScenarioSpark is ontwikkeld als ondersteunend instrument voor de methode “Risicomanagement Integrale Beveiliging”. Specifiek biedt ScenarioSpark vooral ondersteuning bij de uitvoering van stap 2 van deze methode. Het betreft de stap waarin onder meer de te behandelen dreigingsscenario’s voor de TBB’s worden bepaald._\n\n![De zes stappen van de methode “Risicomanagement Integrale Beveiliging”](".concat(nS,")"),nD="### Het ontwikkelen van creatieve scenario’s\n\nNavigeer in het hoofdmenu naar ‘maak scenario’.\n\n![Menubalk met instellingen](".concat(nN,")\n![Model en inconsistenties](").concat(nL,")\n\nDe pagina bestaat uit een aantal componenten:\n\n1. Drie knoppen: ‘genereer’, ‘wis’ en 'bewaar’;\n2. Een drop down menu waarin eerder gegenereerde scenario’s weer opgeroepen kunnen worden;\n3. De factoren waaruit de morfologische box is opgebouwd;\n4. Een ‘slotje’ achter ieder van de factoren;\n5. Een beschrijvende titel die kan worden toegekend aan het scenario;\n6. Een vinkje dat aangeeft of het scenario is geselecteerd voor evaluatie;\n7. Een tekst vak waarin de scenariostam verder kan worden uitgewerkt, eventueel met opmaak en/of afbeeldingen.\n\nDoor op ‘genereer’ te klikken wordt er aan de hand van de morfologische box een scenario gegeneerd waarbij random een optie wordt toegekend aan elk van de factoren. De gebruiker heeft een aantal mogelijkheden:\n\n1. Het scenario houden zoals is gegenereerd door de morfologische box;\n2. Enkele factoren vastzetten door middel van het slotje en nieuwe opties genereren voor de andere factoren door opnieuw op ‘genereer’ te klikken;\n3. Een scenario wijzigen of aanvullen door zelf een optie te kiezen voor een factor of meerdere opties te selecteren voor een factor;\n4. Een compleet nieuw scenario door de tool laten genereren;\n5. Een eigen scenario te cre\xebren door handmatig optie(s) voor elke factor te selecteren.\n\nIndien de gebruiker tevreden is met het gegenereerde scenario kan ervoor worden gekozen het scenario toe te voegen aan de lijst met de te evalueren dreigingsscenario’s. Het scenario kan worden uitgeschreven tot een verhaal en er kan een titel worden gegeven om het scenario herkenbaar en ondubbelzinnig te maken.\n\n### Het samenstellen van een beperkte, maar toch representatieve set van scenario’s.\n\n#### Modus uitsluiten inconsistenties\n\nSommige combinaties van opties van factoren zijn onmogelijk of onwaarschijnlijk. Denk bijvoorbeeld aan een cybercrimineel (actor) die fysieke informatie steelt (doelwit) door middel van een ramvoertuig (middel/ wapen). Om deze reden is er in ScenarioSpark een kruistabel toegevoegd die weergeeft wanneer combinaties van opties van factoren mogelijk, onmogelijk of onwaarschijnlijk zijn. Wanneer de modus ‘uitsluiten inconsistenties’ is aangevinkt in instellingen, is het niet mogelijk om handmatig een optie voor een factor te kiezen die onmogelijk of onwaarschijnlijk is in combinatie met de reeds geselecteerde opties voor de andere factoren."),nj="### Aanpassen morfologische box\n\nHet aanpassen van de morfologische box kan worden gedaan in ‘instellingen’ onder het kopje ‘model’.\n\n![Menubalk met instellingen](".concat(nI,")\n\n### Aanpassen categorie\xebn\nDoor het instellen van categorie\xebn kan de morfologische box in meerdere delen worden gesplitst (zoals dreigingen, objecten, omstandigheden). Deze mogelijkheid wordt niet gebruikt binnen de context van de Tweede Kamer.\n\n### Selectie getoonde factoren\n\nIn dit drop down menu kan een selectie worden gemaakt van de factoren die meegenomen worden in de morfologische box.\n\n### Aanpassen factoren\n\nNieuwe factoren kunnen worden toegevoegd door op het plusje naast ‘factoren’ te klikken. Er dienen een aantal gegevens te worden ingevuld:\n\n1. Volgorde (de plek in de morfologische box waar de factor komt te staan);\n2. Manuele mode (bij het automatisch genereren van een scenario wordt deze factor overgeslagen, en dient dus manueel gekozen te worden);\n3. Naam;\n4. Omschrijving.\n\nFactoren kunnen worden gewijzigd door naar de desbetreffende factor te navigeren. Factoren kunnen worden verwijderd door aan de rechterkant op het kruisje te klikken.\n\n### Aanpassen opties binnen factoren\n\nHet aanpassen van opties binnen factoren gebeurt op de pagina van de morfologische box zelf.\n\n![Genereren van varianten](").concat(nM,")\n\nEr kunnen nieuwe opties worden toegevoegd en bestaande opties worden gewijzigd of verwijderd. Om een nieuwe optie toe te voegen dient geklikt te worden op het plusje naast de factor, die tevoorschijn komt door met de muis over de factor te hoveren. Een optie kan worden bewerkt of verwijderd door op het pennetje te klikken dat tevoorschijn komt door met de muis over de optie te hoveren.\n\n### Aanpassen consistenties\n\nHet aanpassen van consistenties kan door op de pagina ‘instellingen’ te navigeren naar ‘bewerk inconsitenties’.\n\n![Model en inconsistenties](").concat(nR,")\n\nScenarioSpark beschikt over een kruistabel waarin voor alle combinaties van opties van factoren is aangegeven of het mogelijk, onwaarschijnlijk of onmogelijk is. Dit kruistabel dient handmatig te worden aangepast. Er kan een rij en een kolom worden gekozen, die beiden een factor representeren. Vervolgens kan worden aangegeven per combinatie van de opties van de factoren of de combinatie als mogelijk, onmogelijk of onwaarschijnlijk wordt geacht. Hoe meer factoren er zijn, hoe meer combinaties moeten worden gecheckt. Houd er dus rekening mee dat dit de nodige tijd in beslag neemt. Indien een nieuwe optie wordt toegevoegd aan een factor in de morfologische box, dient voor de nieuwe optie alle combinaties met bestaande opties van andere factoren beoordeeld te worden.\n\nLet op: na het toevoegen van nieuwe opties in de morfologische box wordt geen enkele combinatie met deze nieuwe optie uitgesloten. Indien u wilt voorkomen dat niet-realistische scenario’s worden gegeneerd in de scenariogenerator, dient u handmatig de niet- realistische combinaties hier af te vinken.\n\n### Aanpassen kleurweergave\n\nMet behulp van kleuren kan voor de opties in de morfologische box worden aangegeven hoe vaak deze is gebruikt in een scenario. De keuze van de gebruikte kleuren, het aantal verschillende kleuren en de bandbreedtes waarin dezelfde kleur gegeven wordt, kan naar vrijheid worden ingevuld. Een optie krijgt de kleur van de bandbreedte als het aantal keer dat deze voorkomt groter of gelijk is aan het getal dat wordt ingevoerd als drempelwaarde bij de bandbreedte, zolang er geen hogere drempelwaarde bestaat waar dit ook voor geldt.\n\n### Aanpassen taal\n\nDe taalinstelling van de tool kan worden aangepast door de gewenste vlag op de homepagina te selecteren, of het menu rechtsboven te gebruiken."),nB=function(){return{oninit:function(e){return t7(e.attrs,O.ABOUT)},view:function(){var e=/#([a-zA-Z]*)/.exec(T().route.get());return e&&e.length>0&&setTimeout(function(){return tG(e[1])},0),T()(".markdown",[T()("aside#toc",[T()(".center-align",[T()("ul.list-inline",[T()("li",T()("a",{href:"#goal",onclick:function(e){return tG("goal",e)}},"Doel van ScenarioSpark")),T()("li"," | "),T()("li",T()("a",{href:"#usage",onclick:function(e){return tG("usage",e)}},"Hoe te gebruiken")),T()("li"," | "),T()("li",T()("a",{href:"#settings",onclick:function(e){return tG("settings",e)}},"Beheer")),T()("li"," | "),T()("li",T()("a",{href:"#security",onclick:function(e){return tG("security",e)}},"Security"))])])]),T()("main",[T()("header",[T()("h1","Achtergrond"),T().trust(ex(nP))]),T()("section#goal",[T()("h2","Doel van ScenarioSpark"),T().trust(ex("ScenarioSpark is ontwikkeld om de risicomanager te ondersteunen in twee uitdagingen:\n\n- Het op een creatieve manier ontwikkelen van plausibele scenario’s;\n- Het samenstellen van een beperkte, maar toch representatieve set van scenario’s.\n\n### Het ontwikkelen van creatieve scenario’s\n\nZoals we in het recente verleden hebben gezien, blijven terroristen en andere criminelen voortdurend nieuwe manieren bedenken om onze samenleving aan te vallen. Voor een goede beveiliging is het belangrijk dat we niet alleen bekende dreigingen beoordelen, maar ook creatieve dreigingsscenario's bedenken om buiten de gebaande paden te denken. Dit is makkelijker gezegd dan gedaan, omdat recente ervaringen vaak onze gedachten sturen. ScenarioSpark is ontwikkeld om hierin te ondersteunen door willekeurig (dus niet be\xefnvloed door vooroordelen of ervaringen uit het verleden) potentieel valide scenariostammen te genereren. Op basis van de gegenereerde suggesties kan de gebruiker vervolgens bepalen welke interessant zijn om uit te werken en in de risicoanalyse mee te nemen.\n\n### Het samenstellen van een beperkte, maar toch representatieve set van scenario’s\n\nHet maken van een compleet overzicht van alle risico’s in alle situaties op alle te beschermen belangen is in het algemeen niet realistisch. Er zijn immers zoveel variaties mogelijk dat volledige analyse hiervan niet haalbaar is. In de praktijk wordt daarom getracht een beperkte set scenario’s te kiezen waarmee toch een goed, representatief beeld ontstaat van alle mogelijke risico’s.\n\nScenarioSpark ondersteunt hierin door inzicht te geven in welke mate een set geselecteerde scenario’s de totale risico-ruimte afdekt en welke overlappen er in die set zitten. Hiertoe wordt gebruik gemaakt van een zogenaamde ‘morfologische box’. Dat is een matrix waarin de kolommen worden gevormd door alle relevante factoren die een scenario karakteriseren, en waarin de rijen worden gevormd door de opties voor ieder van die factoren (de mogelijke waarden die de factoren kunnen aannemen). In ScenarioSpark wordt een scenario gekarakteriseerd door de keuze van \xe9\xe9n of meer opties voor iedere factor.\n\nUit alle gegenereerde of gedefinieerde scenario’s kan de gebruiker de scenario’s selecteren die worden toegevoegd aan de set met te evalueren dreigingsscenario’s. In de morfologische box wordt aan de hand van een kleurcodering aangegeven hoe vaak bepaalde opties voorkomen in deze set.\n\nOp deze wijze kan met ScenarioSpark een set scenario’s worden samengesteld waarin de te analyseren factoren van risico’s zo effici\xebnt mogelijk worden behandeld in de (beperkte) set met scenario’s. Bovendien wordt voorkomen dat belangrijke factoren over het hoofd worden gezien."))]),T()("section#usage",[T()("h2","Hoe te gebruiken"),T().trust(ex(nD))]),T()("section#settings",[T()("h2","Beheer"),T().trust(ex(nj))]),T()("section#security",[T()("h2","Security"),T().trust(ex("Omdat de informatie die in ScenarioSpark wordt gezet vertrouwelijk kan zijn, is bij het ontwerp van deze applicatie hiermee rekening gehouden door de volgende uitgangspunten te hanteren:\n\n- ScenarioSpark wordt geladen vanaf een website. De enige informatie die hierbij over het net gaat, is de werking van het programma. Eenmaal ingeladen in de computer, is een verbinding met internet dus ook niet meer noodzakelijk;\n- Alle informatie die door ScenarioSpark wordt gebruikt, blijft op de computer van de gebruiker (hetzij in de Browsercache, hetzij in een bewaard bestand). De mate van beveiliging van deze gegevens is hiermee gelijk aan de mate van beveiliging van de betreffende computer en volledig controleerbaar door de beheerder van de betreffende computer. Dit betreft zowel de gebruikersinstellingen, de opzet van de morfologische box, als de scenario’s.\n- Het programma biedt de mogelijkheid deze informatie op te slaan en in te lezen. De informatie wordt altijd opgeslagen in de download map van de browser (dit is de enige map waarvoor de browser schrijfrechten heeft). Het inlezen van een bestand kan vanaf elke locatie.\n"))])])])}}};let nF=n.p+"17ba83f71583172b.webp";function nq(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}function nH(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){nq(o,i,r,s,a,"next",e)}function a(e){nq(o,i,r,s,a,"throw",e)}s(void 0)})}}function n$(e){for(var t=1;t0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=0)&&(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}}return r}(e.attrs,["components","narratives"]),o=n.reduce(function(e,t){return t.values&&t.values.forEach(function(t){e[t.id]=t.label}),e},{});return T()(".table-container",T()(".table",T()("table.responsive-table.highlight",[T()("thead",T()("tr",T()("th",{style:"text-align: right"},E("NAME")),n.map(function(e){return T()("th",e.label)}))),T()("tbody",(void 0===i?[]:i).map(function(e){var t;return T()("tr",T()("th.bold",{style:"text-align: left"},T()("a",{href:ch.href(O.SHOW_SCENARIO),onclick:function(){r.update({curNarrative:function(){return e}})}},(t=e.label)&&t.charAt(0).toUpperCase()+t.slice(1))),n.map(function(t){return e.components[t.id]&&e.components[t.id].length>0?T()("td",T().trust(e.components[t.id].map(function(e){return o[e]||'Missing component ID: '.concat(e,"")}).join(", "))):e[t.id]?T()("td",o[e[t.id]]):T()("td.center-align.missing",T()(G,{iconName:"clear",className:"red-text"}))}))}))])))}}},nW=function(){var e=window.File&&window.FileReader&&window.FileList&&window.Blob,t=0,n=!1;return{oninit:function(e){t7(e.attrs,O.HOME)},view:function(i){var r=i.attrs,o=r.state,s=o.model,a=o.language,l=s.scenario,c=l.narratives,u=l.components,h=l.categories,d=(void 0===c?[]:c).filter(function(e){return e.included}).sort(function(e,t){return(e.label||"").localeCompare(t.label)});return[T()("div",{style:"padding-top: 1rem;position: relative;"},[d.length>0&&h.length>0&&[T()(".row",T()(".col.s12",[T()("h4",E("SAVED_NARRATIVES"))])),h.length>1?T()(el,{tabs:h.map(function(e){return{title:e.label,vnode:T()(nX,nU(n$({},r),{narratives:d,components:u.filter(function(t){return e.componentIds&&e.componentIds.includes(t.id)})}))}})}):T()(".narratives",T()(nX,nU(n$({},r),{narratives:d,components:u.filter(function(e){return h[0].componentIds&&h[0].componentIds.includes(e.id)})})))],0===d.length&&T()(".row",T()(".col.s12.center-align",T()("img.responsive-img.center[alt=fountain pen]",{src:nF}))),T()(".buttons.center",{style:"margin: 10px auto;"},[[T()(".language-option",{onclick:function(){return ns("nl")}},[T()("img",{src:nk,alt:"Nederlands",title:"Nederlands",disabled:"nl"===a,class:"nl"===a?"disabled-image":"clickable"}),T()("span","Nederlands")]),T()(".language-option",{onclick:function(){return ns("en")}},[T()("img",{src:nT,alt:"English",title:"English",disabled:"en"===a,class:"en"===a?"disabled-image":"clickable"}),T()("span","English")])],T()(Q,{iconName:"clear",disabled:!1,className:"btn-large",label:E("NEW_MODEL","btn"),modalId:"clearAll"}),T()("a#downloadAnchorElem",{style:"display:none"}),T()(Q,{iconName:"download",disabled:!1,className:"btn-large",label:E("DOWNLOAD"),onclick:function(){var e=document.getElementById("downloadAnchorElem");if(!!e){var t=void 0===s.version?1:++s.version,n="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(nU(n$({},s),{version:t})));e.setAttribute("href",n),e.setAttribute("download","".concat(tV(s),".json")),e.click(),localStorage.setItem(tq,"true")}}}),T()("input#selectFiles[type=file][accept=.json]",{style:"display:none"}),e&&T()(Q,{iconName:"upload",className:"btn-large",label:E("UPLOAD"),onclick:function(){var e=document.getElementById("selectFiles");e.onchange=function(){if(!e)return;var t,n=e.files;if(!!n&&(!n||!(n.length<=0))){var i=n&&n.item(0),o=i&&/json$/i.test(i.name),s=new FileReader;s.onload=(t=nH(function(e){var t;return nz(this,function(n){if(o&&(t=JSON.parse((e&&e.target&&e.target.result).toString()))){var i;nt(r,t.version?t:Object.keys(i=t).reduce(function(e,t){if("scenarios"===t){var n=i[t].current;e.scenario.id=n.id,e.scenario.label=n.name,e.scenario.desc=n.desc,e.scenario.hideInconsistentValues=!0,e.scenario.inconsistencies=n.inconsistencies.reduce(function(e,t){var n=tj(t.ids,2),i=n[0],r=n[1],o=t.type;!e[i]&&(e[i]={}),!e[r]&&(e[r]={});var s="totally"===o;return e[i][r]=s,e[r][i]=s,e},{}),e.scenario.narratives=n.narratives.map(function(e){var t=e.id,n=e.name,i=e.components,r=e.narrative,o=e.included;return{id:t,label:n,components:Object.keys(i).reduce(function(e,t){return e[t]=[i[t]],e},{}),desc:r,included:o,saved:!0}}),e.scenario.categories=Object.keys(n.categories).map(function(e){return{id:e,label:e,componentIds:n.categories[e]}})}else{!e.scenario.components&&(e.scenario.components=[]);var r=i[t].list,o=r.reduce(function(e,t){return t.context&&t.context.type&&("LOCATION"===t.context.type&&0>=e.indexOf("location")?e.push("location"):"LOCATIONTYPE"===t.context.type&&0>=e.indexOf("locationType")&&e.push("locationType")),e},[]);if(e.scenario.components.push({id:t,label:E("COMP",t.toUpperCase()),contexts:o,values:r.map(function(e){var t=e.name,n=e.id,i=e.desc,r=e.context,o=r?"LOCATION"===r.type?"location":"LOCATIONTYPE"===r.type?"locationType":"none":void 0,s=r&&"LOCATION"===r.type?r.data.NAME?"name":r.data.COORDINATES?"coords":void 0:void 0,a=tj("coords"===s&&r.data.COORDINATES?r.data.COORDINATES.split(/,/).map(function(e){return+e}):[void 0,void 0],2),l=a[0],c=a[1],u=r&&"LOCATIONTYPE"===r.type?ep.indexOf(Object.keys(r.data).shift())>=0?"list":"keyValue":void 0,h="list"===u?Object.keys(r.data).shift():void 0,d=tj(("keyValue"===u?Object.entries(r.data).shift():void 0)||[void 0,void 0],2),p=d[0],f=d[1];return{id:n,label:t,desc:i,context:o,location:r&&"LOCATION"===r.type?r.data.NAME:void 0,locationType:s,locationTypeType:u,lat:l,lon:c,osmTypeId:h,key:p,value:f}})}),e.scenario.thresholdColors=ec,e.scenario.categories){var s=1,a=e.scenario.categories.filter(function(e){return e.componentIds}).reduce(function(e,t){var n;return null===(n=t.componentIds)||void 0===n||n.forEach(function(t){return e[t]=s++}),e},{});e.scenario.components=e.scenario.components.map(function(e){return tD(tP({},e),{order:a[e.id]})}),e.scenario.components.sort(function(e,t){return e.order>t.order?1:-1})}}return e},{scenario:{},version:1,lastUpdata:Date.now()}),!0),M.toast({html:E("SCENARIO_LOADED_MSG")})}return[2]})}),function(e){return t.apply(this,arguments)}),i&&(o?s.readAsText(i):s.readAsArrayBuffer(i))}},e.click()}})]),T()(".section.white",T()(".row.container.center",[T()(".row",T()(".col.s12.align-center",[T()("h5","ScenarioSpark")])),T()(".row",[T()(".col.s12.m4",T()(".icon-block",[T()(".center",T()(G,{iconName:"ads_click"})),T()("h5.center",T()(T().route.Link,{href:E("ABOUT","ROUTE")+"#goal"},E("GOAL","TITLE"))),T()("p",E("GOAL","DESC"))])),T()(".col.s12.m4",T()(".icon-block",[T()(".center",T()(G,{iconName:"settings"})),T()("h5.center",T()(T().route.Link,{href:E("ABOUT","ROUTE")+"#usage"},E("USAGE","TITLE"))),T()("p",E("USAGE","DESC"))])),T()(".col.s12.m4",T()(".icon-block",[T()(".center",T()(G,{iconName:"lock"})),T()("h5.center",T()(T().route.Link,{href:E("ABOUT","ROUTE")+"#security"},E("SECURITY","TITLE"))),T()("p",E("SECURITY","DESC"))]))])])),T()(er,{id:"clearAll",title:E("NEW_MODEL","title"),description:T()(".row",[T()(".col.s12",[E("NEW_MODEL","description")]),T()(".col.s12",[T()(".row",T()(es,{label:E("NEW_MODEL","choose"),checkedId:1,options:ed.map(function(e,t){return{id:t+1,label:"".concat(E("MODEL_NAMES",t),": ").concat(E("MODEL_DESC",t))}}),onchange:function(e){return t=e-1}})),T()(".row",T()(ei,{label:E("NEW_MODEL","remove"),checked:n,onchange:function(e){return n=e}}))])]),buttons:[{label:E("CANCEL"),iconName:"cancel"},{label:E("OK"),iconName:"delete",onclick:nH(function(){return nz(this,function(e){switch(e.label){case 0:return[4,nt(r,ed[t],!0)];case 1:return e.sent(),ch.switchTo(0===t?O.SETTINGS:O.DEFINE_BOX),[2]}})})}]})])]}}};function nV(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&[T()(ea,{checkedId:e,iconName:"view_stream",className:"col s6 m4",placeholder:E("i18n","pickOne"),label:E("INCONSISTENCIES","SELECT_ROW"),options:a,onchange:function(t){return e=t[0]}}),T()(ea,{checkedId:t,iconName:"view_week",className:"col s6 m4",placeholder:E("i18n","pickOne"),label:E("INCONSISTENCIES","SELECT_COL"),options:a,onchange:function(e){return t=e[0]}}),T()("#legend.col.s12.m4",T()(".card",[T()("ul",[T()("li",T()(G,{style:"vertical-align: bottom",iconName:"check_circle_outline"}),E("COMBINATIONS","POSSIBLE")),T()("li",T()(G,{style:"vertical-align: bottom",iconName:"radio_button_unchecked"}),E("COMBINATIONS","IMPOSSIBLE")),T()("li",T()(G,{style:"vertical-align: bottom",iconName:"blur_circular"}),E("COMBINATIONS","IMPROBABLE"))])])),l&&c&&u&&h&&T()(".col.s12",T()(".row",[T()(".col.s12",T()("table.responsive-table.highlight",{style:"display: block;overflow-x: auto"},[T()("thead",T()("tr",[T()("th","".concat(l.label," \\ ").concat(c.label))].concat(nY(h.map(function(e){return T()("th",e.label)}))))),T()("tbody",u.map(function(e){return T()("tr",[T()("th",e.label)].concat(nY(h.map(function(t){return T()("td",T()(nQ,{rowId:e.id,colId:t.id,inconsistencies:s,callback:nG(function(){return nZ(this,function(e){switch(e.label){case 0:return[4,nt(r,o)];case 1:return[2,e.sent()]}})})}))}))))}))]))]))])}]}),T()(er,{id:"deleteModel",title:E("DELETE_ITEM","title",{item:E("MODEL")}),description:E("DELETE_ITEM","description",{item:E("MODEL")}),buttons:[{label:E("CANCEL")},{label:E("OK"),onclick:function(){nt(r,eh)}}]})])]}}};function n0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&"none"!==s[0];t=o.filter(function(e){return"context"!==e.id||a}).map(function(e){var t,n;return"context"===e.id&&a&&e.options&&(t=e.options,null!=(n=Array)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n)?n2(n1({},e),{options:e.options.filter(function(e){return"none"===e.id||s.indexOf(e.id)>=0})}):e}),e=n1({},r)},view:function(n){var i=n.attrs,r=i.item,o=i.id,s=i.color;return T()("li.kanban-item.card.widget[draggable=true]",{key:o,id:"ki_".concat(r.id),style:"background-color: ".concat(s[0],"; color: ").concat(s[1]),ondragstart:function(e){var t;null===(t=e.dataTransfer)||void 0===t||t.setData(o,JSON.stringify([o,r.id]))},ondragover:function(e){var t;(null===(t=e.dataTransfer)||void 0===t?void 0:t.types.includes(o.toLowerCase()))&&e.preventDefault()},ondrop:function(e){e.preventDefault();var t,n=null===(t=e.dataTransfer)||void 0===t?void 0:t.getData(o);if(!n)return;var s=n5(JSON.parse(n),2),a=(s[0],s[1]),l=e.currentTarget;if(!!a&&!!l&&a!==r.id){if(l){var c=e.clientY-l.getBoundingClientRect().top,u=l.clientHeight;no(i,o,a,r.id,c<=u/2)}}}},[T()(".card-content",[T()("span.card-title",{onmouseenter:r.desc?function(){i.update({activeTooltip:r.desc})}:void 0,onmouseleave:r.desc?function(){i.update({activeTooltip:void 0})}:void 0},r.label),T()(J,{className:"top-right widget-link",iconName:"edit",iconClass:"no-gutter",modalId:"modal_".concat(r.id)})]),T()(er,{id:"modal_".concat(r.id),title:E("EDIT_COMPONENT"),fixedFooter:!0,description:T()(".row",T()(tM,{form:t,obj:e,i18n:nw.i18n})),buttons:[{label:E("CANCEL")},{label:E("DELETE"),onclick:function(){nr(i,o,e,"delete")}},{label:E("OK"),onclick:function(){nr(i,o,e,"update")}}]})])}}},n6=function(){var e={};return{view:function(t){var n=t.attrs,i=n.sc,r=n.form,o=i.id;return T()("li.kanban-header.widget",{key:"header"},[T()(".span.title.truncate.left.ml10",{onmouseenter:i.desc?function(){n.update({activeTooltip:i.desc})}:void 0,onmouseleave:i.desc?function(){n.update({activeTooltip:void 0})}:void 0},i.label),T()(J,{className:"widget-link",iconName:"add",iconClass:"no-gutter",modalId:i.id,i18n:nw.i18n}),T()(er,{id:i.id,title:E("ADD_COMPONENT"),fixedFooter:!0,description:T()(".row",T()(tM,{form:r,obj:e,i18n:nw.i18n})),buttons:[{label:E("CANCEL")},{label:E("OK"),onclick:function(){var t=n1({},e);e={},nr(n,o,t,"create")}}]})])}}},n8=function(){return{view:function(e){var t,n=e.attrs,i=n.sc,r=n.form,o=n.compColor;return T()("li",{key:i.id},[T()("ul.kanban-row",T()(n6,n2(n1({},n),{sc:i,form:r})),null===(t=i.values)||void 0===t?void 0:t.map(function(e){return T()(n4,n2(n1({key:e.id},n),{id:i.id,contexts:i.contexts,item:e,form:r,color:o[e.id]||o.OTHER}))}))])}}},n9=function(){return{view:function(e){var t=e.attrs,n=t.form,i=t.categoryId,r=t.compColor,o=t.state.model.scenario,s=o.categories,a=o.components,l=s[i],c=a.filter(function(e){return l.componentIds&&l.componentIds.indexOf(e.id)>=0});return T()("ul.kanban",[c.map(function(e){return T()(n8,n2(n1({},t),{sc:e,form:n,compColor:r}))})])}}},n7=function(){var e=[{id:"id",autogenerate:"id"},{id:"label",type:"text",label:E("NAME")},{id:"desc",type:"textarea",label:E("DESCRIPTION")}],t={};return{oninit:function(e){t7(e.attrs,O.DEFINE_BOX)},view:function(n){var i=n.attrs,r=i.state,o=r.activeTooltip,s=r.model.scenario,a=s.categories,l=s.thresholdColors,c=void 0===l?[]:l;if(t||Object.keys(t).lengtht.threshold?1:-1}).forEach(function(e){do f[m]=e.color,m++;while(m1&&a[0].componentIds&&a[1].componentIds?T()(el,{tabs:a.map(function(n,r){return{id:n.id,title:n.label,vnode:T()(n9,n2(n1({},i),{compColor:t,categoryId:r,form:e}))}})}):1===a.length&&a[0].componentIds?T()(n9,n2(n1({},i),{compColor:t,categoryId:0,form:e})):T()(".row.mt10",T()(".col.s12",E("SPEC_CATS"))),o&&T()(".popupContainer",T()(".popupContent.center",T()(tC,{md:o,removeParagraphs:!0})))])]}}};let ie=function(e,t){return e===t||e!=e&&t!=t},it=function(e,t){for(var n=e.length;n--;)if(ie(e[n][0],t))return n;return -1};var ii=Array.prototype.splice;function ir(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},ir.prototype.set=function(e,t){var n=this.__data__,i=it(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};var io="object"==typeof global&&global&&global.Object===Object&&global,is="object"==typeof self&&self&&self.Object===Object&&self,ia=io||is||Function("return this")(),il=ia.Symbol,ic=Object.prototype,iu=ic.hasOwnProperty,ih=ic.toString,id=il?il.toStringTag:void 0;let ip=function(e){var t=iu.call(e,id),n=e[id];try{e[id]=void 0;var i=!0}catch(e){}var r=ih.call(e);return i&&(t?e[id]=n:delete e[id]),r};var im=Object.prototype.toString,ig=il?il.toStringTag:void 0;let iv=function(e){var t;if(null==e)return void 0===e?"[object Undefined]":"[object Null]";return ig&&ig in Object(e)?ip(e):(t=e,im.call(t))},iy=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ib=function(e){if(!iy(e))return!1;var t=iv(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var iw=ia["__core-js_shared__"];var i_=(f=/[^.]+$/.exec(iw&&iw.keys&&iw.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",iE=Function.prototype.toString;let ix=function(e){if(null!=e){try{return iE.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var ik=/^\[object .+?Constructor\]$/,iT=Object.prototype,iO=Function.prototype.toString,iC=iT.hasOwnProperty,iA=RegExp("^"+iO.call(iC).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let iS=function(e){var t;return!!iy(e)&&(t=e,!i_||!(i_ in t))&&(ib(e)?iA:ik).test(ix(e))},iN=function(e,t){var n,i,r=(n=e,i=t,null==n?void 0:n[i]);return iS(r)?r:void 0};var iI=iN(ia,"Map"),iM=iN(Object,"create"),iL=Object.prototype.hasOwnProperty,iR=Object.prototype.hasOwnProperty;function iP(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=0x1fffffffffffff},rr=function(e){return null!=e&&ri(e.length)&&!ib(e)};var ro="object"==typeof exports&&exports&&!exports.nodeType&&exports,rs=ro&&"object"==typeof module&&module&&!module.nodeType&&module,ra=rs&&rs.exports===ro?ia.Buffer:void 0,rl=ra?ra.isBuffer:void 0;let rc=rl||function(){return!1};var ru=Object.prototype,rh=Function.prototype.toString,rd=ru.hasOwnProperty,rp=rh.call(Object);let rf=function(e){if(!i6(e)||"[object Object]"!=iv(e))return!1;var t=i2(e);if(null===t)return!0;var n=rd.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&rh.call(n)==rp};var rm={};rm["[object Float32Array]"]=rm["[object Float64Array]"]=rm["[object Int8Array]"]=rm["[object Int16Array]"]=rm["[object Int32Array]"]=rm["[object Uint8Array]"]=rm["[object Uint8ClampedArray]"]=rm["[object Uint16Array]"]=rm["[object Uint32Array]"]=!0,rm["[object Arguments]"]=rm["[object Array]"]=rm["[object ArrayBuffer]"]=rm["[object Boolean]"]=rm["[object DataView]"]=rm["[object Date]"]=rm["[object Error]"]=rm["[object Function]"]=rm["[object Map]"]=rm["[object Number]"]=rm["[object Object]"]=rm["[object RegExp]"]=rm["[object Set]"]=rm["[object String]"]=rm["[object WeakMap]"]=!1;let rg=function(e){return function(t){return e(t)}};var rv="object"==typeof exports&&exports&&!exports.nodeType&&exports,ry=rv&&"object"==typeof module&&module&&!module.nodeType&&module,rb=ry&&ry.exports===rv&&io.process,rw=function(){try{var e=ry&&ry.require&&ry.require("util").types;if(e)return e;return rb&&rb.binding&&rb.binding("util")}catch(e){}}(),r_=rw&&rw.isTypedArray,rE=r_?rg(r_):function(e){return i6(e)&&ri(e.length)&&!!rm[iv(e)]};let rx=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var rk=Object.prototype.hasOwnProperty;let rT=function(e,t,n){var i=e[t];(!(rk.call(e,t)&&ie(i,n))||void 0===n&&!(t in e))&&iH(e,t,n)},rO=function(e,t,n,i){var r=!n;n||(n={});for(var o=-1,s=t.length;++o-1&&e%1==0&&e0){if(++v>=800)return arguments[0]}else v=0;return g.apply(void 0,arguments)});let rU=function(e,t){var n,i,r;return r$((n=e,i=t,r=rB,i=rq(void 0===i?n.length-1:i,0),function(){for(var e=arguments,t=-1,o=rq(e.length-i,0),s=Array(o);++t1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(r=b.length>3&&"function"==typeof r?(i--,r):void 0,o&&rz(t[0],t[1],o)&&(r=i<3?void 0:r,i=1),e=Object(e);++ne.name)}add(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)}canAdd(e,t){return null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1)}remove(e){e.removeAttribute(this.keyName)}value(e){let t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class rK extends Error{constructor(e){super(e="[Parchment] "+e),this.message=e,this.name=this.constructor.name}}let rG=class e{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(null==e)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(t,n,i){let r=this.query(n);if(null==r)throw new rK(`Unable to create ${n} blot`);let o=n instanceof Node||n.nodeType===Node.TEXT_NODE?n:r.create(i),s=new r(t,o,i);return e.blots.set(s.domNode,s),s}find(t,n=!1){return e.find(t,n)}query(e,t=rW.ANY){let n;return"string"==typeof e?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:"number"==typeof e?e&rW.LEVEL&rW.BLOCK?n=this.types.block:e&rW.LEVEL&rW.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(e=>!!(n=this.classes[e])),n=n||this.tags[e.tagName]),null==n?null:"scope"in n&&t&rW.LEVEL&n.scope&&t&rW.TYPE&n.scope?n:null}register(...e){return e.map(e=>{let t="blotName"in e,n="attrName"in e;if(!t&&!n)throw new rK("Invalid definition");if(t&&"abstract"===e.blotName)throw new rK("Cannot register abstract class");let i=t?e.blotName:n?e.attrName:void 0;return this.types[i]=e,n?"string"==typeof e.keyName&&(this.attributes[e.keyName]=e):t&&(e.className&&(this.classes[e.className]=e),e.tagName&&(Array.isArray(e.tagName)?e.tagName=e.tagName.map(e=>e.toUpperCase()):e.tagName=e.tagName.toUpperCase(),(Array.isArray(e.tagName)?e.tagName:[e.tagName]).forEach(t=>{(null==this.tags[t]||null==e.className)&&(this.tags[t]=e)}))),e})}};rG.blots=new WeakMap;let rY=rG;function rZ(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter(e=>0===e.indexOf(`${t}-`))}let rQ=class e extends rV{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(e=>e.split("-").slice(0,-1).join("-"))}add(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0)}remove(e){rZ(e,this.keyName).forEach(t=>{e.classList.remove(t)}),0===e.classList.length&&e.removeAttribute("class")}value(e){let t=(rZ(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}};function rJ(e){let t=e.split("-"),n=t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("");return t[0]+n}let r0=class e extends rV{static keys(e){return(e.getAttribute("style")||"").split(";").map(e=>e.split(":")[0].trim())}add(e,t){return!!this.canAdd(e,t)&&(e.style[rJ(this.keyName)]=t,!0)}remove(e){e.style[rJ(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){let t=e.style[rJ(this.keyName)];return this.canAdd(e,t)?t:""}},r1=class e{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};let e=rY.find(this.domNode);if(null==e)return;let t=rV.keys(this.domNode),n=rQ.keys(this.domNode),i=r0.keys(this.domNode);t.concat(n).concat(i).forEach(t=>{let n=e.scroll.query(t,rW.ATTRIBUTE);n instanceof rV&&(this.attributes[n.attrName]=n)})}copy(e){Object.keys(this.attributes).forEach(t=>{let n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(e=>{this.attributes[e].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}},r2=class{constructor(e,t){this.scroll=e,this.domNode=t,rY.blots.set(t,this),this.prev=null,this.next=null}static create(e){let t,n;if(null==this.tagName)throw new rK("Blot definition missing tagName");return Array.isArray(this.tagName)?("string"==typeof e?parseInt(n=e.toUpperCase(),10).toString()===n&&(n=parseInt(n,10)):"number"==typeof e&&(n=e),t="number"==typeof n?document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?document.createElement(n):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){let e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){null!=this.parent&&this.parent.removeChild(this),rY.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,i){let r=this.isolate(e,t);if(null!=this.scroll.query(n,rW.BLOT)&&i)r.wrap(n,i);else if(null!=this.scroll.query(n,rW.ATTRIBUTE)){let e=this.scroll.create(this.statics.scope);r.wrap(e),e.format(n,i)}}insertAt(e,t,n){let i=null==n?this.scroll.create("text",t):this.scroll.create(t,n),r=this.split(e);this.parent.insertBefore(i,r||void 0)}isolate(e,t){let n=this.split(e);if(null==n)throw Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return null==this.parent||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){!this.statics.requiredContainer||this.parent instanceof this.statics.requiredContainer||this.wrap(this.statics.requiredContainer.blotName)}remove(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){let n="string"==typeof e?this.scroll.create(e,t):e;return null!=this.parent&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return 0===e?this:this.next}update(e,t){}wrap(e,t){let n="string"==typeof e?this.scroll.create(e,t):e;if(null!=this.parent&&this.parent.insertBefore(n,this.next||void 0),"function"!=typeof n.appendChild)throw new rK(`Cannot wrap ${e}`);return n.appendChild(this),n}};r2.blotName="abstract";let r5=r2,r3=class extends r5{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};r3.scope=rW.INLINE_BLOT;let r4=r3;class r6{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){let t=e.slice(1);this.append(...t)}}at(e){let t=this.iterator(),n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){let t=this.iterator(),n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){let t=this.iterator(),n=t(),i=0;for(;n;){if(n===e)return i;i+=1,n=t()}return -1}insertBefore(e,t){null!=e&&(this.remove(e),e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return -1}remove(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{let t=e;return null!=e&&(e=e.next),t}}find(e,t=!1){let n=this.iterator(),i=n();for(;i;){let r=i.length();if(eo?n(a,e-o,Math.min(t,o+i-e)):n(a,0,Math.min(i,e+t-o)),o+=i,a=s()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){let n=this.iterator(),i=n();for(;i;)t=e(t,i),i=n();return t}}function r8(e,t){let n=t.find(e);if(n)return n;try{return t.create(e)}catch{let n=t.create(rW.INLINE);return Array.from(e.childNodes).forEach(e=>{n.domNode.appendChild(e)}),e.parentNode&&e.parentNode.replaceChild(n.domNode,e),n.attach(),n}}let r9=class e extends r5{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(t){null!=this.uiNode&&this.uiNode.remove(),this.uiNode=t,e.uiClass&&this.uiNode.classList.add(e.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new r6,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{let t=r8(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(e){if(e instanceof rK)return;throw e}})}deleteAt(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(e,t,n)=>{e.deleteAt(t,n)})}descendant(t,n=0){let[i,r]=this.children.find(n);return null==t.blotName&&t(i)||null!=t.blotName&&i instanceof t?[i,r]:i instanceof e?i.descendant(t,r):[null,-1]}descendants(t,n=0,i=Number.MAX_VALUE){let r=[],o=i;return this.children.forEachAt(n,i,(n,i,s)=>{(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&r.push(n),n instanceof e&&(r=r.concat(n.descendants(t,i,o))),o-=s}),r}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let t=!1;this.children.forEach(n=>{t||this.statics.allowedChildren.some(e=>n instanceof e)||(n.statics.scope===rW.BLOCK_BLOT?(null!=n.next&&this.splitAfter(n),null!=n.prev&&this.splitAfter(n.prev),n.parent.unwrap(),t=!0):n instanceof e?n.unwrap():n.remove())})}formatAt(e,t,n,i){this.children.forEachAt(e,t,(e,t,r)=>{e.formatAt(t,r,n,i)})}insertAt(e,t,n){let[i,r]=this.children.find(e);if(i)i.insertAt(r,t,n);else{let e=null==n?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(e)}}insertBefore(e,t){null!=e.parent&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,null!=t&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),0===this.children.length){if(null!=this.statics.defaultChild){let e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e)}else this.remove()}}path(t,n=!1){let[i,r]=this.children.find(t,n),o=[[this,t]];return i instanceof e?o.concat(i.path(r,n)):(null!=i&&o.push([i,r]),o)}removeChild(e){this.children.remove(e)}replaceWith(t,n){let i="string"==typeof t?this.scroll.create(t,n):t;return i instanceof e&&this.moveChildren(i),super.replaceWith(i)}split(e,t=!1){if(!t){if(0===e)return this;if(e===this.length())return this.next}let n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(e,i,r)=>{let o=e.split(i,t);null!=o&&n.appendChild(o)}),n}splitAfter(e){let t=this.clone();for(;null!=e.next;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){let n=[],i=[];e.forEach(e=>{e.target===this.domNode&&"childList"===e.type&&(n.push(...e.addedNodes),i.push(...e.removedNodes))}),i.forEach(e=>{if(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;let t=this.scroll.find(e);null!=t&&(null==t.domNode.parentNode||t.domNode.parentNode===this.domNode)&&t.detach()}),n.filter(e=>e.parentNode===this.domNode&&e!==this.uiNode).sort((e,t)=>e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(e=>{let t=null;null!=e.nextSibling&&(t=this.scroll.find(e.nextSibling));let n=r8(e,this.scroll);(n.next!==t||null==n.next)&&(null!=n.parent&&n.parent.removeChild(this),this.insertBefore(n,t||void 0))}),this.enforceAllowedChildren()}};r9.uiClass="";let r7=r9,oe=class e extends r7{static create(e){return super.create(e)}static formats(t,n){let i=n.query(e.blotName);if(!(null!=i&&t.tagName===i.tagName)){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new r1(this.domNode)}format(t,n){if(t!==this.statics.blotName||n){let e=this.scroll.query(t,rW.INLINE);if(null!=e)e instanceof rV?this.attributes.attribute(e,n):n&&(t!==this.statics.blotName||this.formats()[t]!==n)&&this.replaceWith(t,n)}else this.children.forEach(t=>{t instanceof e||(t=t.wrap(e.blotName,!0)),this.attributes.copy(t)}),this.unwrap()}formats(){let e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return null!=t&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){null!=this.formats()[n]||this.scroll.query(n,rW.ATTRIBUTE)?this.isolate(e,t).format(n,i):super.formatAt(e,t,n,i)}optimize(t){super.optimize(t);let n=this.formats();if(0===Object.keys(n).length)return this.unwrap();let i=this.next;i instanceof e&&i.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}(n,i.formats())&&(i.moveChildren(this),i.remove())}replaceWith(e,t){let n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(e=>e.target===this.domNode&&"attributes"===e.type)&&this.attributes.build()}wrap(t,n){let i=super.wrap(t,n);return i instanceof e&&this.attributes.move(i),i}};oe.allowedChildren=[oe,r4],oe.blotName="inline",oe.scope=rW.INLINE_BLOT,oe.tagName="SPAN";let ot=oe,on=class e extends r7{static create(e){return super.create(e)}static formats(t,n){let i=n.query(e.blotName);if(!(null!=i&&t.tagName===i.tagName)){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new r1(this.domNode)}format(t,n){let i=this.scroll.query(t,rW.BLOCK);null!=i&&(i instanceof rV?this.attributes.attribute(i,n):t!==this.statics.blotName||n?n&&(t!==this.statics.blotName||this.formats()[t]!==n)&&this.replaceWith(t,n):this.replaceWith(e.blotName))}formats(){let e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return null!=t&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){null!=this.scroll.query(n,rW.BLOCK)?this.format(n,i):super.formatAt(e,t,n,i)}insertAt(e,t,n){if(null==n||null!=this.scroll.query(t,rW.INLINE))super.insertAt(e,t,n);else{let i=this.split(e);if(null!=i){let e=this.scroll.create(t,n);i.parent.insertBefore(e,i)}else throw Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){let n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(e=>e.target===this.domNode&&"attributes"===e.type)&&this.attributes.build()}};on.blotName="block",on.scope=rW.BLOCK_BLOT,on.tagName="P",on.allowedChildren=[ot,on,r4];let oi=on,or=class extends r7{checkMerge(){return null!==this.next&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,i){super.formatAt(e,t,n,i),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&null!=this.next&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};or.blotName="container",or.scope=rW.BLOCK_BLOT;let oo=or,os=class e extends r4{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,i){0===e&&t===this.length()?this.format(n,i):super.formatAt(e,t,n,i)}formats(){return this.statics.formats(this.domNode,this.scroll)}},oa={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},ol=class extends r7{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(e=>{this.update(e)}),this.observer.observe(this.domNode,oa),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){let n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=rW.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){null!=this.scroll&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),0===e&&t===this.length()?this.children.forEach(e=>{e.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,i){this.update(),super.formatAt(e,t,n,i)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);let n=t.mutationsMap||new WeakMap,i=Array.from(this.observer.takeRecords());for(;i.length>0;)e.push(i.pop());let r=(e,t=!0)=>{null==e||e===this||null!=e.domNode.parentNode&&(n.has(e.domNode)||n.set(e.domNode,[]),t&&r(e.parent))},o=e=>{n.has(e.domNode)&&(e instanceof r7&&e.children.forEach(o),n.delete(e.domNode),e.optimize(t))},s=e;for(let t=0;s.length>0;t+=1){if(t>=100)throw Error("[Parchment] Maximum optimize iterations reached");for(s.forEach(e=>{let t=this.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(r(this.find(e.previousSibling,!1)),Array.from(e.addedNodes).forEach(e=>{let t=this.find(e,!1);r(t,!1),t instanceof r7&&t.children.forEach(e=>{r(e,!1)})})):"attributes"===e.type&&r(t.prev)),r(t))}),this.children.forEach(o),i=(s=Array.from(this.observer.takeRecords())).slice();i.length>0;)e.push(i.pop())}}update(e,t={}){e=e||this.observer.takeRecords();let n=new WeakMap;e.map(e=>{let t=this.find(e.target,!0);return null==t?null:n.has(t.domNode)?(n.get(t.domNode).push(e),null):(n.set(t.domNode,[e]),t)}).forEach(e=>{null!=e&&e!==this&&n.has(e.domNode)&&e.update(n.get(e.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};ol.blotName="scroll",ol.defaultChild=oi,ol.allowedChildren=[oi,oo],ol.scope=rW.BLOCK_BLOT,ol.tagName="DIV";let oc=ol,ou=class e extends r4{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){null==n?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(t){super.optimize(t),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(0===e)return this;if(e===this.length())return this.next}let n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(e=>"characterData"===e.type&&e.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};ou.blotName="text",ou.scope=rW.INLINE_BLOT;let oh=ou;var od=n("3258");let op=function(e,t){for(var n=-1,i=null==e?0:e.length;++na))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,d=!0,p=2&n?new o9:void 0;for(o.set(e,t),o.set(t,e);++h"']/g,e=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[e])}class sv extends ot{static allowedChildren=[sv,sf,os,sm];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(e,t){let n=sv.order.indexOf(e),i=sv.order.indexOf(t);return n>=0||i>=0?n-i:e===t?0:esv.compare(this.statics.blotName,n)&&this.scroll.query(n,rW.BLOT)){let r=this.isolate(e,t);i&&r.wrap(n,i)}else super.formatAt(e,t,n,i)}optimize(e){if(super.optimize(e),this.parent instanceof sv&&sv.compare(this.statics.blotName,this.parent.statics.blotName)>0){let e=this.parent.isolate(this.offset(),this.length());this.moveChildren(e),e.wrap(this)}}}let sy=sv;class sb extends oi{cache={};delta(){return null==this.cache.delta&&(this.cache.delta=s_(this)),this.cache.delta}deleteAt(e,t){super.deleteAt(e,t),this.cache={}}formatAt(e,t,n,i){!(t<=0)&&(this.scroll.query(n,rW.BLOCK)?e+t===this.length()&&this.format(n,i):super.formatAt(e,Math.min(t,this.length()-e-1),n,i),this.cache={})}insertAt(e,t,n){if(null!=n){super.insertAt(e,t,n),this.cache={};return}if(0===t.length)return;let i=t.split("\n"),r=i.shift();r.length>0&&(e((o=o.split(e,!0)).insertAt(0,t),t.length),e+r.length)}insertBefore(e,t){let{head:n}=this.children;super.insertBefore(e,t),n instanceof sf&&n.remove(),this.cache={}}length(){return null==this.cache.length&&(this.cache.length=super.length()+1),this.cache.length}moveChildren(e,t){super.moveChildren(e,t),this.cache={}}optimize(e){super.optimize(e),this.cache={}}path(e){return super.path(e,!0)}removeChild(e){super.removeChild(e),this.cache={}}split(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t&&(0===e||e>=this.length()-1)){let t=this.clone();return 0===e?(this.parent.insertBefore(t,this),this):(this.parent.insertBefore(t,this.next),t)}let n=super.split(e,t);return this.cache={},n}}sb.blotName="block",sb.tagName="P",sb.defaultChild=sf,sb.allowedChildren=[sf,sy,os,sm];class sw extends os{attach(){super.attach(),this.attributes=new r1(this.domNode)}delta(){return new od().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){let n=this.scroll.query(e,rW.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}formatAt(e,t,n,i){this.format(n,i)}insertAt(e,t,n){if(null!=n){super.insertAt(e,t,n);return}let i=t.split("\n"),r=i.pop(),o=i.map(e=>{let t=this.scroll.create(sb.blotName);return t.insertAt(0,e),t}),s=this.split(e);o.forEach(e=>{this.parent.insertBefore(e,s)}),r&&this.parent.insertBefore(this.scroll.create("text",r),s)}}function s_(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e.descendants(r4).reduce((e,n)=>0===n.length()?e:e.insert(n.value(),sE(n,{},t)),new od).insert("\n",sE(e))}function sE(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return null==e?t:("formats"in e&&"function"==typeof e.formats&&(t={...t,...e.formats()},n&&delete t["code-token"]),null==e.parent||"scroll"===e.parent.statics.blotName||e.parent.statics.scope!==e.statics.scope)?t:sE(e.parent,t,n)}sw.scope=rW.BLOCK_BLOT;class sx extends os{static blotName="cursor";static className="ql-cursor";static tagName="span";static CONTENTS="\uFEFF";static value(){}constructor(e,t,n){super(e,t),this.selection=n,this.textNode=document.createTextNode(sx.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){null!=this.parent&&this.parent.removeChild(this)}format(e,t){if(0!==this.savedLength){super.format(e,t);return}let n=this,i=0;for(;null!=n&&n.statics.scope!==rW.BLOCK_BLOT;)i+=n.offset(n.parent),n=n.parent;null!=n&&(this.savedLength=sx.CONTENTS.length,n.optimize(),n.formatAt(i,sx.CONTENTS.length,e,t),this.savedLength=0)}index(e,t){return e===this.textNode?0:super.index(e,t)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){let e;if(this.selection.composing||null==this.parent)return null;let t=this.selection.getNativeRange();for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);let n=this.prev instanceof sm?this.prev:null,i=n?n.length():0,r=this.next instanceof sm?this.next:null,o=r?r.text:"",{textNode:s}=this,a=s.data.split(sx.CONTENTS).join("");if(s.data=sx.CONTENTS,n)e=n,(a||r)&&(n.insertAt(n.length(),a+o),r&&r.remove());else if(r)e=r,r.insertAt(0,a);else{let t=document.createTextNode(a);e=this.scroll.create(t),this.parent.insertBefore(e,this)}if(this.remove(),t){let o=(e,t)=>n&&e===n.domNode?t:e===s?i+t-1:r&&e===r.domNode?i+a.length+t:null,l=o(t.start.node,t.start.offset),c=o(t.end.node,t.end.offset);if(null!==l&&null!==c)return{startNode:e.domNode,startOffset:l,endNode:e.domNode,endOffset:c}}return null}update(e,t){if(e.some(e=>"characterData"===e.type&&e.target===this.textNode)){let e=this.restore();e&&(t.range=e)}}optimize(e){super.optimize(e);let{parent:t}=this;for(;t;){if("A"===t.domNode.tagName){this.savedLength=sx.CONTENTS.length,t.isolate(this.offset(t),this.length()).unwrap(),this.savedLength=0;break}t=t.parent}}value(){return""}}var sk=n("2337"),sT=n.n(sk);let sO=new WeakMap,sC=["error","warn","log","info"],sA="warn";function sS(e){if(sA&&sC.indexOf(e)<=sC.indexOf(sA)){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i(t[n]=sS.bind(console,n,e),t),{})}sN.level=e=>{sA=e},sS.level=sN.level;let sI=sN("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(e=>{document.addEventListener(e,function(){for(var e=arguments.length,t=Array(e),n=0;n{let n=sO.get(e);n&&n.emitter&&n.emitter.handleDOM(...t)})})});class sM extends sT(){static events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"};static sources={API:"api",SILENT:"silent",USER:"user"};constructor(){super(),this.domListeners={},this.on("error",sI.error)}emit(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),i=1;i{let{node:i,handler:r}=t;(e.target===i||i.contains(e.target))&&r(e,...n)})}listenDOM(e,t,n){!this.domListeners[e]&&(this.domListeners[e]=[]),this.domListeners[e].push({node:t,handler:n})}}let sL=sN("quill:selection");class sR{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.index=e,this.length=t}}function sP(e,t){try{t.parentNode}catch(e){return!1}return e.contains(t)}let sD=class e{constructor(e,t){this.emitter=t,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new sR(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,()=>{!this.mouseDown&&!this.composing&&setTimeout(this.update.bind(this,sM.sources.USER),1)}),this.emitter.on(sM.events.SCROLL_BEFORE_UPDATE,()=>{if(!this.hasFocus())return;let e=this.getNativeRange();if(null!=e)e.start.node!==this.cursor.textNode&&this.emitter.once(sM.events.SCROLL_UPDATE,(t,n)=>{try{this.root.contains(e.start.node)&&this.root.contains(e.end.node)&&this.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset);let i=n.some(e=>"characterData"===e.type||"childList"===e.type||"attributes"===e.type&&e.target===this.root);this.update(i?sM.sources.SILENT:t)}catch(e){}})}),this.emitter.on(sM.events.SCROLL_OPTIMIZE,(e,t)=>{if(t.range){let{startNode:e,startOffset:n,endNode:i,endOffset:r}=t.range;this.setNativeRange(e,n,i,r),this.update(sM.sources.SILENT)}}),this.update(sM.sources.SILENT)}handleComposition(){this.emitter.on(sM.events.COMPOSITION_BEFORE_START,()=>{this.composing=!0}),this.emitter.on(sM.events.COMPOSITION_END,()=>{if(this.composing=!1,this.cursor.parent){let e=this.cursor.restore();if(!!e)setTimeout(()=>{this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}handleDragging(){this.emitter.listenDOM("mousedown",document.body,()=>{this.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,()=>{this.mouseDown=!1,this.update(sM.sources.USER)})}focus(){!this.hasFocus()&&(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(e,t){this.scroll.update();let n=this.getNativeRange();if(!(null==n||!n.native.collapsed||this.scroll.query(e,rW.BLOCK))){if(n.start.node!==this.cursor.textNode){let e=this.scroll.find(n.start.node,!1);if(null==e)return;if(e instanceof r4){let t=e.split(n.start.offset);e.parent.insertBefore(this.cursor,t)}else e.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(e){let t,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.scroll.length();i=Math.min((e=Math.min(e,r-1))+i,r-1)-e;let[o,s]=this.scroll.leaf(e);if(null==o)return null;if(i>0&&s===o.length()){let[t]=this.scroll.leaf(e+1);if(t){let[n]=this.scroll.line(e),[i]=this.scroll.line(e+1);n===i&&(o=t,s=0)}}[t,s]=o.position(s,!0);let a=document.createRange();if(i>0)return(a.setStart(t,s),[o,s]=this.scroll.leaf(e+i),null==o)?null:([t,s]=o.position(s,!0),a.setEnd(t,s),a.getBoundingClientRect());let l="left";if(t instanceof Text){if(!t.data.length)return null;s0&&(l="right")}return{bottom:n.top+n.height,height:n.height,left:n[l],right:n[l],top:n.top,width:0}}getNativeRange(){let e=document.getSelection();if(null==e||e.rangeCount<=0)return null;let t=e.getRangeAt(0);if(null==t)return null;let n=this.normalizeNative(t);return sL.info("getNativeRange",n),n}getRange(){let e=this.scroll.domNode;if("isConnected"in e&&!e.isConnected)return[null,null];let t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}hasFocus(){return document.activeElement===this.root||null!=document.activeElement&&sP(this.root,document.activeElement)}normalizedToRange(e){let t=[[e.start.node,e.start.offset]];!e.native.collapsed&&t.push([e.end.node,e.end.offset]);let n=t.map(e=>{let[t,n]=e,i=this.scroll.find(t,!0),r=i.offset(this.scroll);return 0===n?r:i instanceof r4?r+i.index(t,n):r+i.length()}),i=Math.min(Math.max(...n),this.scroll.length()-1),r=Math.min(i,...n);return new sR(r,i-r)}normalizeNative(e){if(!sP(this.root,e.startContainer)||!e.collapsed&&!sP(this.root,e.endContainer))return null;let t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(e=>{let{node:t,offset:n}=e;for(;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else if(t.childNodes.length===n)(t=t.lastChild)instanceof Text?n=t.data.length:n=t.childNodes.length>0?t.childNodes.length:t.childNodes.length+1;else break;e.node=t,e.offset=n}),t}rangeToNative(e){let t=this.scroll.length(),n=(e,n)=>{e=Math.min(t-1,e);let[i,r]=this.scroll.leaf(e);return i?i.position(r,n):[null,-1]};return[...n(e.index,!1),...n(e.index+e.length,!0)]}setNativeRange(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(sL.info("setNativeRange",e,t,n,i),null!=e&&(null==this.root.parentNode||null==e.parentNode||null==n.parentNode))return;let o=document.getSelection();if(null!=o){if(null!=e){!this.hasFocus()&&this.root.focus({preventScroll:!0});let{native:s}=this.getNativeRange()||{};if(null==s||r||e!==s.startContainer||t!==s.startOffset||n!==s.endContainer||i!==s.endOffset){e instanceof Element&&"BR"===e.tagName&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),n instanceof Element&&"BR"===n.tagName&&(i=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);let r=document.createRange();r.setStart(e,t),r.setEnd(n,i),o.removeAllRanges(),o.addRange(r)}}else o.removeAllRanges(),this.root.blur()}}setRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sM.sources.API;if("string"==typeof t&&(n=t,t=!1),sL.info("setRange",e),null!=e){let n=this.rangeToNative(e);this.setNativeRange(...n,t)}else this.setNativeRange(null);this.update(n)}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sM.sources.USER,t=this.lastRange,[n,i]=this.getRange();if(this.lastRange=n,this.lastNative=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!sp(t,this.lastRange)){if(!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode){let e=this.cursor.restore();e&&this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}let n=[sM.events.SELECTION_CHANGE,o8(this.lastRange),o8(t),e];this.emitter.emit(sM.events.EDITOR_CHANGE,...n),e!==sM.sources.SILENT&&this.emitter.emit(...n)}}},sj=/^[ -~]*$/;function sB(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("html"in e&&"function"==typeof e.html)return e.html(t,n);if(e instanceof sm)return sg(e.value().slice(t,t+n));if(e instanceof r7){if("list-container"===e.statics.blotName){let i=[];return e.children.forEachAt(t,n,(e,t,n)=>{let r="formats"in e&&"function"==typeof e.formats?e.formats():{};i.push({child:e,offset:t,length:n,indent:r.indent||0,type:r.list})}),function e(t,n,i){if(0===t.length){let[t]=sF(i.pop());return n<=0?``:`${e([],n-1,i)}`}let[{child:r,offset:o,length:s,indent:a,type:l},...c]=t,[u,h]=sF(l);if(a>n)return(i.push(l),a===n+1)?`<${u}>${sB(r,o,s)}${e(c,a,i)}`:`<${u}>

            1. ${e(t,n+1,i)}`;let d=i[i.length-1];if(a===n&&l===d)return`
            2. ${sB(r,o,s)}${e(c,a,i)}`;let[p]=sF(i.pop());return`${e(t,n-1,i)}`}(i,-1,[])}let r=[];if(e.children.forEachAt(t,n,(e,t,n)=>{r.push(sB(e,t,n))}),i||"list"===e.statics.blotName)return r.join("");let{outerHTML:o,innerHTML:s}=e.domNode,[a,l]=o.split(`>${s}<`);return"${r.join("")}<${l}`:`${a}>${r.join("")}<${l}`}return e.domNode instanceof Element?e.domNode.outerHTML:""}function sF(e){let t="ordered"===e?"ol":"ul";switch(e){case"checked":return[t,' data-list="checked"'];case"unchecked":return[t,' data-list="unchecked"'];default:return[t,""]}}function sq(e){return e.reduce((e,t)=>{if("string"==typeof t.insert){let n=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(n,t.attributes)}return e.push(t)},new od)}function sH(e,t){let{index:n,length:i}=e;return new sR(n+t,i)}let s$=class e{constructor(e){this.scroll=e,this.delta=this.getDelta()}applyDelta(e){this.scroll.update();let t=this.scroll.length();this.scroll.batchStart();let n=sq(e),i=new od;return(function(e){let t=[];return e.forEach(e=>{"string"==typeof e.insert?e.insert.split("\n").forEach((n,i)=>{i&&t.push({insert:"\n",attributes:e.attributes}),n&&t.push({insert:n,attributes:e.attributes})}):t.push(e)}),t})(n.ops.slice()).reduce((e,n)=>{let r=od.Op.length(n),o=n.attributes||{},s=!1,a=!1;if(null!=n.insert){if(i.retain(r),"string"==typeof n.insert){let i=n.insert;a=!i.endsWith("\n")&&(t<=e||!!this.scroll.descendant(sw,e)[0]),this.scroll.insertAt(e,i);let[r,s]=this.scroll.line(e),l=rX({},sE(r));if(r instanceof sb){let[e]=r.descendant(r4,s);e&&(l=rX(l,sE(e)))}o=od.AttributeMap.diff(l,o)||{}}else if("object"==typeof n.insert){let i=Object.keys(n.insert)[0];if(null==i)return e;let r=null!=this.scroll.query(i,rW.INLINE);if(r)(t<=e||this.scroll.descendant(sw,e)[0])&&(a=!0);else if(e>0){let[t,n]=this.scroll.descendant(r4,e-1);t instanceof sm?"\n"!==t.value()[n]&&(s=!0):t instanceof os&&t.statics.scope===rW.INLINE_BLOT&&(s=!0)}if(this.scroll.insertAt(e,i,n.insert[i]),r){let[t]=this.scroll.descendant(r4,e);if(t){let e=rX({},sE(t));o=od.AttributeMap.diff(e,o)||{}}}}t+=r}else if(i.push(n),null!==n.retain&&"object"==typeof n.retain){let t=Object.keys(n.retain)[0];if(null==t)return e;this.scroll.updateEmbedAt(e,t,n.retain[t])}Object.keys(o).forEach(t=>{this.scroll.formatAt(e,r,t,o[t])});let l=s?1:0,c=a?1:0;return t+=l+c,i.retain(l),i.delete(c),e+r+l+c},0),i.reduce((e,t)=>"number"==typeof t.delete?(this.scroll.deleteAt(e,t.delete),e):e+od.Op.length(t),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(n)}deleteText(e,t){return this.scroll.deleteAt(e,t),this.update(new od().retain(e).delete(t))}formatLine(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.scroll.update(),Object.keys(n).forEach(i=>{this.scroll.lines(e,Math.max(t,1)).forEach(e=>{e.format(i,n[i])})}),this.scroll.optimize();let i=new od().retain(e).retain(t,o8(n));return this.update(i)}formatText(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.keys(n).forEach(i=>{this.scroll.formatAt(e,t,i,n[i])});let i=new od().retain(e).retain(t,o8(n));return this.update(i)}getContents(e,t){return this.delta.slice(e,e+t)}getDelta(){return this.scroll.lines().reduce((e,t)=>e.concat(t.delta()),new od)}getFormat(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],i=[];0===t?this.scroll.path(e).forEach(e=>{let[t]=e;t instanceof sb?n.push(t):t instanceof r4&&i.push(t)}):(n=this.scroll.lines(e,t),i=this.scroll.descendants(r4,e,t));let[r,o]=[n,i].map(e=>{let t=e.shift();if(null==t)return{};let n=sE(t);for(;Object.keys(n).length>0;){let t=e.shift();if(null==t)break;n=function(e,t){return Object.keys(t).reduce((n,i)=>{if(null==e[i])return n;let r=t[i];return r===e[i]?n[i]=r:Array.isArray(r)?0>r.indexOf(e[i])?n[i]=r.concat([e[i]]):n[i]=r:n[i]=[r,e[i]],n},{})}(sE(t),n)}return n});return{...r,...o}}getHTML(e,t){let[n,i]=this.scroll.line(e);if(n){let r=n.length();return n.length()>=i+t&&!(0===i&&t===r)?sB(n,i,t,!0):sB(this.scroll,e,t,!0)}return""}getText(e,t){return this.getContents(e,t).filter(e=>"string"==typeof e.insert).map(e=>e.insert).join("")}insertContents(e,t){let n=sq(t),i=new od().retain(e).concat(n);return this.scroll.insertContents(e,n),this.update(i)}insertEmbed(e,t,n){return this.scroll.insertAt(e,t,n),this.update(new od().retain(e).insert({[t]:n}))}insertText(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(n).forEach(i=>{this.scroll.formatAt(e,t.length,i,n[i])}),this.update(new od().retain(e).insert(t,o8(n)))}isBlank(){if(0===this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;let e=this.scroll.children.head;return e?.statics.blotName===sb.blotName&&!(e.children.length>1)&&e.children.head instanceof sf}removeFormat(e,t){let n=this.getText(e,t),[i,r]=this.scroll.line(e+t),o=0,s=new od;null!=i&&(o=i.length()-r,s=i.delta().slice(r,r+o-1).insert("\n"));let a=this.getContents(e,t+o).diff(new od().insert(n).concat(s)),l=new od().retain(e).concat(a);return this.applyDelta(l)}update(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(sj)&&this.scroll.find(t[0].target)){let r=this.scroll.find(t[0].target),o=sE(r),s=r.offset(this.scroll),a=t[0].oldValue.replace(sx.CONTENTS,""),l=new od().insert(a),c=new od().insert(r.value()),u=n&&{oldRange:sH(n.oldRange,-s),newRange:sH(n.newRange,-s)};e=new od().retain(s).concat(l.diff(c,u)).reduce((e,t)=>t.insert?e.insert(t.insert,o):e.push(t),new od),this.delta=i.compose(e)}else this.delta=this.getDelta(),(!e||!sp(i.compose(e),this.delta))&&(e=i.diff(this.delta,n));return e}},sU=class e{static DEFAULTS={};constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.quill=e,this.options=t}},sz=class e extends os{constructor(e,t){super(e,t),this.contentNode=document.createElement("span"),this.contentNode.setAttribute("contenteditable","false"),Array.from(this.domNode.childNodes).forEach(e=>{this.contentNode.appendChild(e)}),this.leftGuard=document.createTextNode("\uFEFF"),this.rightGuard=document.createTextNode("\uFEFF"),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(this.contentNode),this.domNode.appendChild(this.rightGuard)}index(e,t){return e===this.leftGuard?0:e===this.rightGuard?1:super.index(e,t)}restore(e){let t,n=null,i=e.data.split("\uFEFF").join("");if(e===this.leftGuard){if(this.prev instanceof sm){let e=this.prev.length();this.prev.insertAt(e,i),n={startNode:this.prev.domNode,startOffset:e+i.length}}else t=document.createTextNode(i),this.parent.insertBefore(this.scroll.create(t),this),n={startNode:t,startOffset:i.length}}else e===this.rightGuard&&(this.next instanceof sm?(this.next.insertAt(0,i),n={startNode:this.next.domNode,startOffset:i.length}):(t=document.createTextNode(i),this.parent.insertBefore(this.scroll.create(t),this.next),n={startNode:t,startOffset:i.length}));return e.data="\uFEFF",n}update(e,t){e.forEach(e=>{if("characterData"===e.type&&(e.target===this.leftGuard||e.target===this.rightGuard)){let n=this.restore(e.target);n&&(t.range=n)}})}},sX=class e{isComposing=!1;constructor(e,t){this.scroll=e,this.emitter=t,this.setupListeners()}setupListeners(){this.scroll.domNode.addEventListener("compositionstart",e=>{!this.isComposing&&this.handleCompositionStart(e)}),this.scroll.domNode.addEventListener("compositionend",e=>{this.isComposing&&queueMicrotask(()=>{this.handleCompositionEnd(e)})})}handleCompositionStart(e){let t=e.target instanceof Node?this.scroll.find(e.target,!0):null;t&&!(t instanceof sz)&&(this.emitter.emit(sM.events.COMPOSITION_BEFORE_START,e),this.scroll.batchStart(),this.emitter.emit(sM.events.COMPOSITION_START,e),this.isComposing=!0)}handleCompositionEnd(e){this.emitter.emit(sM.events.COMPOSITION_BEFORE_END,e),this.scroll.batchEnd(),this.emitter.emit(sM.events.COMPOSITION_END,e),this.isComposing=!1}};class sW{static DEFAULTS={modules:{}};static themes={default:sW};modules={};constructor(e,t){this.quill=e,this.options=t}init(){Object.keys(this.options.modules).forEach(e=>{null==this.modules[e]&&this.addModule(e)})}addModule(e){let t=this.quill.constructor.import(`modules/${e}`);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}let sV=sW,sK=e=>e.parentElement||e.getRootNode().host||null,sG=e=>{let t=e.getBoundingClientRect(),n="offsetWidth"in e&&Math.abs(t.width)/e.offsetWidth||1,i="offsetHeight"in e&&Math.abs(t.height)/e.offsetHeight||1;return{top:t.top,right:t.left+e.clientWidth*n,bottom:t.top+e.clientHeight*i,left:t.left}},sY=e=>{let t=parseInt(e,10);return Number.isNaN(t)?0:t},sZ=(e,t,n,i,r,o)=>ei?0:ei?t-e>i-n?e+r-n:t-i+o:0,sQ=(e,t)=>{let n=e.ownerDocument,i=t,r=e;for(;r;){let e=r===n.body,t=e?{top:0,right:window.visualViewport?.width??n.documentElement.clientWidth,bottom:window.visualViewport?.height??n.documentElement.clientHeight,left:0}:sG(r),o=getComputedStyle(r),s=sZ(i.left,i.right,t.left,t.right,sY(o.scrollPaddingLeft),sY(o.scrollPaddingRight)),a=sZ(i.top,i.bottom,t.top,t.bottom,sY(o.scrollPaddingTop),sY(o.scrollPaddingBottom));if(s||a){if(e)n.defaultView?.scrollBy(s,a);else{let{scrollLeft:e,scrollTop:t}=r;a&&(r.scrollTop+=a),s&&(r.scrollLeft+=s);let n=r.scrollLeft-e,o=r.scrollTop-t;i={left:i.left-n,top:i.top-o,right:i.right-n,bottom:i.bottom-o}}}r=e||"fixed"===o.position?null:sK(r)}},sJ=["block","break","cursor","inline","scroll","text"],s0=(e,t,n)=>{let i=new rY;return sJ.forEach(e=>{let n=t.query(e);n&&i.register(n)}),e.forEach(e=>{let r=t.query(e);!r&&n.error(`Cannot register "${e}" specified in "formats" config. Are you sure it was registered?`);let o=0;for(;r;)if(i.register(r),r="blotName"in r?r.requiredContainer??null:null,(o+=1)>100){n.error(`Cycle detected in registering blot requiredContainer: "${e}"`);break}}),i},s1=sN("quill"),s2=new rY;r7.uiClass="ql-ui";class s5{static DEFAULTS={bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:s2,theme:"default"};static events=sM.events;static sources=sM.sources;static version="2.0.2";static imports={delta:od,parchment:x,"core/module":sU,"core/theme":sV};static debug(e){!0===e&&(e="log"),sN.level(e)}static find(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return sO.get(e)||s2.find(e,t)}static import(e){return null==this.imports[e]&&s1.error(`Cannot import ${e}. Are you sure it was registered?`),this.imports[e]}static register(){if("string"!=typeof(arguments.length<=0?void 0:arguments[0])){let e=arguments.length<=0?void 0:arguments[0],t=!!(arguments.length<=1?void 0:arguments[1]),n="attrName"in e?e.attrName:e.blotName;"string"==typeof n?this.register(`formats/${n}`,e,t):Object.keys(e).forEach(n=>{this.register(n,e[n],t)})}else{let e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=!!(arguments.length<=2?void 0:arguments[2]);null!=this.imports[e]&&!n&&s1.warn(`Overwriting ${e} with`,t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&t&&"boolean"!=typeof t&&"abstract"!==t.blotName&&s2.register(t),"function"==typeof t.register&&t.register(s2)}}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.options=function(e,t){let n=s3(e);if(!n)throw Error("Invalid Quill container");let i=t.theme&&t.theme!==s5.DEFAULTS.theme?s5.import(`themes/${t.theme}`):sV;if(!i)throw Error(`Invalid theme ${t.theme}. Did you register it?`);let{modules:r,...o}=s5.DEFAULTS,{modules:s,...a}=i.DEFAULTS,l=s4(t.modules);null!=l&&l.toolbar&&l.toolbar.constructor!==Object&&(l={...l,toolbar:{container:l.toolbar}});let c=rX({},s4(r),s4(s),l),u={...o,...s6(a),...s6(t)},h=t.registry;return h?t.formats&&s1.warn('Ignoring "formats" option because "registry" is specified'):h=t.formats?s0(t.formats,u.registry,s1):u.registry,{...u,registry:h,container:n,theme:i,modules:Object.entries(c).reduce((e,t)=>{let[n,i]=t;if(!i)return e;let r=s5.import(`modules/${n}`);return null==r?(s1.error(`Cannot load ${n} module. Are you sure you registered it?`),e):{...e,[n]:rX({},r.DEFAULTS||{},i)}},{}),bounds:s3(u.bounds)}}(e,t),this.container=this.options.container,null==this.container){s1.error("Invalid Quill container",e);return}this.options.debug&&s5.debug(this.options.debug);let n=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",sO.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new sM;let i=oc.blotName,r=this.options.registry.query(i);if(!r||!("blotName"in r))throw Error(`Cannot initialize Quill without "${i}" blot`);if(this.scroll=new r(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new s$(this.scroll),this.selection=new sD(this.scroll,this.emitter),this.composition=new sX(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.uploader=this.theme.addModule("uploader"),this.theme.addModule("input"),this.theme.addModule("uiNode"),this.theme.init(),this.emitter.on(sM.events.EDITOR_CHANGE,e=>{e===sM.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())}),this.emitter.on(sM.events.SCROLL_UPDATE,(e,t)=>{let n=this.selection.lastRange,[i]=this.selection.getRange(),r=n&&i?{oldRange:n,newRange:i}:void 0;s8.call(this,()=>this.editor.update(null,t,r),e)}),this.emitter.on(sM.events.SCROLL_EMBED_UPDATE,(e,t)=>{let n=this.selection.lastRange,[i]=this.selection.getRange(),r=n&&i?{oldRange:n,newRange:i}:void 0;s8.call(this,()=>{let n=new od().retain(e.offset(this)).retain({[e.statics.blotName]:t});return this.editor.update(n,[],r)},s5.sources.USER)}),n){let e=this.clipboard.convert({html:`${n}


              `,text:"\n"});this.setContents(e)}this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}addContainer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){let t=e;(e=document.createElement("div")).classList.add(t)}return this.container.insertBefore(e,t),e}blur(){this.selection.setRange(null)}deleteText(e,t,n){return[e,t,,n]=s9(e,t,n),s8.call(this,()=>this.editor.deleteText(e,t),n,e,-1*t)}disable(){this.enable(!1)}editReadOnly(e){this.allowReadOnlyEdits=!0;let t=e();return this.allowReadOnlyEdits=!1,t}enable(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}focus(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.selection.focus(),!e.preventScroll&&this.scrollSelectionIntoView()}format(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sM.sources.API;return s8.call(this,()=>{let n=this.getSelection(!0),i=new od;if(null==n)return i;if(this.scroll.query(e,rW.BLOCK))i=this.editor.formatLine(n.index,n.length,{[e]:t});else{if(0===n.length)return this.selection.format(e,t),i;i=this.editor.formatText(n.index,n.length,{[e]:t})}return this.setSelection(n,sM.sources.SILENT),i},n)}formatLine(e,t,n,i,r){let o;return[e,t,o,r]=s9(e,t,n,i,r),s8.call(this,()=>this.editor.formatLine(e,t,o),r,e,0)}formatText(e,t,n,i,r){let o;return[e,t,o,r]=s9(e,t,n,i,r),s8.call(this,()=>this.editor.formatText(e,t,o),r,e,0)}getBounds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=null;if(!(n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length)))return null;let i=this.container.getBoundingClientRect();return{bottom:n.bottom-i.top,height:n.height,left:n.left-i.left,right:n.right-i.left,top:n.top-i.top,width:n.width}}getContents(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e;return[e,t]=s9(e,t),this.editor.getContents(e,t)}getFormat(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}getIndex(e){return e.offset(this.scroll)}getLength(){return this.scroll.length()}getLeaf(e){return this.scroll.leaf(e)}getLine(e){return this.scroll.line(e)}getLines(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}getModule(e){return this.theme.modules[e]}getSelection(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}getSemanticHTML(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return"number"==typeof e&&(t=t??this.getLength()-e),[e,t]=s9(e,t),this.editor.getHTML(e,t)}getText(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return"number"==typeof e&&(t=t??this.getLength()-e),[e,t]=s9(e,t),this.editor.getText(e,t)}hasFocus(){return this.selection.hasFocus()}insertEmbed(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s5.sources.API;return s8.call(this,()=>this.editor.insertEmbed(e,t,n),i,e)}insertText(e,t,n,i,r){let o;return[e,,o,r]=s9(e,0,n,i,r),s8.call(this,()=>this.editor.insertText(e,t,o),r,e,t.length)}isEnabled(){return this.scroll.isEnabled()}off(){return this.emitter.off(...arguments)}on(){return this.emitter.on(...arguments)}once(){return this.emitter.once(...arguments)}removeFormat(e,t,n){return[e,t,,n]=s9(e,t,n),s8.call(this,()=>this.editor.removeFormat(e,t),n,e)}scrollRectIntoView(e){sQ(this.root,e)}scrollIntoView(){console.warn("Quill#scrollIntoView() has been deprecated and will be removed in the near future. Please use Quill#scrollSelectionIntoView() instead."),this.scrollSelectionIntoView()}scrollSelectionIntoView(){let e=this.selection.lastRange,t=e&&this.selection.getBounds(e.index,e.length);t&&this.scrollRectIntoView(t)}setContents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sM.sources.API;return s8.call(this,()=>{e=new od(e);let t=this.getLength(),n=this.editor.deleteText(0,t),i=this.editor.insertContents(0,e),r=this.editor.deleteText(this.getLength()-1,1);return n.compose(i).compose(r)},t)}setSelection(e,t,n){null==e?this.selection.setRange(null,t||s5.sources.API):([e,t,,n]=s9(e,t,n),this.selection.setRange(new sR(Math.max(0,e),t),n),n!==sM.sources.SILENT&&this.scrollSelectionIntoView())}setText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sM.sources.API,n=new od().insert(e);return this.setContents(n,t)}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sM.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}updateContents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sM.sources.API;return s8.call(this,()=>(e=new od(e),this.editor.applyDelta(e)),t,!0)}}function s3(e){return"string"==typeof e?document.querySelector(e):e}function s4(e){return Object.entries(e??{}).reduce((e,t)=>{let[n,i]=t;return{...e,[n]:!0===i?{}:i}},{})}function s6(e){return Object.fromEntries(Object.entries(e).filter(e=>void 0!==e[1]))}function s8(e,t,n,i){if(!this.isEnabled()&&t===sM.sources.USER&&!this.allowReadOnlyEdits)return new od;let r=null==n?null:this.getSelection(),o=this.editor.delta,s=e();if(null!=r&&(!0===n&&(n=r.index),null==i?r=s7(r,s,t):0!==i&&(r=s7(r,n,i,t)),this.setSelection(r,sM.sources.SILENT)),s.length()>0){let e=[sM.events.TEXT_CHANGE,s,o,t];this.emitter.emit(sM.events.EDITOR_CHANGE,...e),t!==sM.sources.SILENT&&this.emitter.emit(...e)}return s}function s9(e,t,n,i,r){let o={};return"number"==typeof e.index&&"number"==typeof e.length?("number"!=typeof t&&(r=i,i=n,n=t),t=e.length,e=e.index):"number"!=typeof t&&(r=i,i=n,n=t,t=0),"object"==typeof n?(o=n,r=i):"string"==typeof n&&(null!=i?o[n]=i:r=n),[e,t,o,r=r||sM.sources.API]}function s7(e,t,n,i){let r,o;let s="number"==typeof n?n:0;return null==e?null:(t&&"function"==typeof t.transformPosition?[r,o]=[e.index,e.index+e.length].map(e=>t.transformPosition(e,i!==sM.sources.USER)):[r,o]=[e.index,e.index+e.length].map(e=>e=0?e+s:Math.max(t,e+s)),new sR(r,o-r))}let ae=class e extends oo{};function at(e){return e instanceof sb||e instanceof sw}function an(e){return"function"==typeof e.updateContent}function ai(e,t,n){n.reduce((t,n)=>{let i=od.Op.length(n),r=n.attributes||{};if(null!=n.insert){if("string"==typeof n.insert){let i=n.insert;e.insertAt(t,i);let[o]=e.descendant(r4,t),s=sE(o);r=od.AttributeMap.diff(s,r)||{}}else if("object"==typeof n.insert){let i=Object.keys(n.insert)[0];if(null==i)return t;if(e.insertAt(t,i,n.insert[i]),null!=e.scroll.query(i,rW.INLINE)){let[n]=e.descendant(r4,t),i=sE(n);r=od.AttributeMap.diff(i,r)||{}}}}return Object.keys(r).forEach(n=>{e.formatAt(t,i,n,r[n])}),t+i},t)}let ar=class e extends oc{static blotName="scroll";static className="ql-editor";static tagName="DIV";static defaultChild=sb;static allowedChildren=[sb,sw,ae];constructor(e,t,n){let{emitter:i}=n;super(e,t),this.emitter=i,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",e=>this.handleDragStart(e))}batchStart(){!Array.isArray(this.batch)&&(this.batch=[])}batchEnd(){if(!this.batch)return;let e=this.batch;this.batch=!1,this.update(e)}emitMount(e){this.emitter.emit(sM.events.SCROLL_BLOT_MOUNT,e)}emitUnmount(e){this.emitter.emit(sM.events.SCROLL_BLOT_UNMOUNT,e)}emitEmbedUpdate(e,t){this.emitter.emit(sM.events.SCROLL_EMBED_UPDATE,e,t)}deleteAt(e,t){let[n,i]=this.line(e),[r]=this.line(e+t);if(super.deleteAt(e,t),null!=r&&n!==r&&i>0){if(n instanceof sw||r instanceof sw){this.optimize();return}let e=r.children.head instanceof sf?null:r.children.head;n.moveChildren(r,e),n.remove()}this.optimize()}enable(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.domNode.setAttribute("contenteditable",e?"true":"false")}formatAt(e,t,n,i){super.formatAt(e,t,n,i),this.optimize()}insertAt(e,t,n){if(e>=this.length()){if(null==n||null==this.scroll.query(t,rW.BLOCK)){let e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e),null==n&&t.endsWith("\n")?e.insertAt(0,t.slice(0,-1),n):e.insertAt(0,t,n)}else{let e=this.scroll.create(t,n);this.appendChild(e)}}else super.insertAt(e,t,n);this.optimize()}insertBefore(e,t){if(e.statics.scope===rW.INLINE_BLOT){let n=this.scroll.create(this.statics.defaultChild.blotName);n.appendChild(e),super.insertBefore(n,t)}else super.insertBefore(e,t)}insertContents(e,t){let n=this.deltaToRenderBlocks(t.concat(new od().insert("\n"))),i=n.pop();if(null==i)return;this.batchStart();let r=n.shift();if(r){let t="block"===r.type&&(0===r.delta.length()||!this.descendant(sw,e)[0]&&e{this.formatAt(o-1,1,e,a[e])}),e=o}let[o,s]=this.children.find(e);n.length&&(o&&(o=o.split(s),s=0),n.forEach(e=>{if("block"===e.type)ai(this.createBlock(e.attributes,o||void 0),0,e.delta);else{let t=this.create(e.key,e.value);this.insertBefore(t,o||void 0),Object.keys(e.attributes).forEach(n=>{t.format(n,e.attributes[n])})}})),"block"===i.type&&i.delta.length()&&ai(this,o?o.offset(o.scroll)+s:this.length(),i.delta),this.batchEnd(),this.optimize()}isEnabled(){return"true"===this.domNode.getAttribute("contenteditable")}leaf(e){let t=this.path(e).pop();if(!t)return[null,-1];let[n,i]=t;return n instanceof r4?[n,i]:[null,-1]}line(e){return e===this.length()?this.line(e-1):this.descendant(at,e)}lines(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=(e,t,i)=>{let r=[],o=i;return e.children.forEachAt(t,i,(e,t,i)=>{at(e)?r.push(e):e instanceof oo&&(r=r.concat(n(e,t,o))),o-=i}),r};return n(this,e,t)}optimize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!this.batch&&(super.optimize(e,t),e.length>0&&this.emitter.emit(sM.events.SCROLL_OPTIMIZE,e,t))}path(e){return super.path(e).slice(1)}remove(){}update(e){if(this.batch){Array.isArray(e)&&(this.batch=this.batch.concat(e));return}let t=sM.sources.USER;"string"==typeof e&&(t=e),!Array.isArray(e)&&(e=this.observer.takeRecords()),(e=e.filter(e=>{let{target:t}=e,n=this.find(t,!0);return n&&!an(n)})).length>0&&this.emitter.emit(sM.events.SCROLL_BEFORE_UPDATE,t,e),super.update(e.concat([])),e.length>0&&this.emitter.emit(sM.events.SCROLL_UPDATE,t,e)}updateEmbedAt(e,t,n){let[i]=this.descendant(e=>e instanceof sw,e);i&&i.statics.blotName===t&&an(i)&&i.updateContent(n)}handleDragStart(e){e.preventDefault()}deltaToRenderBlocks(e){let t=[],n=new od;return e.forEach(e=>{let i=e?.insert;if(i){if("string"==typeof i){let r=i.split("\n");r.slice(0,-1).forEach(i=>{n.insert(i,e.attributes),t.push({type:"block",delta:n,attributes:e.attributes??{}}),n=new od});let o=r[r.length-1];o&&n.insert(o,e.attributes)}else{let r=Object.keys(i)[0];if(!r)return;this.query(r,rW.INLINE)?n.push(e):(n.length()&&t.push({type:"block",delta:n,attributes:{}}),n=new od,t.push({type:"blockEmbed",key:r,value:i[r],attributes:e.attributes??{}}))}}}),n.length()&&t.push({type:"block",delta:n,attributes:{}}),t}createBlock(e,t){let n;let i={};Object.entries(e).forEach(e=>{let[t,r]=e;null!=this.query(t,rW.BLOCK&rW.BLOT)?n=t:i[t]=r});let r=this.create(n||this.statics.defaultChild.blotName,n?e[n]:void 0);this.insertBefore(r,t||void 0);let o=r.length();return Object.entries(i).forEach(e=>{let[t,n]=e;r.formatAt(0,o,t,n)}),r}},ao={scope:rW.BLOCK,whitelist:["right","center","justify"]},as=new rV("align","align",ao),aa=new rQ("align","ql-align",ao),al=new r0("align","text-align",ao);class ac extends r0{value(e){let t=super.value(e);if(!t.startsWith("rgb("))return t;let n=(t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map(e=>`00${parseInt(e,10).toString(16)}`.slice(-2)).join("");return`#${n}`}}let au=new rQ("color","ql-color",{scope:rW.INLINE}),ah=new ac("color","color",{scope:rW.INLINE}),ad=new rQ("background","ql-bg",{scope:rW.INLINE}),ap=new ac("background","background-color",{scope:rW.INLINE});class af extends ae{static create(e){let t=super.create(e);return t.setAttribute("spellcheck","false"),t}code(e,t){return this.children.map(e=>1>=e.length()?"":e.domNode.innerText).join("\n").slice(e,e+t)}html(e,t){return`
              -${sg(this.code(e,t))}
              -
              `}}class am extends sb{static TAB=" ";static register(){s5.register(af)}}class ag extends sy{}ag.blotName="code",ag.tagName="CODE",am.blotName="code-block",am.className="ql-code-block",am.tagName="DIV",af.blotName="code-block-container",af.className="ql-code-block-container",af.tagName="DIV",af.allowedChildren=[am],am.allowedChildren=[sm,sf,sx],am.requiredContainer=af;let av={scope:rW.BLOCK,whitelist:["rtl"]},ay=new rV("direction","dir",av),ab=new rQ("direction","ql-direction",av),aw=new r0("direction","direction",av),a_={scope:rW.INLINE,whitelist:["serif","monospace"]},aE=new rQ("font","ql-font",a_),ax=new class e extends r0{value(e){return super.value(e).replace(/["']/g,"")}}("font","font-family",a_),ak=new rQ("size","ql-size",{scope:rW.INLINE,whitelist:["small","large","huge"]}),aT=new r0("size","font-size",{scope:rW.INLINE,whitelist:["10px","18px","32px"]}),aO=sN("quill:keyboard"),aC=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";class aA extends sU{static match(e,t){return!["altKey","ctrlKey","metaKey","shiftKey"].some(n=>!!t[n]!==e[n]&&null!==t[n])&&(t.key===e.key||t.key===e.which)}constructor(e,t){super(e,t),this.bindings={},Object.keys(this.options.bindings).forEach(e=>{this.options.bindings[e]&&this.addBinding(this.options.bindings[e])}),this.addBinding({key:"Enter",shiftKey:null},this.handleEnter),this.addBinding({key:"Enter",metaKey:null,ctrlKey:null,altKey:null},()=>{}),/Firefox/i.test(navigator.userAgent)?(this.addBinding({key:"Backspace"},{collapsed:!0},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0},this.handleDelete)):(this.addBinding({key:"Backspace"},{collapsed:!0,prefix:/^.?$/},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0,suffix:/^.?$/},this.handleDelete)),this.addBinding({key:"Backspace"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Delete"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Backspace",altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},this.handleBackspace),this.listen()}addBinding(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=function(e){if("string"==typeof e||"number"==typeof e)e={key:e};else{if("object"!=typeof e)return null;e=o8(e)}return e.shortKey&&(e[aC]=e.shortKey,delete e.shortKey),e}(e);if(null==i){aO.warn("Attempted to add invalid keyboard binding",i);return}"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),(Array.isArray(i.key)?i.key:[i.key]).forEach(e=>{let r={...i,key:e,...t,...n};this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)})}listen(){this.quill.root.addEventListener("keydown",e=>{if(e.defaultPrevented||e.isComposing||229===e.keyCode&&("Enter"===e.key||"Backspace"===e.key))return;let t=(this.bindings[e.key]||[]).concat(this.bindings[e.which]||[]).filter(t=>aA.match(e,t));if(0===t.length)return;let n=s5.find(e.target,!0);if(n&&n.scroll!==this.quill.scroll)return;let i=this.quill.getSelection();if(null==i||!this.quill.hasFocus())return;let[r,o]=this.quill.getLine(i.index),[s,a]=this.quill.getLeaf(i.index),[l,c]=0===i.length?[s,a]:this.quill.getLeaf(i.index+i.length),u=s instanceof oh?s.value().slice(0,a):"",h=l instanceof oh?l.value().slice(c):"",d={collapsed:0===i.length,empty:0===i.length&&1>=r.length(),format:this.quill.getFormat(i),line:r,offset:o,prefix:u,suffix:h,event:e};t.some(e=>{if(null!=e.collapsed&&e.collapsed!==d.collapsed||null!=e.empty&&e.empty!==d.empty||null!=e.offset&&e.offset!==d.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(e=>null==d.format[e]))return!1}else if("object"==typeof e.format&&!Object.keys(e.format).every(t=>!0===e.format[t]?null!=d.format[t]:!1===e.format[t]?null==d.format[t]:sp(e.format[t],d.format[t])))return!1;return!!((null==e.prefix||e.prefix.test(d.prefix))&&(null==e.suffix||e.suffix.test(d.suffix)))&&!0!==e.handler.call(this,i,d,e)})&&e.preventDefault()})}handleBackspace(e,t){let n=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;if(0===e.index||1>=this.quill.getLength())return;let i={},[r]=this.quill.getLine(e.index),o=new od().retain(e.index-n).delete(n);if(0===t.offset){let[t]=this.quill.getLine(e.index-1);if(t&&!("block"===t.statics.blotName&&1>=t.length())){let t=r.formats(),n=this.quill.getFormat(e.index-1,1);if(Object.keys(i=od.AttributeMap.diff(t,n)||{}).length>0){let t=new od().retain(e.index+r.length()-2).retain(1,i);o=o.compose(t)}}}this.quill.updateContents(o,s5.sources.USER),this.quill.focus()}handleDelete(e,t){let n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(e.index>=this.quill.getLength()-n)return;let i={},[r]=this.quill.getLine(e.index),o=new od().retain(e.index).delete(n);if(t.offset>=r.length()-1){let[t]=this.quill.getLine(e.index+1);if(t){let n=r.formats(),s=this.quill.getFormat(e.index,1);Object.keys(i=od.AttributeMap.diff(n,s)||{}).length>0&&(o=o.retain(t.length()-1).retain(1,i))}}this.quill.updateContents(o,s5.sources.USER),this.quill.focus()}handleDeleteRange(e){aR({range:e,quill:this.quill}),this.quill.focus()}handleEnter(e,t){let n=Object.keys(t.format).reduce((e,n)=>(this.quill.scroll.query(n,rW.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e),{}),i=new od().retain(e.index).delete(e.length).insert("\n",n);this.quill.updateContents(i,s5.sources.USER),this.quill.setSelection(e.index+1,s5.sources.SILENT),this.quill.focus()}}let aS={bindings:{bold:aM("bold"),italic:aM("italic"),underline:aM("underline"),indent:{key:"Tab",format:["blockquote","indent","list"],handler(e,t){return!!t.collapsed&&0!==t.offset||(this.quill.format("indent","+1",s5.sources.USER),!1)}},outdent:{key:"Tab",shiftKey:!0,format:["blockquote","indent","list"],handler(e,t){return!!t.collapsed&&0!==t.offset||(this.quill.format("indent","-1",s5.sources.USER),!1)}},"outdent backspace":{key:"Backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler(e,t){null!=t.format.indent?this.quill.format("indent","-1",s5.sources.USER):null!=t.format.list&&this.quill.format("list",!1,s5.sources.USER)}},"indent code-block":aN(!0),"outdent code-block":aN(!1),"remove tab":{key:"Tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler(e){this.quill.deleteText(e.index-1,1,s5.sources.USER)}},tab:{key:"Tab",handler(e,t){if(t.format.table)return!0;this.quill.history.cutoff();let n=new od().retain(e.index).delete(e.length).insert(" ");return this.quill.updateContents(n,s5.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,s5.sources.SILENT),!1}},"blockquote empty enter":{key:"Enter",collapsed:!0,format:["blockquote"],empty:!0,handler(){this.quill.format("blockquote",!1,s5.sources.USER)}},"list empty enter":{key:"Enter",collapsed:!0,format:["list"],empty:!0,handler(e,t){let n={list:!1};t.format.indent&&(n.indent=!1),this.quill.formatLine(e.index,e.length,n,s5.sources.USER)}},"checklist enter":{key:"Enter",collapsed:!0,format:{list:"checked"},handler(e){let[t,n]=this.quill.getLine(e.index),i={...t.formats(),list:"checked"},r=new od().retain(e.index).insert("\n",i).retain(t.length()-n-1).retain(1,{list:"unchecked"});this.quill.updateContents(r,s5.sources.USER),this.quill.setSelection(e.index+1,s5.sources.SILENT),this.quill.scrollSelectionIntoView()}},"header enter":{key:"Enter",collapsed:!0,format:["header"],suffix:/^$/,handler(e,t){let[n,i]=this.quill.getLine(e.index),r=new od().retain(e.index).insert("\n",t.format).retain(n.length()-i-1).retain(1,{header:null});this.quill.updateContents(r,s5.sources.USER),this.quill.setSelection(e.index+1,s5.sources.SILENT),this.quill.scrollSelectionIntoView()}},"table backspace":{key:"Backspace",format:["table"],collapsed:!0,offset:0,handler(){}},"table delete":{key:"Delete",format:["table"],collapsed:!0,suffix:/^$/,handler(){}},"table enter":{key:"Enter",shiftKey:null,format:["table"],handler(e){let t=this.quill.getModule("table");if(t){let[n,i,r,o]=t.getTable(e),s=function(e,t,n,i){if(null==t.prev&&null==t.next)return null==n.prev&&null==n.next?0===i?-1:1:null==n.prev?-1:1;return null==t.prev?-1:null==t.next?1:null}(n,i,r,o);if(null==s)return;let a=n.offset();if(s<0){let t=new od().retain(a).insert("\n");this.quill.updateContents(t,s5.sources.USER),this.quill.setSelection(e.index+1,e.length,s5.sources.SILENT)}else if(s>0){a+=n.length();let e=new od().retain(a).insert("\n");this.quill.updateContents(e,s5.sources.USER),this.quill.setSelection(a,s5.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(e,t){let{event:n,line:i}=t,r=i.offset(this.quill.scroll);n.shiftKey?this.quill.setSelection(r-1,s5.sources.USER):this.quill.setSelection(r+i.length(),s5.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(e,t){let n;if(null==this.quill.scroll.query("list"))return!0;let{length:i}=t.prefix,[r,o]=this.quill.getLine(e.index);if(o>i)return!0;switch(t.prefix.trim()){case"[]":case"[ ]":n="unchecked";break;case"[x]":n="checked";break;case"-":case"*":n="bullet";break;default:n="ordered"}this.quill.insertText(e.index," ",s5.sources.USER),this.quill.history.cutoff();let s=new od().retain(e.index-o).delete(i+1).retain(r.length()-2-o).retain(1,{list:n});return this.quill.updateContents(s,s5.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-i,s5.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(e){let[t,n]=this.quill.getLine(e.index),i=2,r=t;for(;null!=r&&1>=r.length()&&r.formats()["code-block"];)if(r=r.prev,(i-=1)<=0){let i=new od().retain(e.index+t.length()-n-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(i,s5.sources.USER),this.quill.setSelection(e.index-1,s5.sources.SILENT),!1}return!0}},"embed left":aI("ArrowLeft",!1),"embed left shift":aI("ArrowLeft",!0),"embed right":aI("ArrowRight",!1),"embed right shift":aI("ArrowRight",!0),"table down":aL(!1),"table up":aL(!0)}};function aN(e){return{key:"Tab",shiftKey:!e,format:{"code-block":!0},handler(t,n){let{event:i}=n,{TAB:r}=this.quill.scroll.query("code-block");if(0===t.length&&!i.shiftKey){this.quill.insertText(t.index,r,s5.sources.USER),this.quill.setSelection(t.index+r.length,s5.sources.SILENT);return}let o=0===t.length?this.quill.getLines(t.index,1):this.quill.getLines(t),{index:s,length:a}=t;o.forEach((t,n)=>{e?(t.insertAt(0,r),0===n?s+=r.length:a+=r.length):t.domNode.textContent.startsWith(r)&&(t.deleteAt(0,r.length),0===n?s-=r.length:a-=r.length)}),this.quill.update(s5.sources.USER),this.quill.setSelection(s,a,s5.sources.SILENT)}}}function aI(e,t){return{key:e,shiftKey:t,altKey:null,["ArrowLeft"===e?"prefix":"suffix"]:/^$/,handler(n){let{index:i}=n;"ArrowRight"===e&&(i+=n.length+1);let[r]=this.quill.getLeaf(i);return!(r instanceof os)||("ArrowLeft"===e?t?this.quill.setSelection(n.index-1,n.length+1,s5.sources.USER):this.quill.setSelection(n.index-1,s5.sources.USER):t?this.quill.setSelection(n.index,n.length+1,s5.sources.USER):this.quill.setSelection(n.index+n.length+1,s5.sources.USER),!1)}}}function aM(e){return{key:e[0],shortKey:!0,handler(t,n){this.quill.format(e,!n.format[e],s5.sources.USER)}}}function aL(e){return{key:e?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(t,n){let i=e?"prev":"next",r=n.line,o=r.parent[i];if(null!=o){if("table-row"===o.statics.blotName){let e=o.children.head,t=r;for(;null!=t.prev;)t=t.prev,e=e.next;let i=e.offset(this.quill.scroll)+Math.min(n.offset,e.length()-1);this.quill.setSelection(i,0,s5.sources.USER)}}else{let t=r.table()[i];null!=t&&(e?this.quill.setSelection(t.offset(this.quill.scroll)+t.length()-1,0,s5.sources.USER):this.quill.setSelection(t.offset(this.quill.scroll),0,s5.sources.USER))}return!1}}}aA.DEFAULTS=aS;function aR(e){let{quill:t,range:n}=e,i=t.getLines(n),r={};if(i.length>1){let e=i[0].formats(),t=i[i.length-1].formats();r=od.AttributeMap.diff(t,e)||{}}t.deleteText(n,s5.sources.USER),Object.keys(r).length>0&&t.formatLine(n.index,1,r,s5.sources.USER),t.setSelection(n.index,s5.sources.SILENT)}let aP=/font-weight:\s*normal/,aD=["P","OL","UL"],aj=e=>e&&aD.includes(e.tagName),aB=e=>{Array.from(e.querySelectorAll("br")).filter(e=>aj(e.previousElementSibling)&&aj(e.nextElementSibling)).forEach(e=>{e.parentNode?.removeChild(e)})},aF=e=>{Array.from(e.querySelectorAll('b[style*="font-weight"]')).filter(e=>e.getAttribute("style")?.match(aP)).forEach(t=>{let n=e.createDocumentFragment();n.append(...t.childNodes),t.parentNode?.replaceChild(n,t)})},aq=/\bmso-list:[^;]*ignore/i,aH=/\bmso-list:[^;]*\bl(\d+)/i,a$=/\bmso-list:[^;]*\blevel(\d+)/i,aU=(e,t)=>{let n=e.getAttribute("style"),i=n?.match(aH);if(!i)return null;let r=Number(i[1]),o=n?.match(a$),s=o?Number(o[1]):1,a=RegExp(`@list l${r}:level${s}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),l=t.match(a);return{id:r,indent:s,type:l&&"bullet"===l[1]?"bullet":"ordered",element:e}},az=e=>{let t=Array.from(e.querySelectorAll("[style*=mso-list]")),n=[],i=[];t.forEach(e=>{(e.getAttribute("style")||"").match(aq)?n.push(e):i.push(e)}),n.forEach(e=>e.parentNode?.removeChild(e));let r=e.documentElement.innerHTML,o=i.map(e=>aU(e,r)).filter(e=>e);for(;o.length;){let e=[],t=o.shift();for(;t;)e.push(t),t=o.length&&o[0]?.element===t.element.nextElementSibling&&o[0].id===t.id?o.shift():null;let n=document.createElement("ul");e.forEach(e=>{let t=document.createElement("li");t.setAttribute("data-list",e.type),e.indent>1&&t.setAttribute("class",`ql-indent-${e.indent-1}`),t.innerHTML=e.element.innerHTML,n.appendChild(t)});let i=e[0]?.element,{parentNode:r}=i??{};i&&r?.replaceChild(n,i),e.slice(1).forEach(e=>{let{element:t}=e;r?.removeChild(t)})}},aX=[function(e){"urn:schemas-microsoft-com:office:word"===e.documentElement.getAttribute("xmlns:w")&&az(e)},function(e){e.querySelector('[id^="docs-internal-guid-"]')&&(aF(e),aB(e))}],aW=e=>{e.documentElement&&aX.forEach(t=>{t(e)})},aV=sN("quill:clipboard"),aK=[[Node.TEXT_NODE,function(e,t,n){let i=e.data;if(e.parentElement?.tagName==="O:P")return t.insert(i.trim());if(!function e(t){return null!=t&&(!a0.has(t)&&("PRE"===t.tagName?a0.set(t,!0):a0.set(t,e(t.parentNode))),a0.get(t))}(e)){var r,o;if(0===i.trim().length&&i.includes("\n")&&(r=e,o=n,!r.previousElementSibling||!r.nextElementSibling||aJ(r.previousElementSibling,o)||aJ(r.nextElementSibling,o)))return t;let s=(e,t)=>{let n=t.replace(/[^\u00a0]/g,"");return n.length<1&&e?" ":n};i=(i=i.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,s.bind(s,!0)),(null==e.previousSibling&&null!=e.parentElement&&aJ(e.parentElement,n)||e.previousSibling instanceof Element&&aJ(e.previousSibling,n))&&(i=i.replace(/^\s+/,s.bind(s,!1))),(null==e.nextSibling&&null!=e.parentElement&&aJ(e.parentElement,n)||e.nextSibling instanceof Element&&aJ(e.nextSibling,n))&&(i=i.replace(/\s+$/,s.bind(s,!1)))}return t.insert(i)}],[Node.TEXT_NODE,a5],["br",function(e,t){return!aQ(t,"\n")&&t.insert("\n"),t}],[Node.ELEMENT_NODE,a5],[Node.ELEMENT_NODE,function(e,t,n){let i=n.query(e);if(null==i)return t;if(i.prototype instanceof os){let t={},r=i.value(e);if(null!=r)return t[i.blotName]=r,new od().insert(t,i.formats(e,n))}else if(i.prototype instanceof oi&&!aQ(t,"\n")&&t.insert("\n"),"blotName"in i&&"formats"in i&&"function"==typeof i.formats)return aZ(t,i.blotName,i.formats(e,n),n);return t}],[Node.ELEMENT_NODE,function(e,t,n){let i=rV.keys(e),r=rQ.keys(e),o=r0.keys(e),s={};return i.concat(r).concat(o).forEach(t=>{let i=n.query(t,rW.ATTRIBUTE);if(null==i||(s[i.attrName]=i.value(e),!s[i.attrName]))null!=(i=aG[t])&&(i.attrName===t||i.keyName===t)&&(s[i.attrName]=i.value(e)||void 0),null!=(i=aY[t])&&(i.attrName===t||i.keyName===t)&&(s[(i=aY[t]).attrName]=i.value(e)||void 0)}),Object.entries(s).reduce((e,t)=>{let[i,r]=t;return aZ(e,i,r,n)},t)}],[Node.ELEMENT_NODE,function(e,t,n){let i={},r=e.style||{};return("italic"===r.fontStyle&&(i.italic=!0),"underline"===r.textDecoration&&(i.underline=!0),"line-through"===r.textDecoration&&(i.strike=!0),(r.fontWeight?.startsWith("bold")||parseInt(r.fontWeight,10)>=700)&&(i.bold=!0),t=Object.entries(i).reduce((e,t)=>{let[i,r]=t;return aZ(e,i,r,n)},t),parseFloat(r.textIndent||0)>0)?new od().insert(" ").concat(t):t}],["li",function(e,t,n){let i=n.query(e);if(null==i||"list"!==i.blotName||!aQ(t,"\n"))return t;let r=-1,o=e.parentNode;for(;null!=o;)["OL","UL"].includes(o.tagName)&&(r+=1),o=o.parentNode;return r<=0?t:t.reduce((e,t)=>t.insert?t.attributes&&"number"==typeof t.attributes.indent?e.push(t):e.insert(t.insert,{indent:r,...t.attributes||{}}):e,new od)}],["ol, ul",function(e,t,n){let i="OL"===e.tagName?"ordered":"bullet",r=e.getAttribute("data-checked");return r&&(i="true"===r?"checked":"unchecked"),aZ(t,"list",i,n)}],["pre",function(e,t,n){let i=n.query("code-block");return aZ(t,"code-block",!i||!("formats"in i)||"function"!=typeof i.formats||i.formats(e,n),n)}],["tr",function(e,t,n){let i=e.parentElement?.tagName==="TABLE"?e.parentElement:e.parentElement?.parentElement;return null!=i?aZ(t,"table",Array.from(i.querySelectorAll("tr")).indexOf(e)+1,n):t}],["b",a2("bold")],["i",a2("italic")],["strike",a2("strike")],["style",function(){return new od}]],aG=[as,ay].reduce((e,t)=>(e[t.keyName]=t,e),{}),aY=[al,ap,ah,aw,ax,aT].reduce((e,t)=>(e[t.keyName]=t,e),{});function aZ(e,t,n,i){return i.query(t)?e.reduce((e,i)=>i.insert?i.attributes&&i.attributes[t]?e.push(i):e.insert(i.insert,{...n?{[t]:n}:{},...i.attributes}):e,new od):e}function aQ(e,t){let n="";for(let i=e.ops.length-1;i>=0&&n.lengthi(t,n,e),new od):t.nodeType===t.ELEMENT_NODE?Array.from(t.childNodes||[]).reduce((o,s)=>{let a=a1(e,s,n,i,r);return s.nodeType===t.ELEMENT_NODE&&(a=n.reduce((t,n)=>n(s,t,e),a),a=(r.get(s)||[]).reduce((t,n)=>n(s,t,e),a)),o.concat(a)},new od):new od}function a2(e){return(t,n,i)=>aZ(n,e,!0,i)}function a5(e,t,n){if(!aQ(t,"\n")){if(aJ(e,n)&&(e.childNodes.length>0||e instanceof HTMLParagraphElement))return t.insert("\n");if(t.length()>0&&e.nextSibling){let i=e.nextSibling;for(;null!=i;){if(aJ(i,n))return t.insert("\n");let e=n.query(i);if(e&&e.prototype instanceof sw)return t.insert("\n");i=i.firstChild}}}return t}function a3(e,t){let n=t;for(let t=e.length-1;t>=0;t-=1){let i=e[t];e[t]={delta:n.transform(i.delta,!0),range:i.range&&a4(i.range,n)},n=i.delta.transform(n),0===e[t].delta.length()&&e.splice(t,1)}}function a4(e,t){if(!e)return e;let n=t.transformPosition(e.index);return{index:n,length:t.transformPosition(e.index+e.length)-n}}class a6 extends sU{constructor(e,t){super(e,t),e.root.addEventListener("drop",t=>{t.preventDefault();let n=null;if(document.caretRangeFromPoint)n=document.caretRangeFromPoint(t.clientX,t.clientY);else if(document.caretPositionFromPoint){let e=document.caretPositionFromPoint(t.clientX,t.clientY);(n=document.createRange()).setStart(e.offsetNode,e.offset),n.setEnd(e.offsetNode,e.offset)}let i=n&&e.selection.normalizeNative(n);if(i){let n=e.selection.normalizedToRange(i);t.dataTransfer?.files&&this.upload(n,t.dataTransfer.files)}})}upload(e,t){let n=[];Array.from(t).forEach(e=>{e&&this.options.mimetypes?.includes(e.type)&&n.push(e)}),n.length>0&&this.options.handler.call(this,e,n)}}a6.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(e,t){if(!!this.quill.scroll.query("image"))Promise.all(t.map(e=>new Promise(t=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.readAsDataURL(e)}))).then(t=>{let n=t.reduce((e,t)=>e.insert({image:t}),new od().retain(e.index).delete(e.length));this.quill.updateContents(n,sM.sources.USER),this.quill.setSelection(e.index+t.length,sM.sources.SILENT)})}};let a8=["insertText","insertReplacementText"],a9=class e extends sU{constructor(e,t){super(e,t),e.root.addEventListener("beforeinput",e=>{this.handleBeforeInput(e)}),!/Android/i.test(navigator.userAgent)&&e.on(s5.events.COMPOSITION_BEFORE_START,()=>{this.handleCompositionStart()})}deleteRange(e){aR({range:e,quill:this.quill})}replaceText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(0===e.length)return!1;if(t){let n=this.quill.getFormat(e.index,1);this.deleteRange(e),this.quill.updateContents(new od().retain(e.index).insert(t,n),s5.sources.USER)}else this.deleteRange(e);return this.quill.setSelection(e.index+t.length,0,s5.sources.SILENT),!0}handleBeforeInput(e){if(this.quill.composition.isComposing||e.defaultPrevented||!a8.includes(e.inputType))return;let t=e.getTargetRanges?e.getTargetRanges()[0]:null;if(!t||!0===t.collapsed)return;let n=function(e){return"string"==typeof e.data?e.data:e.dataTransfer?.types.includes("text/plain")?e.dataTransfer.getData("text/plain"):null}(e);if(null==n)return;let i=this.quill.selection.normalizeNative(t),r=i?this.quill.selection.normalizedToRange(i):null;r&&this.replaceText(r,n)&&e.preventDefault()}handleCompositionStart(){let e=this.quill.getSelection();e&&this.replaceText(e)}},a7=/Mac/i.test(navigator.platform),le=e=>"ArrowLeft"===e.key||"ArrowRight"===e.key||"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||!!a7&&"a"===e.key&&!0===e.ctrlKey||!1,lt=class e extends sU{isListening=!1;selectionChangeDeadline=0;constructor(e,t){super(e,t),this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(e,t){let{line:n,event:i}=t;if(!(n instanceof r7)||!n.uiNode)return!0;let r="rtl"===getComputedStyle(n.domNode).direction;return!!r&&"ArrowRight"!==i.key||!r&&"ArrowLeft"!==i.key||(this.quill.setSelection(e.index-1,e.length+(i.shiftKey?1:0),s5.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",e=>{!e.defaultPrevented&&le(e)&&this.ensureListeningToSelectionChange()})}ensureListeningToSelectionChange(){if(this.selectionChangeDeadline=Date.now()+100,!this.isListening){this.isListening=!0;document.addEventListener("selectionchange",()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()},{once:!0})}}handleSelectionChange(){let e=document.getSelection();if(!e)return;let t=e.getRangeAt(0);if(!0!==t.collapsed||0!==t.startOffset)return;let n=this.quill.scroll.find(t.startContainer);if(!(n instanceof r7)||!n.uiNode)return;let i=document.createRange();i.setStartAfter(n.uiNode),i.setEndAfter(n.uiNode),e.removeAllRanges(),e.addRange(i)}};s5.register({"blots/block":sb,"blots/block/embed":sw,"blots/break":sf,"blots/container":ae,"blots/cursor":sx,"blots/embed":sz,"blots/inline":sy,"blots/scroll":ar,"blots/text":sm,"modules/clipboard":class e extends sU{static DEFAULTS={matchers:[]};constructor(e,t){super(e,t),this.quill.root.addEventListener("copy",e=>this.onCaptureCopy(e,!1)),this.quill.root.addEventListener("cut",e=>this.onCaptureCopy(e,!0)),this.quill.root.addEventListener("paste",this.onCapturePaste.bind(this)),this.matchers=[],aK.concat(this.options.matchers??[]).forEach(e=>{let[t,n]=e;this.addMatcher(t,n)})}addMatcher(e,t){this.matchers.push([e,t])}convert(e){let{html:t,text:n}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i[am.blotName])return new od().insert(n||"",{[am.blotName]:i[am.blotName]});if(!t)return new od().insert(n||"",i);let r=this.convertHTML(t);return aQ(r,"\n")&&(null==r.ops[r.ops.length-1].attributes||i.table)?r.compose(new od().retain(r.length()-1).delete(1)):r}normalizeHTML(e){aW(e)}convertHTML(e){let t=new DOMParser().parseFromString(e,"text/html");this.normalizeHTML(t);let n=t.body,i=new WeakMap,[r,o]=this.prepareMatching(n,i);return a1(this.quill.scroll,n,r,o,i)}dangerouslyPasteHTML(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s5.sources.API;if("string"==typeof e){let n=this.convert({html:e,text:""});this.quill.setContents(n,t),this.quill.setSelection(0,s5.sources.SILENT)}else{let i=this.convert({html:t,text:""});this.quill.updateContents(new od().retain(e).concat(i),n),this.quill.setSelection(e+i.length(),s5.sources.SILENT)}}onCaptureCopy(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.defaultPrevented)return;e.preventDefault();let[n]=this.quill.selection.getRange();if(null==n)return;let{html:i,text:r}=this.onCopy(n,t);e.clipboardData?.setData("text/plain",r),e.clipboardData?.setData("text/html",i),t&&aR({range:n,quill:this.quill})}normalizeURIList(e){return e.split(/\r?\n/).filter(e=>"#"!==e[0]).join("\n")}onCapturePaste(e){if(e.defaultPrevented||!this.quill.isEnabled())return;e.preventDefault();let t=this.quill.getSelection(!0);if(null==t)return;let n=e.clipboardData?.getData("text/html"),i=e.clipboardData?.getData("text/plain");if(!n&&!i){let t=e.clipboardData?.getData("text/uri-list");t&&(i=this.normalizeURIList(t))}let r=Array.from(e.clipboardData?.files||[]);if(!n&&r.length>0){this.quill.uploader.upload(t,r);return}if(n&&r.length>0){let e=new DOMParser().parseFromString(n,"text/html");if(1===e.body.childElementCount&&e.body.firstElementChild?.tagName==="IMG"){this.quill.uploader.upload(t,r);return}}this.onPaste(t,{html:n,text:i})}onCopy(e){let t=this.quill.getText(e);return{html:this.quill.getSemanticHTML(e),text:t}}onPaste(e,t){let{text:n,html:i}=t,r=this.quill.getFormat(e.index),o=this.convert({text:n,html:i},r);aV.log("onPaste",o,{text:n,html:i});let s=new od().retain(e.index).delete(e.length).concat(o);this.quill.updateContents(s,s5.sources.USER),this.quill.setSelection(s.length()-e.length,s5.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(e,t){let n=[],i=[];return this.matchers.forEach(r=>{let[o,s]=r;switch(o){case Node.TEXT_NODE:i.push(s);break;case Node.ELEMENT_NODE:n.push(s);break;default:Array.from(e.querySelectorAll(o)).forEach(e=>{if(t.has(e)){let n=t.get(e);n?.push(s)}else t.set(e,[s])})}}),[n,i]}},"modules/history":class e extends sU{static DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};lastRecorded=0;ignoreChange=!1;stack={undo:[],redo:[]};currentRange=null;constructor(e,t){super(e,t),this.quill.on(s5.events.EDITOR_CHANGE,(e,t,n,i)=>{e===s5.events.SELECTION_CHANGE?t&&i!==s5.sources.SILENT&&(this.currentRange=t):e===s5.events.TEXT_CHANGE&&(!this.ignoreChange&&(this.options.userOnly&&i!==s5.sources.USER?this.transform(t):this.record(t,n)),this.currentRange=a4(this.currentRange,t))}),this.quill.keyboard.addBinding({key:"z",shortKey:!0},this.undo.bind(this)),this.quill.keyboard.addBinding({key:["z","Z"],shortKey:!0,shiftKey:!0},this.redo.bind(this)),/Win/i.test(navigator.platform)&&this.quill.keyboard.addBinding({key:"y",shortKey:!0},this.redo.bind(this)),this.quill.root.addEventListener("beforeinput",e=>{"historyUndo"===e.inputType?(this.undo(),e.preventDefault()):"historyRedo"===e.inputType&&(this.redo(),e.preventDefault())})}change(e,t){if(0===this.stack[e].length)return;let n=this.stack[e].pop();if(!n)return;let i=this.quill.getContents(),r=n.delta.invert(i);this.stack[t].push({delta:r,range:a4(n.range,r)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n.delta,s5.sources.USER),this.ignoreChange=!1,this.restoreSelection(n)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(e,t){if(0===e.ops.length)return;this.stack.redo=[];let n=e.invert(t),i=this.currentRange,r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){let e=this.stack.undo.pop();e&&(n=n.compose(e.delta),i=e.range)}else this.lastRecorded=r;0!==n.length()&&(this.stack.undo.push({delta:n,range:i}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(e){a3(this.stack.undo,e),a3(this.stack.redo,e)}undo(){this.change("undo","redo")}restoreSelection(e){if(e.range)this.quill.setSelection(e.range,s5.sources.USER);else{let t=function(e,t){let n=t.reduce((e,t)=>e+(t.delete||0),0),i=t.length()-n;return function(e,t){let n=t.ops[t.ops.length-1];return null!=n&&(null!=n.insert?"string"==typeof n.insert&&n.insert.endsWith("\n"):null!=n.attributes&&Object.keys(n.attributes).some(t=>null!=e.query(t,rW.BLOCK)))}(e,t)&&(i-=1),i}(this.quill.scroll,e.delta);this.quill.setSelection(t,s5.sources.USER)}}},"modules/keyboard":aA,"modules/uploader":a6,"modules/input":a9,"modules/uiNode":lt});let ln=new class e extends rQ{add(e,t){let n=0;if("+1"===t||"-1"===t){let i=this.value(e)||0;n="+1"===t?i+1:i-1}else"number"==typeof t&&(n=t);return 0===n?(this.remove(e),!0):super.add(e,n.toString())}canAdd(e,t){return super.canAdd(e,t)||super.canAdd(e,parseInt(t,10))}value(e){return parseInt(super.value(e),10)||void 0}}("indent","ql-indent",{scope:rW.BLOCK,whitelist:[1,2,3,4,5,6,7,8]}),li=class e extends sb{static blotName="blockquote";static tagName="blockquote"},lr=class e extends sb{static blotName="header";static tagName=["H1","H2","H3","H4","H5","H6"];static formats(e){return this.tagName.indexOf(e.tagName)+1}};class lo extends ae{}lo.blotName="list-container",lo.tagName="OL";class ls extends sb{static create(e){let t=super.create();return t.setAttribute("data-list",e),t}static formats(e){return e.getAttribute("data-list")||void 0}static register(){s5.register(lo)}constructor(e,t){super(e,t);let n=t.ownerDocument.createElement("span"),i=n=>{if(!e.isEnabled())return;let i=this.statics.formats(t,e);"checked"===i?(this.format("list","unchecked"),n.preventDefault()):"unchecked"===i&&(this.format("list","checked"),n.preventDefault())};n.addEventListener("mousedown",i),n.addEventListener("touchstart",i),this.attachUI(n)}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-list",t):super.format(e,t)}}ls.blotName="list",ls.tagName="LI",lo.allowedChildren=[ls],ls.requiredContainer=lo;let la=class e extends sy{static blotName="bold";static tagName=["STRONG","B"];static create(){return super.create()}static formats(){return!0}optimize(e){super.optimize(e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}};class ll extends sy{static blotName="link";static tagName="A";static SANITIZED_URL="about:blank";static PROTOCOL_WHITELIST=["http","https","mailto","tel","sms"];static create(e){let t=super.create(e);return t.setAttribute("href",this.sanitize(e)),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank"),t}static formats(e){return e.getAttribute("href")}static sanitize(e){return lc(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("href",this.constructor.sanitize(t)):super.format(e,t)}}function lc(e,t){let n=document.createElement("a");n.href=e;let i=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(i)>-1}let lu=class e extends sy{static blotName="script";static tagName=["SUB","SUP"];static create(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):super.create(e)}static formats(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}},lh=class e extends sy{static blotName="underline";static tagName="U"},ld=class e extends sz{static blotName="formula";static className="ql-formula";static tagName="SPAN";static create(e){if(null==window.katex)throw Error("Formula module requires KaTeX.");let t=super.create(e);return"string"==typeof e&&(window.katex.render(e,t,{throwOnError:!1,errorColor:"#f00"}),t.setAttribute("data-value",e)),t}static value(e){return e.getAttribute("data-value")}html(){let{formula:e}=this.value();return`${e}`}},lp=["alt","height","width"],lf=class e extends os{static blotName="image";static tagName="IMG";static create(e){let t=super.create(e);return"string"==typeof e&&t.setAttribute("src",this.sanitize(e)),t}static formats(e){return lp.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static match(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}static sanitize(e){return lc(e,["http","https","data"])?e:"//:0"}static value(e){return e.getAttribute("src")}format(e,t){lp.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}},lm=["height","width"],lg=class e extends sw{static blotName="video";static className="ql-video";static tagName="IFRAME";static create(e){let t=super.create(e);return t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen","true"),t.setAttribute("src",this.sanitize(e)),t}static formats(e){return lm.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static sanitize(e){return ll.sanitize(e)}static value(e){return e.getAttribute("src")}format(e,t){lm.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}html(){let{video:e}=this.value();return`
              ${e}`}},lv=new rQ("code-token","hljs",{scope:rW.INLINE});class ly extends sy{static formats(e,t){for(;null!=e&&e!==t.domNode;){if(e.classList&&e.classList.contains(am.className))return super.formats(e,t);e=e.parentNode}}constructor(e,t,n){super(e,t,n),lv.add(this.domNode,n)}format(e,t){e!==ly.blotName?super.format(e,t):t?lv.add(this.domNode,t):(lv.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),!lv.value(this.domNode)&&this.unwrap()}}ly.blotName="code-token",ly.className="ql-token";class lb extends am{static create(e){let t=super.create(e);return"string"==typeof e&&t.setAttribute("data-language",e),t}static formats(e){return e.getAttribute("data-language")||"plain"}static register(){}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-language",t):super.format(e,t)}replaceWith(e,t){return this.formatAt(0,this.length(),ly.blotName,!1),super.replaceWith(e,t)}}class lw extends af{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(e,t){e===lb.blotName&&(this.forceNext=!0,this.children.forEach(n=>{n.format(e,t)}))}formatAt(e,t,n,i){n===lb.blotName&&(this.forceNext=!0),super.formatAt(e,t,n,i)}highlight(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==this.children.head)return;let n=Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode),i=`${n.map(e=>e.textContent).join("\n")} -`,r=lb.formats(this.children.head.domNode);if(t||this.forceNext||this.cachedText!==i){if(i.trim().length>0||null==this.cachedText){let t=this.children.reduce((e,t)=>e.concat(s_(t,!1)),new od),n=e(i,r);t.diff(n).reduce((e,t)=>{let{retain:n,attributes:i}=t;return n?(i&&Object.keys(i).forEach(t=>{[lb.blotName,ly.blotName].includes(t)&&this.formatAt(e,n,t,i[t])}),e+n):e},0)}this.cachedText=i,this.forceNext=!1}}html(e,t){let[n]=this.children.find(e),i=n?lb.formats(n.domNode):"plain";return`
              -${sg(this.code(e,t))}
              -
              `}optimize(e){if(super.optimize(e),null!=this.parent&&null!=this.children.head&&null!=this.uiNode){let e=lb.formats(this.children.head.domNode);e!==this.uiNode.value&&(this.uiNode.value=e)}}}lw.allowedChildren=[lb],lb.requiredContainer=lw,lb.allowedChildren=[ly,sx,sm,sf];let l_=(e,t,n)=>"string"==typeof e.versionString&&parseInt(e.versionString.split(".")[0],10)>=11?e.highlight(n,{language:t}).value:e.highlight(t,n).value;class lE extends sU{static register(){s5.register(ly,!0),s5.register(lb,!0),s5.register(lw,!0)}constructor(e,t){if(super(e,t),null==this.options.hljs)throw Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");this.languages=this.options.languages.reduce((e,t)=>{let{key:n}=t;return e[n]=!0,e},{}),this.highlightBlot=this.highlightBlot.bind(this),this.initListener(),this.initTimer()}initListener(){this.quill.on(s5.events.SCROLL_BLOT_MOUNT,e=>{if(!(e instanceof lw))return;let t=this.quill.root.ownerDocument.createElement("select");this.options.languages.forEach(e=>{let{key:n,label:i}=e,r=t.ownerDocument.createElement("option");r.textContent=i,r.setAttribute("value",n),t.appendChild(r)}),t.addEventListener("change",()=>{e.format(lb.blotName,t.value),this.quill.root.focus(),this.highlight(e,!0)}),null==e.uiNode&&(e.attachUI(t),e.children.head&&(t.value=lb.formats(e.children.head.domNode)))})}initTimer(){let e=null;this.quill.on(s5.events.SCROLL_OPTIMIZE,()=>{e&&clearTimeout(e),e=setTimeout(()=>{this.highlight(),e=null},this.options.interval)})}highlight(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.quill.selection.composing)return;this.quill.update(s5.sources.USER);let n=this.quill.getSelection();(null==e?this.quill.scroll.descendants(lw):[e]).forEach(e=>{e.highlight(this.highlightBlot,t)}),this.quill.update(s5.sources.SILENT),null!=n&&this.quill.setSelection(n,s5.sources.SILENT)}highlightBlot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";if("plain"===(t=this.languages[t]?t:"plain"))return sg(e).split("\n").reduce((e,n,i)=>(0!==i&&e.insert("\n",{[am.blotName]:t}),e.insert(n)),new od);let n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(am.className),n.innerHTML=l_(this.options.hljs,t,e),a1(this.quill.scroll,n,[(e,t)=>{let n=lv.value(e);return n?t.compose(new od().retain(t.length(),{[ly.blotName]:n})):t}],[(e,n)=>e.data.split("\n").reduce((e,n,i)=>(0!==i&&e.insert("\n",{[am.blotName]:t}),e.insert(n)),n)],new WeakMap)}}lE.DEFAULTS={hljs:window.hljs,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};class lx extends sb{static blotName="table";static tagName="TD";static create(e){let t=super.create();return e?t.setAttribute("data-row",e):t.setAttribute("data-row",lC()),t}static formats(e){if(e.hasAttribute("data-row"))return e.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(e,t){e===lx.blotName&&t?this.domNode.setAttribute("data-row",t):super.format(e,t)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}}class lk extends ae{static blotName="table-row";static tagName="TR";checkMerge(){if(super.checkMerge()&&null!=this.next.children.head){let e=this.children.head.formats(),t=this.children.tail.formats(),n=this.next.children.head.formats(),i=this.next.children.tail.formats();return e.table===t.table&&e.table===n.table&&e.table===i.table}return!1}optimize(e){super.optimize(e),this.children.forEach(e=>{if(null==e.next)return;let t=e.formats(),n=e.next.formats();if(t.table!==n.table){let t=this.splitAfter(e);t&&t.optimize(),this.prev&&this.prev.optimize()}})}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}class lT extends ae{static blotName="table-body";static tagName="TBODY"}class lO extends ae{static blotName="table-container";static tagName="TABLE";balanceCells(){let e=this.descendants(lk),t=e.reduce((e,t)=>Math.max(t.children.length,e),0);e.forEach(e=>{Array(t-e.children.length).fill(0).forEach(()=>{let t;null!=e.children.head&&(t=lx.formats(e.children.head.domNode));let n=this.scroll.create(lx.blotName,t);e.appendChild(n),n.optimize()})})}cells(e){return this.rows().map(t=>t.children.at(e))}deleteColumn(e){let[t]=this.descendant(lT);null!=t&&null!=t.children.head&&t.children.forEach(t=>{let n=t.children.at(e);null!=n&&n.remove()})}insertColumn(e){let[t]=this.descendant(lT);null!=t&&null!=t.children.head&&t.children.forEach(t=>{let n=t.children.at(e),i=lx.formats(t.children.head.domNode),r=this.scroll.create(lx.blotName,i);t.insertBefore(r,n)})}insertRow(e){let[t]=this.descendant(lT);if(null==t||null==t.children.head)return;let n=lC(),i=this.scroll.create(lk.blotName);t.children.head.children.forEach(()=>{let e=this.scroll.create(lx.blotName,n);i.appendChild(e)});let r=t.children.at(e);t.insertBefore(i,r)}rows(){let e=this.children.head;return null==e?[]:e.children.map(e=>e)}}function lC(){let e=Math.random().toString(36).slice(2,6);return`row-${e}`}lO.allowedChildren=[lT],lT.requiredContainer=lO,lT.allowedChildren=[lk],lk.requiredContainer=lT,lk.allowedChildren=[lx],lx.requiredContainer=lk;let lA=class e extends sU{static register(){s5.register(lx),s5.register(lk),s5.register(lT),s5.register(lO)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(lO).forEach(e=>{e.balanceCells()})}deleteColumn(){let[e,,t]=this.getTable();null!=t&&(e.deleteColumn(t.cellOffset()),this.quill.update(s5.sources.USER))}deleteRow(){let[,e]=this.getTable();null!=e&&(e.remove(),this.quill.update(s5.sources.USER))}deleteTable(){let[e]=this.getTable();if(null==e)return;let t=e.offset();e.remove(),this.quill.update(s5.sources.USER),this.quill.setSelection(t,s5.sources.SILENT)}getTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(null==e)return[null,null,null,-1];let[t,n]=this.quill.getLine(e.index);if(null==t||t.statics.blotName!==lx.blotName)return[null,null,null,-1];let i=t.parent;return[i.parent.parent,i,t,n]}insertColumn(e){let t=this.quill.getSelection();if(!t)return;let[n,i,r]=this.getTable(t);if(null==r)return;let o=r.cellOffset();n.insertColumn(o+e),this.quill.update(s5.sources.USER);let s=i.rowOffset();0===e&&(s+=1),this.quill.setSelection(t.index+s,t.length,s5.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(e){let t=this.quill.getSelection();if(!t)return;let[n,i,r]=this.getTable(t);if(null==r)return;let o=i.rowOffset();n.insertRow(o+e),this.quill.update(s5.sources.USER),e>0?this.quill.setSelection(t,s5.sources.SILENT):this.quill.setSelection(t.index+i.children.length,t.length,s5.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(e,t){let n=this.quill.getSelection();if(null==n)return;let i=Array(e).fill(0).reduce(e=>{let n=Array(t).fill("\n").join("");return e.insert(n,{table:lC()})},new od().retain(n.index));this.quill.updateContents(i,s5.sources.USER),this.quill.setSelection(n.index,s5.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(s5.events.SCROLL_OPTIMIZE,e=>{e.some(e=>!!["TD","TR","TBODY","TABLE"].includes(e.target.tagName)&&(this.quill.once(s5.events.TEXT_CHANGE,(e,t,n)=>{n===s5.sources.USER&&this.balanceTables()}),!0))})}},lS=sN("quill:toolbar");class lN extends sU{constructor(e,t){if(super(e,t),Array.isArray(this.options.container)){let t=document.createElement("div");t.setAttribute("role","toolbar"),function(e,t){!Array.isArray(t[0])&&(t=[t]),t.forEach(t=>{let n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(e=>{if("string"==typeof e)lI(n,e);else{let t=Object.keys(e)[0],i=e[t];Array.isArray(i)?function(e,t,n){let i=document.createElement("select");i.classList.add(`ql-${t}`),n.forEach(e=>{let t=document.createElement("option");!1!==e?t.setAttribute("value",String(e)):t.setAttribute("selected","selected"),i.appendChild(t)}),e.appendChild(i)}(n,t,i):lI(n,t,i)}}),e.appendChild(n)})}(t,this.options.container),e.container?.parentNode?.insertBefore(t,e.container),this.container=t}else"string"==typeof this.options.container?this.container=document.querySelector(this.options.container):this.container=this.options.container;if(!(this.container instanceof HTMLElement)){lS.error("Container required for toolbar",this.options);return}this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach(e=>{let t=this.options.handlers?.[e];t&&this.addHandler(e,t)}),Array.from(this.container.querySelectorAll("button, select")).forEach(e=>{this.attach(e)}),this.quill.on(s5.events.EDITOR_CHANGE,()=>{let[e]=this.quill.selection.getRange();this.update(e)})}addHandler(e,t){this.handlers[e]=t}attach(e){let t=Array.from(e.classList).find(e=>0===e.indexOf("ql-"));if(!t)return;if(t=t.slice(3),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[t]&&null==this.quill.scroll.query(t)){lS.warn("ignoring attaching to nonexistent format",t,e);return}let n="SELECT"===e.tagName?"change":"click";e.addEventListener(n,n=>{let i;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;let t=e.options[e.selectedIndex];i=!t.hasAttribute("selected")&&(t.value||!1)}else i=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),n.preventDefault();this.quill.focus();let[r]=this.quill.selection.getRange();if(null!=this.handlers[t])this.handlers[t].call(this,i);else if(this.quill.scroll.query(t).prototype instanceof os){if(!(i=prompt(`Enter ${t}`)))return;this.quill.updateContents(new od().retain(r.index).delete(r.length).insert({[t]:i}),s5.sources.USER)}else this.quill.format(t,i,s5.sources.USER);this.update(r)}),this.controls.push([t,e])}update(e){let t=null==e?{}:this.quill.getFormat(e);this.controls.forEach(n=>{let[i,r]=n;if("SELECT"===r.tagName){let n=null;if(null==e)n=null;else if(null==t[i])n=r.querySelector("option[selected]");else if(!Array.isArray(t[i])){let e=t[i];"string"==typeof e&&(e=e.replace(/"/g,'\\"')),n=r.querySelector(`option[value="${e}"]`)}null==n?(r.value="",r.selectedIndex=-1):n.selected=!0}else if(null==e)r.classList.remove("ql-active"),r.setAttribute("aria-pressed","false");else if(r.hasAttribute("value")){let e=t[i],n=e===r.getAttribute("value")||null!=e&&e.toString()===r.getAttribute("value")||null==e&&!r.getAttribute("value");r.classList.toggle("ql-active",n),r.setAttribute("aria-pressed",n.toString())}else{let e=null!=t[i];r.classList.toggle("ql-active",e),r.setAttribute("aria-pressed",e.toString())}})}}function lI(e,t,n){let i=document.createElement("button");i.setAttribute("type","button"),i.classList.add(`ql-${t}`),i.setAttribute("aria-pressed","false"),null!=n?(i.value=n,i.setAttribute("aria-label",`${t}: ${n}`)):i.setAttribute("aria-label",t),e.appendChild(i)}lN.DEFAULTS={};lN.DEFAULTS={container:null,handlers:{clean(){let e=this.quill.getSelection();null!=e&&(0===e.length?Object.keys(this.quill.getFormat()).forEach(e=>{null!=this.quill.scroll.query(e,rW.INLINE)&&this.quill.format(e,!1,s5.sources.USER)}):this.quill.removeFormat(e.index,e.length,s5.sources.USER))},direction(e){let{align:t}=this.quill.getFormat();"rtl"===e&&null==t?this.quill.format("align","right",s5.sources.USER):!e&&"right"===t&&this.quill.format("align",!1,s5.sources.USER),this.quill.format("direction",e,s5.sources.USER)},indent(e){let t=this.quill.getSelection(),n=this.quill.getFormat(t),i=parseInt(n.indent||0,10);if("+1"===e||"-1"===e){let t="+1"===e?1:-1;"rtl"===n.direction&&(t*=-1),this.quill.format("indent",i+t,s5.sources.USER)}},link(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,s5.sources.USER)},list(e){let t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s5.sources.USER):this.quill.format("list","unchecked",s5.sources.USER):this.quill.format("list",e,s5.sources.USER)}}};let lM='',lL={align:{"":'',center:'',right:'',justify:''},background:'',blockquote:'',bold:'',clean:'',code:lM,"code-block":lM,color:'',direction:{"":'',rtl:''},formula:'',header:{1:'',2:'',3:'',4:'',5:'',6:''},italic:'',image:'',indent:{"+1":'',"-1":''},link:'',list:{bullet:'',check:'',ordered:''},script:{sub:'',super:''},strike:'',table:'',underline:'',video:''},lR=0;function lP(e,t){e.setAttribute(t,`${"true"!==e.getAttribute(t)}`)}let lD=class e{constructor(e){this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",()=>{this.togglePicker()}),this.label.addEventListener("keydown",e=>{switch(e.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),e.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),lP(this.label,"aria-expanded"),lP(this.options,"aria-hidden")}buildItem(e){let t=document.createElement("span");t.tabIndex="0",t.setAttribute("role","button"),t.classList.add("ql-picker-item");let n=e.getAttribute("value");return n&&t.setAttribute("data-value",n),e.textContent&&t.setAttribute("data-label",e.textContent),t.addEventListener("click",()=>{this.selectItem(t,!0)}),t.addEventListener("keydown",e=>{switch(e.key){case"Enter":this.selectItem(t,!0),e.preventDefault();break;case"Escape":this.escape(),e.preventDefault()}}),t}buildLabel(){let e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML='',e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}buildOptions(){let e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id=`ql-picker-options-${lR}`,lR+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,Array.from(this.select.options).forEach(t=>{let n=this.buildItem(t);e.appendChild(n),!0===t.selected&&this.selectItem(n)}),this.container.appendChild(e)}buildPicker(){Array.from(this.select.attributes).forEach(e=>{this.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout(()=>this.label.focus(),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n)null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=Array.from(e.parentNode.children).indexOf(e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t&&(this.select.dispatchEvent(new Event("change")),this.close()))}update(){let e;if(this.select.selectedIndex>-1){let t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);let t=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",t)}},lj=class e extends lD{constructor(e,t){super(e),this.label.innerHTML=t,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach(e=>{e.classList.add("ql-primary")})}buildItem(e){let t=super.buildItem(e);return t.style.backgroundColor=e.getAttribute("value")||"",t}selectItem(e,t){super.selectItem(e,t);let n=this.label.querySelector(".ql-color-label"),i=e&&e.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=i:n.style.fill=i)}},lB=class e extends lD{constructor(e,t){super(e),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach(e=>{e.innerHTML=t[e.getAttribute("data-value")||""]}),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(e,t){super.selectItem(e,t);let n=e||this.defaultItem;if(null!=n){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}},lF=e=>{let{overflowY:t}=getComputedStyle(e,null);return"visible"!==t&&"clip"!==t},lq=class e{constructor(e,t){this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,lF(this.quill.root)&&this.quill.root.addEventListener("scroll",()=>{this.root.style.marginTop=`${-1*this.quill.root.scrollTop}px`}),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(e){let t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=`${t}px`,this.root.style.top=`${n}px`,this.root.classList.remove("ql-flip");let i=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),o=0;if(r.right>i.right&&(o=i.right-r.right,this.root.style.left=`${t+o}px`),r.lefti.bottom){let t=r.bottom-r.top,i=e.bottom-e.top+t;this.root.style.top=`${n-i}px`,this.root.classList.add("ql-flip")}return o}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}},lH=[!1,"center","right","justify"],l$=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],lU=[!1,"serif","monospace"],lz=["1","2","3",!1],lX=["small",!1,"large","huge"];class lW extends sV{constructor(e,t){super(e,t);let n=t=>{if(!document.body.contains(e.root)){document.body.removeEventListener("click",n);return}null!=this.tooltip&&!this.tooltip.root.contains(t.target)&&document.activeElement!==this.tooltip.textbox&&!this.quill.hasFocus()&&this.tooltip.hide(),null!=this.pickers&&this.pickers.forEach(e=>{!e.container.contains(t.target)&&e.close()})};e.emitter.listenDOM("click",document.body,n)}addModule(e){let t=super.addModule(e);return"toolbar"===e&&this.extendToolbar(t),t}buildButtons(e,t){Array.from(e).forEach(e=>{(e.getAttribute("class")||"").split(/\s+/).forEach(n=>{if(!!n.startsWith("ql-")){if(null!=t[n=n.slice(3)]){if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{let i=e.value||"";null!=i&&t[n][i]&&(e.innerHTML=t[n][i])}}}})})}buildPickers(e,t){this.pickers=Array.from(e).map(e=>{if(e.classList.contains("ql-align")&&(null==e.querySelector("option")&&lK(e,lH),"object"==typeof t.align))return new lB(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){let n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&lK(e,l$,"background"===n?"#ffffff":"#000000"),new lj(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?lK(e,lU):e.classList.contains("ql-header")?lK(e,lz):e.classList.contains("ql-size")&&lK(e,lX)),new lD(e)});this.quill.on(sM.events.EDITOR_CHANGE,()=>{this.pickers.forEach(e=>{e.update()})})}}lW.DEFAULTS=rX({},sV.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),e.classList.add("ql-image"),e.addEventListener("change",()=>{let t=this.quill.getSelection(!0);this.quill.uploader.upload(t,e.files),e.value=""}),this.container.appendChild(e)),e.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class lV extends lq{constructor(e,t){super(e,t),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",e=>{"Enter"===e.key?(this.save(),e.preventDefault()):"Escape"===e.key&&(this.cancel(),e.preventDefault())})}cancel(){this.hide(),this.restoreFocus()}edit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null==this.textbox)return;null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value="");let n=this.quill.getBounds(this.quill.selection.savedRange);null!=n&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${e}`)||""),this.root.setAttribute("data-mode",e)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:e}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{let{scrollTop:t}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,sM.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,sM.sources.USER)),this.quill.root.scrollTop=t;break}case"video":e=function(e){let t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?`${t[1]||"https"}://www.youtube.com/embed/${t[2]}?showinfo=0`:(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${t[1]||"https"}://player.vimeo.com/video/${t[2]}/`:e}(e);case"formula":{if(!e)break;let t=this.quill.getSelection(!0);if(null!=t){let n=t.index+t.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),e,sM.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(n+1," ",sM.sources.USER),this.quill.setSelection(n+2,sM.sources.USER)}}}this.textbox.value="",this.hide()}}function lK(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(t=>{let i=document.createElement("option");t===n?i.setAttribute("selected","selected"):i.setAttribute("value",String(t)),e.appendChild(i)})}let lG=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class lY extends lV{static TEMPLATE='
              ';constructor(e,t){super(e,t),this.quill.on(sM.events.EDITOR_CHANGE,(e,t,n,i)=>{if(e===sM.events.SELECTION_CHANGE){if(null!=t&&t.length>0&&i===sM.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;let e=this.quill.getLines(t.index,t.length);if(1===e.length){let e=this.quill.getBounds(t);null!=e&&this.position(e)}else{let n=e[e.length-1],i=this.quill.getIndex(n),r=Math.min(n.length()-1,t.index+t.length-i),o=this.quill.getBounds(new sR(i,r));null!=o&&this.position(o)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()}})}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",()=>{this.root.classList.remove("ql-editing")}),this.quill.on(sM.events.SCROLL_OPTIMIZE,()=>{setTimeout(()=>{if(this.root.classList.contains("ql-hidden"))return;let e=this.quill.getSelection();if(null!=e){let t=this.quill.getBounds(e);null!=t&&this.position(t)}},1)})}cancel(){this.show()}position(e){let t=super.position(e),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",0!==t&&(n.style.marginLeft=`${-1*t-n.offsetWidth/2}px`),t}}class lZ extends lW{constructor(e,t){null!=t.modules.toolbar&&null==t.modules.toolbar.container&&(t.modules.toolbar.container=lG),super(e,t),this.quill.container.classList.add("ql-bubble")}extendToolbar(e){this.tooltip=new lY(this.quill,this.options.bounds),null!=e.container&&(this.tooltip.root.appendChild(e.container),this.buildButtons(e.container.querySelectorAll("button"),lL),this.buildPickers(e.container.querySelectorAll("select"),lL))}}lZ.DEFAULTS=rX({},lW.DEFAULTS,{modules:{toolbar:{handlers:{link(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1,s5.sources.USER)}}}}});let lQ=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class lJ extends lV{static TEMPLATE='';preview=this.root.querySelector("a.ql-preview");listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",e=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",e=>{if(null!=this.linkRange){let e=this.linkRange;this.restoreFocus(),this.quill.formatText(e,"link",!1,sM.sources.USER),delete this.linkRange}e.preventDefault(),this.hide()}),this.quill.on(sM.events.SELECTION_CHANGE,(e,t,n)=>{if(null!=e){if(0===e.length&&n===sM.sources.USER){let[t,n]=this.quill.scroll.descendant(ll,e.index);if(null!=t){this.linkRange=new sR(e.index-n,t.length());let i=ll.formats(t.domNode);this.preview.textContent=i,this.preview.setAttribute("href",i),this.show();let r=this.quill.getBounds(this.linkRange);null!=r&&this.position(r);return}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}class l0 extends lW{constructor(e,t){null!=t.modules.toolbar&&null==t.modules.toolbar.container&&(t.modules.toolbar.container=lQ),super(e,t),this.quill.container.classList.add("ql-snow")}extendToolbar(e){null!=e.container&&(e.container.classList.add("ql-snow"),this.buildButtons(e.container.querySelectorAll("button"),lL),this.buildPickers(e.container.querySelectorAll("select"),lL),this.tooltip=new lJ(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},(t,n)=>{e.handlers.link.call(e,!n.format.link)}))}}l0.DEFAULTS=rX({},lW.DEFAULTS,{modules:{toolbar:{handlers:{link(e){if(e){let e=this.quill.getSelection();if(null==e||0===e.length)return;let t=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(t)&&0!==t.indexOf("mailto:")&&(t=`mailto:${t}`);let{tooltip:n}=this.quill.theme;n.edit("link",t)}else this.quill.format("link",!1,s5.sources.USER)}}}}});s5.register({"attributors/attribute/direction":ay,"attributors/class/align":aa,"attributors/class/background":ad,"attributors/class/color":au,"attributors/class/direction":ab,"attributors/class/font":aE,"attributors/class/size":ak,"attributors/style/align":al,"attributors/style/background":ap,"attributors/style/color":ah,"attributors/style/direction":aw,"attributors/style/font":ax,"attributors/style/size":aT},!0),s5.register({"formats/align":aa,"formats/direction":ab,"formats/indent":ln,"formats/background":ap,"formats/color":ah,"formats/font":aE,"formats/size":ak,"formats/blockquote":li,"formats/code-block":am,"formats/header":lr,"formats/list":ls,"formats/bold":la,"formats/code":ag,"formats/italic":class e extends la{static blotName="italic";static tagName=["EM","I"]},"formats/link":ll,"formats/script":lu,"formats/strike":class e extends la{static blotName="strike";static tagName=["S","STRIKE"]},"formats/underline":lh,"formats/formula":ld,"formats/image":lf,"formats/video":lg,"modules/syntax":lE,"modules/table":lA,"modules/toolbar":lN,"themes/bubble":lZ,"themes/snow":l0,"ui/icons":lL,"ui/picker":lD,"ui/icon-picker":lB,"ui/color-picker":lj,"ui/tooltip":lq},!0);var l1=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.reduce(function(e,t,n){return e[t.id]=n,e},{});return((t=e.match(/({[^}]+})|([^{}]+)/g))||[]).map(function(e){if(console.log(e),!(e.startsWith("{")&&e.endsWith("}")))return e;var t=e.substring(1,e.length-1);console.log(t);var o=n[r[t]];if(!o)return t;var s=o.values&&i[o.id]?"".concat(t$(o.values.filter(function(e){return i[o.id].includes(e.id)}).map(function(e){return e.label}),E("AND"),"",!1)):" ... ";return T()("strong",s)})},l2=function(){return{view:function(e){var t=e.attrs,n=t.template,i=t.state,r=i.model,o=i.curNarrative,s=r.scenario.components,a=void 0===s?[]:s,l=(void 0===o?{}:o).components,c=void 0===l?{}:l;return n.split(/{(\d+)}/g).map(function(e){return e.replace(/\d+/,function(e){return+e0&&void 0!==arguments[0]?arguments[0]:{};return null==y||null===(t=y.componentIds)||void 0===t||t.forEach(function(t){return n[t]=e}),n}})}})]),w.map(function(e){var t;return[[T()(ea,{label:e.label,key:"key_".concat(e.id,"_").concat(l[e.id]),className:"col s11",multiple:!0,disabled:void 0!==l[e.id]&&l[e.id],initialValue:x[e.id],options:null===(t=e.values)||void 0===t?void 0:t.filter(function(e){return!r.has(e.id)}),placeholder:E("i18n","pick"),onchange:function(t){!d.components&&(d.components={}),d.components[e.id]=t,ni(n,d)}})],T()(".col.s1.icons",[T()(l4,{on:"lock_open",off:"lock",disabled:e.manual,value:!e.manual&&!u[e.id],callback:function(t){n.update({lockedComps:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n[e.id]=!t,n}})}})])]})])}}},l9=function(){var e,t=!1,n=0;return{oninit:function(e){return t7(e.attrs,O.CREATE_SCENARIO)},view:function(i){var r=i.attrs,o=r.state,s=o.model,a=o.curNarrative,l=void 0===a?{}:a,c=o.lockedComps,u=void 0===c?{}:c,h=s.scenario,d=h.template,p=h.categories,f=void 0===p?[]:p,m=h.inconsistencies,g=void 0===m?{}:m,v=h.hideInconsistentValues,y=s.scenario&&s.scenario.narratives,b=l.components&&void 0!==v&&v?Object.keys(l.components).filter(function(e){return l.components[e]}).reduce(function(e,t){return l.components[t].forEach(function(t){return g[t]&&Object.keys(g[t]).forEach(function(n){return g[t][n]&&e.add(n)})}),e},new Set):new Set,w=tQ(s.scenario.narratives);return T()(".create-scenario.row",[T()(".col.s12",[T()(J,{label:E("GENERATE_NARRATIVE"),iconName:"refresh",onclick:function(){var e=l.components,t=void 0===e?{}:e,i=t?Object.keys(u).reduce(function(e,n){return u[n]&&(e[n]=t[n]),e},{}):{};s.scenario.components.filter(function(e){return e.manual}).forEach(function(e){i[e.id]=t[e.id]});var o=tK(s.scenario,i);o?(n++,r.update({curNarrative:function(){return o}})):alert(E("NO_NARRATIVE"))}}),T()(J,{label:E("CLEAR_NARRATIVE"),iconName:"clear",style:"margin-left: 10px;",onclick:function(){n=0===n?1:0,e.setContents([]),r.update({lockedComps:function(){return{}},curNarrative:function(){return{included:!1,components:{}}}})}}),l.saved?[T()(J,{label:E("CLONE_NARRATIVE"),iconName:"content_copy",style:"margin-left: 10px;",onclick:function(){var e,t=tX(l);t.id=C(),t.saved=!1,t.label=t2(l.label,null===(e=s.scenario.narratives)||void 0===e?void 0:e.map(function(e){return e.label})),nn(r,t)}}),T()(J,{label:E("DELETE"),iconName:"delete",modalId:"deleteSavedNarrative"}),T()(er,{id:"deleteSavedNarrative",title:E("DELETE_ITEM","title",{item:E("NARRATIVE")}),description:E("DELETE_ITEM","description",{item:E("NARRATIVE")}),buttons:[{label:E("CANCEL")},{label:E("OK"),onclick:function(){n=0,s.scenario.narratives=s.scenario.narratives.filter(function(e){return e.id!==l.id}),t=!0,e.setContents([]),t=!1,r.update({curNarrative:function(){return{included:!1,components:{}}},lockedComps:function(){}}),nt(r,s)}}]})]:[T()(J,{label:E("SAVE_NARRATIVE"),iconName:"save",disabled:!l.label||!l.components||0===Object.keys(l.components).length,onclick:function(){nn(r,l)}})],y&&[T()(ea,{key:Date.now(),className:"right mb0 w30",label:E("SELECT_NARRATIVE"),checkedId:l.saved?l.id:void 0,placeholder:E("i18n","pickOne"),options:w,onchange:function(i){if(i&&i.length>0){n++;var o=y.filter(function(e){return e.id===i[0]}).shift();t=!0,e.setContents(o&&o.desc?JSON.parse(o.desc):[]),t=!1,r.update({curNarrative:function(){return o},lockedComps:function(){return s.scenario.components.reduce(function(e,t){return e[t.id]=!0,e},{})}})}}})]]),d?T()(l2,l3(l5({},r),{template:d})):"",f.map(function(e,t){return T()(".col.s12",{className:"m".concat(Math.round(12/f.length)),key:1e4*n+t},T()(l8,l3(l5({},r),{catId:e.id,excluded:b})))}),T()(".col.s12",[T()(".row",[T()(en,{className:"col s6 m3",initialValue:l.label,label:E("NAME_NARRATIVE"),required:!0,onchange:function(e){l.label=e,ni(r,l)}}),T()(ei,{className:"col s6 m3 mt25",checked:l.included,label:E("INCLUDE_NARRATIVE"),onchange:function(e){l.included=e,ni(r,l)}}),s.scenario.includeDecisionSupport&&[T()(ea,{key:"prob".concat(l.id),placeholder:E("i18n","pick"),className:"col s6 m2",label:E("PROBABILITY"),initialValue:l.probability,options:tk(0,4).map(function(e){return{id:"probability_".concat(e),label:E("PROB5",e)}}),onchange:function(e){l.probability=e[0],l6(l),ni(r,l)}}),T()(ea,{key:"imp".concat(l.id),placeholder:E("i18n","pick"),className:"col s6 m2",label:E("IMPACT"),initialValue:l.impact,options:tk(0,4).map(function(e){return{id:"impact_".concat(e),label:E("IMP5",e)}}),onchange:function(e){l.impact=e[0],l6(l),ni(r,l)}}),T()(ea,{key:"".concat(l.id,"-").concat(l.probability,"-").concat(l.impact),placeholder:E("RISK_PLACEHOLDER"),className:"col s6 m2",label:E("RISK"),initialValue:l.risk,options:tk(0,4).map(function(e){return{id:"risk_".concat(e),label:E("RISK5",e)}}),disabled:!0})]]),[T()("#editor",{oncreate:function(){(e=new s5("#editor",{modules:{toolbar:[[{header:[1,2,!1]}],["bold","italic","underline","strike"],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{color:[]}],[{align:[]}],["image","code-block"]]},placeholder:E("EDITOR_PLACEHOLDER"),readOnly:!1,theme:"snow"})).on("text-change",function(){if(!t){var n=r.getState().curNarrative;n&&(n.desc=JSON.stringify(e.getContents()),ni(r,n))}}),l&&e.setContents(l.desc?JSON.parse(l.desc):[])}})]])])}}},l7=n("3205"),ce=function(e){var t=e.body,n=e.lang,i=e.css;return'\n\n\n\n ').concat(void 0===i?ct:i,"\n\n\n\n ").concat(t,"\n\n\n")},ct="";function cn(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}var ci=function(){var e;return{oninit:function(){return e=C()},view:function(t){var n=t.attrs,i=n.curNarrative,r=n.comps,o=(void 0===i?{}:i).components,s=r&&r.reduce(function(e,t){return t.values&&t.values.forEach(function(n){e[t.id+n.id]=n.label}),e},{});return[T()("table.highlight",{id:e},[T()("thead",T()("tr",[T()("th",E("DIMENSION")),T()("th",E("KEY_VALUE"))])),T()("tbody",o&&r&&s&&r.filter(function(e){return o[e.id]}).map(function(e){return T()("tr",[T()("th",e.label),T()("td",o[e.id].map(function(t){return s[e.id+t]}).join(", "))])}))]),T()(J,{label:E("COPY_TO_CLIPBOARD"),className:"right",iconName:"content_copy",onclick:function(){var t=function(t){if(!!t.clipboardData){var n=document.getElementById(e);n&&(console.log(n.outerHTML),t.clipboardData.setData("text/html",ce({body:n.outerHTML,lang:nw.currentLocale})),t.preventDefault())}};document.addEventListener("copy",t),document.execCommand("copy"),document.removeEventListener("copy",t)}})]}}},cr=function(){var e,t,n,i=(t=(e=function(e,t){var i,r,o;return function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]1;if((!l||!l.saved)&&a.scenario.narratives&&a.scenario.narratives.length>0){var g=a.scenario.narratives[0];o.update({curNarrative:function(){return tE(g)}});return}var v=tQ(a.scenario.narratives);return T()(".show-scenario.row",[T()("a#downloadAnchorElem",{style:"display:none"}),T()(".col.s12",{style:"font-size: 24px"},[a.scenario&&a.scenario.narratives&&a.scenario.narratives.length>0&&[T()(ea,{className:"left mb0 mw30",label:E("SELECT_NARRATIVE"),checkedId:l&&l.saved?l.id:void 0,placeholder:E("i18n","pickOne"),options:v,onchange:function(e){if(e&&e.length>0){var t=a.scenario.narratives.filter(function(t){return t.id===e[0]}).shift();t&&n.setContents(t.desc?JSON.parse(t.desc):[]),o.update({curNarrative:function(){return tE(t)},lockedComps:function(){return a.scenario.components.reduce(function(e,t){return e[t.id]=!0,e},{})}})}}}),l&&[l.risk&&T()("img[title=risk-status].right",{src:t0(t1(tJ[+l.risk.replace("risk_","")],48))}),T()(J,{label:E("EXPORT2WORD"),iconName:"download",className:"right mt5",disabled:!l.desc,onclick:function(){return i(a,l.label)}}),T()(ei,{checked:l.included,label:E("NARRATIVE_INCLUDED"),disabled:!0,className:"right"})]]]),l&&[T()(".col.s12",{oncreate:function(){(n=new s5("#editor",{modules:{toolbar:!1},readOnly:!0,theme:"snow"})).setContents(l.desc?JSON.parse(l.desc):[])}},[T()(".col.s12",[T()("#editor.row",{})])]),u?T()(".col.s12",T()(l2,(t=function(e){for(var t=1;t=0});return T()(".col",{className:"s".concat(12/d.length)},m&&T()("h5",e.label),T()(ci,{curNarrative:l,comps:n}))})]))]])}}};function co(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n1&&void 0!==arguments[1]?arguments[1]:"",n=this.dashboards.filter(function(t){return t.id===e}).shift();return n?"#!".concat(n.route.replace(/:\w*/,"")).concat(t):this.defaultRoute}},{key:"switchTo",value:function(e,t,n){var i=this.dashboards.filter(function(t){return t.id===e}).shift();if(i){var r=i.route+(n?"?"+T().buildQueryString(n):"");T().route.set(r,t)}}},{key:"routingTable",value:function(){return this.dashboards.reduce(function(e,t){return e[t.route]=!1===t.hasNavBar?{render:function(){return T()(t.component,nc())}}:{render:function(){return T()(nA,nc(),T()(t.component,nc()))}},e},{})}}],cu(e.prototype,t),i}());window.onbeforeunload=function(e){"true"!==localStorage.getItem(tq)&&(localStorage.setItem(tq,"true"),e.preventDefault(),e.returnValue="")},nw.addOnChangeListener(function(e){console.log("Language loaded"),ch.init(),T().route(document.body,ch.defaultRoute,ch.routingTable())}),nw.init({en:{name:"English",fqn:"en-UK",default:!0},nl:{name:"Nederlands",fqn:"nl-NL"}},window.localStorage.getItem(tF)||"nl")}},t={};function n(i){var r=t[i];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var o=t[i]={id:i,loaded:!1,exports:{}};try{var s={id:i,module:o,factory:e[i],require:n};n.i.forEach(function(e){e(s)}),o=s.module,!s.factory&&console.error("undefined factory",i),s.factory.call(o.exports,o,o.exports,s.require)}catch(e){throw o.error=e,e}return o.loaded=!0,o.exports}n.m=e,n.c=t,n.i=[],n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.k=function(e){return"main.css"},n.hu=function(e){return""+e+"."+n.h()+".hot-update.js"},n.h=function(){return"6189c8c9e95f38e6"},n.hmrF=function(){return"main."+n.h()+".hot-update.json"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},(()=>{var e,t,i,r={},o=n.c,s=[],a=[],l="idle",c=0,u=[];n.hmrD=r,n.i.push(function(u){var m=u.module,g=function(t,n){var i=o[n];if(!i)return t;var r=function(r){if(i.hot.active){if(o[r]){var a=o[r].parents;-1===a.indexOf(n)&&a.push(n)}else s=[n],e=r;-1===i.children.indexOf(r)&&i.children.push(r)}else console.warn("[HMR] unexpected require("+r+") from disposed module "+n),s=[];return t(r)},a=function(e){return{configurable:!0,enumerable:!0,get:function(){return t[e]},set:function(n){t[e]=n}}};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&"e"!==u&&Object.defineProperty(r,u,a(u));return r.e=function(e,n){return function(e){switch(l){case"ready":h("prepare");case"prepare":return c++,e.then(d,d),e;default:return e}}(t.e(e,n))},r}(u.require,u.id);m.hot=function(o,c){var u=e!==o,d={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:u,_requireSelf:function(){s=c.parents.slice(),e=u?void 0:o,n(o)},active:!0,accept:function(e,t,n){if(void 0===e)d._selfAccepted=!0;else if("function"==typeof e)d._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var i=0;i=0&&d._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":t=[],Object.keys(n.hmrI).forEach(function(e){n.hmrI[e](o,t)}),h("ready");break;case"ready":Object.keys(n.hmrI).forEach(function(e){n.hmrI[e](o,t)});break;case"prepare":case"check":case"dispose":case"apply":(i=i||[]).push(o)}},check:p,apply:f,status:function(e){if(!e)return l;a.push(e)},addStatusHandler:function(e){a.push(e)},removeStatusHandler:function(e){var t=a.indexOf(e);t>=0&&a.splice(t,1)},data:r[o]};return e=void 0,d}(u.id,m),m.parents=s,m.children=[],s=[],u.require=g}),n.hmrC={},n.hmrI={};function h(e){l=e;for(var t=[],n=0;n0)return h("abort").then(function(){throw o[0]});var s=h("dispose");r.forEach(function(e){e.dispose&&e.dispose()});var a=h("apply"),l=function(e){!n&&(n=e)},c=[];return r.forEach(function(e){if(e.apply){var t=e.apply(l);if(t)for(var n=0;ne.indexOf(t)&&e.push(t)}),e}):h("idle").then(function(){return c})})}function g(){if(i)return!t&&(t=[]),Object.keys(n.hmrI).forEach(function(e){i.forEach(function(i){n.hmrI[e](i,t)})}),i=void 0,!0}})(),(()=>{var e={},t="gui:";n.l=function(i,r,o,s){if(e[i]){e[i].push(r);return}if(void 0!==o){for(var a,l,c=document.getElementsByTagName("script"),u=0;u{n.g.importScripts&&(e=n.g.location+"");var e,t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length){for(var r=i.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=i[r--].src}}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={},t=(t,i,o)=>{var s,a,l="",c="",u="",h={},d=[],p="--webpack-gui-"+o,f=1,m={};try{!i&&(i=r(o));for(var g=i.sheet.cssRules||i.sheet.rules,v=g.length-1;v>-1&&!s;){var y=g[v--].style;if(!!y)s=y.getPropertyValue(p)}}catch(e){}if(!s&&(s=getComputedStyle(document.head).getPropertyValue(p)),!s)return[];var b,w={},_=s[0],E=_,x=_,k=256;for(a=1;a65535&&(k=256,w={}),E=b;for(a=0,s=x;f;a++)58==(f=s.charCodeAt(a))?(c=l,l=""):47==f?(l=l.replace(/^_/,""),c=c.replace(/^_/,""),u?m.push(c,u,l):h[c]=void 0===h[c]?l:h[c]+" "+l,l="",c="",u=""):38==f?n.r(h):f&&44!=f?92==f?l+=s[++a]:64==f?(u=l,l=""):l+=s[a]:(t[l=l.replace(/^_/,"")]=((e,t,i)=>{!function(e,t){for(var i=0;ia.indexOf("?")?"?":"&")+"hmr="+Date.now(),function(r){if("load"!==r.type){var a=Error(),h=r&&r.type,p=r&&r.target&&r.target.src;a.message="Loading css hot update chunk "+e+" failed.\n("+h+": "+p+")",a.name="ChunkLoadError",a.type=h,a.request=p,i(a)}else{try{if(l(c)==l(u))return u.parentNode&&u.parentNode.removeChild(u),n()}catch(e){}var f={};t(f,u,e),Object.keys(f).forEach(function(e){d.push(e)}),u.sheet.disabled=!0,o.push(c),s.push([e,u]),n()}},c)}))})}})(),(()=>{var e,t,i,r,o,s=n.hmrS_jsonp=n.hmrS_jsonp||{909:0},a={};function l(t,i){return e=i,new Promise(function(e,i){a[t]=e;var r=n.p+n.hu(t),o=Error();n.l(r,function(e){if(a[t]){a[t]=void 0;var n=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;o.message="Loading hot update chunk "+t+" failed.\n("+n+": "+r+")",o.name="ChunkLoadError",o.type=n,o.request=r,i(o)}})})}function c(e){n.f&&delete n.f.jsonpHmr,t=void 0;function a(e,t){for(var n=0;n0;){var o=r.pop(),s=o.id,l=o.chain,c=n.c[s];if(!!c&&(!c.hot._selfAccepted||!!c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:l,moduleId:s};if(c.hot._main)return{type:"unaccepted",chain:l,moduleId:s};for(var u=0;u ")),m.type){case"self-declined":e.onDeclined&&e.onDeclined(m),!e.ignoreDeclined&&(g=Error("Aborted because of self decline: "+m.moduleId+b));break;case"declined":e.onDeclined&&e.onDeclined(m),!e.ignoreDeclined&&(g=Error("Aborted because of declined dependency: "+m.moduleId+" in "+m.parentId+b));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(m),!e.ignoreUnaccepted&&(g=Error("Aborted because "+p+" is not accepted"+b));break;case"accepted":e.onAccepted&&e.onAccepted(m),v=!0;break;case"disposed":e.onDisposed&&e.onDisposed(m),y=!0;break;default:throw Error("Unexception type "+m.type)}if(g)return{error:g};if(v)for(p in h[p]=f,a(u,m.outdatedModules),m.outdatedDependencies)n.o(m.outdatedDependencies,p)&&(!c[p]&&(c[p]=[]),a(c[p],m.outdatedDependencies[p]));y&&(a(u,[m.moduleId]),h[p]=d)}i=void 0;for(var w=[],_=0;_0;){var o=i.pop(),a=n.c[o];if(!!a){var h={},d=a.hot._disposeHandlers;for(_=0;_=0&&p.parents.splice(e,1)}}}for(var f in c)if(n.o(c,f)&&(a=n.c[f]))for(_=0,l=c[f];_=0&&a.children.splice(e,1)},apply:function(t){for(var i in h)n.o(h,i)&&(n.m[i]=h[i]);for(var r=0;r{e=e.replace(t,n)}),e=e.trim(),t&&(e=e.replace(/^

              ([\s\S]*)<\/p>$/,"$1")),n&&(e=e.replace(/(16*Math.random()|0).toString(16)),eC=["min","max","minLength","maxLength","rows","cols","placeholder","autocomplete","pattern","readOnly","step"],eA=e=>eC.indexOf(e)>=0,eS=({disabled:e})=>e?"[disabled]":"",eN=e=>{let t;return(e=>Object.keys(e).filter(eA).filter(t=>void 0!==e[t]).reduce((t,n)=>{let i=e[n];return t.push(`[${n.toLowerCase()}=${i}]`),t},[]).join(""))(e)+((t=e).maxLength?`[data-length=${t.maxLength}]`:"")+eS(e)+(({required:e,isMandatory:t})=>e||t?"[required][aria-required=true]":"")(e)+(({autofocus:e})=>"boolean"==typeof e&&e||e&&e()?"[autofocus]":"")(e)},eI=e=>!isNaN(parseFloat(e))&&isFinite(e);function eL(){return(eL=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}let eR=["label","id","isMandatory","isActive"],eP={view:({attrs:e})=>O()("span.mandatory",e,"*")},eD=()=>({view:e=>{let{attrs:{label:t,id:n,isMandatory:i,isActive:r}}=e,o=eM(e.attrs,eR);return t?O()(`label${r?".active":""}${n?`[for=${n}]`:""}`,o,[O().trust(t),i?O()(eP):void 0]):void 0}}),ej=()=>({view:({attrs:{helperText:e,dataError:t,dataSuccess:n,className:i}})=>e||t||n?O()("span.helper-text",{className:i,dataError:t,dataSuccess:n},e?O().trust(e):""):void 0}),eB=()=>{let e={id:eO()};return{view:({attrs:t})=>{let n=t.id||e.id,i=eN(t),{label:r,helperText:o,initialValue:s,onchange:a,newRow:l,className:c="col s12",style:u,iconName:d,isMandatory:h}=t;return O()(".input-field"+(l?".clear":""),{className:l?c+" clear":c,style:u},[d?O()("i.material-icons.prefix",d):"",O()(`input.autocomplete[type=text][tabindex=0]${i}`,{id:n,oncreate:({dom:e})=>{M.Autocomplete.init(e,t)},onchange:a?e=>{e.target&&e.target.value&&a(e.target.value)}:void 0,value:s}),O()(eD,{label:r,id:n,isMandatory:h,isActive:s}),O()(ej,{helperText:o})])}}},eF=["iconName"],eq=()=>({view:e=>{let{attrs:{iconName:t}}=e,n=eM(e.attrs,eF);return O()("i.material-icons",n,t)}}),eH=["modalId","tooltip","tooltipPostion","iconName","iconClass","label","attr"],e$=(e,t="")=>()=>{let n=`${e}${t}`;return{view:({attrs:e})=>{var t;let i,{modalId:r,tooltip:o,tooltipPostion:s,iconName:a,iconClass:l,label:c,attr:u}=e,d=eM(e,eH);return O()(`${n}${r?`.modal-trigger[href=#${r}]`:""}${o?`.tooltipped[data-position=${s||"top"}][data-tooltip=${o}]`:""}${(t=u)?((...e)=>t=>e.reduceRight((e,t)=>t(e),t))(e=>Array.prototype.join.call(e,""),(i=e=>`[${e.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())}="${((e="")=>e.toString().replace(/"/g,"""))(t[e])}"]`,e=>Array.prototype.map.call(e,i)),Object.keys)(t):""}`,d,a?O()(eq,{iconName:a,className:l||"left"}):void 0,c||void 0)}}},eU=e$("a.waves-effect.waves-teal.btn-flat","[type=button]"),ez=e$("button.btn-floating.btn-large.waves-effect.waves-light","[type=button]"),eX=()=>({oncreate:({attrs:e,dom:t})=>{let{onchange:n,onChipAdd:i,onChipDelete:r}=e,o=M.Chips.getInstance(t.children[0]),s=i?i.bind(o):void 0;e.onChipAdd=function(e,t){n&&n(this.chipsData),s&&s(e,t)};let a=r?r.bind(o):void 0;e.onChipDelete=function(e,t){n&&n(this.chipsData),a&&a(e,t)},M.Chips.init(t.children[0],e)},onupdate:({dom:e,attrs:{data:t}})=>{if(!t||0===t.length)return;let n=M.Chips.getInstance(e.children[0]);t.forEach(e=>n.addChip(e))},view:({attrs:{placeholder:e,required:t,isMandatory:n=t,data:i,className:r="col s12",label:o,helperText:s}})=>O()(".input-field",{className:r},[O()(`.chips.chips-autocomplete${e?".chips-placeholder":""}${i?".chips-initial":""}`),o?O()(eD,{label:o,isMandatory:n,className:"active"}):void 0,s?O()(ej,{helperText:s}):void 0])}),eW=()=>({view:({attrs:{header:e,body:t,active:n,iconName:i}})=>O()(n?"li.active":"li",[e||i?O()(".collapsible-header",[i?O()("i.material-icons",i):void 0,e?"string"==typeof e?O()("span",e):e:void 0]):void 0,t?O()(".collapsible-body",t):void 0])}),eV=()=>({oncreate:({dom:e,attrs:t})=>{M.Collapsible.init(e,t)},view:({attrs:e})=>{let{items:t,class:n,className:i,style:r,id:o}=e;return t&&t.length>0?O()("ul.collapsible",{class:n||i,style:r,id:o},t.map(e=>O()(eW,e))):void 0}});(s=E||(E={}))[s.BASIC=0]="BASIC",s[s.LINKS=1]="LINKS",s[s.AVATAR=2]="AVATAR";let eK=["className","helperText","iconName","id","initialValue","isMandatory","label","onchange","onkeydown","onkeypress","onkeyup","onblur","style"],eG=["className","dataError","dataSuccess","helperText","iconName","id","initialValue","isMandatory","label","maxLength","newRow","onchange","onkeydown","onkeypress","onkeyup","onblur","style","validate"],eY=()=>{let e={id:eO()};return{view:({attrs:t})=>{let{className:n="col s12",helperText:i,iconName:r,id:o=e.id,initialValue:s,isMandatory:a,label:l,onchange:c,onkeydown:u,onkeypress:d,onkeyup:h,onblur:p,style:f}=t,m=eN(eM(t,eK));return O()(".input-field",{className:n,style:f},[r?O()("i.material-icons.prefix",r):"",O()(`textarea.materialize-textarea[tabindex=0][id=${o}]${m}`,{oncreate:({dom:e})=>{M.textareaAutoResize(e),t.maxLength&&M.CharacterCounter.init(e)},onchange:c?e=>{let t=e.target;c(t&&"string"==typeof t.value?t.value:"")}:void 0,value:s,onkeyup:h?e=>{h(e,e.target.value)}:void 0,onkeydown:u?e=>{u(e,e.target.value)}:void 0,onkeypress:d?e=>{d(e,e.target.value)}:void 0,onblur:p}),O()(eD,{label:l,id:o,isMandatory:a,isActive:s||t.placeholder}),O()(ej,{helperText:i})])}}},eZ=(e,t="")=>()=>{let n={id:eO()},i=t=>{let n=t.value;return n&&("number"===e||"range"===e)?+n:n},r=(e,t)=>{e.setCustomValidity("boolean"==typeof t?t?"":"Custom validation failed":t)};return{view:({attrs:o})=>{let{className:s="col s12",dataError:a,dataSuccess:l,helperText:c,iconName:u,id:d=n.id,initialValue:h,isMandatory:p,label:f,maxLength:m,newRow:g,onchange:v,onkeydown:y,onkeypress:b,onkeyup:w,onblur:_,style:E,validate:x}=o,k=eN(eM(o,eG));return O()(`.input-field${g?".clear":""}${t}`,{className:s,style:E},[u?O()("i.material-icons.prefix",u):void 0,O()(`input.validate[type=${e}][tabindex=0][id=${d}]${k}`,{oncreate:({dom:t})=>{(({autofocus:e})=>!!e&&("boolean"==typeof e?e:e()))(o)&&t.focus(),m&&M.CharacterCounter.init(t),"range"===e&&M.Range.init(t)},onkeyup:w?e=>{w(e,i(e.target))}:void 0,onkeydown:y?e=>{y(e,i(e.target))}:void 0,onkeypress:b?e=>{b(e,i(e.target))}:void 0,onblur:_,onupdate:x?({dom:e})=>{r(e,x(i(e),e))}:void 0,onchange:e=>{let t=e.target;if(t){let e=i(t);v&&v(e),x&&r(t,x(e,t))}},value:h}),O()(eD,{label:f,id:d,isMandatory:p,isActive:!(void 0===h&&!o.placeholder&&"number"!==e&&"color"!==e&&"range"!==e)}),O()(ej,{helperText:c,dataError:a,dataSuccess:l})])}}},eQ=eZ("text"),eJ=eZ("number"),e0=eZ("url"),e1=eZ("color"),e2=eZ("email"),e5=()=>{let e,t=!1;return{view:({attrs:n})=>{let{multiple:i,disabled:r,initialValue:o,placeholder:s,onchange:a,className:l="col s12",accept:c,label:u="File"}=n,d=c?c instanceof Array?c.join(", "):c:void 0,h=d?`[accept=${d}]`:"",p=s?`[placeholder=${s}]`:"";return O()(".file-field.input-field",{className:n.class||l},[O()(".btn",[O()("span",u),O()(`input[type=file]${i?"[multiple]":""}${r?"[disabled]":""}${h}`,{onchange:a?e=>{let n=e.target;n&&n.files&&a&&(t=!0,a(n.files))}:void 0})]),O()(".file-path-wrapper",O()(`input.file-path.validate${p}[type=text]`,{oncreate:({dom:t})=>{e=t,o&&(e.value=o)}})),(t||o)&&O()("a.waves-effect.waves-teal.btn-flat",{style:"float: right;position: relative;top: -3rem; padding: 0",onclick:()=>{t=!1,e.value="",a&&a({})}},O()("i.material-icons","clear"))])}}},e3=()=>({view:({attrs:{className:e="col s12",onchange:t,label:n,checked:i,disabled:r,description:o}})=>O()("div",{className:e},O()("label",[O()("input[type=checkbox][tabindex=0]",{checked:i,disabled:r,onclick:t?e=>{e.target&&void 0!==e.target.checked&&t(e.target.checked)}:void 0}),n?"string"==typeof n?O()("span",n):n:void 0]),o&&O()(ej,{className:"input-checkbox-desc",helperText:o}))}),e4=()=>{let e={},t=t=>e.checkedIds.indexOf(t)>=0;return{oninit:({attrs:{initialValue:t,checkedId:n}})=>{let i=n||t;e.checkedId=n,e.checkedIds=i?i instanceof Array?[...i]:[i]:[]},view:({attrs:{label:n,id:i,options:r,checkedId:o,description:s,className:a="col s12",disabled:l,checkboxClass:c,newRow:u,isMandatory:d,onchange:h}})=>{o&&e.checkedId!==o&&(e.checkedId=o,e.checkedIds=o instanceof Array?o:[o]);let p=h?(t,n)=>{let i=e.checkedIds.filter(e=>e!==t);n&&i.push(t),e.checkedIds=i,h(i)}:void 0;return O()("div"+(u?".clear":""),{className:a},[O()("div",{className:"input-field options"},O()(eD,{id:i,label:n,isMandatory:d})),O()(ej,{helperText:s}),...r.map(e=>O()(e3,{disabled:l||e.disabled,label:e.label,onchange:p?t=>p(e.id,t):void 0,className:e.className||c,checked:t(e.id),description:e.description}))])}}},e6=()=>({oncreate:({dom:e,attrs:{options:t,onCreate:n}})=>{let i=M.Modal.init(e,t);n&&n(i)},view:({attrs:{id:e,title:t,description:n,fixedFooter:i,bottomSheet:r,buttons:o,richContent:s}})=>O()(`.modal${i?".modal-fixed-footer":""}${r?".bottom-sheet":""}[id=${e}]`,[O()(".modal-content",[O()("h4",t),s&&"string"==typeof n?O().trust(n||""):"string"==typeof n?O()("p",n):n]),o?O()(".modal-footer",o.map(e=>O()(eU,eL({},e,{className:"modal-close"})))):void 0])}),e8=()=>({view:({attrs:{title:e,href:t,active:n,disabled:i}})=>O()("li",{className:n?"active":i?"disabled":"waves-effect"},"number"==typeof e?O()(O().route.Link,{href:t},e):e)}),e9=()=>{let e={pagIndex:0};return{view:({attrs:{items:t,curPage:n=1,size:i=Math.min(9,t.length)}})=>{let{pagIndex:r}=e,o=r*i,s=o+i,a=r>0,l=sa&&e.pagIndex--},O()("i.material-icons","chevron_left")),disabled:!a},...t.filter((e,t)=>o<=t&&tl&&e.pagIndex++},O()("i.material-icons","chevron_right")),disabled:!l}];return O()("ul.pagination",c.map((e,t)=>O()(e8,eL({title:o+t},e,{active:o+t===n}))))}}},e7=["label","helperText","initialValue","newRow","className","iconName","isMandatory","onchange","disabled"],te=["label","helperText","initialValue","newRow","className","iconName","isMandatory","onchange","disabled"],tt=()=>{let e={id:eO()};return{view:t=>{let{attrs:{label:n,helperText:i,initialValue:r,newRow:o,className:s="col s12",iconName:a,isMandatory:l,onchange:c,disabled:u}}=t,d=eM(t.attrs,e7),h=e.id,p=eN(d),f=c?()=>e.dp&&c(e.dp.date):void 0;return O()(".input-field"+(o?".clear":""),{className:s,onremove:()=>e.dp&&e.dp.destroy()},[a?O()("i.material-icons.prefix",a):"",O()(`input.datepicker[type=text][tabindex=0][id=${h}]${p}${u?"[disabled]":""}`,{oncreate:({dom:t})=>{e.dp=M.Datepicker.init(t,eL({format:"yyyy/mm/dd",showClearBtn:!0,setDefaultDate:!0,defaultDate:r?new Date(r):new Date},d,{onClose:f}))}}),O()(eD,{label:n,id:h,isMandatory:l,isActive:!!r}),O()(ej,{helperText:i})])}}},tn=()=>{let e={id:eO()};return{view:t=>{let{attrs:{label:n,helperText:i,initialValue:r,newRow:o,className:s="col s12",iconName:a,isMandatory:l,onchange:c,disabled:u}}=t,d=eM(t.attrs,te),h=e.id,p=eN(d),f=new Date,m=c?()=>e.tp&&c(e.tp.time||r||`${f.getHours()}:${f.getMinutes()}`):void 0;return O()(`.input-field.timepicker${o?".clear":""}`,{className:s,onremove:()=>e.tp&&e.tp.destroy()},[a?O()("i.material-icons.prefix",a):"",O()(`input[type=text][tabindex=0][id=${h}]${p}${u?"[disabled]":""}`,{value:r,oncreate:({dom:t})=>{e.tp=M.Timepicker.init(t,eL({twelveHour:!1,showClearBtn:!0,defaultTime:r},d,{onCloseEnd:m}))}}),O()(eD,{label:n,id:h,isMandatory:l,isActive:r}),O()(ej,{helperText:i})])}}},ti=()=>({view:({attrs:{id:e,groupId:t,label:n,onchange:i,className:r="col s12",checked:o,disabled:s}})=>O()("div",{className:r},O()("label",[O()(`input[type=radio][tabindex=0][name=${t}]${o?"[checked=checked]":""}${s?"[disabled]":""}`,{onclick:i?()=>i(e):void 0}),O()("span",O().trust(n))]))}),tr=()=>{let e={groupId:eO()};return{oninit:({attrs:{checkedId:t,initialValue:n}})=>{e.oldCheckedId=t,e.checkedId=t||n},view:({attrs:{id:t,checkedId:n,newRow:i,className:r="col s12",label:o="",disabled:s,description:a,options:l,isMandatory:c,checkboxClass:u,onchange:d}})=>{e.oldCheckedId!==n&&(e.oldCheckedId=e.checkedId=n);let{groupId:h,checkedId:p}=e,f=t=>{e.checkedId=t,d&&d(t)};return i&&(r+=" clear"),O()("div",{id:t,className:r},[O()("div",{className:"input-field options"},O()(eD,{id:t,label:o,isMandatory:c})),a?O()("p.helper-text",O().trust(a)):"",...l.map(e=>O()(ti,eL({},e,{onchange:f,groupId:h,disabled:s,className:u,checked:e.id===p})))])}}},to=()=>{let e={},t=e=>e.map(e=>e.id).join(""),n=(e,t,n=!1)=>n||(t instanceof Array&&(e||"number"==typeof e)?t.indexOf(e)>=0:t===e);return{oninit:({attrs:{checkedId:n,initialValue:i,options:r}})=>{e.ids=t(r);let o=n||i;e.checkedId=n instanceof Array?[...n]:n,e.initialValue=null!=o?o instanceof Array?o.filter(e=>null!=e):[o]:[]},view:({attrs:{id:i,newRow:r,className:o="col s12",checkedId:s,key:a,options:l,multiple:c,label:u,helperText:d,placeholder:h="",isMandatory:p,iconName:f,disabled:m,classes:g="",dropdownOptions:v,onchange:y}})=>{e.checkedId!==s&&(e.initialValue=s?s instanceof Array?s:[s]:void 0);let{initialValue:b}=e,w=y?c?()=>{let t=e.instance&&e.instance.getSelectedValues(),n=t?t.length>0&&eI(t[0])?t.map(e=>+e):t.filter(e=>null!==e||void 0!==e):void 0;e.initialValue=n||[],y(e.initialValue)}:t=>{if(t&&t.currentTarget){let n=t.currentTarget,i=eI(n.value)?+n.value:n.value;e.initialValue=[i]}e.initialValue&&y(e.initialValue)}:void 0;r&&(o+=" clear");let _=!l.some(e=>n(e.id,b)),E=l.reduce((e,t)=>(t.group&&0>e.indexOf(t.group)&&e.push(t.group),e),[]);return O()(".input-field.select-space",{className:o,key:a,oncreate:c?({dom:t})=>e.wrapper=t:void 0},[f&&O()("i.material-icons.prefix",f),O()("select",{id:i,title:u,disabled:m,multiple:c,oncreate:({dom:t})=>{e.instance=M.FormSelect.init(t,{classes:g,dropdownOptions:v})},onupdate:({dom:n})=>{if(c){let t=f?1:0;!e.inputEl&&e.wrapper&&e.wrapper.childNodes&&e.wrapper.childNodes.length>0&&e.wrapper.childNodes[t].childNodes&&e.wrapper.childNodes[t].childNodes[0]&&(e.inputEl=e.wrapper.childNodes[t].childNodes[0]),e.inputEl&&e.inputEl.value&&e.inputEl.value.startsWith(`${h}, `)&&(e.inputEl.value=e.inputEl.value.replace(`${h}, `,""))}let i=t(l),r=s&&e.checkedId!==s.toString();e.ids!==i&&(e.ids=i,r=!0),(e.checkedId instanceof Array&&s instanceof Array?e.checkedId.join()!==s.join():e.checkedId!==s)&&(e.checkedId=s,r=!0),r&&(e.instance=M.FormSelect.init(n,{classes:g,dropdownOptions:v}))},onchange:w},O()("option",{value:"",disabled:!0,selected:!!_||void 0},h),0===E.length?l.map((e,t)=>{var i;return O()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,b,0===t&&_&&!h)},null==(i=e.label)?void 0:i.replace("&","&"))}):E.map(e=>O()("optgroup",{label:e},l.filter(t=>t.group===e).map((e,t)=>{var i;return O()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,b,0===t&&_&&!h)},null==(i=e.label)?void 0:i.replace("&","&"))})))),O()(eD,{label:u,isMandatory:p}),d&&O()(ej,{helperText:d})])}}},ts=["label","left","right","disabled","newRow","onchange","checked","isMandatory","className"],ta=()=>{let e={id:eO()};return{view:({attrs:t})=>{let n=t.id||e.id,{label:i,left:r,right:o,disabled:s,newRow:a,onchange:l,checked:c,isMandatory:u,className:d="col s12"}=t,h=eM(t,ts);return O()("div"+(a?".clear":""),{className:d},[i?O()(eD,{label:i||"",id:n,isMandatory:u}):void 0,O()(".switch",h,O()("label",[r||"Off",O()(`input[id=${n}][type=checkbox]${eS({disabled:s})}${c?"[checked]":""}`,{onclick:l?e=>{e.target&&void 0!==e.target.checked&&l(e.target.checked)}:void 0}),O()("span.lever"),o||"On"]))])}}},tl=()=>{let e={},t=(e,t)=>t||e.replace(/ /g,"").toLowerCase();return{view:({attrs:{tabWidth:n,selectedTabId:i,tabs:r,className:o,style:s,duration:a,onShow:l,swipeable:c,responsiveThreshold:u}})=>{let d=r.filter(e=>e.active).shift(),h=i||(d?t(d.title,d.id):"");return O()(".row",[O()(".col.s12",O()("ul.tabs"+("fill"===n?".tabs-fixed-width":""),{className:o,style:s,oncreate:({dom:t})=>{e.instance=M.Tabs.init(t,{duration:a,onShow:l,responsiveThreshold:u,swipeable:c})},onupdate:()=>{if(h){let e=document.getElementById(`tab_${h}`);e&&e.click()}},onremove:()=>e.instance.destroy()},r.map(({className:e,title:i,id:o,active:s,disabled:a,target:l,href:c})=>O()(`li.tab${a?".disabled":""}${"fixed"===n?`.col.s${Math.floor(12/r.length)}`:""}`,{className:e},O()(`a[id=tab_${t(i,o)}]${s?".active":""}`,{target:l,href:c||`#${t(i,o)}`},i))))),r.filter(({href:e})=>void 0===e).map(({id:e,title:n,vnode:i,contentClass:r})=>O()(`.col.s12[id=${t(n,e)}]`,{className:r},i))])}}},tc=e=>e.charAt(0).toUpperCase()+e.slice(1),tu=(e,t=2,n="0")=>e.toString().length>=t?e.toString():tu(n+e,t,n),td=e=>e?`${tu(e.getHours())}:${tu(e.getMinutes())}`:"00:00",th=(e,t)=>{let n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i={...e};for(let t=0,r=n.length;te[o]===t).shift();if(!s)return;i=s}}}return i},tp=e=>e.reduce((e,t)=>t instanceof Array?[...e,...t]:[...e,t],[]),tf=/([^ =><]*)\s*([=><]*)\s*(\S*)/i,tm=/^\s*!\s*/,tg=/===?|[^<>=]/i,tv=function(e){var t=[].slice.call(arguments,1);return 0===e.length||(e instanceof Array?e:[e]).some(e=>{let n,i;return n=e,i=tg.test(e)?[t[0]]:tp(t),n.split("&").reduce((e,t)=>{let n=tm.test(t),r=n?t.replace(tm,""):t;return e=e&&i.filter(Boolean).reduce((e,t)=>e||((e,t)=>{if(!t||0===Object.keys(t).length)return!1;let n=tf.exec(e);if(n){let[e,i,r,o]=n,s=th(t,i.trim());if(void 0===s||"string"==typeof s&&0===s.length)return!1;if(!r||!o)return!0;{let t=isNaN(+o)?"true"===o||"false"!==o&&o:+o;switch(r){case"=":case"==":case"===":return s instanceof Array?s.indexOf(t)>=0:s===t;case"<=":return s<=t;case">=":return s>=t;case"<":return s":return s>t;default:return console.error(`Unrecognized operand (${r}) in expression: ${e}`),!1}}}return!0})(r.trim(),t),!1),n?!e:e},!0)})},ty=(e,t)=>th(t.filter(Boolean).reduceRight((e,t)=>({...t,...e})),e.trim()),tb=(e,t)=>void 0!==ty(e,t),tw=/{{\s*([^\s"'`:]*):?([^\s]*)\s*}}/g,t_=function(e){let t;if(!tw.test(e))return!0;tw.lastIndex=0;let n=!0;do(t=tw.exec(e))&&(t.index===tw.lastIndex&&tw.lastIndex++,t.forEach((e,t,[,i])=>{n=n&&tb(i,[].slice.call(arguments,1))}));while(n&&null!==t);return n},tE=(e,t)=>{if(void 0===e)return"";if(e instanceof Array)return e.map(e=>tE(e,t)).join(", ");if(!t)return e.toString();if("boolean"==typeof e){let n=t.indexOf(":");return e?t.substring(0,n):t.substring(n+1)}switch(t){default:return e.toString();case"date":return new Date(e).toLocaleDateString();case"time":return new Date(e).toLocaleTimeString();case"iso":return new Date(e).toISOString();case"utc":return new Date(e).toUTCString()}},tx=function(e){let t;if(!tw.test(e))return e;tw.lastIndex=0;do(t=tw.exec(e))&&(t.index===tw.lastIndex&&tw.lastIndex++,t.forEach((t,n,[i,r,o])=>{let s=ty(r,[].slice.call(arguments,1));!s||s instanceof Array||(e=e.replace(i,tE(s,o)))}));while(null!==t);return e},tk=e=>{if(null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array){let t=[];return e.forEach(e=>{t.push(e)}),t.map(e=>tk(e))}if("object"==typeof e){let t={...e};return Object.keys(t).forEach(e=>{t[e]=tk(t[e])}),t}return e},tT=(e="")=>e.replace(/\s|,|\./g,"").toLowerCase(),tO=(e,t,n=1)=>{let i=[];for(let r=e;r<=t;r+=n)i.push(r);return i},tC=e=>{"string"!=typeof e&&(e=JSON.stringify(e));let t=0;if(0===e.length)return t;for(var n=0;n{let i=Object.assign({},t,n);return`${e}?${Object.keys(i).map(e=>`${e}=${i[e]}`).join("&")}`},tS=()=>({view:({attrs:{md:e="",removeParagraphs:t=!1,externalLinks:n=!1,...i}})=>O()(".slimdown-view.markdown",i,O().trust(eT(e,t,n)))}),tN=()=>({view:({attrs:{type:e,props:t,label:n="",initialValue:i,inline:r=!1}})=>{let o={className:t.className||"col s12"};if(i instanceof Array&&i.length>3)return O()(".readonly",o,[O()("label",n),O()(tS,{md:"\n- "+i.join("\n- ")})]);if("string"==typeof i)return O()(".readonly",o,"url"===e?[O()("label",`${n.trim()}: `),O()("a[target=_blank]",{href:i},i)]:"color"===e?[O()("label",`${n.trim()}: `),O()(".color",{style:`height: 1rem; width: 40px; border-radius: 4px; background-color: ${i}`})]:[O()("label",n),O()(tS,{md:i})]);let s=i instanceof Array?i.join(", "):i;return O()(".readonly",o,[n&&O()("label",n),r?O()("span",s?`: ${s}`:O().trust(" ")):O()("p",s||O().trust(" "))])}}),tI=()=>{let e;let t={},n=(e,n)=>{let i=e instanceof Array?e.length:e.hasOwnProperty(n)?e[n].length:0,r=t.onNewItem?t.onNewItem(e,n,i):{};e instanceof Array?e.push(r):e.hasOwnProperty(n)?e[n].push(r):e[n]=[r]},i=e=>{e.preventDefault()};return{oninit:({attrs:{i18n:n={},field:{id:i="",sortProperty:r,onNewItem:o}}})=>{t.editLabel=n.editRepeat||`Edit ${String(i)}`,t.createLabel=n.createRepeat||`Create new ${String(i)}`,t.onNewItem=o,e=(e=>{if(!e)return(e,t)=>0;let t="!"===e[0],n=t?e.substring(1):e;return t?(e,t)=>e[n]>t[n]?-1:e[n]e[n]>t[n]?1:e[n]{let f,m;let{filterValue:g}=t,{id:v,label:y,type:b,min:w,max:_,pageSize:E,propertyFilter:x,filterLabel:k,readonly:T=d,repeatItemClass:C=""}=r,A=(f=o,m=v,f instanceof Array?f:(f.hasOwnProperty(m)||(f[m]=[]),f[m])),S=g?tT(g):void 0,N=x&&S&&S.length>2?A.filter(e=>tT(`${e[x]}`).indexOf(S)>=0):A,I=(e=>{let t=window.location.hash.split("?")[1];return t?new URLSearchParams(t).get(e):null})(String(v)),L=I?Math.min(N.length,+I):1,R=E&&N&&(L-1)*E=_),B=!u&&!T&&(!w||N.length>w),F=P?P.split("?")[0]:"",q=(e=>{let t=e?e.split("?")[1]:window.location.search.slice(1),n={};if(t){let e=t.split("&");for(var i=0;i{n(o,String(v)),v&&O().route.set(F,Object.assign(q,{[v]:N.length})),p&&p(o)},style:{padding:0},className:"left",disabled:u||j,readonly:T}),D>1&&O()(".right",O()(e9,{curPage:R,items:tO(1,D).map(e=>({href:tA(F,q,{[v]:e})}))})),(N.length>1||g)&&x&&!u&&O()(eQ,{style:"margin-top: -6px; margin-bottom: -1rem;",iconName:"filter_list",iconClass:"small",placeholder:k,onkeyup:(e,n)=>t.filterValue=n,className:"right",disabled:u,readonly:T})])),N&&N.length>0&&"string"!=typeof b&&N.sort(e).filter(E?(e,t)=>(R-1)*E<=t&&t!0).map((e,n)=>O()(".mui-repeat-item",{key:n,draggable:U,ondragstart:U?e=>{var t,i;return t=e,i=n,void t.dataTransfer?.setData("text/plain",i.toString())}:void 0,ondragover:U?i:void 0,ondrop:U?e=>((e,t,n,i,r)=>{let o=parseInt(e.dataTransfer?.getData("text")||"0",10),s=[...n[i]],[a]=s.splice(o,1);s.splice(t,0,a),n[i]=s,r&&r(n),e.preventDefault()})(e,n,o,v,p):void 0,style:{display:"flex",cursor:U?"move":void 0}},[B&&[(!E||E>1)&&O()("span.mui-show-item-number left",{style:`flex: 0 0 ${H}px;`},`[${(E?(R-1)*E+n:n)+1}]`)],[O()(".row.repeat-item",{className:C,key:L+tC(e),style:"flex: 1;"},[b&&O()(tR,{form:b,obj:e,i18n:h,context:s instanceof Array?[o,...s]:[o,s],section:l,containerId:c,disabled:u,readonly:T,onchange:()=>p&&p(o)})])],B&&[O()(eU,{iconName:"delete",className:"mui-delete-item",iconClass:"mui-delete-icon",style:{flex:"0 0 20px",padding:0},disabled:u,readonly:T,onclick:()=>{t.curItemIdx=E?(R-1)*E+n:n}})]])),!(u||j||T||!N||0===N.length||1===E)&&O()(ez,{iconName:"add",className:"row mui-add-new-item btn-small right",title:y,style:"padding: 0; margin-top: -10px; margin-right: -25px",onclick:()=>{n(o,String(v)),O().route.set(F,Object.assign(q,{[v]:N.length})),p&&p(o)}})])],void 0!==t.curItemIdx&&O()(e6,{id:"deleteItem",onCreate:e=>e.open(),options:{onCloseStart:()=>{t.curItemIdx=void 0,O().redraw()}},fixedFooter:!0,title:h.deleteItem||"Delete item",description:O()(tR,{form:b,obj:N[t.curItemIdx],context:s instanceof Array?[o,...s]:[o,s],section:l,containerId:c,readonly:!0,i18n:h}),buttons:[{label:h.disagree||"Disagree"},{label:h.agree||"Agree",onclick:()=>{void 0!==t.curItemIdx&&(N.splice(t.curItemIdx,1),o instanceof Array?o=[...N]:o[v]=[...N],p&&p(o))}}]})]}}},tL=()=>{let e={};return{oninit:({attrs:{i18n:t={}}})=>{let{raw:n="RAW",view:i="VIEW"}=t;e.raw=n,e.view=i},view:({attrs:{field:{id:t="",type:n,onSelect:i},obj:r,context:o,containerId:s,disabled:a,readonly:l,i18n:c,onchange:u}})=>{if(r instanceof Array)return;let d=r[t],h=d?JSON.parse(d):void 0,p=h&&h.features||[],f=[],m={title:e.raw,vnode:O()(eY,{class:"col s12",initialValue:h?JSON.stringify(h,null,2):void 0,placeholder:"Enter GeoJSON",onchange:e=>r[t]=e})};if(!n||"string"==typeof n)return;let g=n.length>0?n[0].id:void 0,v={title:e.view,vnode:p.length?O()(eV,{oncreate:({dom:t})=>e.dom=t,onOpenStart:i?t=>{let n=e.dom.children||[];for(let e=0;e(e.properties||(e.properties={}),{id:"erik_"+i,key:i,header:g&&e.properties[g]||e.geometry.type,body:O()(".row",O()(tR,{class:"col s12",form:n,obj:e.properties,i18n:c,context:o instanceof Array?[r,...o]:[r,o],containerId:s,disabled:a,readonly:l,onchange:(e,n)=>{n&&(p[i].properties=n),r[t]=JSON.stringify(h,null,2),u&&u(r)}}))}))}):O()("span","...")};return f.push(v),f.push(m),O()(tl,{tabs:f,tabWidth:"fill"})}}},tM=((e={},t={})=>()=>{let n={key:Date.now()};return{view:({attrs:{i18n:i,field:r,obj:o,autofocus:s,onchange:a,context:l=[],containerId:c,disabled:u,readonly:d}})=>{let{id:h="",type:p,disabled:f=u,readonly:m=d,value:g,required:v,autogenerate:y,show:b,label:w,description:_,i18n:E=i||{},checkAllOptions:x,transform:k,effect:T,onkeyup:C,onkeydown:A,onblur:S}=r;if(b&&!tv(b,o,l)||w&&!t_(w,o,l)||_&&!t_(_,o,l))return;let N="string"==typeof r.options?ty(r.options,[o,...l]):r.options,I=N&&N instanceof Array?N.filter(e=>void 0!==e.id&&(e.label||isNaN(Number(e.id)))&&(!e.show||tv(e.show,o,l))).map(e=>e.label?e:{...e,label:tc(e.id)}):[],L="boolean"==typeof u&&u,R=((e,t=!1,n=!1)=>{let{id:i="",label:r,description:o,required:s,multiple:a,className:l,checkboxClass:c,icon:u,iconClass:d,placeholder:h,maxLength:p,minLength:f,max:m,min:g,step:v,dateTimeOutput:y,dateTimeSeconds:b,dateFormat:w,twelveHour:_}=e,E={id:`mui_${String(i)}-${eO()}`,label:r};return void 0===r&&i&&(E.label=tc(String(i))),o&&(E.helperText=eT(o,!0)),l&&(E.className=l),u&&(E.iconName=u),d&&(E.iconClass=d),c&&(E.checkboxClass=c),h&&(E.placeholder=h),s&&(E.isMandatory=!0),a&&(E.multiple=a),n&&(E.disabled=!0),t&&(E.autofocus=!0),void 0!==p&&(E.maxLength=p),void 0!==f&&(E.minLength=f),void 0!==m&&(E.max=m),void 0!==g&&(E.min=g),void 0!==v&&(E.step=v),y&&(E.dateTimeOutput=y),b&&(E.dateTimeSeconds=b),w&&(E.dateFormat=w),_&&(E.twelveHour=_),E})(r,s,"boolean"==typeof f||void 0===f?L||f:L||tv(f,o,l));w&&(R.label=eT(tx(R.label||w,o,l),!0)),_&&(R.description=eT(tx(R.description||_,o,l),!0));let P=v?e=>!(e instanceof Array)||e&&e.length>0:void 0;if(o instanceof Array)return void console.warn("Only a repeat list can deal with arrays!");let D=function(e){try{return void 0===e||"undefined"===e?(delete o[h],a(o),Promise.resolve()):(o[h]=k?k("to",e):e,T?Promise.resolve(T(o,o[h],l)).then(function(e){a(void 0!==e?e:o)}):Promise.resolve(a(o)))}catch(e){return Promise.reject(e)}};if(p instanceof Array)return h?(o.hasOwnProperty(h)||(o[h]={}),O()(".muf-form",{className:r.className},[O()(".muf-form-header",O().trust(eT(R.label||tc(String(h)),!0))),R.description&&O()("div",O().trust(eT(R.description))),O()(".row",O()(tR,{...R,i18n:E,readonly:m,form:p,obj:o[h],context:l instanceof Array?[o,...l]:[o,l],onchange:()=>a&&a(o),containerId:c}))])):void console.warn("Missing ID for type "+JSON.stringify(p));y&&!o[h]&&(o[h]="guid"===y?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}):"id"===y?eO():Date.now());let j=o.hasOwnProperty(h)&&void 0!==o[h]?k?k("from",o[h]):o[h]:g;h&&void 0!==g&&void 0!==j&&(o[h]=k?k("to",j):j);let[B,F]=x?x.split("|"):["",""];if(m&&p&&0>["md","none"].indexOf(p)){if(t.hasOwnProperty(p))return O()(t[p],{iv:j,field:r,props:R,label:R.label,obj:o,context:l});if(p&&e.hasOwnProperty(p))return O()(e[p],{iv:j,field:r,props:R,label:R.label,onchange:D,obj:o,context:l});switch(p){case"time":{let e=E.dateTimeOptions?{hour:"2-digit",minute:"2-digit",second:void 0,...E.dateTimeOptions,weekday:void 0,month:void 0,day:void 0,year:void 0}:void 0,t="number"==typeof j||"string"==typeof j||j instanceof Date?new Date(j):void 0,n=t?t.toLocaleTimeString(E.locales,e):"";return O()(tN,{props:R,label:R.label,initialValue:n})}case"date":{let e=E.dateTimeOptions?{...E.dateTimeOptions,hour:void 0,hour12:void 0,minute:void 0,second:void 0}:void 0,t="number"==typeof j||"string"==typeof j||j instanceof Date?new Date(j):void 0,n=t?t.toLocaleDateString(E.locales,e):"";return O()(tN,{props:R,label:R.label,initialValue:n})}case"datetime":{let e=E.dateTimeOptions?{hour:"2-digit",minute:"2-digit",month:"numeric",day:"numeric",...E.dateTimeOptions}:void 0,t="number"==typeof j||"string"==typeof j||j instanceof Date?new Date(j):void 0,n=t?t.toLocaleTimeString(E.locales,e):"";return O()(tN,{props:R,label:R.label,initialValue:n})}case"switch":case"checkbox":return O()(tN,{props:R,label:R.label,initialValue:j?"✔":"✘",inline:!0});case"tags":return O()(tN,{props:R,label:R.label,initialValue:j||[]});case"options":case"select":{let e=void 0!==j?j instanceof Array?j:[j]:[],t=I.filter(t=>e.indexOf(t.id)>=0),n=t&&0===t.length?"?":1===t.length?t[0].label:t.map(e=>e.label);return O()(tN,{props:R,label:R.label,initialValue:n})}case"radio":{let e=I.filter(e=>e.id===j);return O()(tN,{props:R,label:R.label,initialValue:e&&e.length?e[0].label:"?"})}case"base64":return!(!j||!/data:image/i.test(j))&&O()("div",O()("img.responsive-img",{src:j,alt:o.title||o.alt||o.name||"",style:`max-height: ${r.max||50}px`}));case"file":return O()("div",R,(j instanceof Array?j:[j]).map((e="")=>{let t=/data:image|.jpg$|.jpeg$|.png$|.gif$|.svg$|.bmp$|.tif$|.tiff$/i.test(e),n=`${new URL(r.url).origin}${e}`;return O()("a[target=_blank]",{href:n},t?O()("img",{src:n,alt:n,style:`max-height: ${r.max||50}`}):O()(tN,{props:R,label:r.placeholder||"File",initialValue:e}))}));case"md":case"markdown":{let e="string"==typeof j&&j?eT(j):"";return O()(tN,{props:R,label:R.label,initialValue:e})}default:return O()(tN,{props:R,type:p,label:R.label,initialValue:j})}}else{if(p&&e.hasOwnProperty(p))return O()(e[p],{iv:j,field:r,props:R,label:R.label,onchange:D,obj:o,context:l});switch(p){case"colour":case"color":return O()(e1,{...R,initialValue:j,onchange:D,onblur:S});case"time":{let{twelveHour:e=!1}=R,t=j?"number"==typeof j||"string"==typeof j?new Date(j):j:new Date,n=td(t);return o[h]=k?k("to",t):t,O()(tn,{...R,twelveHour:e,initialValue:n,onchange:e=>{let n=e.split(":").map(e=>+e);t.setHours(n[0],n[1]),D(t)},container:c})}case"date":{let{format:e="mmmm d, yyyy"}=R,t="number"==typeof j||"string"==typeof j?new Date(j):j;o[h]=t?k?k("to",t.valueOf()):t.valueOf():t;let{min:n,max:i}=R,r=n?!t||nt.valueOf()?new Date(i):t:void 0;return O()(tt,{...R,minDate:r,maxDate:s,setDefaultDate:!!t,format:e,initialValue:t,onchange:e=>{D(new Date(e))},container:c})}case"datetime":{let{label:e,className:t="col s12",dateTimeSeconds:n=!1,twelveHour:i=!1,format:r="mmmm d, yyyy",...o}=R,s="number"==typeof j||"string"==typeof j?new Date(j):j,a={initialDateTime:s},l=s||void 0,u=s?td(s):"",{min:d,max:h}=R,p=d?!s||ds.valueOf()?new Date(h):s:void 0,m=R.dateTimeOutput||"UTC",g=e=>{a.initialDateTime=e,D("UTC"===m?e.toUTCString():"ISO"===m?e.toISOString():e.valueOf())};return O()("div",{className:t},O()(".row",[O()(n?".col.s6":".col.s8",{style:"padding: 0"},O()(tt,{...o,label:e,minDate:p,maxDate:f,setDefaultDate:!!s,format:r,initialValue:l,container:c,onchange:e=>{let t=new Date(a.initialDateTime);t.setFullYear(e.getFullYear()),t.setMonth(e.getMonth()),t.setDate(e.getDate()),g(t)}})),O()(".col.s4",{style:"min-width: 6rem; padding-right: 0; padding-left: 0"},O()(tn,{...o,label:"",helperText:"",twelveHour:i,initialValue:u,container:c,onchange:e=>{let t=e.split(":").map(e=>+e),n=a.initialDateTime||new Date((new Date).setSeconds(0,0));n.setHours(t[0],t[1]),g(n)}})),n&&O()(eJ,{style:"min-width: 4rem; padding-right: 0; padding-left: 0",className:"col s2",min:0,max:59,onchange:e=>{let t=a.initialDateTime||new Date((new Date).setSeconds(0,0));t.setSeconds(e,0),g(t)}})]))}case"email":return O()(e2,{...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeydown:A,onkeyup:C,onblur:S});case"number":return O()(eJ,{...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeydown:A,onkeyup:C,onblur:S});case"radio":return O()(tr,{label:"",...R,options:I,checkedId:j,onchange:D});case"checkbox":return O()(e3,{...R,checked:j,onchange:D});case"options":return[[O()(e4,{key:n.key,checkboxClass:"col s6 m4 l3",className:"input-field col s12",...R,disabled:R.disabled||!I||0===I.length,options:I,checkedId:j,onchange:e=>D(1===e.length?e[0]:e.filter(e=>null!==e))})],void 0!==x&&O()(".col.s12.option-buttons",[O()(eU,{disabled:R.disabled,label:B,iconName:"check",onclick:()=>{n.key=Date.now(),D(I.map(e=>e.id))}}),F&&O()(eU,{disabled:R.disabled,label:F,iconName:"check_box_outline_blank",onclick:()=>{let e=o[h]||[];e.length=0,n.key=Date.now(),D(e)}})])];case"select":return O()(to,{placeholder:R.multiple?E.pickOneOrMore||"Pick one or more":E.pickOne||"Pick one",...R,disabled:R.disabled||!I||0===I.length,options:I,initialValue:j,onchange:e=>D(1!==e.length||R.multiple?e.filter(e=>null!==e||void 0!==e):e[0])});case"markdown":case"md":{let{label:e,className:t="col s12"}=R,n=tx((h?j:g||e)||"",o,l);return O()(tS,{md:n,className:t})}case"section":return O()(".divider");case"switch":{let e=I&&I.length>0?I[0].label:"",t=I&&I.length>1?I[1].label:"";return O()(ta,{...R,left:e,right:t,checked:j,onchange:D})}case"tags":{let e=(j?j instanceof Array?j:[j]:[]).map(e=>({tag:e})),t=I&&I.length>0?{data:I.reduce((e,t)=>(e[t.id]=null,e),{}),limit:r.maxLength||1/0,minLength:r.minLength||1}:{},{label:n,isMandatory:i,className:o,helperText:s}=R;return O()(eX,{className:o,label:n,isMandatory:i,helperText:s,onchange:e=>D(e.map(e=>e.tag)),placeholder:r.placeholder||"Add a tag",secondaryPlaceholder:r.secondaryPlaceholder||"+tag",data:e,autocompleteOptions:t,onblur:S})}case"autocomplete":{let e=I&&I.length>0?{data:I.reduce((e,t)=>(e[t.id]=null,e),{}),limit:r.maxLength||1/0,minLength:r.minLength||1}:{data:{}},{label:t,isMandatory:n,className:i,helperText:o}=R;return O()(eB,{initialValue:j,className:i,label:t,isMandatory:n,helperText:o,onchange:D,onblur:S,placeholder:r.placeholder||"...",...e})}case"textarea":return O()(eY,{...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeyup:C,onkeydown:A,onblur:S});case"file":{let{url:e,placeholder:t}=r;if(!e)throw Error('Input field "url" not defined, which indicates the URL to the upload folder.');let n=I?I.map(e=>e.id):void 0;return O()(e5,{...R,accept:n,placeholder:t,onchange:t=>{if(!t||t.length<1)return void D("");let n=new FormData;n.append("file",t[0]),O().request({method:"POST",url:e,body:n}).then(e=>D(e)).catch(console.error)},initialValue:j})}case"base64":{let e=!(!j||!/data:image/i.test(j)),{placeholder:t}=r,n=I?I.map(e=>e.id).join(","):void 0;return e?O()("div",[O()("img.responsive-img",{src:j,alt:o.title||o.alt||o.name||"",style:`max-height: ${r.max||50}px`}),O()(eU,{iconName:"clear",onclick:()=>D("")})]):O()(e5,{...R,accept:n,placeholder:t,onchange:e=>{if(!e||e.length<1)return void D("");let t=new FileReader;t.onloadend=()=>{"string"==typeof t.result&&D(t.result),O().redraw()},t.readAsDataURL(e[0])},initialValue:j})}case"url":return O()(e0,{placeholder:"http(s)://www.example.com",...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeydown:A,onkeyup:C,onblur:S});case"text":return O()(eQ,{...R,validate:P,autofocus:s,onchange:D,initialValue:j,onkeydown:A,onkeyup:C,onblur:S});default:return}}}}})({},{}),tR=()=>({view:({attrs:{i18n:e,form:t,obj:n,onchange:i,disabled:r,readonly:o,context:s,section:a}})=>{let l=e=>{let n;return i&&i((n=e,t.filter(e=>e.required&&(e.id,!0)).reduce((e,t)=>e&&!(t.id&&(void 0===n[t.id]||n[t.id]instanceof Array&&0===n[t.id].length||"string"==typeof n[t.id]&&0===n[t.id].length)),!0)),e)};return t.filter((e=>{if(!e)return e=>!0;let t=!1;return({type:n,id:i})=>"section"===n?(t=i===e,!1):t})(a)).filter(e=>!e.show||tv(e.show,n,...s||[])).reduce((t,i)=>(i.type||(i.type=(e=>{let{autogenerate:t,value:n,options:i}=e;return t?"none":n?"string"==typeof n?"md":"number"==typeof n?"number":"boolean"==typeof n?"checkbox":"none":i&&i.length>0?"select":"none"})(i)),[...t,void 0===i.repeat||!1===i.repeat?O()(tM,{i18n:e,field:i,obj:n,onchange:l,disabled:r,readonly:o,context:s,section:a,containerId:"body"}):O()("geojson"===i.repeat?tL:tI,{obj:n,field:i,onchange:l,context:s,i18n:e,containerId:"body",disabled:r,readonly:o})]),[])}});function tP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&void 0!==arguments[0]?arguments[0]:new Date,t=new Date(e);return"".concat(t.getFullYear(),"-").concat(H(t.getMonth()+1),"-").concat(H(t.getDate()))},tz=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"and",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],r=e.filter(function(e){return e});return 0===r.length?"":n+(1===r.length?r[0]:"".concat(r.slice(0,r.length-1).map(function(e,t){return 0!==t&&void 0!==e&&i?e.toLowerCase():e}).join(", ")," ").concat(t," ").concat(i?r[r.length-1].toLowerCase():r[r.length-1]))},tX=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(e>t)throw Error("Start number must be less than or equal to the end number.");if(n<=0)throw Error("Step size must be a positive number.");return Array.from({length:Math.floor((t-e)/n)+1},function(t,i){return e+i*n})},tW=function(e){if(0!==e.length){var t=Math.floor(Math.random()*e.length);return e[t]}},tV=function(e){if(null===e)return e;if(tD(e,Date))return new Date(e.getTime());if(tD(e,Array)){var t=[];return e.forEach(function(e){t.push(e)}),t.map(function(e){return tV(e)})}if((void 0===e?"undefined":tq(e))==="object"){var n=tj({},e);return Object.keys(n).forEach(function(e){n[e]=tV(n[e])}),n}return e},tK=function(e){var t=[parseInt(e[1]+e[2],16),parseInt(e[3]+e[4],16),parseInt(e[5]+e[6],16)];return .2126*t[0]+.7152*t[1]+.0722*t[2]<20?"#ffffff":"#000000"},tG=function(e,t){var n,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=i?"spark_collection":((null===(n=e.scenario)||void 0===n?void 0:n.label)||"spark")+"_model";return t&&(r+="_".concat(t)),"".concat(r.replace(/\s/g,"_"),"_v").concat(H(e.version||1,3),"_").concat(tU()).toLowerCase()},tY=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.categories,i=e.components,r=e.inconsistencies,o=0;do{var s=function(){var e=tj({},t),o=!0,s=!1,a=void 0;try{for(var l,c=n[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){var u=function(){var t=l.value,n=i.filter(function(e){return t.componentIds&&t.componentIds.includes(e.id)}).map(function(e){var t=e.values?e.values.reduce(function(e,t){return e+(r[t.id]?Object.keys(r[t.id]).length:0)},0):0;return tB(tj({},e),{inc:t})}).sort(function(e,t){return e.inc>t.inc?-1:1}),o=[],s=!0,a=!1,c=void 0;try{for(var u,d=n[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var h=function(){var t=u.value;if(e.hasOwnProperty(t.id)){var n=e[t.id];if(n&&n.length){if(n.some(function(e){return o.includes(e)}))return{v:!1};n.forEach(function(e){r[e]&&Object.keys(r[e]).forEach(function(t){return r[e][t]&&o.push(t)})})}return"continue"}var i=t.values&&t.values.map(function(e){return e.id}).filter(function(e){return!o.includes(e)});if(!i||0===i.length)return{v:!1};var s=tW(i);if(!s)return{v:!1};r[s]&&Object.keys(r[s]).forEach(function(e){return r[s][e]&&o.push(e)}),e[t.id]=[s]}();if("object"===tq(h))return{v:h.v}}}catch(e){a=!0,c=e}finally{try{!s&&null!=d.return&&d.return()}finally{if(a)throw c}}}();if("object"===tq(u))return u.v}}catch(e){s=!0,a=e}finally{try{!o&&null!=c.return&&c.return()}finally{if(s)throw a}}return e}();if(s)return{id:A(),components:s,included:!1};o++}while(o<100);return!1},tZ=function(e,t){t&&t.preventDefault();var n=document.getElementById(e);n?n.scrollIntoView({behavior:"smooth"}):console.log("Element with id ".concat(e," not found."))},tQ=function(){window.scrollTo({top:0,behavior:"smooth"})},tJ=function(e,t){var n=e.components,i=tj({components:{}},function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i=0)&&(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}}return r}(e,["components"]));return t.filter(function(e){return n.hasOwnProperty(e.id)}).forEach(function(e){i.components[e.id]=n[e.id].filter(function(t){var n;return null===(n=e.values)||void 0===n?void 0:n.find(function(e){return e.id===t})})}),i},t0=function(e){return e.map(function(e){return tB(tj({},e),{group:e.included?x("GROUP","SELECTED"):x("GROUP","UNSELECTED")})}).sort(function(e,t){return e.included&&t.included?(e.label||"").localeCompare(t.label):e.included?-1:1})},t1=["#2c7bb6","#abd9e9","#ffffbf","#fdae61","#d7191c"],t2=function(e){var t=btoa(e);return"data:image/svg+xml;base64,".concat(t)},t5=function(e,t){var n=.1*t;return'\n ')},t3=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=1,i=e.match(/^(.*?)(\d+)$/);i&&(e=i[1].trim(),n=parseInt(i[2])+1);for(var r="".concat(e," ").concat(n);t.includes(r);)n++,r="".concat(e," ").concat(n);return r};function t4(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]2&&void 0!==i[2]&&i[2],localStorage.setItem(t$,"false"),t.lastUpdate=Date.now(),!t.scenarios&&(t.scenarios=[]),!n)return[3,2];if(o=t.scenario,console.log("Validating scenario"),!o||(!o.inconsistencies&&(o.inconsistencies={}),!o.categories&&(o.categories=[]),!o.components&&(o.components=[]),!o.narratives&&(o.narratives=[]),o.narratives=o.narratives.map(function(e){return tJ(e,o.components)}),void 0===o.hideInconsistentValues&&(o.hideInconsistentValues=!0),!o.thresholdColors&&(o.thresholdColors=eu),o.narratives.forEach(function(e){!e.components&&(e.components={}),!e.id&&(e.id=A()),!e.label&&(e.label="UNKNOWN")}),o.categories.forEach(function(e){!e.componentIds&&(e.componentIds=[]),!e.id&&(e.id=A()),!e.label&&(e.label="UNKNOWN")}),o.components.forEach(function(e){!e.values&&(e.values=[]),!e.id&&(e.id=A()),!e.label&&(e.label="UNKNOWN")}),0))return alert(x("JSON_NOT_VALID")),[2];return[4,e_.set(ne,JSON.stringify(t))];case 1:return r.sent(),e.update({model:function(){return t},activeTooltip:"",title:t.scenario.label,curNarrative:function(){},excludedComps:function(){return{}},lockedComps:function(){return{}}}),[3,4];case 2:return[4,e_.set(ne,JSON.stringify(t))];case 3:r.sent(),e.update({model:function(){return t}}),r.label=4;case 4:return localStorage.setItem(t$,"false"),[2]}})}),function(e,t){return a.apply(this,arguments)});var no=(l=t8(function(e,t){var n,i,r,o,s;return t7(this,function(a){switch(a.label){case 0:if(i=(n=e.getState().model).scenario,s=(o=void 0===(r=n.scenarios)?[]:r).find(function(e){return e.id===t}),!(i&&s))return[3,2];return n.scenarios=[i].concat(t9(o.filter(function(e){return e.id!==t}))),n.scenario=s,e.update({model:function(){return n},activeTooltip:"",title:s.label,curNarrative:function(){},excludedComps:function(){return{}},lockedComps:function(){return{}}}),[4,e_.set(ne,JSON.stringify(n))];case 1:a.sent(),a.label=2;case 2:return[2]}})}),function(e,t){return l.apply(this,arguments)});var ns=(c=t8(function(e,t){var n;return t7(this,function(i){return n=e.getState().model,!t.id&&(t.id=A()),n.scenario.narratives?t.saved?n.scenario.narratives=n.scenario.narratives.map(function(e){return e.id!==t.id?e:t}):(t.saved=!0,n.scenario.narratives.push(t)):(t.saved=!0,n.scenario.narratives=[t]),e.update({curNarrative:function(){return t}}),nr(e,n),[2]})}),function(e,t){return c.apply(this,arguments)});var na=(u=t8(function(e,t){return t7(this,function(n){switch(n.label){case 0:if(!t.saved)return[3,2];return[4,ns(e,t)];case 1:n.sent(),n.label=2;case 2:return e.update({curNarrative:t}),[2]}})}),function(e,t){return u.apply(this,arguments)}),nl=function(e,t,n,i){var r=e.state.model,o=r.scenario.components.filter(function(e){return e.id===t}).shift();if(!o){console.error("Scenario component not found!");return}var s=o.values,a=void 0===s?[]:s;o.values="update"===i?a.map(function(e){return e.id===n.id?n:e}):"delete"===i?a.filter(function(e){return e.id!==n.id}):t9(a).concat([n]),"delete"===i&&(r.scenario.narratives=r.scenario.narratives.map(function(e){return tJ(e,r.scenario.components)})),nr(e,r)},nc=function(e,t,n,i,r){var o=e.state.model,s=o.scenario.components.filter(function(e){return e.id===t}).shift();if(!s){console.error("Scenario component not found!");return}var a=s.values,l=void 0===a?[]:a,c=l.find(function(e){return e.id===n});if(!!c)l.find(function(e){return e.id===i})&&(s.values=l.filter(function(e){return e.id!==n}).reduce(function(e,t){return t.id===i?r?(e.push(c),e.push(t)):(e.push(t),e.push(c)):e.push(t),e},[]),nr(e,o))};var nu=(d=t8(function(){var e,t=arguments;return t7(this,function(n){switch(n.label){case 0:return e=t.length>0&&void 0!==t[0]?t[0]:nk.currentLocale,localStorage.setItem(tH,e),[4,nk.loadAndSetLocale(e)];case 1:return n.sent(),[2]}})}),function(){return d.apply(this,arguments)});var nd=(h=t8(function(e){var t,n,i,r;return t7(this,function(o){switch(o.label){case 0:return[4,e_.get(ne)];case 1:return nt(r=(null===(t=(i=(n=o.sent())?JSON.parse(n):ed).scenario)||void 0===t?void 0:t.label)||""),e({model:function(){return function(e){for(var t=1;t1?s:s[0],i[e]=o}return o=o.pop?function(e,t,n,i){for(var r=i.array?e.slice():e[0],o=e.length,s=1;s0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=0}(e)?e:nk.defaultLocale,nk.currentLocale=t,x=ng("nl"===e?nE:n_,{debug:!0,array:!0,resolveAliases:!0,pluralize:nv.plural_EN,useKeyForMissingTranslation:!0}),nk.i18n={editRepeat:x("i18n","editRepeat"),createRepeat:x("i18n","createRepeat"),deleteItem:x("i18n","deleteItem"),agree:x("i18n","agree"),disagree:x("i18n","disagree"),pickOne:x("i18n","pickOne"),pickOneOrMore:x("i18n","pickOneOrMore"),cancel:x("i18n","cancel"),save:x("i18n","save")},nx.forEach(function(e){return e(nk.currentLocale,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nk.currentLocale;return nk.locales[e].dir||"ltr"}())}),[2]})})).apply(this,arguments)}let nA=n.p+"e8244ad7ec8b2937.png",nS=n.p+"ec3f975a962f44ff.png";function nN(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}var nI=(f=(p=function(){var e,t=arguments;return function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&void 0!==t[0]?t[0]:nk.currentLocale,localStorage.setItem(tH,e),[4,nk.loadAndSetLocale(e)];case 1:return n.sent(),[2]}})},function(){var e=this,t=arguments;return new Promise(function(n,i){var r=p.apply(e,t);function o(e){nN(r,n,i,o,s,"next",e)}function s(e){nN(r,n,i,o,s,"throw",e)}o(void 0)})}),function(){return f.apply(this,arguments)}),nL=function(){return{view:function(e){var t,n,i=e.children,r=e.attrs,o=function(e){return r.state.page===e.id?".active":""},s=cb.getList().filter(function(e){var t,n;return("boolean"==typeof e.visible?e.visible:e.visible(null===(n=r.state)||void 0===n?void 0:null===(t=n.model)||void 0===t?void 0:t.scenario))||o(e)}),a=nk.currentLocale;return O()(".main",{style:"overflow-x: hidden"},[O()(".navbar-fixed",{style:"z-index: 1001"},O()("nav",O()(".nav-wrapper",[O()("a.brand-logo[href=#].show-on-large",{style:"margin-left: 20px"},[O()("img[width=140][height=60][src=".concat(eg,"][alt=TNO]"),{style:"margin-top: 5px; margin-left: -5px;"}),O()(".title.show-on-med-and-up.black-text.truncate",null===(n=r.state.model)||void 0===n?void 0:null===(t=n.scenario)||void 0===t?void 0:t.label)]),O()(O().route.Link,{className:"sidenav-trigger","data-target":"slide-out",href:O().route.get()},O()(Y,{iconName:"menu",className:"hide-on-large-and-up black-text",style:"margin-left: 5px;"})),O()("ul#dropdown_languages.dropdown-content",[O()("li",O()("a",{href:"#!",onclick:function(){return nI("nl")}},[O()("img",{src:nA,alt:"Nederlands",title:"Nederlands",disabled:"nl"===a,class:"nl"===a?"disabled-image":"clickable"}),"Nederlands"])),O()("li",O()("a",{href:"#!",onclick:function(){return nI("en")}},[O()("img",{src:nS,alt:"English",title:"English",disabled:"en"===a,class:"en"===a?"disabled-image":"clickable"}),"English"]))]),O()("ul#slide-out.sidenav.hide-on-large-and-up",{oncreate:function(){var e=document.querySelectorAll(".sidenav");M.Sidenav.init(e)}},s.map(function(e){return O()("li.tooltip".concat(o(e),".unselectable"),[O()("a",{href:cb.href(e.id)},O()(Y,{className:e.iconClass?" ".concat(e.iconClass):"",iconName:"string"==typeof e.icon?e.icon:e.icon()}),("string"==typeof e.title?e.title:e.title()).toUpperCase())])}),O()("li.tooltip.language-settings.unselectable",[O()("a.dropdown-trigger",{href:"#!","data-target":"dropdown_languages",oncreate:function(e){var t=e.dom;M.Dropdown.init(t)}},O()(Y,{iconName:"language",className:"hoverable",style:"font-size: 2.2rem; width: 4rem;"}),O()("span.tooltiptext",x("SET_LANGUAGE").toUpperCase()))])),O()("ul.right.hide-on-med-and-down",s.map(function(e){return O()("li.tooltip".concat(o(e),".unselectable"),[O()(Y,{className:"hoverable"+(e.iconClass?" ".concat(e.iconClass):""),style:"font-size: 2.2rem; width: 4rem;",iconName:"string"==typeof e.icon?e.icon:e.icon(),onclick:function(){return ni(r,e.id)}}),O()("span.tooltiptext",("string"==typeof e.title?e.title:e.title()).toUpperCase())])}),O()("li.tooltip.language-settings.unselectable",[O()("a.dropdown-trigger",{href:"#!","data-target":"dropdown_languages",oncreate:function(e){var t=e.dom;M.Dropdown.init(t)}},O()(Y,{iconName:"language",className:"hoverable",style:"font-size: 2.2rem; width: 4rem;"}),O()("span.tooltiptext",x("SET_LANGUAGE").toUpperCase()))]))]))),O()(".container",i)])}}};let nM=n.p+"094cb0b3bbf09476.png",nR=n.p+"c74483ed5cfc0c92.png",nP=n.p+"c4f17dae74c10fe5.png",nD=n.p+"c03c2e1f7852da96.png",nj=n.p+"bb94794d7d411f8a.png",nB=n.p+"7dcc9881475f4790.png";var nF="_ScenarioSpark is ontwikkeld als ondersteunend instrument voor de methode “Risicomanagement Integrale Beveiliging”. Specifiek biedt ScenarioSpark vooral ondersteuning bij de uitvoering van stap 2 van deze methode. Het betreft de stap waarin onder meer de te behandelen dreigingsscenario’s voor de TBB’s worden bepaald._\n\n![De zes stappen van de methode “Risicomanagement Integrale Beveiliging”](".concat(nM,")"),nq="### Het ontwikkelen van creatieve scenario’s\n\nNavigeer in het hoofdmenu naar ‘maak scenario’.\n\n![Menubalk met instellingen](".concat(nR,")\n![Model en inconsistenties](").concat(nj,")\n\nDe pagina bestaat uit een aantal componenten:\n\n1. Drie knoppen: ‘genereer’, ‘wis’ en 'bewaar’;\n2. Een drop down menu waarin eerder gegenereerde scenario’s weer opgeroepen kunnen worden;\n3. De factoren waaruit de morfologische box is opgebouwd;\n4. Een ‘slotje’ achter ieder van de factoren;\n5. Een beschrijvende titel die kan worden toegekend aan het scenario;\n6. Een vinkje dat aangeeft of het scenario is geselecteerd voor evaluatie;\n7. Een tekst vak waarin de scenariostam verder kan worden uitgewerkt, eventueel met opmaak en/of afbeeldingen.\n\nDoor op ‘genereer’ te klikken wordt er aan de hand van de morfologische box een scenario gegeneerd waarbij random een optie wordt toegekend aan elk van de factoren. De gebruiker heeft een aantal mogelijkheden:\n\n1. Het scenario houden zoals is gegenereerd door de morfologische box;\n2. Enkele factoren vastzetten door middel van het slotje en nieuwe opties genereren voor de andere factoren door opnieuw op ‘genereer’ te klikken;\n3. Een scenario wijzigen of aanvullen door zelf een optie te kiezen voor een factor of meerdere opties te selecteren voor een factor;\n4. Een compleet nieuw scenario door de tool laten genereren;\n5. Een eigen scenario te cre\xebren door handmatig optie(s) voor elke factor te selecteren.\n\nIndien de gebruiker tevreden is met het gegenereerde scenario kan ervoor worden gekozen het scenario toe te voegen aan de lijst met de te evalueren dreigingsscenario’s. Het scenario kan worden uitgeschreven tot een verhaal en er kan een titel worden gegeven om het scenario herkenbaar en ondubbelzinnig te maken.\n\n### Het samenstellen van een beperkte, maar toch representatieve set van scenario’s.\n\n#### Modus uitsluiten inconsistenties\n\nSommige combinaties van opties van factoren zijn onmogelijk of onwaarschijnlijk. Denk bijvoorbeeld aan een cybercrimineel (actor) die fysieke informatie steelt (doelwit) door middel van een ramvoertuig (middel/ wapen). Om deze reden is er in ScenarioSpark een kruistabel toegevoegd die weergeeft wanneer combinaties van opties van factoren mogelijk, onmogelijk of onwaarschijnlijk zijn. Wanneer de modus ‘uitsluiten inconsistenties’ is aangevinkt in instellingen, is het niet mogelijk om handmatig een optie voor een factor te kiezen die onmogelijk of onwaarschijnlijk is in combinatie met de reeds geselecteerde opties voor de andere factoren."),nH="### Aanpassen morfologische box\n\nHet aanpassen van de morfologische box kan worden gedaan in ‘instellingen’ onder het kopje ‘model’.\n\n![Menubalk met instellingen](".concat(nP,")\n\n### Aanpassen categorie\xebn\nDoor het instellen van categorie\xebn kan de morfologische box in meerdere delen worden gesplitst (zoals dreigingen, objecten, omstandigheden). Deze mogelijkheid wordt niet gebruikt binnen de context van de Tweede Kamer.\n\n### Selectie getoonde factoren\n\nIn dit drop down menu kan een selectie worden gemaakt van de factoren die meegenomen worden in de morfologische box.\n\n### Aanpassen factoren\n\nNieuwe factoren kunnen worden toegevoegd door op het plusje naast ‘factoren’ te klikken. Er dienen een aantal gegevens te worden ingevuld:\n\n1. Volgorde (de plek in de morfologische box waar de factor komt te staan);\n2. Manuele mode (bij het automatisch genereren van een scenario wordt deze factor overgeslagen, en dient dus manueel gekozen te worden);\n3. Naam;\n4. Omschrijving.\n\nFactoren kunnen worden gewijzigd door naar de desbetreffende factor te navigeren. Factoren kunnen worden verwijderd door aan de rechterkant op het kruisje te klikken.\n\n### Aanpassen opties binnen factoren\n\nHet aanpassen van opties binnen factoren gebeurt op de pagina van de morfologische box zelf.\n\n![Genereren van varianten](").concat(nD,")\n\nEr kunnen nieuwe opties worden toegevoegd en bestaande opties worden gewijzigd of verwijderd. Om een nieuwe optie toe te voegen dient geklikt te worden op het plusje naast de factor, die tevoorschijn komt door met de muis over de factor te hoveren. Een optie kan worden bewerkt of verwijderd door op het pennetje te klikken dat tevoorschijn komt door met de muis over de optie te hoveren.\n\n### Aanpassen consistenties\n\nHet aanpassen van consistenties kan door op de pagina ‘instellingen’ te navigeren naar ‘bewerk inconsitenties’.\n\n![Model en inconsistenties](").concat(nB,")\n\nScenarioSpark beschikt over een kruistabel waarin voor alle combinaties van opties van factoren is aangegeven of het mogelijk, onwaarschijnlijk of onmogelijk is. Dit kruistabel dient handmatig te worden aangepast. Er kan een rij en een kolom worden gekozen, die beiden een factor representeren. Vervolgens kan worden aangegeven per combinatie van de opties van de factoren of de combinatie als mogelijk, onmogelijk of onwaarschijnlijk wordt geacht. Hoe meer factoren er zijn, hoe meer combinaties moeten worden gecheckt. Houd er dus rekening mee dat dit de nodige tijd in beslag neemt. Indien een nieuwe optie wordt toegevoegd aan een factor in de morfologische box, dient voor de nieuwe optie alle combinaties met bestaande opties van andere factoren beoordeeld te worden.\n\nLet op: na het toevoegen van nieuwe opties in de morfologische box wordt geen enkele combinatie met deze nieuwe optie uitgesloten. Indien u wilt voorkomen dat niet-realistische scenario’s worden gegeneerd in de scenariogenerator, dient u handmatig de niet- realistische combinaties hier af te vinken.\n\n### Aanpassen kleurweergave\n\nMet behulp van kleuren kan voor de opties in de morfologische box worden aangegeven hoe vaak deze is gebruikt in een scenario. De keuze van de gebruikte kleuren, het aantal verschillende kleuren en de bandbreedtes waarin dezelfde kleur gegeven wordt, kan naar vrijheid worden ingevuld. Een optie krijgt de kleur van de bandbreedte als het aantal keer dat deze voorkomt groter of gelijk is aan het getal dat wordt ingevoerd als drempelwaarde bij de bandbreedte, zolang er geen hogere drempelwaarde bestaat waar dit ook voor geldt.\n\n### Aanpassen taal\n\nDe taalinstelling van de tool kan worden aangepast door de gewenste vlag op de homepagina te selecteren, of het menu rechtsboven te gebruiken."),n$=function(){return{oninit:function(e){return nn(e.attrs,C.ABOUT)},view:function(){var e=/#([a-zA-Z]*)/.exec(O().route.get());return e&&e.length>0&&setTimeout(function(){return tZ(e[1])},0),O()(".markdown",[O()("aside#toc",[O()(".center-align",[O()("ul.list-inline",[O()("li",O()("a",{href:"#goal",onclick:function(e){return tZ("goal",e)}},"Doel van ScenarioSpark")),O()("li"," | "),O()("li",O()("a",{href:"#usage",onclick:function(e){return tZ("usage",e)}},"Hoe te gebruiken")),O()("li"," | "),O()("li",O()("a",{href:"#settings",onclick:function(e){return tZ("settings",e)}},"Beheer")),O()("li"," | "),O()("li",O()("a",{href:"#security",onclick:function(e){return tZ("security",e)}},"Security"))])])]),O()("main",[O()("header",[O()("h1","Achtergrond"),O().trust(eT(nF))]),O()("section#goal",[O()("h2","Doel van ScenarioSpark"),O().trust(eT("ScenarioSpark is ontwikkeld om de risicomanager te ondersteunen in twee uitdagingen:\n\n- Het op een creatieve manier ontwikkelen van plausibele scenario’s;\n- Het samenstellen van een beperkte, maar toch representatieve set van scenario’s.\n\n### Het ontwikkelen van creatieve scenario’s\n\nZoals we in het recente verleden hebben gezien, blijven terroristen en andere criminelen voortdurend nieuwe manieren bedenken om onze samenleving aan te vallen. Voor een goede beveiliging is het belangrijk dat we niet alleen bekende dreigingen beoordelen, maar ook creatieve dreigingsscenario's bedenken om buiten de gebaande paden te denken. Dit is makkelijker gezegd dan gedaan, omdat recente ervaringen vaak onze gedachten sturen. ScenarioSpark is ontwikkeld om hierin te ondersteunen door willekeurig (dus niet be\xefnvloed door vooroordelen of ervaringen uit het verleden) potentieel valide scenariostammen te genereren. Op basis van de gegenereerde suggesties kan de gebruiker vervolgens bepalen welke interessant zijn om uit te werken en in de risicoanalyse mee te nemen.\n\n### Het samenstellen van een beperkte, maar toch representatieve set van scenario’s\n\nHet maken van een compleet overzicht van alle risico’s in alle situaties op alle te beschermen belangen is in het algemeen niet realistisch. Er zijn immers zoveel variaties mogelijk dat volledige analyse hiervan niet haalbaar is. In de praktijk wordt daarom getracht een beperkte set scenario’s te kiezen waarmee toch een goed, representatief beeld ontstaat van alle mogelijke risico’s.\n\nScenarioSpark ondersteunt hierin door inzicht te geven in welke mate een set geselecteerde scenario’s de totale risico-ruimte afdekt en welke overlappen er in die set zitten. Hiertoe wordt gebruik gemaakt van een zogenaamde ‘morfologische box’. Dat is een matrix waarin de kolommen worden gevormd door alle relevante factoren die een scenario karakteriseren, en waarin de rijen worden gevormd door de opties voor ieder van die factoren (de mogelijke waarden die de factoren kunnen aannemen). In ScenarioSpark wordt een scenario gekarakteriseerd door de keuze van \xe9\xe9n of meer opties voor iedere factor.\n\nUit alle gegenereerde of gedefinieerde scenario’s kan de gebruiker de scenario’s selecteren die worden toegevoegd aan de set met te evalueren dreigingsscenario’s. In de morfologische box wordt aan de hand van een kleurcodering aangegeven hoe vaak bepaalde opties voorkomen in deze set.\n\nOp deze wijze kan met ScenarioSpark een set scenario’s worden samengesteld waarin de te analyseren factoren van risico’s zo effici\xebnt mogelijk worden behandeld in de (beperkte) set met scenario’s. Bovendien wordt voorkomen dat belangrijke factoren over het hoofd worden gezien."))]),O()("section#usage",[O()("h2","Hoe te gebruiken"),O().trust(eT(nq))]),O()("section#settings",[O()("h2","Beheer"),O().trust(eT(nH))]),O()("section#security",[O()("h2","Security"),O().trust(eT("Omdat de informatie die in ScenarioSpark wordt gezet vertrouwelijk kan zijn, is bij het ontwerp van deze applicatie hiermee rekening gehouden door de volgende uitgangspunten te hanteren:\n\n- ScenarioSpark wordt geladen vanaf een website. De enige informatie die hierbij over het net gaat, is de werking van het programma. Eenmaal ingeladen in de computer, is een verbinding met internet dus ook niet meer noodzakelijk;\n- Alle informatie die door ScenarioSpark wordt gebruikt, blijft op de computer van de gebruiker (hetzij in de Browsercache, hetzij in een bewaard bestand). De mate van beveiliging van deze gegevens is hiermee gelijk aan de mate van beveiliging van de betreffende computer en volledig controleerbaar door de beheerder van de betreffende computer. Dit betreft zowel de gebruikersinstellingen, de opzet van de morfologische box, als de scenario’s.\n- Het programma biedt de mogelijkheid deze informatie op te slaan en in te lezen. De informatie wordt altijd opgeslagen in de download map van de browser (dit is de enige map waarvoor de browser schrijfrechten heeft). Het inlezen van een bestand kan vanaf elke locatie.\n"))])])])}}};let nU=n.p+"17ba83f71583172b.webp";function nz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=0)&&(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}}return r}(e.attrs,["components","narratives"]),o=n.reduce(function(e,t){return t.values&&t.values.forEach(function(t){e[t.id]=t.label}),e},{});return O()(".table-container",O()(".table",O()("table.responsive-table.highlight",[O()("thead",O()("tr",O()("th",{style:"text-align: right"},x("NAME")),n.map(function(e){return O()("th",e.label)}))),O()("tbody",(void 0===i?[]:i).map(function(e){var t;return O()("tr",O()("th.bold",{style:"text-align: left"},O()("a",{href:cb.href(C.SHOW_SCENARIO),onclick:function(){r.update({curNarrative:function(){return e}})}},(t=e.label)&&t.charAt(0).toUpperCase()+t.slice(1))),n.map(function(t){return e.components[t.id]&&e.components[t.id].length>0?O()("td",O().trust(e.components[t.id].map(function(e){return o[e]||'Missing component ID: '.concat(e,"")}).join(", "))):e[t.id]?O()("td",o[e[t.id]]):O()("td.center-align.missing",O()(Y,{iconName:"clear",className:"red-text"}))}))}))])))}}},nQ=function(){var e=window.File&&window.FileReader&&window.FileList&&window.Blob,t=0,n=!1;return{oninit:function(e){nn(e.attrs,C.HOME)},view:function(i){var r,o=i.attrs,s=o.state,a=s.model,l=s.language,c=a.scenarios,u=a.scenario,d=u.id,h=u.label,p=u.narratives,f=u.components,m=u.categories,g=(void 0===p?[]:p).filter(function(e){return e.included}).sort(function(e,t){return(e.label||"").localeCompare(t.label)});return[O()("div",{style:"padding-top: 1rem;position: relative;"},[g.length>0&&m.length>0&&[O()(".row",O()(".col.s12",[O()("h4",x("SAVED_NARRATIVES"))])),m.length>1?O()(ec,{tabs:m.map(function(e){return{title:e.label,vnode:O()(nZ,nK(nV({},o),{narratives:g,components:f.filter(function(t){return e.componentIds&&e.componentIds.includes(t.id)})}))}})}):O()(".narratives",O()(nZ,nK(nV({},o),{narratives:g,components:f.filter(function(e){return m[0].componentIds&&m[0].componentIds.includes(e.id)})})))],0===g.length&&O()(".row",O()(".col.s12.center-align",O()("img.responsive-img.center[alt=fountain pen]",{src:nU}))),O()(".row",O()(".col.s12.m8.l6.offset-m2.offset-l3",O()(".flex-row",O()(el,{key:d,iconName:"cases",className:"flex-grow",label:x("SELECT_SCENARIO"),checkedId:d,options:[{id:d,label:h}].concat(nG(void 0===c?[]:c)),onchange:(r=nW(function(e){return nY(this,function(t){switch(t.label){case 0:return[4,no(o,e[0])];case 1:return t.sent(),[2]}})}),function(e){return r.apply(this,arguments)})}),O()(".icon-buttons",{key:"icons"},O()(ee,{className:"icon-button",iconName:"add",title:x("NEW_SCENARIO"),onclick:nW(function(){return nY(this,function(e){switch(e.label){case 0:return!a.scenarios&&(a.scenarios=[]),a.scenarios=[a.scenario].concat(nG(a.scenarios)),a.scenario=eh(),[4,nr(o,a,!0)];case 1:return e.sent(),M.toast({html:x("SCENARIO_CREATED_MSG")}),ni(o,C.SETTINGS),[2]}})})}),O()(ee,{className:"icon-button",iconName:"download",title:x("DOWNLOAD","MODEL"),onclick:function(){var e=document.getElementById("downloadAnchorElem");if(!!e){var t=void 0===a.version?1:++a.version,n="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(nK(nV({},a.scenario),{version:t})));e.setAttribute("href",n),e.setAttribute("download","".concat(tG(a,void 0,!1),".json")),e.click(),localStorage.setItem(t$,"true")}}}),e&&O()(ee,{className:"icon-button",iconName:"upload",title:x("UPLOAD","MODEL"),onclick:function(){var e=document.getElementById("selectFiles");e.onchange=function(){if(!e)return;var t,n=e.files;if(!!n&&(!n||!(n.length<=0))){var i=n&&n.item(0),r=i&&/json$/i.test(i.name),s=new FileReader;s.onload=(t=nW(function(e){var t,n;return nY(this,function(i){return r&&((n=JSON.parse((e&&e.target&&e.target.result).toString()))&&n.id&&n.label&&a.scenario.id!==n.id&&!(null===(t=a.scenarios)||void 0===t?void 0:t.some(function(e){return e.id===n.id}))?(!a.scenarios&&(a.scenarios=[]),a.scenarios=[a.scenario].concat(nG(a.scenarios)),a.scenario=n,nr(o,a,!0),M.toast({html:x("SCENARIO_LOADED_MSG")})):M.toast({html:x("SCENARIO_NOT_LOADED_MSG")})),[2]})}),function(e){return t.apply(this,arguments)}),i&&(r?s.readAsText(i):s.readAsArrayBuffer(i))}},e.click()}}),O()(ee,{className:"icon-button",iconName:"delete",title:x("DELETE"),modalId:"delete_model"}))))),O()(".buttons.center",{style:"margin: 10px auto;"},[[O()(".language-option",{onclick:function(){return nu("nl")}},[O()("img",{src:nA,alt:"Nederlands",title:"Nederlands",disabled:"nl"===l,class:"nl"===l?"disabled-image":"clickable"}),O()("span","Nederlands")]),O()(".language-option",{onclick:function(){return nu("en")}},[O()("img",{src:nS,alt:"English",title:"English",disabled:"en"===l,class:"en"===l?"disabled-image":"clickable"}),O()("span","English")])],O()(J,{iconName:"clear",disabled:!1,className:"btn-large",label:x("NEW_MODEL","btn"),modalId:"clearAll"}),O()("a#downloadAnchorElem",{style:"display:none"}),O()(J,{iconName:"download",disabled:!1,className:"btn-large",label:x("DOWNLOAD","COLLECTION"),onclick:function(){var e=document.getElementById("downloadAnchorElem");if(!!e){var t=void 0===a.version?1:++a.version,n="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(nK(nV({},a),{version:t})));e.setAttribute("href",n),e.setAttribute("download","".concat(tG(a),".json")),e.click(),localStorage.setItem(t$,"true")}}}),O()("input#selectFiles[type=file][accept=.json]",{style:"display:none"}),e&&O()(J,{iconName:"upload",className:"btn-large",label:x("UPLOAD","COLLECTION"),onclick:function(){var e=document.getElementById("selectFiles");e.onchange=function(){if(!e)return;var t,n=e.files;if(!!n&&(!n||!(n.length<=0))){var i=n&&n.item(0),r=i&&/json$/i.test(i.name),s=new FileReader;s.onload=(t=nW(function(e){var t;return nY(this,function(n){if(r&&(t=JSON.parse((e&&e.target&&e.target.result).toString()))){var i;nr(o,t.version?t:Object.keys(i=t).reduce(function(e,t){if("scenarios"===t){var n=i[t].current;e.scenario.id=n.id,e.scenario.label=n.name,e.scenario.desc=n.desc,e.scenario.hideInconsistentValues=!0,e.scenario.inconsistencies=n.inconsistencies.reduce(function(e,t){var n=tF(t.ids,2),i=n[0],r=n[1],o=t.type;!e[i]&&(e[i]={}),!e[r]&&(e[r]={});var s="totally"===o;return e[i][r]=s,e[r][i]=s,e},{}),e.scenario.narratives=n.narratives.map(function(e){var t=e.id,n=e.name,i=e.components,r=e.narrative,o=e.included;return{id:t,label:n,components:Object.keys(i).reduce(function(e,t){return e[t]=[i[t]],e},{}),desc:r,included:o,saved:!0}}),e.scenario.categories=Object.keys(n.categories).map(function(e){return{id:e,label:e,componentIds:n.categories[e]}})}else{!e.scenario.components&&(e.scenario.components=[]);var r=i[t].list,o=r.reduce(function(e,t){return t.context&&t.context.type&&("LOCATION"===t.context.type&&0>=e.indexOf("location")?e.push("location"):"LOCATIONTYPE"===t.context.type&&0>=e.indexOf("locationType")&&e.push("locationType")),e},[]);if(e.scenario.components.push({id:t,label:x("COMP",t.toUpperCase()),contexts:o,values:r.map(function(e){var t=e.name,n=e.id,i=e.desc,r=e.context,o=r?"LOCATION"===r.type?"location":"LOCATIONTYPE"===r.type?"locationType":"none":void 0,s=r&&"LOCATION"===r.type?r.data.NAME?"name":r.data.COORDINATES?"coords":void 0:void 0,a=tF("coords"===s&&r.data.COORDINATES?r.data.COORDINATES.split(/,/).map(function(e){return+e}):[void 0,void 0],2),l=a[0],c=a[1],u=r&&"LOCATIONTYPE"===r.type?em.indexOf(Object.keys(r.data).shift())>=0?"list":"keyValue":void 0,d="list"===u?Object.keys(r.data).shift():void 0,h=tF(("keyValue"===u?Object.entries(r.data).shift():void 0)||[void 0,void 0],2),p=h[0],f=h[1];return{id:n,label:t,desc:i,context:o,location:r&&"LOCATION"===r.type?r.data.NAME:void 0,locationType:s,locationTypeType:u,lat:l,lon:c,osmTypeId:d,key:p,value:f}})}),e.scenario.thresholdColors=eu,e.scenario.categories){var s=1,a=e.scenario.categories.filter(function(e){return e.componentIds}).reduce(function(e,t){var n;return null===(n=t.componentIds)||void 0===n||n.forEach(function(t){return e[t]=s++}),e},{});e.scenario.components=e.scenario.components.map(function(e){return tB(tj({},e),{order:a[e.id]})}),e.scenario.components.sort(function(e,t){return e.order>t.order?1:-1})}}return e},{scenario:{},version:1,lastUpdata:Date.now(),scenarios:[]}),!0),M.toast({html:x("COLLECTION_LOADED_MSG")})}return[2]})}),function(e){return t.apply(this,arguments)}),i&&(r?s.readAsText(i):s.readAsArrayBuffer(i))}},e.click()}})]),O()(".section.white",O()(".row.container.center",[O()(".row",O()(".col.s12.align-center",[O()("h5","ScenarioSpark")])),O()(".row",[O()(".col.s12.m4",O()(".icon-block",[O()(".center",O()(Y,{iconName:"ads_click"})),O()("h5.center",O()(O().route.Link,{href:x("ABOUT","ROUTE")+"#goal"},x("GOAL","TITLE"))),O()("p",x("GOAL","DESC"))])),O()(".col.s12.m4",O()(".icon-block",[O()(".center",O()(Y,{iconName:"settings"})),O()("h5.center",O()(O().route.Link,{href:x("ABOUT","ROUTE")+"#usage"},x("USAGE","TITLE"))),O()("p",x("USAGE","DESC"))])),O()(".col.s12.m4",O()(".icon-block",[O()(".center",O()(Y,{iconName:"lock"})),O()("h5.center",O()(O().route.Link,{href:x("ABOUT","ROUTE")+"#security"},x("SECURITY","TITLE"))),O()("p",x("SECURITY","DESC"))]))])])),O()(eo,{id:"delete_model",title:x("DELETE_MODEL","title"),description:O()(".row",[O()(".col.s12",[x("DELETE_MODEL","description")])]),buttons:[{label:x("CANCEL"),iconName:"cancel"},{label:x("OK"),iconName:"delete",onclick:nW(function(){return nY(this,function(e){switch(e.label){case 0:return a.scenario=a.scenarios&&a.scenarios.length>0?a.scenarios[0]:eh(),a.scenarios=a.scenarios.filter(function(e){return e.id!==a.scenario.id}),[4,nr(o,a,!0)];case 1:return e.sent(),[2]}})})}]}),O()(eo,{id:"clearAll",title:x("NEW_MODEL","title"),description:O()(".row",[O()(".col.s12",[x("NEW_MODEL","description")]),O()(".col.s12",[O()(".row",O()(ea,{label:x("NEW_MODEL","choose"),checkedId:1,options:ef.map(function(e,t){return{id:t+1,label:"".concat(x("MODEL_NAMES",t),": ").concat(x("MODEL_DESC",t))}}),onchange:function(e){return t=e-1}})),O()(".row",O()(er,{label:x("NEW_MODEL","remove"),checked:n,onchange:function(e){return n=e}}))])]),buttons:[{label:x("CANCEL"),iconName:"cancel"},{label:x("OK"),iconName:"delete",onclick:nW(function(){return nY(this,function(e){switch(e.label){case 0:return[4,nr(o,ef[t],!0)];case 1:return e.sent(),cb.switchTo(0===t?C.SETTINGS:C.DEFINE_BOX),[2]}})})}]})])]}}};function nJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&[O()(el,{checkedId:e,iconName:"view_stream",className:"col s6 m4",placeholder:x("i18n","pickOne"),label:x("INCONSISTENCIES","SELECT_ROW"),options:a,onchange:function(t){return e=t[0]}}),O()(el,{checkedId:t,iconName:"view_week",className:"col s6 m4",placeholder:x("i18n","pickOne"),label:x("INCONSISTENCIES","SELECT_COL"),options:a,onchange:function(e){return t=e[0]}}),O()("#legend.col.s12.m4",O()(".card",[O()("ul",[O()("li",O()(Y,{style:"vertical-align: bottom",iconName:"check_circle_outline"}),x("COMBINATIONS","POSSIBLE")),O()("li",O()(Y,{style:"vertical-align: bottom",iconName:"radio_button_unchecked"}),x("COMBINATIONS","IMPOSSIBLE")),O()("li",O()(Y,{style:"vertical-align: bottom",iconName:"blur_circular"}),x("COMBINATIONS","IMPROBABLE"))])])),l&&c&&u&&d&&O()(".col.s12",O()(".row",[O()(".col.s12",O()("table.responsive-table.highlight",{style:"display: block;overflow-x: auto"},[O()("thead",O()("tr",[O()("th","".concat(l.label," \\ ").concat(c.label))].concat(n2(d.map(function(e){return O()("th",e.label)}))))),O()("tbody",u.map(function(e){return O()("tr",[O()("th",e.label)].concat(n2(d.map(function(t){return O()("td",O()(n3,{rowId:e.id,colId:t.id,inconsistencies:s,callback:n1(function(){return n5(this,function(e){switch(e.label){case 0:return[4,nr(r,o)];case 1:return[2,e.sent()]}})})}))}))))}))]))]))])}]}),O()(eo,{id:"deleteModel",title:x("DELETE_ITEM","title",{item:x("MODEL")}),description:x("DELETE_ITEM","description",{item:x("MODEL")}),buttons:[{label:x("CANCEL")},{label:x("OK"),onclick:function(){nr(r,ep())}}]})])]}}},n6=function(e){var t=e.replace("#",""),n=parseInt(t.substring(0,2),16),i=parseInt(t.substring(2,4),16),r=parseInt(t.substring(4,6),16);return(299*n+587*i+114*r)/1e3>125?"black":"white"},n8={view:function(e){var t=e.attrs.items;return O()(".legend",{style:{display:"fixed"}},O()(".legend-items",{style:{top:0,right:0,display:"flex",alignItems:"center",gap:"8px"}},t.map(function(e,n){return O()("div",{key:n,style:{display:"flex",alignItems:"center",justifyContent:"center",width:"40px",height:"40px",backgroundColor:e.color,color:n6(e.color),borderRadius:"8px"}},n===t.length-1?"".concat(e.threshold,"+"):"".concat(e.threshold,"x"))})))}};function n9(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n0&&"none"!==s[0];t=o.filter(function(e){return"context"!==e.id||a}).map(function(e){var t,n;return"context"===e.id&&a&&e.options&&(t=e.options,null!=(n=Array)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n)?ie(n7({},e),{options:e.options.filter(function(e){return"none"===e.id||s.indexOf(e.id)>=0})}):e}),e=n7({},r)},view:function(n){var i=n.attrs,r=i.item,o=i.id,s=i.color;return O()("li.kanban-item.card.widget[draggable=true]",{key:o,id:"ki_".concat(r.id),style:"background-color: ".concat(s[0],"; color: ").concat(s[1]),ondragstart:function(e){var t;null===(t=e.dataTransfer)||void 0===t||t.setData(o,JSON.stringify([o,r.id]))},ondragover:function(e){var t;(null===(t=e.dataTransfer)||void 0===t?void 0:t.types.includes(o.toLowerCase()))&&e.preventDefault()},ondrop:function(e){e.preventDefault();var t,n=null===(t=e.dataTransfer)||void 0===t?void 0:t.getData(o);if(!n)return;var s=it(JSON.parse(n),2),a=(s[0],s[1]),l=e.currentTarget;if(!!a&&!!l&&a!==r.id){if(l){var c=e.clientY-l.getBoundingClientRect().top,u=l.clientHeight;nc(i,o,a,r.id,c<=u/2)}}}},[O()(".card-content",[O()("span.card-title",{onmouseenter:r.desc?function(){i.update({activeTooltip:r.desc})}:void 0,onmouseleave:r.desc?function(){i.update({activeTooltip:void 0})}:void 0},r.label),O()(ee,{className:"top-right widget-link",iconName:"edit",iconClass:"no-gutter",modalId:"modal_".concat(r.id)})]),O()(eo,{id:"modal_".concat(r.id),title:x("EDIT_COMPONENT"),fixedFooter:!0,description:O()(".row",O()(tR,{form:t,obj:e,i18n:nk.i18n})),buttons:[{label:x("CANCEL")},{label:x("DELETE"),onclick:function(){nl(i,o,e,"delete")}},{label:x("OK"),onclick:function(){nl(i,o,e,"update")}}]})])}}},io=function(){var e={};return{view:function(t){var n=t.attrs,i=n.sc,r=n.form,o=i.id;return O()("li.kanban-header.widget",{key:"header"},[O()(".span.title.truncate.left.ml10",{onmouseenter:i.desc?function(){n.update({activeTooltip:i.desc})}:void 0,onmouseleave:i.desc?function(){n.update({activeTooltip:void 0})}:void 0},i.label),O()(ee,{className:"widget-link",iconName:"add",iconClass:"no-gutter",modalId:i.id,i18n:nk.i18n}),O()(eo,{id:i.id,title:x("ADD_COMPONENT"),fixedFooter:!0,description:O()(".row",O()(tR,{form:r,obj:e,i18n:nk.i18n})),buttons:[{label:x("CANCEL")},{label:x("OK"),onclick:function(){var t=n7({},e);e={},nl(n,o,t,"create")}}]})])}}},is=function(){return{view:function(e){var t,n=e.attrs,i=n.sc,r=n.form,o=n.compColor;return O()("li",{key:i.id},[O()("ul.kanban-row",O()(io,ie(n7({},n),{sc:i,form:r})),null===(t=i.values)||void 0===t?void 0:t.map(function(e){return O()(ir,ie(n7({key:e.id},n),{id:i.id,contexts:i.contexts,item:e,form:r,color:o[e.id]||o.OTHER}))}))])}}},ia=function(){return{view:function(e){var t=e.attrs,n=t.form,i=t.categoryId,r=t.compColor,o=t.state.model.scenario,s=o.categories,a=o.components,l=s[i],c=a.filter(function(e){return l.componentIds&&l.componentIds.indexOf(e.id)>=0});return O()("ul.kanban",[c.map(function(e){return O()(is,ie(n7({},t),{sc:e,form:n,compColor:r}))})])}}},il=function(){var e=[{id:"id",autogenerate:"id"},{id:"label",type:"text",label:x("NAME")},{id:"desc",type:"textarea",label:x("DESCRIPTION")}],t={};return{oninit:function(e){nn(e.attrs,C.DEFINE_BOX)},view:function(n){var i=n.attrs,r=i.state,o=r.activeTooltip,s=r.model.scenario,a=s.categories,l=s.thresholdColors,c=void 0===l?[]:l;if(t||Object.keys(t).lengtht.threshold?1:-1}).forEach(function(e){do f[m]=e.color,m++;while(m1&&a[0].componentIds&&a[1].componentIds?O()(ec,{tabs:a.map(function(n,r){return{id:n.id,title:n.label,vnode:O()(ia,ie(n7({},i),{compColor:t,categoryId:r,form:e}))}})}):1===a.length&&a[0].componentIds?O()(ia,ie(n7({},i),{compColor:t,categoryId:0,form:e})):O()(".row.mt10",O()(".col.s12",x("SPEC_CATS"))),o&&O()(".popupContainer",O()(".popupContent.center",O()(tS,{md:o,removeParagraphs:!0})))])]}}};let ic=function(e,t){return e===t||e!=e&&t!=t},iu=function(e,t){for(var n=e.length;n--;)if(ic(e[n][0],t))return n;return -1};var id=Array.prototype.splice;function ih(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},ih.prototype.set=function(e,t){var n=this.__data__,i=iu(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};var ip="object"==typeof global&&global&&global.Object===Object&&global,im="object"==typeof self&&self&&self.Object===Object&&self,ig=ip||im||Function("return this")(),iv=ig.Symbol,iy=Object.prototype,ib=iy.hasOwnProperty,iw=iy.toString,i_=iv?iv.toStringTag:void 0;let iE=function(e){var t=ib.call(e,i_),n=e[i_];try{e[i_]=void 0;var i=!0}catch(e){}var r=iw.call(e);return i&&(t?e[i_]=n:delete e[i_]),r};var ix=Object.prototype.toString,ik=iv?iv.toStringTag:void 0;let iT=function(e){var t;if(null==e)return void 0===e?"[object Undefined]":"[object Null]";return ik&&ik in Object(e)?iE(e):(t=e,ix.call(t))},iO=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},iC=function(e){if(!iO(e))return!1;var t=iT(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var iA=ig["__core-js_shared__"];var iS=(m=/[^.]+$/.exec(iA&&iA.keys&&iA.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",iN=Function.prototype.toString;let iI=function(e){if(null!=e){try{return iN.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var iL=/^\[object .+?Constructor\]$/,iM=Object.prototype,iR=Function.prototype.toString,iP=iM.hasOwnProperty,iD=RegExp("^"+iR.call(iP).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let ij=function(e){var t;return!!iO(e)&&(t=e,!iS||!(iS in t))&&(iC(e)?iD:iL).test(iI(e))},iB=function(e,t){var n,i,r=(n=e,i=t,null==n?void 0:n[i]);return ij(r)?r:void 0};var iF=iB(ig,"Map"),iq=iB(Object,"create"),iH=Object.prototype.hasOwnProperty,i$=Object.prototype.hasOwnProperty;function iU(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=0x1fffffffffffff},rh=function(e){return null!=e&&rd(e.length)&&!iC(e)};var rp="object"==typeof exports&&exports&&!exports.nodeType&&exports,rf=rp&&"object"==typeof module&&module&&!module.nodeType&&module,rm=rf&&rf.exports===rp?ig.Buffer:void 0,rg=rm?rm.isBuffer:void 0;let rv=rg||function(){return!1};var ry=Object.prototype,rb=Function.prototype.toString,rw=ry.hasOwnProperty,r_=rb.call(Object);let rE=function(e){if(!rr(e)||"[object Object]"!=iT(e))return!1;var t=re(e);if(null===t)return!0;var n=rw.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&rb.call(n)==r_};var rx={};rx["[object Float32Array]"]=rx["[object Float64Array]"]=rx["[object Int8Array]"]=rx["[object Int16Array]"]=rx["[object Int32Array]"]=rx["[object Uint8Array]"]=rx["[object Uint8ClampedArray]"]=rx["[object Uint16Array]"]=rx["[object Uint32Array]"]=!0,rx["[object Arguments]"]=rx["[object Array]"]=rx["[object ArrayBuffer]"]=rx["[object Boolean]"]=rx["[object DataView]"]=rx["[object Date]"]=rx["[object Error]"]=rx["[object Function]"]=rx["[object Map]"]=rx["[object Number]"]=rx["[object Object]"]=rx["[object RegExp]"]=rx["[object Set]"]=rx["[object String]"]=rx["[object WeakMap]"]=!1;let rk=function(e){return function(t){return e(t)}};var rT="object"==typeof exports&&exports&&!exports.nodeType&&exports,rO=rT&&"object"==typeof module&&module&&!module.nodeType&&module,rC=rO&&rO.exports===rT&&ip.process,rA=function(){try{var e=rO&&rO.require&&rO.require("util").types;if(e)return e;return rC&&rC.binding&&rC.binding("util")}catch(e){}}(),rS=rA&&rA.isTypedArray,rN=rS?rk(rS):function(e){return rr(e)&&rd(e.length)&&!!rx[iT(e)]};let rI=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var rL=Object.prototype.hasOwnProperty;let rM=function(e,t,n){var i=e[t];(!(rL.call(e,t)&&ic(i,n))||void 0===n&&!(t in e))&&iG(e,t,n)},rR=function(e,t,n,i){var r=!n;n||(n={});for(var o=-1,s=t.length;++o-1&&e%1==0&&e0){if(++y>=800)return arguments[0]}else y=0;return v.apply(void 0,arguments)});let rZ=function(e,t){var n,i,r;return rY((n=e,i=t,r=rW,i=rK(void 0===i?n.length-1:i,0),function(){for(var e=arguments,t=-1,o=rK(e.length-i,0),s=Array(o);++t1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(r=w.length>3&&"function"==typeof r?(i--,r):void 0,o&&rQ(t[0],t[1],o)&&(r=i<3?void 0:r,i=1),e=Object(e);++ne.name)}add(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)}canAdd(e,t){return null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1)}remove(e){e.removeAttribute(this.keyName)}value(e){let t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class r2 extends Error{constructor(e){super(e="[Parchment] "+e),this.message=e,this.name=this.constructor.name}}let r5=class e{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(null==e)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(t,n,i){let r=this.query(n);if(null==r)throw new r2(`Unable to create ${n} blot`);let o=n instanceof Node||n.nodeType===Node.TEXT_NODE?n:r.create(i),s=new r(t,o,i);return e.blots.set(s.domNode,s),s}find(t,n=!1){return e.find(t,n)}query(e,t=r0.ANY){let n;return"string"==typeof e?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:"number"==typeof e?e&r0.LEVEL&r0.BLOCK?n=this.types.block:e&r0.LEVEL&r0.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(e=>!!(n=this.classes[e])),n=n||this.tags[e.tagName]),null==n?null:"scope"in n&&t&r0.LEVEL&n.scope&&t&r0.TYPE&n.scope?n:null}register(...e){return e.map(e=>{let t="blotName"in e,n="attrName"in e;if(!t&&!n)throw new r2("Invalid definition");if(t&&"abstract"===e.blotName)throw new r2("Cannot register abstract class");let i=t?e.blotName:n?e.attrName:void 0;return this.types[i]=e,n?"string"==typeof e.keyName&&(this.attributes[e.keyName]=e):t&&(e.className&&(this.classes[e.className]=e),e.tagName&&(Array.isArray(e.tagName)?e.tagName=e.tagName.map(e=>e.toUpperCase()):e.tagName=e.tagName.toUpperCase(),(Array.isArray(e.tagName)?e.tagName:[e.tagName]).forEach(t=>{(null==this.tags[t]||null==e.className)&&(this.tags[t]=e)}))),e})}};r5.blots=new WeakMap;let r3=r5;function r4(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter(e=>0===e.indexOf(`${t}-`))}let r6=class e extends r1{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(e=>e.split("-").slice(0,-1).join("-"))}add(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0)}remove(e){r4(e,this.keyName).forEach(t=>{e.classList.remove(t)}),0===e.classList.length&&e.removeAttribute("class")}value(e){let t=(r4(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}};function r8(e){let t=e.split("-"),n=t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("");return t[0]+n}let r9=class e extends r1{static keys(e){return(e.getAttribute("style")||"").split(";").map(e=>e.split(":")[0].trim())}add(e,t){return!!this.canAdd(e,t)&&(e.style[r8(this.keyName)]=t,!0)}remove(e){e.style[r8(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){let t=e.style[r8(this.keyName)];return this.canAdd(e,t)?t:""}},r7=class e{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};let e=r3.find(this.domNode);if(null==e)return;let t=r1.keys(this.domNode),n=r6.keys(this.domNode),i=r9.keys(this.domNode);t.concat(n).concat(i).forEach(t=>{let n=e.scroll.query(t,r0.ATTRIBUTE);n instanceof r1&&(this.attributes[n.attrName]=n)})}copy(e){Object.keys(this.attributes).forEach(t=>{let n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(e=>{this.attributes[e].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}},oe=class{constructor(e,t){this.scroll=e,this.domNode=t,r3.blots.set(t,this),this.prev=null,this.next=null}static create(e){let t,n;if(null==this.tagName)throw new r2("Blot definition missing tagName");return Array.isArray(this.tagName)?("string"==typeof e?parseInt(n=e.toUpperCase(),10).toString()===n&&(n=parseInt(n,10)):"number"==typeof e&&(n=e),t="number"==typeof n?document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?document.createElement(n):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){let e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){null!=this.parent&&this.parent.removeChild(this),r3.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,i){let r=this.isolate(e,t);if(null!=this.scroll.query(n,r0.BLOT)&&i)r.wrap(n,i);else if(null!=this.scroll.query(n,r0.ATTRIBUTE)){let e=this.scroll.create(this.statics.scope);r.wrap(e),e.format(n,i)}}insertAt(e,t,n){let i=null==n?this.scroll.create("text",t):this.scroll.create(t,n),r=this.split(e);this.parent.insertBefore(i,r||void 0)}isolate(e,t){let n=this.split(e);if(null==n)throw Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return null==this.parent||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){!this.statics.requiredContainer||this.parent instanceof this.statics.requiredContainer||this.wrap(this.statics.requiredContainer.blotName)}remove(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){let n="string"==typeof e?this.scroll.create(e,t):e;return null!=this.parent&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return 0===e?this:this.next}update(e,t){}wrap(e,t){let n="string"==typeof e?this.scroll.create(e,t):e;if(null!=this.parent&&this.parent.insertBefore(n,this.next||void 0),"function"!=typeof n.appendChild)throw new r2(`Cannot wrap ${e}`);return n.appendChild(this),n}};oe.blotName="abstract";let ot=oe,on=class extends ot{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};on.scope=r0.INLINE_BLOT;let oi=on;class or{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){let t=e.slice(1);this.append(...t)}}at(e){let t=this.iterator(),n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){let t=this.iterator(),n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){let t=this.iterator(),n=t(),i=0;for(;n;){if(n===e)return i;i+=1,n=t()}return -1}insertBefore(e,t){null!=e&&(this.remove(e),e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return -1}remove(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{let t=e;return null!=e&&(e=e.next),t}}find(e,t=!1){let n=this.iterator(),i=n();for(;i;){let r=i.length();if(eo?n(a,e-o,Math.min(t,o+i-e)):n(a,0,Math.min(i,e+t-o)),o+=i,a=s()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){let n=this.iterator(),i=n();for(;i;)t=e(t,i),i=n();return t}}function oo(e,t){let n=t.find(e);if(n)return n;try{return t.create(e)}catch{let n=t.create(r0.INLINE);return Array.from(e.childNodes).forEach(e=>{n.domNode.appendChild(e)}),e.parentNode&&e.parentNode.replaceChild(n.domNode,e),n.attach(),n}}let os=class e extends ot{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(t){null!=this.uiNode&&this.uiNode.remove(),this.uiNode=t,e.uiClass&&this.uiNode.classList.add(e.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new or,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{let t=oo(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(e){if(e instanceof r2)return;throw e}})}deleteAt(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(e,t,n)=>{e.deleteAt(t,n)})}descendant(t,n=0){let[i,r]=this.children.find(n);return null==t.blotName&&t(i)||null!=t.blotName&&i instanceof t?[i,r]:i instanceof e?i.descendant(t,r):[null,-1]}descendants(t,n=0,i=Number.MAX_VALUE){let r=[],o=i;return this.children.forEachAt(n,i,(n,i,s)=>{(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&r.push(n),n instanceof e&&(r=r.concat(n.descendants(t,i,o))),o-=s}),r}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let t=!1;this.children.forEach(n=>{t||this.statics.allowedChildren.some(e=>n instanceof e)||(n.statics.scope===r0.BLOCK_BLOT?(null!=n.next&&this.splitAfter(n),null!=n.prev&&this.splitAfter(n.prev),n.parent.unwrap(),t=!0):n instanceof e?n.unwrap():n.remove())})}formatAt(e,t,n,i){this.children.forEachAt(e,t,(e,t,r)=>{e.formatAt(t,r,n,i)})}insertAt(e,t,n){let[i,r]=this.children.find(e);if(i)i.insertAt(r,t,n);else{let e=null==n?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(e)}}insertBefore(e,t){null!=e.parent&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,null!=t&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),0===this.children.length){if(null!=this.statics.defaultChild){let e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e)}else this.remove()}}path(t,n=!1){let[i,r]=this.children.find(t,n),o=[[this,t]];return i instanceof e?o.concat(i.path(r,n)):(null!=i&&o.push([i,r]),o)}removeChild(e){this.children.remove(e)}replaceWith(t,n){let i="string"==typeof t?this.scroll.create(t,n):t;return i instanceof e&&this.moveChildren(i),super.replaceWith(i)}split(e,t=!1){if(!t){if(0===e)return this;if(e===this.length())return this.next}let n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(e,i,r)=>{let o=e.split(i,t);null!=o&&n.appendChild(o)}),n}splitAfter(e){let t=this.clone();for(;null!=e.next;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){let n=[],i=[];e.forEach(e=>{e.target===this.domNode&&"childList"===e.type&&(n.push(...e.addedNodes),i.push(...e.removedNodes))}),i.forEach(e=>{if(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;let t=this.scroll.find(e);null!=t&&(null==t.domNode.parentNode||t.domNode.parentNode===this.domNode)&&t.detach()}),n.filter(e=>e.parentNode===this.domNode&&e!==this.uiNode).sort((e,t)=>e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(e=>{let t=null;null!=e.nextSibling&&(t=this.scroll.find(e.nextSibling));let n=oo(e,this.scroll);(n.next!==t||null==n.next)&&(null!=n.parent&&n.parent.removeChild(this),this.insertBefore(n,t||void 0))}),this.enforceAllowedChildren()}};os.uiClass="";let oa=os,ol=class e extends oa{static create(e){return super.create(e)}static formats(t,n){let i=n.query(e.blotName);if(!(null!=i&&t.tagName===i.tagName)){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new r7(this.domNode)}format(t,n){if(t!==this.statics.blotName||n){let e=this.scroll.query(t,r0.INLINE);if(null!=e)e instanceof r1?this.attributes.attribute(e,n):n&&(t!==this.statics.blotName||this.formats()[t]!==n)&&this.replaceWith(t,n)}else this.children.forEach(t=>{t instanceof e||(t=t.wrap(e.blotName,!0)),this.attributes.copy(t)}),this.unwrap()}formats(){let e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return null!=t&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){null!=this.formats()[n]||this.scroll.query(n,r0.ATTRIBUTE)?this.isolate(e,t).format(n,i):super.formatAt(e,t,n,i)}optimize(t){super.optimize(t);let n=this.formats();if(0===Object.keys(n).length)return this.unwrap();let i=this.next;i instanceof e&&i.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}(n,i.formats())&&(i.moveChildren(this),i.remove())}replaceWith(e,t){let n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(e=>e.target===this.domNode&&"attributes"===e.type)&&this.attributes.build()}wrap(t,n){let i=super.wrap(t,n);return i instanceof e&&this.attributes.move(i),i}};ol.allowedChildren=[ol,oi],ol.blotName="inline",ol.scope=r0.INLINE_BLOT,ol.tagName="SPAN";let oc=ol,ou=class e extends oa{static create(e){return super.create(e)}static formats(t,n){let i=n.query(e.blotName);if(!(null!=i&&t.tagName===i.tagName)){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new r7(this.domNode)}format(t,n){let i=this.scroll.query(t,r0.BLOCK);null!=i&&(i instanceof r1?this.attributes.attribute(i,n):t!==this.statics.blotName||n?n&&(t!==this.statics.blotName||this.formats()[t]!==n)&&this.replaceWith(t,n):this.replaceWith(e.blotName))}formats(){let e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return null!=t&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){null!=this.scroll.query(n,r0.BLOCK)?this.format(n,i):super.formatAt(e,t,n,i)}insertAt(e,t,n){if(null==n||null!=this.scroll.query(t,r0.INLINE))super.insertAt(e,t,n);else{let i=this.split(e);if(null!=i){let e=this.scroll.create(t,n);i.parent.insertBefore(e,i)}else throw Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){let n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(e=>e.target===this.domNode&&"attributes"===e.type)&&this.attributes.build()}};ou.blotName="block",ou.scope=r0.BLOCK_BLOT,ou.tagName="P",ou.allowedChildren=[oc,ou,oi];let od=ou,oh=class extends oa{checkMerge(){return null!==this.next&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,i){super.formatAt(e,t,n,i),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&null!=this.next&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};oh.blotName="container",oh.scope=r0.BLOCK_BLOT;let op=oh,of=class e extends oi{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,i){0===e&&t===this.length()?this.format(n,i):super.formatAt(e,t,n,i)}formats(){return this.statics.formats(this.domNode,this.scroll)}},om={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},og=class extends oa{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(e=>{this.update(e)}),this.observer.observe(this.domNode,om),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){let n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=r0.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){null!=this.scroll&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),0===e&&t===this.length()?this.children.forEach(e=>{e.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,i){this.update(),super.formatAt(e,t,n,i)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);let n=t.mutationsMap||new WeakMap,i=Array.from(this.observer.takeRecords());for(;i.length>0;)e.push(i.pop());let r=(e,t=!0)=>{null==e||e===this||null!=e.domNode.parentNode&&(n.has(e.domNode)||n.set(e.domNode,[]),t&&r(e.parent))},o=e=>{n.has(e.domNode)&&(e instanceof oa&&e.children.forEach(o),n.delete(e.domNode),e.optimize(t))},s=e;for(let t=0;s.length>0;t+=1){if(t>=100)throw Error("[Parchment] Maximum optimize iterations reached");for(s.forEach(e=>{let t=this.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(r(this.find(e.previousSibling,!1)),Array.from(e.addedNodes).forEach(e=>{let t=this.find(e,!1);r(t,!1),t instanceof oa&&t.children.forEach(e=>{r(e,!1)})})):"attributes"===e.type&&r(t.prev)),r(t))}),this.children.forEach(o),i=(s=Array.from(this.observer.takeRecords())).slice();i.length>0;)e.push(i.pop())}}update(e,t={}){e=e||this.observer.takeRecords();let n=new WeakMap;e.map(e=>{let t=this.find(e.target,!0);return null==t?null:n.has(t.domNode)?(n.get(t.domNode).push(e),null):(n.set(t.domNode,[e]),t)}).forEach(e=>{null!=e&&e!==this&&n.has(e.domNode)&&e.update(n.get(e.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};og.blotName="scroll",og.defaultChild=od,og.allowedChildren=[od,op],og.scope=r0.BLOCK_BLOT,og.tagName="DIV";let ov=og,oy=class e extends oi{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){null==n?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(t){super.optimize(t),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(0===e)return this;if(e===this.length())return this.next}let n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(e=>"characterData"===e.type&&e.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};oy.blotName="text",oy.scope=r0.INLINE_BLOT;let ob=oy;var ow=n("3258");let o_=function(e,t){for(var n=-1,i=null==e?0:e.length;++na))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=2&n?new ss:void 0;for(o.set(e,t),o.set(t,e);++d"']/g,e=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[e])}class sT extends oc{static allowedChildren=[sT,sE,of,sx];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(e,t){let n=sT.order.indexOf(e),i=sT.order.indexOf(t);return n>=0||i>=0?n-i:e===t?0:esT.compare(this.statics.blotName,n)&&this.scroll.query(n,r0.BLOT)){let r=this.isolate(e,t);i&&r.wrap(n,i)}else super.formatAt(e,t,n,i)}optimize(e){if(super.optimize(e),this.parent instanceof sT&&sT.compare(this.statics.blotName,this.parent.statics.blotName)>0){let e=this.parent.isolate(this.offset(),this.length());this.moveChildren(e),e.wrap(this)}}}let sO=sT;class sC extends od{cache={};delta(){return null==this.cache.delta&&(this.cache.delta=sS(this)),this.cache.delta}deleteAt(e,t){super.deleteAt(e,t),this.cache={}}formatAt(e,t,n,i){!(t<=0)&&(this.scroll.query(n,r0.BLOCK)?e+t===this.length()&&this.format(n,i):super.formatAt(e,Math.min(t,this.length()-e-1),n,i),this.cache={})}insertAt(e,t,n){if(null!=n){super.insertAt(e,t,n),this.cache={};return}if(0===t.length)return;let i=t.split("\n"),r=i.shift();r.length>0&&(e((o=o.split(e,!0)).insertAt(0,t),t.length),e+r.length)}insertBefore(e,t){let{head:n}=this.children;super.insertBefore(e,t),n instanceof sE&&n.remove(),this.cache={}}length(){return null==this.cache.length&&(this.cache.length=super.length()+1),this.cache.length}moveChildren(e,t){super.moveChildren(e,t),this.cache={}}optimize(e){super.optimize(e),this.cache={}}path(e){return super.path(e,!0)}removeChild(e){super.removeChild(e),this.cache={}}split(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t&&(0===e||e>=this.length()-1)){let t=this.clone();return 0===e?(this.parent.insertBefore(t,this),this):(this.parent.insertBefore(t,this.next),t)}let n=super.split(e,t);return this.cache={},n}}sC.blotName="block",sC.tagName="P",sC.defaultChild=sE,sC.allowedChildren=[sE,sO,of,sx];class sA extends of{attach(){super.attach(),this.attributes=new r7(this.domNode)}delta(){return new ow().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){let n=this.scroll.query(e,r0.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}formatAt(e,t,n,i){this.format(n,i)}insertAt(e,t,n){if(null!=n){super.insertAt(e,t,n);return}let i=t.split("\n"),r=i.pop(),o=i.map(e=>{let t=this.scroll.create(sC.blotName);return t.insertAt(0,e),t}),s=this.split(e);o.forEach(e=>{this.parent.insertBefore(e,s)}),r&&this.parent.insertBefore(this.scroll.create("text",r),s)}}function sS(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e.descendants(oi).reduce((e,n)=>0===n.length()?e:e.insert(n.value(),sN(n,{},t)),new ow).insert("\n",sN(e))}function sN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return null==e?t:("formats"in e&&"function"==typeof e.formats&&(t={...t,...e.formats()},n&&delete t["code-token"]),null==e.parent||"scroll"===e.parent.statics.blotName||e.parent.statics.scope!==e.statics.scope)?t:sN(e.parent,t,n)}sA.scope=r0.BLOCK_BLOT;class sI extends of{static blotName="cursor";static className="ql-cursor";static tagName="span";static CONTENTS="\uFEFF";static value(){}constructor(e,t,n){super(e,t),this.selection=n,this.textNode=document.createTextNode(sI.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){null!=this.parent&&this.parent.removeChild(this)}format(e,t){if(0!==this.savedLength){super.format(e,t);return}let n=this,i=0;for(;null!=n&&n.statics.scope!==r0.BLOCK_BLOT;)i+=n.offset(n.parent),n=n.parent;null!=n&&(this.savedLength=sI.CONTENTS.length,n.optimize(),n.formatAt(i,sI.CONTENTS.length,e,t),this.savedLength=0)}index(e,t){return e===this.textNode?0:super.index(e,t)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){let e;if(this.selection.composing||null==this.parent)return null;let t=this.selection.getNativeRange();for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);let n=this.prev instanceof sx?this.prev:null,i=n?n.length():0,r=this.next instanceof sx?this.next:null,o=r?r.text:"",{textNode:s}=this,a=s.data.split(sI.CONTENTS).join("");if(s.data=sI.CONTENTS,n)e=n,(a||r)&&(n.insertAt(n.length(),a+o),r&&r.remove());else if(r)e=r,r.insertAt(0,a);else{let t=document.createTextNode(a);e=this.scroll.create(t),this.parent.insertBefore(e,this)}if(this.remove(),t){let o=(e,t)=>n&&e===n.domNode?t:e===s?i+t-1:r&&e===r.domNode?i+a.length+t:null,l=o(t.start.node,t.start.offset),c=o(t.end.node,t.end.offset);if(null!==l&&null!==c)return{startNode:e.domNode,startOffset:l,endNode:e.domNode,endOffset:c}}return null}update(e,t){if(e.some(e=>"characterData"===e.type&&e.target===this.textNode)){let e=this.restore();e&&(t.range=e)}}optimize(e){super.optimize(e);let{parent:t}=this;for(;t;){if("A"===t.domNode.tagName){this.savedLength=sI.CONTENTS.length,t.isolate(this.offset(t),this.length()).unwrap(),this.savedLength=0;break}t=t.parent}}value(){return""}}var sL=n("2337"),sM=n.n(sL);let sR=new WeakMap,sP=["error","warn","log","info"],sD="warn";function sj(e){if(sD&&sP.indexOf(e)<=sP.indexOf(sD)){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i(t[n]=sj.bind(console,n,e),t),{})}sB.level=e=>{sD=e},sj.level=sB.level;let sF=sB("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(e=>{document.addEventListener(e,function(){for(var e=arguments.length,t=Array(e),n=0;n{let n=sR.get(e);n&&n.emitter&&n.emitter.handleDOM(...t)})})});class sq extends sM(){static events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"};static sources={API:"api",SILENT:"silent",USER:"user"};constructor(){super(),this.domListeners={},this.on("error",sF.error)}emit(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),i=1;i{let{node:i,handler:r}=t;(e.target===i||i.contains(e.target))&&r(e,...n)})}listenDOM(e,t,n){!this.domListeners[e]&&(this.domListeners[e]=[]),this.domListeners[e].push({node:t,handler:n})}}let sH=sB("quill:selection");class s${constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.index=e,this.length=t}}function sU(e,t){try{t.parentNode}catch(e){return!1}return e.contains(t)}let sz=class e{constructor(e,t){this.emitter=t,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new s$(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,()=>{!this.mouseDown&&!this.composing&&setTimeout(this.update.bind(this,sq.sources.USER),1)}),this.emitter.on(sq.events.SCROLL_BEFORE_UPDATE,()=>{if(!this.hasFocus())return;let e=this.getNativeRange();if(null!=e)e.start.node!==this.cursor.textNode&&this.emitter.once(sq.events.SCROLL_UPDATE,(t,n)=>{try{this.root.contains(e.start.node)&&this.root.contains(e.end.node)&&this.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset);let i=n.some(e=>"characterData"===e.type||"childList"===e.type||"attributes"===e.type&&e.target===this.root);this.update(i?sq.sources.SILENT:t)}catch(e){}})}),this.emitter.on(sq.events.SCROLL_OPTIMIZE,(e,t)=>{if(t.range){let{startNode:e,startOffset:n,endNode:i,endOffset:r}=t.range;this.setNativeRange(e,n,i,r),this.update(sq.sources.SILENT)}}),this.update(sq.sources.SILENT)}handleComposition(){this.emitter.on(sq.events.COMPOSITION_BEFORE_START,()=>{this.composing=!0}),this.emitter.on(sq.events.COMPOSITION_END,()=>{if(this.composing=!1,this.cursor.parent){let e=this.cursor.restore();if(!!e)setTimeout(()=>{this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}handleDragging(){this.emitter.listenDOM("mousedown",document.body,()=>{this.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,()=>{this.mouseDown=!1,this.update(sq.sources.USER)})}focus(){!this.hasFocus()&&(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(e,t){this.scroll.update();let n=this.getNativeRange();if(!(null==n||!n.native.collapsed||this.scroll.query(e,r0.BLOCK))){if(n.start.node!==this.cursor.textNode){let e=this.scroll.find(n.start.node,!1);if(null==e)return;if(e instanceof oi){let t=e.split(n.start.offset);e.parent.insertBefore(this.cursor,t)}else e.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(e){let t,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.scroll.length();i=Math.min((e=Math.min(e,r-1))+i,r-1)-e;let[o,s]=this.scroll.leaf(e);if(null==o)return null;if(i>0&&s===o.length()){let[t]=this.scroll.leaf(e+1);if(t){let[n]=this.scroll.line(e),[i]=this.scroll.line(e+1);n===i&&(o=t,s=0)}}[t,s]=o.position(s,!0);let a=document.createRange();if(i>0)return(a.setStart(t,s),[o,s]=this.scroll.leaf(e+i),null==o)?null:([t,s]=o.position(s,!0),a.setEnd(t,s),a.getBoundingClientRect());let l="left";if(t instanceof Text){if(!t.data.length)return null;s0&&(l="right")}return{bottom:n.top+n.height,height:n.height,left:n[l],right:n[l],top:n.top,width:0}}getNativeRange(){let e=document.getSelection();if(null==e||e.rangeCount<=0)return null;let t=e.getRangeAt(0);if(null==t)return null;let n=this.normalizeNative(t);return sH.info("getNativeRange",n),n}getRange(){let e=this.scroll.domNode;if("isConnected"in e&&!e.isConnected)return[null,null];let t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}hasFocus(){return document.activeElement===this.root||null!=document.activeElement&&sU(this.root,document.activeElement)}normalizedToRange(e){let t=[[e.start.node,e.start.offset]];!e.native.collapsed&&t.push([e.end.node,e.end.offset]);let n=t.map(e=>{let[t,n]=e,i=this.scroll.find(t,!0),r=i.offset(this.scroll);return 0===n?r:i instanceof oi?r+i.index(t,n):r+i.length()}),i=Math.min(Math.max(...n),this.scroll.length()-1),r=Math.min(i,...n);return new s$(r,i-r)}normalizeNative(e){if(!sU(this.root,e.startContainer)||!e.collapsed&&!sU(this.root,e.endContainer))return null;let t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(e=>{let{node:t,offset:n}=e;for(;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else if(t.childNodes.length===n)(t=t.lastChild)instanceof Text?n=t.data.length:n=t.childNodes.length>0?t.childNodes.length:t.childNodes.length+1;else break;e.node=t,e.offset=n}),t}rangeToNative(e){let t=this.scroll.length(),n=(e,n)=>{e=Math.min(t-1,e);let[i,r]=this.scroll.leaf(e);return i?i.position(r,n):[null,-1]};return[...n(e.index,!1),...n(e.index+e.length,!0)]}setNativeRange(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(sH.info("setNativeRange",e,t,n,i),null!=e&&(null==this.root.parentNode||null==e.parentNode||null==n.parentNode))return;let o=document.getSelection();if(null!=o){if(null!=e){!this.hasFocus()&&this.root.focus({preventScroll:!0});let{native:s}=this.getNativeRange()||{};if(null==s||r||e!==s.startContainer||t!==s.startOffset||n!==s.endContainer||i!==s.endOffset){e instanceof Element&&"BR"===e.tagName&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),n instanceof Element&&"BR"===n.tagName&&(i=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);let r=document.createRange();r.setStart(e,t),r.setEnd(n,i),o.removeAllRanges(),o.addRange(r)}}else o.removeAllRanges(),this.root.blur()}}setRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sq.sources.API;if("string"==typeof t&&(n=t,t=!1),sH.info("setRange",e),null!=e){let n=this.rangeToNative(e);this.setNativeRange(...n,t)}else this.setNativeRange(null);this.update(n)}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sq.sources.USER,t=this.lastRange,[n,i]=this.getRange();if(this.lastRange=n,this.lastNative=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!s_(t,this.lastRange)){if(!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode){let e=this.cursor.restore();e&&this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}let n=[sq.events.SELECTION_CHANGE,so(this.lastRange),so(t),e];this.emitter.emit(sq.events.EDITOR_CHANGE,...n),e!==sq.sources.SILENT&&this.emitter.emit(...n)}}},sX=/^[ -~]*$/;function sW(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("html"in e&&"function"==typeof e.html)return e.html(t,n);if(e instanceof sx)return sk(e.value().slice(t,t+n));if(e instanceof oa){if("list-container"===e.statics.blotName){let i=[];return e.children.forEachAt(t,n,(e,t,n)=>{let r="formats"in e&&"function"==typeof e.formats?e.formats():{};i.push({child:e,offset:t,length:n,indent:r.indent||0,type:r.list})}),function e(t,n,i){if(0===t.length){let[t]=sV(i.pop());return n<=0?``:`${e([],n-1,i)}`}let[{child:r,offset:o,length:s,indent:a,type:l},...c]=t,[u,d]=sV(l);if(a>n)return(i.push(l),a===n+1)?`<${u}>${sW(r,o,s)}${e(c,a,i)}`:`<${u}>

            3. ${e(t,n+1,i)}`;let h=i[i.length-1];if(a===n&&l===h)return`
            4. ${sW(r,o,s)}${e(c,a,i)}`;let[p]=sV(i.pop());return`${e(t,n-1,i)}`}(i,-1,[])}let r=[];if(e.children.forEachAt(t,n,(e,t,n)=>{r.push(sW(e,t,n))}),i||"list"===e.statics.blotName)return r.join("");let{outerHTML:o,innerHTML:s}=e.domNode,[a,l]=o.split(`>${s}<`);return"${r.join("")}<${l}`:`${a}>${r.join("")}<${l}`}return e.domNode instanceof Element?e.domNode.outerHTML:""}function sV(e){let t="ordered"===e?"ol":"ul";switch(e){case"checked":return[t,' data-list="checked"'];case"unchecked":return[t,' data-list="unchecked"'];default:return[t,""]}}function sK(e){return e.reduce((e,t)=>{if("string"==typeof t.insert){let n=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(n,t.attributes)}return e.push(t)},new ow)}function sG(e,t){let{index:n,length:i}=e;return new s$(n+t,i)}let sY=class e{constructor(e){this.scroll=e,this.delta=this.getDelta()}applyDelta(e){this.scroll.update();let t=this.scroll.length();this.scroll.batchStart();let n=sK(e),i=new ow;return(function(e){let t=[];return e.forEach(e=>{"string"==typeof e.insert?e.insert.split("\n").forEach((n,i)=>{i&&t.push({insert:"\n",attributes:e.attributes}),n&&t.push({insert:n,attributes:e.attributes})}):t.push(e)}),t})(n.ops.slice()).reduce((e,n)=>{let r=ow.Op.length(n),o=n.attributes||{},s=!1,a=!1;if(null!=n.insert){if(i.retain(r),"string"==typeof n.insert){let i=n.insert;a=!i.endsWith("\n")&&(t<=e||!!this.scroll.descendant(sA,e)[0]),this.scroll.insertAt(e,i);let[r,s]=this.scroll.line(e),l=rJ({},sN(r));if(r instanceof sC){let[e]=r.descendant(oi,s);e&&(l=rJ(l,sN(e)))}o=ow.AttributeMap.diff(l,o)||{}}else if("object"==typeof n.insert){let i=Object.keys(n.insert)[0];if(null==i)return e;let r=null!=this.scroll.query(i,r0.INLINE);if(r)(t<=e||this.scroll.descendant(sA,e)[0])&&(a=!0);else if(e>0){let[t,n]=this.scroll.descendant(oi,e-1);t instanceof sx?"\n"!==t.value()[n]&&(s=!0):t instanceof of&&t.statics.scope===r0.INLINE_BLOT&&(s=!0)}if(this.scroll.insertAt(e,i,n.insert[i]),r){let[t]=this.scroll.descendant(oi,e);if(t){let e=rJ({},sN(t));o=ow.AttributeMap.diff(e,o)||{}}}}t+=r}else if(i.push(n),null!==n.retain&&"object"==typeof n.retain){let t=Object.keys(n.retain)[0];if(null==t)return e;this.scroll.updateEmbedAt(e,t,n.retain[t])}Object.keys(o).forEach(t=>{this.scroll.formatAt(e,r,t,o[t])});let l=s?1:0,c=a?1:0;return t+=l+c,i.retain(l),i.delete(c),e+r+l+c},0),i.reduce((e,t)=>"number"==typeof t.delete?(this.scroll.deleteAt(e,t.delete),e):e+ow.Op.length(t),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(n)}deleteText(e,t){return this.scroll.deleteAt(e,t),this.update(new ow().retain(e).delete(t))}formatLine(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.scroll.update(),Object.keys(n).forEach(i=>{this.scroll.lines(e,Math.max(t,1)).forEach(e=>{e.format(i,n[i])})}),this.scroll.optimize();let i=new ow().retain(e).retain(t,so(n));return this.update(i)}formatText(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.keys(n).forEach(i=>{this.scroll.formatAt(e,t,i,n[i])});let i=new ow().retain(e).retain(t,so(n));return this.update(i)}getContents(e,t){return this.delta.slice(e,e+t)}getDelta(){return this.scroll.lines().reduce((e,t)=>e.concat(t.delta()),new ow)}getFormat(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],i=[];0===t?this.scroll.path(e).forEach(e=>{let[t]=e;t instanceof sC?n.push(t):t instanceof oi&&i.push(t)}):(n=this.scroll.lines(e,t),i=this.scroll.descendants(oi,e,t));let[r,o]=[n,i].map(e=>{let t=e.shift();if(null==t)return{};let n=sN(t);for(;Object.keys(n).length>0;){let t=e.shift();if(null==t)break;n=function(e,t){return Object.keys(t).reduce((n,i)=>{if(null==e[i])return n;let r=t[i];return r===e[i]?n[i]=r:Array.isArray(r)?0>r.indexOf(e[i])?n[i]=r.concat([e[i]]):n[i]=r:n[i]=[r,e[i]],n},{})}(sN(t),n)}return n});return{...r,...o}}getHTML(e,t){let[n,i]=this.scroll.line(e);if(n){let r=n.length();return n.length()>=i+t&&!(0===i&&t===r)?sW(n,i,t,!0):sW(this.scroll,e,t,!0)}return""}getText(e,t){return this.getContents(e,t).filter(e=>"string"==typeof e.insert).map(e=>e.insert).join("")}insertContents(e,t){let n=sK(t),i=new ow().retain(e).concat(n);return this.scroll.insertContents(e,n),this.update(i)}insertEmbed(e,t,n){return this.scroll.insertAt(e,t,n),this.update(new ow().retain(e).insert({[t]:n}))}insertText(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(n).forEach(i=>{this.scroll.formatAt(e,t.length,i,n[i])}),this.update(new ow().retain(e).insert(t,so(n)))}isBlank(){if(0===this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;let e=this.scroll.children.head;return e?.statics.blotName===sC.blotName&&!(e.children.length>1)&&e.children.head instanceof sE}removeFormat(e,t){let n=this.getText(e,t),[i,r]=this.scroll.line(e+t),o=0,s=new ow;null!=i&&(o=i.length()-r,s=i.delta().slice(r,r+o-1).insert("\n"));let a=this.getContents(e,t+o).diff(new ow().insert(n).concat(s)),l=new ow().retain(e).concat(a);return this.applyDelta(l)}update(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(sX)&&this.scroll.find(t[0].target)){let r=this.scroll.find(t[0].target),o=sN(r),s=r.offset(this.scroll),a=t[0].oldValue.replace(sI.CONTENTS,""),l=new ow().insert(a),c=new ow().insert(r.value()),u=n&&{oldRange:sG(n.oldRange,-s),newRange:sG(n.newRange,-s)};e=new ow().retain(s).concat(l.diff(c,u)).reduce((e,t)=>t.insert?e.insert(t.insert,o):e.push(t),new ow),this.delta=i.compose(e)}else this.delta=this.getDelta(),(!e||!s_(i.compose(e),this.delta))&&(e=i.diff(this.delta,n));return e}},sZ=class e{static DEFAULTS={};constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.quill=e,this.options=t}},sQ=class e extends of{constructor(e,t){super(e,t),this.contentNode=document.createElement("span"),this.contentNode.setAttribute("contenteditable","false"),Array.from(this.domNode.childNodes).forEach(e=>{this.contentNode.appendChild(e)}),this.leftGuard=document.createTextNode("\uFEFF"),this.rightGuard=document.createTextNode("\uFEFF"),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(this.contentNode),this.domNode.appendChild(this.rightGuard)}index(e,t){return e===this.leftGuard?0:e===this.rightGuard?1:super.index(e,t)}restore(e){let t,n=null,i=e.data.split("\uFEFF").join("");if(e===this.leftGuard){if(this.prev instanceof sx){let e=this.prev.length();this.prev.insertAt(e,i),n={startNode:this.prev.domNode,startOffset:e+i.length}}else t=document.createTextNode(i),this.parent.insertBefore(this.scroll.create(t),this),n={startNode:t,startOffset:i.length}}else e===this.rightGuard&&(this.next instanceof sx?(this.next.insertAt(0,i),n={startNode:this.next.domNode,startOffset:i.length}):(t=document.createTextNode(i),this.parent.insertBefore(this.scroll.create(t),this.next),n={startNode:t,startOffset:i.length}));return e.data="\uFEFF",n}update(e,t){e.forEach(e=>{if("characterData"===e.type&&(e.target===this.leftGuard||e.target===this.rightGuard)){let n=this.restore(e.target);n&&(t.range=n)}})}},sJ=class e{isComposing=!1;constructor(e,t){this.scroll=e,this.emitter=t,this.setupListeners()}setupListeners(){this.scroll.domNode.addEventListener("compositionstart",e=>{!this.isComposing&&this.handleCompositionStart(e)}),this.scroll.domNode.addEventListener("compositionend",e=>{this.isComposing&&queueMicrotask(()=>{this.handleCompositionEnd(e)})})}handleCompositionStart(e){let t=e.target instanceof Node?this.scroll.find(e.target,!0):null;t&&!(t instanceof sQ)&&(this.emitter.emit(sq.events.COMPOSITION_BEFORE_START,e),this.scroll.batchStart(),this.emitter.emit(sq.events.COMPOSITION_START,e),this.isComposing=!0)}handleCompositionEnd(e){this.emitter.emit(sq.events.COMPOSITION_BEFORE_END,e),this.scroll.batchEnd(),this.emitter.emit(sq.events.COMPOSITION_END,e),this.isComposing=!1}};class s0{static DEFAULTS={modules:{}};static themes={default:s0};modules={};constructor(e,t){this.quill=e,this.options=t}init(){Object.keys(this.options.modules).forEach(e=>{null==this.modules[e]&&this.addModule(e)})}addModule(e){let t=this.quill.constructor.import(`modules/${e}`);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}let s1=s0,s2=e=>e.parentElement||e.getRootNode().host||null,s5=e=>{let t=e.getBoundingClientRect(),n="offsetWidth"in e&&Math.abs(t.width)/e.offsetWidth||1,i="offsetHeight"in e&&Math.abs(t.height)/e.offsetHeight||1;return{top:t.top,right:t.left+e.clientWidth*n,bottom:t.top+e.clientHeight*i,left:t.left}},s3=e=>{let t=parseInt(e,10);return Number.isNaN(t)?0:t},s4=(e,t,n,i,r,o)=>ei?0:ei?t-e>i-n?e+r-n:t-i+o:0,s6=(e,t)=>{let n=e.ownerDocument,i=t,r=e;for(;r;){let e=r===n.body,t=e?{top:0,right:window.visualViewport?.width??n.documentElement.clientWidth,bottom:window.visualViewport?.height??n.documentElement.clientHeight,left:0}:s5(r),o=getComputedStyle(r),s=s4(i.left,i.right,t.left,t.right,s3(o.scrollPaddingLeft),s3(o.scrollPaddingRight)),a=s4(i.top,i.bottom,t.top,t.bottom,s3(o.scrollPaddingTop),s3(o.scrollPaddingBottom));if(s||a){if(e)n.defaultView?.scrollBy(s,a);else{let{scrollLeft:e,scrollTop:t}=r;a&&(r.scrollTop+=a),s&&(r.scrollLeft+=s);let n=r.scrollLeft-e,o=r.scrollTop-t;i={left:i.left-n,top:i.top-o,right:i.right-n,bottom:i.bottom-o}}}r=e||"fixed"===o.position?null:s2(r)}},s8=["block","break","cursor","inline","scroll","text"],s9=(e,t,n)=>{let i=new r3;return s8.forEach(e=>{let n=t.query(e);n&&i.register(n)}),e.forEach(e=>{let r=t.query(e);!r&&n.error(`Cannot register "${e}" specified in "formats" config. Are you sure it was registered?`);let o=0;for(;r;)if(i.register(r),r="blotName"in r?r.requiredContainer??null:null,(o+=1)>100){n.error(`Cycle detected in registering blot requiredContainer: "${e}"`);break}}),i},s7=sB("quill"),ae=new r3;oa.uiClass="ql-ui";class at{static DEFAULTS={bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:ae,theme:"default"};static events=sq.events;static sources=sq.sources;static version="2.0.2";static imports={delta:ow,parchment:k,"core/module":sZ,"core/theme":s1};static debug(e){!0===e&&(e="log"),sB.level(e)}static find(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return sR.get(e)||ae.find(e,t)}static import(e){return null==this.imports[e]&&s7.error(`Cannot import ${e}. Are you sure it was registered?`),this.imports[e]}static register(){if("string"!=typeof(arguments.length<=0?void 0:arguments[0])){let e=arguments.length<=0?void 0:arguments[0],t=!!(arguments.length<=1?void 0:arguments[1]),n="attrName"in e?e.attrName:e.blotName;"string"==typeof n?this.register(`formats/${n}`,e,t):Object.keys(e).forEach(n=>{this.register(n,e[n],t)})}else{let e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=!!(arguments.length<=2?void 0:arguments[2]);null!=this.imports[e]&&!n&&s7.warn(`Overwriting ${e} with`,t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&t&&"boolean"!=typeof t&&"abstract"!==t.blotName&&ae.register(t),"function"==typeof t.register&&t.register(ae)}}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.options=function(e,t){let n=an(e);if(!n)throw Error("Invalid Quill container");let i=t.theme&&t.theme!==at.DEFAULTS.theme?at.import(`themes/${t.theme}`):s1;if(!i)throw Error(`Invalid theme ${t.theme}. Did you register it?`);let{modules:r,...o}=at.DEFAULTS,{modules:s,...a}=i.DEFAULTS,l=ai(t.modules);null!=l&&l.toolbar&&l.toolbar.constructor!==Object&&(l={...l,toolbar:{container:l.toolbar}});let c=rJ({},ai(r),ai(s),l),u={...o,...ar(a),...ar(t)},d=t.registry;return d?t.formats&&s7.warn('Ignoring "formats" option because "registry" is specified'):d=t.formats?s9(t.formats,u.registry,s7):u.registry,{...u,registry:d,container:n,theme:i,modules:Object.entries(c).reduce((e,t)=>{let[n,i]=t;if(!i)return e;let r=at.import(`modules/${n}`);return null==r?(s7.error(`Cannot load ${n} module. Are you sure you registered it?`),e):{...e,[n]:rJ({},r.DEFAULTS||{},i)}},{}),bounds:an(u.bounds)}}(e,t),this.container=this.options.container,null==this.container){s7.error("Invalid Quill container",e);return}this.options.debug&&at.debug(this.options.debug);let n=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",sR.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new sq;let i=ov.blotName,r=this.options.registry.query(i);if(!r||!("blotName"in r))throw Error(`Cannot initialize Quill without "${i}" blot`);if(this.scroll=new r(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new sY(this.scroll),this.selection=new sz(this.scroll,this.emitter),this.composition=new sJ(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.uploader=this.theme.addModule("uploader"),this.theme.addModule("input"),this.theme.addModule("uiNode"),this.theme.init(),this.emitter.on(sq.events.EDITOR_CHANGE,e=>{e===sq.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())}),this.emitter.on(sq.events.SCROLL_UPDATE,(e,t)=>{let n=this.selection.lastRange,[i]=this.selection.getRange(),r=n&&i?{oldRange:n,newRange:i}:void 0;ao.call(this,()=>this.editor.update(null,t,r),e)}),this.emitter.on(sq.events.SCROLL_EMBED_UPDATE,(e,t)=>{let n=this.selection.lastRange,[i]=this.selection.getRange(),r=n&&i?{oldRange:n,newRange:i}:void 0;ao.call(this,()=>{let n=new ow().retain(e.offset(this)).retain({[e.statics.blotName]:t});return this.editor.update(n,[],r)},at.sources.USER)}),n){let e=this.clipboard.convert({html:`${n}


              `,text:"\n"});this.setContents(e)}this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}addContainer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){let t=e;(e=document.createElement("div")).classList.add(t)}return this.container.insertBefore(e,t),e}blur(){this.selection.setRange(null)}deleteText(e,t,n){return[e,t,,n]=as(e,t,n),ao.call(this,()=>this.editor.deleteText(e,t),n,e,-1*t)}disable(){this.enable(!1)}editReadOnly(e){this.allowReadOnlyEdits=!0;let t=e();return this.allowReadOnlyEdits=!1,t}enable(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}focus(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.selection.focus(),!e.preventScroll&&this.scrollSelectionIntoView()}format(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sq.sources.API;return ao.call(this,()=>{let n=this.getSelection(!0),i=new ow;if(null==n)return i;if(this.scroll.query(e,r0.BLOCK))i=this.editor.formatLine(n.index,n.length,{[e]:t});else{if(0===n.length)return this.selection.format(e,t),i;i=this.editor.formatText(n.index,n.length,{[e]:t})}return this.setSelection(n,sq.sources.SILENT),i},n)}formatLine(e,t,n,i,r){let o;return[e,t,o,r]=as(e,t,n,i,r),ao.call(this,()=>this.editor.formatLine(e,t,o),r,e,0)}formatText(e,t,n,i,r){let o;return[e,t,o,r]=as(e,t,n,i,r),ao.call(this,()=>this.editor.formatText(e,t,o),r,e,0)}getBounds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=null;if(!(n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length)))return null;let i=this.container.getBoundingClientRect();return{bottom:n.bottom-i.top,height:n.height,left:n.left-i.left,right:n.right-i.left,top:n.top-i.top,width:n.width}}getContents(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e;return[e,t]=as(e,t),this.editor.getContents(e,t)}getFormat(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}getIndex(e){return e.offset(this.scroll)}getLength(){return this.scroll.length()}getLeaf(e){return this.scroll.leaf(e)}getLine(e){return this.scroll.line(e)}getLines(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}getModule(e){return this.theme.modules[e]}getSelection(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}getSemanticHTML(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return"number"==typeof e&&(t=t??this.getLength()-e),[e,t]=as(e,t),this.editor.getHTML(e,t)}getText(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return"number"==typeof e&&(t=t??this.getLength()-e),[e,t]=as(e,t),this.editor.getText(e,t)}hasFocus(){return this.selection.hasFocus()}insertEmbed(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:at.sources.API;return ao.call(this,()=>this.editor.insertEmbed(e,t,n),i,e)}insertText(e,t,n,i,r){let o;return[e,,o,r]=as(e,0,n,i,r),ao.call(this,()=>this.editor.insertText(e,t,o),r,e,t.length)}isEnabled(){return this.scroll.isEnabled()}off(){return this.emitter.off(...arguments)}on(){return this.emitter.on(...arguments)}once(){return this.emitter.once(...arguments)}removeFormat(e,t,n){return[e,t,,n]=as(e,t,n),ao.call(this,()=>this.editor.removeFormat(e,t),n,e)}scrollRectIntoView(e){s6(this.root,e)}scrollIntoView(){console.warn("Quill#scrollIntoView() has been deprecated and will be removed in the near future. Please use Quill#scrollSelectionIntoView() instead."),this.scrollSelectionIntoView()}scrollSelectionIntoView(){let e=this.selection.lastRange,t=e&&this.selection.getBounds(e.index,e.length);t&&this.scrollRectIntoView(t)}setContents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sq.sources.API;return ao.call(this,()=>{e=new ow(e);let t=this.getLength(),n=this.editor.deleteText(0,t),i=this.editor.insertContents(0,e),r=this.editor.deleteText(this.getLength()-1,1);return n.compose(i).compose(r)},t)}setSelection(e,t,n){null==e?this.selection.setRange(null,t||at.sources.API):([e,t,,n]=as(e,t,n),this.selection.setRange(new s$(Math.max(0,e),t),n),n!==sq.sources.SILENT&&this.scrollSelectionIntoView())}setText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sq.sources.API,n=new ow().insert(e);return this.setContents(n,t)}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sq.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}updateContents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sq.sources.API;return ao.call(this,()=>(e=new ow(e),this.editor.applyDelta(e)),t,!0)}}function an(e){return"string"==typeof e?document.querySelector(e):e}function ai(e){return Object.entries(e??{}).reduce((e,t)=>{let[n,i]=t;return{...e,[n]:!0===i?{}:i}},{})}function ar(e){return Object.fromEntries(Object.entries(e).filter(e=>void 0!==e[1]))}function ao(e,t,n,i){if(!this.isEnabled()&&t===sq.sources.USER&&!this.allowReadOnlyEdits)return new ow;let r=null==n?null:this.getSelection(),o=this.editor.delta,s=e();if(null!=r&&(!0===n&&(n=r.index),null==i?r=aa(r,s,t):0!==i&&(r=aa(r,n,i,t)),this.setSelection(r,sq.sources.SILENT)),s.length()>0){let e=[sq.events.TEXT_CHANGE,s,o,t];this.emitter.emit(sq.events.EDITOR_CHANGE,...e),t!==sq.sources.SILENT&&this.emitter.emit(...e)}return s}function as(e,t,n,i,r){let o={};return"number"==typeof e.index&&"number"==typeof e.length?("number"!=typeof t&&(r=i,i=n,n=t),t=e.length,e=e.index):"number"!=typeof t&&(r=i,i=n,n=t,t=0),"object"==typeof n?(o=n,r=i):"string"==typeof n&&(null!=i?o[n]=i:r=n),[e,t,o,r=r||sq.sources.API]}function aa(e,t,n,i){let r,o;let s="number"==typeof n?n:0;return null==e?null:(t&&"function"==typeof t.transformPosition?[r,o]=[e.index,e.index+e.length].map(e=>t.transformPosition(e,i!==sq.sources.USER)):[r,o]=[e.index,e.index+e.length].map(e=>e=0?e+s:Math.max(t,e+s)),new s$(r,o-r))}let al=class e extends op{};function ac(e){return e instanceof sC||e instanceof sA}function au(e){return"function"==typeof e.updateContent}function ad(e,t,n){n.reduce((t,n)=>{let i=ow.Op.length(n),r=n.attributes||{};if(null!=n.insert){if("string"==typeof n.insert){let i=n.insert;e.insertAt(t,i);let[o]=e.descendant(oi,t),s=sN(o);r=ow.AttributeMap.diff(s,r)||{}}else if("object"==typeof n.insert){let i=Object.keys(n.insert)[0];if(null==i)return t;if(e.insertAt(t,i,n.insert[i]),null!=e.scroll.query(i,r0.INLINE)){let[n]=e.descendant(oi,t),i=sN(n);r=ow.AttributeMap.diff(i,r)||{}}}}return Object.keys(r).forEach(n=>{e.formatAt(t,i,n,r[n])}),t+i},t)}let ah=class e extends ov{static blotName="scroll";static className="ql-editor";static tagName="DIV";static defaultChild=sC;static allowedChildren=[sC,sA,al];constructor(e,t,n){let{emitter:i}=n;super(e,t),this.emitter=i,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",e=>this.handleDragStart(e))}batchStart(){!Array.isArray(this.batch)&&(this.batch=[])}batchEnd(){if(!this.batch)return;let e=this.batch;this.batch=!1,this.update(e)}emitMount(e){this.emitter.emit(sq.events.SCROLL_BLOT_MOUNT,e)}emitUnmount(e){this.emitter.emit(sq.events.SCROLL_BLOT_UNMOUNT,e)}emitEmbedUpdate(e,t){this.emitter.emit(sq.events.SCROLL_EMBED_UPDATE,e,t)}deleteAt(e,t){let[n,i]=this.line(e),[r]=this.line(e+t);if(super.deleteAt(e,t),null!=r&&n!==r&&i>0){if(n instanceof sA||r instanceof sA){this.optimize();return}let e=r.children.head instanceof sE?null:r.children.head;n.moveChildren(r,e),n.remove()}this.optimize()}enable(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.domNode.setAttribute("contenteditable",e?"true":"false")}formatAt(e,t,n,i){super.formatAt(e,t,n,i),this.optimize()}insertAt(e,t,n){if(e>=this.length()){if(null==n||null==this.scroll.query(t,r0.BLOCK)){let e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e),null==n&&t.endsWith("\n")?e.insertAt(0,t.slice(0,-1),n):e.insertAt(0,t,n)}else{let e=this.scroll.create(t,n);this.appendChild(e)}}else super.insertAt(e,t,n);this.optimize()}insertBefore(e,t){if(e.statics.scope===r0.INLINE_BLOT){let n=this.scroll.create(this.statics.defaultChild.blotName);n.appendChild(e),super.insertBefore(n,t)}else super.insertBefore(e,t)}insertContents(e,t){let n=this.deltaToRenderBlocks(t.concat(new ow().insert("\n"))),i=n.pop();if(null==i)return;this.batchStart();let r=n.shift();if(r){let t="block"===r.type&&(0===r.delta.length()||!this.descendant(sA,e)[0]&&e{this.formatAt(o-1,1,e,a[e])}),e=o}let[o,s]=this.children.find(e);n.length&&(o&&(o=o.split(s),s=0),n.forEach(e=>{if("block"===e.type)ad(this.createBlock(e.attributes,o||void 0),0,e.delta);else{let t=this.create(e.key,e.value);this.insertBefore(t,o||void 0),Object.keys(e.attributes).forEach(n=>{t.format(n,e.attributes[n])})}})),"block"===i.type&&i.delta.length()&&ad(this,o?o.offset(o.scroll)+s:this.length(),i.delta),this.batchEnd(),this.optimize()}isEnabled(){return"true"===this.domNode.getAttribute("contenteditable")}leaf(e){let t=this.path(e).pop();if(!t)return[null,-1];let[n,i]=t;return n instanceof oi?[n,i]:[null,-1]}line(e){return e===this.length()?this.line(e-1):this.descendant(ac,e)}lines(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=(e,t,i)=>{let r=[],o=i;return e.children.forEachAt(t,i,(e,t,i)=>{ac(e)?r.push(e):e instanceof op&&(r=r.concat(n(e,t,o))),o-=i}),r};return n(this,e,t)}optimize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!this.batch&&(super.optimize(e,t),e.length>0&&this.emitter.emit(sq.events.SCROLL_OPTIMIZE,e,t))}path(e){return super.path(e).slice(1)}remove(){}update(e){if(this.batch){Array.isArray(e)&&(this.batch=this.batch.concat(e));return}let t=sq.sources.USER;"string"==typeof e&&(t=e),!Array.isArray(e)&&(e=this.observer.takeRecords()),(e=e.filter(e=>{let{target:t}=e,n=this.find(t,!0);return n&&!au(n)})).length>0&&this.emitter.emit(sq.events.SCROLL_BEFORE_UPDATE,t,e),super.update(e.concat([])),e.length>0&&this.emitter.emit(sq.events.SCROLL_UPDATE,t,e)}updateEmbedAt(e,t,n){let[i]=this.descendant(e=>e instanceof sA,e);i&&i.statics.blotName===t&&au(i)&&i.updateContent(n)}handleDragStart(e){e.preventDefault()}deltaToRenderBlocks(e){let t=[],n=new ow;return e.forEach(e=>{let i=e?.insert;if(i){if("string"==typeof i){let r=i.split("\n");r.slice(0,-1).forEach(i=>{n.insert(i,e.attributes),t.push({type:"block",delta:n,attributes:e.attributes??{}}),n=new ow});let o=r[r.length-1];o&&n.insert(o,e.attributes)}else{let r=Object.keys(i)[0];if(!r)return;this.query(r,r0.INLINE)?n.push(e):(n.length()&&t.push({type:"block",delta:n,attributes:{}}),n=new ow,t.push({type:"blockEmbed",key:r,value:i[r],attributes:e.attributes??{}}))}}}),n.length()&&t.push({type:"block",delta:n,attributes:{}}),t}createBlock(e,t){let n;let i={};Object.entries(e).forEach(e=>{let[t,r]=e;null!=this.query(t,r0.BLOCK&r0.BLOT)?n=t:i[t]=r});let r=this.create(n||this.statics.defaultChild.blotName,n?e[n]:void 0);this.insertBefore(r,t||void 0);let o=r.length();return Object.entries(i).forEach(e=>{let[t,n]=e;r.formatAt(0,o,t,n)}),r}},ap={scope:r0.BLOCK,whitelist:["right","center","justify"]},af=new r1("align","align",ap),am=new r6("align","ql-align",ap),ag=new r9("align","text-align",ap);class av extends r9{value(e){let t=super.value(e);if(!t.startsWith("rgb("))return t;let n=(t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map(e=>`00${parseInt(e,10).toString(16)}`.slice(-2)).join("");return`#${n}`}}let ay=new r6("color","ql-color",{scope:r0.INLINE}),ab=new av("color","color",{scope:r0.INLINE}),aw=new r6("background","ql-bg",{scope:r0.INLINE}),a_=new av("background","background-color",{scope:r0.INLINE});class aE extends al{static create(e){let t=super.create(e);return t.setAttribute("spellcheck","false"),t}code(e,t){return this.children.map(e=>1>=e.length()?"":e.domNode.innerText).join("\n").slice(e,e+t)}html(e,t){return`
              +${sk(this.code(e,t))}
              +
              `}}class ax extends sC{static TAB=" ";static register(){at.register(aE)}}class ak extends sO{}ak.blotName="code",ak.tagName="CODE",ax.blotName="code-block",ax.className="ql-code-block",ax.tagName="DIV",aE.blotName="code-block-container",aE.className="ql-code-block-container",aE.tagName="DIV",aE.allowedChildren=[ax],ax.allowedChildren=[sx,sE,sI],ax.requiredContainer=aE;let aT={scope:r0.BLOCK,whitelist:["rtl"]},aO=new r1("direction","dir",aT),aC=new r6("direction","ql-direction",aT),aA=new r9("direction","direction",aT),aS={scope:r0.INLINE,whitelist:["serif","monospace"]},aN=new r6("font","ql-font",aS),aI=new class e extends r9{value(e){return super.value(e).replace(/["']/g,"")}}("font","font-family",aS),aL=new r6("size","ql-size",{scope:r0.INLINE,whitelist:["small","large","huge"]}),aM=new r9("size","font-size",{scope:r0.INLINE,whitelist:["10px","18px","32px"]}),aR=sB("quill:keyboard"),aP=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";class aD extends sZ{static match(e,t){return!["altKey","ctrlKey","metaKey","shiftKey"].some(n=>!!t[n]!==e[n]&&null!==t[n])&&(t.key===e.key||t.key===e.which)}constructor(e,t){super(e,t),this.bindings={},Object.keys(this.options.bindings).forEach(e=>{this.options.bindings[e]&&this.addBinding(this.options.bindings[e])}),this.addBinding({key:"Enter",shiftKey:null},this.handleEnter),this.addBinding({key:"Enter",metaKey:null,ctrlKey:null,altKey:null},()=>{}),/Firefox/i.test(navigator.userAgent)?(this.addBinding({key:"Backspace"},{collapsed:!0},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0},this.handleDelete)):(this.addBinding({key:"Backspace"},{collapsed:!0,prefix:/^.?$/},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0,suffix:/^.?$/},this.handleDelete)),this.addBinding({key:"Backspace"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Delete"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Backspace",altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},this.handleBackspace),this.listen()}addBinding(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=function(e){if("string"==typeof e||"number"==typeof e)e={key:e};else{if("object"!=typeof e)return null;e=so(e)}return e.shortKey&&(e[aP]=e.shortKey,delete e.shortKey),e}(e);if(null==i){aR.warn("Attempted to add invalid keyboard binding",i);return}"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),(Array.isArray(i.key)?i.key:[i.key]).forEach(e=>{let r={...i,key:e,...t,...n};this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)})}listen(){this.quill.root.addEventListener("keydown",e=>{if(e.defaultPrevented||e.isComposing||229===e.keyCode&&("Enter"===e.key||"Backspace"===e.key))return;let t=(this.bindings[e.key]||[]).concat(this.bindings[e.which]||[]).filter(t=>aD.match(e,t));if(0===t.length)return;let n=at.find(e.target,!0);if(n&&n.scroll!==this.quill.scroll)return;let i=this.quill.getSelection();if(null==i||!this.quill.hasFocus())return;let[r,o]=this.quill.getLine(i.index),[s,a]=this.quill.getLeaf(i.index),[l,c]=0===i.length?[s,a]:this.quill.getLeaf(i.index+i.length),u=s instanceof ob?s.value().slice(0,a):"",d=l instanceof ob?l.value().slice(c):"",h={collapsed:0===i.length,empty:0===i.length&&1>=r.length(),format:this.quill.getFormat(i),line:r,offset:o,prefix:u,suffix:d,event:e};t.some(e=>{if(null!=e.collapsed&&e.collapsed!==h.collapsed||null!=e.empty&&e.empty!==h.empty||null!=e.offset&&e.offset!==h.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(e=>null==h.format[e]))return!1}else if("object"==typeof e.format&&!Object.keys(e.format).every(t=>!0===e.format[t]?null!=h.format[t]:!1===e.format[t]?null==h.format[t]:s_(e.format[t],h.format[t])))return!1;return!!((null==e.prefix||e.prefix.test(h.prefix))&&(null==e.suffix||e.suffix.test(h.suffix)))&&!0!==e.handler.call(this,i,h,e)})&&e.preventDefault()})}handleBackspace(e,t){let n=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;if(0===e.index||1>=this.quill.getLength())return;let i={},[r]=this.quill.getLine(e.index),o=new ow().retain(e.index-n).delete(n);if(0===t.offset){let[t]=this.quill.getLine(e.index-1);if(t&&!("block"===t.statics.blotName&&1>=t.length())){let t=r.formats(),n=this.quill.getFormat(e.index-1,1);if(Object.keys(i=ow.AttributeMap.diff(t,n)||{}).length>0){let t=new ow().retain(e.index+r.length()-2).retain(1,i);o=o.compose(t)}}}this.quill.updateContents(o,at.sources.USER),this.quill.focus()}handleDelete(e,t){let n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(e.index>=this.quill.getLength()-n)return;let i={},[r]=this.quill.getLine(e.index),o=new ow().retain(e.index).delete(n);if(t.offset>=r.length()-1){let[t]=this.quill.getLine(e.index+1);if(t){let n=r.formats(),s=this.quill.getFormat(e.index,1);Object.keys(i=ow.AttributeMap.diff(n,s)||{}).length>0&&(o=o.retain(t.length()-1).retain(1,i))}}this.quill.updateContents(o,at.sources.USER),this.quill.focus()}handleDeleteRange(e){a$({range:e,quill:this.quill}),this.quill.focus()}handleEnter(e,t){let n=Object.keys(t.format).reduce((e,n)=>(this.quill.scroll.query(n,r0.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e),{}),i=new ow().retain(e.index).delete(e.length).insert("\n",n);this.quill.updateContents(i,at.sources.USER),this.quill.setSelection(e.index+1,at.sources.SILENT),this.quill.focus()}}let aj={bindings:{bold:aq("bold"),italic:aq("italic"),underline:aq("underline"),indent:{key:"Tab",format:["blockquote","indent","list"],handler(e,t){return!!t.collapsed&&0!==t.offset||(this.quill.format("indent","+1",at.sources.USER),!1)}},outdent:{key:"Tab",shiftKey:!0,format:["blockquote","indent","list"],handler(e,t){return!!t.collapsed&&0!==t.offset||(this.quill.format("indent","-1",at.sources.USER),!1)}},"outdent backspace":{key:"Backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler(e,t){null!=t.format.indent?this.quill.format("indent","-1",at.sources.USER):null!=t.format.list&&this.quill.format("list",!1,at.sources.USER)}},"indent code-block":aB(!0),"outdent code-block":aB(!1),"remove tab":{key:"Tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler(e){this.quill.deleteText(e.index-1,1,at.sources.USER)}},tab:{key:"Tab",handler(e,t){if(t.format.table)return!0;this.quill.history.cutoff();let n=new ow().retain(e.index).delete(e.length).insert(" ");return this.quill.updateContents(n,at.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,at.sources.SILENT),!1}},"blockquote empty enter":{key:"Enter",collapsed:!0,format:["blockquote"],empty:!0,handler(){this.quill.format("blockquote",!1,at.sources.USER)}},"list empty enter":{key:"Enter",collapsed:!0,format:["list"],empty:!0,handler(e,t){let n={list:!1};t.format.indent&&(n.indent=!1),this.quill.formatLine(e.index,e.length,n,at.sources.USER)}},"checklist enter":{key:"Enter",collapsed:!0,format:{list:"checked"},handler(e){let[t,n]=this.quill.getLine(e.index),i={...t.formats(),list:"checked"},r=new ow().retain(e.index).insert("\n",i).retain(t.length()-n-1).retain(1,{list:"unchecked"});this.quill.updateContents(r,at.sources.USER),this.quill.setSelection(e.index+1,at.sources.SILENT),this.quill.scrollSelectionIntoView()}},"header enter":{key:"Enter",collapsed:!0,format:["header"],suffix:/^$/,handler(e,t){let[n,i]=this.quill.getLine(e.index),r=new ow().retain(e.index).insert("\n",t.format).retain(n.length()-i-1).retain(1,{header:null});this.quill.updateContents(r,at.sources.USER),this.quill.setSelection(e.index+1,at.sources.SILENT),this.quill.scrollSelectionIntoView()}},"table backspace":{key:"Backspace",format:["table"],collapsed:!0,offset:0,handler(){}},"table delete":{key:"Delete",format:["table"],collapsed:!0,suffix:/^$/,handler(){}},"table enter":{key:"Enter",shiftKey:null,format:["table"],handler(e){let t=this.quill.getModule("table");if(t){let[n,i,r,o]=t.getTable(e),s=function(e,t,n,i){if(null==t.prev&&null==t.next)return null==n.prev&&null==n.next?0===i?-1:1:null==n.prev?-1:1;return null==t.prev?-1:null==t.next?1:null}(n,i,r,o);if(null==s)return;let a=n.offset();if(s<0){let t=new ow().retain(a).insert("\n");this.quill.updateContents(t,at.sources.USER),this.quill.setSelection(e.index+1,e.length,at.sources.SILENT)}else if(s>0){a+=n.length();let e=new ow().retain(a).insert("\n");this.quill.updateContents(e,at.sources.USER),this.quill.setSelection(a,at.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(e,t){let{event:n,line:i}=t,r=i.offset(this.quill.scroll);n.shiftKey?this.quill.setSelection(r-1,at.sources.USER):this.quill.setSelection(r+i.length(),at.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(e,t){let n;if(null==this.quill.scroll.query("list"))return!0;let{length:i}=t.prefix,[r,o]=this.quill.getLine(e.index);if(o>i)return!0;switch(t.prefix.trim()){case"[]":case"[ ]":n="unchecked";break;case"[x]":n="checked";break;case"-":case"*":n="bullet";break;default:n="ordered"}this.quill.insertText(e.index," ",at.sources.USER),this.quill.history.cutoff();let s=new ow().retain(e.index-o).delete(i+1).retain(r.length()-2-o).retain(1,{list:n});return this.quill.updateContents(s,at.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-i,at.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(e){let[t,n]=this.quill.getLine(e.index),i=2,r=t;for(;null!=r&&1>=r.length()&&r.formats()["code-block"];)if(r=r.prev,(i-=1)<=0){let i=new ow().retain(e.index+t.length()-n-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(i,at.sources.USER),this.quill.setSelection(e.index-1,at.sources.SILENT),!1}return!0}},"embed left":aF("ArrowLeft",!1),"embed left shift":aF("ArrowLeft",!0),"embed right":aF("ArrowRight",!1),"embed right shift":aF("ArrowRight",!0),"table down":aH(!1),"table up":aH(!0)}};function aB(e){return{key:"Tab",shiftKey:!e,format:{"code-block":!0},handler(t,n){let{event:i}=n,{TAB:r}=this.quill.scroll.query("code-block");if(0===t.length&&!i.shiftKey){this.quill.insertText(t.index,r,at.sources.USER),this.quill.setSelection(t.index+r.length,at.sources.SILENT);return}let o=0===t.length?this.quill.getLines(t.index,1):this.quill.getLines(t),{index:s,length:a}=t;o.forEach((t,n)=>{e?(t.insertAt(0,r),0===n?s+=r.length:a+=r.length):t.domNode.textContent.startsWith(r)&&(t.deleteAt(0,r.length),0===n?s-=r.length:a-=r.length)}),this.quill.update(at.sources.USER),this.quill.setSelection(s,a,at.sources.SILENT)}}}function aF(e,t){return{key:e,shiftKey:t,altKey:null,["ArrowLeft"===e?"prefix":"suffix"]:/^$/,handler(n){let{index:i}=n;"ArrowRight"===e&&(i+=n.length+1);let[r]=this.quill.getLeaf(i);return!(r instanceof of)||("ArrowLeft"===e?t?this.quill.setSelection(n.index-1,n.length+1,at.sources.USER):this.quill.setSelection(n.index-1,at.sources.USER):t?this.quill.setSelection(n.index,n.length+1,at.sources.USER):this.quill.setSelection(n.index+n.length+1,at.sources.USER),!1)}}}function aq(e){return{key:e[0],shortKey:!0,handler(t,n){this.quill.format(e,!n.format[e],at.sources.USER)}}}function aH(e){return{key:e?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(t,n){let i=e?"prev":"next",r=n.line,o=r.parent[i];if(null!=o){if("table-row"===o.statics.blotName){let e=o.children.head,t=r;for(;null!=t.prev;)t=t.prev,e=e.next;let i=e.offset(this.quill.scroll)+Math.min(n.offset,e.length()-1);this.quill.setSelection(i,0,at.sources.USER)}}else{let t=r.table()[i];null!=t&&(e?this.quill.setSelection(t.offset(this.quill.scroll)+t.length()-1,0,at.sources.USER):this.quill.setSelection(t.offset(this.quill.scroll),0,at.sources.USER))}return!1}}}aD.DEFAULTS=aj;function a$(e){let{quill:t,range:n}=e,i=t.getLines(n),r={};if(i.length>1){let e=i[0].formats(),t=i[i.length-1].formats();r=ow.AttributeMap.diff(t,e)||{}}t.deleteText(n,at.sources.USER),Object.keys(r).length>0&&t.formatLine(n.index,1,r,at.sources.USER),t.setSelection(n.index,at.sources.SILENT)}let aU=/font-weight:\s*normal/,az=["P","OL","UL"],aX=e=>e&&az.includes(e.tagName),aW=e=>{Array.from(e.querySelectorAll("br")).filter(e=>aX(e.previousElementSibling)&&aX(e.nextElementSibling)).forEach(e=>{e.parentNode?.removeChild(e)})},aV=e=>{Array.from(e.querySelectorAll('b[style*="font-weight"]')).filter(e=>e.getAttribute("style")?.match(aU)).forEach(t=>{let n=e.createDocumentFragment();n.append(...t.childNodes),t.parentNode?.replaceChild(n,t)})},aK=/\bmso-list:[^;]*ignore/i,aG=/\bmso-list:[^;]*\bl(\d+)/i,aY=/\bmso-list:[^;]*\blevel(\d+)/i,aZ=(e,t)=>{let n=e.getAttribute("style"),i=n?.match(aG);if(!i)return null;let r=Number(i[1]),o=n?.match(aY),s=o?Number(o[1]):1,a=RegExp(`@list l${r}:level${s}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),l=t.match(a);return{id:r,indent:s,type:l&&"bullet"===l[1]?"bullet":"ordered",element:e}},aQ=e=>{let t=Array.from(e.querySelectorAll("[style*=mso-list]")),n=[],i=[];t.forEach(e=>{(e.getAttribute("style")||"").match(aK)?n.push(e):i.push(e)}),n.forEach(e=>e.parentNode?.removeChild(e));let r=e.documentElement.innerHTML,o=i.map(e=>aZ(e,r)).filter(e=>e);for(;o.length;){let e=[],t=o.shift();for(;t;)e.push(t),t=o.length&&o[0]?.element===t.element.nextElementSibling&&o[0].id===t.id?o.shift():null;let n=document.createElement("ul");e.forEach(e=>{let t=document.createElement("li");t.setAttribute("data-list",e.type),e.indent>1&&t.setAttribute("class",`ql-indent-${e.indent-1}`),t.innerHTML=e.element.innerHTML,n.appendChild(t)});let i=e[0]?.element,{parentNode:r}=i??{};i&&r?.replaceChild(n,i),e.slice(1).forEach(e=>{let{element:t}=e;r?.removeChild(t)})}},aJ=[function(e){"urn:schemas-microsoft-com:office:word"===e.documentElement.getAttribute("xmlns:w")&&aQ(e)},function(e){e.querySelector('[id^="docs-internal-guid-"]')&&(aV(e),aW(e))}],a0=e=>{e.documentElement&&aJ.forEach(t=>{t(e)})},a1=sB("quill:clipboard"),a2=[[Node.TEXT_NODE,function(e,t,n){let i=e.data;if(e.parentElement?.tagName==="O:P")return t.insert(i.trim());if(!function e(t){return null!=t&&(!a9.has(t)&&("PRE"===t.tagName?a9.set(t,!0):a9.set(t,e(t.parentNode))),a9.get(t))}(e)){var r,o;if(0===i.trim().length&&i.includes("\n")&&(r=e,o=n,!r.previousElementSibling||!r.nextElementSibling||a8(r.previousElementSibling,o)||a8(r.nextElementSibling,o)))return t;let s=(e,t)=>{let n=t.replace(/[^\u00a0]/g,"");return n.length<1&&e?" ":n};i=(i=i.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,s.bind(s,!0)),(null==e.previousSibling&&null!=e.parentElement&&a8(e.parentElement,n)||e.previousSibling instanceof Element&&a8(e.previousSibling,n))&&(i=i.replace(/^\s+/,s.bind(s,!1))),(null==e.nextSibling&&null!=e.parentElement&&a8(e.parentElement,n)||e.nextSibling instanceof Element&&a8(e.nextSibling,n))&&(i=i.replace(/\s+$/,s.bind(s,!1)))}return t.insert(i)}],[Node.TEXT_NODE,lt],["br",function(e,t){return!a6(t,"\n")&&t.insert("\n"),t}],[Node.ELEMENT_NODE,lt],[Node.ELEMENT_NODE,function(e,t,n){let i=n.query(e);if(null==i)return t;if(i.prototype instanceof of){let t={},r=i.value(e);if(null!=r)return t[i.blotName]=r,new ow().insert(t,i.formats(e,n))}else if(i.prototype instanceof od&&!a6(t,"\n")&&t.insert("\n"),"blotName"in i&&"formats"in i&&"function"==typeof i.formats)return a4(t,i.blotName,i.formats(e,n),n);return t}],[Node.ELEMENT_NODE,function(e,t,n){let i=r1.keys(e),r=r6.keys(e),o=r9.keys(e),s={};return i.concat(r).concat(o).forEach(t=>{let i=n.query(t,r0.ATTRIBUTE);if(null==i||(s[i.attrName]=i.value(e),!s[i.attrName]))null!=(i=a5[t])&&(i.attrName===t||i.keyName===t)&&(s[i.attrName]=i.value(e)||void 0),null!=(i=a3[t])&&(i.attrName===t||i.keyName===t)&&(s[(i=a3[t]).attrName]=i.value(e)||void 0)}),Object.entries(s).reduce((e,t)=>{let[i,r]=t;return a4(e,i,r,n)},t)}],[Node.ELEMENT_NODE,function(e,t,n){let i={},r=e.style||{};return("italic"===r.fontStyle&&(i.italic=!0),"underline"===r.textDecoration&&(i.underline=!0),"line-through"===r.textDecoration&&(i.strike=!0),(r.fontWeight?.startsWith("bold")||parseInt(r.fontWeight,10)>=700)&&(i.bold=!0),t=Object.entries(i).reduce((e,t)=>{let[i,r]=t;return a4(e,i,r,n)},t),parseFloat(r.textIndent||0)>0)?new ow().insert(" ").concat(t):t}],["li",function(e,t,n){let i=n.query(e);if(null==i||"list"!==i.blotName||!a6(t,"\n"))return t;let r=-1,o=e.parentNode;for(;null!=o;)["OL","UL"].includes(o.tagName)&&(r+=1),o=o.parentNode;return r<=0?t:t.reduce((e,t)=>t.insert?t.attributes&&"number"==typeof t.attributes.indent?e.push(t):e.insert(t.insert,{indent:r,...t.attributes||{}}):e,new ow)}],["ol, ul",function(e,t,n){let i="OL"===e.tagName?"ordered":"bullet",r=e.getAttribute("data-checked");return r&&(i="true"===r?"checked":"unchecked"),a4(t,"list",i,n)}],["pre",function(e,t,n){let i=n.query("code-block");return a4(t,"code-block",!i||!("formats"in i)||"function"!=typeof i.formats||i.formats(e,n),n)}],["tr",function(e,t,n){let i=e.parentElement?.tagName==="TABLE"?e.parentElement:e.parentElement?.parentElement;return null!=i?a4(t,"table",Array.from(i.querySelectorAll("tr")).indexOf(e)+1,n):t}],["b",le("bold")],["i",le("italic")],["strike",le("strike")],["style",function(){return new ow}]],a5=[af,aO].reduce((e,t)=>(e[t.keyName]=t,e),{}),a3=[ag,a_,ab,aA,aI,aM].reduce((e,t)=>(e[t.keyName]=t,e),{});function a4(e,t,n,i){return i.query(t)?e.reduce((e,i)=>i.insert?i.attributes&&i.attributes[t]?e.push(i):e.insert(i.insert,{...n?{[t]:n}:{},...i.attributes}):e,new ow):e}function a6(e,t){let n="";for(let i=e.ops.length-1;i>=0&&n.lengthi(t,n,e),new ow):t.nodeType===t.ELEMENT_NODE?Array.from(t.childNodes||[]).reduce((o,s)=>{let a=a7(e,s,n,i,r);return s.nodeType===t.ELEMENT_NODE&&(a=n.reduce((t,n)=>n(s,t,e),a),a=(r.get(s)||[]).reduce((t,n)=>n(s,t,e),a)),o.concat(a)},new ow):new ow}function le(e){return(t,n,i)=>a4(n,e,!0,i)}function lt(e,t,n){if(!a6(t,"\n")){if(a8(e,n)&&(e.childNodes.length>0||e instanceof HTMLParagraphElement))return t.insert("\n");if(t.length()>0&&e.nextSibling){let i=e.nextSibling;for(;null!=i;){if(a8(i,n))return t.insert("\n");let e=n.query(i);if(e&&e.prototype instanceof sA)return t.insert("\n");i=i.firstChild}}}return t}function ln(e,t){let n=t;for(let t=e.length-1;t>=0;t-=1){let i=e[t];e[t]={delta:n.transform(i.delta,!0),range:i.range&&li(i.range,n)},n=i.delta.transform(n),0===e[t].delta.length()&&e.splice(t,1)}}function li(e,t){if(!e)return e;let n=t.transformPosition(e.index);return{index:n,length:t.transformPosition(e.index+e.length)-n}}class lr extends sZ{constructor(e,t){super(e,t),e.root.addEventListener("drop",t=>{t.preventDefault();let n=null;if(document.caretRangeFromPoint)n=document.caretRangeFromPoint(t.clientX,t.clientY);else if(document.caretPositionFromPoint){let e=document.caretPositionFromPoint(t.clientX,t.clientY);(n=document.createRange()).setStart(e.offsetNode,e.offset),n.setEnd(e.offsetNode,e.offset)}let i=n&&e.selection.normalizeNative(n);if(i){let n=e.selection.normalizedToRange(i);t.dataTransfer?.files&&this.upload(n,t.dataTransfer.files)}})}upload(e,t){let n=[];Array.from(t).forEach(e=>{e&&this.options.mimetypes?.includes(e.type)&&n.push(e)}),n.length>0&&this.options.handler.call(this,e,n)}}lr.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(e,t){if(!!this.quill.scroll.query("image"))Promise.all(t.map(e=>new Promise(t=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.readAsDataURL(e)}))).then(t=>{let n=t.reduce((e,t)=>e.insert({image:t}),new ow().retain(e.index).delete(e.length));this.quill.updateContents(n,sq.sources.USER),this.quill.setSelection(e.index+t.length,sq.sources.SILENT)})}};let lo=["insertText","insertReplacementText"],ls=class e extends sZ{constructor(e,t){super(e,t),e.root.addEventListener("beforeinput",e=>{this.handleBeforeInput(e)}),!/Android/i.test(navigator.userAgent)&&e.on(at.events.COMPOSITION_BEFORE_START,()=>{this.handleCompositionStart()})}deleteRange(e){a$({range:e,quill:this.quill})}replaceText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(0===e.length)return!1;if(t){let n=this.quill.getFormat(e.index,1);this.deleteRange(e),this.quill.updateContents(new ow().retain(e.index).insert(t,n),at.sources.USER)}else this.deleteRange(e);return this.quill.setSelection(e.index+t.length,0,at.sources.SILENT),!0}handleBeforeInput(e){if(this.quill.composition.isComposing||e.defaultPrevented||!lo.includes(e.inputType))return;let t=e.getTargetRanges?e.getTargetRanges()[0]:null;if(!t||!0===t.collapsed)return;let n=function(e){return"string"==typeof e.data?e.data:e.dataTransfer?.types.includes("text/plain")?e.dataTransfer.getData("text/plain"):null}(e);if(null==n)return;let i=this.quill.selection.normalizeNative(t),r=i?this.quill.selection.normalizedToRange(i):null;r&&this.replaceText(r,n)&&e.preventDefault()}handleCompositionStart(){let e=this.quill.getSelection();e&&this.replaceText(e)}},la=/Mac/i.test(navigator.platform),ll=e=>"ArrowLeft"===e.key||"ArrowRight"===e.key||"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||!!la&&"a"===e.key&&!0===e.ctrlKey||!1,lc=class e extends sZ{isListening=!1;selectionChangeDeadline=0;constructor(e,t){super(e,t),this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(e,t){let{line:n,event:i}=t;if(!(n instanceof oa)||!n.uiNode)return!0;let r="rtl"===getComputedStyle(n.domNode).direction;return!!r&&"ArrowRight"!==i.key||!r&&"ArrowLeft"!==i.key||(this.quill.setSelection(e.index-1,e.length+(i.shiftKey?1:0),at.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",e=>{!e.defaultPrevented&&ll(e)&&this.ensureListeningToSelectionChange()})}ensureListeningToSelectionChange(){if(this.selectionChangeDeadline=Date.now()+100,!this.isListening){this.isListening=!0;document.addEventListener("selectionchange",()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()},{once:!0})}}handleSelectionChange(){let e=document.getSelection();if(!e)return;let t=e.getRangeAt(0);if(!0!==t.collapsed||0!==t.startOffset)return;let n=this.quill.scroll.find(t.startContainer);if(!(n instanceof oa)||!n.uiNode)return;let i=document.createRange();i.setStartAfter(n.uiNode),i.setEndAfter(n.uiNode),e.removeAllRanges(),e.addRange(i)}};at.register({"blots/block":sC,"blots/block/embed":sA,"blots/break":sE,"blots/container":al,"blots/cursor":sI,"blots/embed":sQ,"blots/inline":sO,"blots/scroll":ah,"blots/text":sx,"modules/clipboard":class e extends sZ{static DEFAULTS={matchers:[]};constructor(e,t){super(e,t),this.quill.root.addEventListener("copy",e=>this.onCaptureCopy(e,!1)),this.quill.root.addEventListener("cut",e=>this.onCaptureCopy(e,!0)),this.quill.root.addEventListener("paste",this.onCapturePaste.bind(this)),this.matchers=[],a2.concat(this.options.matchers??[]).forEach(e=>{let[t,n]=e;this.addMatcher(t,n)})}addMatcher(e,t){this.matchers.push([e,t])}convert(e){let{html:t,text:n}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i[ax.blotName])return new ow().insert(n||"",{[ax.blotName]:i[ax.blotName]});if(!t)return new ow().insert(n||"",i);let r=this.convertHTML(t);return a6(r,"\n")&&(null==r.ops[r.ops.length-1].attributes||i.table)?r.compose(new ow().retain(r.length()-1).delete(1)):r}normalizeHTML(e){a0(e)}convertHTML(e){let t=new DOMParser().parseFromString(e,"text/html");this.normalizeHTML(t);let n=t.body,i=new WeakMap,[r,o]=this.prepareMatching(n,i);return a7(this.quill.scroll,n,r,o,i)}dangerouslyPasteHTML(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:at.sources.API;if("string"==typeof e){let n=this.convert({html:e,text:""});this.quill.setContents(n,t),this.quill.setSelection(0,at.sources.SILENT)}else{let i=this.convert({html:t,text:""});this.quill.updateContents(new ow().retain(e).concat(i),n),this.quill.setSelection(e+i.length(),at.sources.SILENT)}}onCaptureCopy(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.defaultPrevented)return;e.preventDefault();let[n]=this.quill.selection.getRange();if(null==n)return;let{html:i,text:r}=this.onCopy(n,t);e.clipboardData?.setData("text/plain",r),e.clipboardData?.setData("text/html",i),t&&a$({range:n,quill:this.quill})}normalizeURIList(e){return e.split(/\r?\n/).filter(e=>"#"!==e[0]).join("\n")}onCapturePaste(e){if(e.defaultPrevented||!this.quill.isEnabled())return;e.preventDefault();let t=this.quill.getSelection(!0);if(null==t)return;let n=e.clipboardData?.getData("text/html"),i=e.clipboardData?.getData("text/plain");if(!n&&!i){let t=e.clipboardData?.getData("text/uri-list");t&&(i=this.normalizeURIList(t))}let r=Array.from(e.clipboardData?.files||[]);if(!n&&r.length>0){this.quill.uploader.upload(t,r);return}if(n&&r.length>0){let e=new DOMParser().parseFromString(n,"text/html");if(1===e.body.childElementCount&&e.body.firstElementChild?.tagName==="IMG"){this.quill.uploader.upload(t,r);return}}this.onPaste(t,{html:n,text:i})}onCopy(e){let t=this.quill.getText(e);return{html:this.quill.getSemanticHTML(e),text:t}}onPaste(e,t){let{text:n,html:i}=t,r=this.quill.getFormat(e.index),o=this.convert({text:n,html:i},r);a1.log("onPaste",o,{text:n,html:i});let s=new ow().retain(e.index).delete(e.length).concat(o);this.quill.updateContents(s,at.sources.USER),this.quill.setSelection(s.length()-e.length,at.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(e,t){let n=[],i=[];return this.matchers.forEach(r=>{let[o,s]=r;switch(o){case Node.TEXT_NODE:i.push(s);break;case Node.ELEMENT_NODE:n.push(s);break;default:Array.from(e.querySelectorAll(o)).forEach(e=>{if(t.has(e)){let n=t.get(e);n?.push(s)}else t.set(e,[s])})}}),[n,i]}},"modules/history":class e extends sZ{static DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};lastRecorded=0;ignoreChange=!1;stack={undo:[],redo:[]};currentRange=null;constructor(e,t){super(e,t),this.quill.on(at.events.EDITOR_CHANGE,(e,t,n,i)=>{e===at.events.SELECTION_CHANGE?t&&i!==at.sources.SILENT&&(this.currentRange=t):e===at.events.TEXT_CHANGE&&(!this.ignoreChange&&(this.options.userOnly&&i!==at.sources.USER?this.transform(t):this.record(t,n)),this.currentRange=li(this.currentRange,t))}),this.quill.keyboard.addBinding({key:"z",shortKey:!0},this.undo.bind(this)),this.quill.keyboard.addBinding({key:["z","Z"],shortKey:!0,shiftKey:!0},this.redo.bind(this)),/Win/i.test(navigator.platform)&&this.quill.keyboard.addBinding({key:"y",shortKey:!0},this.redo.bind(this)),this.quill.root.addEventListener("beforeinput",e=>{"historyUndo"===e.inputType?(this.undo(),e.preventDefault()):"historyRedo"===e.inputType&&(this.redo(),e.preventDefault())})}change(e,t){if(0===this.stack[e].length)return;let n=this.stack[e].pop();if(!n)return;let i=this.quill.getContents(),r=n.delta.invert(i);this.stack[t].push({delta:r,range:li(n.range,r)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n.delta,at.sources.USER),this.ignoreChange=!1,this.restoreSelection(n)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(e,t){if(0===e.ops.length)return;this.stack.redo=[];let n=e.invert(t),i=this.currentRange,r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){let e=this.stack.undo.pop();e&&(n=n.compose(e.delta),i=e.range)}else this.lastRecorded=r;0!==n.length()&&(this.stack.undo.push({delta:n,range:i}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(e){ln(this.stack.undo,e),ln(this.stack.redo,e)}undo(){this.change("undo","redo")}restoreSelection(e){if(e.range)this.quill.setSelection(e.range,at.sources.USER);else{let t=function(e,t){let n=t.reduce((e,t)=>e+(t.delete||0),0),i=t.length()-n;return function(e,t){let n=t.ops[t.ops.length-1];return null!=n&&(null!=n.insert?"string"==typeof n.insert&&n.insert.endsWith("\n"):null!=n.attributes&&Object.keys(n.attributes).some(t=>null!=e.query(t,r0.BLOCK)))}(e,t)&&(i-=1),i}(this.quill.scroll,e.delta);this.quill.setSelection(t,at.sources.USER)}}},"modules/keyboard":aD,"modules/uploader":lr,"modules/input":ls,"modules/uiNode":lc});let lu=new class e extends r6{add(e,t){let n=0;if("+1"===t||"-1"===t){let i=this.value(e)||0;n="+1"===t?i+1:i-1}else"number"==typeof t&&(n=t);return 0===n?(this.remove(e),!0):super.add(e,n.toString())}canAdd(e,t){return super.canAdd(e,t)||super.canAdd(e,parseInt(t,10))}value(e){return parseInt(super.value(e),10)||void 0}}("indent","ql-indent",{scope:r0.BLOCK,whitelist:[1,2,3,4,5,6,7,8]}),ld=class e extends sC{static blotName="blockquote";static tagName="blockquote"},lh=class e extends sC{static blotName="header";static tagName=["H1","H2","H3","H4","H5","H6"];static formats(e){return this.tagName.indexOf(e.tagName)+1}};class lp extends al{}lp.blotName="list-container",lp.tagName="OL";class lf extends sC{static create(e){let t=super.create();return t.setAttribute("data-list",e),t}static formats(e){return e.getAttribute("data-list")||void 0}static register(){at.register(lp)}constructor(e,t){super(e,t);let n=t.ownerDocument.createElement("span"),i=n=>{if(!e.isEnabled())return;let i=this.statics.formats(t,e);"checked"===i?(this.format("list","unchecked"),n.preventDefault()):"unchecked"===i&&(this.format("list","checked"),n.preventDefault())};n.addEventListener("mousedown",i),n.addEventListener("touchstart",i),this.attachUI(n)}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-list",t):super.format(e,t)}}lf.blotName="list",lf.tagName="LI",lp.allowedChildren=[lf],lf.requiredContainer=lp;let lm=class e extends sO{static blotName="bold";static tagName=["STRONG","B"];static create(){return super.create()}static formats(){return!0}optimize(e){super.optimize(e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}};class lg extends sO{static blotName="link";static tagName="A";static SANITIZED_URL="about:blank";static PROTOCOL_WHITELIST=["http","https","mailto","tel","sms"];static create(e){let t=super.create(e);return t.setAttribute("href",this.sanitize(e)),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank"),t}static formats(e){return e.getAttribute("href")}static sanitize(e){return lv(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("href",this.constructor.sanitize(t)):super.format(e,t)}}function lv(e,t){let n=document.createElement("a");n.href=e;let i=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(i)>-1}let ly=class e extends sO{static blotName="script";static tagName=["SUB","SUP"];static create(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):super.create(e)}static formats(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}},lb=class e extends sO{static blotName="underline";static tagName="U"},lw=class e extends sQ{static blotName="formula";static className="ql-formula";static tagName="SPAN";static create(e){if(null==window.katex)throw Error("Formula module requires KaTeX.");let t=super.create(e);return"string"==typeof e&&(window.katex.render(e,t,{throwOnError:!1,errorColor:"#f00"}),t.setAttribute("data-value",e)),t}static value(e){return e.getAttribute("data-value")}html(){let{formula:e}=this.value();return`${e}`}},l_=["alt","height","width"],lE=class e extends of{static blotName="image";static tagName="IMG";static create(e){let t=super.create(e);return"string"==typeof e&&t.setAttribute("src",this.sanitize(e)),t}static formats(e){return l_.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static match(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}static sanitize(e){return lv(e,["http","https","data"])?e:"//:0"}static value(e){return e.getAttribute("src")}format(e,t){l_.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}},lx=["height","width"],lk=class e extends sA{static blotName="video";static className="ql-video";static tagName="IFRAME";static create(e){let t=super.create(e);return t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen","true"),t.setAttribute("src",this.sanitize(e)),t}static formats(e){return lx.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static sanitize(e){return lg.sanitize(e)}static value(e){return e.getAttribute("src")}format(e,t){lx.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}html(){let{video:e}=this.value();return`
              ${e}`}},lT=new r6("code-token","hljs",{scope:r0.INLINE});class lO extends sO{static formats(e,t){for(;null!=e&&e!==t.domNode;){if(e.classList&&e.classList.contains(ax.className))return super.formats(e,t);e=e.parentNode}}constructor(e,t,n){super(e,t,n),lT.add(this.domNode,n)}format(e,t){e!==lO.blotName?super.format(e,t):t?lT.add(this.domNode,t):(lT.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),!lT.value(this.domNode)&&this.unwrap()}}lO.blotName="code-token",lO.className="ql-token";class lC extends ax{static create(e){let t=super.create(e);return"string"==typeof e&&t.setAttribute("data-language",e),t}static formats(e){return e.getAttribute("data-language")||"plain"}static register(){}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-language",t):super.format(e,t)}replaceWith(e,t){return this.formatAt(0,this.length(),lO.blotName,!1),super.replaceWith(e,t)}}class lA extends aE{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(e,t){e===lC.blotName&&(this.forceNext=!0,this.children.forEach(n=>{n.format(e,t)}))}formatAt(e,t,n,i){n===lC.blotName&&(this.forceNext=!0),super.formatAt(e,t,n,i)}highlight(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==this.children.head)return;let n=Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode),i=`${n.map(e=>e.textContent).join("\n")} +`,r=lC.formats(this.children.head.domNode);if(t||this.forceNext||this.cachedText!==i){if(i.trim().length>0||null==this.cachedText){let t=this.children.reduce((e,t)=>e.concat(sS(t,!1)),new ow),n=e(i,r);t.diff(n).reduce((e,t)=>{let{retain:n,attributes:i}=t;return n?(i&&Object.keys(i).forEach(t=>{[lC.blotName,lO.blotName].includes(t)&&this.formatAt(e,n,t,i[t])}),e+n):e},0)}this.cachedText=i,this.forceNext=!1}}html(e,t){let[n]=this.children.find(e),i=n?lC.formats(n.domNode):"plain";return`
              +${sk(this.code(e,t))}
              +
              `}optimize(e){if(super.optimize(e),null!=this.parent&&null!=this.children.head&&null!=this.uiNode){let e=lC.formats(this.children.head.domNode);e!==this.uiNode.value&&(this.uiNode.value=e)}}}lA.allowedChildren=[lC],lC.requiredContainer=lA,lC.allowedChildren=[lO,sI,sx,sE];let lS=(e,t,n)=>"string"==typeof e.versionString&&parseInt(e.versionString.split(".")[0],10)>=11?e.highlight(n,{language:t}).value:e.highlight(t,n).value;class lN extends sZ{static register(){at.register(lO,!0),at.register(lC,!0),at.register(lA,!0)}constructor(e,t){if(super(e,t),null==this.options.hljs)throw Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");this.languages=this.options.languages.reduce((e,t)=>{let{key:n}=t;return e[n]=!0,e},{}),this.highlightBlot=this.highlightBlot.bind(this),this.initListener(),this.initTimer()}initListener(){this.quill.on(at.events.SCROLL_BLOT_MOUNT,e=>{if(!(e instanceof lA))return;let t=this.quill.root.ownerDocument.createElement("select");this.options.languages.forEach(e=>{let{key:n,label:i}=e,r=t.ownerDocument.createElement("option");r.textContent=i,r.setAttribute("value",n),t.appendChild(r)}),t.addEventListener("change",()=>{e.format(lC.blotName,t.value),this.quill.root.focus(),this.highlight(e,!0)}),null==e.uiNode&&(e.attachUI(t),e.children.head&&(t.value=lC.formats(e.children.head.domNode)))})}initTimer(){let e=null;this.quill.on(at.events.SCROLL_OPTIMIZE,()=>{e&&clearTimeout(e),e=setTimeout(()=>{this.highlight(),e=null},this.options.interval)})}highlight(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.quill.selection.composing)return;this.quill.update(at.sources.USER);let n=this.quill.getSelection();(null==e?this.quill.scroll.descendants(lA):[e]).forEach(e=>{e.highlight(this.highlightBlot,t)}),this.quill.update(at.sources.SILENT),null!=n&&this.quill.setSelection(n,at.sources.SILENT)}highlightBlot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";if("plain"===(t=this.languages[t]?t:"plain"))return sk(e).split("\n").reduce((e,n,i)=>(0!==i&&e.insert("\n",{[ax.blotName]:t}),e.insert(n)),new ow);let n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(ax.className),n.innerHTML=lS(this.options.hljs,t,e),a7(this.quill.scroll,n,[(e,t)=>{let n=lT.value(e);return n?t.compose(new ow().retain(t.length(),{[lO.blotName]:n})):t}],[(e,n)=>e.data.split("\n").reduce((e,n,i)=>(0!==i&&e.insert("\n",{[ax.blotName]:t}),e.insert(n)),n)],new WeakMap)}}lN.DEFAULTS={hljs:window.hljs,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};class lI extends sC{static blotName="table";static tagName="TD";static create(e){let t=super.create();return e?t.setAttribute("data-row",e):t.setAttribute("data-row",lP()),t}static formats(e){if(e.hasAttribute("data-row"))return e.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(e,t){e===lI.blotName&&t?this.domNode.setAttribute("data-row",t):super.format(e,t)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}}class lL extends al{static blotName="table-row";static tagName="TR";checkMerge(){if(super.checkMerge()&&null!=this.next.children.head){let e=this.children.head.formats(),t=this.children.tail.formats(),n=this.next.children.head.formats(),i=this.next.children.tail.formats();return e.table===t.table&&e.table===n.table&&e.table===i.table}return!1}optimize(e){super.optimize(e),this.children.forEach(e=>{if(null==e.next)return;let t=e.formats(),n=e.next.formats();if(t.table!==n.table){let t=this.splitAfter(e);t&&t.optimize(),this.prev&&this.prev.optimize()}})}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}class lM extends al{static blotName="table-body";static tagName="TBODY"}class lR extends al{static blotName="table-container";static tagName="TABLE";balanceCells(){let e=this.descendants(lL),t=e.reduce((e,t)=>Math.max(t.children.length,e),0);e.forEach(e=>{Array(t-e.children.length).fill(0).forEach(()=>{let t;null!=e.children.head&&(t=lI.formats(e.children.head.domNode));let n=this.scroll.create(lI.blotName,t);e.appendChild(n),n.optimize()})})}cells(e){return this.rows().map(t=>t.children.at(e))}deleteColumn(e){let[t]=this.descendant(lM);null!=t&&null!=t.children.head&&t.children.forEach(t=>{let n=t.children.at(e);null!=n&&n.remove()})}insertColumn(e){let[t]=this.descendant(lM);null!=t&&null!=t.children.head&&t.children.forEach(t=>{let n=t.children.at(e),i=lI.formats(t.children.head.domNode),r=this.scroll.create(lI.blotName,i);t.insertBefore(r,n)})}insertRow(e){let[t]=this.descendant(lM);if(null==t||null==t.children.head)return;let n=lP(),i=this.scroll.create(lL.blotName);t.children.head.children.forEach(()=>{let e=this.scroll.create(lI.blotName,n);i.appendChild(e)});let r=t.children.at(e);t.insertBefore(i,r)}rows(){let e=this.children.head;return null==e?[]:e.children.map(e=>e)}}function lP(){let e=Math.random().toString(36).slice(2,6);return`row-${e}`}lR.allowedChildren=[lM],lM.requiredContainer=lR,lM.allowedChildren=[lL],lL.requiredContainer=lM,lL.allowedChildren=[lI],lI.requiredContainer=lL;let lD=class e extends sZ{static register(){at.register(lI),at.register(lL),at.register(lM),at.register(lR)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(lR).forEach(e=>{e.balanceCells()})}deleteColumn(){let[e,,t]=this.getTable();null!=t&&(e.deleteColumn(t.cellOffset()),this.quill.update(at.sources.USER))}deleteRow(){let[,e]=this.getTable();null!=e&&(e.remove(),this.quill.update(at.sources.USER))}deleteTable(){let[e]=this.getTable();if(null==e)return;let t=e.offset();e.remove(),this.quill.update(at.sources.USER),this.quill.setSelection(t,at.sources.SILENT)}getTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(null==e)return[null,null,null,-1];let[t,n]=this.quill.getLine(e.index);if(null==t||t.statics.blotName!==lI.blotName)return[null,null,null,-1];let i=t.parent;return[i.parent.parent,i,t,n]}insertColumn(e){let t=this.quill.getSelection();if(!t)return;let[n,i,r]=this.getTable(t);if(null==r)return;let o=r.cellOffset();n.insertColumn(o+e),this.quill.update(at.sources.USER);let s=i.rowOffset();0===e&&(s+=1),this.quill.setSelection(t.index+s,t.length,at.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(e){let t=this.quill.getSelection();if(!t)return;let[n,i,r]=this.getTable(t);if(null==r)return;let o=i.rowOffset();n.insertRow(o+e),this.quill.update(at.sources.USER),e>0?this.quill.setSelection(t,at.sources.SILENT):this.quill.setSelection(t.index+i.children.length,t.length,at.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(e,t){let n=this.quill.getSelection();if(null==n)return;let i=Array(e).fill(0).reduce(e=>{let n=Array(t).fill("\n").join("");return e.insert(n,{table:lP()})},new ow().retain(n.index));this.quill.updateContents(i,at.sources.USER),this.quill.setSelection(n.index,at.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(at.events.SCROLL_OPTIMIZE,e=>{e.some(e=>!!["TD","TR","TBODY","TABLE"].includes(e.target.tagName)&&(this.quill.once(at.events.TEXT_CHANGE,(e,t,n)=>{n===at.sources.USER&&this.balanceTables()}),!0))})}},lj=sB("quill:toolbar");class lB extends sZ{constructor(e,t){if(super(e,t),Array.isArray(this.options.container)){let t=document.createElement("div");t.setAttribute("role","toolbar"),function(e,t){!Array.isArray(t[0])&&(t=[t]),t.forEach(t=>{let n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(e=>{if("string"==typeof e)lF(n,e);else{let t=Object.keys(e)[0],i=e[t];Array.isArray(i)?function(e,t,n){let i=document.createElement("select");i.classList.add(`ql-${t}`),n.forEach(e=>{let t=document.createElement("option");!1!==e?t.setAttribute("value",String(e)):t.setAttribute("selected","selected"),i.appendChild(t)}),e.appendChild(i)}(n,t,i):lF(n,t,i)}}),e.appendChild(n)})}(t,this.options.container),e.container?.parentNode?.insertBefore(t,e.container),this.container=t}else"string"==typeof this.options.container?this.container=document.querySelector(this.options.container):this.container=this.options.container;if(!(this.container instanceof HTMLElement)){lj.error("Container required for toolbar",this.options);return}this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach(e=>{let t=this.options.handlers?.[e];t&&this.addHandler(e,t)}),Array.from(this.container.querySelectorAll("button, select")).forEach(e=>{this.attach(e)}),this.quill.on(at.events.EDITOR_CHANGE,()=>{let[e]=this.quill.selection.getRange();this.update(e)})}addHandler(e,t){this.handlers[e]=t}attach(e){let t=Array.from(e.classList).find(e=>0===e.indexOf("ql-"));if(!t)return;if(t=t.slice(3),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[t]&&null==this.quill.scroll.query(t)){lj.warn("ignoring attaching to nonexistent format",t,e);return}let n="SELECT"===e.tagName?"change":"click";e.addEventListener(n,n=>{let i;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;let t=e.options[e.selectedIndex];i=!t.hasAttribute("selected")&&(t.value||!1)}else i=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),n.preventDefault();this.quill.focus();let[r]=this.quill.selection.getRange();if(null!=this.handlers[t])this.handlers[t].call(this,i);else if(this.quill.scroll.query(t).prototype instanceof of){if(!(i=prompt(`Enter ${t}`)))return;this.quill.updateContents(new ow().retain(r.index).delete(r.length).insert({[t]:i}),at.sources.USER)}else this.quill.format(t,i,at.sources.USER);this.update(r)}),this.controls.push([t,e])}update(e){let t=null==e?{}:this.quill.getFormat(e);this.controls.forEach(n=>{let[i,r]=n;if("SELECT"===r.tagName){let n=null;if(null==e)n=null;else if(null==t[i])n=r.querySelector("option[selected]");else if(!Array.isArray(t[i])){let e=t[i];"string"==typeof e&&(e=e.replace(/"/g,'\\"')),n=r.querySelector(`option[value="${e}"]`)}null==n?(r.value="",r.selectedIndex=-1):n.selected=!0}else if(null==e)r.classList.remove("ql-active"),r.setAttribute("aria-pressed","false");else if(r.hasAttribute("value")){let e=t[i],n=e===r.getAttribute("value")||null!=e&&e.toString()===r.getAttribute("value")||null==e&&!r.getAttribute("value");r.classList.toggle("ql-active",n),r.setAttribute("aria-pressed",n.toString())}else{let e=null!=t[i];r.classList.toggle("ql-active",e),r.setAttribute("aria-pressed",e.toString())}})}}function lF(e,t,n){let i=document.createElement("button");i.setAttribute("type","button"),i.classList.add(`ql-${t}`),i.setAttribute("aria-pressed","false"),null!=n?(i.value=n,i.setAttribute("aria-label",`${t}: ${n}`)):i.setAttribute("aria-label",t),e.appendChild(i)}lB.DEFAULTS={};lB.DEFAULTS={container:null,handlers:{clean(){let e=this.quill.getSelection();null!=e&&(0===e.length?Object.keys(this.quill.getFormat()).forEach(e=>{null!=this.quill.scroll.query(e,r0.INLINE)&&this.quill.format(e,!1,at.sources.USER)}):this.quill.removeFormat(e.index,e.length,at.sources.USER))},direction(e){let{align:t}=this.quill.getFormat();"rtl"===e&&null==t?this.quill.format("align","right",at.sources.USER):!e&&"right"===t&&this.quill.format("align",!1,at.sources.USER),this.quill.format("direction",e,at.sources.USER)},indent(e){let t=this.quill.getSelection(),n=this.quill.getFormat(t),i=parseInt(n.indent||0,10);if("+1"===e||"-1"===e){let t="+1"===e?1:-1;"rtl"===n.direction&&(t*=-1),this.quill.format("indent",i+t,at.sources.USER)}},link(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,at.sources.USER)},list(e){let t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,at.sources.USER):this.quill.format("list","unchecked",at.sources.USER):this.quill.format("list",e,at.sources.USER)}}};let lq='',lH={align:{"":'',center:'',right:'',justify:''},background:'',blockquote:'',bold:'',clean:'',code:lq,"code-block":lq,color:'',direction:{"":'',rtl:''},formula:'',header:{1:'',2:'',3:'',4:'',5:'',6:''},italic:'',image:'',indent:{"+1":'',"-1":''},link:'',list:{bullet:'',check:'',ordered:''},script:{sub:'',super:''},strike:'',table:'',underline:'',video:''},l$=0;function lU(e,t){e.setAttribute(t,`${"true"!==e.getAttribute(t)}`)}let lz=class e{constructor(e){this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",()=>{this.togglePicker()}),this.label.addEventListener("keydown",e=>{switch(e.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),e.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),lU(this.label,"aria-expanded"),lU(this.options,"aria-hidden")}buildItem(e){let t=document.createElement("span");t.tabIndex="0",t.setAttribute("role","button"),t.classList.add("ql-picker-item");let n=e.getAttribute("value");return n&&t.setAttribute("data-value",n),e.textContent&&t.setAttribute("data-label",e.textContent),t.addEventListener("click",()=>{this.selectItem(t,!0)}),t.addEventListener("keydown",e=>{switch(e.key){case"Enter":this.selectItem(t,!0),e.preventDefault();break;case"Escape":this.escape(),e.preventDefault()}}),t}buildLabel(){let e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML='',e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}buildOptions(){let e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id=`ql-picker-options-${l$}`,l$+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,Array.from(this.select.options).forEach(t=>{let n=this.buildItem(t);e.appendChild(n),!0===t.selected&&this.selectItem(n)}),this.container.appendChild(e)}buildPicker(){Array.from(this.select.attributes).forEach(e=>{this.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout(()=>this.label.focus(),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n)null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=Array.from(e.parentNode.children).indexOf(e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t&&(this.select.dispatchEvent(new Event("change")),this.close()))}update(){let e;if(this.select.selectedIndex>-1){let t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);let t=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",t)}},lX=class e extends lz{constructor(e,t){super(e),this.label.innerHTML=t,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach(e=>{e.classList.add("ql-primary")})}buildItem(e){let t=super.buildItem(e);return t.style.backgroundColor=e.getAttribute("value")||"",t}selectItem(e,t){super.selectItem(e,t);let n=this.label.querySelector(".ql-color-label"),i=e&&e.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=i:n.style.fill=i)}},lW=class e extends lz{constructor(e,t){super(e),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach(e=>{e.innerHTML=t[e.getAttribute("data-value")||""]}),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(e,t){super.selectItem(e,t);let n=e||this.defaultItem;if(null!=n){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}},lV=e=>{let{overflowY:t}=getComputedStyle(e,null);return"visible"!==t&&"clip"!==t},lK=class e{constructor(e,t){this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,lV(this.quill.root)&&this.quill.root.addEventListener("scroll",()=>{this.root.style.marginTop=`${-1*this.quill.root.scrollTop}px`}),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(e){let t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=`${t}px`,this.root.style.top=`${n}px`,this.root.classList.remove("ql-flip");let i=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),o=0;if(r.right>i.right&&(o=i.right-r.right,this.root.style.left=`${t+o}px`),r.lefti.bottom){let t=r.bottom-r.top,i=e.bottom-e.top+t;this.root.style.top=`${n-i}px`,this.root.classList.add("ql-flip")}return o}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}},lG=[!1,"center","right","justify"],lY=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],lZ=[!1,"serif","monospace"],lQ=["1","2","3",!1],lJ=["small",!1,"large","huge"];class l0 extends s1{constructor(e,t){super(e,t);let n=t=>{if(!document.body.contains(e.root)){document.body.removeEventListener("click",n);return}null!=this.tooltip&&!this.tooltip.root.contains(t.target)&&document.activeElement!==this.tooltip.textbox&&!this.quill.hasFocus()&&this.tooltip.hide(),null!=this.pickers&&this.pickers.forEach(e=>{!e.container.contains(t.target)&&e.close()})};e.emitter.listenDOM("click",document.body,n)}addModule(e){let t=super.addModule(e);return"toolbar"===e&&this.extendToolbar(t),t}buildButtons(e,t){Array.from(e).forEach(e=>{(e.getAttribute("class")||"").split(/\s+/).forEach(n=>{if(!!n.startsWith("ql-")){if(null!=t[n=n.slice(3)]){if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{let i=e.value||"";null!=i&&t[n][i]&&(e.innerHTML=t[n][i])}}}})})}buildPickers(e,t){this.pickers=Array.from(e).map(e=>{if(e.classList.contains("ql-align")&&(null==e.querySelector("option")&&l2(e,lG),"object"==typeof t.align))return new lW(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){let n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&l2(e,lY,"background"===n?"#ffffff":"#000000"),new lX(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?l2(e,lZ):e.classList.contains("ql-header")?l2(e,lQ):e.classList.contains("ql-size")&&l2(e,lJ)),new lz(e)});this.quill.on(sq.events.EDITOR_CHANGE,()=>{this.pickers.forEach(e=>{e.update()})})}}l0.DEFAULTS=rJ({},s1.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),e.classList.add("ql-image"),e.addEventListener("change",()=>{let t=this.quill.getSelection(!0);this.quill.uploader.upload(t,e.files),e.value=""}),this.container.appendChild(e)),e.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class l1 extends lK{constructor(e,t){super(e,t),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",e=>{"Enter"===e.key?(this.save(),e.preventDefault()):"Escape"===e.key&&(this.cancel(),e.preventDefault())})}cancel(){this.hide(),this.restoreFocus()}edit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null==this.textbox)return;null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value="");let n=this.quill.getBounds(this.quill.selection.savedRange);null!=n&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${e}`)||""),this.root.setAttribute("data-mode",e)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:e}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{let{scrollTop:t}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,sq.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,sq.sources.USER)),this.quill.root.scrollTop=t;break}case"video":e=function(e){let t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?`${t[1]||"https"}://www.youtube.com/embed/${t[2]}?showinfo=0`:(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${t[1]||"https"}://player.vimeo.com/video/${t[2]}/`:e}(e);case"formula":{if(!e)break;let t=this.quill.getSelection(!0);if(null!=t){let n=t.index+t.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),e,sq.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(n+1," ",sq.sources.USER),this.quill.setSelection(n+2,sq.sources.USER)}}}this.textbox.value="",this.hide()}}function l2(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(t=>{let i=document.createElement("option");t===n?i.setAttribute("selected","selected"):i.setAttribute("value",String(t)),e.appendChild(i)})}let l5=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class l3 extends l1{static TEMPLATE='
              ';constructor(e,t){super(e,t),this.quill.on(sq.events.EDITOR_CHANGE,(e,t,n,i)=>{if(e===sq.events.SELECTION_CHANGE){if(null!=t&&t.length>0&&i===sq.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;let e=this.quill.getLines(t.index,t.length);if(1===e.length){let e=this.quill.getBounds(t);null!=e&&this.position(e)}else{let n=e[e.length-1],i=this.quill.getIndex(n),r=Math.min(n.length()-1,t.index+t.length-i),o=this.quill.getBounds(new s$(i,r));null!=o&&this.position(o)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()}})}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",()=>{this.root.classList.remove("ql-editing")}),this.quill.on(sq.events.SCROLL_OPTIMIZE,()=>{setTimeout(()=>{if(this.root.classList.contains("ql-hidden"))return;let e=this.quill.getSelection();if(null!=e){let t=this.quill.getBounds(e);null!=t&&this.position(t)}},1)})}cancel(){this.show()}position(e){let t=super.position(e),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",0!==t&&(n.style.marginLeft=`${-1*t-n.offsetWidth/2}px`),t}}class l4 extends l0{constructor(e,t){null!=t.modules.toolbar&&null==t.modules.toolbar.container&&(t.modules.toolbar.container=l5),super(e,t),this.quill.container.classList.add("ql-bubble")}extendToolbar(e){this.tooltip=new l3(this.quill,this.options.bounds),null!=e.container&&(this.tooltip.root.appendChild(e.container),this.buildButtons(e.container.querySelectorAll("button"),lH),this.buildPickers(e.container.querySelectorAll("select"),lH))}}l4.DEFAULTS=rJ({},l0.DEFAULTS,{modules:{toolbar:{handlers:{link(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1,at.sources.USER)}}}}});let l6=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class l8 extends l1{static TEMPLATE='';preview=this.root.querySelector("a.ql-preview");listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",e=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",e=>{if(null!=this.linkRange){let e=this.linkRange;this.restoreFocus(),this.quill.formatText(e,"link",!1,sq.sources.USER),delete this.linkRange}e.preventDefault(),this.hide()}),this.quill.on(sq.events.SELECTION_CHANGE,(e,t,n)=>{if(null!=e){if(0===e.length&&n===sq.sources.USER){let[t,n]=this.quill.scroll.descendant(lg,e.index);if(null!=t){this.linkRange=new s$(e.index-n,t.length());let i=lg.formats(t.domNode);this.preview.textContent=i,this.preview.setAttribute("href",i),this.show();let r=this.quill.getBounds(this.linkRange);null!=r&&this.position(r);return}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}class l9 extends l0{constructor(e,t){null!=t.modules.toolbar&&null==t.modules.toolbar.container&&(t.modules.toolbar.container=l6),super(e,t),this.quill.container.classList.add("ql-snow")}extendToolbar(e){null!=e.container&&(e.container.classList.add("ql-snow"),this.buildButtons(e.container.querySelectorAll("button"),lH),this.buildPickers(e.container.querySelectorAll("select"),lH),this.tooltip=new l8(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},(t,n)=>{e.handlers.link.call(e,!n.format.link)}))}}l9.DEFAULTS=rJ({},l0.DEFAULTS,{modules:{toolbar:{handlers:{link(e){if(e){let e=this.quill.getSelection();if(null==e||0===e.length)return;let t=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(t)&&0!==t.indexOf("mailto:")&&(t=`mailto:${t}`);let{tooltip:n}=this.quill.theme;n.edit("link",t)}else this.quill.format("link",!1,at.sources.USER)}}}}});at.register({"attributors/attribute/direction":aO,"attributors/class/align":am,"attributors/class/background":aw,"attributors/class/color":ay,"attributors/class/direction":aC,"attributors/class/font":aN,"attributors/class/size":aL,"attributors/style/align":ag,"attributors/style/background":a_,"attributors/style/color":ab,"attributors/style/direction":aA,"attributors/style/font":aI,"attributors/style/size":aM},!0),at.register({"formats/align":am,"formats/direction":aC,"formats/indent":lu,"formats/background":a_,"formats/color":ab,"formats/font":aN,"formats/size":aL,"formats/blockquote":ld,"formats/code-block":ax,"formats/header":lh,"formats/list":lf,"formats/bold":lm,"formats/code":ak,"formats/italic":class e extends lm{static blotName="italic";static tagName=["EM","I"]},"formats/link":lg,"formats/script":ly,"formats/strike":class e extends lm{static blotName="strike";static tagName=["S","STRIKE"]},"formats/underline":lb,"formats/formula":lw,"formats/image":lE,"formats/video":lk,"modules/syntax":lN,"modules/table":lD,"modules/toolbar":lB,"themes/bubble":l4,"themes/snow":l9,"ui/icons":lH,"ui/picker":lz,"ui/icon-picker":lW,"ui/color-picker":lX,"ui/tooltip":lK},!0);var l7=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.reduce(function(e,t,n){return e[t.id]=n,e},{});return((t=e.match(/({[^}]+})|([^{}]+)/g))||[]).map(function(e){if(console.log(e),!(e.startsWith("{")&&e.endsWith("}")))return e;var t=e.substring(1,e.length-1);console.log(t);var o=n[r[t]];if(!o)return t;var s=o.values&&i[o.id]?"".concat(tz(o.values.filter(function(e){return i[o.id].includes(e.id)}).map(function(e){return e.label}),x("AND"),"",!1)):" ... ";return O()("strong",s)})},ce=function(){return{view:function(e){var t=e.attrs,n=t.template,i=t.state,r=i.model,o=i.curNarrative,s=r.scenario.components,a=void 0===s?[]:s,l=(void 0===o?{}:o).components,c=void 0===l?{}:l;return n.split(/{(\d+)}/g).map(function(e){return e.replace(/\d+/,function(e){return+e0&&void 0!==arguments[0]?arguments[0]:{};return null==y||null===(t=y.componentIds)||void 0===t||t.forEach(function(t){return n[t]=e}),n}})}})]),w.map(function(e){var t;return[[O()(el,{label:e.label,key:"key_".concat(e.id,"_").concat(l[e.id]),className:"col s11",multiple:!0,disabled:void 0!==l[e.id]&&l[e.id],initialValue:E[e.id],options:null===(t=e.values)||void 0===t?void 0:t.filter(function(e){return!r.has(e.id)}),placeholder:x("i18n","pick"),onchange:function(t){!h.components&&(h.components={}),h.components[e.id]=t,na(n,h)}})],O()(".col.s1.icons",[O()(ci,{on:"lock_open",off:"lock",disabled:e.manual,value:!e.manual&&!u[e.id],callback:function(t){n.update({lockedComps:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n[e.id]=!t,n}})}})])]})])}}},cs=function(){var e,t=!1,n=0;return{oninit:function(e){return nn(e.attrs,C.CREATE_SCENARIO)},view:function(i){var r=i.attrs,o=r.state,s=o.model,a=o.curNarrative,l=void 0===a?{}:a,c=o.lockedComps,u=void 0===c?{}:c,d=s.scenario,h=d.template,p=d.categories,f=void 0===p?[]:p,m=d.inconsistencies,g=void 0===m?{}:m,v=d.hideInconsistentValues,y=s.scenario&&s.scenario.narratives,b=l.components&&void 0!==v&&v?Object.keys(l.components).filter(function(e){return l.components[e]}).reduce(function(e,t){return l.components[t].forEach(function(t){return g[t]&&Object.keys(g[t]).forEach(function(n){return g[t][n]&&e.add(n)})}),e},new Set):new Set,w=t0(s.scenario.narratives);return O()(".create-scenario.row",[O()(".col.s12",[O()(ee,{label:x("GENERATE_NARRATIVE"),iconName:"refresh",onclick:function(){var e=l.components,t=void 0===e?{}:e,i=t?Object.keys(u).reduce(function(e,n){return u[n]&&(e[n]=t[n]),e},{}):{};s.scenario.components.filter(function(e){return e.manual}).forEach(function(e){i[e.id]=t[e.id]});var o=tY(s.scenario,i);o?(n++,r.update({curNarrative:function(){return o}})):alert(x("NO_NARRATIVE"))}}),O()(ee,{label:x("CLEAR_NARRATIVE"),iconName:"clear",style:"margin-left: 10px;",onclick:function(){n=0===n?1:0,e.setContents([]),r.update({lockedComps:function(){return{}},curNarrative:function(){return{included:!1,components:{}}}})}}),l.saved?[O()(ee,{label:x("CLONE_NARRATIVE"),iconName:"content_copy",style:"margin-left: 10px;",onclick:function(){var e,t=tV(l);t.id=A(),t.saved=!1,t.label=t3(l.label,null===(e=s.scenario.narratives)||void 0===e?void 0:e.map(function(e){return e.label})),ns(r,t)}}),O()(ee,{label:x("DELETE"),iconName:"delete",modalId:"deleteSavedNarrative"}),O()(eo,{id:"deleteSavedNarrative",title:x("DELETE_ITEM","title",{item:x("NARRATIVE")}),description:x("DELETE_ITEM","description",{item:x("NARRATIVE")}),buttons:[{label:x("CANCEL")},{label:x("OK"),onclick:function(){n=0,s.scenario.narratives=s.scenario.narratives.filter(function(e){return e.id!==l.id}),t=!0,e.setContents([]),t=!1,r.update({curNarrative:function(){return{included:!1,components:{}}},lockedComps:function(){}}),nr(r,s)}}]})]:[O()(ee,{label:x("SAVE_NARRATIVE"),iconName:"save",disabled:!l.label||!l.components||0===Object.keys(l.components).length,onclick:function(){ns(r,l)}})],y&&[O()(el,{key:Date.now(),className:"right mb0 w30",label:x("SELECT_NARRATIVE"),checkedId:l.saved?l.id:void 0,placeholder:x("i18n","pickOne"),options:w,onchange:function(i){if(i&&i.length>0){n++;var o=y.filter(function(e){return e.id===i[0]}).shift();t=!0,e.setContents(o&&o.desc?JSON.parse(o.desc):[]),t=!1,r.update({curNarrative:function(){return o},lockedComps:function(){return s.scenario.components.reduce(function(e,t){return e[t.id]=!0,e},{})}})}}})]]),h?O()(ce,cn(ct({},r),{template:h})):"",f.map(function(e,t){return O()(".col.s12",{className:"m".concat(Math.round(12/f.length)),key:1e4*n+t},O()(co,cn(ct({},r),{catId:e.id,excluded:b})))}),O()(".col.s12",[O()(".row",[O()(ei,{className:"col s6 m3",initialValue:l.label,label:x("NAME_NARRATIVE"),required:!0,onchange:function(e){l.label=e,na(r,l)}}),O()(er,{className:"col s6 m3 mt25",checked:l.included,label:x("INCLUDE_NARRATIVE"),onchange:function(e){l.included=e,na(r,l)}}),s.scenario.includeDecisionSupport&&[O()(el,{key:"prob".concat(l.id),placeholder:x("i18n","pick"),className:"col s6 m2",label:x("PROBABILITY"),initialValue:l.probability,options:tO(0,4).map(function(e){return{id:"probability_".concat(e),label:x("PROB5",e)}}),onchange:function(e){l.probability=e[0],cr(l),na(r,l)}}),O()(el,{key:"imp".concat(l.id),placeholder:x("i18n","pick"),className:"col s6 m2",label:x("IMPACT"),initialValue:l.impact,options:tO(0,4).map(function(e){return{id:"impact_".concat(e),label:x("IMP5",e)}}),onchange:function(e){l.impact=e[0],cr(l),na(r,l)}}),O()(el,{key:"".concat(l.id,"-").concat(l.probability,"-").concat(l.impact),placeholder:x("RISK_PLACEHOLDER"),className:"col s6 m2",label:x("RISK"),initialValue:l.risk,options:tO(0,4).map(function(e){return{id:"risk_".concat(e),label:x("RISK5",e)}}),disabled:!0})]]),[O()("#editor",{oncreate:function(){(e=new at("#editor",{modules:{toolbar:[[{header:[1,2,!1]}],["bold","italic","underline","strike"],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{color:[]}],[{align:[]}],["image","code-block"]]},placeholder:x("EDITOR_PLACEHOLDER"),readOnly:!1,theme:"snow"})).on("text-change",function(){if(!t){var n=r.getState().curNarrative;n&&(n.desc=JSON.stringify(e.getContents()),na(r,n))}}),l&&e.setContents(l.desc?JSON.parse(l.desc):[])}})]])])}}},ca=n("3205"),cl=function(e){var t=e.body,n=e.lang,i=e.css;return'\n\n\n\n ').concat(void 0===i?cc:i,"\n\n\n\n ").concat(t,"\n\n\n")},cc="";function cu(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}var cd=function(){var e;return{oninit:function(){return e=A()},view:function(t){var n=t.attrs,i=n.curNarrative,r=n.comps,o=(void 0===i?{}:i).components,s=r&&r.reduce(function(e,t){return t.values&&t.values.forEach(function(n){e[t.id+n.id]=n.label}),e},{});return[O()("table.highlight",{id:e},[O()("thead",O()("tr",[O()("th",x("DIMENSION")),O()("th",x("KEY_VALUE"))])),O()("tbody",o&&r&&s&&r.filter(function(e){return o[e.id]}).map(function(e){return O()("tr",[O()("th",e.label),O()("td",o[e.id].map(function(t){return s[e.id+t]}).join(", "))])}))]),O()(ee,{label:x("COPY_TO_CLIPBOARD"),className:"right",iconName:"content_copy",onclick:function(){var t=function(t){if(!!t.clipboardData){var n=document.getElementById(e);n&&(console.log(n.outerHTML),t.clipboardData.setData("text/html",cl({body:n.outerHTML,lang:nk.currentLocale})),t.preventDefault())}};document.addEventListener("copy",t),document.execCommand("copy"),document.removeEventListener("copy",t)}})]}}},ch=function(){var e,t,n,i=(t=(e=function(e,t){var i,r,o;return function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]1;if((!l||!l.saved)&&a.scenario.narratives&&a.scenario.narratives.length>0){var g=a.scenario.narratives[0];o.update({curNarrative:function(){return tk(g)}});return}var v=t0(a.scenario.narratives);return O()(".show-scenario.row",[O()("a#downloadAnchorElem",{style:"display:none"}),O()(".col.s12",{style:"font-size: 24px"},[a.scenario&&a.scenario.narratives&&a.scenario.narratives.length>0&&[O()(el,{className:"left mb0 mw30",label:x("SELECT_NARRATIVE"),checkedId:l&&l.saved?l.id:void 0,placeholder:x("i18n","pickOne"),options:v,onchange:function(e){if(e&&e.length>0){var t=a.scenario.narratives.filter(function(t){return t.id===e[0]}).shift();t&&n.setContents(t.desc?JSON.parse(t.desc):[]),o.update({curNarrative:function(){return tk(t)},lockedComps:function(){return a.scenario.components.reduce(function(e,t){return e[t.id]=!0,e},{})}})}}}),l&&[l.risk&&O()("img[title=risk-status].right",{src:t2(t5(t1[+l.risk.replace("risk_","")],48))}),O()(ee,{label:x("EXPORT2WORD"),iconName:"download",className:"right mt5",disabled:!l.desc,onclick:function(){return i(a,l.label)}}),O()(er,{checked:l.included,label:x("NARRATIVE_INCLUDED"),disabled:!0,className:"right"})]]]),l&&[O()(".col.s12",{oncreate:function(){(n=new at("#editor",{modules:{toolbar:!1},readOnly:!0,theme:"snow"})).setContents(l.desc?JSON.parse(l.desc):[])}},[O()(".col.s12",[O()("#editor.row",{})])]),u?O()(".col.s12",O()(ce,(t=function(e){for(var t=1;t=0});return O()(".col",{className:"s".concat(12/h.length)},m&&O()("h5",e.label),O()(cd,{curNarrative:l,comps:n}))})]))]])}}};function cp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n1&&void 0!==arguments[1]?arguments[1]:"",n=this.dashboards.filter(function(t){return t.id===e}).shift();return n?"#!".concat(n.route.replace(/:\w*/,"")).concat(t):this.defaultRoute}},{key:"switchTo",value:function(e,t,n){var i=this.dashboards.filter(function(t){return t.id===e}).shift();if(i){var r=i.route+(n?"?"+O().buildQueryString(n):"");O().route.set(r,t)}}},{key:"routingTable",value:function(){return this.dashboards.reduce(function(e,t){return e[t.route]=!1===t.hasNavBar?{render:function(){return O()(t.component,np())}}:{render:function(){return O()(nL,np(),O()(t.component,np()))}},e},{})}}],cy(e.prototype,t),i}());window.onbeforeunload=function(e){"true"!==localStorage.getItem(t$)&&(localStorage.setItem(t$,"true"),e.preventDefault(),e.returnValue="")},nk.addOnChangeListener(function(e){console.log("Language loaded"),cb.init(),O().route(document.body,cb.defaultRoute,cb.routingTable())}),nk.init({en:{name:"English",fqn:"en-UK",default:!0},nl:{name:"Nederlands",fqn:"nl-NL"}},window.localStorage.getItem(tH)||"nl")}},t={};function n(i){var r=t[i];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var o=t[i]={id:i,loaded:!1,exports:{}};try{var s={id:i,module:o,factory:e[i],require:n};n.i.forEach(function(e){e(s)}),o=s.module,!s.factory&&console.error("undefined factory",i),s.factory.call(o.exports,o,o.exports,s.require)}catch(e){throw o.error=e,e}return o.loaded=!0,o.exports}n.m=e,n.c=t,n.i=[],n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.k=function(e){return"main.css"},n.hu=function(e){return""+e+"."+n.h()+".hot-update.js"},n.h=function(){return"2f54983e57f4df53"},n.hmrF=function(){return"main."+n.h()+".hot-update.json"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},(()=>{var e,t,i,r={},o=n.c,s=[],a=[],l="idle",c=0,u=[];n.hmrD=r,n.i.push(function(u){var m=u.module,g=function(t,n){var i=o[n];if(!i)return t;var r=function(r){if(i.hot.active){if(o[r]){var a=o[r].parents;-1===a.indexOf(n)&&a.push(n)}else s=[n],e=r;-1===i.children.indexOf(r)&&i.children.push(r)}else console.warn("[HMR] unexpected require("+r+") from disposed module "+n),s=[];return t(r)},a=function(e){return{configurable:!0,enumerable:!0,get:function(){return t[e]},set:function(n){t[e]=n}}};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&"e"!==u&&Object.defineProperty(r,u,a(u));return r.e=function(e,n){return function(e){switch(l){case"ready":d("prepare");case"prepare":return c++,e.then(h,h),e;default:return e}}(t.e(e,n))},r}(u.require,u.id);m.hot=function(o,c){var u=e!==o,h={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:u,_requireSelf:function(){s=c.parents.slice(),e=u?void 0:o,n(o)},active:!0,accept:function(e,t,n){if(void 0===e)h._selfAccepted=!0;else if("function"==typeof e)h._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var i=0;i=0&&h._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":t=[],Object.keys(n.hmrI).forEach(function(e){n.hmrI[e](o,t)}),d("ready");break;case"ready":Object.keys(n.hmrI).forEach(function(e){n.hmrI[e](o,t)});break;case"prepare":case"check":case"dispose":case"apply":(i=i||[]).push(o)}},check:p,apply:f,status:function(e){if(!e)return l;a.push(e)},addStatusHandler:function(e){a.push(e)},removeStatusHandler:function(e){var t=a.indexOf(e);t>=0&&a.splice(t,1)},data:r[o]};return e=void 0,h}(u.id,m),m.parents=s,m.children=[],s=[],u.require=g}),n.hmrC={},n.hmrI={};function d(e){l=e;for(var t=[],n=0;n0)return d("abort").then(function(){throw o[0]});var s=d("dispose");r.forEach(function(e){e.dispose&&e.dispose()});var a=d("apply"),l=function(e){!n&&(n=e)},c=[];return r.forEach(function(e){if(e.apply){var t=e.apply(l);if(t)for(var n=0;ne.indexOf(t)&&e.push(t)}),e}):d("idle").then(function(){return c})})}function g(){if(i)return!t&&(t=[]),Object.keys(n.hmrI).forEach(function(e){i.forEach(function(i){n.hmrI[e](i,t)})}),i=void 0,!0}})(),(()=>{var e={},t="gui:";n.l=function(i,r,o,s){if(e[i]){e[i].push(r);return}if(void 0!==o){for(var a,l,c=document.getElementsByTagName("script"),u=0;u{n.g.importScripts&&(e=n.g.location+"");var e,t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length){for(var r=i.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=i[r--].src}}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={},t=(t,i,o)=>{var s,a,l="",c="",u="",d={},h=[],p="--webpack-gui-"+o,f=1,m={};try{!i&&(i=r(o));for(var g=i.sheet.cssRules||i.sheet.rules,v=g.length-1;v>-1&&!s;){var y=g[v--].style;if(!!y)s=y.getPropertyValue(p)}}catch(e){}if(!s&&(s=getComputedStyle(document.head).getPropertyValue(p)),!s)return[];var b,w={},_=s[0],E=_,x=_,k=256;for(a=1;a65535&&(k=256,w={}),E=b;for(a=0,s=x;f;a++)58==(f=s.charCodeAt(a))?(c=l,l=""):47==f?(l=l.replace(/^_/,""),c=c.replace(/^_/,""),u?m.push(c,u,l):d[c]=void 0===d[c]?l:d[c]+" "+l,l="",c="",u=""):38==f?n.r(d):f&&44!=f?92==f?l+=s[++a]:64==f?(u=l,l=""):l+=s[a]:(t[l=l.replace(/^_/,"")]=((e,t,i)=>{!function(e,t){for(var i=0;ia.indexOf("?")?"?":"&")+"hmr="+Date.now(),function(r){if("load"!==r.type){var a=Error(),d=r&&r.type,p=r&&r.target&&r.target.src;a.message="Loading css hot update chunk "+e+" failed.\n("+d+": "+p+")",a.name="ChunkLoadError",a.type=d,a.request=p,i(a)}else{try{if(l(c)==l(u))return u.parentNode&&u.parentNode.removeChild(u),n()}catch(e){}var f={};t(f,u,e),Object.keys(f).forEach(function(e){h.push(e)}),u.sheet.disabled=!0,o.push(c),s.push([e,u]),n()}},c)}))})}})(),(()=>{var e,t,i,r,o,s=n.hmrS_jsonp=n.hmrS_jsonp||{909:0},a={};function l(t,i){return e=i,new Promise(function(e,i){a[t]=e;var r=n.p+n.hu(t),o=Error();n.l(r,function(e){if(a[t]){a[t]=void 0;var n=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;o.message="Loading hot update chunk "+t+" failed.\n("+n+": "+r+")",o.name="ChunkLoadError",o.type=n,o.request=r,i(o)}})})}function c(e){n.f&&delete n.f.jsonpHmr,t=void 0;function a(e,t){for(var n=0;n0;){var o=r.pop(),s=o.id,l=o.chain,c=n.c[s];if(!!c&&(!c.hot._selfAccepted||!!c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:l,moduleId:s};if(c.hot._main)return{type:"unaccepted",chain:l,moduleId:s};for(var u=0;u ")),m.type){case"self-declined":e.onDeclined&&e.onDeclined(m),!e.ignoreDeclined&&(g=Error("Aborted because of self decline: "+m.moduleId+b));break;case"declined":e.onDeclined&&e.onDeclined(m),!e.ignoreDeclined&&(g=Error("Aborted because of declined dependency: "+m.moduleId+" in "+m.parentId+b));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(m),!e.ignoreUnaccepted&&(g=Error("Aborted because "+p+" is not accepted"+b));break;case"accepted":e.onAccepted&&e.onAccepted(m),v=!0;break;case"disposed":e.onDisposed&&e.onDisposed(m),y=!0;break;default:throw Error("Unexception type "+m.type)}if(g)return{error:g};if(v)for(p in d[p]=f,a(u,m.outdatedModules),m.outdatedDependencies)n.o(m.outdatedDependencies,p)&&(!c[p]&&(c[p]=[]),a(c[p],m.outdatedDependencies[p]));y&&(a(u,[m.moduleId]),d[p]=h)}i=void 0;for(var w=[],_=0;_0;){var o=i.pop(),a=n.c[o];if(!!a){var d={},h=a.hot._disposeHandlers;for(_=0;_=0&&p.parents.splice(e,1)}}}for(var f in c)if(n.o(c,f)&&(a=n.c[f]))for(_=0,l=c[f];_=0&&a.children.splice(e,1)},apply:function(t){for(var i in d)n.o(d,i)&&(n.m[i]=d[i]);for(var r=0;r*/\n\nvar pna = __webpack_require__(15);\n/**/\n\n/**/\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) {\n keys.push(key);\n }return keys;\n};\n/**/\n\nmodule.exports = Duplex;\n\n/**/\nvar util = __webpack_require__(14);\nutil.inherits = __webpack_require__(7);\n/**/\n\nvar Readable = __webpack_require__(57);\nvar Writable = __webpack_require__(29);\n\nutil.inherits(Duplex, Readable);\n\n{\n // avoid scope creep, the keys array can then be collected\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\n\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n\n Readable.call(this, options);\n Writable.call(this, options);\n\n if (options && options.readable === false) this.readable = false;\n\n if (options && options.writable === false) this.writable = false;\n\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;\n\n this.once('end', onend);\n}\n\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// the no-half-open enforcer\nfunction onend() {\n // if we allow half-open state, or if the writable side ended,\n // then we're ok.\n if (this.allowHalfOpen || this._writableState.ended) return;\n\n // no more data can be written.\n // But allow more writes to happen in this tick.\n pna.nextTick(onEndNT, this);\n}\n\nfunction onEndNT(self) {\n self.end();\n}\n\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});\n\nDuplex.prototype._destroy = function (err, cb) {\n this.push(null);\n this.end();\n\n pna.nextTick(cb, err);\n};\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\n\nvar base64 = __webpack_require__(144)\nvar ieee754 = __webpack_require__(145)\nvar isArray = __webpack_require__(55)\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return ''\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4)))\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports) {\n\nif (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar SpaceType;\r\n(function (SpaceType) {\r\n SpaceType[\"DEFAULT\"] = \"default\";\r\n SpaceType[\"PRESERVE\"] = \"preserve\";\r\n})(SpaceType = exports.SpaceType || (exports.SpaceType = {}));\r\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst emphasis_mark_1 = __webpack_require__(33);\r\nconst formatting_1 = __webpack_require__(68);\r\nconst run_fonts_1 = __webpack_require__(34);\r\nconst script_1 = __webpack_require__(69);\r\nconst style_1 = __webpack_require__(70);\r\nconst underline_1 = __webpack_require__(19);\r\nclass RunProperties extends xml_components_1.IgnoreIfEmptyXmlComponent {\r\n constructor(options) {\r\n super(\"w:rPr\");\r\n if (!options) {\r\n return;\r\n }\r\n if (options.bold) {\r\n this.push(new formatting_1.Bold());\r\n }\r\n if ((options.boldComplexScript === undefined && options.bold) || options.boldComplexScript) {\r\n this.push(new formatting_1.BoldComplexScript());\r\n }\r\n if (options.italics) {\r\n this.push(new formatting_1.Italics());\r\n }\r\n if ((options.italicsComplexScript === undefined && options.italics) || options.italicsComplexScript) {\r\n this.push(new formatting_1.ItalicsComplexScript());\r\n }\r\n if (options.underline) {\r\n this.push(new underline_1.Underline(options.underline.type, options.underline.color));\r\n }\r\n if (options.emphasisMark) {\r\n this.push(new emphasis_mark_1.EmphasisMark(options.emphasisMark.type));\r\n }\r\n if (options.color) {\r\n this.push(new formatting_1.Color(options.color));\r\n }\r\n if (options.size) {\r\n this.push(new formatting_1.Size(options.size));\r\n }\r\n const szCs = options.sizeComplexScript === undefined || options.sizeComplexScript === true ? options.size : options.sizeComplexScript;\r\n if (szCs) {\r\n this.push(new formatting_1.SizeComplexScript(szCs));\r\n }\r\n if (options.rightToLeft) {\r\n this.push(new formatting_1.RightToLeft());\r\n }\r\n if (options.smallCaps) {\r\n this.push(new formatting_1.SmallCaps());\r\n }\r\n if (options.allCaps) {\r\n this.push(new formatting_1.Caps());\r\n }\r\n if (options.strike) {\r\n this.push(new formatting_1.Strike());\r\n }\r\n if (options.doubleStrike) {\r\n this.push(new formatting_1.DoubleStrike());\r\n }\r\n if (options.subScript) {\r\n this.push(new script_1.SubScript());\r\n }\r\n if (options.superScript) {\r\n this.push(new script_1.SuperScript());\r\n }\r\n if (options.style) {\r\n this.push(new style_1.Style(options.style));\r\n }\r\n if (options.font) {\r\n if (typeof options.font === \"string\") {\r\n this.push(new run_fonts_1.RunFonts(options.font));\r\n }\r\n else if (\"name\" in options.font) {\r\n this.push(new run_fonts_1.RunFonts(options.font.name, options.font.hint));\r\n }\r\n else {\r\n this.push(new run_fonts_1.RunFonts(options.font));\r\n }\r\n }\r\n if (options.highlight) {\r\n this.push(new formatting_1.Highlight(options.highlight));\r\n }\r\n const highlightCs = options.highlightComplexScript === undefined || options.highlightComplexScript === true\r\n ? options.highlight\r\n : options.highlightComplexScript;\r\n if (highlightCs) {\r\n this.push(new formatting_1.HighlightComplexScript(highlightCs));\r\n }\r\n if (options.characterSpacing) {\r\n this.push(new formatting_1.CharacterSpacing(options.characterSpacing));\r\n }\r\n const shading = options.shading || options.shadow;\r\n if (shading) {\r\n this.push(new formatting_1.Shading(shading.type, shading.fill, shading.color));\r\n }\r\n const shdCs = options.shadingComplexScript === undefined || options.shadingComplexScript === true ? shading : options.shadingComplexScript;\r\n if (shdCs) {\r\n this.push(new formatting_1.ShadowComplexScript(shdCs.type, shdCs.fill, shdCs.color));\r\n }\r\n }\r\n push(item) {\r\n this.root.push(item);\r\n }\r\n}\r\nexports.RunProperties = RunProperties;\r\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(265));\r\n__export(__webpack_require__(38));\r\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass DocumentAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n wpc: \"xmlns:wpc\",\r\n mc: \"xmlns:mc\",\r\n o: \"xmlns:o\",\r\n r: \"xmlns:r\",\r\n m: \"xmlns:m\",\r\n v: \"xmlns:v\",\r\n wp14: \"xmlns:wp14\",\r\n wp: \"xmlns:wp\",\r\n w10: \"xmlns:w10\",\r\n w: \"xmlns:w\",\r\n w14: \"xmlns:w14\",\r\n w15: \"xmlns:w15\",\r\n wpg: \"xmlns:wpg\",\r\n wpi: \"xmlns:wpi\",\r\n wne: \"xmlns:wne\",\r\n wps: \"xmlns:wps\",\r\n Ignorable: \"mc:Ignorable\",\r\n cp: \"xmlns:cp\",\r\n dc: \"xmlns:dc\",\r\n dcterms: \"xmlns:dcterms\",\r\n dcmitype: \"xmlns:dcmitype\",\r\n xsi: \"xmlns:xsi\",\r\n type: \"xsi:type\",\r\n };\r\n }\r\n}\r\nexports.DocumentAttributes = DocumentAttributes;\r\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(1));\r\n__export(__webpack_require__(262));\r\n__export(__webpack_require__(280));\r\n__export(__webpack_require__(339));\r\n__export(__webpack_require__(133));\r\n__export(__webpack_require__(50));\r\n__export(__webpack_require__(72));\r\n__export(__webpack_require__(114));\r\n__export(__webpack_require__(23));\r\n__export(__webpack_require__(340));\r\n__export(__webpack_require__(0));\r\n__export(__webpack_require__(49));\r\n__export(__webpack_require__(46));\r\n__export(__webpack_require__(132));\r\n__export(__webpack_require__(131));\r\n__export(__webpack_require__(347));\r\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports) {\n\n// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\n\nfunction isArray(arg) {\n if (Array.isArray) {\n return Array.isArray(arg);\n }\n return objectToString(arg) === '[object Array]';\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n return objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n return objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n return (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = Buffer.isBuffer;\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(6).Buffer))\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {\n\nif (typeof process === 'undefined' ||\n !process.version ||\n process.version.indexOf('v0.') === 0 ||\n process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {\n module.exports = { nextTick: nextTick };\n} else {\n module.exports = process\n}\n\nfunction nextTick(fn, arg1, arg2, arg3) {\n if (typeof fn !== 'function') {\n throw new TypeError('\"callback\" argument must be a function');\n }\n var len = arguments.length;\n var args, i;\n switch (len) {\n case 0:\n case 1:\n return process.nextTick(fn);\n case 2:\n return process.nextTick(function afterTickOne() {\n fn.call(null, arg1);\n });\n case 3:\n return process.nextTick(function afterTickTwo() {\n fn.call(null, arg1, arg2);\n });\n case 4:\n return process.nextTick(function afterTickThree() {\n fn.call(null, arg1, arg2, arg3);\n });\n default:\n args = new Array(len - 1);\n i = 0;\n while (i < args.length) {\n args[i++] = arguments[i];\n }\n return process.nextTick(function afterTick() {\n fn.apply(null, args);\n });\n }\n}\n\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(13)))\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(6)\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst break_1 = __webpack_require__(67);\r\nconst field_1 = __webpack_require__(18);\r\nconst page_number_1 = __webpack_require__(161);\r\nconst properties_1 = __webpack_require__(9);\r\nconst text_1 = __webpack_require__(71);\r\nvar PageNumber;\r\n(function (PageNumber) {\r\n PageNumber[\"CURRENT\"] = \"CURRENT\";\r\n PageNumber[\"TOTAL_PAGES\"] = \"TOTAL_PAGES\";\r\n PageNumber[\"TOTAL_PAGES_IN_SECTION\"] = \"TOTAL_PAGES_IN_SECTION\";\r\n})(PageNumber = exports.PageNumber || (exports.PageNumber = {}));\r\nclass Run extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:r\");\r\n this.properties = new properties_1.RunProperties(options);\r\n this.root.push(this.properties);\r\n if (options.children) {\r\n for (const child of options.children) {\r\n if (typeof child === \"string\") {\r\n switch (child) {\r\n case PageNumber.CURRENT:\r\n this.root.push(new field_1.Begin());\r\n this.root.push(new page_number_1.Page());\r\n this.root.push(new field_1.Separate());\r\n this.root.push(new field_1.End());\r\n break;\r\n case PageNumber.TOTAL_PAGES:\r\n this.root.push(new field_1.Begin());\r\n this.root.push(new page_number_1.NumberOfPages());\r\n this.root.push(new field_1.Separate());\r\n this.root.push(new field_1.End());\r\n break;\r\n case PageNumber.TOTAL_PAGES_IN_SECTION:\r\n this.root.push(new field_1.Begin());\r\n this.root.push(new page_number_1.NumberOfPagesSection());\r\n this.root.push(new field_1.Separate());\r\n this.root.push(new field_1.End());\r\n break;\r\n default:\r\n this.root.push(new text_1.Text(child));\r\n break;\r\n }\r\n continue;\r\n }\r\n this.root.push(child);\r\n }\r\n }\r\n else if (options.text) {\r\n this.root.push(new text_1.Text(options.text));\r\n }\r\n if (options.break) {\r\n for (let i = 0; i < options.break; i++) {\r\n this.root.splice(1, 0, new break_1.Break());\r\n }\r\n }\r\n }\r\n}\r\nexports.Run = Run;\r\n\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar FieldCharacterType;\r\n(function (FieldCharacterType) {\r\n FieldCharacterType[\"BEGIN\"] = \"begin\";\r\n FieldCharacterType[\"END\"] = \"end\";\r\n FieldCharacterType[\"SEPARATE\"] = \"separate\";\r\n})(FieldCharacterType || (FieldCharacterType = {}));\r\nclass FidCharAttrs extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { type: \"w:fldCharType\", dirty: \"w:dirty\" };\r\n }\r\n}\r\nclass Begin extends xml_components_1.XmlComponent {\r\n constructor(dirty) {\r\n super(\"w:fldChar\");\r\n this.root.push(new FidCharAttrs({ type: FieldCharacterType.BEGIN, dirty }));\r\n }\r\n}\r\nexports.Begin = Begin;\r\nclass Separate extends xml_components_1.XmlComponent {\r\n constructor(dirty) {\r\n super(\"w:fldChar\");\r\n this.root.push(new FidCharAttrs({ type: FieldCharacterType.SEPARATE, dirty }));\r\n }\r\n}\r\nexports.Separate = Separate;\r\nclass End extends xml_components_1.XmlComponent {\r\n constructor(dirty) {\r\n super(\"w:fldChar\");\r\n this.root.push(new FidCharAttrs({ type: FieldCharacterType.END, dirty }));\r\n }\r\n}\r\nexports.End = End;\r\n\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar UnderlineType;\r\n(function (UnderlineType) {\r\n UnderlineType[\"SINGLE\"] = \"single\";\r\n UnderlineType[\"WORDS\"] = \"words\";\r\n UnderlineType[\"DOUBLE\"] = \"double\";\r\n UnderlineType[\"THICK\"] = \"thick\";\r\n UnderlineType[\"DOTTED\"] = \"dotted\";\r\n UnderlineType[\"DOTTEDHEAVY\"] = \"dottedHeavy\";\r\n UnderlineType[\"DASH\"] = \"dash\";\r\n UnderlineType[\"DASHEDHEAVY\"] = \"dashedHeavy\";\r\n UnderlineType[\"DASHLONG\"] = \"dashLong\";\r\n UnderlineType[\"DASHLONGHEAVY\"] = \"dashLongHeavy\";\r\n UnderlineType[\"DOTDASH\"] = \"dotDash\";\r\n UnderlineType[\"DASHDOTHEAVY\"] = \"dashDotHeavy\";\r\n UnderlineType[\"DOTDOTDASH\"] = \"dotDotDash\";\r\n UnderlineType[\"DASHDOTDOTHEAVY\"] = \"dashDotDotHeavy\";\r\n UnderlineType[\"WAVE\"] = \"wave\";\r\n UnderlineType[\"WAVYHEAVY\"] = \"wavyHeavy\";\r\n UnderlineType[\"WAVYDOUBLE\"] = \"wavyDouble\";\r\n})(UnderlineType = exports.UnderlineType || (exports.UnderlineType = {}));\r\nclass BaseUnderline extends xml_components_1.XmlComponent {\r\n constructor(underlineType, color) {\r\n super(\"w:u\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: underlineType,\r\n color: color,\r\n }));\r\n }\r\n}\r\nexports.BaseUnderline = BaseUnderline;\r\nclass Underline extends BaseUnderline {\r\n constructor(underlineType = UnderlineType.SINGLE, color) {\r\n super(underlineType, color);\r\n }\r\n}\r\nexports.Underline = Underline;\r\nclass DashUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dash\");\r\n }\r\n}\r\nexports.DashUnderline = DashUnderline;\r\nclass DashDotDotHeavyUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dashDotDotHeavy\");\r\n }\r\n}\r\nexports.DashDotDotHeavyUnderline = DashDotDotHeavyUnderline;\r\nclass DashDotHeavyUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dashDotHeavy\");\r\n }\r\n}\r\nexports.DashDotHeavyUnderline = DashDotHeavyUnderline;\r\nclass DashLongUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dashLong\");\r\n }\r\n}\r\nexports.DashLongUnderline = DashLongUnderline;\r\nclass DashLongHeavyUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dashLongHeavy\");\r\n }\r\n}\r\nexports.DashLongHeavyUnderline = DashLongHeavyUnderline;\r\nclass DotDashUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dotDash\");\r\n }\r\n}\r\nexports.DotDashUnderline = DotDashUnderline;\r\nclass DotDotDashUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dotDotDash\");\r\n }\r\n}\r\nexports.DotDotDashUnderline = DotDotDashUnderline;\r\nclass DottedUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dotted\");\r\n }\r\n}\r\nexports.DottedUnderline = DottedUnderline;\r\nclass DottedHeavyUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"dottedHeavy\");\r\n }\r\n}\r\nexports.DottedHeavyUnderline = DottedHeavyUnderline;\r\nclass DoubleUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"double\");\r\n }\r\n}\r\nexports.DoubleUnderline = DoubleUnderline;\r\nclass SingleUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"single\");\r\n }\r\n}\r\nexports.SingleUnderline = SingleUnderline;\r\nclass ThickUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"thick\");\r\n }\r\n}\r\nexports.ThickUnderline = ThickUnderline;\r\nclass WaveUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"wave\");\r\n }\r\n}\r\nexports.WaveUnderline = WaveUnderline;\r\nclass WavyDoubleUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"wavyDouble\");\r\n }\r\n}\r\nexports.WavyDoubleUnderline = WavyDoubleUnderline;\r\nclass WavyHeavyUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"wavyHeavy\");\r\n }\r\n}\r\nexports.WavyHeavyUnderline = WavyHeavyUnderline;\r\nclass WordsUnderline extends BaseUnderline {\r\n constructor() {\r\n super(\"words\");\r\n }\r\n}\r\nexports.WordsUnderline = WordsUnderline;\r\n\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar randomFromSeed = __webpack_require__(221);\n\nvar ORIGINAL = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-';\nvar alphabet;\nvar previousSeed;\n\nvar shuffled;\n\nfunction reset() {\n shuffled = false;\n}\n\nfunction setCharacters(_alphabet_) {\n if (!_alphabet_) {\n if (alphabet !== ORIGINAL) {\n alphabet = ORIGINAL;\n reset();\n }\n return;\n }\n\n if (_alphabet_ === alphabet) {\n return;\n }\n\n if (_alphabet_.length !== ORIGINAL.length) {\n throw new Error('Custom alphabet for shortid must be ' + ORIGINAL.length + ' unique characters. You submitted ' + _alphabet_.length + ' characters: ' + _alphabet_);\n }\n\n var unique = _alphabet_.split('').filter(function(item, ind, arr){\n return ind !== arr.lastIndexOf(item);\n });\n\n if (unique.length) {\n throw new Error('Custom alphabet for shortid must be ' + ORIGINAL.length + ' unique characters. These characters were not unique: ' + unique.join(', '));\n }\n\n alphabet = _alphabet_;\n reset();\n}\n\nfunction characters(_alphabet_) {\n setCharacters(_alphabet_);\n return alphabet;\n}\n\nfunction setSeed(seed) {\n randomFromSeed.seed(seed);\n if (previousSeed !== seed) {\n reset();\n previousSeed = seed;\n }\n}\n\nfunction shuffle() {\n if (!alphabet) {\n setCharacters(ORIGINAL);\n }\n\n var sourceArray = alphabet.split('');\n var targetArray = [];\n var r = randomFromSeed.nextValue();\n var characterIndex;\n\n while (sourceArray.length > 0) {\n r = randomFromSeed.nextValue();\n characterIndex = Math.floor(r * sourceArray.length);\n targetArray.push(sourceArray.splice(characterIndex, 1)[0]);\n }\n return targetArray.join('');\n}\n\nfunction getShuffled() {\n if (shuffled) {\n return shuffled;\n }\n shuffled = shuffle();\n return shuffled;\n}\n\n/**\n * lookup shuffled letter\n * @param index\n * @returns {string}\n */\nfunction lookup(index) {\n var alphabetShuffled = getShuffled();\n return alphabetShuffled[index];\n}\n\nfunction get () {\n return alphabet || ORIGINAL;\n}\n\nmodule.exports = {\n get: get,\n characters: characters,\n seed: setSeed,\n lookup: lookup,\n shuffled: getShuffled\n};\n\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst alignment_1 = __webpack_require__(52);\r\nconst bidirectional_1 = __webpack_require__(230);\r\nconst border_1 = __webpack_require__(63);\r\nconst indent_1 = __webpack_require__(64);\r\nconst keep_1 = __webpack_require__(65);\r\nconst page_break_1 = __webpack_require__(66);\r\nconst spacing_1 = __webpack_require__(82);\r\nconst style_1 = __webpack_require__(83);\r\nconst tab_stop_1 = __webpack_require__(84);\r\nconst unordered_list_1 = __webpack_require__(85);\r\nconst links_1 = __webpack_require__(37);\r\nconst formatting_1 = __webpack_require__(68);\r\nclass ParagraphProperties extends xml_components_1.IgnoreIfEmptyXmlComponent {\r\n constructor(options) {\r\n super(\"w:pPr\");\r\n if (!options) {\r\n return;\r\n }\r\n if (options.border) {\r\n this.push(new border_1.Border(options.border));\r\n }\r\n if (options.spacing) {\r\n this.push(new spacing_1.Spacing(options.spacing));\r\n }\r\n if (options.outlineLevel !== undefined) {\r\n this.push(new links_1.OutlineLevel(options.outlineLevel));\r\n }\r\n if (options.alignment) {\r\n this.push(new alignment_1.Alignment(options.alignment));\r\n }\r\n if (options.heading) {\r\n this.push(new style_1.Style(options.heading));\r\n }\r\n if (options.bidirectional) {\r\n this.push(new bidirectional_1.Bidirectional());\r\n }\r\n if (options.thematicBreak) {\r\n this.push(new border_1.ThematicBreak());\r\n }\r\n if (options.pageBreakBefore) {\r\n this.push(new page_break_1.PageBreakBefore());\r\n }\r\n if (options.contextualSpacing) {\r\n this.push(new spacing_1.ContextualSpacing(options.contextualSpacing));\r\n }\r\n if (options.indent) {\r\n this.push(new indent_1.Indent(options.indent));\r\n }\r\n if (options.keepLines) {\r\n this.push(new keep_1.KeepLines());\r\n }\r\n if (options.keepNext) {\r\n this.push(new keep_1.KeepNext());\r\n }\r\n if (options.tabStops) {\r\n for (const tabStop of options.tabStops) {\r\n this.push(new tab_stop_1.TabStop(tabStop.type, tabStop.position, tabStop.leader));\r\n }\r\n }\r\n if (options.style) {\r\n this.push(new style_1.Style(options.style));\r\n }\r\n if (options.bullet) {\r\n this.push(new style_1.Style(\"ListParagraph\"));\r\n this.push(new unordered_list_1.NumberProperties(1, options.bullet.level));\r\n }\r\n if (options.numbering) {\r\n if (!options.numbering.custom) {\r\n this.push(new style_1.Style(\"ListParagraph\"));\r\n }\r\n this.push(new unordered_list_1.NumberProperties(options.numbering.reference, options.numbering.level));\r\n }\r\n if (options.rightTabStop) {\r\n this.push(new tab_stop_1.TabStop(tab_stop_1.TabStopType.RIGHT, options.rightTabStop));\r\n }\r\n if (options.leftTabStop) {\r\n this.push(new tab_stop_1.TabStop(tab_stop_1.TabStopType.LEFT, options.leftTabStop));\r\n }\r\n if (options.shading) {\r\n this.push(new formatting_1.Shading(options.shading.type, options.shading.fill, options.shading.color));\r\n }\r\n }\r\n push(item) {\r\n this.root.push(item);\r\n }\r\n}\r\nexports.ParagraphProperties = ParagraphProperties;\r\n\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst math_beginning_character_1 = __webpack_require__(257);\r\nconst math_ending_char_1 = __webpack_require__(258);\r\nclass MathBracketProperties extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"m:dPr\");\r\n if (!!options) {\r\n this.root.push(new math_beginning_character_1.MathBeginningCharacter(options.beginningCharacter));\r\n this.root.push(new math_ending_char_1.MathEndingCharacter(options.endingCharacter));\r\n }\r\n }\r\n}\r\nexports.MathBracketProperties = MathBracketProperties;\r\n\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(271));\r\n__export(__webpack_require__(43));\r\n__export(__webpack_require__(42));\r\n__export(__webpack_require__(106));\r\n\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst formatting_1 = __webpack_require__(51);\r\nconst properties_1 = __webpack_require__(21);\r\nconst properties_2 = __webpack_require__(9);\r\nvar LevelFormat;\r\n(function (LevelFormat) {\r\n LevelFormat[\"BULLET\"] = \"bullet\";\r\n LevelFormat[\"CARDINAL_TEXT\"] = \"cardinalText\";\r\n LevelFormat[\"CHICAGO\"] = \"chicago\";\r\n LevelFormat[\"DECIMAL\"] = \"decimal\";\r\n LevelFormat[\"DECIMAL_ENCLOSED_CIRCLE\"] = \"decimalEnclosedCircle\";\r\n LevelFormat[\"DECIMAL_ENCLOSED_FULLSTOP\"] = \"decimalEnclosedFullstop\";\r\n LevelFormat[\"DECIMAL_ENCLOSED_PARENTHESES\"] = \"decimalEnclosedParen\";\r\n LevelFormat[\"DECIMAL_ZERO\"] = \"decimalZero\";\r\n LevelFormat[\"LOWER_LETTER\"] = \"lowerLetter\";\r\n LevelFormat[\"LOWER_ROMAN\"] = \"lowerRoman\";\r\n LevelFormat[\"NONE\"] = \"none\";\r\n LevelFormat[\"ORDINAL_TEXT\"] = \"ordinalText\";\r\n LevelFormat[\"UPPER_LETTER\"] = \"upperLetter\";\r\n LevelFormat[\"UPPER_ROMAN\"] = \"upperRoman\";\r\n})(LevelFormat = exports.LevelFormat || (exports.LevelFormat = {}));\r\nclass LevelAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n ilvl: \"w:ilvl\",\r\n tentative: \"w15:tentative\",\r\n };\r\n }\r\n}\r\nclass Start extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:start\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nclass NumberFormat extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:numFmt\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nclass LevelText extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:lvlText\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nclass LevelJc extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:lvlJc\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nvar LevelSuffix;\r\n(function (LevelSuffix) {\r\n LevelSuffix[\"NOTHING\"] = \"nothing\";\r\n LevelSuffix[\"SPACE\"] = \"space\";\r\n LevelSuffix[\"TAB\"] = \"tab\";\r\n})(LevelSuffix = exports.LevelSuffix || (exports.LevelSuffix = {}));\r\nclass Suffix extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:suff\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nclass LevelBase extends xml_components_1.XmlComponent {\r\n constructor({ level, format, text, alignment = formatting_1.AlignmentType.START, start = 1, style, suffix }) {\r\n super(\"w:lvl\");\r\n this.root.push(new LevelAttributes({\r\n ilvl: level,\r\n tentative: 1,\r\n }));\r\n this.root.push(new Start(start));\r\n this.root.push(new LevelJc(alignment));\r\n if (format) {\r\n this.root.push(new NumberFormat(format));\r\n }\r\n if (text) {\r\n this.root.push(new LevelText(text));\r\n }\r\n this.paragraphProperties = new properties_1.ParagraphProperties(style && style.paragraph);\r\n this.runProperties = new properties_2.RunProperties(style && style.run);\r\n this.root.push(this.paragraphProperties);\r\n this.root.push(this.runProperties);\r\n if (suffix) {\r\n this.root.push(new Suffix(suffix));\r\n }\r\n }\r\n}\r\nexports.LevelBase = LevelBase;\r\nclass Level extends LevelBase {\r\n constructor(options) {\r\n super(options);\r\n }\r\n}\r\nexports.Level = Level;\r\nclass LevelForOverride extends LevelBase {\r\n}\r\nexports.LevelForOverride = LevelForOverride;\r\n\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nclass BaseXmlComponent {\r\n constructor(rootKey) {\r\n this.deleted = false;\r\n this.rootKey = rootKey;\r\n }\r\n get IsDeleted() {\r\n return this.deleted;\r\n }\r\n}\r\nexports.BaseXmlComponent = BaseXmlComponent;\r\n\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/*jslint node:true */\r\n\r\nvar xml2js = __webpack_require__(54);\r\nvar xml2json = __webpack_require__(156);\r\nvar js2xml = __webpack_require__(62);\r\nvar json2xml = __webpack_require__(157);\r\n\r\nmodule.exports = {\r\n xml2js: xml2js,\r\n xml2json: xml2json,\r\n js2xml: js2xml,\r\n json2xml: json2xml\r\n};\r\n\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction $getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return $getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = $getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n var args = [];\n for (var i = 0; i < arguments.length; i++) args.push(arguments[i]);\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n ReflectApply(this.listener, this.target, args);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(57);\nexports.Stream = exports;\nexports.Readable = exports;\nexports.Writable = __webpack_require__(29);\nexports.Duplex = __webpack_require__(5);\nexports.Transform = __webpack_require__(61);\nexports.PassThrough = __webpack_require__(151);\n\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process, setImmediate, global) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n\n\n/**/\n\nvar pna = __webpack_require__(15);\n/**/\n\nmodule.exports = Writable;\n\n/* */\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n}\n\n// It seems a linked list but it is not\n// there will be only 2 of these for each stream\nfunction CorkedRequest(state) {\n var _this = this;\n\n this.next = null;\n this.entry = null;\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\nvar asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nWritable.WritableState = WritableState;\n\n/**/\nvar util = __webpack_require__(14);\nutil.inherits = __webpack_require__(7);\n/**/\n\n/**/\nvar internalUtil = {\n deprecate: __webpack_require__(150)\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(58);\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(16).Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\nvar destroyImpl = __webpack_require__(59);\n\nutil.inherits(Writable, Stream);\n\nfunction nop() {}\n\nfunction WritableState(options, stream) {\n Duplex = Duplex || __webpack_require__(5);\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\n\n // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n var hwm = options.highWaterMark;\n var writableHwm = options.writableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // if _final has been called\n this.finalCalled = false;\n\n // drain event flag.\n this.needDrain = false;\n // at the start of calling end()\n this.ending = false;\n // when end() has been called, and returned\n this.ended = false;\n // when 'finish' is emitted\n this.finished = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n this.length = 0;\n\n // a flag to see when we're in the middle of a write.\n this.writing = false;\n\n // when true all writes will be buffered until .uncork() call\n this.corked = 0;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n this.bufferProcessing = false;\n\n // the callback that's passed to _write(chunk,cb)\n this.onwrite = function (er) {\n onwrite(stream, er);\n };\n\n // the callback that the user supplies to write(chunk,encoding,cb)\n this.writecb = null;\n\n // the amount that is being written when _write is called.\n this.writelen = 0;\n\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n\n // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n this.pendingcb = 0;\n\n // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n this.prefinished = false;\n\n // True if the error was already emitted and should not be thrown again\n this.errorEmitted = false;\n\n // count buffered requests\n this.bufferedRequestCount = 0;\n\n // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n this.corkedRequestsFree = new CorkedRequest(this);\n}\n\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\n\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function () {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})();\n\n// Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\nvar realHasInstance;\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function (object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function (object) {\n return object instanceof this;\n };\n}\n\nfunction Writable(options) {\n Duplex = Duplex || __webpack_require__(5);\n\n // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {\n return new Writable(options);\n }\n\n this._writableState = new WritableState(options, this);\n\n // legacy.\n this.writable = true;\n\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n\n if (typeof options.writev === 'function') this._writev = options.writev;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n\n if (typeof options.final === 'function') this._final = options.final;\n }\n\n Stream.call(this);\n}\n\n// Otherwise people can pipe Writable streams, which is just wrong.\nWritable.prototype.pipe = function () {\n this.emit('error', new Error('Cannot pipe, not readable'));\n};\n\nfunction writeAfterEnd(stream, cb) {\n var er = new Error('write after end');\n // TODO: defer error events consistently everywhere, not just the cb\n stream.emit('error', er);\n pna.nextTick(cb, er);\n}\n\n// Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\nfunction validChunk(stream, state, chunk, cb) {\n var valid = true;\n var er = false;\n\n if (chunk === null) {\n er = new TypeError('May not write null values to stream');\n } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n if (er) {\n stream.emit('error', er);\n pna.nextTick(cb, er);\n valid = false;\n }\n return valid;\n}\n\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n\n if (typeof cb !== 'function') cb = nop;\n\n if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n\n return ret;\n};\n\nWritable.prototype.cork = function () {\n var state = this._writableState;\n\n state.corked++;\n};\n\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n\n if (state.corked) {\n state.corked--;\n\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\n\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\n\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\n\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n var len = state.objectMode ? 1 : chunk.length;\n\n state.length += len;\n\n var ret = state.length < state.highWaterMark;\n // we must ensure that previous needDrain will not be reset to false.\n if (!ret) state.needDrain = true;\n\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n\n return ret;\n}\n\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\n\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n pna.nextTick(cb, er);\n // this can emit finish, and it will always happen\n // after error\n pna.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n // this can emit finish, but finish must\n // always follow error\n finishMaybe(stream, state);\n }\n}\n\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\n\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n\n onwriteStateUpdate(state);\n\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state);\n\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n\n if (sync) {\n /**/\n asyncWrite(afterWrite, stream, state, finished, cb);\n /**/\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\n\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n}\n\n// Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n}\n\n// if there's something in the buffer waiting, then process it\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n\n var count = 0;\n var allBuffers = true;\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n buffer.allBuffers = allBuffers;\n\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n\n // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--;\n // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n if (state.writing) {\n break;\n }\n }\n\n if (entry === null) state.lastBufferedRequest = null;\n }\n\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\n\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new Error('_write() is not implemented'));\n};\n\nWritable.prototype._writev = null;\n\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\n\n // .end() fully uncorks\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n\n // ignore unnecessary end() calls.\n if (!state.ending && !state.finished) endWritable(this, state, cb);\n};\n\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n if (err) {\n stream.emit('error', err);\n }\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function') {\n state.pendingcb++;\n state.finalCalled = true;\n pna.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\n\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n prefinish(stream, state);\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n }\n }\n return need;\n}\n\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\n\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n if (state.corkedRequestsFree) {\n state.corkedRequestsFree.next = corkReq;\n } else {\n state.corkedRequestsFree = corkReq;\n }\n}\n\nObject.defineProperty(Writable.prototype, 'destroyed', {\n get: function () {\n if (this._writableState === undefined) {\n return false;\n }\n return this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._writableState.destroyed = value;\n }\n});\n\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\nWritable.prototype._destroy = function (err, cb) {\n this.end();\n cb(err);\n};\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(13), __webpack_require__(60).setImmediate, __webpack_require__(4)))\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar Buffer = __webpack_require__(16).Buffer;\n/**/\n\nvar isEncoding = Buffer.isEncoding || function (encoding) {\n encoding = '' + encoding;\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\n return true;\n default:\n return false;\n }\n};\n\nfunction _normalizeEncoding(enc) {\n if (!enc) return 'utf8';\n var retried;\n while (true) {\n switch (enc) {\n case 'utf8':\n case 'utf-8':\n return 'utf8';\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return 'utf16le';\n case 'latin1':\n case 'binary':\n return 'latin1';\n case 'base64':\n case 'ascii':\n case 'hex':\n return enc;\n default:\n if (retried) return; // undefined\n enc = ('' + enc).toLowerCase();\n retried = true;\n }\n }\n};\n\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\n// modules monkey-patch it to support additional encodings\nfunction normalizeEncoding(enc) {\n var nenc = _normalizeEncoding(enc);\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\n return nenc || enc;\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters.\nexports.StringDecoder = StringDecoder;\nfunction StringDecoder(encoding) {\n this.encoding = normalizeEncoding(encoding);\n var nb;\n switch (this.encoding) {\n case 'utf16le':\n this.text = utf16Text;\n this.end = utf16End;\n nb = 4;\n break;\n case 'utf8':\n this.fillLast = utf8FillLast;\n nb = 4;\n break;\n case 'base64':\n this.text = base64Text;\n this.end = base64End;\n nb = 3;\n break;\n default:\n this.write = simpleWrite;\n this.end = simpleEnd;\n return;\n }\n this.lastNeed = 0;\n this.lastTotal = 0;\n this.lastChar = Buffer.allocUnsafe(nb);\n}\n\nStringDecoder.prototype.write = function (buf) {\n if (buf.length === 0) return '';\n var r;\n var i;\n if (this.lastNeed) {\n r = this.fillLast(buf);\n if (r === undefined) return '';\n i = this.lastNeed;\n this.lastNeed = 0;\n } else {\n i = 0;\n }\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\n return r || '';\n};\n\nStringDecoder.prototype.end = utf8End;\n\n// Returns only complete characters in a Buffer\nStringDecoder.prototype.text = utf8Text;\n\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\nStringDecoder.prototype.fillLast = function (buf) {\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\n this.lastNeed -= buf.length;\n};\n\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\n// continuation byte. If an invalid byte is detected, -2 is returned.\nfunction utf8CheckByte(byte) {\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\n return byte >> 6 === 0x02 ? -1 : -2;\n}\n\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\n// needed to complete the UTF-8 character (if applicable) are returned.\nfunction utf8CheckIncomplete(self, buf, i) {\n var j = buf.length - 1;\n if (j < i) return 0;\n var nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 1;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 2;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) {\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\n }\n return nb;\n }\n return 0;\n}\n\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\n// needed or are available. If we see a non-continuation byte where we expect\n// one, we \"replace\" the validated continuation bytes we've seen so far with\n// a single UTF-8 replacement character ('\\ufffd'), to match v8's UTF-8 decoding\n// behavior. The continuation byte check is included three times in the case\n// where all of the continuation bytes for a character exist in the same buffer.\n// It is also done this way as a slight performance increase instead of using a\n// loop.\nfunction utf8CheckExtraBytes(self, buf, p) {\n if ((buf[0] & 0xC0) !== 0x80) {\n self.lastNeed = 0;\n return '\\ufffd';\n }\n if (self.lastNeed > 1 && buf.length > 1) {\n if ((buf[1] & 0xC0) !== 0x80) {\n self.lastNeed = 1;\n return '\\ufffd';\n }\n if (self.lastNeed > 2 && buf.length > 2) {\n if ((buf[2] & 0xC0) !== 0x80) {\n self.lastNeed = 2;\n return '\\ufffd';\n }\n }\n }\n}\n\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\nfunction utf8FillLast(buf) {\n var p = this.lastTotal - this.lastNeed;\n var r = utf8CheckExtraBytes(this, buf, p);\n if (r !== undefined) return r;\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, p, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, p, 0, buf.length);\n this.lastNeed -= buf.length;\n}\n\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\n// partial character, the character's bytes are buffered until the required\n// number of bytes are available.\nfunction utf8Text(buf, i) {\n var total = utf8CheckIncomplete(this, buf, i);\n if (!this.lastNeed) return buf.toString('utf8', i);\n this.lastTotal = total;\n var end = buf.length - (total - this.lastNeed);\n buf.copy(this.lastChar, 0, end);\n return buf.toString('utf8', i, end);\n}\n\n// For UTF-8, a replacement character is added when ending on a partial\n// character.\nfunction utf8End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + '\\ufffd';\n return r;\n}\n\n// UTF-16LE typically needs two bytes per character, but even if we have an even\n// number of bytes available, we need to check if we end on a leading/high\n// surrogate. In that case, we need to wait for the next two bytes in order to\n// decode the last character properly.\nfunction utf16Text(buf, i) {\n if ((buf.length - i) % 2 === 0) {\n var r = buf.toString('utf16le', i);\n if (r) {\n var c = r.charCodeAt(r.length - 1);\n if (c >= 0xD800 && c <= 0xDBFF) {\n this.lastNeed = 2;\n this.lastTotal = 4;\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n return r.slice(0, -1);\n }\n }\n return r;\n }\n this.lastNeed = 1;\n this.lastTotal = 2;\n this.lastChar[0] = buf[buf.length - 1];\n return buf.toString('utf16le', i, buf.length - 1);\n}\n\n// For UTF-16LE we do not explicitly append special replacement characters if we\n// end on a partial character, we simply let v8 handle that.\nfunction utf16End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) {\n var end = this.lastTotal - this.lastNeed;\n return r + this.lastChar.toString('utf16le', 0, end);\n }\n return r;\n}\n\nfunction base64Text(buf, i) {\n var n = (buf.length - i) % 3;\n if (n === 0) return buf.toString('base64', i);\n this.lastNeed = 3 - n;\n this.lastTotal = 3;\n if (n === 1) {\n this.lastChar[0] = buf[buf.length - 1];\n } else {\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n }\n return buf.toString('base64', i, buf.length - n);\n}\n\nfunction base64End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\n return r;\n}\n\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\nfunction simpleWrite(buf) {\n return buf.toString(this.encoding);\n}\n\nfunction simpleEnd(buf) {\n return buf && buf.length ? this.write(buf) : '';\n}\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isArray = __webpack_require__(32).isArray;\r\n\r\nmodule.exports = {\r\n\r\n copyOptions: function (options) {\r\n var key, copy = {};\r\n for (key in options) {\r\n if (options.hasOwnProperty(key)) {\r\n copy[key] = options[key];\r\n }\r\n }\r\n return copy;\r\n },\r\n\r\n ensureFlagExists: function (item, options) {\r\n if (!(item in options) || typeof options[item] !== 'boolean') {\r\n options[item] = false;\r\n }\r\n },\r\n\r\n ensureSpacesExists: function (options) {\r\n if (!('spaces' in options) || (typeof options.spaces !== 'number' && typeof options.spaces !== 'string')) {\r\n options.spaces = 0;\r\n }\r\n },\r\n\r\n ensureAlwaysArrayExists: function (options) {\r\n if (!('alwaysArray' in options) || (typeof options.alwaysArray !== 'boolean' && !isArray(options.alwaysArray))) {\r\n options.alwaysArray = false;\r\n }\r\n },\r\n\r\n ensureKeyExists: function (key, options) {\r\n if (!(key + 'Key' in options) || typeof options[key + 'Key'] !== 'string') {\r\n options[key + 'Key'] = options.compact ? '_' + key : key;\r\n }\r\n },\r\n\r\n checkFnExists: function (key, options) {\r\n return key + 'Fn' in options;\r\n }\r\n\r\n};\r\n\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports) {\n\nmodule.exports = {\r\n\r\n isArray: function(value) {\r\n if (Array.isArray) {\r\n return Array.isArray(value);\r\n }\r\n // fallback for older browsers like IE 8\r\n return Object.prototype.toString.call( value ) === '[object Array]';\r\n }\r\n\r\n};\r\n\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar EmphasisMarkType;\r\n(function (EmphasisMarkType) {\r\n EmphasisMarkType[\"DOT\"] = \"dot\";\r\n})(EmphasisMarkType = exports.EmphasisMarkType || (exports.EmphasisMarkType = {}));\r\nclass BaseEmphasisMark extends xml_components_1.XmlComponent {\r\n constructor(emphasisMarkType) {\r\n super(\"w:em\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: emphasisMarkType,\r\n }));\r\n }\r\n}\r\nexports.BaseEmphasisMark = BaseEmphasisMark;\r\nclass EmphasisMark extends BaseEmphasisMark {\r\n constructor(emphasisMarkType = EmphasisMarkType.DOT) {\r\n super(emphasisMarkType);\r\n }\r\n}\r\nexports.EmphasisMark = EmphasisMark;\r\nclass DotEmphasisMark extends BaseEmphasisMark {\r\n constructor() {\r\n super(EmphasisMarkType.DOT);\r\n }\r\n}\r\nexports.DotEmphasisMark = DotEmphasisMark;\r\n\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass RunFontAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n ascii: \"w:ascii\",\r\n cs: \"w:cs\",\r\n eastAsia: \"w:eastAsia\",\r\n hAnsi: \"w:hAnsi\",\r\n hint: \"w:hint\",\r\n };\r\n }\r\n}\r\nclass RunFonts extends xml_components_1.XmlComponent {\r\n constructor(nameOrAttrs, hint) {\r\n super(\"w:rFonts\");\r\n if (typeof nameOrAttrs === \"string\") {\r\n const name = nameOrAttrs;\r\n this.root.push(new RunFontAttributes({\r\n ascii: name,\r\n cs: name,\r\n eastAsia: name,\r\n hAnsi: name,\r\n hint: hint,\r\n }));\r\n }\r\n else {\r\n const attrs = nameOrAttrs;\r\n this.root.push(new RunFontAttributes(attrs));\r\n }\r\n }\r\n}\r\nexports.RunFonts = RunFonts;\r\n\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar HorizontalPositionRelativeFrom;\r\n(function (HorizontalPositionRelativeFrom) {\r\n HorizontalPositionRelativeFrom[\"CHARACTER\"] = \"character\";\r\n HorizontalPositionRelativeFrom[\"COLUMN\"] = \"column\";\r\n HorizontalPositionRelativeFrom[\"INSIDE_MARGIN\"] = \"insideMargin\";\r\n HorizontalPositionRelativeFrom[\"LEFT_MARGIN\"] = \"leftMargin\";\r\n HorizontalPositionRelativeFrom[\"MARGIN\"] = \"margin\";\r\n HorizontalPositionRelativeFrom[\"OUTSIDE_MARGIN\"] = \"outsideMargin\";\r\n HorizontalPositionRelativeFrom[\"PAGE\"] = \"page\";\r\n HorizontalPositionRelativeFrom[\"RIGHT_MARGIN\"] = \"rightMargin\";\r\n})(HorizontalPositionRelativeFrom = exports.HorizontalPositionRelativeFrom || (exports.HorizontalPositionRelativeFrom = {}));\r\nvar VerticalPositionRelativeFrom;\r\n(function (VerticalPositionRelativeFrom) {\r\n VerticalPositionRelativeFrom[\"BOTTOM_MARGIN\"] = \"bottomMargin\";\r\n VerticalPositionRelativeFrom[\"INSIDE_MARGIN\"] = \"insideMargin\";\r\n VerticalPositionRelativeFrom[\"LINE\"] = \"line\";\r\n VerticalPositionRelativeFrom[\"MARGIN\"] = \"margin\";\r\n VerticalPositionRelativeFrom[\"OUTSIDE_MARGIN\"] = \"outsideMargin\";\r\n VerticalPositionRelativeFrom[\"PAGE\"] = \"page\";\r\n VerticalPositionRelativeFrom[\"PARAGRAPH\"] = \"paragraph\";\r\n VerticalPositionRelativeFrom[\"TOP_MARGIN\"] = \"topMargin\";\r\n})(VerticalPositionRelativeFrom = exports.VerticalPositionRelativeFrom || (exports.VerticalPositionRelativeFrom = {}));\r\nvar HorizontalPositionAlign;\r\n(function (HorizontalPositionAlign) {\r\n HorizontalPositionAlign[\"CENTER\"] = \"center\";\r\n HorizontalPositionAlign[\"INSIDE\"] = \"inside\";\r\n HorizontalPositionAlign[\"LEFT\"] = \"left\";\r\n HorizontalPositionAlign[\"OUTSIDE\"] = \"outside\";\r\n HorizontalPositionAlign[\"RIGHT\"] = \"right\";\r\n})(HorizontalPositionAlign = exports.HorizontalPositionAlign || (exports.HorizontalPositionAlign = {}));\r\nvar VerticalPositionAlign;\r\n(function (VerticalPositionAlign) {\r\n VerticalPositionAlign[\"BOTTOM\"] = \"bottom\";\r\n VerticalPositionAlign[\"CENTER\"] = \"center\";\r\n VerticalPositionAlign[\"INSIDE\"] = \"inside\";\r\n VerticalPositionAlign[\"OUTSIDE\"] = \"outside\";\r\n VerticalPositionAlign[\"TOP\"] = \"top\";\r\n})(VerticalPositionAlign = exports.VerticalPositionAlign || (exports.VerticalPositionAlign = {}));\r\n\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(200));\r\n__export(__webpack_require__(201));\r\n__export(__webpack_require__(202));\r\n__export(__webpack_require__(203));\r\n__export(__webpack_require__(204));\r\n\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(217));\r\n__export(__webpack_require__(219));\r\n__export(__webpack_require__(229));\r\n\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass CellBorderAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { style: \"w:val\", size: \"w:sz\", color: \"w:color\" };\r\n }\r\n}\r\nclass BaseTableCellBorder extends xml_components_1.XmlComponent {\r\n setProperties(style, size, color) {\r\n const attrs = new CellBorderAttributes({\r\n style: style,\r\n size: size,\r\n color: color,\r\n });\r\n this.root.push(attrs);\r\n return this;\r\n }\r\n}\r\nclass TableCellBorders extends xml_components_1.IgnoreIfEmptyXmlComponent {\r\n constructor() {\r\n super(\"w:tcBorders\");\r\n }\r\n addTopBorder(style, size, color) {\r\n const top = new BaseTableCellBorder(\"w:top\");\r\n top.setProperties(style, size, color);\r\n this.root.push(top);\r\n return this;\r\n }\r\n addStartBorder(style, size, color) {\r\n const start = new BaseTableCellBorder(\"w:start\");\r\n start.setProperties(style, size, color);\r\n this.root.push(start);\r\n return this;\r\n }\r\n addBottomBorder(style, size, color) {\r\n const bottom = new BaseTableCellBorder(\"w:bottom\");\r\n bottom.setProperties(style, size, color);\r\n this.root.push(bottom);\r\n return this;\r\n }\r\n addEndBorder(style, size, color) {\r\n const end = new BaseTableCellBorder(\"w:end\");\r\n end.setProperties(style, size, color);\r\n this.root.push(end);\r\n return this;\r\n }\r\n addLeftBorder(style, size, color) {\r\n const left = new BaseTableCellBorder(\"w:left\");\r\n left.setProperties(style, size, color);\r\n this.root.push(left);\r\n return this;\r\n }\r\n addRightBorder(style, size, color) {\r\n const right = new BaseTableCellBorder(\"w:right\");\r\n right.setProperties(style, size, color);\r\n this.root.push(right);\r\n return this;\r\n }\r\n}\r\nexports.TableCellBorders = TableCellBorders;\r\nclass GridSpanAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass GridSpan extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:gridSpan\");\r\n this.root.push(new GridSpanAttributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nexports.GridSpan = GridSpan;\r\nvar VerticalMergeType;\r\n(function (VerticalMergeType) {\r\n VerticalMergeType[\"CONTINUE\"] = \"continue\";\r\n VerticalMergeType[\"RESTART\"] = \"restart\";\r\n})(VerticalMergeType = exports.VerticalMergeType || (exports.VerticalMergeType = {}));\r\nclass VerticalMergeAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass VerticalMerge extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:vMerge\");\r\n this.root.push(new VerticalMergeAttributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nexports.VerticalMerge = VerticalMerge;\r\nvar VerticalAlign;\r\n(function (VerticalAlign) {\r\n VerticalAlign[\"BOTTOM\"] = \"bottom\";\r\n VerticalAlign[\"CENTER\"] = \"center\";\r\n VerticalAlign[\"TOP\"] = \"top\";\r\n})(VerticalAlign = exports.VerticalAlign || (exports.VerticalAlign = {}));\r\nclass VAlignAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass VAlign extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:vAlign\");\r\n this.root.push(new VAlignAttributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nexports.VAlign = VAlign;\r\nvar TextDirection;\r\n(function (TextDirection) {\r\n TextDirection[\"BOTTOM_TO_TOP_LEFT_TO_RIGHT\"] = \"btLr\";\r\n TextDirection[\"LEFT_TO_RIGHT_TOP_TO_BOTTOM\"] = \"lrTb\";\r\n TextDirection[\"TOP_TO_BOTTOM_RIGHT_TO_LEFT\"] = \"tbRl\";\r\n})(TextDirection = exports.TextDirection || (exports.TextDirection = {}));\r\nclass TDirectionAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass TDirection extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:textDirection\");\r\n this.root.push(new TDirectionAttributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nexports.TDirection = TDirection;\r\nvar WidthType;\r\n(function (WidthType) {\r\n WidthType[\"AUTO\"] = \"auto\";\r\n WidthType[\"DXA\"] = \"dxa\";\r\n WidthType[\"NIL\"] = \"nil\";\r\n WidthType[\"PERCENTAGE\"] = \"pct\";\r\n})(WidthType = exports.WidthType || (exports.WidthType = {}));\r\nclass TableCellWidthAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { width: \"w:w\", type: \"w:type\" };\r\n }\r\n}\r\nclass TableCellWidth extends xml_components_1.XmlComponent {\r\n constructor(value, type) {\r\n super(\"w:tcW\");\r\n this.root.push(new TableCellWidthAttributes({\r\n width: value,\r\n type: type,\r\n }));\r\n }\r\n}\r\nexports.TableCellWidth = TableCellWidth;\r\n\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(267));\r\n\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst components_1 = __webpack_require__(41);\r\nclass StyleAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n type: \"w:type\",\r\n styleId: \"w:styleId\",\r\n default: \"w:default\",\r\n customStyle: \"w:customStyle\",\r\n };\r\n }\r\n}\r\nclass Style extends xml_components_1.XmlComponent {\r\n constructor(attributes, name) {\r\n super(\"w:style\");\r\n this.root.push(new StyleAttributes(attributes));\r\n if (name) {\r\n this.root.push(new components_1.Name(name));\r\n }\r\n }\r\n}\r\nexports.Style = Style;\r\n\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass ComponentAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass Name extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:name\");\r\n this.root.push(new ComponentAttributes({ val: value }));\r\n }\r\n}\r\nexports.Name = Name;\r\nclass BasedOn extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:basedOn\");\r\n this.root.push(new ComponentAttributes({ val: value }));\r\n }\r\n}\r\nexports.BasedOn = BasedOn;\r\nclass Next extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:next\");\r\n this.root.push(new ComponentAttributes({ val: value }));\r\n }\r\n}\r\nexports.Next = Next;\r\nclass Link extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:link\");\r\n this.root.push(new ComponentAttributes({ val: value }));\r\n }\r\n}\r\nexports.Link = Link;\r\nclass UiPriority extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:uiPriority\");\r\n this.root.push(new ComponentAttributes({ val: value }));\r\n }\r\n}\r\nexports.UiPriority = UiPriority;\r\nclass UnhideWhenUsed extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:unhideWhenUsed\");\r\n }\r\n}\r\nexports.UnhideWhenUsed = UnhideWhenUsed;\r\nclass QuickFormat extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:qFormat\");\r\n }\r\n}\r\nexports.QuickFormat = QuickFormat;\r\nclass TableProperties extends xml_components_1.XmlComponent {\r\n}\r\nexports.TableProperties = TableProperties;\r\nclass RsId extends xml_components_1.XmlComponent {\r\n}\r\nexports.RsId = RsId;\r\nclass SemiHidden extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:semiHidden\");\r\n }\r\n}\r\nexports.SemiHidden = SemiHidden;\r\n\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst paragraph_1 = __webpack_require__(1);\r\nconst properties_1 = __webpack_require__(9);\r\nconst components_1 = __webpack_require__(41);\r\nconst style_1 = __webpack_require__(40);\r\nclass StyleForParagraph extends style_1.Style {\r\n constructor(options) {\r\n super({ type: \"paragraph\", styleId: options.id }, options.name);\r\n this.paragraphProperties = new paragraph_1.ParagraphProperties(options.paragraph);\r\n this.runProperties = new properties_1.RunProperties(options.run);\r\n this.root.push(this.paragraphProperties);\r\n this.root.push(this.runProperties);\r\n if (options.basedOn) {\r\n this.root.push(new components_1.BasedOn(options.basedOn));\r\n }\r\n if (options.next) {\r\n this.root.push(new components_1.Next(options.next));\r\n }\r\n if (options.quickFormat) {\r\n this.root.push(new components_1.QuickFormat());\r\n }\r\n if (options.link) {\r\n this.root.push(new components_1.Link(options.link));\r\n }\r\n if (options.semiHidden) {\r\n this.root.push(new components_1.SemiHidden());\r\n }\r\n if (options.uiPriority) {\r\n this.root.push(new components_1.UiPriority(options.uiPriority));\r\n }\r\n if (options.unhideWhenUsed) {\r\n this.root.push(new components_1.UnhideWhenUsed());\r\n }\r\n }\r\n}\r\nexports.StyleForParagraph = StyleForParagraph;\r\n\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst properties_1 = __webpack_require__(9);\r\nconst components_1 = __webpack_require__(41);\r\nconst style_1 = __webpack_require__(40);\r\nclass StyleForCharacter extends style_1.Style {\r\n constructor(options) {\r\n super({ type: \"character\", styleId: options.id }, options.name);\r\n this.runProperties = new properties_1.RunProperties(options.run);\r\n this.root.push(this.runProperties);\r\n this.root.push(new components_1.UiPriority(99));\r\n this.root.push(new components_1.UnhideWhenUsed());\r\n if (options.basedOn) {\r\n this.root.push(new components_1.BasedOn(options.basedOn));\r\n }\r\n if (options.link) {\r\n this.root.push(new components_1.Link(options.link));\r\n }\r\n if (options.semiHidden) {\r\n this.root.push(new components_1.SemiHidden());\r\n }\r\n }\r\n}\r\nexports.StyleForCharacter = StyleForCharacter;\r\n\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.convertMillimetersToTwip = (millimeters) => {\r\n return Math.floor((millimeters / 25.4) * 72 * 20);\r\n};\r\nexports.convertInchesToTwip = (inches) => {\r\n return Math.floor(inches * 72 * 20);\r\n};\r\n\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar PageOrientation;\r\n(function (PageOrientation) {\r\n PageOrientation[\"PORTRAIT\"] = \"portrait\";\r\n PageOrientation[\"LANDSCAPE\"] = \"landscape\";\r\n})(PageOrientation = exports.PageOrientation || (exports.PageOrientation = {}));\r\nclass PageSizeAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n width: \"w:w\",\r\n height: \"w:h\",\r\n orientation: \"w:orient\",\r\n };\r\n }\r\n}\r\nexports.PageSizeAttributes = PageSizeAttributes;\r\n\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst footer_1 = __webpack_require__(308);\r\nconst relationships_1 = __webpack_require__(47);\r\nclass FooterWrapper {\r\n constructor(media, referenceId, initContent) {\r\n this.media = media;\r\n this.footer = new footer_1.Footer(referenceId, initContent);\r\n this.relationships = new relationships_1.Relationships();\r\n }\r\n add(item) {\r\n this.footer.add(item);\r\n }\r\n addChildElement(childElement) {\r\n this.footer.addChildElement(childElement);\r\n }\r\n get Footer() {\r\n return this.footer;\r\n }\r\n get Relationships() {\r\n return this.relationships;\r\n }\r\n get Media() {\r\n return this.media;\r\n }\r\n}\r\nexports.FooterWrapper = FooterWrapper;\r\n\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(310));\r\n\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst relationship_attributes_1 = __webpack_require__(312);\r\nvar TargetModeType;\r\n(function (TargetModeType) {\r\n TargetModeType[\"EXTERNAL\"] = \"External\";\r\n})(TargetModeType = exports.TargetModeType || (exports.TargetModeType = {}));\r\nclass Relationship extends xml_components_1.XmlComponent {\r\n constructor(id, type, target, targetMode) {\r\n super(\"Relationship\");\r\n this.root.push(new relationship_attributes_1.RelationshipAttributes({\r\n id,\r\n type,\r\n target,\r\n targetMode,\r\n }));\r\n }\r\n}\r\nexports.Relationship = Relationship;\r\n\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst header_1 = __webpack_require__(326);\r\nconst relationships_1 = __webpack_require__(47);\r\nclass HeaderWrapper {\r\n constructor(media, referenceId, initContent) {\r\n this.media = media;\r\n this.header = new header_1.Header(referenceId, initContent);\r\n this.relationships = new relationships_1.Relationships();\r\n }\r\n add(item) {\r\n this.header.add(item);\r\n return this;\r\n }\r\n addChildElement(childElement) {\r\n this.header.addChildElement(childElement);\r\n }\r\n get Header() {\r\n return this.header;\r\n }\r\n get Relationships() {\r\n return this.relationships;\r\n }\r\n get Media() {\r\n return this.media;\r\n }\r\n}\r\nexports.HeaderWrapper = HeaderWrapper;\r\n\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(328));\r\n__export(__webpack_require__(329));\r\n\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(52));\r\n__export(__webpack_require__(63));\r\n__export(__webpack_require__(64));\r\n__export(__webpack_require__(65));\r\n__export(__webpack_require__(66));\r\n__export(__webpack_require__(82));\r\n__export(__webpack_require__(83));\r\n__export(__webpack_require__(84));\r\n__export(__webpack_require__(85));\r\n\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar AlignmentType;\r\n(function (AlignmentType) {\r\n AlignmentType[\"START\"] = \"start\";\r\n AlignmentType[\"END\"] = \"end\";\r\n AlignmentType[\"CENTER\"] = \"center\";\r\n AlignmentType[\"BOTH\"] = \"both\";\r\n AlignmentType[\"JUSTIFIED\"] = \"both\";\r\n AlignmentType[\"DISTRIBUTE\"] = \"distribute\";\r\n AlignmentType[\"LEFT\"] = \"left\";\r\n AlignmentType[\"RIGHT\"] = \"right\";\r\n})(AlignmentType = exports.AlignmentType || (exports.AlignmentType = {}));\r\nclass AlignmentAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nexports.AlignmentAttributes = AlignmentAttributes;\r\nclass Alignment extends xml_components_1.XmlComponent {\r\n constructor(type) {\r\n super(\"w:jc\");\r\n this.root.push(new AlignmentAttributes({ val: type }));\r\n }\r\n}\r\nexports.Alignment = Alignment;\r\n\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst base_1 = __webpack_require__(25);\r\nclass XmlAttributeComponent extends base_1.BaseXmlComponent {\r\n constructor(properties) {\r\n super(\"_attr\");\r\n this.root = properties;\r\n }\r\n prepForXml() {\r\n const attrs = {};\r\n Object.keys(this.root).forEach((key) => {\r\n const value = this.root[key];\r\n if (value !== undefined) {\r\n const newKey = (this.xmlKeys && this.xmlKeys[key]) || key;\r\n attrs[newKey] = value;\r\n }\r\n });\r\n return { _attr: attrs };\r\n }\r\n set(properties) {\r\n this.root = properties;\r\n }\r\n}\r\nexports.XmlAttributeComponent = XmlAttributeComponent;\r\n\n\n/***/ }),\n/* 54 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar sax = __webpack_require__(143);\r\nvar expat /*= require('node-expat');*/ = { on: function () { }, parse: function () { } };\r\nvar helper = __webpack_require__(31);\r\nvar isArray = __webpack_require__(32).isArray;\r\n\r\nvar options;\r\nvar pureJsParser = true;\r\nvar currentElement;\r\n\r\nfunction validateOptions(userOptions) {\r\n options = helper.copyOptions(userOptions);\r\n helper.ensureFlagExists('ignoreDeclaration', options);\r\n helper.ensureFlagExists('ignoreInstruction', options);\r\n helper.ensureFlagExists('ignoreAttributes', options);\r\n helper.ensureFlagExists('ignoreText', options);\r\n helper.ensureFlagExists('ignoreComment', options);\r\n helper.ensureFlagExists('ignoreCdata', options);\r\n helper.ensureFlagExists('ignoreDoctype', options);\r\n helper.ensureFlagExists('compact', options);\r\n helper.ensureFlagExists('alwaysChildren', options);\r\n helper.ensureFlagExists('addParent', options);\r\n helper.ensureFlagExists('trim', options);\r\n helper.ensureFlagExists('nativeType', options);\r\n helper.ensureFlagExists('nativeTypeAttributes', options);\r\n helper.ensureFlagExists('sanitize', options);\r\n helper.ensureFlagExists('instructionHasAttributes', options);\r\n helper.ensureFlagExists('captureSpacesBetweenElements', options);\r\n helper.ensureAlwaysArrayExists(options);\r\n helper.ensureKeyExists('declaration', options);\r\n helper.ensureKeyExists('instruction', options);\r\n helper.ensureKeyExists('attributes', options);\r\n helper.ensureKeyExists('text', options);\r\n helper.ensureKeyExists('comment', options);\r\n helper.ensureKeyExists('cdata', options);\r\n helper.ensureKeyExists('doctype', options);\r\n helper.ensureKeyExists('type', options);\r\n helper.ensureKeyExists('name', options);\r\n helper.ensureKeyExists('elements', options);\r\n helper.ensureKeyExists('parent', options);\r\n helper.checkFnExists('doctype', options);\r\n helper.checkFnExists('instruction', options);\r\n helper.checkFnExists('cdata', options);\r\n helper.checkFnExists('comment', options);\r\n helper.checkFnExists('text', options);\r\n helper.checkFnExists('instructionName', options);\r\n helper.checkFnExists('elementName', options);\r\n helper.checkFnExists('attributeName', options);\r\n helper.checkFnExists('attributeValue', options);\r\n helper.checkFnExists('attributes', options);\r\n return options;\r\n}\r\n\r\nfunction nativeType(value) {\r\n var nValue = Number(value);\r\n if (!isNaN(nValue)) {\r\n return nValue;\r\n }\r\n var bValue = value.toLowerCase();\r\n if (bValue === 'true') {\r\n return true;\r\n } else if (bValue === 'false') {\r\n return false;\r\n }\r\n return value;\r\n}\r\n\r\nfunction addField(type, value) {\r\n var key;\r\n if (options.compact) {\r\n if (\r\n !currentElement[options[type + 'Key']] &&\r\n (isArray(options.alwaysArray) ? options.alwaysArray.indexOf(options[type + 'Key']) !== -1 : options.alwaysArray)\r\n ) {\r\n currentElement[options[type + 'Key']] = [];\r\n }\r\n if (currentElement[options[type + 'Key']] && !isArray(currentElement[options[type + 'Key']])) {\r\n currentElement[options[type + 'Key']] = [currentElement[options[type + 'Key']]];\r\n }\r\n if (type + 'Fn' in options && typeof value === 'string') {\r\n value = options[type + 'Fn'](value, currentElement);\r\n }\r\n if (type === 'instruction' && ('instructionFn' in options || 'instructionNameFn' in options)) {\r\n for (key in value) {\r\n if (value.hasOwnProperty(key)) {\r\n if ('instructionFn' in options) {\r\n value[key] = options.instructionFn(value[key], key, currentElement);\r\n } else {\r\n var temp = value[key];\r\n delete value[key];\r\n value[options.instructionNameFn(key, temp, currentElement)] = temp;\r\n }\r\n }\r\n }\r\n }\r\n if (isArray(currentElement[options[type + 'Key']])) {\r\n currentElement[options[type + 'Key']].push(value);\r\n } else {\r\n currentElement[options[type + 'Key']] = value;\r\n }\r\n } else {\r\n if (!currentElement[options.elementsKey]) {\r\n currentElement[options.elementsKey] = [];\r\n }\r\n var element = {};\r\n element[options.typeKey] = type;\r\n if (type === 'instruction') {\r\n for (key in value) {\r\n if (value.hasOwnProperty(key)) {\r\n break;\r\n }\r\n }\r\n element[options.nameKey] = 'instructionNameFn' in options ? options.instructionNameFn(key, value, currentElement) : key;\r\n if (options.instructionHasAttributes) {\r\n element[options.attributesKey] = value[key][options.attributesKey];\r\n if ('instructionFn' in options) {\r\n element[options.attributesKey] = options.instructionFn(element[options.attributesKey], key, currentElement);\r\n }\r\n } else {\r\n if ('instructionFn' in options) {\r\n value[key] = options.instructionFn(value[key], key, currentElement);\r\n }\r\n element[options.instructionKey] = value[key];\r\n }\r\n } else {\r\n if (type + 'Fn' in options) {\r\n value = options[type + 'Fn'](value, currentElement);\r\n }\r\n element[options[type + 'Key']] = value;\r\n }\r\n if (options.addParent) {\r\n element[options.parentKey] = currentElement;\r\n }\r\n currentElement[options.elementsKey].push(element);\r\n }\r\n}\r\n\r\nfunction manipulateAttributes(attributes) {\r\n if ('attributesFn' in options && attributes) {\r\n attributes = options.attributesFn(attributes, currentElement);\r\n }\r\n if ((options.trim || 'attributeValueFn' in options || 'attributeNameFn' in options || options.nativeTypeAttributes) && attributes) {\r\n var key;\r\n for (key in attributes) {\r\n if (attributes.hasOwnProperty(key)) {\r\n if (options.trim) attributes[key] = attributes[key].trim();\r\n if (options.nativeTypeAttributes) {\r\n attributes[key] = nativeType(attributes[key]);\r\n }\r\n if ('attributeValueFn' in options) attributes[key] = options.attributeValueFn(attributes[key], key, currentElement);\r\n if ('attributeNameFn' in options) {\r\n var temp = attributes[key];\r\n delete attributes[key];\r\n attributes[options.attributeNameFn(key, attributes[key], currentElement)] = temp;\r\n }\r\n }\r\n }\r\n }\r\n return attributes;\r\n}\r\n\r\nfunction onInstruction(instruction) {\r\n var attributes = {};\r\n if (instruction.body && (instruction.name.toLowerCase() === 'xml' || options.instructionHasAttributes)) {\r\n var attrsRegExp = /([\\w:-]+)\\s*=\\s*(?:\"([^\"]*)\"|'([^']*)'|(\\w+))\\s*/g;\r\n var match;\r\n while ((match = attrsRegExp.exec(instruction.body)) !== null) {\r\n attributes[match[1]] = match[2] || match[3] || match[4];\r\n }\r\n attributes = manipulateAttributes(attributes);\r\n }\r\n if (instruction.name.toLowerCase() === 'xml') {\r\n if (options.ignoreDeclaration) {\r\n return;\r\n }\r\n currentElement[options.declarationKey] = {};\r\n if (Object.keys(attributes).length) {\r\n currentElement[options.declarationKey][options.attributesKey] = attributes;\r\n }\r\n if (options.addParent) {\r\n currentElement[options.declarationKey][options.parentKey] = currentElement;\r\n }\r\n } else {\r\n if (options.ignoreInstruction) {\r\n return;\r\n }\r\n if (options.trim) {\r\n instruction.body = instruction.body.trim();\r\n }\r\n var value = {};\r\n if (options.instructionHasAttributes && Object.keys(attributes).length) {\r\n value[instruction.name] = {};\r\n value[instruction.name][options.attributesKey] = attributes;\r\n } else {\r\n value[instruction.name] = instruction.body;\r\n }\r\n addField('instruction', value);\r\n }\r\n}\r\n\r\nfunction onStartElement(name, attributes) {\r\n var element;\r\n if (typeof name === 'object') {\r\n attributes = name.attributes;\r\n name = name.name;\r\n }\r\n attributes = manipulateAttributes(attributes);\r\n if ('elementNameFn' in options) {\r\n name = options.elementNameFn(name, currentElement);\r\n }\r\n if (options.compact) {\r\n element = {};\r\n if (!options.ignoreAttributes && attributes && Object.keys(attributes).length) {\r\n element[options.attributesKey] = {};\r\n var key;\r\n for (key in attributes) {\r\n if (attributes.hasOwnProperty(key)) {\r\n element[options.attributesKey][key] = attributes[key];\r\n }\r\n }\r\n }\r\n if (\r\n !(name in currentElement) &&\r\n (isArray(options.alwaysArray) ? options.alwaysArray.indexOf(name) !== -1 : options.alwaysArray)\r\n ) {\r\n currentElement[name] = [];\r\n }\r\n if (currentElement[name] && !isArray(currentElement[name])) {\r\n currentElement[name] = [currentElement[name]];\r\n }\r\n if (isArray(currentElement[name])) {\r\n currentElement[name].push(element);\r\n } else {\r\n currentElement[name] = element;\r\n }\r\n } else {\r\n if (!currentElement[options.elementsKey]) {\r\n currentElement[options.elementsKey] = [];\r\n }\r\n element = {};\r\n element[options.typeKey] = 'element';\r\n element[options.nameKey] = name;\r\n if (!options.ignoreAttributes && attributes && Object.keys(attributes).length) {\r\n element[options.attributesKey] = attributes;\r\n }\r\n if (options.alwaysChildren) {\r\n element[options.elementsKey] = [];\r\n }\r\n currentElement[options.elementsKey].push(element);\r\n }\r\n element[options.parentKey] = currentElement; // will be deleted in onEndElement() if !options.addParent\r\n currentElement = element;\r\n}\r\n\r\nfunction onText(text) {\r\n if (options.ignoreText) {\r\n return;\r\n }\r\n if (!text.trim() && !options.captureSpacesBetweenElements) {\r\n return;\r\n }\r\n if (options.trim) {\r\n text = text.trim();\r\n }\r\n if (options.nativeType) {\r\n text = nativeType(text);\r\n }\r\n if (options.sanitize) {\r\n text = text.replace(/&/g, '&').replace(//g, '>');\r\n }\r\n addField('text', text);\r\n}\r\n\r\nfunction onComment(comment) {\r\n if (options.ignoreComment) {\r\n return;\r\n }\r\n if (options.trim) {\r\n comment = comment.trim();\r\n }\r\n addField('comment', comment);\r\n}\r\n\r\nfunction onEndElement(name) {\r\n var parentElement = currentElement[options.parentKey];\r\n if (!options.addParent) {\r\n delete currentElement[options.parentKey];\r\n }\r\n currentElement = parentElement;\r\n}\r\n\r\nfunction onCdata(cdata) {\r\n if (options.ignoreCdata) {\r\n return;\r\n }\r\n if (options.trim) {\r\n cdata = cdata.trim();\r\n }\r\n addField('cdata', cdata);\r\n}\r\n\r\nfunction onDoctype(doctype) {\r\n if (options.ignoreDoctype) {\r\n return;\r\n }\r\n doctype = doctype.replace(/^ /, '');\r\n if (options.trim) {\r\n doctype = doctype.trim();\r\n }\r\n addField('doctype', doctype);\r\n}\r\n\r\nfunction onError(error) {\r\n error.note = error; //console.error(error);\r\n}\r\n\r\nmodule.exports = function (xml, userOptions) {\r\n\r\n var parser = pureJsParser ? sax.parser(true, {}) : parser = new expat.Parser('UTF-8');\r\n var result = {};\r\n currentElement = result;\r\n\r\n options = validateOptions(userOptions);\r\n\r\n if (pureJsParser) {\r\n parser.opt = {strictEntities: true};\r\n parser.onopentag = onStartElement;\r\n parser.ontext = onText;\r\n parser.oncomment = onComment;\r\n parser.onclosetag = onEndElement;\r\n parser.onerror = onError;\r\n parser.oncdata = onCdata;\r\n parser.ondoctype = onDoctype;\r\n parser.onprocessinginstruction = onInstruction;\r\n } else {\r\n parser.on('startElement', onStartElement);\r\n parser.on('text', onText);\r\n parser.on('comment', onComment);\r\n parser.on('endElement', onEndElement);\r\n parser.on('error', onError);\r\n //parser.on('startCdata', onStartCdata);\r\n //parser.on('endCdata', onEndCdata);\r\n //parser.on('entityDecl', onEntityDecl);\r\n }\r\n\r\n if (pureJsParser) {\r\n parser.write(xml).close();\r\n } else {\r\n if (!parser.parse(xml)) {\r\n throw new Error('XML parsing error: ' + parser.getError());\r\n }\r\n }\r\n\r\n if (result[options.elementsKey]) {\r\n var temp = result[options.elementsKey];\r\n delete result[options.elementsKey];\r\n result[options.elementsKey] = temp;\r\n delete result.text;\r\n }\r\n\r\n return result;\r\n\r\n};\r\n\n\n/***/ }),\n/* 55 */\n/***/ (function(module, exports) {\n\nvar toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n/***/ }),\n/* 56 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nmodule.exports = Stream;\n\nvar EE = __webpack_require__(27).EventEmitter;\nvar inherits = __webpack_require__(7);\n\ninherits(Stream, EE);\nStream.Readable = __webpack_require__(28);\nStream.Writable = __webpack_require__(152);\nStream.Duplex = __webpack_require__(153);\nStream.Transform = __webpack_require__(154);\nStream.PassThrough = __webpack_require__(155);\n\n// Backwards-compat with node 0.4.x\nStream.Stream = Stream;\n\n\n\n// old-style streams. Note that the pipe method (the only relevant\n// part of this class) is overridden in the Readable class.\n\nfunction Stream() {\n EE.call(this);\n}\n\nStream.prototype.pipe = function(dest, options) {\n var source = this;\n\n function ondata(chunk) {\n if (dest.writable) {\n if (false === dest.write(chunk) && source.pause) {\n source.pause();\n }\n }\n }\n\n source.on('data', ondata);\n\n function ondrain() {\n if (source.readable && source.resume) {\n source.resume();\n }\n }\n\n dest.on('drain', ondrain);\n\n // If the 'end' option is not supplied, dest.end() will be called when\n // source gets the 'end' or 'close' events. Only dest.end() once.\n if (!dest._isStdio && (!options || options.end !== false)) {\n source.on('end', onend);\n source.on('close', onclose);\n }\n\n var didOnEnd = false;\n function onend() {\n if (didOnEnd) return;\n didOnEnd = true;\n\n dest.end();\n }\n\n\n function onclose() {\n if (didOnEnd) return;\n didOnEnd = true;\n\n if (typeof dest.destroy === 'function') dest.destroy();\n }\n\n // don't leave dangling pipes when there are errors.\n function onerror(er) {\n cleanup();\n if (EE.listenerCount(this, 'error') === 0) {\n throw er; // Unhandled stream error in pipe.\n }\n }\n\n source.on('error', onerror);\n dest.on('error', onerror);\n\n // remove all the event listeners that were added.\n function cleanup() {\n source.removeListener('data', ondata);\n dest.removeListener('drain', ondrain);\n\n source.removeListener('end', onend);\n source.removeListener('close', onclose);\n\n source.removeListener('error', onerror);\n dest.removeListener('error', onerror);\n\n source.removeListener('end', cleanup);\n source.removeListener('close', cleanup);\n\n dest.removeListener('close', cleanup);\n }\n\n source.on('end', cleanup);\n source.on('close', cleanup);\n\n dest.on('close', cleanup);\n\n dest.emit('pipe', source);\n\n // Allow for unix-like usage: A.pipe(B).pipe(C)\n return dest;\n};\n\n\n/***/ }),\n/* 57 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar pna = __webpack_require__(15);\n/**/\n\nmodule.exports = Readable;\n\n/**/\nvar isArray = __webpack_require__(55);\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nReadable.ReadableState = ReadableState;\n\n/**/\nvar EE = __webpack_require__(27).EventEmitter;\n\nvar EElistenerCount = function (emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(58);\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(16).Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\n/**/\nvar util = __webpack_require__(14);\nutil.inherits = __webpack_require__(7);\n/**/\n\n/**/\nvar debugUtil = __webpack_require__(146);\nvar debug = void 0;\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function () {};\n}\n/**/\n\nvar BufferList = __webpack_require__(147);\nvar destroyImpl = __webpack_require__(59);\nvar StringDecoder;\n\nutil.inherits(Readable, Stream);\n\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\n\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\n\n // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\n\nfunction ReadableState(options, stream) {\n Duplex = Duplex || __webpack_require__(5);\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\n\n // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n var hwm = options.highWaterMark;\n var readableHwm = options.readableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n\n // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n this.sync = true;\n\n // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // the number of writers that are awaiting a drain event in .pipe()s\n this.awaitDrain = 0;\n\n // if true, a maybeReadMore has been scheduled\n this.readingMore = false;\n\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = __webpack_require__(30).StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\n\nfunction Readable(options) {\n Duplex = Duplex || __webpack_require__(5);\n\n if (!(this instanceof Readable)) return new Readable(options);\n\n this._readableState = new ReadableState(options, this);\n\n // legacy\n this.readable = true;\n\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n\n Stream.call(this);\n}\n\nObject.defineProperty(Readable.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined) {\n return false;\n }\n return this._readableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n }\n});\n\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\nReadable.prototype._destroy = function (err, cb) {\n this.push(null);\n cb(err);\n};\n\n// Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n};\n\n// Unshift should *always* be something directly out of read()\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\n\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n var state = stream._readableState;\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (addToFront) {\n if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n stream.emit('error', new Error('stream.push() after EOF'));\n } else {\n state.reading = false;\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n }\n\n return needMoreData(state);\n}\n\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n\n if (state.needReadable) emitReadable(stream);\n }\n maybeReadMore(stream, state);\n}\n\nfunction chunkInvalid(state, chunk) {\n var er;\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n}\n\n// if it's past the high water mark, we can push in some more.\n// Also, if we have no data yet, we can stand some\n// more bytes. This is to work around cases where hwm=0,\n// such as the repl. Also, if the push() triggered a\n// readable event, and the user called read(largeNumber) such that\n// needReadable was set, then we ought to push more, so that another\n// 'readable' event will be triggered.\nfunction needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n}\n\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n};\n\n// backwards compatibility.\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = __webpack_require__(30).StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n};\n\n// Don't raise the hwm > 8MB\nvar MAX_HWM = 0x800000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n}\n\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n }\n // If we're asking for more than the current hwm, then raise the hwm.\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n;\n // Don't have enough\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n}\n\n// you can override either this method, or the async _read(n) below.\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n\n if (n !== 0) state.emittedReadable = false;\n\n // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n\n n = howMuchToRead(n, state);\n\n // if we've ended, and we're now clear, then finish it up.\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n }\n\n // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n\n // if we need a readable event, then we need to do some reading.\n var doRead = state.needReadable;\n debug('need readable', doRead);\n\n // if we currently have less than the highWaterMark, then also read some\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n\n // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n // if the length is currently zero, then we *need* a readable event.\n if (state.length === 0) state.needReadable = true;\n // call internal read method\n this._read(state.highWaterMark);\n state.sync = false;\n // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n\n if (ret === null) {\n state.needReadable = true;\n n = 0;\n } else {\n state.length -= n;\n }\n\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true;\n\n // If we tried to read() past the EOF, then emit end on the next tick.\n if (nOrig !== n && state.ended) endReadable(this);\n }\n\n if (ret !== null) this.emit('data', ret);\n\n return ret;\n};\n\nfunction onEofChunk(stream, state) {\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n\n // emit 'readable' now to make sure it gets picked up.\n emitReadable(stream);\n}\n\n// Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\nfunction emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);\n }\n}\n\nfunction emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n}\n\n// at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n pna.nextTick(maybeReadMore_, stream, state);\n }\n}\n\nfunction maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;else len = state.length;\n }\n state.readingMore = false;\n}\n\n// abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\nReadable.prototype._read = function (n) {\n this.emit('error', new Error('_read() is not implemented'));\n};\n\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);\n\n dest.on('unpipe', onunpipe);\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n\n function onend() {\n debug('onend');\n dest.end();\n }\n\n // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n // cleanup event handlers once the pipe is broken\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n\n cleanedUp = true;\n\n // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n\n // If the user pushes more data while we're writing to dest then we'll end up\n // in ondata again. However, we only want to increase awaitDrain once because\n // dest will only emit one 'drain' event for the multiple writes.\n // => Introduce a guard on increasing awaitDrain.\n var increasedAwaitDrain = false;\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n increasedAwaitDrain = false;\n var ret = dest.write(chunk);\n if (false === ret && !increasedAwaitDrain) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n increasedAwaitDrain = true;\n }\n src.pause();\n }\n }\n\n // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);\n }\n\n // Make sure our error handler is attached before userland ones.\n prependListener(dest, 'error', onerror);\n\n // Both close and finish should trigger unpipe, but only once.\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n\n // tell the dest that it's being piped to\n dest.emit('pipe', src);\n\n // start the flow if it hasn't been started already.\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n\n return dest;\n};\n\nfunction pipeOnDrain(src) {\n return function () {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\n\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = { hasUnpiped: false };\n\n // if we're not piping anywhere, then do nothing.\n if (state.pipesCount === 0) return this;\n\n // just one destination. most common case.\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n\n if (!dest) dest = state.pipes;\n\n // got a match.\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n }\n\n // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n\n for (var i = 0; i < len; i++) {\n dests[i].emit('unpipe', this, unpipeInfo);\n }return this;\n }\n\n // try to find the right one.\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n\n dest.emit('unpipe', this, unpipeInfo);\n\n return this;\n};\n\n// set up data events if they are asked for\n// Ensure readable listeners eventually get something\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n\n if (ev === 'data') {\n // Start flowing on next tick if stream isn't explicitly paused\n if (this._readableState.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n var state = this._readableState;\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.emittedReadable = false;\n if (!state.reading) {\n pna.nextTick(nReadingNextTick, this);\n } else if (state.length) {\n emitReadable(this);\n }\n }\n }\n\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\n\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n}\n\n// pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n resume(this, state);\n }\n return this;\n};\n\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n pna.nextTick(resume_, stream, state);\n }\n}\n\nfunction resume_(stream, state) {\n if (!state.reading) {\n debug('resume read 0');\n stream.read(0);\n }\n\n state.resumeScheduled = false;\n state.awaitDrain = 0;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\n\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n};\n\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null) {}\n}\n\n// wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n\n var state = this._readableState;\n var paused = false;\n\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n\n _this.push(null);\n });\n\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk);\n\n // don't skip over falsy values in objectMode\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n\n var ret = _this.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n\n // proxy all the other methods.\n // important when wrapping filters and duplexes.\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function (method) {\n return function () {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n\n // proxy certain important events.\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n }\n\n // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n this._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n\n return this;\n};\n\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._readableState.highWaterMark;\n }\n});\n\n// exposed for testing purposes only.\nReadable._fromList = fromList;\n\n// Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = fromListPartial(n, state.buffer, state.decoder);\n }\n\n return ret;\n}\n\n// Extracts only enough buffered data to satisfy the amount requested.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromListPartial(n, list, hasStrings) {\n var ret;\n if (n < list.head.data.length) {\n // slice is the same for buffers and strings\n ret = list.head.data.slice(0, n);\n list.head.data = list.head.data.slice(n);\n } else if (n === list.head.data.length) {\n // first chunk is a perfect match\n ret = list.shift();\n } else {\n // result spans more than one buffer\n ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);\n }\n return ret;\n}\n\n// Copies a specified amount of characters from the list of buffered data\n// chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBufferString(n, list) {\n var p = list.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\n// Copies a specified amount of bytes from the list of buffered data chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBuffer(n, list) {\n var ret = Buffer.allocUnsafe(n);\n var p = list.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\nfunction endReadable(stream) {\n var state = stream._readableState;\n\n // If we get here before consuming all the bytes, then that is a\n // bug in node. Should never happen.\n if (state.length > 0) throw new Error('\"endReadable()\" called on non-empty stream');\n\n if (!state.endEmitted) {\n state.ended = true;\n pna.nextTick(endReadableNT, state, stream);\n }\n}\n\nfunction endReadableNT(state, stream) {\n // Check that we didn't get one last unshift.\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n}\n\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4), __webpack_require__(13)))\n\n/***/ }),\n/* 58 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(27).EventEmitter;\n\n\n/***/ }),\n/* 59 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/**/\n\nvar pna = __webpack_require__(15);\n/**/\n\n// undocumented cb() API, needed for core, not for public API\nfunction destroy(err, cb) {\n var _this = this;\n\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err && (!this._writableState || !this._writableState.errorEmitted)) {\n pna.nextTick(emitErrorNT, this, err);\n }\n return this;\n }\n\n // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n }\n\n // if this is a duplex stream mark the writable part as destroyed as well\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n pna.nextTick(emitErrorNT, _this, err);\n if (_this._writableState) {\n _this._writableState.errorEmitted = true;\n }\n } else if (cb) {\n cb(err);\n }\n });\n\n return this;\n}\n\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\n\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\n\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy\n};\n\n/***/ }),\n/* 60 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global) {var scope = (typeof global !== \"undefined\" && global) ||\n (typeof self !== \"undefined\" && self) ||\n window;\nvar apply = Function.prototype.apply;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) {\n if (timeout) {\n timeout.close();\n }\n};\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(scope, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// setimmediate attaches itself to the global object\n__webpack_require__(149);\n// On some exotic environments, it's not clear which object `setimmediate` was\n// able to install onto. Search each possibility in the same order as the\n// `setimmediate` library.\nexports.setImmediate = (typeof self !== \"undefined\" && self.setImmediate) ||\n (typeof global !== \"undefined\" && global.setImmediate) ||\n (this && this.setImmediate);\nexports.clearImmediate = (typeof self !== \"undefined\" && self.clearImmediate) ||\n (typeof global !== \"undefined\" && global.clearImmediate) ||\n (this && this.clearImmediate);\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4)))\n\n/***/ }),\n/* 61 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n\n\nmodule.exports = Transform;\n\nvar Duplex = __webpack_require__(5);\n\n/**/\nvar util = __webpack_require__(14);\nutil.inherits = __webpack_require__(7);\n/**/\n\nutil.inherits(Transform, Duplex);\n\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n\n var cb = ts.writecb;\n\n if (!cb) {\n return this.emit('error', new Error('write callback called multiple times'));\n }\n\n ts.writechunk = null;\n ts.writecb = null;\n\n if (data != null) // single equals check for both `null` and `undefined`\n this.push(data);\n\n cb(er);\n\n var rs = this._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\n\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n\n Duplex.call(this, options);\n\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n };\n\n // start out asking for a readable event once data is transformed.\n this._readableState.needReadable = true;\n\n // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n this._readableState.sync = false;\n\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n\n if (typeof options.flush === 'function') this._flush = options.flush;\n }\n\n // When the writable side finishes, then flush out anything remaining.\n this.on('prefinish', prefinish);\n}\n\nfunction prefinish() {\n var _this = this;\n\n if (typeof this._flush === 'function') {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\n\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n};\n\n// This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\nTransform.prototype._transform = function (chunk, encoding, cb) {\n throw new Error('_transform() is not implemented');\n};\n\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n};\n\n// Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\n\nTransform.prototype._destroy = function (err, cb) {\n var _this2 = this;\n\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n _this2.emit('close');\n });\n};\n\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n\n if (data != null) // single equals check for both `null` and `undefined`\n stream.push(data);\n\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');\n\n if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');\n\n return stream.push(null);\n}\n\n/***/ }),\n/* 62 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar helper = __webpack_require__(31);\nvar isArray = __webpack_require__(32).isArray;\n\nvar currentElement, currentElementName;\n\nfunction validateOptions(userOptions) {\n var options = helper.copyOptions(userOptions);\n helper.ensureFlagExists('ignoreDeclaration', options);\n helper.ensureFlagExists('ignoreInstruction', options);\n helper.ensureFlagExists('ignoreAttributes', options);\n helper.ensureFlagExists('ignoreText', options);\n helper.ensureFlagExists('ignoreComment', options);\n helper.ensureFlagExists('ignoreCdata', options);\n helper.ensureFlagExists('ignoreDoctype', options);\n helper.ensureFlagExists('compact', options);\n helper.ensureFlagExists('indentText', options);\n helper.ensureFlagExists('indentCdata', options);\n helper.ensureFlagExists('indentAttributes', options);\n helper.ensureFlagExists('indentInstruction', options);\n helper.ensureFlagExists('fullTagEmptyElement', options);\n helper.ensureFlagExists('noQuotesForNativeAttributes', options);\n helper.ensureSpacesExists(options);\n if (typeof options.spaces === 'number') {\n options.spaces = Array(options.spaces + 1).join(' ');\n }\n helper.ensureKeyExists('declaration', options);\n helper.ensureKeyExists('instruction', options);\n helper.ensureKeyExists('attributes', options);\n helper.ensureKeyExists('text', options);\n helper.ensureKeyExists('comment', options);\n helper.ensureKeyExists('cdata', options);\n helper.ensureKeyExists('doctype', options);\n helper.ensureKeyExists('type', options);\n helper.ensureKeyExists('name', options);\n helper.ensureKeyExists('elements', options);\n helper.checkFnExists('doctype', options);\n helper.checkFnExists('instruction', options);\n helper.checkFnExists('cdata', options);\n helper.checkFnExists('comment', options);\n helper.checkFnExists('text', options);\n helper.checkFnExists('instructionName', options);\n helper.checkFnExists('elementName', options);\n helper.checkFnExists('attributeName', options);\n helper.checkFnExists('attributeValue', options);\n helper.checkFnExists('attributes', options);\n helper.checkFnExists('fullTagEmptyElement', options);\n return options;\n}\n\nfunction writeIndentation(options, depth, firstLine) {\n return (!firstLine && options.spaces ? '\\n' : '') + Array(depth + 1).join(options.spaces);\n}\n\nfunction writeAttributes(attributes, options, depth) {\n if (options.ignoreAttributes) {\n return '';\n }\n if ('attributesFn' in options) {\n attributes = options.attributesFn(attributes, currentElementName, currentElement);\n }\n var key, attr, attrName, quote, result = [];\n for (key in attributes) {\n if (attributes.hasOwnProperty(key) && attributes[key] !== null && attributes[key] !== undefined) {\n quote = options.noQuotesForNativeAttributes && typeof attributes[key] !== 'string' ? '' : '\"';\n attr = '' + attributes[key]; // ensure number and boolean are converted to String\n attr = attr.replace(/\"/g, '"');\n attrName = 'attributeNameFn' in options ? options.attributeNameFn(key, attr, currentElementName, currentElement) : key;\n result.push((options.spaces && options.indentAttributes? writeIndentation(options, depth+1, false) : ' '));\n result.push(attrName + '=' + quote + ('attributeValueFn' in options ? options.attributeValueFn(attr, key, currentElementName, currentElement) : attr) + quote);\n }\n }\n if (attributes && Object.keys(attributes).length && options.spaces && options.indentAttributes) {\n result.push(writeIndentation(options, depth, false));\n }\n return result.join('');\n}\n\nfunction writeDeclaration(declaration, options, depth) {\n currentElement = declaration;\n currentElementName = 'xml';\n return options.ignoreDeclaration ? '' : '';\n}\n\nfunction writeInstruction(instruction, options, depth) {\n if (options.ignoreInstruction) {\n return '';\n }\n var key;\n for (key in instruction) {\n if (instruction.hasOwnProperty(key)) {\n break;\n }\n }\n var instructionName = 'instructionNameFn' in options ? options.instructionNameFn(key, instruction[key], currentElementName, currentElement) : key;\n if (typeof instruction[key] === 'object') {\n currentElement = instruction;\n currentElementName = instructionName;\n return '';\n } else {\n var instructionValue = instruction[key] ? instruction[key] : '';\n if ('instructionFn' in options) instructionValue = options.instructionFn(instructionValue, key, currentElementName, currentElement);\n return '';\n }\n}\n\nfunction writeComment(comment, options) {\n return options.ignoreComment ? '' : '';\n}\n\nfunction writeCdata(cdata, options) {\n return options.ignoreCdata ? '' : '', ']]]]>')) + ']]>';\n}\n\nfunction writeDoctype(doctype, options) {\n return options.ignoreDoctype ? '' : '';\n}\n\nfunction writeText(text, options) {\n if (options.ignoreText) return '';\n text = '' + text; // ensure Number and Boolean are converted to String\n text = text.replace(/&/g, '&'); // desanitize to avoid double sanitization\n text = text.replace(/&/g, '&').replace(//g, '>');\n return 'textFn' in options ? options.textFn(text, currentElementName, currentElement) : text;\n}\n\nfunction hasContent(element, options) {\n var i;\n if (element.elements && element.elements.length) {\n for (i = 0; i < element.elements.length; ++i) {\n switch (element.elements[i][options.typeKey]) {\n case 'text':\n if (options.indentText) {\n return true;\n }\n break; // skip to next key\n case 'cdata':\n if (options.indentCdata) {\n return true;\n }\n break; // skip to next key\n case 'instruction':\n if (options.indentInstruction) {\n return true;\n }\n break; // skip to next key\n case 'doctype':\n case 'comment':\n case 'element':\n return true;\n default:\n return true;\n }\n }\n }\n return false;\n}\n\nfunction writeElement(element, options, depth) {\n currentElement = element;\n currentElementName = element.name;\n var xml = [], elementName = 'elementNameFn' in options ? options.elementNameFn(element.name, element) : element.name;\n xml.push('<' + elementName);\n if (element[options.attributesKey]) {\n xml.push(writeAttributes(element[options.attributesKey], options, depth));\n }\n var withClosingTag = element[options.elementsKey] && element[options.elementsKey].length || element[options.attributesKey] && element[options.attributesKey]['xml:space'] === 'preserve';\n if (!withClosingTag) {\n if ('fullTagEmptyElementFn' in options) {\n withClosingTag = options.fullTagEmptyElementFn(element.name, element);\n } else {\n withClosingTag = options.fullTagEmptyElement;\n }\n }\n if (withClosingTag) {\n xml.push('>');\n if (element[options.elementsKey] && element[options.elementsKey].length) {\n xml.push(writeElements(element[options.elementsKey], options, depth + 1));\n currentElement = element;\n currentElementName = element.name;\n }\n xml.push(options.spaces && hasContent(element, options) ? '\\n' + Array(depth + 1).join(options.spaces) : '');\n xml.push('');\n } else {\n xml.push('/>');\n }\n return xml.join('');\n}\n\nfunction writeElements(elements, options, depth, firstLine) {\n return elements.reduce(function (xml, element) {\n var indent = writeIndentation(options, depth, firstLine && !xml);\n switch (element.type) {\n case 'element': return xml + indent + writeElement(element, options, depth);\n case 'comment': return xml + indent + writeComment(element[options.commentKey], options);\n case 'doctype': return xml + indent + writeDoctype(element[options.doctypeKey], options);\n case 'cdata': return xml + (options.indentCdata ? indent : '') + writeCdata(element[options.cdataKey], options);\n case 'text': return xml + (options.indentText ? indent : '') + writeText(element[options.textKey], options);\n case 'instruction':\n var instruction = {};\n instruction[element[options.nameKey]] = element[options.attributesKey] ? element : element[options.instructionKey];\n return xml + (options.indentInstruction ? indent : '') + writeInstruction(instruction, options, depth);\n }\n }, '');\n}\n\nfunction hasContentCompact(element, options, anyContent) {\n var key;\n for (key in element) {\n if (element.hasOwnProperty(key)) {\n switch (key) {\n case options.parentKey:\n case options.attributesKey:\n break; // skip to next key\n case options.textKey:\n if (options.indentText || anyContent) {\n return true;\n }\n break; // skip to next key\n case options.cdataKey:\n if (options.indentCdata || anyContent) {\n return true;\n }\n break; // skip to next key\n case options.instructionKey:\n if (options.indentInstruction || anyContent) {\n return true;\n }\n break; // skip to next key\n case options.doctypeKey:\n case options.commentKey:\n return true;\n default:\n return true;\n }\n }\n }\n return false;\n}\n\nfunction writeElementCompact(element, name, options, depth, indent) {\n currentElement = element;\n currentElementName = name;\n var elementName = 'elementNameFn' in options ? options.elementNameFn(name, element) : name;\n if (typeof element === 'undefined' || element === null || element === '') {\n return 'fullTagEmptyElementFn' in options && options.fullTagEmptyElementFn(name, element) || options.fullTagEmptyElement ? '<' + elementName + '>' : '<' + elementName + '/>';\n }\n var xml = [];\n if (name) {\n xml.push('<' + elementName);\n if (typeof element !== 'object') {\n xml.push('>' + writeText(element,options) + '');\n return xml.join('');\n }\n if (element[options.attributesKey]) {\n xml.push(writeAttributes(element[options.attributesKey], options, depth));\n }\n var withClosingTag = hasContentCompact(element, options, true) || element[options.attributesKey] && element[options.attributesKey]['xml:space'] === 'preserve';\n if (!withClosingTag) {\n if ('fullTagEmptyElementFn' in options) {\n withClosingTag = options.fullTagEmptyElementFn(name, element);\n } else {\n withClosingTag = options.fullTagEmptyElement;\n }\n }\n if (withClosingTag) {\n xml.push('>');\n } else {\n xml.push('/>');\n return xml.join('');\n }\n }\n xml.push(writeElementsCompact(element, options, depth + 1, false));\n currentElement = element;\n currentElementName = name;\n if (name) {\n xml.push((indent ? writeIndentation(options, depth, false) : '') + '');\n }\n return xml.join('');\n}\n\nfunction writeElementsCompact(element, options, depth, firstLine) {\n var i, key, nodes, xml = [];\n for (key in element) {\n if (element.hasOwnProperty(key)) {\n nodes = isArray(element[key]) ? element[key] : [element[key]];\n for (i = 0; i < nodes.length; ++i) {\n switch (key) {\n case options.declarationKey: xml.push(writeDeclaration(nodes[i], options, depth)); break;\n case options.instructionKey: xml.push((options.indentInstruction ? writeIndentation(options, depth, firstLine) : '') + writeInstruction(nodes[i], options, depth)); break;\n case options.attributesKey: case options.parentKey: break; // skip\n case options.textKey: xml.push((options.indentText ? writeIndentation(options, depth, firstLine) : '') + writeText(nodes[i], options)); break;\n case options.cdataKey: xml.push((options.indentCdata ? writeIndentation(options, depth, firstLine) : '') + writeCdata(nodes[i], options)); break;\n case options.doctypeKey: xml.push(writeIndentation(options, depth, firstLine) + writeDoctype(nodes[i], options)); break;\n case options.commentKey: xml.push(writeIndentation(options, depth, firstLine) + writeComment(nodes[i], options)); break;\n default: xml.push(writeIndentation(options, depth, firstLine) + writeElementCompact(nodes[i], key, options, depth, hasContentCompact(nodes[i], options)));\n }\n firstLine = firstLine && !xml.length;\n }\n }\n }\n return xml.join('');\n}\n\nmodule.exports = function (js, options) {\n options = validateOptions(options);\n var xml = [];\n currentElement = js;\n currentElementName = '_root_';\n if (options.compact) {\n xml.push(writeElementsCompact(js, options, 0, true));\n } else {\n if (js[options.declarationKey]) {\n xml.push(writeDeclaration(js[options.declarationKey], options, 0));\n }\n if (js[options.elementsKey] && js[options.elementsKey].length) {\n xml.push(writeElements(js[options.elementsKey], options, 0, !xml.length));\n }\n }\n return xml.join('');\n};\n\n\n/***/ }),\n/* 63 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst border_attributes_1 = __webpack_require__(160);\r\nclass BorderProperty extends xml_components_1.XmlComponent {\r\n constructor(rootKey, options = { color: \"auto\", space: 1, value: \"single\", size: 6 }) {\r\n super(rootKey);\r\n const attrs = new border_attributes_1.BorderAttributes({\r\n color: options.color,\r\n space: options.space,\r\n val: options.value,\r\n sz: options.size,\r\n });\r\n this.root.push(attrs);\r\n }\r\n}\r\nclass Border extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:pBdr\");\r\n if (options.top !== undefined) {\r\n const borderProperty = new BorderProperty(\"w:top\", options.top);\r\n this.root.push(borderProperty);\r\n }\r\n if (options.bottom !== undefined) {\r\n const borderProperty = new BorderProperty(\"w:bottom\", options.bottom);\r\n this.root.push(borderProperty);\r\n }\r\n if (options.left !== undefined) {\r\n const borderProperty = new BorderProperty(\"w:left\", options.left);\r\n this.root.push(borderProperty);\r\n }\r\n if (options.right !== undefined) {\r\n const borderProperty = new BorderProperty(\"w:right\", options.right);\r\n this.root.push(borderProperty);\r\n }\r\n }\r\n}\r\nexports.Border = Border;\r\nclass ThematicBreak extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:pBdr\");\r\n const bottom = new BorderProperty(\"w:bottom\", {\r\n color: \"auto\",\r\n space: 1,\r\n value: \"single\",\r\n size: 6,\r\n });\r\n this.root.push(bottom);\r\n }\r\n}\r\nexports.ThematicBreak = ThematicBreak;\r\n\n\n/***/ }),\n/* 64 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass IndentAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n left: \"w:left\",\r\n hanging: \"w:hanging\",\r\n firstLine: \"w:firstLine\",\r\n start: \"w:start\",\r\n end: \"w:end\",\r\n right: \"w:end\",\r\n };\r\n }\r\n}\r\nclass Indent extends xml_components_1.XmlComponent {\r\n constructor(attrs) {\r\n super(\"w:ind\");\r\n this.root.push(new IndentAttributes(attrs));\r\n }\r\n}\r\nexports.Indent = Indent;\r\n\n\n/***/ }),\n/* 65 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass KeepLines extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:keepLines\");\r\n }\r\n}\r\nexports.KeepLines = KeepLines;\r\nclass KeepNext extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:keepNext\");\r\n }\r\n}\r\nexports.KeepNext = KeepNext;\r\n\n\n/***/ }),\n/* 66 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst run_1 = __webpack_require__(3);\r\nclass Break extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:br\");\r\n this.root.push(new xml_components_1.Attributes({\r\n type: \"page\",\r\n }));\r\n }\r\n}\r\nclass PageBreak extends run_1.Run {\r\n constructor() {\r\n super({});\r\n this.root.push(new Break());\r\n }\r\n}\r\nexports.PageBreak = PageBreak;\r\nclass PageBreakBefore extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:pageBreakBefore\");\r\n }\r\n}\r\nexports.PageBreakBefore = PageBreakBefore;\r\n\n\n/***/ }),\n/* 67 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass Break extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:br\");\r\n }\r\n}\r\nexports.Break = Break;\r\n\n\n/***/ }),\n/* 68 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar underline_1 = __webpack_require__(19);\r\nexports.Underline = underline_1.Underline;\r\nvar emphasis_mark_1 = __webpack_require__(33);\r\nexports.EmphasisMark = emphasis_mark_1.EmphasisMark;\r\nvar script_1 = __webpack_require__(69);\r\nexports.SubScript = script_1.SubScript;\r\nexports.SuperScript = script_1.SuperScript;\r\nvar run_fonts_1 = __webpack_require__(34);\r\nexports.RunFonts = run_fonts_1.RunFonts;\r\nclass Bold extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:b\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.Bold = Bold;\r\nclass BoldComplexScript extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:bCs\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.BoldComplexScript = BoldComplexScript;\r\nclass CharacterSpacing extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:spacing\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nexports.CharacterSpacing = CharacterSpacing;\r\nclass Italics extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:i\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.Italics = Italics;\r\nclass ItalicsComplexScript extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:iCs\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.ItalicsComplexScript = ItalicsComplexScript;\r\nclass Caps extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:caps\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.Caps = Caps;\r\nclass Color extends xml_components_1.XmlComponent {\r\n constructor(color) {\r\n super(\"w:color\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: color,\r\n }));\r\n }\r\n}\r\nexports.Color = Color;\r\nclass DoubleStrike extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:dstrike\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.DoubleStrike = DoubleStrike;\r\nclass Emboss extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:emboss\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.Emboss = Emboss;\r\nclass Imprint extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:imprint\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.Imprint = Imprint;\r\nclass SmallCaps extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:smallCaps\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.SmallCaps = SmallCaps;\r\nclass Strike extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:strike\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.Strike = Strike;\r\nclass Size extends xml_components_1.XmlComponent {\r\n constructor(size) {\r\n super(\"w:sz\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: size,\r\n }));\r\n }\r\n}\r\nexports.Size = Size;\r\nclass SizeComplexScript extends xml_components_1.XmlComponent {\r\n constructor(size) {\r\n super(\"w:szCs\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: size,\r\n }));\r\n }\r\n}\r\nexports.SizeComplexScript = SizeComplexScript;\r\nclass RightToLeft extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:rtl\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: true,\r\n }));\r\n }\r\n}\r\nexports.RightToLeft = RightToLeft;\r\nclass Highlight extends xml_components_1.XmlComponent {\r\n constructor(color) {\r\n super(\"w:highlight\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: color,\r\n }));\r\n }\r\n}\r\nexports.Highlight = Highlight;\r\nclass HighlightComplexScript extends xml_components_1.XmlComponent {\r\n constructor(color) {\r\n super(\"w:highlightCs\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: color,\r\n }));\r\n }\r\n}\r\nexports.HighlightComplexScript = HighlightComplexScript;\r\nclass Shading extends xml_components_1.XmlComponent {\r\n constructor(value, fill, color) {\r\n super(\"w:shd\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n fill: fill,\r\n color: color,\r\n }));\r\n }\r\n}\r\nexports.Shading = Shading;\r\nclass ShadowComplexScript extends xml_components_1.XmlComponent {\r\n constructor(value, fill, color) {\r\n super(\"w:shdCs\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n fill: fill,\r\n color: color,\r\n }));\r\n }\r\n}\r\nexports.ShadowComplexScript = ShadowComplexScript;\r\n\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass VerticalAlign extends xml_components_1.XmlComponent {\r\n constructor(type) {\r\n super(\"w:vertAlign\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: type,\r\n }));\r\n }\r\n}\r\nexports.VerticalAlign = VerticalAlign;\r\nclass SuperScript extends VerticalAlign {\r\n constructor() {\r\n super(\"superscript\");\r\n }\r\n}\r\nexports.SuperScript = SuperScript;\r\nclass SubScript extends VerticalAlign {\r\n constructor() {\r\n super(\"subscript\");\r\n }\r\n}\r\nexports.SubScript = SubScript;\r\n\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass StyleAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass Style extends xml_components_1.XmlComponent {\r\n constructor(styleId) {\r\n super(\"w:rStyle\");\r\n this.root.push(new StyleAttributes({ val: styleId }));\r\n }\r\n}\r\nexports.Style = Style;\r\n\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst space_type_1 = __webpack_require__(8);\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass TextAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { space: \"xml:space\" };\r\n }\r\n}\r\nclass Text extends xml_components_1.XmlComponent {\r\n constructor(text) {\r\n super(\"w:t\");\r\n this.root.push(new TextAttributes({ space: space_type_1.SpaceType.PRESERVE }));\r\n this.root.push(text);\r\n }\r\n}\r\nexports.Text = Text;\r\n\n\n/***/ }),\n/* 72 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(166));\r\n__export(__webpack_require__(36));\r\n__export(__webpack_require__(73));\r\n\n\n/***/ }),\n/* 73 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(35));\r\n__export(__webpack_require__(169));\r\n__export(__webpack_require__(170));\r\n__export(__webpack_require__(171));\r\n\n\n/***/ }),\n/* 74 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass Align extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"wp:align\");\r\n this.root.push(value);\r\n }\r\n}\r\nexports.Align = Align;\r\n\n\n/***/ }),\n/* 75 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass PositionOffset extends xml_components_1.XmlComponent {\r\n constructor(offsetValue) {\r\n super(\"wp:posOffset\");\r\n this.root.push(offsetValue.toString());\r\n }\r\n}\r\nexports.PositionOffset = PositionOffset;\r\n\n\n/***/ }),\n/* 76 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(172));\r\n\n\n/***/ }),\n/* 77 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst doc_properties_attributes_1 = __webpack_require__(205);\r\nclass DocProperties extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"wp:docPr\");\r\n this.root.push(new doc_properties_attributes_1.DocPropertiesAttributes({\r\n id: 0,\r\n name: \"\",\r\n descr: \"\",\r\n }));\r\n }\r\n}\r\nexports.DocProperties = DocProperties;\r\n\n\n/***/ }),\n/* 78 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst effect_extent_attributes_1 = __webpack_require__(206);\r\nclass EffectExtent extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"wp:effectExtent\");\r\n this.root.push(new effect_extent_attributes_1.EffectExtentAttributes({\r\n b: 0,\r\n l: 0,\r\n r: 0,\r\n t: 0,\r\n }));\r\n }\r\n}\r\nexports.EffectExtent = EffectExtent;\r\n\n\n/***/ }),\n/* 79 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst extent_attributes_1 = __webpack_require__(207);\r\nclass Extent extends xml_components_1.XmlComponent {\r\n constructor(x, y) {\r\n super(\"wp:extent\");\r\n this.attributes = new extent_attributes_1.ExtentAttributes({\r\n cx: x,\r\n cy: y,\r\n });\r\n this.root.push(this.attributes);\r\n }\r\n setXY(x, y) {\r\n this.attributes.set({\r\n cx: x,\r\n cy: y,\r\n });\r\n }\r\n}\r\nexports.Extent = Extent;\r\n\n\n/***/ }),\n/* 80 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst graphic_frame_locks_1 = __webpack_require__(208);\r\nclass GraphicFrameProperties extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"wp:cNvGraphicFramePr\");\r\n this.root.push(new graphic_frame_locks_1.GraphicFrameLocks());\r\n }\r\n}\r\nexports.GraphicFrameProperties = GraphicFrameProperties;\r\n\n\n/***/ }),\n/* 81 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass AnchorAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n distT: \"distT\",\r\n distB: \"distB\",\r\n distL: \"distL\",\r\n distR: \"distR\",\r\n allowOverlap: \"allowOverlap\",\r\n behindDoc: \"behindDoc\",\r\n layoutInCell: \"layoutInCell\",\r\n locked: \"locked\",\r\n relativeHeight: \"relativeHeight\",\r\n simplePos: \"simplePos\",\r\n };\r\n }\r\n}\r\nexports.AnchorAttributes = AnchorAttributes;\r\n\n\n/***/ }),\n/* 82 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass SpacingAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n after: \"w:after\",\r\n before: \"w:before\",\r\n line: \"w:line\",\r\n lineRule: \"w:lineRule\",\r\n };\r\n }\r\n}\r\nclass Spacing extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:spacing\");\r\n this.root.push(new SpacingAttributes(options));\r\n }\r\n}\r\nexports.Spacing = Spacing;\r\nclass ContextualSpacing extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:contextualSpacing\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value === false ? 0 : 1,\r\n }));\r\n }\r\n}\r\nexports.ContextualSpacing = ContextualSpacing;\r\n\n\n/***/ }),\n/* 83 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar HeadingLevel;\r\n(function (HeadingLevel) {\r\n HeadingLevel[\"HEADING_1\"] = \"Heading1\";\r\n HeadingLevel[\"HEADING_2\"] = \"Heading2\";\r\n HeadingLevel[\"HEADING_3\"] = \"Heading3\";\r\n HeadingLevel[\"HEADING_4\"] = \"Heading4\";\r\n HeadingLevel[\"HEADING_5\"] = \"Heading5\";\r\n HeadingLevel[\"HEADING_6\"] = \"Heading6\";\r\n HeadingLevel[\"TITLE\"] = \"Title\";\r\n})(HeadingLevel = exports.HeadingLevel || (exports.HeadingLevel = {}));\r\nclass Style extends xml_components_1.XmlComponent {\r\n constructor(styleId) {\r\n super(\"w:pStyle\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: styleId,\r\n }));\r\n }\r\n}\r\nexports.Style = Style;\r\n\n\n/***/ }),\n/* 84 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass TabStop extends xml_components_1.XmlComponent {\r\n constructor(type, position, leader) {\r\n super(\"w:tabs\");\r\n this.root.push(new TabStopItem(type, position, leader));\r\n }\r\n}\r\nexports.TabStop = TabStop;\r\nvar TabStopType;\r\n(function (TabStopType) {\r\n TabStopType[\"LEFT\"] = \"left\";\r\n TabStopType[\"RIGHT\"] = \"right\";\r\n TabStopType[\"CENTER\"] = \"center\";\r\n TabStopType[\"BAR\"] = \"bar\";\r\n TabStopType[\"CLEAR\"] = \"clear\";\r\n TabStopType[\"DECIMAL\"] = \"decimal\";\r\n TabStopType[\"END\"] = \"end\";\r\n TabStopType[\"NUM\"] = \"num\";\r\n TabStopType[\"START\"] = \"start\";\r\n})(TabStopType = exports.TabStopType || (exports.TabStopType = {}));\r\nvar LeaderType;\r\n(function (LeaderType) {\r\n LeaderType[\"DOT\"] = \"dot\";\r\n LeaderType[\"HYPHEN\"] = \"hyphen\";\r\n LeaderType[\"MIDDLE_DOT\"] = \"middleDot\";\r\n LeaderType[\"NONE\"] = \"none\";\r\n LeaderType[\"UNDERSCORE\"] = \"underscore\";\r\n})(LeaderType = exports.LeaderType || (exports.LeaderType = {}));\r\nvar TabStopPosition;\r\n(function (TabStopPosition) {\r\n TabStopPosition[TabStopPosition[\"MAX\"] = 9026] = \"MAX\";\r\n})(TabStopPosition = exports.TabStopPosition || (exports.TabStopPosition = {}));\r\nclass TabAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\", pos: \"w:pos\", leader: \"w:leader\" };\r\n }\r\n}\r\nexports.TabAttributes = TabAttributes;\r\nclass TabStopItem extends xml_components_1.XmlComponent {\r\n constructor(value, position, leader) {\r\n super(\"w:tab\");\r\n this.root.push(new TabAttributes({\r\n val: value,\r\n pos: position,\r\n leader,\r\n }));\r\n }\r\n}\r\nexports.TabStopItem = TabStopItem;\r\n\n\n/***/ }),\n/* 85 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass NumberProperties extends xml_components_1.XmlComponent {\r\n constructor(numberId, indentLevel) {\r\n super(\"w:numPr\");\r\n this.root.push(new IndentLevel(indentLevel));\r\n this.root.push(new NumberId(numberId));\r\n }\r\n}\r\nexports.NumberProperties = NumberProperties;\r\nclass IndentLevel extends xml_components_1.XmlComponent {\r\n constructor(level) {\r\n super(\"w:ilvl\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: level,\r\n }));\r\n }\r\n}\r\nclass NumberId extends xml_components_1.XmlComponent {\r\n constructor(id) {\r\n super(\"w:numId\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: typeof id === \"string\" ? `{${id}}` : id,\r\n }));\r\n }\r\n}\r\n\n\n/***/ }),\n/* 86 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nmodule.exports = __webpack_require__(220);\n\n\n/***/ }),\n/* 87 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathDenominator extends xml_components_1.XmlComponent {\r\n constructor(children) {\r\n super(\"m:den\");\r\n for (const child of children) {\r\n this.root.push(child);\r\n }\r\n }\r\n}\r\nexports.MathDenominator = MathDenominator;\r\n\n\n/***/ }),\n/* 88 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathNumerator extends xml_components_1.XmlComponent {\r\n constructor(children) {\r\n super(\"m:num\");\r\n for (const child of children) {\r\n this.root.push(child);\r\n }\r\n }\r\n}\r\nexports.MathNumerator = MathNumerator;\r\n\n\n/***/ }),\n/* 89 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathAccentCharacterAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { accent: \"m:val\" };\r\n }\r\n}\r\nclass MathAccentCharacter extends xml_components_1.XmlComponent {\r\n constructor(accent) {\r\n super(\"m:chr\");\r\n this.root.push(new MathAccentCharacterAttributes({ accent }));\r\n }\r\n}\r\nexports.MathAccentCharacter = MathAccentCharacter;\r\n\n\n/***/ }),\n/* 90 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathBase extends xml_components_1.XmlComponent {\r\n constructor(children) {\r\n super(\"m:e\");\r\n for (const child of children) {\r\n this.root.push(child);\r\n }\r\n }\r\n}\r\nexports.MathBase = MathBase;\r\n\n\n/***/ }),\n/* 91 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathLimitLocationAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { value: \"m:val\" };\r\n }\r\n}\r\nclass MathLimitLocation extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"m:limLoc\");\r\n this.root.push(new MathLimitLocationAttributes({ value: \"undOvr\" }));\r\n }\r\n}\r\nexports.MathLimitLocation = MathLimitLocation;\r\n\n\n/***/ }),\n/* 92 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst math_accent_character_1 = __webpack_require__(89);\r\nconst math_limit_location_1 = __webpack_require__(91);\r\nconst math_sub_script_hide_1 = __webpack_require__(237);\r\nconst math_super_script_hide_1 = __webpack_require__(238);\r\nclass MathNArayProperties extends xml_components_1.XmlComponent {\r\n constructor(accent, hasSuperScript, hasSubScript) {\r\n super(\"m:naryPr\");\r\n this.root.push(new math_accent_character_1.MathAccentCharacter(accent));\r\n this.root.push(new math_limit_location_1.MathLimitLocation());\r\n if (!hasSuperScript) {\r\n this.root.push(new math_super_script_hide_1.MathSuperScriptHide());\r\n }\r\n if (!hasSubScript) {\r\n this.root.push(new math_sub_script_hide_1.MathSubScriptHide());\r\n }\r\n }\r\n}\r\nexports.MathNArayProperties = MathNArayProperties;\r\n\n\n/***/ }),\n/* 93 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathSubScriptElement extends xml_components_1.XmlComponent {\r\n constructor(children) {\r\n super(\"m:sub\");\r\n for (const child of children) {\r\n this.root.push(child);\r\n }\r\n }\r\n}\r\nexports.MathSubScriptElement = MathSubScriptElement;\r\n\n\n/***/ }),\n/* 94 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathSuperScriptElement extends xml_components_1.XmlComponent {\r\n constructor(children) {\r\n super(\"m:sup\");\r\n for (const child of children) {\r\n this.root.push(child);\r\n }\r\n }\r\n}\r\nexports.MathSuperScriptElement = MathSuperScriptElement;\r\n\n\n/***/ }),\n/* 95 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathSuperScriptProperties extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"m:sSupPr\");\r\n }\r\n}\r\nexports.MathSuperScriptProperties = MathSuperScriptProperties;\r\n\n\n/***/ }),\n/* 96 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathSubScriptProperties extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"m:sSubPr\");\r\n }\r\n}\r\nexports.MathSubScriptProperties = MathSubScriptProperties;\r\n\n\n/***/ }),\n/* 97 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathSubSuperScriptProperties extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"m:sSubSupPr\");\r\n }\r\n}\r\nexports.MathSubSuperScriptProperties = MathSubSuperScriptProperties;\r\n\n\n/***/ }),\n/* 98 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathPreSubSuperScriptProperties extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"m:sPrePr\");\r\n }\r\n}\r\nexports.MathPreSubSuperScriptProperties = MathPreSubSuperScriptProperties;\r\n\n\n/***/ }),\n/* 99 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathDegree extends xml_components_1.XmlComponent {\r\n constructor(children) {\r\n super(\"m:deg\");\r\n if (!!children) {\r\n for (const child of children) {\r\n this.root.push(child);\r\n }\r\n }\r\n }\r\n}\r\nexports.MathDegree = MathDegree;\r\n\n\n/***/ }),\n/* 100 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst math_degree_hide_1 = __webpack_require__(252);\r\nclass MathRadicalProperties extends xml_components_1.XmlComponent {\r\n constructor(hasDegree) {\r\n super(\"m:radPr\");\r\n if (!hasDegree) {\r\n this.root.push(new math_degree_hide_1.MathDegreeHide());\r\n }\r\n }\r\n}\r\nexports.MathRadicalProperties = MathRadicalProperties;\r\n\n\n/***/ }),\n/* 101 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathFunctionName extends xml_components_1.XmlComponent {\r\n constructor(children) {\r\n super(\"m:fName\");\r\n for (const child of children) {\r\n this.root.push(child);\r\n }\r\n }\r\n}\r\nexports.MathFunctionName = MathFunctionName;\r\n\n\n/***/ }),\n/* 102 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass MathFunctionProperties extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"m:funcPr\");\r\n }\r\n}\r\nexports.MathFunctionProperties = MathFunctionProperties;\r\n\n\n/***/ }),\n/* 103 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(270));\r\n__export(__webpack_require__(109));\r\n__export(__webpack_require__(111));\r\n__export(__webpack_require__(104));\r\n__export(__webpack_require__(110));\r\n\n\n/***/ }),\n/* 104 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst styles_1 = __webpack_require__(23);\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass TableBorders extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:tblBorders\");\r\n if (options.top) {\r\n this.root.push(new TableBordersElement(\"w:top\", options.top.style, options.top.size, 0, options.top.color));\r\n }\r\n else {\r\n this.root.push(new TableBordersElement(\"w:top\", styles_1.BorderStyle.SINGLE, 4, 0, \"auto\"));\r\n }\r\n if (options.left) {\r\n this.root.push(new TableBordersElement(\"w:left\", options.left.style, options.left.size, 0, options.left.color));\r\n }\r\n else {\r\n this.root.push(new TableBordersElement(\"w:left\", styles_1.BorderStyle.SINGLE, 4, 0, \"auto\"));\r\n }\r\n if (options.bottom) {\r\n this.root.push(new TableBordersElement(\"w:bottom\", options.bottom.style, options.bottom.size, 0, options.bottom.color));\r\n }\r\n else {\r\n this.root.push(new TableBordersElement(\"w:bottom\", styles_1.BorderStyle.SINGLE, 4, 0, \"auto\"));\r\n }\r\n if (options.right) {\r\n this.root.push(new TableBordersElement(\"w:right\", options.right.style, options.right.size, 0, options.right.color));\r\n }\r\n else {\r\n this.root.push(new TableBordersElement(\"w:right\", styles_1.BorderStyle.SINGLE, 4, 0, \"auto\"));\r\n }\r\n if (options.insideHorizontal) {\r\n this.root.push(new TableBordersElement(\"w:insideH\", options.insideHorizontal.style, options.insideHorizontal.size, 0, options.insideHorizontal.color));\r\n }\r\n else {\r\n this.root.push(new TableBordersElement(\"w:insideH\", styles_1.BorderStyle.SINGLE, 4, 0, \"auto\"));\r\n }\r\n if (options.insideVertical) {\r\n this.root.push(new TableBordersElement(\"w:insideV\", options.insideVertical.style, options.insideVertical.size, 0, options.insideVertical.color));\r\n }\r\n else {\r\n this.root.push(new TableBordersElement(\"w:insideV\", styles_1.BorderStyle.SINGLE, 4, 0, \"auto\"));\r\n }\r\n }\r\n}\r\nTableBorders.NONE = {\r\n top: {\r\n style: styles_1.BorderStyle.NONE,\r\n size: 0,\r\n color: \"auto\",\r\n },\r\n bottom: {\r\n style: styles_1.BorderStyle.NONE,\r\n size: 0,\r\n color: \"auto\",\r\n },\r\n left: {\r\n style: styles_1.BorderStyle.NONE,\r\n size: 0,\r\n color: \"auto\",\r\n },\r\n right: {\r\n style: styles_1.BorderStyle.NONE,\r\n size: 0,\r\n color: \"auto\",\r\n },\r\n insideHorizontal: {\r\n style: styles_1.BorderStyle.NONE,\r\n size: 0,\r\n color: \"auto\",\r\n },\r\n insideVertical: {\r\n style: styles_1.BorderStyle.NONE,\r\n size: 0,\r\n color: \"auto\",\r\n },\r\n};\r\nexports.TableBorders = TableBorders;\r\nclass TableBordersElement extends xml_components_1.XmlComponent {\r\n constructor(elementName, value, size, space, color) {\r\n super(elementName);\r\n this.root.push(new TableBordersAttributes({\r\n value,\r\n size,\r\n space,\r\n color,\r\n }));\r\n }\r\n}\r\nclass TableBordersAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n value: \"w:val\",\r\n size: \"w:sz\",\r\n space: \"w:space\",\r\n color: \"w:color\",\r\n };\r\n }\r\n}\r\n\n\n/***/ }),\n/* 105 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(40));\r\n__export(__webpack_require__(42));\r\n__export(__webpack_require__(43));\r\n__export(__webpack_require__(272));\r\n\n\n/***/ }),\n/* 106 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(107));\r\n__export(__webpack_require__(108));\r\n__export(__webpack_require__(275));\r\n\n\n/***/ }),\n/* 107 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst properties_1 = __webpack_require__(21);\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass ParagraphPropertiesDefaults extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:pPrDefault\");\r\n this.root.push(new properties_1.ParagraphProperties(options));\r\n }\r\n}\r\nexports.ParagraphPropertiesDefaults = ParagraphPropertiesDefaults;\r\n\n\n/***/ }),\n/* 108 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst properties_1 = __webpack_require__(9);\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass RunPropertiesDefaults extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:rPrDefault\");\r\n this.properties = new properties_1.RunProperties(options);\r\n this.root.push(this.properties);\r\n }\r\n}\r\nexports.RunPropertiesDefaults = RunPropertiesDefaults;\r\n\n\n/***/ }),\n/* 109 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst table_overlap_1 = __webpack_require__(110);\r\nvar TableAnchorType;\r\n(function (TableAnchorType) {\r\n TableAnchorType[\"MARGIN\"] = \"margin\";\r\n TableAnchorType[\"PAGE\"] = \"page\";\r\n TableAnchorType[\"TEXT\"] = \"text\";\r\n})(TableAnchorType = exports.TableAnchorType || (exports.TableAnchorType = {}));\r\nvar RelativeHorizontalPosition;\r\n(function (RelativeHorizontalPosition) {\r\n RelativeHorizontalPosition[\"CENTER\"] = \"center\";\r\n RelativeHorizontalPosition[\"INSIDE\"] = \"inside\";\r\n RelativeHorizontalPosition[\"LEFT\"] = \"left\";\r\n RelativeHorizontalPosition[\"OUTSIDE\"] = \"outside\";\r\n RelativeHorizontalPosition[\"RIGHT\"] = \"right\";\r\n})(RelativeHorizontalPosition = exports.RelativeHorizontalPosition || (exports.RelativeHorizontalPosition = {}));\r\nvar RelativeVerticalPosition;\r\n(function (RelativeVerticalPosition) {\r\n RelativeVerticalPosition[\"CENTER\"] = \"center\";\r\n RelativeVerticalPosition[\"INSIDE\"] = \"inside\";\r\n RelativeVerticalPosition[\"BOTTOM\"] = \"bottom\";\r\n RelativeVerticalPosition[\"OUTSIDE\"] = \"outside\";\r\n RelativeVerticalPosition[\"INLINE\"] = \"inline\";\r\n RelativeVerticalPosition[\"TOP\"] = \"top\";\r\n})(RelativeVerticalPosition = exports.RelativeVerticalPosition || (exports.RelativeVerticalPosition = {}));\r\nclass TableFloatOptionsAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n horizontalAnchor: \"w:horzAnchor\",\r\n verticalAnchor: \"w:vertAnchor\",\r\n absoluteHorizontalPosition: \"w:tblpX\",\r\n relativeHorizontalPosition: \"w:tblpXSpec\",\r\n absoluteVerticalPosition: \"w:tblpY\",\r\n relativeVerticalPosition: \"w:tblpYSpec\",\r\n bottomFromText: \"w:bottomFromText\",\r\n topFromText: \"w:topFromText\",\r\n leftFromText: \"w:leftFromText\",\r\n rightFromText: \"w:rightFromText\",\r\n };\r\n }\r\n}\r\nexports.TableFloatOptionsAttributes = TableFloatOptionsAttributes;\r\nclass TableFloatProperties extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:tblpPr\");\r\n this.root.push(new TableFloatOptionsAttributes(options));\r\n if (options.overlap) {\r\n this.root.push(new table_overlap_1.TableOverlap(options.overlap));\r\n }\r\n }\r\n}\r\nexports.TableFloatProperties = TableFloatProperties;\r\n\n\n/***/ }),\n/* 110 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar OverlapType;\r\n(function (OverlapType) {\r\n OverlapType[\"NEVER\"] = \"never\";\r\n OverlapType[\"OVERLAP\"] = \"overlap\";\r\n})(OverlapType = exports.OverlapType || (exports.OverlapType = {}));\r\nclass TableOverlapAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass TableOverlap extends xml_components_1.XmlComponent {\r\n constructor(type) {\r\n super(\"w:tblOverlap\");\r\n this.root.push(new TableOverlapAttributes({ val: type }));\r\n }\r\n}\r\nexports.TableOverlap = TableOverlap;\r\n\n\n/***/ }),\n/* 111 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar TableLayoutType;\r\n(function (TableLayoutType) {\r\n TableLayoutType[\"AUTOFIT\"] = \"autofit\";\r\n TableLayoutType[\"FIXED\"] = \"fixed\";\r\n})(TableLayoutType = exports.TableLayoutType || (exports.TableLayoutType = {}));\r\nclass TableLayoutAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { type: \"w:type\" };\r\n }\r\n}\r\nclass TableLayout extends xml_components_1.XmlComponent {\r\n constructor(type) {\r\n super(\"w:tblLayout\");\r\n this.root.push(new TableLayoutAttributes({ type }));\r\n }\r\n}\r\nexports.TableLayout = TableLayout;\r\n\n\n/***/ }),\n/* 112 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst table_row_height_1 = __webpack_require__(113);\r\nclass TableRowProperties extends xml_components_1.IgnoreIfEmptyXmlComponent {\r\n constructor() {\r\n super(\"w:trPr\");\r\n }\r\n setCantSplit() {\r\n this.root.push(new CantSplit());\r\n return this;\r\n }\r\n setTableHeader() {\r\n this.root.push(new TableHeader());\r\n return this;\r\n }\r\n setHeight(height, rule) {\r\n this.root.push(new table_row_height_1.TableRowHeight(height, rule));\r\n return this;\r\n }\r\n}\r\nexports.TableRowProperties = TableRowProperties;\r\nclass CantSplitAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass CantSplit extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:cantSplit\");\r\n this.root.push(new CantSplitAttributes({ val: true }));\r\n }\r\n}\r\nexports.CantSplit = CantSplit;\r\nclass TableHeaderAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass TableHeader extends xml_components_1.XmlComponent {\r\n constructor() {\r\n super(\"w:tblHeader\");\r\n this.root.push(new TableHeaderAttributes({ val: true }));\r\n }\r\n}\r\nexports.TableHeader = TableHeader;\r\n\n\n/***/ }),\n/* 113 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar HeightRule;\r\n(function (HeightRule) {\r\n HeightRule[\"AUTO\"] = \"auto\";\r\n HeightRule[\"ATLEAST\"] = \"atLeast\";\r\n HeightRule[\"EXACT\"] = \"exact\";\r\n})(HeightRule = exports.HeightRule || (exports.HeightRule = {}));\r\nclass TableRowHeightAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { height: \"w:val\", rule: \"w:hRule\" };\r\n }\r\n}\r\nexports.TableRowHeightAttributes = TableRowHeightAttributes;\r\nclass TableRowHeight extends xml_components_1.XmlComponent {\r\n constructor(value, rule) {\r\n super(\"w:trHeight\");\r\n this.root.push(new TableRowHeightAttributes({\r\n height: value,\r\n rule: rule,\r\n }));\r\n }\r\n}\r\nexports.TableRowHeight = TableRowHeight;\r\n\n\n/***/ }),\n/* 114 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(292));\r\n__export(__webpack_require__(11));\r\n__export(__webpack_require__(115));\r\n__export(__webpack_require__(130));\r\n\n\n/***/ }),\n/* 115 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(293));\r\n__export(__webpack_require__(129));\r\n\n\n/***/ }),\n/* 116 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst convenience_functions_1 = __webpack_require__(44);\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst columns_1 = __webpack_require__(294);\r\nconst doc_grid_1 = __webpack_require__(296);\r\nconst footer_reference_1 = __webpack_require__(117);\r\nconst footer_reference_2 = __webpack_require__(118);\r\nconst header_reference_1 = __webpack_require__(120);\r\nconst header_reference_2 = __webpack_require__(121);\r\nconst line_number_1 = __webpack_require__(123);\r\nconst page_border_1 = __webpack_require__(124);\r\nconst page_margin_1 = __webpack_require__(300);\r\nconst page_number_1 = __webpack_require__(125);\r\nconst page_size_1 = __webpack_require__(126);\r\nconst page_size_attributes_1 = __webpack_require__(45);\r\nconst title_page_1 = __webpack_require__(303);\r\nconst vertical_align_1 = __webpack_require__(127);\r\nclass SectionProperties extends xml_components_1.XmlComponent {\r\n constructor(options = { column: {} }) {\r\n super(\"w:sectPr\");\r\n const { width = 11906, height = 16838, top = convenience_functions_1.convertInchesToTwip(1), right = convenience_functions_1.convertInchesToTwip(1), bottom = convenience_functions_1.convertInchesToTwip(1), left = convenience_functions_1.convertInchesToTwip(1), header = 708, footer = 708, gutter = 0, mirror = false, column = {}, linePitch = 360, orientation = page_size_attributes_1.PageOrientation.PORTRAIT, headers, footers, pageNumberFormatType, pageNumberStart, lineNumberCountBy, lineNumberStart, lineNumberRestart, lineNumberDistance, pageBorders, pageBorderTop, pageBorderRight, pageBorderBottom, pageBorderLeft, titlePage = false, verticalAlign, } = options;\r\n this.options = options;\r\n this.root.push(new page_size_1.PageSize(width, height, orientation));\r\n this.root.push(new page_margin_1.PageMargin(top, right, bottom, left, header, footer, gutter, mirror));\r\n this.root.push(new columns_1.Columns(column.space ? column.space : 708, column.count ? column.count : 1));\r\n this.root.push(new doc_grid_1.DocumentGrid(linePitch));\r\n this.addHeaders(headers);\r\n this.addFooters(footers);\r\n if (pageNumberStart || pageNumberFormatType) {\r\n this.root.push(new page_number_1.PageNumberType(pageNumberStart, pageNumberFormatType));\r\n }\r\n if (lineNumberCountBy || lineNumberStart || lineNumberRestart || lineNumberDistance) {\r\n this.root.push(new line_number_1.LineNumberType(lineNumberCountBy, lineNumberStart, lineNumberRestart, lineNumberDistance));\r\n }\r\n if (pageBorders || pageBorderTop || pageBorderRight || pageBorderBottom || pageBorderLeft) {\r\n this.root.push(new page_border_1.PageBorders({\r\n pageBorders: pageBorders,\r\n pageBorderTop: pageBorderTop,\r\n pageBorderRight: pageBorderRight,\r\n pageBorderBottom: pageBorderBottom,\r\n pageBorderLeft: pageBorderLeft,\r\n }));\r\n }\r\n if (titlePage) {\r\n this.root.push(new title_page_1.TitlePage());\r\n }\r\n if (verticalAlign) {\r\n this.root.push(new vertical_align_1.SectionVerticalAlign(verticalAlign));\r\n }\r\n }\r\n addHeaders(headers) {\r\n if (headers) {\r\n if (headers.default) {\r\n this.root.push(new header_reference_2.HeaderReference({\r\n headerType: header_reference_1.HeaderReferenceType.DEFAULT,\r\n headerId: headers.default.Header.ReferenceId,\r\n }));\r\n }\r\n if (headers.first) {\r\n this.root.push(new header_reference_2.HeaderReference({\r\n headerType: header_reference_1.HeaderReferenceType.FIRST,\r\n headerId: headers.first.Header.ReferenceId,\r\n }));\r\n }\r\n if (headers.even) {\r\n this.root.push(new header_reference_2.HeaderReference({\r\n headerType: header_reference_1.HeaderReferenceType.EVEN,\r\n headerId: headers.even.Header.ReferenceId,\r\n }));\r\n }\r\n }\r\n }\r\n addFooters(footers) {\r\n if (footers) {\r\n if (footers.default) {\r\n this.root.push(new footer_reference_2.FooterReference({\r\n footerType: footer_reference_1.FooterReferenceType.DEFAULT,\r\n footerId: footers.default.Footer.ReferenceId,\r\n }));\r\n }\r\n if (footers.first) {\r\n this.root.push(new footer_reference_2.FooterReference({\r\n footerType: footer_reference_1.FooterReferenceType.FIRST,\r\n footerId: footers.first.Footer.ReferenceId,\r\n }));\r\n }\r\n if (footers.even) {\r\n this.root.push(new footer_reference_2.FooterReference({\r\n footerType: footer_reference_1.FooterReferenceType.EVEN,\r\n footerId: footers.even.Footer.ReferenceId,\r\n }));\r\n }\r\n }\r\n }\r\n get Options() {\r\n return this.options;\r\n }\r\n}\r\nexports.SectionProperties = SectionProperties;\r\n\n\n/***/ }),\n/* 117 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(118));\r\n__export(__webpack_require__(119));\r\n\n\n/***/ }),\n/* 118 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst footer_reference_attributes_1 = __webpack_require__(119);\r\nclass FooterReference extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:footerReference\");\r\n this.root.push(new footer_reference_attributes_1.FooterReferenceAttributes({\r\n type: options.footerType || footer_reference_attributes_1.FooterReferenceType.DEFAULT,\r\n id: `rId${options.footerId}`,\r\n }));\r\n }\r\n}\r\nexports.FooterReference = FooterReference;\r\n\n\n/***/ }),\n/* 119 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar FooterReferenceType;\r\n(function (FooterReferenceType) {\r\n FooterReferenceType[\"DEFAULT\"] = \"default\";\r\n FooterReferenceType[\"FIRST\"] = \"first\";\r\n FooterReferenceType[\"EVEN\"] = \"even\";\r\n})(FooterReferenceType = exports.FooterReferenceType || (exports.FooterReferenceType = {}));\r\nclass FooterReferenceAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n type: \"w:type\",\r\n id: \"r:id\",\r\n };\r\n }\r\n}\r\nexports.FooterReferenceAttributes = FooterReferenceAttributes;\r\n\n\n/***/ }),\n/* 120 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(121));\r\n__export(__webpack_require__(122));\r\n\n\n/***/ }),\n/* 121 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst header_reference_attributes_1 = __webpack_require__(122);\r\nclass HeaderReference extends xml_components_1.XmlComponent {\r\n constructor(options) {\r\n super(\"w:headerReference\");\r\n this.root.push(new header_reference_attributes_1.HeaderReferenceAttributes({\r\n type: options.headerType || header_reference_attributes_1.HeaderReferenceType.DEFAULT,\r\n id: `rId${options.headerId}`,\r\n }));\r\n }\r\n}\r\nexports.HeaderReference = HeaderReference;\r\n\n\n/***/ }),\n/* 122 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nvar HeaderReferenceType;\r\n(function (HeaderReferenceType) {\r\n HeaderReferenceType[\"DEFAULT\"] = \"default\";\r\n HeaderReferenceType[\"FIRST\"] = \"first\";\r\n HeaderReferenceType[\"EVEN\"] = \"even\";\r\n})(HeaderReferenceType = exports.HeaderReferenceType || (exports.HeaderReferenceType = {}));\r\nclass HeaderReferenceAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n type: \"w:type\",\r\n id: \"r:id\",\r\n };\r\n }\r\n}\r\nexports.HeaderReferenceAttributes = HeaderReferenceAttributes;\r\n\n\n/***/ }),\n/* 123 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(298));\r\n\n\n/***/ }),\n/* 124 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(299));\r\n\n\n/***/ }),\n/* 125 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(302));\r\n\n\n/***/ }),\n/* 126 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst page_size_attributes_1 = __webpack_require__(45);\r\nclass PageSize extends xml_components_1.XmlComponent {\r\n constructor(width, height, orientation) {\r\n super(\"w:pgSz\");\r\n const flip = orientation === page_size_attributes_1.PageOrientation.LANDSCAPE;\r\n this.root.push(new page_size_attributes_1.PageSizeAttributes({\r\n width: flip ? height : width,\r\n height: flip ? width : height,\r\n orientation: orientation,\r\n }));\r\n }\r\n}\r\nexports.PageSize = PageSize;\r\n\n\n/***/ }),\n/* 127 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(305));\r\n__export(__webpack_require__(128));\r\n\n\n/***/ }),\n/* 128 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass SectionVerticalAlignAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n verticalAlign: \"w:val\",\r\n };\r\n }\r\n}\r\nexports.SectionVerticalAlignAttributes = SectionVerticalAlignAttributes;\r\n\n\n/***/ }),\n/* 129 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(116));\r\n__export(__webpack_require__(117));\r\n__export(__webpack_require__(120));\r\n__export(__webpack_require__(306));\r\n__export(__webpack_require__(125));\r\n__export(__webpack_require__(124));\r\n__export(__webpack_require__(123));\r\n__export(__webpack_require__(127));\r\n\n\n/***/ }),\n/* 130 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(307));\r\n\n\n/***/ }),\n/* 131 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(313));\r\n__export(__webpack_require__(323));\r\n\n\n/***/ }),\n/* 132 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nclass Header {\r\n constructor(options = { children: [] }) {\r\n this.options = options;\r\n }\r\n}\r\nexports.Header = Header;\r\nclass Footer {\r\n constructor(options = { children: [] }) {\r\n this.options = options;\r\n }\r\n}\r\nexports.Footer = Footer;\r\n\n\n/***/ }),\n/* 133 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(330));\r\n__export(__webpack_require__(134));\r\n__export(__webpack_require__(24));\r\n__export(__webpack_require__(135));\r\n\n\n/***/ }),\n/* 134 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst level_1 = __webpack_require__(24);\r\nconst multi_level_type_1 = __webpack_require__(331);\r\nclass AbstractNumberingAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n abstractNumId: \"w:abstractNumId\",\r\n restartNumberingAfterBreak: \"w15:restartNumberingAfterBreak\",\r\n };\r\n }\r\n}\r\nclass AbstractNumbering extends xml_components_1.XmlComponent {\r\n constructor(id, levelOptions) {\r\n super(\"w:abstractNum\");\r\n this.root.push(new AbstractNumberingAttributes({\r\n abstractNumId: id,\r\n restartNumberingAfterBreak: 0,\r\n }));\r\n this.root.push(new multi_level_type_1.MultiLevelType(\"hybridMultilevel\"));\r\n this.id = id;\r\n for (const option of levelOptions) {\r\n this.root.push(new level_1.Level(option));\r\n }\r\n }\r\n}\r\nexports.AbstractNumbering = AbstractNumbering;\r\n\n\n/***/ }),\n/* 135 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nconst level_1 = __webpack_require__(24);\r\nclass AbstractNumId extends xml_components_1.XmlComponent {\r\n constructor(value) {\r\n super(\"w:abstractNumId\");\r\n this.root.push(new xml_components_1.Attributes({\r\n val: value,\r\n }));\r\n }\r\n}\r\nclass NumAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { numId: \"w:numId\" };\r\n }\r\n}\r\nclass ConcreteNumbering extends xml_components_1.XmlComponent {\r\n constructor(numId, abstractNumId, reference) {\r\n super(\"w:num\");\r\n this.reference = reference;\r\n this.root.push(new NumAttributes({\r\n numId: numId,\r\n }));\r\n this.root.push(new AbstractNumId(abstractNumId));\r\n this.id = numId;\r\n }\r\n overrideLevel(num, start) {\r\n const olvl = new LevelOverride(num, start);\r\n this.root.push(olvl);\r\n return olvl;\r\n }\r\n}\r\nexports.ConcreteNumbering = ConcreteNumbering;\r\nclass LevelOverrideAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { ilvl: \"w:ilvl\" };\r\n }\r\n}\r\nclass LevelOverride extends xml_components_1.XmlComponent {\r\n constructor(levelNum, start) {\r\n super(\"w:lvlOverride\");\r\n this.levelNum = levelNum;\r\n this.root.push(new LevelOverrideAttributes({ ilvl: levelNum }));\r\n if (start !== undefined) {\r\n this.root.push(new StartOverride(start));\r\n }\r\n this.lvl = new level_1.LevelForOverride({\r\n level: this.levelNum,\r\n });\r\n this.root.push(this.lvl);\r\n }\r\n get Level() {\r\n return this.lvl;\r\n }\r\n}\r\nexports.LevelOverride = LevelOverride;\r\nclass StartOverrideAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = { val: \"w:val\" };\r\n }\r\n}\r\nclass StartOverride extends xml_components_1.XmlComponent {\r\n constructor(start) {\r\n super(\"w:startOverride\");\r\n this.root.push(new StartOverrideAttributes({ val: start }));\r\n }\r\n}\r\n\n\n/***/ }),\n/* 136 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass UpdateFieldsAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n enabled: \"w:val\",\r\n };\r\n }\r\n}\r\nexports.UpdateFieldsAttributes = UpdateFieldsAttributes;\r\nclass UpdateFields extends xml_components_1.XmlComponent {\r\n constructor(enabled = true) {\r\n super(\"w:updateFields\");\r\n this.root.push(new UpdateFieldsAttributes({\r\n enabled,\r\n }));\r\n }\r\n}\r\nexports.UpdateFields = UpdateFields;\r\n\n\n/***/ }),\n/* 137 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_components_1 = __webpack_require__(0);\r\nclass ChangeAttributes extends xml_components_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n id: \"w:id\",\r\n author: \"w:author\",\r\n date: \"w:date\",\r\n };\r\n }\r\n}\r\nexports.ChangeAttributes = ChangeAttributes;\r\n\n\n/***/ }),\n/* 138 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(Buffer, global, setImmediate) {var require;var require;/*!\n\nJSZip v3.5.0 - A JavaScript class for generating and reading zip files\n\n\n(c) 2009-2016 Stuart Knightley \nDual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.\n\nJSZip uses the library pako released under the MIT license :\nhttps://github.com/nodeca/pako/blob/master/LICENSE\n*/\n\n!function(t){if(true)module.exports=t();else if(\"function\"==typeof define&&define.amd)define([],t);else{(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}}(function(){return function s(a,o,h){function u(r,t){if(!o[r]){if(!a[r]){var e=\"function\"==typeof require&&require;if(!t&&e)return require(r,!0);if(l)return l(r,!0);var i=new Error(\"Cannot find module '\"+r+\"'\");throw i.code=\"MODULE_NOT_FOUND\",i}var n=o[r]={exports:{}};a[r][0].call(n.exports,function(t){var e=a[r][1][t];return u(e||t)},n,n.exports,s,a,o,h)}return o[r].exports}for(var l=\"function\"==typeof require&&require,t=0;t>2,s=(3&e)<<4|r>>4,a=1>6:64,o=2>4,r=(15&n)<<4|(s=p.indexOf(t.charAt(o++)))>>2,i=(3&s)<<6|(a=p.indexOf(t.charAt(o++))),l[h++]=e,64!==s&&(l[h++]=r),64!==a&&(l[h++]=i);return l}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var i=t(\"./external\"),n=t(\"./stream/DataWorker\"),s=t(\"./stream/DataLengthProbe\"),a=t(\"./stream/Crc32Probe\");s=t(\"./stream/DataLengthProbe\");function o(t,e,r,i,n){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=i,this.compressedContent=n}o.prototype={getContentWorker:function(){var t=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},o.createWorkerFrom=function(t,e,r){return t.pipe(new a).pipe(new s(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new s(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=o},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var i=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new i(\"STORE compression\")},uncompressWorker:function(){return new i(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var i=t(\"./utils\");var o=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?\"string\"!==i.getTypeOf(t)?function(t,e,r,i){var n=o,s=i+r;t^=-1;for(var a=i;a>>8^n[255&(t^e[a])];return-1^t}(0|e,t,t.length,0):function(t,e,r,i){var n=o,s=i+r;t^=-1;for(var a=i;a>>8^n[255&(t^e.charCodeAt(a))];return-1^t}(0|e,t,t.length,0):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";var i=null;i=\"undefined\"!=typeof Promise?Promise:t(\"lie\"),e.exports={Promise:i}},{lie:37}],7:[function(t,e,r){\"use strict\";var i=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,n=t(\"pako\"),s=t(\"./utils\"),a=t(\"./stream/GenericWorker\"),o=i?\"uint8array\":\"array\";function h(t,e){a.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",s.inherits(h,a),h.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,t.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new h(\"Deflate\",t)},r.uncompressWorker=function(){return new h(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function A(t,e){var r,i=\"\";for(r=0;r>>=8;return i}function i(t,e,r,i,n,s){var a,o,h=t.file,u=t.compression,l=s!==O.utf8encode,f=I.transformTo(\"string\",s(h.name)),d=I.transformTo(\"string\",O.utf8encode(h.name)),c=h.comment,p=I.transformTo(\"string\",s(c)),m=I.transformTo(\"string\",O.utf8encode(c)),_=d.length!==h.name.length,g=m.length!==c.length,b=\"\",v=\"\",y=\"\",w=h.dir,k=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(x.crc32=t.crc32,x.compressedSize=t.compressedSize,x.uncompressedSize=t.uncompressedSize);var S=0;e&&(S|=8),l||!_&&!g||(S|=2048);var z=0,C=0;w&&(z|=16),\"UNIX\"===n?(C=798,z|=function(t,e){var r=t;return t||(r=e?16893:33204),(65535&r)<<16}(h.unixPermissions,w)):(C=20,z|=function(t){return 63&(t||0)}(h.dosPermissions)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,o=k.getUTCFullYear()-1980,o<<=4,o|=k.getUTCMonth()+1,o<<=5,o|=k.getUTCDate(),_&&(v=A(1,1)+A(B(f),4)+d,b+=\"up\"+A(v.length,2)+v),g&&(y=A(1,1)+A(B(p),4)+m,b+=\"uc\"+A(y.length,2)+y);var E=\"\";return E+=\"\\n\\0\",E+=A(S,2),E+=u.magic,E+=A(a,2),E+=A(o,2),E+=A(x.crc32,4),E+=A(x.compressedSize,4),E+=A(x.uncompressedSize,4),E+=A(f.length,2),E+=A(b.length,2),{fileRecord:R.LOCAL_FILE_HEADER+E+f+b,dirRecord:R.CENTRAL_FILE_HEADER+A(C,2)+E+A(p.length,2)+\"\\0\\0\\0\\0\"+A(z,4)+A(i,4)+f+b+p}}var I=t(\"../utils\"),n=t(\"../stream/GenericWorker\"),O=t(\"../utf8\"),B=t(\"../crc32\"),R=t(\"../signature\");function s(t,e,r,i){n.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}I.inherits(s,n),s.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,n.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-i-1))/r:100}}))},s.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=i(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},s.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=i(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:function(t){return R.DATA_DESCRIPTOR+A(t.crc32,4)+A(t.compressedSize,4)+A(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},s.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return i.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=n},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var i=t(\"./Uint8ArrayReader\");function n(t){i.call(this,t)}t(\"../utils\").inherits(n,i),n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var i=t(\"./DataReader\");function n(t){i.call(this,t)}t(\"../utils\").inherits(n,i),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var i=t(\"./ArrayReader\");function n(t){i.call(this,t)}t(\"../utils\").inherits(n,i),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var i=t(\"../utils\"),n=t(\"../support\"),s=t(\"./ArrayReader\"),a=t(\"./StringReader\"),o=t(\"./NodeBufferReader\"),h=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=i.getTypeOf(t);return i.checkSupport(e),\"string\"!==e||n.uint8array?\"nodebuffer\"===e?new o(t):n.uint8array?new h(i.transformTo(\"uint8array\",t)):new s(i.transformTo(\"array\",t)):new a(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var i=t(\"./GenericWorker\"),n=t(\"../utils\");function s(t){i.call(this,\"ConvertWorker to \"+t),this.destType=t}n.inherits(s,i),s.prototype.processChunk=function(t){this.push({data:n.transformTo(this.destType,t.data),meta:t.meta})},e.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var i=t(\"./GenericWorker\"),n=t(\"../crc32\");function s(){i.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(s,i),s.prototype.processChunk=function(t){this.streamInfo.crc32=n(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=s},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var i=t(\"../utils\"),n=t(\"./GenericWorker\");function s(t){n.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}i.inherits(s,n),s.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}n.prototype.processChunk.call(this,t)},e.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var i=t(\"../utils\"),n=t(\"./GenericWorker\");function s(t){n.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=i.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}i.inherits(s,n),s.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function i(t){this.name=t||\"default\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=i},{}],29:[function(t,e,r){\"use strict\";var h=t(\"../utils\"),n=t(\"./ConvertWorker\"),s=t(\"./GenericWorker\"),u=t(\"../base64\"),i=t(\"../support\"),a=t(\"../external\"),o=null;if(i.nodestream)try{o=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,o){return new a.Promise(function(e,r){var i=[],n=t._internalType,s=t._outputType,a=t._mimeType;t.on(\"data\",function(t,e){i.push(t),o&&o(e)}).on(\"error\",function(t){i=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return h.newBlob(h.transformTo(\"arraybuffer\",e),r);case\"base64\":return u.encode(e);default:return h.transformTo(t,e)}}(s,function(t,e){var r,i=0,n=null,s=0;for(r=0;r>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e}(t)},s.utf8decode=function(t){return h.nodebuffer?o.transformTo(\"nodebuffer\",t).toString(\"utf-8\"):function(t){var e,r,i,n,s=t.length,a=new Array(2*s);for(e=r=0;e>10&1023,a[r++]=56320|1023&i)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),o.applyFromCharCode(a)}(t=o.transformTo(h.uint8array?\"uint8array\":\"array\",t))},o.inherits(a,i),a.prototype.processChunk=function(t){var e=o.transformTo(h.uint8array?\"uint8array\":\"array\",t.data);if(this.leftOver&&this.leftOver.length){if(h.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var i=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+u[t[r]]>e?r:e}(e),n=e;i!==e.length&&(h.uint8array?(n=e.subarray(0,i),this.leftOver=e.subarray(i,e.length)):(n=e.slice(0,i),this.leftOver=e.slice(i,e.length))),this.push({data:s.utf8decode(n),meta:t.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=a,o.inherits(l,i),l.prototype.processChunk=function(t){this.push({data:s.utf8encode(t.data),meta:t.meta})},s.Utf8EncodeWorker=l},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,a){\"use strict\";var o=t(\"./support\"),h=t(\"./base64\"),r=t(\"./nodejsUtils\"),i=t(\"set-immediate-shim\"),u=t(\"./external\");function n(t){return t}function l(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=i(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,i,n=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e},r.buf2binstring=function(t){return l(t,t.length)},r.binstring2buf=function(t){for(var e=new h.Buf8(t.length),r=0,i=e.length;r>10&1023,o[i++]=56320|1023&n)}return l(o,i)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+u[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,i){for(var n=65535&t|0,s=t>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,i){var n=o,s=i+r;t^=-1;for(var a=i;a>>8^n[255&(t^e[a])];return-1^t}},{}],46:[function(t,e,r){\"use strict\";var h,d=t(\"../utils/common\"),u=t(\"./trees\"),c=t(\"./adler32\"),p=t(\"./crc32\"),i=t(\"./messages\"),l=0,f=4,m=0,_=-2,g=-1,b=4,n=2,v=8,y=9,s=286,a=30,o=19,w=2*s+1,k=15,x=3,S=258,z=S+x+1,C=42,E=113,A=1,I=2,O=3,B=4;function R(t,e){return t.msg=i[e],e}function T(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(d.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function N(t,e){u._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,F(t.strm)}function U(t,e){t.pending_buf[t.pending++]=e}function P(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function L(t,e){var r,i,n=t.max_chain_length,s=t.strstart,a=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-z?t.strstart-(t.w_size-z):0,u=t.window,l=t.w_mask,f=t.prev,d=t.strstart+S,c=u[s+a-1],p=u[s+a];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(u[(r=e)+a]===p&&u[r+a-1]===c&&u[r]===u[s]&&u[++r]===u[s+1]){s+=2,r++;do{}while(u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&sh&&0!=--n);return a<=t.lookahead?a:t.lookahead}function j(t){var e,r,i,n,s,a,o,h,u,l,f=t.w_size;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=f+(f-z)){for(d.arraySet(t.window,t.window,f,f,0),t.match_start-=f,t.strstart-=f,t.block_start-=f,e=r=t.hash_size;i=t.head[--e],t.head[e]=f<=i?i-f:0,--r;);for(e=r=f;i=t.prev[--e],t.prev[e]=f<=i?i-f:0,--r;);n+=f}if(0===t.strm.avail_in)break;if(a=t.strm,o=t.window,h=t.strstart+t.lookahead,u=n,l=void 0,l=a.avail_in,u=x)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<=x&&(t.ins_h=(t.ins_h<=x)if(i=u._tr_tally(t,t.strstart-t.match_start,t.match_length-x),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=x){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=x&&(t.ins_h=(t.ins_h<=x&&t.match_length<=t.prev_length){for(n=t.strstart+t.lookahead-x,i=u._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-x),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=n&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(j(t),0===t.lookahead&&e===l)return A;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+r;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,N(t,!1),0===t.strm.avail_out))return A;if(t.strstart-t.block_start>=t.w_size-z&&(N(t,!1),0===t.strm.avail_out))return A}return t.insert=0,e===f?(N(t,!0),0===t.strm.avail_out?O:B):(t.strstart>t.block_start&&(N(t,!1),t.strm.avail_out),A)}),new M(4,4,8,4,Z),new M(4,5,16,8,Z),new M(4,6,32,32,Z),new M(4,4,16,16,W),new M(8,16,32,32,W),new M(8,16,128,128,W),new M(8,32,128,256,W),new M(32,128,258,1024,W),new M(32,258,258,4096,W)],r.deflateInit=function(t,e){return Y(t,e,v,15,8,0)},r.deflateInit2=Y,r.deflateReset=K,r.deflateResetKeep=G,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?_:(t.state.gzhead=e,m):_},r.deflate=function(t,e){var r,i,n,s;if(!t||!t.state||5>8&255),U(i,i.gzhead.time>>16&255),U(i,i.gzhead.time>>24&255),U(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),U(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(U(i,255&i.gzhead.extra.length),U(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=p(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(U(i,0),U(i,0),U(i,0),U(i,0),U(i,0),U(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),U(i,3),i.status=E);else{var a=v+(i.w_bits-8<<4)<<8;a|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=32),a+=31-a%31,i.status=E,P(i,a),0!==i.strstart&&(P(i,t.adler>>>16),P(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),F(t),n=i.pending,i.pending!==i.pending_buf_size));)U(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),F(t),n=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexn&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),0===s&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),F(t),n=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexn&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),0===s&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&F(t),i.pending+2<=i.pending_buf_size&&(U(i,255&t.adler),U(i,t.adler>>8&255),t.adler=0,i.status=E)):i.status=E),0!==i.pending){if(F(t),0===t.avail_out)return i.last_flush=-1,m}else if(0===t.avail_in&&T(e)<=T(r)&&e!==f)return R(t,-5);if(666===i.status&&0!==t.avail_in)return R(t,-5);if(0!==t.avail_in||0!==i.lookahead||e!==l&&666!==i.status){var o=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(j(t),0===t.lookahead)){if(e===l)return A;break}if(t.match_length=0,r=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(N(t,!1),0===t.strm.avail_out))return A}return t.insert=0,e===f?(N(t,!0),0===t.strm.avail_out?O:B):t.last_lit&&(N(t,!1),0===t.strm.avail_out)?A:I}(i,e):3===i.strategy?function(t,e){for(var r,i,n,s,a=t.window;;){if(t.lookahead<=S){if(j(t),t.lookahead<=S&&e===l)return A;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=x&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=x?(r=u._tr_tally(t,1,t.match_length-x),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(N(t,!1),0===t.strm.avail_out))return A}return t.insert=0,e===f?(N(t,!0),0===t.strm.avail_out?O:B):t.last_lit&&(N(t,!1),0===t.strm.avail_out)?A:I}(i,e):h[i.level].func(i,e);if(o!==O&&o!==B||(i.status=666),o===A||o===O)return 0===t.avail_out&&(i.last_flush=-1),m;if(o===I&&(1===e?u._tr_align(i):5!==e&&(u._tr_stored_block(i,0,0,!1),3===e&&(D(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),F(t),0===t.avail_out))return i.last_flush=-1,m}return e!==f?m:i.wrap<=0?1:(2===i.wrap?(U(i,255&t.adler),U(i,t.adler>>8&255),U(i,t.adler>>16&255),U(i,t.adler>>24&255),U(i,255&t.total_in),U(i,t.total_in>>8&255),U(i,t.total_in>>16&255),U(i,t.total_in>>24&255)):(P(i,t.adler>>>16),P(i,65535&t.adler)),F(t),0=r.w_size&&(0===s&&(D(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new d.Buf8(r.w_size),d.arraySet(u,e,l-r.w_size,r.w_size,0),e=u,l=r.w_size),a=t.avail_in,o=t.next_in,h=t.input,t.avail_in=l,t.next_in=0,t.input=e,j(r);r.lookahead>=x;){for(i=r.strstart,n=r.lookahead-(x-1);r.ins_h=(r.ins_h<>>=y=v>>>24,p-=y,0===(y=v>>>16&255))C[s++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(c&(1<>>=y,p-=y),p<15&&(c+=z[i++]<>>=y=v>>>24,p-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=_[(65535&v)+(c&(1<>>=y,p-=y,(y=s-a)>3,c&=(1<<(p-=w<<3))-1,t.next_in=i,t.next_out=s,t.avail_in=i>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function s(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new I.Buf16(320),this.work=new I.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=P,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new I.Buf32(i),e.distcode=e.distdyn=new I.Buf32(n),e.sane=1,e.back=-1,N):U}function o(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,a(t)):U}function h(t,e){var r,i;return t&&t.state?(i=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=s.wsize?(I.arraySet(s.window,e,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i<(n=s.wsize-s.wnext)&&(n=i),I.arraySet(s.window,e,r-i,n,s.wnext),(i-=n)?(I.arraySet(s.window,e,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=B(r.check,E,2,0),l=u=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&u)){t.msg=\"unknown compression method\",r.mode=30;break}if(l-=4,k=8+(15&(u>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=3;case 3:for(;l<32;){if(0===o)break t;o--,u+=i[s++]<>>8&255,E[2]=u>>>16&255,E[3]=u>>>24&255,r.check=B(r.check,E,4,0)),l=u=0,r.mode=4;case 4:for(;l<16;){if(0===o)break t;o--,u+=i[s++]<>8),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=5;case 5:if(1024&r.flags){for(;l<16;){if(0===o)break t;o--,u+=i[s++]<>>8&255,r.check=B(r.check,E,2,0)),l=u=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(o<(c=r.length)&&(c=o),c&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),I.arraySet(r.head.extra,i,s,c,k)),512&r.flags&&(r.check=B(r.check,i,c,s)),o-=c,s+=c,r.length-=c),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===o)break t;for(c=0;k=i[s+c++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k)),k&&c>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;l<32;){if(0===o)break t;o--,u+=i[s++]<>>=7&l,l-=7&l,r.mode=27;break}for(;l<3;){if(0===o)break t;o--,u+=i[s++]<>>=1)){case 0:r.mode=14;break;case 1:if(j(r),r.mode=20,6!==e)break;u>>>=2,l-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}u>>>=2,l-=2;break;case 14:for(u>>>=7&l,l-=7&l;l<32;){if(0===o)break t;o--,u+=i[s++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&u,l=u=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(c=r.length){if(o>>=5,l-=5,r.ndist=1+(31&u),u>>>=5,l-=5,r.ncode=4+(15&u),u>>>=4,l-=4,286>>=3,l-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=T(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=_,l-=_,r.lens[r.have++]=b;else{if(16===b){for(z=_+2;l>>=_,l-=_,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}k=r.lens[r.have-1],c=3+(3&u),u>>>=2,l-=2}else if(17===b){for(z=_+3;l>>=_)),u>>>=3,l-=3}else{for(z=_+7;l>>=_)),u>>>=7,l-=7}if(r.have+c>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;c--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=T(D,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=T(F,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=o&&258<=h){t.next_out=a,t.avail_out=h,t.next_in=s,t.avail_in=o,r.hold=u,r.bits=l,R(t,d),a=t.next_out,n=t.output,h=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,u=r.hold,l=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,r.length=b,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,64&g){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=b,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===h)break t;if(c=d-h,r.offset>c){if((c=r.offset-c)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}p=c>r.wnext?(c-=r.wnext,r.wsize-c):r.wnext-c,c>r.length&&(c=r.length),m=r.window}else m=n,p=a-r.offset,c=r.length;for(hc?(m=R[T+a[v]],A[I+a[v]]):(m=96,0),h=1<>S)+(u-=h)]=p<<24|m<<16|_|0,0!==u;);for(h=1<>=1;if(0!==h?(E&=h-1,E+=h):E=0,v++,0==--O[b]){if(b===w)break;b=e[r+a[v]]}if(k>>7)]}function U(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function P(t,e,r){t.bi_valid>c-r?(t.bi_buf|=e<>c-t.bi_valid,t.bi_valid+=r-c):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function Z(t,e,r){var i,n,s=new Array(g+1),a=0;for(i=1;i<=g;i++)s[i]=a=a+r[i-1]<<1;for(n=0;n<=e;n++){var o=t[2*n+1];0!==o&&(t[2*n]=j(s[o]++,o))}}function W(t){var e;for(e=0;e>1;1<=r;r--)G(t,s,r);for(n=h;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],G(t,s,1),i=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=i,s[2*n]=s[2*r]+s[2*i],t.depth[n]=(t.depth[r]>=t.depth[i]?t.depth[r]:t.depth[i])+1,s[2*r+1]=s[2*i+1]=n,t.heap[1]=n++,G(t,s,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,i,n,s,a,o,h=e.dyn_tree,u=e.max_code,l=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,m=0;for(s=0;s<=g;s++)t.bl_count[s]=0;for(h[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<_;r++)p<(s=h[2*h[2*(i=t.heap[r])+1]+1]+1)&&(s=p,m++),h[2*i+1]=s,u>=7;i>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return o;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return h;for(e=32;e>>3,(s=t.static_len+3+7>>>3)<=n&&(n=s)):n=s=r+5,r+4<=n&&-1!==e?J(t,e,r,i):4===t.strategy||s===n?(P(t,2+(i?1:0),3),K(t,z,C)):(P(t,4+(i?1:0),3),function(t,e,r,i){var n;for(P(t,e-257,5),P(t,r-1,5),P(t,i-4,4),n=0;n>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(A[r]+u+1)]++,t.dyn_dtree[2*N(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){P(t,2,3),L(t,m,z),function(t){16===t.bi_valid?(U(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)});\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(6).Buffer, __webpack_require__(4), __webpack_require__(60).setImmediate))\n\n/***/ }),\n/* 139 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar file_1 = __webpack_require__(12);\r\nexports.Document = file_1.File;\r\n__export(__webpack_require__(12));\r\n__export(__webpack_require__(352));\r\n__export(__webpack_require__(360));\r\n__export(__webpack_require__(44));\r\n\n\n/***/ }),\n/* 140 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst base_1 = __webpack_require__(25);\r\nexports.EMPTY_OBJECT = Object.seal({});\r\nclass XmlComponent extends base_1.BaseXmlComponent {\r\n constructor(rootKey) {\r\n super(rootKey);\r\n this.root = new Array();\r\n }\r\n prepForXml(file) {\r\n const children = this.root\r\n .filter((c) => {\r\n if (c instanceof base_1.BaseXmlComponent) {\r\n return !c.IsDeleted;\r\n }\r\n return c !== undefined;\r\n })\r\n .map((comp) => {\r\n if (comp instanceof base_1.BaseXmlComponent) {\r\n return comp.prepForXml(file);\r\n }\r\n return comp;\r\n })\r\n .filter((comp) => comp !== undefined);\r\n const onlyAttrs = (c) => typeof c === \"object\" && c._attr;\r\n return {\r\n [this.rootKey]: children.length ? (children.length === 1 && onlyAttrs(children[0]) ? children[0] : children) : exports.EMPTY_OBJECT,\r\n };\r\n }\r\n addChildElement(child) {\r\n this.root.push(child);\r\n return this;\r\n }\r\n delete() {\r\n this.deleted = true;\r\n }\r\n}\r\nexports.XmlComponent = XmlComponent;\r\nclass IgnoreIfEmptyXmlComponent extends XmlComponent {\r\n prepForXml() {\r\n const result = super.prepForXml();\r\n if (result && (typeof result[this.rootKey] !== \"object\" || Object.keys(result[this.rootKey]).length)) {\r\n return result;\r\n }\r\n }\r\n}\r\nexports.IgnoreIfEmptyXmlComponent = IgnoreIfEmptyXmlComponent;\r\n\n\n/***/ }),\n/* 141 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst default_attributes_1 = __webpack_require__(53);\r\nclass Attributes extends default_attributes_1.XmlAttributeComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.xmlKeys = {\r\n val: \"w:val\",\r\n color: \"w:color\",\r\n fill: \"w:fill\",\r\n space: \"w:space\",\r\n sz: \"w:sz\",\r\n type: \"w:type\",\r\n rsidR: \"w:rsidR\",\r\n rsidRPr: \"w:rsidRPr\",\r\n rsidSect: \"w:rsidSect\",\r\n w: \"w:w\",\r\n h: \"w:h\",\r\n top: \"w:top\",\r\n right: \"w:right\",\r\n bottom: \"w:bottom\",\r\n left: \"w:left\",\r\n header: \"w:header\",\r\n footer: \"w:footer\",\r\n gutter: \"w:gutter\",\r\n linePitch: \"w:linePitch\",\r\n pos: \"w:pos\",\r\n };\r\n }\r\n}\r\nexports.Attributes = Attributes;\r\n\n\n/***/ }),\n/* 142 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst xml_js_1 = __webpack_require__(26);\r\nconst _1 = __webpack_require__(0);\r\nfunction convertToXmlComponent(element) {\r\n switch (element.type) {\r\n case undefined:\r\n case \"element\":\r\n const xmlComponent = new ImportedXmlComponent(element.name, element.attributes);\r\n const childElments = element.elements || [];\r\n for (const childElm of childElments) {\r\n const child = convertToXmlComponent(childElm);\r\n if (child !== undefined) {\r\n xmlComponent.push(child);\r\n }\r\n }\r\n return xmlComponent;\r\n case \"text\":\r\n return element.text;\r\n default:\r\n return undefined;\r\n }\r\n}\r\nexports.convertToXmlComponent = convertToXmlComponent;\r\nclass ImportedXmlComponentAttributes extends _1.XmlAttributeComponent {\r\n}\r\nclass ImportedXmlComponent extends _1.XmlComponent {\r\n static fromXmlString(importedContent) {\r\n const xmlObj = xml_js_1.xml2js(importedContent, { compact: false });\r\n return convertToXmlComponent(xmlObj);\r\n }\r\n constructor(rootKey, _attr) {\r\n super(rootKey);\r\n if (_attr) {\r\n this.root.push(new ImportedXmlComponentAttributes(_attr));\r\n }\r\n }\r\n push(xmlComponent) {\r\n this.root.push(xmlComponent);\r\n }\r\n}\r\nexports.ImportedXmlComponent = ImportedXmlComponent;\r\nclass ImportedRootElementAttributes extends _1.XmlComponent {\r\n constructor(_attr) {\r\n super(\"\");\r\n this._attr = _attr;\r\n }\r\n prepForXml() {\r\n return {\r\n _attr: this._attr,\r\n };\r\n }\r\n}\r\nexports.ImportedRootElementAttributes = ImportedRootElementAttributes;\r\n\n\n/***/ }),\n/* 143 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(Buffer) {;(function (sax) { // wrapper for non-node envs\n sax.parser = function (strict, opt) { return new SAXParser(strict, opt) }\n sax.SAXParser = SAXParser\n sax.SAXStream = SAXStream\n sax.createStream = createStream\n\n // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns.\n // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)),\n // since that's the earliest that a buffer overrun could occur. This way, checks are\n // as rare as required, but as often as necessary to ensure never crossing this bound.\n // Furthermore, buffers are only tested at most once per write(), so passing a very\n // large string into write() might have undesirable effects, but this is manageable by\n // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme\n // edge case, result in creating at most one complete copy of the string passed in.\n // Set to Infinity to have unlimited buffers.\n sax.MAX_BUFFER_LENGTH = 64 * 1024\n\n var buffers = [\n 'comment', 'sgmlDecl', 'textNode', 'tagName', 'doctype',\n 'procInstName', 'procInstBody', 'entity', 'attribName',\n 'attribValue', 'cdata', 'script'\n ]\n\n sax.EVENTS = [\n 'text',\n 'processinginstruction',\n 'sgmldeclaration',\n 'doctype',\n 'comment',\n 'opentagstart',\n 'attribute',\n 'opentag',\n 'closetag',\n 'opencdata',\n 'cdata',\n 'closecdata',\n 'error',\n 'end',\n 'ready',\n 'script',\n 'opennamespace',\n 'closenamespace'\n ]\n\n function SAXParser (strict, opt) {\n if (!(this instanceof SAXParser)) {\n return new SAXParser(strict, opt)\n }\n\n var parser = this\n clearBuffers(parser)\n parser.q = parser.c = ''\n parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH\n parser.opt = opt || {}\n parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags\n parser.looseCase = parser.opt.lowercase ? 'toLowerCase' : 'toUpperCase'\n parser.tags = []\n parser.closed = parser.closedRoot = parser.sawRoot = false\n parser.tag = parser.error = null\n parser.strict = !!strict\n parser.noscript = !!(strict || parser.opt.noscript)\n parser.state = S.BEGIN\n parser.strictEntities = parser.opt.strictEntities\n parser.ENTITIES = parser.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES)\n parser.attribList = []\n\n // namespaces form a prototype chain.\n // it always points at the current tag,\n // which protos to its parent tag.\n if (parser.opt.xmlns) {\n parser.ns = Object.create(rootNS)\n }\n\n // mostly just for error reporting\n parser.trackPosition = parser.opt.position !== false\n if (parser.trackPosition) {\n parser.position = parser.line = parser.column = 0\n }\n emit(parser, 'onready')\n }\n\n if (!Object.create) {\n Object.create = function (o) {\n function F () {}\n F.prototype = o\n var newf = new F()\n return newf\n }\n }\n\n if (!Object.keys) {\n Object.keys = function (o) {\n var a = []\n for (var i in o) if (o.hasOwnProperty(i)) a.push(i)\n return a\n }\n }\n\n function checkBufferLength (parser) {\n var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10)\n var maxActual = 0\n for (var i = 0, l = buffers.length; i < l; i++) {\n var len = parser[buffers[i]].length\n if (len > maxAllowed) {\n // Text/cdata nodes can get big, and since they're buffered,\n // we can get here under normal conditions.\n // Avoid issues by emitting the text node now,\n // so at least it won't get any bigger.\n switch (buffers[i]) {\n case 'textNode':\n closeText(parser)\n break\n\n case 'cdata':\n emitNode(parser, 'oncdata', parser.cdata)\n parser.cdata = ''\n break\n\n case 'script':\n emitNode(parser, 'onscript', parser.script)\n parser.script = ''\n break\n\n default:\n error(parser, 'Max buffer length exceeded: ' + buffers[i])\n }\n }\n maxActual = Math.max(maxActual, len)\n }\n // schedule the next check for the earliest possible buffer overrun.\n var m = sax.MAX_BUFFER_LENGTH - maxActual\n parser.bufferCheckPosition = m + parser.position\n }\n\n function clearBuffers (parser) {\n for (var i = 0, l = buffers.length; i < l; i++) {\n parser[buffers[i]] = ''\n }\n }\n\n function flushBuffers (parser) {\n closeText(parser)\n if (parser.cdata !== '') {\n emitNode(parser, 'oncdata', parser.cdata)\n parser.cdata = ''\n }\n if (parser.script !== '') {\n emitNode(parser, 'onscript', parser.script)\n parser.script = ''\n }\n }\n\n SAXParser.prototype = {\n end: function () { end(this) },\n write: write,\n resume: function () { this.error = null; return this },\n close: function () { return this.write(null) },\n flush: function () { flushBuffers(this) }\n }\n\n var Stream\n try {\n Stream = __webpack_require__(56).Stream\n } catch (ex) {\n Stream = function () {}\n }\n\n var streamWraps = sax.EVENTS.filter(function (ev) {\n return ev !== 'error' && ev !== 'end'\n })\n\n function createStream (strict, opt) {\n return new SAXStream(strict, opt)\n }\n\n function SAXStream (strict, opt) {\n if (!(this instanceof SAXStream)) {\n return new SAXStream(strict, opt)\n }\n\n Stream.apply(this)\n\n this._parser = new SAXParser(strict, opt)\n this.writable = true\n this.readable = true\n\n var me = this\n\n this._parser.onend = function () {\n me.emit('end')\n }\n\n this._parser.onerror = function (er) {\n me.emit('error', er)\n\n // if didn't throw, then means error was handled.\n // go ahead and clear error, so we can write again.\n me._parser.error = null\n }\n\n this._decoder = null\n\n streamWraps.forEach(function (ev) {\n Object.defineProperty(me, 'on' + ev, {\n get: function () {\n return me._parser['on' + ev]\n },\n set: function (h) {\n if (!h) {\n me.removeAllListeners(ev)\n me._parser['on' + ev] = h\n return h\n }\n me.on(ev, h)\n },\n enumerable: true,\n configurable: false\n })\n })\n }\n\n SAXStream.prototype = Object.create(Stream.prototype, {\n constructor: {\n value: SAXStream\n }\n })\n\n SAXStream.prototype.write = function (data) {\n if (typeof Buffer === 'function' &&\n typeof Buffer.isBuffer === 'function' &&\n Buffer.isBuffer(data)) {\n if (!this._decoder) {\n var SD = __webpack_require__(30).StringDecoder\n this._decoder = new SD('utf8')\n }\n data = this._decoder.write(data)\n }\n\n this._parser.write(data.toString())\n this.emit('data', data)\n return true\n }\n\n SAXStream.prototype.end = function (chunk) {\n if (chunk && chunk.length) {\n this.write(chunk)\n }\n this._parser.end()\n return true\n }\n\n SAXStream.prototype.on = function (ev, handler) {\n var me = this\n if (!me._parser['on' + ev] && streamWraps.indexOf(ev) !== -1) {\n me._parser['on' + ev] = function () {\n var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments)\n args.splice(0, 0, ev)\n me.emit.apply(me, args)\n }\n }\n\n return Stream.prototype.on.call(me, ev, handler)\n }\n\n // this really needs to be replaced with character classes.\n // XML allows all manner of ridiculous numbers and digits.\n var CDATA = '[CDATA['\n var DOCTYPE = 'DOCTYPE'\n var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'\n var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'\n var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }\n\n // http://www.w3.org/TR/REC-xml/#NT-NameStartChar\n // This implementation works on strings, a single character at a time\n // as such, it cannot ever support astral-plane characters (10000-EFFFF)\n // without a significant breaking change to either this parser, or the\n // JavaScript language. Implementation of an emoji-capable xml parser\n // is left as an exercise for the reader.\n var nameStart = /[:_A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/\n\n var nameBody = /[:_A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u00B7\\u0300-\\u036F\\u203F-\\u2040.\\d-]/\n\n var entityStart = /[#:_A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/\n var entityBody = /[#:_A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u00B7\\u0300-\\u036F\\u203F-\\u2040.\\d-]/\n\n function isWhitespace (c) {\n return c === ' ' || c === '\\n' || c === '\\r' || c === '\\t'\n }\n\n function isQuote (c) {\n return c === '\"' || c === '\\''\n }\n\n function isAttribEnd (c) {\n return c === '>' || isWhitespace(c)\n }\n\n function isMatch (regex, c) {\n return regex.test(c)\n }\n\n function notMatch (regex, c) {\n return !isMatch(regex, c)\n }\n\n var S = 0\n sax.STATE = {\n BEGIN: S++, // leading byte order mark or whitespace\n BEGIN_WHITESPACE: S++, // leading whitespace\n TEXT: S++, // general stuff\n TEXT_ENTITY: S++, // & and such.\n OPEN_WAKA: S++, // <\n SGML_DECL: S++, // \n SCRIPT: S++, //