{"css":"*#dm *.dmBody a.span.textonly\n{\n\tcolor:rgb(255,255,255) !important;\n}\n*#dm *.dmBody div.u_1694205906\n{\n\tbackground-color:rgba(0,0,0,0) !important;\n}\n*#dm *.dmBody div.dmPopupInner\n{\n\tbackground-color:rgb(255,255,255) !important;\n\tborder-style:solid !important;\n\tborder-width:0 !important;\n\t-webkit-box-shadow:0 0 10px rgba(0,0,0,0.30) !important;\n\tbox-shadow:0 0 10px rgba(0,0,0,0.30) !important;\n\t-moz-box-shadow:0 0 10px rgba(0,0,0,0.30) !important;\n\tborder-radius:10px !important;\n\t-moz-border-radius:10px !important;\n\t-webkit-border-radius:10px !important;\n\tbackground-image:none !important;\n\tbackground-repeat:no-repeat !important;\n\tbackground-size:cover !important;\n\tbackground-position:top right !important;\n}\n*#dm *.dmBody div.u_dm_content\n{\n\tbackground-image:none !important;\n}\n*#dm *.dmBody h1.u_1413701372\n{\n\tline-height:normal !important;\n}\n*#dm *.dmBody a.u_1145340895 span.textonly\n{\n\ttext-align:center !important;\n\tfont-weight:bold !important;\n\tfont-family:'Source Sans Pro' !important;\n\tcolor:rgb(255,255,255) !important;\n}\n*#dm *.dmBody a.u_1145340895\n{\n\tcolor:rgb(95,95,95) !important;\n}\n*#dm *.dmBody a.u_1145340895:hover\n{\n\tcolor:rgb(122,122,122) !important;\n}\n*#dm *.dmBody a.u_1145340895.hover\n{\n\tcolor:rgb(122,122,122) !important;\n}\n*#dm *.dmBody a.u_1145340895 span.text\n{\n\ttext-align:center !important;\n}\n*#dm *.dmBody *.allWrapper *.dmPopupInner\n{\n\tborder-style:solid !important;\n\tborder-width:4px !important;\n}\n","additionalWidgetCss":"/**/.graphicWidget{width:200px;height:200px;margin:10px auto;text-align:center}.graphicWidget svg.svg{width:100%;height:100%;color:#000;fill:#000}.graphicWidgetV2{width:60px;height:60px}.graphicWidgetV3{font-size:0}/**/@media(max-width:767px){body.dmRoot div[dmtemplateid]:not([dmtemplateid=SlideRightTopFloatM]) .dmHeader .multilingualWidget{position:absolute;top:14px;left:13px;margin-top:0}body.dmRoot div[dmtemplateid][dmtemplateid=SlideRightTopFloatM] .dmHeader .multilingualWidget{position:absolute;top:5px;right:17px}\n}@media(min-width:768px) and (max-width:1024px){body:not(.responsiveTablet) #dm div[dmtemplateid=StandardLayoutMultiT] .dmHeader .multilingualWidget{position:absolute!important;top:5px!important;right:17px!important;left:initial!important}\n}@media(max-width:767px){body.dmRoot .dmHeader .displayHidden-inner .multilingualWidget{top:0!important}}#dm_content div.dmRespCol div.multilingualWidget,#hcontainer div.dmRespCol div.multilingualWidget{width:auto!important;display:table!important}\n.multilingualWidget{clear:both;margin:0;vertical-align:top;display:table!important;font-size:0;font-family:sans-serif}.multilingualWidget.displayNone{display:none!important}.multilingualWidget>div{position:relative}\n.multilingualWidget .language{color:#888;display:inline-block}.multilingualWidget .language a{text-align:center;display:inline-block;color:inherit;border:#dadada 1px solid;background-color:#fff}.multilingualWidget .language a img{width:24px;height:26px;min-width:24px;min-height:26px}\n.multilingualWidget .language a span{display:none;line-height:initial}.multilingualWidget .language a span.name{margin-top:5px;margin-left:7px;font-size:13px;font-weight:400;text-transform:capitalize}\n.multilingualWidget .language a span.short-label{font-size:13px}.multilingualWidget .language a:after{line-height:initial}.multilingualWidget.open .current-language a:after{transform:rotate(-180deg)}.multilingualWidget .current-language a:after{transition:transform .2s}\n.multilingualWidget.dropdown .language{width:100%}.multilingualWidget.dropdown .language a{display:block;padding:1px 5px}.multilingualWidget.dropdown .other-languages{position:absolute;z-index:800}.multilingualWidget.dropdown .other-languages a{border-top:0!important}\n.multilingualWidget.dropdown .current-language{position:relative}.multilingualWidget.dropdown .current-language span.name{padding-right:25px}.multilingualWidget.dropdown .dm-icon{font-size:9px;display:inline-block;position:absolute;top:46%;transform:translateY(-50%);transition:transform .2s;right:8px}\n.multilingualWidget.dropdown.open .dm-icon{transform:rotate(-180deg) translateY(50%)}.multilingualWidget.dropdown .other-languages,.multilingualWidget.dropdown.flag-only .dm-icon,.multilingualWidget.inline span,.multilingualWidget.no-flag a img{display:none}\n.multilingualWidget.dropdown.flag-only a{border:transparent 1px solid;background-color:transparent}.multilingualWidget.dropdown.flag-only.open .language a{background-color:rgba(0,0,0,.3);border:#dadada 1px solid}\n.multilingualWidget.dropdown.long-label a{text-align:left;padding:2px 0 2px 5px;position:relative;box-sizing:border-box}.multilingualWidget.dropdown.long-label a span.name,.multilingualWidget.inline.flag-only .language,.multilingualWidget.inline.short-label.no-flag span.short-label{display:inline-block}\n.multilingualWidget.dropdown.long-label.no-flag a{padding:7px 10px 9px}.multilingualWidget.dropdown.long-label.no-flag a span.name,.multilingualWidget.dropdown.short-label.no-flag a span.short-label{margin:0;display:inline-block}\n.multilingualWidget.dropdown.short-label.no-flag a{padding:8px 22px 9px 10px;font-size:13px;height:32px;box-sizing:border-box}.multilingualWidget.dropdown.short-label.no-flag .current-language a:after{top:12px}\n.multilingualWidget.short-label span.short-label{text-transform:uppercase}.multilingualWidget.inline.flag-only a{padding:2px 5px;height:32px;box-sizing:border-box}.multilingualWidget.inline.flag-only .current-language a{box-shadow:inset 0 0 8px 0 rgba(0,0,0,.6);border-right:0;border-right-width:0!important;border-right-color:transparent!important;border-right-style:none!important}\n.multilingualWidget.inline.flag-only .other-languages a:not(:last-child){border-right-width:0!important;border-right-color:transparent!important;border-right-style:none!important}.multilingualWidget.inline.flag-only .dm-icon,.multilingualWidget.inline.short-label.no-flag .dm-icon{display:none}\n.multilingualWidget.inline.short-label.no-flag .current-language a{padding-right:0;border-right-width:0!important;border-right-color:transparent!important;border-right-style:none!important}.multilingualWidget.inline.short-label.no-flag .current-language a span.short-label{font-weight:700}\n.multilingualWidget.inline.short-label.no-flag .other-languages a{border-left-color:transparent!important;border-left-width:0!important;border-left-style:none!important}.multilingualWidget.inline.short-label.no-flag .other-languages a:not(:last-child){padding-right:0;border-right-color:transparent!important;border-right-width:0!important;border-right-style:none!important}\n.multilingualWidget.inline.short-label.no-flag a{position:relative;padding:8px 10px;font-size:13px;height:32px;text-decoration:none}.multilingualWidget.inline.short-label.no-flag a:after{content:'/';position:absolute;top:8px;right:-7px;z-index:1;pointer-events:none}\n.multilingualWidget.inline.short-label.no-flag a:hover .short-label{text-decoration:underline}.multilingualWidget.inline.short-label.no-flag .other-languages a:last-child:after{content:''}/**/.imageWidget{position:relative}.imageWidget a,.imageWidget span.image-caption{font-style:italic;text-align:center}.imageWidget a[data-caption]::after,.imageWidget span[data-caption]::after{content:attr(data-caption);display:block;line-height:100%}\n.imageWidget.with-caption a::after,.imageWidget.with-caption span.image-caption::after{margin-top:12px}.imageWidget img[width][height]{height:auto}[data-flex-site] #fcontainer .imageWidget:after,[data-flex-site] #flex-footer .imageWidget:after,[data-flex-site] #flex-header .imageWidget:after{content:none}\n[data-flex-site] #fcontainer .imageWidget:before,[data-flex-site] #flex-footer .imageWidget:before,[data-flex-site] #flex-header .imageWidget:before{font-size:80px;transform:none}.imageWidget.hover img.hover-image,.imageWidget:hover img.hover-image{display:initial}\n.imageWidget.hover.hasHover img:not(.hover-image),.imageWidget:hover.hasHover img:not(.hover-image){display:none!important}.imageWidget img.hover-image{display:none}/**/.dmNewParagraph[data-version]{line-height:initial}.dmNewParagraph[data-version] .text-align-left{text-align:left!important}.dmNewParagraph[data-version] .text-align-center{text-align:center!important}\n.dmNewParagraph[data-version] .text-align-right{text-align:right!important}.dmNewParagraph[data-version] .text-align-justify{text-align:justify!important}.dmNewParagraph[data-version] .ql-indent-1{padding:0 1em;padding-inline-end:0;padding-inline-start:3em}\n.dmNewParagraph[data-version] .ql-indent-2{padding:0 2em;padding-inline-end:0;padding-inline-start:6em}.dmNewParagraph[data-version] .ql-indent-3{padding:0 3em;padding-inline-end:0;padding-inline-start:9em}\n.dmNewParagraph[data-version] .ql-indent-4{padding:0 4em;padding-inline-end:0;padding-inline-start:12em}.dmNewParagraph[data-version] .ql-indent-5{padding:0 5em;padding-inline-end:0;padding-inline-start:15em}\n.dmNewParagraph[data-version] .ql-indent-6{padding:0 6em;padding-inline-end:0;padding-inline-start:18em}.dmNewParagraph[data-version] .ql-indent-7{padding:0 7em;padding-inline-end:0;padding-inline-start:21em}\n.dmNewParagraph[data-version] .ql-indent-8{padding:0 8em;padding-inline-end:0;padding-inline-start:24em}.dmNewParagraph[data-version] .ql-indent-9{padding:0 9em;padding-inline-end:0;padding-inline-start:27em}\n.dmNewParagraph[data-version] h1,.dmNewParagraph[data-version] h2,.dmNewParagraph[data-version] h3,.dmNewParagraph[data-version] h4,.dmNewParagraph[data-version] h5,.dmNewParagraph[data-version] h6,.dmNewParagraph[data-version] ol,.dmNewParagraph[data-version] p,.dmNewParagraph[data-version] ul{margin-top:0;margin-bottom:0}\n.dmNewParagraph[data-version] ol,.dmNewParagraph[data-version] ul{padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.dmNewParagraph[data-version] ol>li,.dmNewParagraph[data-version] ul>li{list-style-type:none;text-indent:-1.5em;margin:0 1em;margin-inline-end:0;margin-inline-start:2em}\n.dmNewParagraph[data-version] ol>li:before,.dmNewParagraph[data-version] ul>li:before{min-width:1em;display:inline-block;margin-right:.5em;margin-inline-start:0;margin-inline-end:.5em;text-align:right;text-align:end}\n.dmNewParagraph[data-version] ul .ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-1}.dmNewParagraph[data-version] ul .ql-indent-1:before{font-weight:700;content:'\\25CB'}\n.dmNewParagraph[data-version] ul .ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-2}.dmNewParagraph[data-version] ul .ql-indent-2:before,.dmNewParagraph[data-version] ul .ql-indent-3:before,.dmNewParagraph[data-version] ul .ql-indent-4:before,.dmNewParagraph[data-version] ul .ql-indent-5:before,.dmNewParagraph[data-version] ul .ql-indent-6:before,.dmNewParagraph[data-version] ul .ql-indent-7:before,.dmNewParagraph[data-version] ul .ql-indent-8:before,.dmNewParagraph[data-version] ul .ql-indent-9:before{font-weight:700;content:'\\25A0'}\n.dmNewParagraph[data-version] ul .ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-3}.dmNewParagraph[data-version] ul .ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9;counter-increment:list-4}\n.dmNewParagraph[data-version] ul .ql-indent-5{counter-reset:list-6 list-7 list-8 list-9;counter-increment:list-5}.dmNewParagraph[data-version] ul .ql-indent-6{counter-reset:list-7 list-8 list-9;counter-increment:list-6}\n.dmNewParagraph[data-version] ul .ql-indent-7{counter-reset:list-8 list-9;counter-increment:list-7}.dmNewParagraph[data-version] ul .ql-indent-8{counter-reset:list-9;counter-increment:list-8}.dmNewParagraph[data-version] ul .ql-indent-9{counter-reset:list-10 list-9;counter-increment:list-9}\n.dmNewParagraph[data-version] ul>li:before{font-weight:700;content:'\\2022';font-family:Arial}.dmNewParagraph[data-version] ul.custom-list-1>li:not([class^=ql-indent-]):not([class*=' ql-indent-']):before{content:\"○\";transform:scale(1);transform-origin:center right}\n.dmNewParagraph[data-version] ul.custom-list-2>li:not([class^=ql-indent-]):not([class*=' ql-indent-']):before{content:\"★\";transform:scale(.7);transform-origin:center right}\n.dmNewParagraph[data-version] ul.custom-list-3>li:not([class^=ql-indent-]):not([class*=' ql-indent-']):before{content:\"➞\";transform:scale(.8);transform-origin:center right}\n.dmNewParagraph[data-version] ul.custom-list-4>li:not([class^=ql-indent-]):not([class*=' ql-indent-']):before{content:\"+\";transform:scale(.7);transform-origin:center right}\n.dmNewParagraph[data-version] ul.custom-list-5>li:not([class^=ql-indent-]):not([class*=' ql-indent-']):before{content:\"-\";transform:scale(.7);transform-origin:center right}\n.dmNewParagraph[data-version] ul.custom-list-6>li:not([class^=ql-indent-]):not([class*=' ql-indent-']):before{content:\"✓\";transform:scale(.8);transform-origin:center right}\n.dmNewParagraph[data-version] ul.custom-list-7>li:not([class^=ql-indent-]):not([class*=' ql-indent-']):before{content:\"✗\";transform:scale(.8);transform-origin:center right}\n.dmNewParagraph[data-version] ol .ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-1}.dmNewParagraph[data-version] ol .ql-indent-1:before{content:counter(list-1,lower-alpha) \". \"}\n.dmNewParagraph[data-version] ol .ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-2}.dmNewParagraph[data-version] ol .ql-indent-2:before{content:counter(list-2,lower-roman) \". \"}\n.dmNewParagraph[data-version] ol .ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-3}.dmNewParagraph[data-version] ol .ql-indent-3:before{content:counter(list-3,decimal) \". \"}\n.dmNewParagraph[data-version] ol .ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9;counter-increment:list-4}.dmNewParagraph[data-version] ol .ql-indent-4:before{content:counter(list-4,lower-alpha) \". \"}\n.dmNewParagraph[data-version] ol .ql-indent-5{counter-reset:list-6 list-7 list-8 list-9;counter-increment:list-5}.dmNewParagraph[data-version] ol .ql-indent-5:before{content:counter(list-5,lower-roman) \". \"}\n.dmNewParagraph[data-version] ol .ql-indent-6{counter-reset:list-7 list-8 list-9;counter-increment:list-6}.dmNewParagraph[data-version] ol .ql-indent-6:before{content:counter(list-6,decimal) \". \"}\n.dmNewParagraph[data-version] ol .ql-indent-7{counter-reset:list-8 list-9;counter-increment:list-7}.dmNewParagraph[data-version] ol .ql-indent-7:before{content:counter(list-7,lower-alpha) \". \"}\n.dmNewParagraph[data-version] ol .ql-indent-8{counter-reset:list-9;counter-increment:list-8}.dmNewParagraph[data-version] ol .ql-indent-8:before{content:counter(list-8,lower-roman) \". \"}\n.dmNewParagraph[data-version] ol .ql-indent-9{counter-reset:list-10 list-9;counter-increment:list-9}.dmNewParagraph[data-version] ol .ql-indent-9:before{content:counter(list-9,decimal) \". \"}\n.dmNewParagraph[data-version] ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.dmNewParagraph[data-version] ol li:before{content:counter(list-0,decimal) \". \"}\n.dmNewParagraph[data-version] a{vertical-align:initial}@media(min-width:768px) and (max-width:1024px){.dmNewParagraph[data-version] .t-text-align-left{text-align:left!important}.dmNewParagraph[data-version] .t-text-align-center{text-align:center!important}\n.dmNewParagraph[data-version] .t-text-align-right{text-align:right!important}.dmNewParagraph[data-version] .t-text-align-justify{text-align:justify!important}}@media(max-width:767px){.dmRoot .dmNewParagraph[data-version] .m-text-align-left{text-align:left!important}\n.dmRoot .dmNewParagraph[data-version] .m-text-align-center{text-align:center!important}.dmRoot .dmNewParagraph[data-version] .m-text-align-right{text-align:right!important}.dmRoot .dmNewParagraph[data-version] .m-text-align-justify{text-align:justify!important}\n}.inlineBindingLink{color:inherit!important;text-decoration:inherit!important}","isHomePage":false,"customwidgetsdata":[{"widgetId":"7b6cfbac88324cffbaaf57354cd7a334","version":219,"js":"dmFyIGVtcHR5TGlzdFBsYWNlSG9sZGVyPSI8c3BhbiBzdHlsZT0nbWluLWhlaWdodDoyMHB4JyBjbGFzcz0nZWRpdG9yT25seUluZm8gaW5FZGl0b3InIGRhdGEtbm9zbmlwcGV0PlRoaXMgbGlzdCBoYXMgbm8gZGF0YSBpbiBZZXh0LiBUaGlzIG1lc3NhZ2Ugb25seSBhcHBlYXJzIGluIHRoZSBlZGl0b3IuPC9zcGFuPiIKCi8qIGZpbmQgeWV4dCBzcmMgKi8KdmFyIGZpbmRZZXh0U3JjID0gZnVuY3Rpb24oKXsKICAgIHZhciAga2V5RXhwID0gbmV3IFJlZ0V4cCgvc3JjPSIoLio/KSIvKTsKICAgIGlmIChkYXRhLmNvbmZpZy5zY3JpcHQuaW5jbHVkZXMoJ2xvY2F0aW9uX2lkJykpIHsKICAgICAgICBkYXRhLmNvbmZpZy5zY3JpcHQgPSBkYXRhLmNvbmZpZy5zY3JpcHQucmVwbGFjZSgnbG9jYXRpb25faWQnLCAnZW50aXR5X2lkJyk7CiAgICB9CiAgICB2YXIgcmV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vbmdTY3JpcHRFcnJvcicpLmFkZENsYXNzKCdoYXNFcnJvcicpOyAgICAKICAgICAgICAgICAgLy8gICAgIH0KICAgICAgICAgICAgLy8gfSkKICAgICAgICAgICAgCiAgICAgICAgICAgIC8vICQoZWxlbWVudCkuZmluZCgnLndyb25nU2NyaXB0RXJyb3InKS5hZGRDbGFzcygnaGFzRXJyb3InKTsKICAgICAgICAgICAgCiAgICAgICAgICAgIHJldHVybjsKICAgICAgICB9CiAgICAgICAgCiAgICB9IGNhdGNoKGV4cCkgewogICAgICAgIC8vICQoZWxlbWVudCkuZmluZCgnLndyb25nU2NyaXB0JykuYWRkQ2xhc3MoJ2hhc0Vycm9yJyk7CiAgICAgICAgY29uc29sZS5sb2coZXhwKQogICAgICAgIHJldHVybjsKICAgIH0KICAgIAogICAgaWYgKGRhdGEuaW5FZGl0b3IpIHsKICAgICAgICBpZigkKCcubXVsdGlwbGVZZXh0RXJyb3InKS5sZW5ndGggPiAxKXsKICAgICAgICAgICAgICQoZWxlbWVudCkuZmluZCgnLm11bHRpcGxlWWV4dEVycm9yJykuYWRkQ2xhc3MoJ2hhc0Vycm9yJyk7CiAgICAgICAgICAgICByZXR1cm47CiAgICAgICAgfWVsc2UgaWYoZGF0YS5jb25maWcudHlwZSA9PT0gJ25vbmUnKXsKICAgICAgICAgICAgJChlbGVtZW50KS5maW5kKCcuZWRpdG9yT25seUluZm8nKS5hZGRDbGFzcygnaW5FZGl0b3InKTsgCiAgICAgICAgfQogICAgfQp9CgovKiByZWZyZXNoIHlleHQgc2NyaXB0ICovCndpbmRvdy5yZWZyZXNoWWV4dCA9IGZ1bmN0aW9uKCl7CiAgICBsb2FkWWV4dCh0cnVlKTsKfQoKLy9mdW5jdGlvbiBmb3IgT21uaXR1cmUgdHJhY2tpbmcKd2luZG93Ll90cmFja0NvbnZXaWRnZXRDbGlja0V2ZW50ID0gZnVuY3Rpb24oZXZlbnROYW1lKSB7CiAgICBpZih0eXBlb2YoSEFGKT09PSJvYmplY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gcmV0dXJuIG51bTsKICAgIH0KfQoKdmFyIGRpc3BsYXlUZXh0ZExpc3QgPSBmdW5jdGlvbih0eXBlLHlleHREYXRhLGZpcnN0T25seSkgewogICAgdmFyIGxpc3QgPSAiIjsKICAgIGlmKHlleHREYXRhLmVudGl0aWVzWzBdLmF0dHJpYnV0ZXNbdHlwZV0pIHsKICAgICAgICB2YXIgeWV4dEF0dCA9IHlleHREYXRhLmVudGl0aWVzWzBdLmF0dHJpYnV0ZXNbdHlwZV0KICAgIH0gZWxzZSB7CiAgICAgICAgdmFyIHlleHRBdHQgPSBmYWxzZQogICAgfQogICAgCiAgICBpZih5ZXh0QXR0ICYmIEFycmF5LmlzQXJyYXkoeWV4dEF0dCkpIHsKICAgICAgICBmb3IgKHZhciBpPTA7IGk8IHlleHRBdHQubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHlleHRBdHRbaV0gPT09ICdBbmRyb2lkIFBheScpIHsKICAgICAgICAgICAgICAgIGxpc3QgKz0gJzxsaT5Hb29nbGUgUGF5PC9saT4nOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2UgewogICAgICAgICAgICAgICAgbGlzdCArPSAnPGxpPicgKyB5ZXh0QXR0W2ldICsgJzwvbGk+JzsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICAkKGVsZW1lbnQpLmZpbmQoJyMnICsgdHlwZSArICdMaXN0JykuaHRtbChsaXN0KTsKICAgIH0gZWxzZSBpZiAoeWV4dEF0dCkgewogICAgICAgIHZhciB5ZXh0QXR0ID0geWV4dEF0dC5zcGxpdCgiLCAiKTsKICAgICAgICBmb3IgKHZhciBpPTA7IGk8IHlleHRBdHQubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgbGlzdCArPSAnPGxpPicgKyB5ZXh0QXR0W2ldICsgJzwvbGk+JzsKICAgICAgICB9CiAgICAgICAgJChlbGVtZW50KS5maW5kKCcjJyArIHR5cGUgKyAnTGlzdCcpLmh0bWwobGlzdCk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JzZGF5IiwiVGh1IikucmVwbGFjZSgiRnJpZGF5IiwiRnJpIikucmVwbGFjZSgiU2F0dXJkYXkiLCJTYXQiKS5yZXBsYWNlKCJTdW5kYXkiLCJTdW4iKTsKICAgICAgICAgICAgCiAgICAgICAgICAgIHZhciByaWdodFNpZGUgPSB5ZXh0QXR0W2ldLnN1YnN0cihpbmRleEVuZERheSArIDEpCiAgICAgICAgICAgIAogICAgICAgICAgICBsaXN0ICs9ICc8ZGl2IGNsYXNzPSJyb3ciPjxkaXYgY2xhc3M9ImxlZnQiPicgKyBsZWZ0U2lkZSArICc8L2Rpdj48ZGl2IGNsYXNzPSJyaWdodCI+JyArIHJpZ2h0U2lkZSArICc8L2Rpdj48L2Rpdj4nOwogICAgICAgIH0KICAgICAgICAKICAgICQoZWxlbWVudCkuZmluZCgnI2hvdXJzU21hbGwnKS5odG1sKGxpc3QpOwogICAgCiAgICB9IGVsc2UgaWYoeWV4dEF0dCkgeyAKICAgICAgICB2YXIgeWV4dEF0dCA9IHlleHRBdHQuc3BsaXQoIiwgIik7CiAgICAgICAgZm9yKHZhciBpPTA7aSA8IHlleHRBdHQubGVuZ3RoO2krKykgewogICAgICAgICAgICBpZigoL1xzLy50ZXN0KHlleHRBdHRbaV0pKSA9PT0gZmFsc2UpewogICAgICAgICAgICAgICAgeWV4dEF0dFtpXSA9IHlleHRBdHRbaV0gKyAnIC0gJyArIHlleHRBdHRbaSsxXQogICAgICAgICAgICAgICAgeWV4dEF0dC5zcGxpY2UoaSsxLCAxKQogICAgICAgICAgICB9CiAgICAgICAgICAgICBpZiAoeWV4dEF0dFtpXS5pbmNsdWRlcygnZGF5JykgPT09IGZhbHNlICl7CiAgICAgICAgICAgICAgICB2YXIgbGVmdFNpZGUgPSAnICc7CiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIHZhciByaWdodFNpZGUgPSB5ZXh0QXR0W2ldCiAgICAgICAgICAgIH1lbHNlIHsKICAgICAgICAgICAgICAgIHZhciBpbmRle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10pewogICAgICAgIHZhciB6b25lID0geWV4dERhdGEuZW50aXRpZXNbMF0uYXR0cmlidXRlc1sndGltZXpvbmUnXQogICAgfSBlbHNlIHsKICAgICAgICB2YXIgem9uZSA9IGZhbHNlCiAgICB9CiAgICAKICAgIGlmKHpvbmUpewogICAgICAgIHZhciB0aW1lID0gbmV3IERhdGUoKS50b0xvY2FsZVN0cmluZygiZW4tVVMiLCB7dGltZVpvbmU6IHpvbmV9KTsKICAgICAgICB2YXIgdG9kYXkgPSBuZXcgRGF0ZSh0aW1lICk7CiAgICAgICAgCiAgICAgICAgdmFyIHRoaXJ0eU1pbnMgPSAzMCAqIDYwICogMTAwMAoKICAgICAgICB2YXIgZGF5cyA9IFsnc3VuZGF5JywnbW9uZGF5JywndHVlc2RheScsJ3dlZG5lc2RheScsJ3RodXJzZGF5JywnZnJpZGF5Jywnc2F0dXJkYXknXTsKICAgICAgICB2YXIgZGF5c1Nob3J0ID0gWydTdW4nLCdNb24nLCdUdWVzJywnV2VkJywnVGh1cnMnLCdGcmknLCdTYXQnXTsKCiAgICAgICAgdmFyIGRheSA9IGRheXNbdG9kYXkuZ2V0RGF5KCldOwogICAgICAgIHZhciBob3VyID0gdG9kYXkuZ2V0SG91cnMoKTsKICAgICAgICB2YXIgbWluID0gdG9kYXkuZ2V0TWludXRlcygpOwogICAgICAgIHZhciBkZCA9ICgiMCIgKyB0b2RheS5nZXREYXRlKCkpLnNsaWNlKC0yKTsKICAgICAgICB2YXIgbW0gPSAoIjAiICsgKHRvZGF5LmdldE1vbnRoKCkgKyAxKSkuc2xpY2UoLTIpCiAgICAgICAgdmFyIHl5eXkgPSB0b2RheS5nZXRGdWxsWWVhcigpOwogICAgICAgIHZhciB0b2RheURhdGUgPSB5eXl5ICsgJy0nICsgbW0gKyAnLScgKyBkZAogICAgICAgIHZhciBtbSA9IG1tIC0gMSAKICAgICAgICAKICAgICAgICBjb25zdCB0b21vcnJvdyA9IG5ldyBEYXRlKHRvZGF5KQogICAgICAg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bGl0KCIsICIpCiAgICAgICAgZm9yKHZhciBpPTA7aSA8IHlleHRBdHQubGVuZ3RoO2krKyl7CiAgICAgICAgICAgIHZhciBlbmQgPSB5ZXh0QXR0W2ldLnNwbGl0KCcgLSAnKVsxXQogICAgICAgICAgICB2YXIgc3RhcnQgPSB5ZXh0QXR0W2ldLnNwbGl0KCcgLSAnKVswXQogICAgICAgICAgICBpZiAoaSsxICE9IHlleHRBdHQubGVuZ3RoKXsKICAgICAgICAgICAgICAgIHZhciBuZXh0U3RhcnQgPSB5ZXh0QXR0W2kgKyAxXS5zcGxpdCgnIC0gJylbMF0KICAgICAgICAgICAgfQogICAgICAgICAgICBpZihzdGFydC5pbmNsdWRlcygicG0iKSAmJiBzdGFydC5zcGxpdCgvXHMrfDovKVswXSAhPSAiMTIiKXsKICAgICAgICAgICAgICAgIHZhciBzdGFydERhdGUgPSBuZXcgRGF0ZSh5eXl5LCBtbSwgZGQsIHBhcnNlSW50KHN0YXJ0LnNwbGl0KC9ccyt8Oi8pWzBdKSArIDEyLCBwYXJzZUludChzdGFydC5zcGxpdCgvXHMrfDovKVsxXSkpCiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICB2YXIgc3RhcnREYXRlID0gbmV3IERhdGUoeXl5eSwgbW0sIGRkLCBwYXJzZUludChzdGFydC5zcGxpdCgvXHMrfDovKVswXSksIHBhcnNlSW50KHN0YXJ0LnNwbGl0KC9ccyt8Oi8pWzFdKSkKICAgICAgICAgICAgfQogICAgICAgICAgICAKICAgICAgICAgICAgaWYobmV4dFN0YXJ0LmluY2x1ZGVzKCJwbSIpICYmIG5leHRTdGFydC5zcGxpdCgvXHMrfDovKVswXSAhPSAiMTIiKXsKICAgICAgICAgICAgICAgIHZhciBuZXh0U3RhcnREYXRlID0gbmV3IERhdGUoeXl5eSwgbW0sIGRkLCBwYXJzZUludChuZXh0U3RhcnQuc3BsaXQoL1xzK3w6LylbMF0pICsgMTIsIHBhcnNlSW50KG5leHRTdGFydC5zcGxpdCgvXHMrfDovKVsxXSkpCiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICB2YXIgbmV4dFN0YXJ0RGF0ZSA9IG5ldyBEYXRlKHl5eXksIG1tLCBkZCwgcGFyc2VJbnQobmV4dFN0YXJ0KSwgcGFyc2VJbnQobmV4dFN0YXJ0LnNwbGl0KC9ccyt8Oi8pWzFdKSkKICAgICAgICAgICAgfQogICAgICAgIAogICAgICAgICAgICBpZihlbmQuaW5jbHVkZXMoInBtIikgJiYgZW5kLnNwbGl0KC9ccyt8Oi8pWzBdICE9ICIxMiIpewogICAgICAgICAgICAgICAgdmFyIGVuZERhdGUgPSBuZXcgRGF0ZSh5eXl5LCBtbSwgZGQsIHBhcnNlSW50KGVuZC5zcGxpdCgvXHMrfDovKVswXSkgKyAxMiwgcGFyc2VJbnQoZW5kLnNwbGl0KC9ccyt8Oi8pWzFdKSkKICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIHZhciBlbmREYXRlID0gbmV3IERhdGUoeXl5eSwgbW0sIGRkLCBwYXJzZUludChlbmQuc3BsaXQoL1xzK3w6LylbMF0pLCBwYXJzZUludChlbmQuc3BsaXQoL1xzK3w6LylbMV0pKQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGlmIChlbmQuaW5jbHVkZXMoImFtIikgJiYgKGVuZERhdGUgPCBzdGFydERhdGUpKXsKICAgICAgICAgICAgICAgIGVuZERhdGUgPSBuZXcgRGF0ZSh5eXl5VG13LCBtbVRtdywgZGRUbXcsIHBhcnNlSW50KGVuZC5zcGxpdCgvXHMrfDovKVswXSksIHBhcnNlSW50KGVuZC5zcGxpdCgvXHMrfDovKVsxXSkpCiAgICAgICAgICAgIH0KICAgICAgICAKICAgICAgICAgICAgaWYodG9kYXkgPCBzdGFydERhdGUpewogICAgICAgICAgICAgICAgdmFyIGNsb3NlZCA9IHRydWUgCiAgICAgICAgICAgICAgICB0bXJ3U3RhcnQgPSBzdGFydAogICAgICAgICAgICAgICAgYnJlYWsKICAgICAgICAgICAgfWVsc2UgaWYodG9kYXkgPiBzdGFydERhdGUgJiYgdG9kYXkgPCBlbmREYXRlKXsKICAgICAgICAgICAgICAgIHlleHRBdHQgPSBzdGFydCArICcgLSAnICsgZW5kCiAgICAgICAgICAgICAgICBicmVhawogICAgICAgICAgICB9ZWxzZSBpZih0b2RheSA+IGVuZERhdGUgJiYgIChpKzEgIT0geWV4dEF0dC5sZW5ndGgpICYmIHRvZGF5IDwgbmV4dFN0YXJ0RGF0ZSl7CiAgICAgICAgICAgICAgICB2YXIgY2xvc2VkID0gdHJ1ZQogICAgICAgICAgICAgICAgdG1yd1N0YXJ0ID0gbmV4dFN0YXJ0CiAgICAgICAgICAgICAgICB0b21vcnJvd09wZW4gPSB0cnVlCiAgICAgICAgICAgIH1lbHNlIGlmKHRvZGF5ID4gZW5kRGF0ZSAmJiBpKzEgPT09IHlleHRBdHQubGVuZ3RoKXsKICAgICAgICAgICAgICAgIHZhciBjbG9zZWQgPSB0cnVlCiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9ICAKICAgIAogICAgCiAgICBpZih5ZXh0QXR0IHx8IGNsb3NlZCkgewogICAgICAgIGlmKHR5cGVvZiB5ZXh0QXR0ID09PSAic3RyaW5nIil7CiAgICAgICAgdmFyIHN0YXJ0ID0geWV4dEF0dC5zcGxpdCgiIC0gIilbMF0KICAgICAgICB2YXIgZW5kID0geWV4dEF0dC5zcGxpdCgiIC0gIilbMV0KICAgICAgICBpZihzdGFydC5pbmNsdWRlcygicG0iKSAmJiBzdGFydC5zcGxpdCgvXHMrfDovKVswXSAhPSAiMTIiKXsKICAgICAgICAgICAgdmFyIHN0YXJ0RGF0ZSA9IG5ldyBEYXRlKHl5eXksIG1tLCBkZCwgcGFyc2VJbnQoc3RhcnQuc3BsaXQoL1xzK3w6LylbMF0pICsgMTIsIHBhcnNlSW50KHN0YXJ0LnNwbGl0KC9ccyt8Oi8pWzFdKS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xzK3w6LylbMF0pLCBwYXJzZUludChlbmQuc3BsaXQoL1xzK3w6LylbMV0pKQogICAgICAgIH0KICAgICAgICAKICAgICAgICAvL2NoZWNrIGlmIGNsb3NlZAogICAgICAgIGlmKHRvZGF5ID4gZW5kRGF0ZSl7CiAgICAgICAgICAgIHZhciBjbG9zZWQgPSB0cnVlCiAgICAgICAgLy9vcGVuZWQgMjQgaG91cnMgCiAgICAgICAgfSBlbHNlIGlmKHN0YXJ0ID09PSAnMTI6MDAgYW0nICYmIGVuZCA9PT0gJzExOjU5IHBtJyl7CiAgICAgICAgICAgIHZhciBzdGF0dXMgPSAiT3BlbiAiCiAgICAgICAgICAgIHZhciBjc3NDbGFzcyA9ICJhbGxEYXlTdGF0dXMiCiAgICAgICAgICAgIHZhciBidXNIb3VycyA9ICcgMjQgaG91cnMgJwogICAgICAgIC8vb3BlbmVkCiAgICAgICAgfSBlbHNlIGlmKHRvZGF5IDwgc3RhcnREYXRlKXsKICAgICAgICAgICAgdmFyIGNsb3NlZCA9IHRydWUKICAgICAgICAvL2NoZWNrIGlmIGNsb3Npbmcgc29vbgogICAgICAgIH0gZWxzZSBpZiAoZW5kRGF0ZSAtIHRvZGF5IDwgdGhpcnR5TWlucyAmJiBlbmREYXRlIC0gdG9kYXkgPCAwID09PSBmYWxzZSApewogICAgICAgICAgICAgICAgdmFyIHN0YXR1cyA9ICJDbG9zaW5nIFNvb24gIgogICAgICAgICAgICAgICAgdmFyIGNzc0NsYXNzID0gInNvb25TdGF0dXMiCiAgICAgICAgICAgICAgICB2YXIgYnVzSG91cnMgPSAnIOKAoiAnICsgZW5kIAogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIHZhciBzdGF0dXMgPSAiT3BlbiAiCiAgICAgICAgICAgIHZhciBjc3NDbGFzcyA9ICJvcGVuZWRTdGF0dXMiCiAgICAgICAgICAgIHZhciBidXNIb3VycyA9ICfigKIgQ2xvc2VzICcgKyBlbmQgCiAgICAgICAgfQogCiAgICAgICAgfQogICAgICAgIAogICAgICAgIGlmKGNsb3NlZCl7CiAgICAgICAgCiAgICAgICAgLy8gY2xvc2VkICYgb3BlbmluZyB0b2RheSAKICAgICAgICBpZigodG9kYXkgPCBzdGFydERhdGUpKXsKICAgICAgICAgICAgdmFyIHN0YXR1cyA9ICJDbG9zZWQgIgogICAgICAgICAgICB2YXIgY3NzQ2xhc3MgPSAiY2xvc2VkU3RhdHVzIgogICAgICAgICAgICB2YXIgYnVzSG91cnMgPSAnIE9wZW5zICcgKyBzdGFydCAKICAgICAgICAvL2Nsb3NlZCAmIG9wZW4gdG9tb3Jyb3cgCiAgICAgICAgfSBlbHNlIGlmKGNsb3NlZCAmJiB0b21vcnJvd09wZW4gPT09IHRydWUpewogICAgICAgICAgICB2YXIgc3RhdHVzID0gIkNsb3NlZCAiCiAgICAgICAgICAgIHZhciBjc3NDbGFzcyA9ICJjbG9zZWRTdGF0dXMiCiAgICAgICAgICAgIHZhciBidXNIb3VycyA9ICcg4oCiIE9wZW5zICcgKyB0bXJ3U3RhcnQgCiAgICAgICAgLy9jbG9zZWQgYW5kIG5vdCBvcGVuIHRvbW9ycm93IAogICAgICAgIH0gZWxzZSBpZihjbG9zZWQgJiYgdG9tb3Jyb3dPcGVuICE9IHRydWUpewogICAgICAgICAgICB2YXIgb2Zmc2V0ID0gZGF5cy5pbmRleE9mKGRheSkgKyAxCiAgICAgICAgICAgIGZvciggdmFyIGk9MDsgaSA8IGRheXMubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgICAgIHZhciBkYXlJbmRleCA9IChpICsgb2Zmc2V0KSAlIGRheXMubGVuZ3RoOwogICAgICAgICAgICAgICAgaWYoeWV4dERhdGEuZW50aXRpZXNbMF0uYXR0cmlidXRlc1t0eXBlICsgJy4nICsgZGF5c1tkYXlJbmRleF0gKyAnLm9wZW5JbnRlcnZhbHMnXSl7CiAgICAgICAgICAgICAgICAgICAgdG1yd1N0YXJ0ID0gIGRheXNTaG9ydFtkYXlJbmRleF0gKyAiICIgKyB5ZXh0RGF0YS5lbnRpdGllc1swXS5hdHRyaWJ1dGVzW3R5cGUgKyAnLScgKyBkYXlzW2RheUluZGV4XV0uc3BsaXQoIiAtICIpWzBdIAogICAgICAgICAgICAgICAgICAgIGJyZWFrCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgdmFyIHN0YXR1cyA9ICJDbG9zZWQgIgogICAgICAgICAgICB2YXIgY3NzQ2xhc3MgPSAiY2xvc2VkU3RhdHVzIgogICAgICAgICAgICB2YXIgYnVzSG91cnMgPSAnIOKAoiBPcGVucyAnICsgdG1yd1N0YXJ0CgogICAgICAgIH0KICAgICAgICB9CiAgICB9CiAKICAgIC8vIGNoZWNrcyBpZiBob2xpZGF5CiAgICBpZihob2xpZGF5SG91cnMpIHsKICAgICAgICBmb3IodmFyIGk9MDtpIDwgaG9saWRheUhvdXJzLmxlbmd0aDtpKyspewogICAgICAgICAgICBpZihob2xpZGF5SG91cnNbaV0uZGF0ZSA9PT0gdG9kYXlEYXRlICYmIGhvbGlkYXlIb3Vyc1tpXS5pc0Nsb3NlZCA9PT0gdHJ1ZSAmJiB0b21vcnJvd09wZW4gPT09IGZhbHNlKXsKICAgICAgICAgICAgICAgIHZhciBvZmZzZXQgPSBkYXlzLmluZGV4T2YoZGF5KSArIDEKICAgICAgICAgICAgICAgIGZvciggdmFyIGk9MDsgaSA8IGRheXMubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgICAgICAgICB2YXIgZGF5SW5kZXggPSAoaSArIG9mZnNldCkgJSBkYXlzLmxlbmd0aDsKICAgICAgICAgICAgICAgICAgICBpZih5ZXh0RGF0YS5lbnRpdGllc1swXS5hdHRyaWJ1dGVzW3R5cGUgKyAnLicgKyBkYXlzW2RheUluZGV4XSArICcub3BlbkludGVydmFscyddKXsKICAgICAgICAgICAgICAgICAgICB0bXJ3U3RhcnQgPSBkYXlzU2hvcnRbZGF5SW5kZXhdICsgIiAiICsgeWV4dERhdGEuZW50aXRpZXNbMF0uYXR0cmlidXRlc1t0eXBlICsgJy0nICsgZGF5c1tkYXlJbmRleF1dLnNwbGl0KCIgLSAiKVswXQogICAgICAgICAgICAgICAgICAgIGJyZWFrCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB2YXIgc3RhdHVzID0gIkNsb3NlZCAiCiAgICAgICAgICAgICAgICB2YXIgY3NzQ2xhc3MgPSAiY2xvc2VkU3RhdHVzIgogICAgICAgICAgICAgICAgdmFyIGJ1c0hvdXJzID0gJyDigKIgT3BlbnMgJyArIHRtcndTdGFydCAgCiAgICAgICAgICAgIH0gZWxzZSBpZihob2xpZGF5SG91cnNbaV0uZGF0ZSA9PT0gdG9kYXlEYXRlICYmIGhvbGlkYXlIb3Vyc1tpXS5pc0Nsb3NlZCA9PT0gdHJ1ZSAmJiB0b21vcnJvd09wZW4gPT09IHRydWUpewogICAgICAgICAgICAgICAgdmFyIHN0YXR1cyA9ICJDbG9zZWQgIgogICAgICAgICAgICAgICAgdmFyIGNzc0NsYXNzID0gImNsb3NlZFN0YXR1cyIKICAgICAgICAgICAgICAgIHZhciBidXNIb3VycyA9ICcg4oCiIE9wZW5zICcgKyB0bXJ3U3RhcnQgCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0gCiAgICBpZihjc3NDbGFzcyl7CiAgICAgICAgdmFyIGhvdXJzV2lkZ2V0cyA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoJ3N0YXR1cycpCiAgICAgICAgZm9yKCB2YXIgaT0wOyBpIDwgaG91cnNXaWRnZXRzLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGhvdXJzV2lkZ2V0c1tpXS5jbGFzc0xpc3QuYWRkKGNzc0NsYXNzKTsKICAgICAgICB9CiAgICB9CiAgICBpZihzdGF0dXMpewogICAgICAgIHZhciBob3Vyc1dpZGdldHMgPSBkb2N1bWVudC5nZX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dGlvbihuYW1lLHN0eWxlKSB7CiAgICB2YXIgY2RuUGF0aCA9ICdodHRwczovL2Nkbi53ZWJzaXRlcy5oaWJ1LmNvbS8tcmVzZWxsZXJzLXByZXZpZXcvX2NjX2ljb25zLyc7CiAgICBpZighc3R5bGUpIHsKICAgICAgICBzdHlsZSA9ICdfZC5zdmcnCiAgICB9CiAgICBpZiAobmFtZSA9PT0gIlpFTExFIil7CiAgICAgICAgbmFtZSA9ICJaZWxsZSIKICAgIH0KICAgIHZhciBpbWFnZVVybD0nJzsKICAgIHN3aXRjaCAobmFtZSkgewogICAgICAgIGNhc2UgJ1Zpc2EnOgogICAgICAgICAgICBpbWFnZVVybCA9ICBjZG5QYXRoICsgbmFtZS5yZXBsYWNlKC9bXFdfXSsvZywnJykudG9Mb3dlckNhc2UoKSArIHN0eWxlOwogICAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICdNYXN0ZXJDYXJkJzoKICAgICAgICAgICAgaW1hZ2VVcmwgPSAgY2RuUGF0aCArIG5hbWUucmVwbGFjZSgvW1xXX10rL2csJycpLnRvTG93ZXJDYXNlKCkgKyBzdHlsZTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAnRGlzY292ZXInOgogICAgICAgICAgICBpbWFnZVVybCA9IGNkblBhdGggKyBuYW1lLnJlcGxhY2UoL1tcV19dKy9nLCcnKS50b0xvd2VyQ2FzZSgpICsgc3R5bGU7CiAgICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgJ0FtZXJpY2FuIEV4cHJlc3MnOgogICAgICAgICAgICBpbWFnZVVybCA9ICBjZG5QYXRoICsgbmFtZS5yZXBsYWNlKC9bXFdfXSsvZywnJykudG9Mb3dlckNhc2UoKSArIHN0eWxlOwogICAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICdBbmRyb2lkIFBheSc6CiAgICAgICAgICAgIGltYWdlVXJsID0gIGNkblBhdGggKyBuYW1lLnJlcGxhY2UoL1tcV19dKy9nLCcnKS50b0xvd2VyQ2FzZSgpICsgc3R5bGU7CiAgICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgJ0FwcGxlIFBheSc6CiAgICAgICAgICAgIGltYWdlVXJsID0gIGNkblBhdGggKyBuYW1lLnJlcGxhY2UoL1tcV19dKy9nLCcnKS50b0xvd2VyQ2FzZSgpICsgc3R5bGU7CiAgICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgJ0JpdGNvaW4nOgogICAgICAgICAgICBpbWFnZVVybCA9ICBjZG5QYXRoICsgbmFtZS5yZXBsYWNlKC9bXFdfXSsvZywnJykudG9Mb3dlckNhc2UoKSArIHN0eWxlOwogICAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICdDYXNoJzoKICAgICAgICAgICAgaW1hZ2VVcmwgPSAgY2RuUGF0aCArIG5hbWUucmVwbGFjZSgvW1xXX10rL2csJycpLnRvTG93ZXJDYXNlKCkgKyBzdHlsZTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAnQ2hlY2snOgogICAgICAgICAgICBpbWFnZVVybCA9ICBjZG5QYXRoICsgbmFtZS5yZXBsYWNlKC9bXFdfXSsvZywnJykudG9Mb3dlckNhc2UoKSArIHN0eWxlOwogICAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICdEaW5lcnMgQ2x1Yic6CiAgICAgICAgICAgIGltYWdlVXJsID0gIGNkblBhdGggKyBuYW1lLnJlcGxhY2UoL1tcV19dKy9nLCcnKS50b0xvd2VyQ2FzZSgpICsgc3R5bGU7CiAgICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgJ0Rpc2NvdmVyJzoKICAgICAgICAgICAgaW1hZ2VVcmwgPSAgY2RuUGF0aCArIG5hbWUucmVwbGFjZSgvW1xXX10rL2csJycpLnRvTG93ZXJDYXNlKCkgKyBzdHlsZTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAnRmluYW5jaW5nJzoKICAgICAgICAgICAgaW1hZ2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mdZZXh0V2lkZ2V0JykucmVtb3ZlQ2xhc3MoJ3Nob3cnKTsgCiAgICAgICAgfQogICAgfSk7CiAgICAKfSBlbHNlIHsKICAgIGRtQVBJLnJ1bk9uUmVhZHkoJ3lleHQnICwgZnVuY3Rpb24oKXsKICAgICAgICBsb2FkWWV4dCgpOwogICB9KTsKICAgIC8vIEJlZm9yZSBuYXZpZ2F0aW5nIHdpdGggQWpheCwgd2Ugc2V0IHRoZSB5ZXh0IGluaXRpYWxpemVkIHRvIGJlIGZhbHNlIHNvIGl0IHdpbGwgYmUgaW5pdGlhbGl6ZWQgYWdhaW4gYWZ0ZXIgdGhlIGFqYXggbmF2aWdhdGlvbgogICAgZG1BUEkucnVuQmVmb3JlQWpheE5hdmlnYXRpb24oJ3lleHQnLCBmdW5jdGlvbigpewogICAgICAgIHdpbmRvdy55ZXh0SW5pdGlhbGl6ZWQgPSBmYWxzZTsKICAgIH0pOwp9","css":".editorOnlyInfo, .multipleYextError, .wrongScriptError{\n display: none;\n max-width:350px;\n background: #fff;\n text-align: left;\n padding: 10px;\n line-height: normal;\n font-size: 14px;\n}\n\n.editorOnlyInfo.inEditor{\n display: block;\n color: #3ac280;\n}\n\n.multipleYextError.hasError, .wrongScriptError.hasError{\n display: block;\n color: red;\n}\n\n.widget-7b6cfb .dmWidget.yextButton {\n width: 100%;\n}\n\n#dm .widget-7b6cfb {\n line-height: normal!important;\n}\n\na.getDirections {\n display: block;\n}\n\n.yextButton.show {\n display:inline-block;\n}\n\n.yextButton .text {\n display:table-cell;\n vertical-align:middle;\n}\n\n.yextMap{\n height:100%;\n width:100%;\n overflow: hidden;\n z-index: 0;\n text-align: left;\n margin: 0 auto;\n}\n\n.yextHours{\n text-align: left;\n width:300px;\n}\n\n.yextHours .row {\n display:flex;\n}\n.yextHours .row .left, .yextHours .row .right {\n flex:1;\n align-self: center;\n}\n.yextAdditionalHoursText {\n display:inline-block;\n}\n\n.yextAddress{\n text-align: left;\n}\n\n#paymentOptionsImages img {\n display: inline-block;\n width: 60px;\n margin-right: 5px;\n margin-bottom: 5px;\n}\n#socialIcons a {\n display: inline-block;\n width: 50px;\n margin-right: 5px;\n margin-bottom: 5px;\n}\n.bullet {\n list-style-type:disc; \n}\n.no-list {\n list-style-type:none;\n}\n.circle {\n list-style-type:circle; \n}\n.square {\n list-style-type:square; \n}\n.decimal {\n list-style-type:decimal; \n}\n.bold {\n font-weight: bold;\n}\n#socialIcons {\n display: flex;\n}\n#socialIcons.left {\n justify-content: flex-start;\n}\n#socialIcons.right {\n justify-content: flex-end;\n}\n#socialIcons.center {\n justify-content: center;\n}\nul[id*=\"List\"] {\n margin:0;\n}\nh3[class*=\"Header\"] {\n margin: 10px 0;\n}\n.yextEmail {\n display:block;\n}\n.picons-left {\n text-align:left;\n}\n.picons-right {\n text-align:right;\n}\n.picons-center {\n text-align:center;\n}\n\n.openedStatus {\n color: #3ac280;\n}\n\n.allDayStatus {\n color: #3ac280;\n}\n\n.closedStatus {\n color: #FF0000;\n}\n\n.soonStatus {\n color: #FF7322;\n}\n\n\n","strings":{}},{"widgetId":"d1ee5d5bf037471ea1770683731e577a","version":23,"js":"JChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKXsKICAgICQuZ2V0U2NyaXB0KCdodHRwczovL3dpZGdldC5oaWJ1LnVzL3N0YXRpYy9qcy9pbmRleC5qcycpCiAgICAuZG9uZShmdW5jdGlvbigpewogICAgICAgIGRtQVBJLnJ1bk9uUmVhZHkoJ2hpYnVfaGVhZGVyX3Jldmlld3MnLGZ1bmN0aW9uKCl7CiAgICAgICAgICAgIHdpbmRvdy5yZW5kZXJBcHAoKTsKICAgICAgICB9KTsKICAgICAgICAKICAgIH0pCiAgICAuZmFpbChmdW5jdGlvbigpewogICAgICAgIGNvbnNvbGUubG9nKCJmYWlsZWQgdG8gbG9hZGVkIGhlYWRlciByZXZpZXdzIGpzIGZpbGUiKQogICAgfSk7Cn0pCgo=","css":".headerWidget {\n min-height:22px;\n}\n\n.headerWidget .reviews-header .link {\n margin-top:4px;\n}\n","strings":{}},{"widgetId":"d1ee5d5bf037471ea1770683731e577a","version":22,"js":"JChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKXsKICAgICQuZ2V0U2NyaXB0KCdodHRwczovL3dpZGdldC5oaWJ1LnVzL3N0YXRpYy9qcy9pbmRleC5qcycpCiAgICAuZG9uZShmdW5jdGlvbigpewogICAgICAgIGRtQVBJLnJ1bk9uUmVhZHkoJ2hpYnVfaGVhZGVyX3Jldmlld3MnLGZ1bmN0aW9uKCl7CiAgICAgICAgICAgIHdpbmRvdy5yZW5kZXJBcHAoKTsKICAgICAgICB9KTsKICAgICAgICAKICAgIH0pCiAgICAuZmFpbChmdW5jdGlvbigpewogICAgICAgIGNvbnNvbGUubG9nKCJmYWlsZWQgdG8gbG9hZGVkIGhlYWRlciByZXZpZXdzIGpzIGZpbGUiKQogICAgfSk7Cn0pCgo=","css":".headerWidget {\n min-height:22px;\n}\n","strings":{}},{"widgetId":"afd4bc7f907140298e111130d715031d","version":99,"js":"bGV0IEhhc09wZW5lZE1lbnUgPSBmYWxzZTsNCg0KJChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKSB7DQogICBkaXNwbGF5VHlwZSgpOw0KfSk7DQoNCmZ1bmN0aW9uIGRpc3BsYXlUeXBlKCkgew0KICAgIGlmKGlzTW9iaWxlKCkpIHsNCiAgICAgICAgZGlzcGxheU1vYmlsZSgpOw0KICAgIH0gZWxzZSB7DQogICAgICAgIGRpc3BsYXlEZXNrdG9wKCk7DQogICAgfQ0KfQ0KDQpmdW5jdGlvbiBkaXNwbGF5TW9iaWxlKCkgew0KICAgIHZhciBtYXN0ZXJGYWJFbGUgPSAkKGVsZW1lbnQpLmZpbmQoJyNtYXN0ZXJmYWInKTsNCiAgICAkKCcjbWFpbi1jb250YWluZXInKS5lbXB0eSgpLmFwcGVuZChnZXRTdmcoZGF0YS5jb25maWcuTW9iaWxlTWFpbikpOw0KICAgIA0KICAgICQobWF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2Utc2Vuc2l0aXZlLCBwcm90b2NvbC1hZ25vc3RpYyANCiAgICAgICAgICAgICAgICBpZiAocmUudGVzdChjc2NyaXB0KSkgew0KICAgICAgICAgICAgICAgICAgICAkKCdib2R5JykuYXBwZW5kKCc8c2NyaXB0IGFzeW5jPSJhc3luYyIgc3JjPSInICsgY3NjcmlwdCArICciIHR5cGU9InRleHQvamF2YXNjcmlwdCIgaWQ9ImNoYXQtc2NyaXB0Ij48XC9zY3JpcHQ+Jyk7DQogICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsgLy8gYnJlYWsgb3V0IG9mIHRoZSAkLmVhY2goKSBvbiBmaXJzdCBvY2N1cmVuY2UNCiAgICAgICAgICAgICAgICB9IGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAkKCdib2R5JykuYXBwZW5kKCc8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCIgaWQ9ImNoYXQtc2NyaXB0Ij4nICsgY3NjcmlwdCArICc8XC9zY3JpcHQ+Jyk7DQogICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsgLy8gYnJlYWsgb3V0IG9mIHRoZSAkLmVhY2goKSBvbiBmaXJzdCBvY2N1cmVuY2UNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgKi8NCiAgICAgICAgICAgICAgICAkKCdib2R5JykuYXBwZW5kKGNzY3JpcHQpOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9KTsNCiAgICB9KTsNCn0NCi8vDQovLyBBTklNQVRJT05TDQovLw0KZnVuY3Rpb24gYW5pbWF0ZUZvY3VzKCkgew0KICAgICQoJy5hbmltYXRpb24nKS5yZW1vdmUoKTsgICAvL2luIGNhc2UgYWxyZWFkeSBpbiBET00NCiAgICBpZighSGFzT3BlbmVkTWVudSkgew0KICAgICAgICBpZihpc01vYmlsZSgpKSB7DQogICAgICAgICAgICBjb25zdCBwdWxzZSA9ICc8ZGl2IGNsYXNzPSJwdWxzZTIgYW5pbW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CdvcGVuJyk7DQogICAgICAgICQoIiNtYXN0ZXJmYWIuZmFiLm1hc3Rlci1tb2JpbGUiKS5yZW1vdmVDbGFzcygnbW9iaWxlLW9wZW4nKQ0KICAgICAgICB2YXIgbWFpbkljb24gPSBkYXRhLmNvbmZpZy5EZXNrTWFpbg0KICAgICAgICAvLyByZXZlcnQgdG8gZGVmYXVsdCBtYWluIGljb24gc3R5bGUNCiAgICAgICAgaWYoaXNNb2JpbGUoKSkgew0KICAgICAgICAgICAgbWFpbkljb24gPSBkYXRhLmNvbmZpZy5Nb2JpbGVNYWluOw0KICAgICAgICAgICAgJCgnI21hc3RlcmZhYicpLmNzcyh7J2JhY2tncm91bmQnOiAnJywgJ2JveC1zaGFkb3cnOiAnJ30pOyAgLy8gcmVzdG9yZSBkZWZhdWx0DQogICAgICAgIH0NCiAgICAgICAgJCgnI21haW4tY29udGFpbmVyJykuZW1wdHkoKS5hcHBlbmQoZ2V0U3ZnKG1haW5JY29uKSk7DQogICAgICAgIA0KICAgICAgICAkKCcubWVudS1saW5rLCAuY2hpbGQnKS5oaWRlKCk7DQogICAgICAgIC8vIHNsaWRlIGRvd24gdG8gY2xvZXMNCiAgICAgICAgJChzZWxlY3Rvcikuc3RvcCgpLmFuaW1hdGUoew0KICAgICAgICAgICAgaGVpZ2h0ICA6IDAsDQogICAgICAgICAgICBvcGFjaXR5IDogMA0KICAgICAgICB9LCAxMjUsIGZ1bmN0aW9uKCl7DQogICAgICAgICAgICAkKHRoaXMpLmhpZGUoKTsNCiAgICAgICAgfSk7DQogICAgfSBlbHNlIHsNCiAgICAgICAgJCgnI21haW4tY29udGFpbmVyJykuYWRkQ2xhc3MoJ29wZW4nKTsNCiAgICAgICAgJCgiI21hc3RlcmZhYi5mYWIubWFzdGVyLW1vYmlsZSIpLmFkZENsYXNzKCdtb2JpbGUtb3BlbicpDQogICAgICAgIHZhciB0b3BBcmVhID0gMTAwOw0KICAgICAgICBpZihpc01vYmlsZSgpKSB7DQogICAgICAgICA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AgIA0KICAgICAgICAgICANCiAgICAgICAgICAgIA0KICAgICAgICAgICAgICAgIGljb24gPSAnPHNwYW4gY2xhc3M9Imljb24tY29udGFpbmVyIj4nK2dldEl0ZW1JY29uKGl0ZW0pKyc8L3NwYW4+JzsNCiAgICAgICAgICAgICAgICBodG1sICs9IA0KICAgICAgICAgICAgICAgICAgICAnPGRpdiBjbGFzcz0iZmFiIGNoaWxkIiBpZD0iY2hpbGQtJytpbmRleCsnIiBkYXRhLXN1Yml0ZW09IicraW5kZXgrJyI+IFwNCiAgICAgICAgICAgICAgICAgICAgICAgICcrZ2V0SXRlbUFjdGlvbihpdGVtLCBpY29uK2xhYmVsKSsnIFwNCiAgICAgICAgICAgICAgICAgICAgPC9kaXY+JzsNCiAgICAgICAgICAgIA0KICAgICAgICAgICAgaWYoaXRlbS5BY3Rpb24gPT09ICdTaGFyZScpIHsNCiAgICAgICAgICAgICAgICAkLmdldFNjcmlwdCgnaHR0cHM6Ly9jZG4uanNkZWxpdnIubmV0L25wbS9taWNyb21vZGFsL2Rpc3QvbWljcm9tb2RhbC5taW4uanMnLCBmdW5jdGlvbigpIHsNCiAgICAgICAgICAgICAgICAgICAgTWljcm9Nb2RhbC5pbml0KCk7DQogICAgICAgICAgICAgICAgICAgICQoJy5zaGFyZS1jb250YWluZXInKS5odG1sKGdldFNvY2lhbEl0ZW1zKGl0ZW0pKTsgICAvLyBhZGQgc29jaWFsIGljb25zIHRvIG1vZGFsDQogICAgICAgICAgICAgICAgICAgIGFkZFNoYXJlTGlzdGVuZXIoKTsgICAvLyBpZiBzb2NpYWwgc2hhcmluZyBlbmFibGVkIGFkZCBjbGljayBoYW5kbGVyDQogICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICB9DQogICAgICAgIH0NCiAgICAgICAgDQogICAgICAgIGVsc2UgaWYoaXRlbS5zaG93b25kZXNrdG9wPT10cnVlICYmIChkYXRhLmRldmljZSA9PT0gJ2Rlc2t0b3AnIHx8IGRhdGEuZGV2aWNlID09PSAndGFibGV0JykgKXsNCiAgICAgICAgICAgIA0KICAgICAgICAgICBpZih0eXBlID09PSAncmlnaHRUZXh0Jyl7IA0KICAgICAgICAgICBsYWJlbCA9ICc8c3BhbiBjbGFzcz0icmlnaHQtdGV4dCI+JyArIGl0ZW0uTGFiZWwgKyAnPC9zcGFuPic7DQogICAgICAgIH0NCiAgICAgICAgaWYodHlwZSA9PT0gJ2xlZnRUZXh0Jykgew0KICAgICAgICAgICAgbGFiZWwgPSAnPHNwYW4gY2xhc3M9ImxlZnQtdGV4dCI+JyArIGl0ZW0uTGFiZWwgKyAnPC9zcGFuPic7DQogICAgICAgIH0NCiAgICAgICAgaWYoIWZsb2F0KSB7DQogICAgICAgICAgICBpY29uID0gJzxzcGFuIGNsYXNzPSJpY29uLWNvbnRhaW5lciI+JytnZXRJdGVtSWNvbihpdGVtKSsnPC9zcGFuPic7DQogICAgICAgICAgICBodG1sICs9IA0KICAgICAgICAgICAgICAgICc8ZGl2IGNsYXNzPSJmYWIgY2hpbGQiIGlkPSJjaGlsZC0nK2luZGV4KyciIGRhdGEtc3ViaXRlbT0iJytpbmRleCsnIj4gXA0KICAgICAgICAgICAgICAgICAgICAnK2dldEl0ZW1BY3Rpb24oaXRlbSwgaWNvbitsYWJlbCkrJyBcDQogICAgICAgICAgICAgICAgPC9kaXY+JzsNCiAgICAgICAgfQ0KICAgICAgICAvLyBmbG9hdGluZyBpY29ucyBvbiBkZXNrdG9wIG9ubHkNCiAgICAgICAgZWxzZSB7DQogICAgICAgICAgICANCiAgICAgICAgICAgIC8vIGFkZCBmb2N1cyBjbGFzcyBmb3IgZm9jdXMgYW5pbWF0aW9uDQogICAgICAgICAgICBsYWJlbCA9IGl0ZW0uTGFiZWw7DQogICAgICAgICAgICB2YXIgZm9jdXNDbGFzcyA9IGl0ZW0uQW5pbWF0ZT8gJ2ZvY3VzJyA6ICcnOw0KICAgICAgICAgICAgaWNvbiA9ICc8c3BhbiBjbGFzcz0iaWNvbi1jb250YW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l0bGUpOw0KICAgIA0KICAgIHJldHVybiB7bGluazogbGluaywgdGl0bGU6IGVuY29kZWRUaXRsZX07DQp9DQpmdW5jdGlvbiBnZXRTaGFyZUh0bWwoc2l0ZSwgbGluaywgZW5jb2RlZFRpdGxlLCBhY3Rpb24sIGxpbmtDbGFzcykgew0KICAgIGxldCBocmVmID0gJyc7DQogICAgc3dpdGNoKHNpdGUpIHsNCiAgICAgICAgY2FzZSAnRW1haWwnOg0KICAgICAgICAgICAgaHJlZiA9ICJtYWlsdG86P1N1YmplY3Q9IitlbmNvZGVkVGl0bGUrIiZib2R5PUNoZWNrIG91dCB0aGlzIHNpdGU6ICIrd2luZG93LmxvY2F0aW9uLmhyZWY7DQogICAgICAgICAgICANCiAgICAgICAgICAgIHN0YXRzRXZlbnROYW1lID0gJ0NNX1NIQVJFX0VNQUlMJzsNCiAgICAgICAgICAgIHJldHVybiAoDQogICAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNvY2lhbC1pY29uIiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjogZ3JleTsiPiBcDQogICAgICAgICAgICAgICAgICAgIDxhIGhyZWY9IicraHJlZisnIiBjbGFzcz0iJytsaW5rQ2xhc3MrJyIgb25jbGljaz0iX3RyYWNrQ29udldpZGdldENsaWNrRXZlbnQoXCcnK3N0YXRzRXZlbnROYW1lKydcJyk7OyI+IFwNCiAgICAgICAgICAgICAgICAgICAgICAgICcrZ2V0U3ZnKCdzaGFyZWVudmVsb3BlJykrJyBcDQogICAgICAgICAgICAgICAgICAgIDwvYT4gXA0KICAgICAgICAgICAgICAgIDwvZGl2PicpOw0KICAgICAgICBjYXNlICdGYWNlYm9vayc6DQogICAgICAgICAgICBocmVmID0gJ2h0dHBzOi8vd3d3LmZhY2Vib29rLmNvbS9zaGFyZXIvc2hhcmVyLnBocD91PScrbGluazsNCiAgICAgICAgICAgIHN0YXRzRXZlbnROYW1lID0gJ0NNX1NIQVJFX0ZCJzsNCiAgICAgICAgICAgIHJldHVybiAoDQogICAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNvY2lhbC1pY29uIiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjogIzNiNTk5ODsiPiBcDQogICAgICAgICAgICAgICAgICAgIDxhIGhyZWY9IicraHJlZisnIiBjbGFzcz0iJytsaW5rQ2xhc3MrJyIgdGFyZ2V0PSJfYmxhbmsiIG9uY2xpY2s9Il90cmFja0NvbnZXaWRnZXRDbGlja0V2ZW50KFwnJytzdGF0c0V2ZW50TmFtZSsnXCcpOyI+IFwNCiAgICAgICAgICAgICAgICAgICAgICAgICcrZ2V0U3ZnKCdmYWNlYm9vaycpKycgXA0KICAgICAgICAgICAgICAgICAgICA8L2E+IFwNCiAgICAgICAgICAgICAgICA8L2Rpdj4nKTsNCiAgICAgICAgY2FzZSAnVHVtYmxyJzoNCiAgICAgICAgICAgIGhyZWYgPSAnaHR0cDovL3R1bWJsci5jb20vc2hhcmUvbGluaz91cmw9JytsaW5rKycmbmFtZT0nK2VuY29kZWRUaXRsZTsNCiAgICAgICAgICAgIHJldHVybiAoIA0KICAgICAgICAgICAgICAgICc8ZGl2IGNsYXNzPSJzb2NpYWwtaWNvbiIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICMzNTQ2NWM7Ij4gXA0KICAgICAgICAgICAgICAgICAgICA8YSBocmVmPSInK2hyZWYrJyIgY2xhc3M9IicrbGlua0NsYXNzKyciIHRhcmdldD0iX2JsYW5rIiA+IFwNCiAgICAgICAgICAgICAgICAgICAgICAgICcrZ2V0U3ZnKCd0dW1ibHInKSsnIFwNCiAgICAgICAgICAgICAgICAgICAgPC9hPiBcDQogICAgICAgICAgICAgICAgPC9kaXY+Jyk7DQogICAgICAgIGNhc2UgJ0xpbmtlZEluJzoNCiAgICAgICAgICAgIGhyZWYgPSAnaHR0cDovL3d3dy5saW5rZWRpbi5jb20vc2hhcmVBcnRpY2xlP21pbmk9dHJ1ZSZhbXA7dXJsPScrbGluaysnJmFtcDt0aXRsZT0nK2VuY29kZWRUaXRsZTsNCiAgICAgICAgICAgIHN0YXRzRXZlbnROYW1lID0gJ0NNX1NIQVJFX0xJTktFRElOJzsNCiAgICAgICAgICAgIHJldHVybiAoIA0KICAgICAgICAgICAgICAgICc8ZGl2IGNsYXNzPSJzb2NpYWwtaWNvbiIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICM0ODc1QjQ7Ij4gXA0KICAgICAgICAgICAgICAgICAgICA8YSBocmVmPSInK2hyZWYrJyIgY2xhc3M9IicrbGlua0NsYXNzKyciIHRhcmdldD0iX2JsYW5rIiBvbmNsaWNrPSJfdHJhY2tDb252V2lkZ2V0Q2xpY2tFdmVudChcJycrc3RhdHNFdmVudE5hbWUrJ1wnKTsiPiBcDQogICAgICAgICAgICAgICAgICAgICAgICAnK2dldFN2ZygnbGlua2VkSW4nKSsnIFwNCiAgICAgICAgICAgICAgICAgICAgPC9hPiBcDQogICAgICAgICAgICAgICAgPC9kaXY+Jyk7DQogICAgICAgIGNhc2UgJ1R3aXR0ZXInOg0KICAgICAgICAgICAgaHJlZiA9ICdodHRwczovL3R3aXR0ZXIuY29tL2ludGVudC90d2VldD90ZXh0PScrbGluazsNCiAgICAgICAgICAgIHN0YXRzRXZlbnROYW1lID0gJ0NNX1NIQVJFX1RXSVRURVInOw0KICAgICAgICAgICAgcmV0dXJuICgNCiAgICAgICAgICAgICAgICAnPGRpdiBjbGFzcz0ic29jaWFsLWljb24iIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiAjMDAwMDAwOyI+IFwNCiAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj0iJytocmVmKyciIGNsYXNzPSInK2xpbmtDbGFzcysnIiB0YXJnZXQ9Il9ibGFuayIgb25jbGljaz0iX3RyYWNrQ29udldpZGdldENsaWNrRXZlbnQoXCcnK3N0YXRzRXZlbnROYW1lKydcJyk7Ij4gXA0KICAgICAgICAgICAgICAgICAgICAgICAgJytnZXRTdmcoJ3R3aXR0ZXInKSsnIFwNCiAgICAgICAgICAgICAgICAgICAgPC9hPiBcDQogICAgICAgICAgICAgICAgPC9kaXY+Jyk7DQogICAgICAgIGNhc2UgJ1JlZGRpdCc6DQogICAgICAgICAgICBocmVmID0gJ2h0dHA6Ly93d3cucmVkZGl0LmNvbS9zdWJtaXQ/dXJsPScrbGluaysnJnRpdGxlPScrZW5jb2RlZFRpdGxlKycmdGV4dD0nK2VuY29kZWRUaXRsZTsNCiAgICAgICAgICAgIHJldHVybiAoIA0KICAgICAgICAgICAgICAgICc8ZGl2IGNsYXNzPSJzb2NpYWwtaWNvbiIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZjQ1MDA7Ij4gXA0KICAgICAgICAgICAgICAgICAgICA8YSBocmVmPSInK2hyZWYrJyIgY2xhc3M9IicrbGlua0NsYXNzKyciIHRhcmdldD0iX2JsYW5rIj4gXA0KICAgICAgICAgICAgICAgICAgICAgICAgJytnZXRTdmcoJ3JlZGRpdCcpKycgXA0KICAgICAgICAgICAgICAgICAgICA8L2E+IFwNCiAgICAgICAgICAgICAgICA8L2Rpdj4nKTsNCiAgICAgICAvKiBjYXNlICdHb29nbGVQbHVzJzoNCiAgICAgICAgICAgIGhyZWYgPSAnaHR0cHM6Ly9wbHVzLmdvb2dsZS5jb20vc2hhcmU/dXJsPScrbGluazsNCiAgICAgICAgICAgIHN0YXRzRXZlbnROYW1lID0gJ0NNX1NIQVJFX0dPT0dMRV9QTFVTJzsNCiAgICAgICAgICAgIHJldHVybiAoIA0KICAgICAgICAgICAgICAgICc8ZGl2IGNsYXNzPSJzb2NpYWwtaWNvbiIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNkMzQ4MzY7Ij4gXA0KICAgICAgICAgICAgICAgICAgICA8YSBocmVmPSInK2hyZWYrJyIgY2xhc3M9IicrbGlua0NsYXNzKyciIHRhcmdldD0iX2JsYW5rIiBvbmNsaWNrPSJfdHJhY2tDb252V2lkZ2V0Q2xpY2tFdmVudChcJycrc3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HVybiBnZXRTdmcoJ3NtcycpOw0KICAgICAgICAgICAgY2FzZSAnRW1haWwnOg0KICAgICAgICAgICAgICAgIHJldHVybiBnZXRTdmcoJ2VudmVsb3BlJyk7DQogICAgICAgICAgICBjYXNlICdNZXNzJzoNCiAgICAgICAgICAgICAgICByZXR1cm4gZ2V0U3ZnKCdtZXNzZW5nZXInKTsNCiAgICAgICAgICAgIGNhc2UgJ01hcCc6DQogICAgICAgICAgICAgICAgcmV0dXJuIGdldFN2ZygnbWFwJyk7DQogICAgICAgICAgICBjYXNlICdTaGFyZSc6DQogICAgICAgICAgICAgICAgcmV0dXJuIGdldFN2Zygnc2hhcmUnKTsNCiAgICAgICAgfQ0KICAgIH0NCn0NCg0KLyogLS0tLS0tLS0tLS0tLS0tLS0tLS0tICovDQpmdW5jdGlvbiBnZXRJdGVtSWNvbihpdGVtKSB7DQogICAgdmFyIGxjYXNlID0gaXRlbS5BY3Rpb24udG9Mb3dlckNhc2UoKTsNCg0KICAgIGlmKGl0ZW0uQ3VzdG9tSWNvbikgew0KICAgICAgICBzd2l0Y2goaXRlbS5DdXN0b21JY29uX1NlbGVjdCkgew0KICAgICAgICAgICAgY2FzZSAnY3VzdG9tX2ljb24xJzoNCiAgICAgICAgICAgICAgICAvLyByZXR1cm4gJzxkaXYgY2xhc3M9IicrbGNhc2UrJy1pY29uLXByZXYgY3VzdG9tLXVzZXItaWNvbiAnICsgaXRlbS5DdXN0b21JY29uX1NlbGVjdCArICciPicgKyBkYXRhLmNvbmZpZy5jdXN0b21faWNvbjEgKyAnPC9kaXY+JzsNCiAgICAgICAgICAgICAgICByZXR1cm4gJzxkaXYgY2xhc3M9ImN1c3RvbS11c2VyLWljb24gJyArIGl0ZW0uQ3VzdG9tSWNvbl9TZWxlY3QgKyAnIj4nICsgZGF0YS5jb25maWcuY3VzdG9tX2ljb24xICsgJzwvZGl2Pic7DQogICAgICAgICAgICBjYXNlICdjdXN0b21faWNvbjInOg0KICAgICAgICAgICAgICAgIHJldHVybiAnPGRpdiBjbGFzcz0iY3VzdG9tLXVzZXItaWNvbiAnICsgaXRlbS5DdXN0b21JY29uX1NlbGVjdCArICciPicgKyBkYXRhLmNvbmZpZy5jdXN0b21faWNvbjIgKyAnPC9kaXY+JzsNCiAgICAgICAgICAgIGNhc2UgJ2N1c3RvbV9pY29uMyc6DQogICAgICAgICAgICAgICAgcmV0dXJuICc8ZGl2IGNsYXNzPSJjdXN0b20tdXNlci1pY29uICcgKyBpdGVtLkN1c3RvbUljb25fU2VsZWN0ICsgJyI+JyArIGRhdGEuY29uZmlnLmN1c3RvbV9pY29uMyArICc8L2Rpdj4nOw0KICAgICAgICAgICAgY2FzZSAnY3VzdG9tX2ljb240JzoNCiAgICAgICAgICAgICAgICByZXR1cm4gJzxkaXYgY2xhc3M9ImN1c3RvbS11c2VyLWljb24gJyArIGl0ZW0uQ3VzdG9tSWNvbl9TZWxlY3QgKyAnIj4nICsgZGF0YS5jb25maWcuY3VzdG9tX2ljb240ICsgJzwvZGl2Pic7DQogICAgICAgICAgICBjYXNlICdjdXN0b21faWNvbjUnOg0KICAgICAgICAgICAgICAgIHJldHVybiAnPGRpdiBjbGFzcz0iY3VzdG9tLXVzZXItaWNvbiAnICsgaXRlbS5DdXN0b21JY29uX1NlbGVjdCArICciPicgKyBkYXRhLmNvbmZpZy5jdXN0b21faWNvbjUgKyAnPC9kaXY+JzsNCiAgICAgICAgICAgIGNhc2UgJ2N1c3RvbV9pY29uNic6DQogICAgICAgICAgICAgICAgcmV0dXJuICc8ZGl2IGNsYXNzPSJjdXN0b20tdXNlci1pY29uICcgKyBpdGVtLkN1c3RvbUljb25fU2VsZWN0ICsgJyI+JyArIGRhdGEuY29uZmlnLmN1c3RvbV9pY29uNiArICc8L2Rpdj4nOw0KICAgICAgICB9DQogICAgfSBlbHNlIHsNCiAgICAgICAgc3dpdGNoKGl0ZW0uQWN0aW9uKSB7DQogICAgICAgICAgICBjYXNlICdMaW5rJzoNCiAgICAgICAgICAgICAgICByZXR1cm4gZ2V0U3ZnKCdsaW5rJyk7DQogICAgICAgICAgICBjYXNlICdDYWxsJzoNCiAgICAgICAgICAgICAgICByZXR1cm4gZ2V0U3ZnKCdwaG9uZScpOw0KICAgICAgICAgICAgY2FzZSAnU21zJzoNCiAgICAgICAgICAgICAgICByZXR1cm4gZ2V0U3ZnKCdzbXMnKTsNCiAgICAgICAgICAgIGNhc2UgJ0VtYWlsJzoNCiAgICAgICAgICAgICAgICByZXR1cm4gZ2V0U3ZnKCdlbnZlbG9wZScpOw0KICAgICAgICAgICAgY2FzZSAnTWVzcyc6DQogICAgICAgICAgICAgICAgcmV0dXJuIGdldFN2ZygnbWVzc2VuZ2VyJyk7DQogICAgICAgICAgICBjYXNlICdNYXAnOg0KICAgICAgICAgICAgICAgIHJldHVybiBnZXRTdmcoJ21hcCcpOw0KICAgICAgICAgICAgY2FzZSAnU2hhcmUnOg0KICAgICAgICAgICAgICAgIHJldHVybiBnZXRTdmcoJ3NoYXJlJyk7DQogICAgICAgICAgICBjYXNlICdDaGF0JzoNCiAgICAgICAgICAgICAgICByZXR1cm4gZ2V0U3ZnKCdjaGF0Jyk7DQogICAgICAgIH0NCiAgICB9DQp9DQovKiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0gKi8NCg0Kd2luZG93Ll90cmFja0NvbnZXaWRnZXRDbGlja0V2ZW50ID0gZnVuY3Rpb24oZXZlbnROYW1lKSB7DQogICAgaWYodHlwZW9mKEhBRik9PT0ib2JqZWN0Iil7DQogICAgICAgIEhBRi5PbVRyYWNraW5nLm9uQ01DbGljayhldmVudE5hbWUpIA0KICAgIH0NCiAgICByZXR1cm47DQp9DQoNCmZ1bmN0aW9uIGR1ZGFpY29uKGljb24pew0KICAgIHJldHVybiAnPHNwYW4gY2xhc3M9Im5ldy1jb250YWluZXIiPicraWNvbisnPC9zcGFuPicNCiAgICANCiAgICANCn0NCmZ1bmN0aW9uIHhnZXRTdmcobmFtZSkgew0KICAgIGNvbnN0IHR5cGUgPSB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4OS43NjEgMTkxLjc3OSAxNC4wNDUgMjY3LjYzNC01Ljg3NCA1Ljg4NS01LjgzOCAxNS40MzMuMDggMjEuMjc0bDMxLjI5MyAzMC44ODJjLS4xMTkgMC0xNTguOTk1LjgyNy0xNTkuMTExLjgyN3oiLz48cGF0aCBkPSJtMTIxLjAwNSAxNjZoMTc5Ljk5YzguMjg0IDAgMTQuOTk5LTYuNzE2IDE0Ljk5OS0xNXMtNi43MTUtMTUtMTQuOTk5LTE1aC0xNzkuOTljLTguMjg0IDAtMTQuOTk5IDYuNzE2LTE0Ljk5OSAxNXM2LjcxNiAxNSAxNC45OTkgMTV6Ii8+PHBhdGggZD0ibTEyMS4wMDUgMjI2aDE3OS45OWM4LjI4NCAwIDE0Ljk5OS02LjcxNiAxNC45OTktMTVzLTYuNzE1LTE1LTE0Ljk5OS0xNWgtMTc5Ljk5Yy04LjI4NCAwLTE0Ljk5OSA2LjcxNi0xNC45OTkgMTVzNi43MTYgMTUgMTQuOTk5IDE1eiIvPjxwYXRoIGQ9Im0xMjEuMDA1IDI4NmgxNzkuOTljOC4yODQgMCAxNC45OTktNi43MTYgMTQuOTk5LTE1cy02LjcxNS0xNS0xNC45OTktMTVoLTE3OS45OWMtOC4yODQgMC0xNC45OTkgNi43MTYtMTQuOTk5IDE1czYuNzE2IDE1IDE0Ljk5OSAxNXoiLz48L2c+PC9zdmc+JzsNCiAgICAgICAgZGVmYXVsdDogDQogICAgICAgICAgICByZXR1cm4gJyc7DQogICAgfQ0KfQ0K","css":"#main-container.open > svg {\r\n fill: #333333 !important;\r\n}\r\n#main-container {\r\n display: inline-block;\r\n margin: 0 auto;\r\n}\r\n.master-bar > #main-container {\r\n margin: 0;\r\n width: 40px;\r\n max-height: 60px;\r\n}\r\n#close-bar {\r\n width: 42.666px;\r\n z-index: 10000006;\r\n position: absolute;\r\n bottom: 0.5em;\r\n right: 0.5em;\r\n}\r\n#close-bar svg {\r\n fill: #fff !important;\r\n}\r\n.share-container .iconsvgshareemail {\r\n padding: 0 !important;\r\n margin: 0 auto!important;\r\n display: block;\r\n width:60%;\r\n}\r\n.fab {\r\n background: #fff;\r\n width: 64px;\r\n height: 64px;\r\n border-radius: 50%;\r\n text-align: center;\r\n color: #333333;\r\n box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 3px 3px 3px rgba(0, 0, 0, 0.25);\r\n position: fixed;\r\n bottom: 0px;\r\n right: 0px;\r\n font-size: 2.6667em;\r\n display: inline-block;\r\n cursor: default;\r\n}\r\n.fab.master-mobile, .child.mobile {\r\n bottom: 15px;\r\n right: 15px;\r\n}\r\n.fab.bsr-left {\r\n bottom: 15px; !important;\r\n left: 15px; !important;\r\n}\r\n.fab, .social-icon span {\r\n vertical-align: middle;\r\n}\r\n.fab.child {\r\n width: 42.66666667px;\r\n height: 42.66666667px;\r\n display: none;\r\n opacity: 0;\r\n font-size: 2em;\r\n background-color: #ffffff;\r\n z-index: 10000007;\r\n margin: 0 10px;\r\n /* Aligns icon in center */\r\n display: flex;\r\n align-items: center;\r\n}\r\n.fab.child.child-desktop-bar {\r\n position: absolute;\r\n left: 10px;\r\n background-color: black;\r\n background-color: rgba(0,0,0,0);\r\n border: 2px solid #cccccc;\r\n box-shadow: none;\r\n display:none;\r\n}\r\n.fab.child.dark {\r\n background-color: #fff;\r\n}\r\n.fab.child.float {\r\n border-radius: 0px;\r\n background-color: #fff;\r\n box-shadow: none;\r\n margin: auto;\r\n position: relative;\r\n opacity: 1;\r\n min-width: 42.666px;\r\n top:0;\r\n}\r\n.social-icon {\r\n width: 42.66666667px;\r\n height: 42.66666667px;\r\n font-size: 2em;\r\n z-index: 10000007;\r\n margin: 10px auto;\r\n display: flex;\r\n align-items: center;\r\n border-radius: 50%;\r\n}\r\n.social {\r\n width: inherit;\r\n height: inherit;\r\n}\r\n.social-icon svg {\r\n width: inherit;\r\n height: inherit;\r\n padding: 8px;\r\n fill: white;\r\n}\r\n.social-icon.light svg {\r\n fill: white;\r\n}\r\n.social-icon.dark svg {\r\n fill: black;\r\n}\r\n.overlay {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n background: #ECECEC;\r\n opacity: 0.9;\r\n display: none;\r\n z-index: 10000001;\r\n}\r\n.overlay.dark {\r\n background: #000;\r\n opacity: 0.6;\r\n}\r\n.icon-container svg {\r\n fill: #CCCCCC;\r\n margin: 0 auto;\r\n display: block;\r\n width: 50%;\r\n height:100%;\r\n}\r\n.icon-container.mobile.dark svg {\r\n fill: #000;\r\n}\r\n.mobile-bg, .social-bg {\r\n position: fixed;\r\n width: 100%;\r\n bottom: 0px;\r\n left: 0px;\r\n z-index: 10000002;\r\n display: none;\r\n}\r\n.social-bg {\r\n z-index: 10000005;\r\n}\r\n.mobile-bg.dark, .social-bg.dark {\r\n background: #000;\r\n}\r\n.mobile-bg.light, .social-bg.light {\r\n background: #fff;\r\n}\r\n.desktop-bg {\r\n position: absolute;\r\n min-width: 200px;\r\n bottom: 0px;\r\n left: 0px;\r\n z-index: 10000004;\r\n display: none;\r\n background: #ffffff;\r\n border-bottom: 6px solid #333333;\r\n box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 3px 3px 3px rgba(0, 0, 0, 0.25);\r\n}\r\n.left-text {\r\n text-align: right;\r\n position: absolute;\r\n right: 4rem;\r\n width: 300px;\r\n top: 49%;\r\n transform: translateY(-49%);\r\n}\r\n.bsr-right-text {\r\n text-align: left;\r\n position: absolute;\r\n left: 4rem;\r\n width: 300px;\r\n top: 49%;\r\n transform: translateY(-49%);\r\n}\r\n.menu-link {\r\n text-decoration: none;\r\n align-self: center;\r\n}\r\n.menu-link.dark {\r\n color: white;\r\n}\r\n.menu-link.light {\r\n color: black;\r\n}\r\n.menu-link.desk-bar {\r\n color: #333333;\r\n font-size: 24px;\r\n}\r\n.right-text {\r\n position: absolute;\r\n text-align: left;\r\n font-size: 20px;\r\n width: 200px;\r\n left: 50px;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n}\r\n#float-container {\r\n position: fixed;\r\n right: 0px;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n white-space: nowrap;\r\n z-index: 10000005;\r\n}\r\n.float-container {\r\n display: flex;\r\n height: 42.666px;\r\n max-width: 42.666px;\r\n background-color: white;\r\n margin-left: auto;\r\n margin-right: 0;\r\n float: right;\r\n clear: right;\r\n}\r\n.float-text-container {\r\n display: none;\r\n opacity: 1 !important;\r\n max-width: 100%;\r\n}\r\n.float-text {\r\n font-size: 20px;\r\n color: #333333;\r\n padding-left: 0.5em;\r\n padding-right: 44px;\r\n display: none;\r\n}\r\n.master-bar {\r\n border-radius: 0px;\r\n height: 50px;\r\n bottom: 0px;\r\n right:50px;\r\n width: 200px;\r\n padding: 0 0.5em;\r\n}\r\n#help-text {\r\n display: none;\r\n position: absolute;\r\n margin: 20px;\r\n color: #333333;\r\n font-size: 24px;\r\n text-align: left;\r\n}\r\n#master-label {\r\n font-size: 16px;\r\n}\r\n#masterfab {\r\n z-index: 10000006;\r\n display: none;\r\n align-items: center;\r\n}\r\n#masterfab svg {\r\n fill: #cccccc;\r\n margin: 0 auto;\r\n display: block;\r\n width: 60%;\r\n max-width: 70px;\r\n max-height: 50px;\r\n}\r\n\r\n/* Pulse animation */\r\n.pulse {\r\n border: 3px solid #cccccc;\r\n -webkit-border-radius: 50px;\r\n height: 100px;\r\n width: 100px;\r\n position: absolute;\r\n /* trick to center, left margin half of width */\r\n margin: 0 0 0 -50px;\r\n left: 50%;\r\n -webkit-animation: pulsate 1s ease-out;\r\n -moz-animation: pulsate 1s ease-out;\r\n -o-animation: pulsate 1s ease-out;\r\n animation: pulsate 1s ease-out;\r\n opacity: 0.0;\r\n}\r\n@-webkit-keyframes pulsate {\r\n 0% {-webkit-transform: scale(0.8, 0.8); opacity: 0.0;}\r\n 50% {opacity: 1.0;}\r\n 100% {-webkit-transform: scale(1.4, 1.4); opacity: 0.0;}\r\n}\r\n@-moz-keyframes pulsate {\r\n 0% {-webkit-transform: scale(0.8, 0.8); opacity: 0.0;}\r\n 50% {opacity: 1.0;}\r\n 100% {-webkit-transform: scale(1.4, 1.4); opacity: 0.0;}\r\n}\r\n@-o-keyframes pulsate {\r\n 0% {-webkit-transform: scale(0.8, 0.8); opacity: 0.0;}\r\n 50% {opacity: 1.0;}\r\n 100% {-webkit-transform: scale(1.4, 1.4); opacity: 0.0;}\r\n}\r\n@keyframes pulsate {\r\n 0% {-webkit-transform: scale(0.8, 0.8); opacity: 0.0;}\r\n 50% {opacity: 1.0;}\r\n 100% {-webkit-transform: scale(1.4, 1.4); opacity: 0.0;}\r\n}\r\n\r\n.pulse2 {\r\n border: 3px solid #cccccc;\r\n -webkit-border-radius: 40px;\r\n height: 80px;\r\n width: 80px;\r\n position: absolute;\r\n /* trick to center, left margin half of width */\r\n margin: 0 0 0 -40px;\r\n left: 50%;\r\n -webkit-animation: pulsate2 1s ease-out;\r\n -moz-animation: pulsate2 1s ease-out;\r\n -o-animation: pulsate2 1s ease-out;\r\n animation: pulsate2 1s ease-out;\r\n opacity: 0.0;\r\n}\r\n@-webkit-keyframes pulsate2 {\r\n 0% {-webkit-transform: scale(0.8, 0.8); opacity: 0.0;}\r\n 50% {opacity: 1.0;}\r\n 100% {-webkit-transform: scale(1.4, 1.4); opacity: 0.0;}\r\n}\r\n@-moz-keyframes pulsate2 {\r\n 0% {-webkit-transform: scale(0.8, 0.8); opacity: 0.0;}\r\n 50% {opacity: 1.0;}\r\n 100% {-webkit-transform: scale(1.4, 1.4); opacity: 0.0;}\r\n}\r\n@-o-keyframes pulsate2 {\r\n 0% {-webkit-transform: scale(0.8, 0.8); opacity: 0.0;}\r\n 50% {opacity: 1.0;}\r\n 100% {-webkit-transform: scale(1.4, 1.4); opacity: 0.0;}\r\n}\r\n@keyframes pulsate2 {\r\n 0% {-webkit-transform: scale(0.8, 0.8); opacity: 0.0;}\r\n 50% {opacity: 1.0;}\r\n 100% {-webkit-transform: scale(1.4, 1.4); opacity: 0.0;}\r\n}\r\n\r\n.slide-pulse {\r\n -webkit-animation: slide 1s ease;\r\n -moz-animation: slide 1s ease;\r\n -o-animation: slide 1s ease;\r\n animation: slide 1s ease;\r\n}\r\n@-webkit-keyframes slide {\r\n 0% {max-width: 42.6667px; width: 42.667px;}\r\n 50% {max-width: 50px; width: 50px;}\r\n 100% {max-width: 50px; width: 42.667px;}\r\n}\r\n@-moz-keyframes slide {\r\n 0% {max-width: 42.6667px; width: 42.667px;}\r\n 50% {max-width: 50px; width: 50px;}\r\n 100% {max-width: 50px; width: 42.667px;}\r\n}\r\n@-o-keyframes slide {\r\n 0% {max-width: 42.6667px; width: 42.667px;}\r\n 50% {max-width: 50px; width: 50px;}\r\n 100% {max-width: 50px; width: 42.667px;}\r\n}\r\n@keyframes slide {\r\n 0% {max-width: 42.6667px; width: 42.667px;}\r\n 50% {max-width: 50px; width: 50px;}\r\n 100% {max-width: 50px; width: 42.667px;}\r\n}\r\n/* Modal Styles */\r\n\r\n.modal__overlay {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background: rgba(0,0,0,0.6);\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n position:relative;\r\n height:100%;\r\n width:100%;\r\n}\r\n\r\n.modal__container {\r\n background-color: #fff;\r\n padding: 30px;\r\n max-width: 500px;\r\n min-width: 200px;\r\n max-height: 100vh;\r\n border-radius: 4px;\r\n overflow-y: auto;\r\n box-sizing: border-box;\r\n}\r\n\r\n.modal__header {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.modal__title {\r\n margin: 0 auto;\r\n color: black;\r\n font-weight: 600;\r\n font-size: 1.25rem;\r\n line-height: 1.25;\r\n box-sizing: border-box;\r\n}\r\n\r\n.modal__close {\r\n background: transparent;\r\n border: 0;\r\n position: absolute;\r\n top: 14px;\r\n right: 14px;\r\n}\r\n.modal__close, .modal__close svg {\r\n width: 20px;\r\n height: 20px;\r\n outline:none !important;\r\n}\r\n.modal__close svg {\r\n position: absolute;\r\n left: 0px;\r\n top: 0px;\r\n}\r\n\r\n.modal__content {\r\n margin-top: 2rem;\r\n margin-bottom: 2rem;\r\n line-height: 1.5;\r\n color: rgba(0,0,0,.8);\r\n}\r\n\r\n.modal__btn {\r\n font-size: .875rem;\r\n padding-left: 1rem;\r\n padding-right: 1rem;\r\n padding-top: .5rem;\r\n padding-bottom: .5rem;\r\n background-color: #e6e6e6;\r\n color: rgba(0,0,0,.8);\r\n border-radius: .25rem;\r\n border-style: none;\r\n border-width: 0;\r\n cursor: pointer;\r\n -webkit-appearance: button;\r\n text-transform: none;\r\n overflow: visible;\r\n line-height: 1.15;\r\n margin: 0;\r\n will-change: transform;\r\n -moz-osx-font-smoothing: grayscale;\r\n -webkit-backface-visibility: hidden;\r\n backface-visibility: hidden;\r\n -webkit-transform: translateZ(0);\r\n transform: translateZ(0);\r\n transition: -webkit-transform .25s ease-out;\r\n transition: transform .25s ease-out;\r\n transition: transform .25s ease-out,-webkit-transform .25s ease-out;\r\n}\r\n\r\n.modal__btn:focus, .modal__btn:hover {\r\n -webkit-transform: scale(1.05);\r\n transform: scale(1.05);\r\n}\r\n\r\n.modal__btn-primary {\r\n background-color: #00449e;\r\n color: #fff;\r\n}\r\n\r\n\r\n\r\n/* Modal animation */\r\n\r\n@keyframes mmfadeIn {\r\n from { opacity: 0; }\r\n to { opacity: 1; }\r\n}\r\n\r\n@keyframes mmfadeOut {\r\n from { opacity: 1; }\r\n to { opacity: 0; }\r\n}\r\n\r\n@keyframes mmslideIn {\r\n from { transform: translateY(15%); }\r\n to { transform: translateY(0); }\r\n}\r\n\r\n@keyframes mmslideOut {\r\n from { transform: translateY(0); }\r\n to { transform: translateY(-10%); }\r\n}\r\n\r\n.micromodal-slide {\r\n display: none;\r\n}\r\n\r\n.micromodal-slide.is-open {\r\n display: block;\r\n}\r\n\r\n.micromodal-slide[aria-hidden=\"false\"] .modal__overlay {\r\n\tanimation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);\r\n}\r\n\r\n.micromodal-slide[aria-hidden=\"false\"] .modal__container {\r\n animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);\r\n}\r\n\r\n.micromodal-slide[aria-hidden=\"true\"] .modal__overlay {\r\n animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);\r\n}\r\n\r\n.micromodal-slide[aria-hidden=\"true\"] .modal__container {\r\n animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);\r\n}\r\n\r\n.micromodal-slide .modal__container,\r\n.micromodal-slide .modal__overlay {\r\n will-change: transform;\r\n}\r\n.micromodal-slide.is-open {\r\n display: block;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n width: 100%;\r\n height: 100%;\r\n z-index:999;\r\n}\r\n\n","strings":{}}],"page_title":"Info","flexstyles":[],"popups":[],"title":"Info","uuid":"4a25b6eaf8c2428e9ad0087eec04b281","devicecss":"*#dm *.dmBody div.u_dm_content{\npadding-top:20px !important;\npadding-bottom:20px !important;\npadding-left:20px !important;\npadding-right:20px !important}\n*#dm *.dmBody div.u_1694205906{\npadding-top:0 !important;\npadding-left:0 !important;\npadding-bottom:0 !important;\nfloat:none !important;\nmargin-right:auto !important;\nmargin-left:auto !important;\ntop:auto !important;\nmax-width:none !important;\nleft:0 !important;\nwidth:100% !important;\nmargin-top:0 !important;\nposition:relative !important;\nmargin-bottom:0 !important;\npadding-right:0 !important;\nmin-width:0 !important;\ntext-align:center !important;\nheight:auto !important}\n*#dm *.dmBody a.u_1145340895 span.textonly{\nfont-size:18px !important}\n*#dm *.dmBody a.u_1145340895{\npadding-top:0 !important;\npadding-left:0 !important;\ndisplay:block !important;\npadding-bottom:0 !important;\nfloat:none !important;\nmargin-right:auto !important;\nmargin-left:auto !important;\ntop:0 !important;\nmax-width:100% !important;\nleft:0 !important;\nwidth:250px !important;\nmargin-top:30px !important;\nposition:relative !important;\nmargin-bottom:0 !important;\npadding-right:0 !important;\nmin-width:0 !important;\ntext-align:center !important;\nheight:46px !important}\n*#dm *.dmBody h1.u_1413701372{\npadding-top:2px !important;\npadding-left:0 !important;\npadding-bottom:2px !important;\nfloat:none !important;\ntop:0 !important;\nmax-width:100% !important;\nleft:0 !important;\nwidth:100% !important;\nposition:relative !important;\npadding-right:0 !important;\nmin-width:0 !important;\ntext-align:left !important;\nheight:auto !important}\n*#dm *.dmBody div.u_1550745521{\npadding-top:17.5px !important;\npadding-left:40px !important;\npadding-bottom:17.5px !important;\nfloat:none !important;\nmargin-right:auto !important;\nmargin-left:auto !important;\ntop:0 !important;\nmax-width:none !important;\nleft:0 !important;\nwidth:100% !important;\nmargin-top:0 !important;\nposition:relative !important;\nmargin-bottom:0 !important;\npadding-right:40px !important;\nmin-width:0 !important;\ntext-align:center !important;\nheight:auto !important}","seometatags":"","content":"