@uiengine/ui 3.3.17 → 3.3.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[313],{3546:function(t,e,i){var n=i(5843),r=/([\\s]*?<!--\\s?omit:.*?\\s?-->)/gi,o=function(t,e){var i=new RegExp("\x3c!--\\s?uiengine:".concat(t,":start\\s?--\x3e([\\s\\S]*)\x3c!--\\s?uiengine:").concat(t,":end\\s?--\x3e"),"i"),n=e.match(i);return n&&n[1]?o(t,n[1]):e};t.exports={decorateCode:function(t,e){return n(t,e)},decorateContext:function(t){return n(JSON.stringify(t,null,2),"json")},omit:function(t,e){var i=new RegExp("([\\s]*?\x3c!--\\s?omit:".concat(t,":start\\s?--\x3e[\\s\\S]*?\x3c!--\\s?omit:").concat(t,":end\\s?--\x3e)"),"gi");return e.replace(i,"").replace(r,"")},isolateCode:o}},5843:function(t,e,i){var n=i(8310),r=["bash","css","scss","less","stylus","javascript","handlebars","json","markdown","nginx","xml"];r.forEach((function(t){var e=i(7505)("./".concat(t));n.registerLanguage(t,e)})),t.exports=function(t,e){var i=null!=e?[e]:void 0,r=n.highlightAuto(t,i),o=r.value,a=r.language;return'<pre class="hljs lang-'.concat(e||a,'"><code>').concat(o,"</code></pre>")},t.exports.LANGUAGES=r},8165:function(t,e,i){"use strict";var n=i(104),r=i(569);function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function a(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){(0,n.A)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}e.A={computed:a(a({},(0,r.L8)("state",["plugins"])),{},{pluginActions:function(){return this.plugins.ui.actions},pluginTabs:function(){return this.plugins.ui.tabs}}),methods:{dispatchPluginEvent:function(t,e,i){this.$refs.preview.dispatchPluginEvent(t,e,i)},dispatchPluginEventForAllPlugins:function(t,e,i){this.$refs.preview.dispatchPluginEvent(t,e,i)}},mounted:function(){var t=this,e=this.$props,i=e.variant,n=e.component;this.$refs.preview.$on("iframe-load",(function(e){t.pluginActions.forEach((function(r,o){var a=t.$refs["plugin-action"][o];t.dispatchPluginEvent("init",r,{target:a,variant:i,component:n}),t.dispatchPluginEvent("iframe-load",r,{target:a,variant:i,component:n,iframe:e})})),t.pluginTabs.forEach((function(r,o){var a=t.$refs["plugin-tab"][o],s=t.$refs["plugin-tab-content"][o];t.dispatchPluginEvent("init",r,{target:a,content:s,variant:i,component:n}),t.dispatchPluginEvent("iframe-load",r,{target:a,content:s,variant:i,component:n,iframe:e})}))}))}}},7453:function(t,e,i){"use strict";i.d(e,{A:function(){return u}});var n=i(535),r=i(5408),o=i.n(r),a=i(3546),s=i(3533),c=i(4815),p=i(1062),l=i.n(p),d={mixins:[s.A,c.A],props:{extension:{type:String,default:null},raw:{type:String,default:null},context:{type:Object,default:null},pathPrefix:{type:String,required:!0},pathPostfix:{type:String,required:!0}},data:function(){return{expanded:{raw:!0,context:!0},renderedHTML:{content:"",lang:"text"}}},computed:{renderedRaw:function(){var t=(0,a.omit)("code",this.raw);return(0,a.decorateCode)(t)},renderedContext:function(){return(0,a.decorateContext)(this.context)},iframeSrc:function(){var t=this.currentTheme.id;return"".concat(window.UIengine.base).concat(this.pathPrefix,"/").concat(t,"/").concat(this.pathPostfix,".html")}},watch:{expanded:function(t,e){var i=this;return(0,n.A)(o().mark((function t(){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i.renderedHTML.content||!e.HTML){t.next=13;break}return t.next=3,fetch("".concat(window.location.origin).concat(i.iframeSrc));case 3:if(!(n=t.sent).ok){t.next=10;break}return t.next=7,n.text();case 7:t.t0=t.sent,t.next=11;break;case 10:t.t0="Error accessing ".concat(window.location.origin).concat(i.iframeSrc," (").concat(n.status,")");case 11:t.t1=t.t0,i.renderedHTML={content:t.t1,lang:"html"};case 13:case"end":return t.stop()}}),t)})))()}},methods:{renderPart:function(t){var e=t.content,i=t.lang,n=(0,a.isolateCode)("preview",e),r=(0,a.omit)("code",n).trim();return(0,a.decorateCode)(r,i)},isExpanded:function(t){return!!this.expanded[t]},toggleExpanded:function(t){this.$set(this.expanded,t,!this.expanded[t])},copyRawToClipboard:function(){var t=(0,a.omit)("code",this.raw);this.copyCodeToClipboard(t)},copyContextToClipboard:function(){var t=JSON.stringify(this.context,null," ");this.copyCodeToClipboard(t)},copyHtmlToClipboard:function(t){var e=t.content,i=(0,a.isolateCode)("preview",e),n=(0,a.omit)("code",i).trim();this.copyCodeToClipboard(n)},copyCodeToClipboard:function(t){return new(l())("[data-clipboard-copy-code]",{text:function(){return t}}).on("success",(function(t){t.trigger.classList.add("copied"),setTimeout((function(){!function(t){t.trigger.classList.remove("copied")}(t)}),2e3)})).on("error",(function(t){console.error("[UIengine]","Clipboard error:",t)}))}}},u=(0,i(9524).A)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"code"},[t.raw?e("div",{staticClass:"code__segment"},[e("button",{staticClass:"code__header",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(t.isExpanded("raw")),"data-test-variant-code-button":"raw",type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleExpanded("raw")}}},[e("h4",{staticClass:"code__title"},[t._v("\n "+t._s(t._f("localize")("code.raw"))+"\n ")]),t._v(" "),e("AppIcon",{staticClass:"code__expandicon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{attrs:{hidden:!t.isExpanded("raw"),"data-test-variant-code-part":"raw"}},[e("button",{staticClass:"code__copy",attrs:{type:"button","aria-label":t._f("localize")("options.copy_code"),"data-tooltip-text":t._f("localize")("options.copy_code_tooltip"),"data-clipboard-copy-code":""},on:{click:function(e){return e.preventDefault(),t.copyRawToClipboard()}}},[e("AppIcon",{staticClass:"code__copy-icon",attrs:{symbol:"clipboard-copy"}})],1)]),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.renderedRaw)}})]):t._e(),t._v(" "),t.context?e("div",{staticClass:"code__segment"},[e("button",{staticClass:"code__header",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(t.isExpanded("context")),"data-test-variant-code-button":"context",type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleExpanded("context")}}},[e("h4",{staticClass:"code__title"},[t._v("\n "+t._s(t._f("localize")("code.context"))+"\n ")]),t._v(" "),e("AppIcon",{staticClass:"code__expandicon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{attrs:{hidden:!t.isExpanded("context"),"data-test-variant-code-part":"context"}},[e("button",{staticClass:"code__copy",attrs:{type:"button","aria-label":t._f("localize")("options.copy_code"),"data-tooltip-text":t._f("localize")("options.copy_code_tooltip"),"data-clipboard-copy-code":""},on:{click:function(e){return e.preventDefault(),t.copyContextToClipboard()}}},[e("AppIcon",{staticClass:"code__copy-icon",attrs:{symbol:"clipboard-copy"}})],1),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.renderedContext)}})])]):t._e(),t._v(" "),t.displayAllThemes?t._e():e("div",{staticClass:"code__segment"},[e("button",{staticClass:"code__header",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(t.isExpanded("HTML")),"data-test-variant-code-button":"HTML",type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleExpanded("HTML")}}},[e("h4",{staticClass:"code__title"},[t._v("\n HTML\n ")]),t._v(" "),e("AppIcon",{staticClass:"code__expandicon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{attrs:{hidden:!t.isExpanded("HTML"),"data-test-variant-code-part":"HTML"}},[e("button",{staticClass:"code__copy",attrs:{type:"button","aria-label":t._f("localize")("options.copy_code"),"data-tooltip-text":t._f("localize")("options.copy_code_tooltip"),"data-clipboard-copy-code":""},on:{click:function(e){return e.preventDefault(),t.copyHtmlToClipboard(t.renderedHTML)}}},[e("AppIcon",{staticClass:"code__copy-icon",attrs:{symbol:"clipboard-copy"}})],1),t._v(" "),t.renderedHTML.content?e("div",{domProps:{innerHTML:t._s(t.renderPart(t.renderedHTML))}}):e("div",[e("pre",[t._v(t._s(t._f("localize")("options.loading")))])])])])])}),[],!1,null,"c8cd4112",null).exports},1545:function(t,e,i){"use strict";i.d(e,{A:function(){return d}});var n=i(104),r=i(569),o=i(3533),a=i(4815);function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,n.A)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var p={mixins:[o.A,a.A],props:{id:{type:String,required:!0},title:{type:String,required:!0},pathPrefix:{type:String,required:!0},pathPostfix:{type:String,required:!0}},data:function(){return{isBreakpointsActive:!1}},computed:c(c(c({},(0,r.L8)("state",["config"])),(0,r.L8)("preferences",["previewWidths","previewMode"])),{},{breakpoints:function(){return this.config.ui.breakpoints},viewports:function(){return this.config.ui.viewports},isModeViewports:function(){return"viewports"===this.previewMode},breakpointNames:function(){return Object.keys(this.breakpoints)},breakpointWidths:function(){var t=this;return Object.values?Object.values(this.breakpoints):Object.keys(this.breakpoints).map((function(e){return t.breakpoints[e]}))},size:function(){var t=this;if(this.iframeWidth){if(this.breakpoints){var e=this.breakpointWidths.filter((function(e){return e<=t.iframeWidth})),i=e.length?this.breakpointNames[e.length-1]:"< ".concat(this.breakpointNames[0]);return this.previewTitle(i,this.iframeWidth)}return"".concat(this.iframeWidth,"px")}return""},viewportClass:function(){return"preview__viewport--".concat(this.previewMode)},viewportStyle:function(){if("viewports"===this.previewMode)return{};var t=this.previewWidths[this.id];return t?{width:"calc(".concat(t,"px + var(--uie-preview-padding) * 2 + 2px)")}:{}},iframes:function(){var t=this.$refs.iframes;return t instanceof HTMLElement&&(t=[t]),t}}),created:function(){var t=this;this.$root.$on("modal-close",(function(){t.isBreakpointsActive=!1}))},mounted:function(){var t=this;this.iframes.forEach(this.mountResizableIframe),this.$store.watch((function(){return t.$store.getters["preferences/currentTheme"]}),(function(){window.requestAnimationFrame((function(){t.iframes.forEach(t.mountResizableIframe)}))}))},beforeDestroy:function(){this.iframes.forEach(this.unmountResizableIframe)},methods:c(c({},(0,r.PY)("preferences",["setPreviewWidths"])),{},{setWidth:function(t){var e=this.previewWidths;t?e[this.id]=t:(delete e[this.id],this.$refs.viewport.style.width=null),this.setPreviewWidths(e)},iframeSize:function(t){var e=parseInt(t);return isNaN(e)?null:e},iframeSrc:function(t){return"".concat(window.UIengine.base).concat(this.pathPrefix,"/").concat(t,"/").concat(this.pathPostfix,".html")},previewTitle:function(t,e){return"".concat(t," @ ").concat(e,"px")},dispatchPluginEvent:function(t,e,i){var n=e.id;this.iframes.forEach((function(r){document.dispatchEvent(new CustomEvent("".concat(n,":").concat(t),{detail:Object.assign(i,{plugin:e,iframe:r})}))}))}})},l=p,d=(0,i(9524).A)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"preview"},[t.isModeViewports?t._e():[e("div",{staticClass:"preview__options",class:{"preview__options--active":t.isBreakpointsActive}},[e("div",{staticClass:"preview__options-inner"},[t._l(t.breakpoints,(function(i,n){return e("button",{key:n,staticClass:"preview__option",attrs:{type:"button"},on:{click:function(e){return t.setWidth(i)}}},[e("span",{staticClass:"preview__option-text"},[t._v(t._s(n))]),t._v(" "),e("span",{staticClass:"preview__option-label"},[t._v(t._s(i)+"px")])])})),t._v(" "),e("button",{staticClass:"preview__option",attrs:{type:"button"},on:{click:function(e){return t.setWidth(null)}}},[e("span",{staticClass:"preview__option-text"},[e("AppIcon",{staticClass:"preview__option-text-icon",attrs:{symbol:"reset"}})],1),t._v(" "),e("span",{staticClass:"preview__option-label"},[t._v(t._s(t._f("localize")("options.reset")))])])],2)])],t._v(" "),e("div",{staticClass:"preview__viewports sih--main soh--main-escape"},[t.isModeViewports?t._l(t.viewports,(function(i,n){var r=i.width,o=i.height;return e("div",{key:n,staticClass:"preview__viewport",class:t.viewportClass,style:t.viewportStyle},[e("span",{staticClass:"preview__title"},[t._v("\n "+t._s(t.previewTitle(n,r))+"\n ")]),t._v(" "),t._l(t.displayedThemes,(function(i){return e("div",{key:i.id,staticClass:"preview__iframe-container",attrs:{"data-test-iframe-container":"".concat(i.id,"-").concat(n)}},[t.displayAllThemes?e("div",{staticClass:"preview__theme-title"},[t._v("\n "+t._s(i.title)+"\n ")]):t._e(),t._v(" "),e("iframe",{ref:"iframes",refInFor:!0,staticClass:"preview__iframe lazy",style:{width:"".concat(t.iframeSize(r),"px")},attrs:{src:"about:blank","data-src":t.iframeSrc(i.id),title:t.title,width:t.iframeSize(r),height:t.iframeSize(o),scrolling:o?"yes":"no","data-test-viewport-iframe":"".concat(i.id,"-").concat(n),frameborder:"0"}})])}))],2)})):[e("div",{ref:"viewport",staticClass:"preview__viewport",class:t.viewportClass,style:t.viewportStyle},[t.breakpoints?[e("span",{staticClass:"preview__title"},[t._v("\n "+t._s(t.size)+"\n ")])]:t._e(),t._v(" "),t._l(t.displayedThemes,(function(i){return e("div",{key:i.id,staticClass:"preview__iframe-container",attrs:{"data-test-iframe-container":i.id}},[t.displayAllThemes?e("div",{staticClass:"preview__theme-title"},[t._v("\n "+t._s(i.title)+"\n ")]):t._e(),t._v(" "),e("iframe",{ref:"iframes",refInFor:!0,staticClass:"preview__iframe lazy",attrs:{src:"about:blank","aria-roledescription":"iframe","data-src":t.iframeSrc(i.id),title:t.title,"data-test-breakpoint-iframe":i.id,frameborder:"0",scrolling:"no"}})])}))],2)]],2)],2)}),[],!1,null,"419b93af",null).exports},393:function(t,e,i){"use strict";i.d(e,{A:function(){return r}});var n={components:{ContentProperty:i(9479).A},props:{title:{type:String,default:null},properties:{type:Object,required:!0}},computed:{displayDescription:function(){return Object.values(this.properties).some((function(t){return t.description}))}}},r=(0,i(9524).A)(n,(function(){var t=this,e=t._self._c;return e("table",{class:{withDescription:t.displayDescription},attrs:{id:t.title}},[e("caption",[t._v(t._s(t.title))]),t._v(" "),e("thead",[e("tr",[e("th",{staticClass:"property__name"},[t._v("\n "+t._s(t._f("localize")("properties.name"))+"\n ")]),t._v(" "),e("th",{staticClass:"property__type"},[t._v("\n "+t._s(t._f("localize")("properties.type"))+"\n ")]),t._v(" "),t.displayDescription?e("th",{staticClass:"property__description"},[t._v("\n "+t._s(t._f("localize")("properties.description"))+"\n ")]):t._e(),t._v(" "),e("th",{staticClass:"property__required"},[t._v("\n "+t._s(t._f("localize")("properties.required"))+"\n ")]),t._v(" "),e("th",{staticClass:"property__default"},[t._v("\n "+t._s(t._f("localize")("properties.default"))+"\n ")])])]),t._v(" "),e("tbody",t._l(t.properties,(function(i,n){return e("ContentProperty",{key:n,attrs:{id:n,property:i,"display-description":t.displayDescription}})})),1)])}),[],!1,null,"a103365e",null).exports},7505:function(t,e,i){var n={"./bash":1935,"./css":2898,"./handlebars":5521,"./javascript":1818,"./json":8299,"./less":6776,"./markdown":3972,"./nginx":1833,"./scss":1777,"./stylus":4723,"./xml":9228};function r(t){var e=o(t);return i(e)}function o(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id=7505}}]);
1
+ (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[313],{3546:function(t,e,i){var n=i(5843),r=/([\\s]*?<!--\\s?omit:.*?\\s?-->)/gi,o=function(t,e){var i=new RegExp("\x3c!--\\s?uiengine:".concat(t,":start\\s?--\x3e([\\s\\S]*)\x3c!--\\s?uiengine:").concat(t,":end\\s?--\x3e"),"i"),n=e.match(i);return n&&n[1]?o(t,n[1]):e};t.exports={decorateCode:function(t,e){return n(t,e)},decorateContext:function(t){return n(JSON.stringify(t,null,2),"json")},omit:function(t,e){var i=new RegExp("([\\s]*?\x3c!--\\s?omit:".concat(t,":start\\s?--\x3e[\\s\\S]*?\x3c!--\\s?omit:").concat(t,":end\\s?--\x3e)"),"gi");return e.replace(i,"").replace(r,"")},isolateCode:o}},5843:function(t,e,i){var n=i(8310),r=["bash","css","scss","less","stylus","javascript","handlebars","json","markdown","nginx","xml"];r.forEach((function(t){var e=i(7505)("./".concat(t));n.registerLanguage(t,e)})),t.exports=function(t,e){var i=null!=e?[e]:void 0,r=n.highlightAuto(t,i),o=r.value,a=r.language;return'<pre class="hljs lang-'.concat(e||a,'"><code>').concat(o,"</code></pre>")},t.exports.LANGUAGES=r},8165:function(t,e,i){"use strict";var n=i(3225),r=i(569);function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function a(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){(0,n.A)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}e.A={computed:a(a({},(0,r.L8)("state",["plugins"])),{},{pluginActions:function(){return this.plugins.ui.actions},pluginTabs:function(){return this.plugins.ui.tabs}}),methods:{dispatchPluginEvent:function(t,e,i){this.$refs.preview.dispatchPluginEvent(t,e,i)},dispatchPluginEventForAllPlugins:function(t,e,i){this.$refs.preview.dispatchPluginEvent(t,e,i)}},mounted:function(){var t=this,e=this.$props,i=e.variant,n=e.component;this.$refs.preview.$on("iframe-load",(function(e){t.pluginActions.forEach((function(r,o){var a=t.$refs["plugin-action"][o];t.dispatchPluginEvent("init",r,{target:a,variant:i,component:n}),t.dispatchPluginEvent("iframe-load",r,{target:a,variant:i,component:n,iframe:e})})),t.pluginTabs.forEach((function(r,o){var a=t.$refs["plugin-tab"][o],s=t.$refs["plugin-tab-content"][o];t.dispatchPluginEvent("init",r,{target:a,content:s,variant:i,component:n}),t.dispatchPluginEvent("iframe-load",r,{target:a,content:s,variant:i,component:n,iframe:e})}))}))}}},7453:function(t,e,i){"use strict";i.d(e,{A:function(){return u}});var n=i(7940),r=i(9),o=i.n(r),a=i(3546),s=i(3533),c=i(4815),p=i(1062),l=i.n(p),d={mixins:[s.A,c.A],props:{extension:{type:String,default:null},raw:{type:String,default:null},context:{type:Object,default:null},pathPrefix:{type:String,required:!0},pathPostfix:{type:String,required:!0}},data:function(){return{expanded:{raw:!0,context:!0},renderedHTML:{content:"",lang:"text"}}},computed:{renderedRaw:function(){var t=(0,a.omit)("code",this.raw);return(0,a.decorateCode)(t)},renderedContext:function(){return(0,a.decorateContext)(this.context)},iframeSrc:function(){var t=this.currentTheme.id;return"".concat(window.UIengine.base).concat(this.pathPrefix,"/").concat(t,"/").concat(this.pathPostfix,".html")}},watch:{expanded:function(t,e){var i=this;return(0,n.A)(o().mark((function t(){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i.renderedHTML.content||!e.HTML){t.next=13;break}return t.next=3,fetch("".concat(window.location.origin).concat(i.iframeSrc));case 3:if(!(n=t.sent).ok){t.next=10;break}return t.next=7,n.text();case 7:t.t0=t.sent,t.next=11;break;case 10:t.t0="Error accessing ".concat(window.location.origin).concat(i.iframeSrc," (").concat(n.status,")");case 11:t.t1=t.t0,i.renderedHTML={content:t.t1,lang:"html"};case 13:case"end":return t.stop()}}),t)})))()}},methods:{renderPart:function(t){var e=t.content,i=t.lang,n=(0,a.isolateCode)("preview",e),r=(0,a.omit)("code",n).trim();return(0,a.decorateCode)(r,i)},isExpanded:function(t){return!!this.expanded[t]},toggleExpanded:function(t){this.$set(this.expanded,t,!this.expanded[t])},copyRawToClipboard:function(){var t=(0,a.omit)("code",this.raw);this.copyCodeToClipboard(t)},copyContextToClipboard:function(){var t=JSON.stringify(this.context,null," ");this.copyCodeToClipboard(t)},copyHtmlToClipboard:function(t){var e=t.content,i=(0,a.isolateCode)("preview",e),n=(0,a.omit)("code",i).trim();this.copyCodeToClipboard(n)},copyCodeToClipboard:function(t){return new(l())("[data-clipboard-copy-code]",{text:function(){return t}}).on("success",(function(t){t.trigger.classList.add("copied"),setTimeout((function(){!function(t){t.trigger.classList.remove("copied")}(t)}),2e3)})).on("error",(function(t){console.error("[UIengine]","Clipboard error:",t)}))}}},u=(0,i(9524).A)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"code"},[t.raw?e("div",{staticClass:"code__segment"},[e("button",{staticClass:"code__header",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(t.isExpanded("raw")),"data-test-variant-code-button":"raw",type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleExpanded("raw")}}},[e("h4",{staticClass:"code__title"},[t._v("\n "+t._s(t._f("localize")("code.raw"))+"\n ")]),t._v(" "),e("AppIcon",{staticClass:"code__expandicon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{attrs:{hidden:!t.isExpanded("raw"),"data-test-variant-code-part":"raw"}},[e("button",{staticClass:"code__copy",attrs:{type:"button","aria-label":t._f("localize")("options.copy_code"),"data-tooltip-text":t._f("localize")("options.copy_code_tooltip"),"data-clipboard-copy-code":""},on:{click:function(e){return e.preventDefault(),t.copyRawToClipboard()}}},[e("AppIcon",{staticClass:"code__copy-icon",attrs:{symbol:"clipboard-copy"}})],1)]),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.renderedRaw)}})]):t._e(),t._v(" "),t.context?e("div",{staticClass:"code__segment"},[e("button",{staticClass:"code__header",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(t.isExpanded("context")),"data-test-variant-code-button":"context",type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleExpanded("context")}}},[e("h4",{staticClass:"code__title"},[t._v("\n "+t._s(t._f("localize")("code.context"))+"\n ")]),t._v(" "),e("AppIcon",{staticClass:"code__expandicon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{attrs:{hidden:!t.isExpanded("context"),"data-test-variant-code-part":"context"}},[e("button",{staticClass:"code__copy",attrs:{type:"button","aria-label":t._f("localize")("options.copy_code"),"data-tooltip-text":t._f("localize")("options.copy_code_tooltip"),"data-clipboard-copy-code":""},on:{click:function(e){return e.preventDefault(),t.copyContextToClipboard()}}},[e("AppIcon",{staticClass:"code__copy-icon",attrs:{symbol:"clipboard-copy"}})],1),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.renderedContext)}})])]):t._e(),t._v(" "),t.displayAllThemes?t._e():e("div",{staticClass:"code__segment"},[e("button",{staticClass:"code__header",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(t.isExpanded("HTML")),"data-test-variant-code-button":"HTML",type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleExpanded("HTML")}}},[e("h4",{staticClass:"code__title"},[t._v("\n HTML\n ")]),t._v(" "),e("AppIcon",{staticClass:"code__expandicon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{attrs:{hidden:!t.isExpanded("HTML"),"data-test-variant-code-part":"HTML"}},[e("button",{staticClass:"code__copy",attrs:{type:"button","aria-label":t._f("localize")("options.copy_code"),"data-tooltip-text":t._f("localize")("options.copy_code_tooltip"),"data-clipboard-copy-code":""},on:{click:function(e){return e.preventDefault(),t.copyHtmlToClipboard(t.renderedHTML)}}},[e("AppIcon",{staticClass:"code__copy-icon",attrs:{symbol:"clipboard-copy"}})],1),t._v(" "),t.renderedHTML.content?e("div",{domProps:{innerHTML:t._s(t.renderPart(t.renderedHTML))}}):e("div",[e("pre",[t._v(t._s(t._f("localize")("options.loading")))])])])])])}),[],!1,null,"c8cd4112",null).exports},1545:function(t,e,i){"use strict";i.d(e,{A:function(){return d}});var n=i(3225),r=i(569),o=i(3533),a=i(4815);function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,n.A)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var p={mixins:[o.A,a.A],props:{id:{type:String,required:!0},title:{type:String,required:!0},pathPrefix:{type:String,required:!0},pathPostfix:{type:String,required:!0}},data:function(){return{isBreakpointsActive:!1}},computed:c(c(c({},(0,r.L8)("state",["config"])),(0,r.L8)("preferences",["previewWidths","previewMode"])),{},{breakpoints:function(){return this.config.ui.breakpoints},viewports:function(){return this.config.ui.viewports},isModeViewports:function(){return"viewports"===this.previewMode},breakpointNames:function(){return Object.keys(this.breakpoints)},breakpointWidths:function(){var t=this;return Object.values?Object.values(this.breakpoints):Object.keys(this.breakpoints).map((function(e){return t.breakpoints[e]}))},size:function(){var t=this;if(this.iframeWidth){if(this.breakpoints){var e=this.breakpointWidths.filter((function(e){return e<=t.iframeWidth})),i=e.length?this.breakpointNames[e.length-1]:"< ".concat(this.breakpointNames[0]);return this.previewTitle(i,this.iframeWidth)}return"".concat(this.iframeWidth,"px")}return""},viewportClass:function(){return"preview__viewport--".concat(this.previewMode)},viewportStyle:function(){if("viewports"===this.previewMode)return{};var t=this.previewWidths[this.id];return t?{width:"calc(".concat(t,"px + var(--uie-preview-padding) * 2 + 2px)")}:{}},iframes:function(){var t=this.$refs.iframes;return t instanceof HTMLElement&&(t=[t]),t}}),created:function(){var t=this;this.$root.$on("modal-close",(function(){t.isBreakpointsActive=!1}))},mounted:function(){var t=this;this.iframes.forEach(this.mountResizableIframe),this.$store.watch((function(){return t.$store.getters["preferences/currentTheme"]}),(function(){window.requestAnimationFrame((function(){t.iframes.forEach(t.mountResizableIframe)}))}))},beforeDestroy:function(){this.iframes.forEach(this.unmountResizableIframe)},methods:c(c({},(0,r.PY)("preferences",["setPreviewWidths"])),{},{setWidth:function(t){var e=this.previewWidths;t?e[this.id]=t:(delete e[this.id],this.$refs.viewport.style.width=null),this.setPreviewWidths(e)},iframeSize:function(t){var e=parseInt(t);return isNaN(e)?null:e},iframeSrc:function(t){return"".concat(window.UIengine.base).concat(this.pathPrefix,"/").concat(t,"/").concat(this.pathPostfix,".html")},previewTitle:function(t,e){return"".concat(t," @ ").concat(e,"px")},dispatchPluginEvent:function(t,e,i){var n=e.id;this.iframes.forEach((function(r){document.dispatchEvent(new CustomEvent("".concat(n,":").concat(t),{detail:Object.assign(i,{plugin:e,iframe:r})}))}))}})},l=p,d=(0,i(9524).A)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"preview"},[t.isModeViewports?t._e():[e("div",{staticClass:"preview__options",class:{"preview__options--active":t.isBreakpointsActive}},[e("div",{staticClass:"preview__options-inner"},[t._l(t.breakpoints,(function(i,n){return e("button",{key:n,staticClass:"preview__option",attrs:{type:"button"},on:{click:function(e){return t.setWidth(i)}}},[e("span",{staticClass:"preview__option-text"},[t._v(t._s(n))]),t._v(" "),e("span",{staticClass:"preview__option-label"},[t._v(t._s(i)+"px")])])})),t._v(" "),e("button",{staticClass:"preview__option",attrs:{type:"button"},on:{click:function(e){return t.setWidth(null)}}},[e("span",{staticClass:"preview__option-text"},[e("AppIcon",{staticClass:"preview__option-text-icon",attrs:{symbol:"reset"}})],1),t._v(" "),e("span",{staticClass:"preview__option-label"},[t._v(t._s(t._f("localize")("options.reset")))])])],2)])],t._v(" "),e("div",{staticClass:"preview__viewports sih--main soh--main-escape"},[t.isModeViewports?t._l(t.viewports,(function(i,n){var r=i.width,o=i.height;return e("div",{key:n,staticClass:"preview__viewport",class:t.viewportClass,style:t.viewportStyle},[e("span",{staticClass:"preview__title"},[t._v("\n "+t._s(t.previewTitle(n,r))+"\n ")]),t._v(" "),t._l(t.displayedThemes,(function(i){return e("div",{key:i.id,staticClass:"preview__iframe-container",attrs:{"data-test-iframe-container":"".concat(i.id,"-").concat(n)}},[t.displayAllThemes?e("div",{staticClass:"preview__theme-title"},[t._v("\n "+t._s(i.title)+"\n ")]):t._e(),t._v(" "),e("iframe",{ref:"iframes",refInFor:!0,staticClass:"preview__iframe lazy",style:{width:"".concat(t.iframeSize(r),"px")},attrs:{src:"about:blank","data-src":t.iframeSrc(i.id),title:t.title,width:t.iframeSize(r),height:t.iframeSize(o),scrolling:o?"yes":"no","data-test-viewport-iframe":"".concat(i.id,"-").concat(n),frameborder:"0"}})])}))],2)})):[e("div",{ref:"viewport",staticClass:"preview__viewport",class:t.viewportClass,style:t.viewportStyle},[t.breakpoints?[e("span",{staticClass:"preview__title"},[t._v("\n "+t._s(t.size)+"\n ")])]:t._e(),t._v(" "),t._l(t.displayedThemes,(function(i){return e("div",{key:i.id,staticClass:"preview__iframe-container",attrs:{"data-test-iframe-container":i.id}},[t.displayAllThemes?e("div",{staticClass:"preview__theme-title"},[t._v("\n "+t._s(i.title)+"\n ")]):t._e(),t._v(" "),e("iframe",{ref:"iframes",refInFor:!0,staticClass:"preview__iframe lazy",attrs:{src:"about:blank","aria-roledescription":"iframe","data-src":t.iframeSrc(i.id),title:t.title,"data-test-breakpoint-iframe":i.id,frameborder:"0",scrolling:"no"}})])}))],2)]],2)],2)}),[],!1,null,"419b93af",null).exports},393:function(t,e,i){"use strict";i.d(e,{A:function(){return r}});var n={components:{ContentProperty:i(9479).A},props:{title:{type:String,default:null},properties:{type:Object,required:!0}},computed:{displayDescription:function(){return Object.values(this.properties).some((function(t){return t.description}))}}},r=(0,i(9524).A)(n,(function(){var t=this,e=t._self._c;return e("table",{class:{withDescription:t.displayDescription},attrs:{id:t.title}},[e("caption",[t._v(t._s(t.title))]),t._v(" "),e("thead",[e("tr",[e("th",{staticClass:"property__name"},[t._v("\n "+t._s(t._f("localize")("properties.name"))+"\n ")]),t._v(" "),e("th",{staticClass:"property__type"},[t._v("\n "+t._s(t._f("localize")("properties.type"))+"\n ")]),t._v(" "),t.displayDescription?e("th",{staticClass:"property__description"},[t._v("\n "+t._s(t._f("localize")("properties.description"))+"\n ")]):t._e(),t._v(" "),e("th",{staticClass:"property__required"},[t._v("\n "+t._s(t._f("localize")("properties.required"))+"\n ")]),t._v(" "),e("th",{staticClass:"property__default"},[t._v("\n "+t._s(t._f("localize")("properties.default"))+"\n ")])])]),t._v(" "),e("tbody",t._l(t.properties,(function(i,n){return e("ContentProperty",{key:n,attrs:{id:n,property:i,"display-description":t.displayDescription}})})),1)])}),[],!1,null,"a103365e",null).exports},7505:function(t,e,i){var n={"./bash":1935,"./css":2898,"./handlebars":5521,"./javascript":1818,"./json":8299,"./less":6776,"./markdown":3972,"./nginx":1833,"./scss":1777,"./stylus":4723,"./xml":9228};function r(t){var e=o(t);return i(e)}function o(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id=7505}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[813],{6517:function(t,e,n){n.r(e),n.d(e,{default:function(){return x}});var i=n(3225),r=n(569),a=n(938),s=n(6222),o=n(4815),c=n(5311),l=n(8906),p=n(393),h={props:{themes:{type:Array,required:!0},themeProperty:{type:Object,required:!0},currentTheme:{type:Object,required:!0},displayAllThemes:{type:Boolean,required:!0}},computed:{displayedThemes:function(){return this.displayAllThemes?this.themeProperty.themes:(0,i.A)({},this.currentTheme.id,this.themeProperty.themes[this.currentTheme.id])}},methods:{themeTitle:function(t){var e=this.themes.find((function(e){return e.id===t}));return e&&e.title?e.title:t},isDefault:function(t){var e=t.value,n=t.variable;if(!this.themeProperty.default)return!1;var i=this.themeProperty.default,r=i.value,a=i.variable;return void 0!==r&&r===e||void 0!==a&&a===n?"*":""}}},d=n(9524);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,i.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v={components:{ContentThemeProperty:(0,d.A)(h,(function(){var t=this,e=t._self._c;return e("tbody",t._l(t.displayedThemes,(function(n,i,r){return e("tr",{key:i},[0===r?e("td",{staticClass:"themeProperty__property uie-rowspan-right",attrs:{rowspan:Object.keys(t.displayedThemes).length}},[e("div",{staticClass:"themeProperty__name"},[t._v("\n "+t._s(t.themeProperty.name)+"\n ")]),t._v(" "),t.themeProperty.variable?e("code",{staticClass:"themeProperty__variablename"},[t._v("\n "+t._s(t.themeProperty.variable)+"\n ")]):t._e()]):t._e(),t._v(" "),t.displayAllThemes?e("td",{staticClass:"themeProperty__theme uie-rowspan-left"},[t._v("\n "+t._s(t.themeTitle(i))+"\n ")]):t._e(),t._v(" "),e("td",{staticClass:"themeProperty__value"},[t._v("\n "+t._s(n.value)+"\n ")]),t._v(" "),e("td",{staticClass:"themeProperty__visualization"},[n.value?["color"===t.themeProperty.type?e("span",{staticClass:"themeProperty__swatch"},[e("span",{staticClass:"themeProperty__swatch__inner",style:{backgroundColor:n.value}})]):"size"===t.themeProperty.type?e("span",{staticClass:"themeProperty__size",style:{width:n.value}}):t._e()]:t._e()],2),t._v(" "),e("td",{staticClass:"themeProperty__variable"},[e("code",[t._v(t._s(n.variable))])]),t._v(" "),e("td",{staticClass:"themeProperty__default"},[t._v("\n "+t._s(t.isDefault(n))+"\n ")])])})),0)}),[],!1,null,"48e81794",null).exports},props:{title:{type:String,required:!0},themeProperties:{type:Array,required:!0}},computed:_(_(_({},(0,r.L8)("state",["config"])),(0,r.L8)("preferences",["currentTheme"])),{},{themes:function(){return this.config.themes},displayAllThemes:function(){return"_all"===this.currentTheme.id}})},f=(0,d.A)(v,(function(){var t=this,e=t._self._c;return e("table",{attrs:{id:t.title}},[e("caption",[t._v(t._s(t.title))]),t._v(" "),e("thead",[e("tr",[e("th",{staticClass:"themeProperty__property"},[t._v("\n "+t._s(t._f("localize")("token.property"))+"\n ")]),t._v(" "),t.displayAllThemes?e("th",{staticClass:"themeProperty__theme"},[t._v("\n "+t._s(t._f("localize")("token.theme"))+"\n ")]):t._e(),t._v(" "),e("th",{staticClass:"themeProperty__value"},[t._v("\n "+t._s(t._f("localize")("token.value"))+"\n ")]),t._v(" "),e("th",{staticClass:"themeProperty__visualization"}),t._v(" "),e("th",{staticClass:"themeProperty__variable"},[t._v("\n "+t._s(t._f("localize")("token.variable"))+"\n ")]),t._v(" "),e("th",{staticClass:"themeProperty__default"},[t._v("\n "+t._s(t._f("localize")("token.default"))+"\n ")])])]),t._v(" "),t._l(t.themeProperties,(function(n){return e("ContentThemeProperty",{key:n.name,attrs:{themes:t.themes,"theme-property":n,"current-theme":t.currentTheme,"display-all-themes":t.displayAllThemes}})}))],2)}),[],!1,null,"0e05aaa0",null).exports,m=(0,d.A)({},(function(){return(0,this._self._c)("span",{staticClass:"label"},[this._t("default")],2)}),[],!1,null,"cb9b92c0",null).exports,b=n(1819),y=n(8165),C=n(281),P=n(1545),k=n(7453);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){(0,i.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var A={components:{ContentHeader:c.A,ContentHeading:C.A,ContentLabel:m,ContentTag:b.A,ContentPreview:P.A,ContentCode:k.A},mixins:[y.A,o.A],props:{variant:{type:Object,required:!0},component:{type:Object,required:!0}},data:function(){return{activeSection:null}},computed:w(w(w({},(0,r.L8)("state",["config"])),(0,r.L8)("preferences",["currentTheme"])),{},{parts:function(){return this.displayAllThemes?[]:this.variant.themes[this.currentTheme.id].parts},hasPreview:function(){var t=this;return!this.variant.themeIds||this.displayedThemes.some((function(e){return t.variant.themeIds.includes(e.id)}))},hasCode:function(){return!(!this.variant.raw&&!this.variant.context)},permalinkUrl:function(){var t=window.location,e=(0,a.dasherize)(this.variant.id);return"".concat(t.protocol,"//").concat(t.host).concat(t.pathname,"#").concat(e)},href:function(){return"".concat(window.UIengine.base,"_variants/").concat(this.currentTheme.id,"/").concat(this.variant.id,".html")}}),methods:{tabId:function(t){return"".concat((0,a.dasherize)(this.variant.id),"-").concat(t)},isTabActive:function(t){return this.activeSection===t||!this.activeSection&&("preview"===t&&this.hasPreview||"code"===t&&!this.hasPreview&&this.hasCode)},switchTab:function(t){this.activeSection=t,this.$refs["".concat(t,"-tab")].focus()}}},O=(0,d.A)(A,(function(){var t=this,e=t._self._c;return e("article",{staticClass:"variant",attrs:{id:t._f("dasherize")(t.variant.id)}},[e("ContentHeader",[e("ContentHeading",{attrs:{level:2}},[t._v("\n "+t._s(t.variant.title)+"\n ")]),t._v(" "),t.variant.label?e("ContentLabel",[t._v("\n "+t._s(t.variant.label)+"\n ")]):t._e(),t._v(" "),t._l(t.variant.tags,(function(t){return e("ContentTag",{key:t,attrs:{tag:t}})})),t._v(" "),e("div",{staticClass:"contentheader__right"},[t.hasPreview&&t.hasCode?e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[t._l(t.pluginActions,(function(n){return e("button",{key:n.id,ref:"plugin-action",refInFor:!0,staticClass:"contentheader__action",attrs:{title:n.title,"aria-label":n.title,type:"button"},on:{click:function(e){return e.preventDefault(),t.dispatchPluginEvent("click",n,e)}}},[n.icon?e("AppIcon",{attrs:{symbol:n.icon}}):e("span",[t._v("\n "+t._s(n.title)+"\n ")])],1)})),t._v(" "),t.displayAllThemes?t._e():e("a",{staticClass:"contentheader__action",attrs:{href:t.href,target:t._f("dasherize")(t.variant.id),title:t._f("localize")("options.open_in_window"),"aria-label":t._f("localize")("options.open_in_window"),"data-test-openinwindow-link":""},on:{click:function(t){t.stopPropagation()}}},[e("AppIcon",{attrs:{symbol:"open-in-window"}})],1),t._v(" "),e("a",{staticClass:"permalink contentheader__action",attrs:{href:t.permalinkUrl,"data-clipboard-text":t.permalinkUrl,title:t._f("localize")("options.copy_permalink"),"aria-label":t._f("localize")("options.copy_permalink")},on:{click:function(t){t.preventDefault()}}},[e("AppIcon",{staticClass:"permalink__icon",attrs:{symbol:"link"}})],1),t._v(" "),e("div",{staticClass:"contentheader__buttons"},[e("a",{ref:"preview-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("preview"),"aria-selected":t.isTabActive("preview"),tabindex:!t.isTabActive("preview")&&"-1",href:"#",role:"tab","data-test-variant-tab-link":"preview"},on:{click:function(e){e.preventDefault(),t.activeSection="preview"}}},[e("AppIcon",{staticClass:"contentheader__option-icon",attrs:{symbol:"preview"}})],1),t._v(" "),e("a",{ref:"code-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("code"),"aria-selected":t.isTabActive("code"),tabindex:!t.isTabActive("code")&&"-1",href:"#",role:"tab","data-test-variant-tab-link":"code"},on:{click:function(e){e.preventDefault(),t.activeSection="code"}}},[e("AppIcon",{staticClass:"contentheader__option-icon",attrs:{symbol:"code"}})],1),t._v(" "),t._l(t.pluginTabs,(function(n){return e("a",{key:n.id,ref:"plugin-tab",refInFor:!0,staticClass:"contentheader__option",attrs:{id:t.tabId(n.id),"aria-selected":t.isTabActive(n.id),tabindex:!t.isTabActive(n.id)&&"-1","data-test-variant-tab-link":n.id,href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSection=n.id}}},[t._v("\n "+t._s(n.title)+"\n ")])}))],2)],2):t._e()])],2),t._v(" "),t.variant.description?e("div",{staticClass:"content",domProps:{innerHTML:t._s(t.variant.description)}}):t._e(),t._v(" "),t.hasPreview||t.hasCode?e("div",{staticClass:"uie-sot-xl"},[t.hasPreview?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("preview"),hidden:!t.isTabActive("preview"),role:"tabpanel"}},[e("ContentPreview",{ref:"preview",attrs:{id:t._f("dasherize")(t.variant.id),title:t.variant.title,"path-postfix":t.variant.id,"path-prefix":"_variants"}})],1):t._e(),t._v(" "),t.hasCode?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("code"),hidden:!t.isTabActive("code"),role:"tabpanel"}},[e("ContentCode",{attrs:{extension:t.variant.extension,raw:t.variant.raw,context:t.variant.context,"path-postfix":t.variant.id,"path-prefix":"_variants"}})],1):t._e(),t._v(" "),t._l(t.pluginTabs,(function(n){return e("div",{key:n.id,ref:"plugin-tab-content",refInFor:!0,staticClass:"contentsection content",attrs:{"aria-labelledby":t.tabId(n.id),hidden:!t.isTabActive(n.id),role:"tabpanel"}},[t._v("\n "+t._s(n.id)+"\n ")])}))],2):t._e()],1)}),[],!1,null,"1ea424fa",null).exports;function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach((function(e){(0,i.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var j={components:{ContentHeader:c.A,ContentText:l.A,ContentProperties:p.A,ContentThemeProperties:f,ContentLabel:m,ContentTag:b.A,ComponentVariant:O},mixins:[s.A,o.A],props:{id:{type:String,required:!0}},data:function(){return{activeSection:null}},computed:I(I({},(0,r.L8)("state",["components","config","navigation"])),{},{dependencies:function(){var t=this;return this.component.dependencies.filter((function(e){return t.componentById(e)}))},dependentComponents:function(){var t=this;return this.component.dependentComponents.filter((function(e){return t.componentById(e)}))},component:function(){return this.components[this.id]},variants:function(){return this.displayAllThemes?this.component.variants:this.component.variants.filter(this.displayVariant)},hasDependencies:function(){return this.component.dependencies&&this.component.dependencies.filter(this.componentById).length>0},hasDependentComponents:function(){return!!this.component.dependentComponents&&this.component.dependentComponents.filter(this.componentById).length>0},hasVariants:function(){return this.variants.length>0},hasManyVariants:function(){return this.variants.length>1},hasProperties:function(){var t=this.component.properties;return t&&Object.keys(t).length>0},hasThemeProperties:function(){var t=this.component.themeProperties;return t&&t.length>0},hasInfo:function(){return!(!this.component.content&&!this.hasSecondaryInfo)},hasSecondaryInfo:function(){return this.hasManyVariants||this.hasDependencies||this.hasDependentComponents},isInfoActive:function(){return"info"===this.activeSection||!this.activeSection&&this.hasInfo},isPropertiesActive:function(){return"properties"===this.activeSection||!this.activeSection&&!this.hasInfo&&this.hasProperties},isThemePropertiesActive:function(){return"theme-properties"===this.activeSection||!this.activeSection&&!this.hasInfo&&!this.hasProperties&&this.hasThemeProperties},fileLink:function(){return this.findFileLink(this.component)}}),methods:{dasherize:a.dasherize,componentLink:function(t){return Object.values(this.navigation).find((function(e){return"component"===e.type&&e.itemId===t}))},componentById:function(t){return this.components[t]},displayVariant:function(t){return!(t.themeIds&&!t.themeIds.includes(this.currentTheme.id))},tabId:function(t){return"".concat((0,a.dasherize)(this.component.id),"-").concat(t)},switchTab:function(t){this.activeSection=t,this.$refs["".concat(t,"-tab")].focus()}}},x=(0,d.A)(j,(function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"component"},[e("ContentHeader",{attrs:{title:t.component.title}},[t.component.label?e("ContentLabel",[t._v("\n "+t._s(t.component.label)+"\n ")]):t._e(),t._v(" "),t._l(t.component.tags,(function(t){return e("ContentTag",{key:t,attrs:{tag:t}})})),t._v(" "),e("div",{staticClass:"contentheader__right"},[t.fileLink?e("a",{staticClass:"contentheader__action",attrs:{href:t.fileLink,"aria-label":t._f("localize")("options.edit")}},[e("AppIcon",{attrs:{symbol:"edit"}})],1):t._e(),t._v(" "),e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[t.hasInfo?e("a",{ref:"info-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("info"),"aria-selected":t.isInfoActive,tabindex:!t.isInfoActive&&"-1",role:"tab",href:"#info"},on:{click:function(e){e.preventDefault(),t.activeSection="info"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTab("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.info"))+"\n ")]):t._e(),t._v(" "),t.hasProperties?e("a",{ref:"properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("properties"),"aria-selected":t.isPropertiesActive,tabindex:!t.isPropertiesActive&&"-1",role:"tab",href:"#properties"},on:{click:function(e){e.preventDefault(),t.activeSection="properties"},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTab("info")},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTab("theme-properties")}]}},[t._v("\n "+t._s(t._f("localize")("options.properties"))+"\n ")]):t._e(),t._v(" "),t.hasThemeProperties?e("a",{ref:"theme-properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("theme-properties"),"aria-selected":t.isThemePropertiesActive,tabindex:!t.isThemePropertiesActive&&"-1",role:"tab",href:"#theme-properties"},on:{click:function(e){e.preventDefault(),t.activeSection="theme-properties"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTab("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.theme_properties"))+"\n ")]):t._e()])])],2),t._v(" "),t.hasInfo||t.hasProperties||t.hasThemeProperties?e("div",{staticClass:"uie-sot-xxl"},[t.hasInfo?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("info"),hidden:!t.isInfoActive,role:"tabpanel"}},[e("ContentText",{attrs:{item:t.component}}),t._v(" "),t.hasSecondaryInfo?e("div",{staticClass:"content uie-sot-l"},[t.hasDependencies?[e("p",{staticClass:"content__smallprint"},[t._v("\n "+t._s(t._f("localize")("component.dependencies"))+"\n "),t._l(t.dependencies,(function(n,i){return e("span",{key:n},[t.componentLink(n)?e("RouterLink",{staticClass:"contentsection__list-item",attrs:{to:t.componentLink(n),"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(t.componentById(n).title)+"\n ")]):[t._v("\n "+t._s(t.componentById(n).title)+"\n ")],t._v(" "),e("span",{staticClass:"divider"},[t._v("\n "+t._s(i!=t.dependencies.length-1?",":".")+"\n ")])],2)}))],2)]:t._e(),t._v(" "),t.hasDependentComponents?[e("p",{staticClass:"content__smallprint"},[t._v("\n "+t._s(t._f("localize")("component.dependents"))+"\n "),t._l(t.dependentComponents,(function(n,i){return e("span",{key:n},[t.componentLink(n)?e("RouterLink",{staticClass:"contentsection__list-item",attrs:{to:t.componentLink(n),"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(t.componentById(n).title)+"\n ")]):[t._v("\n "+t._s(t.componentById(n).title)+"\n ")],t._v(" "),e("span",{staticClass:"divider"},[t._v("\n "+t._s(i!=t.dependentComponents.length-1?",":".")+"\n ")])],2)}))],2)]:t._e(),t._v(" "),t.hasManyVariants?[e("div",{staticClass:"in-page-nav"},[e("span",{staticClass:"in-page-nav__heading"},[t._v("On this page")]),t._v(" "),e("ul",{staticClass:"in-page-nav__list"},t._l(t.variants,(function(n){return e("li",{key:n.id},[e("RouterLink",{staticClass:"in-page-nav__link",attrs:{to:{hash:t.dasherize(n.id)},"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(n.title)+"\n ")])],1)})),0)])]:t._e()],2):t._e()],1):t._e(),t._v(" "),t.hasProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("properties"),hidden:!t.isPropertiesActive,role:"tabpanel"}},[e("div",{staticClass:"content"},t._l(t.component.properties,(function(t,n){return e("ContentProperties",{key:n,attrs:{title:n,properties:t}})})),1)]):t._e(),t._v(" "),t.hasThemeProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("theme-properties"),hidden:!t.isThemePropertiesActive,role:"tabpanel"}},[e("ContentThemeProperties",{attrs:{title:t._f("localize")("options.theme_properties"),"theme-properties":t.component.themeProperties}})],1):t._e()]):t._e()],1),t._v(" "),e("hr",{staticClass:"sections-divider"}),t._v(" "),t.hasVariants?e("section",{staticClass:"variants"},t._l(t.variants,(function(n){return e("ComponentVariant",{key:n.id,attrs:{variant:n,component:t.component}})})),1):t._e()])}),[],!1,null,"3ac5cfd6",null).exports}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[588],{1785:function(t,e,r){r.r(e),r.d(e,{default:function(){return f}});var n=r(3225),s=r(7148),i=r(569),u=r(5311);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,n.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={threshold:.2,keys:[{name:"title",weight:.7},{name:"keywords",weight:.5}]},a={components:{ContentHeader:u.A},props:{query:{type:String,required:!0}},data:function(){return{results:[]}},computed:o(o(o({},(0,i.L8)("state",["navigation"])),(0,i.L8)("preferences",["locale"])),{},{repo:function(){var t=Object.values(this.navigation).filter((function(t){return!t.isStructural}));return new s.A(t,l)},title:function(){return this.$options.filters.localize("search.title",{query:this.query})}}),watch:{$route:"search"},created:function(){this.search()},methods:{search:function(){this.results=this.repo.search(this.query).map((function(t){return t.item})),1===this.results.length&&this.$router.replace(this.results[0])}},metaInfo:function(){return{title:this.title}}},f=(0,r(9524).A)(a,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"page"},[e("ContentHeader",{staticClass:"uie-sob-l",attrs:{title:t.title}}),t._v(" "),e("article",{staticClass:"content"},[0===t.results.length?e("p",[t._v("\n "+t._s(t._f("localize")("search.no_results"))+"\n ")]):e("ul",t._l(t.results,(function(r){return e("li",{key:r.id},[e("RouterLink",{attrs:{to:r}},[t._v("\n "+t._s(r.title)+"\n ")]),t._v("\n ("+t._s(t._f("upcaseFirstChar")(r.type))+")\n ")],1)})),0)])],1)}),[],!1,null,null,null).exports}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[711],{7435:function(e,t,r){r.r(t),r.d(t,{default:function(){return u}});var a=r(3225),i=r(569),s=r(5311),l=r(1948);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,a.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={components:{ContentHeader:s.A},data:function(){return{hljsOptions:["agate","androidstudio","arduino-light","arta","ascetic","atelier-cave-dark","atelier-cave-light","atelier-dune-dark","atelier-dune-light","atelier-estuary-dark","atelier-estuary-light","atelier-forest-dark","atelier-forest-light","atelier-heath-dark","atelier-heath-light","atelier-lakeside-dark","atelier-lakeside-light","atelier-plateau-dark","atelier-plateau-light","atelier-savanna-dark","atelier-savanna-light","atelier-seaside-dark","atelier-seaside-light","atelier-sulphurpool-dark","atelier-sulphurpool-light","atom-one-dark","atom-one-light","brown-paper","codepen-embed","color-brewer","darcula","dark","default","docco","dracula","far","foundation","github-gist","github","googlecode","grayscale","gruvbox-dark","gruvbox-light","hopscotch","hybrid","idea","ir-black","kimbie.dark","kimbie.light","magula","mono-blue","monokai-sublime","monokai","obsidian","ocean","paraiso-dark","paraiso-light","pojoaque","purebasic","qtcreator_dark","qtcreator_light","railscasts","rainbow","routeros","school-book","solarized-dark","solarized-light","sunburst","tomorrow-night-blue","tomorrow-night-bright","tomorrow-night-eighties","tomorrow-night","tomorrow","vs","vs2015","xcode","xt256","zenburn"]}},computed:n(n({},(0,i.L8)("state",["config"])),{},{locale:{get:(0,i.L8)("preferences",["locale"]).locale,set:function(e){this.setLocale(e)}},localeOptions:function(){return Object.keys(l.Y).reduce((function(e,t){var r=(l.Y[t]._meta||{}).title;return e[t]=r||t,e}),{})},previewModeOptions:function(){return{breakpoints:this.$options.filters.localize("settings.breakpoints"),viewports:this.$options.filters.localize("settings.viewports")}},previewMode:{get:(0,i.L8)("preferences",["previewMode"]).previewMode,set:function(e){this.setPreviewMode(e)}},hljs:{get:(0,i.L8)("preferences",["hljs"]).hljs,set:function(e){this.setHljs(e),this.$root.$emit("setting-hljs",e)}},title:function(){return this.$options.filters.localize("settings.title")},hasPreviewModes:function(){var e=this.config.ui;return!!(e&&e.breakpoints&&e.viewports)}}),methods:n({},(0,i.PY)("preferences",["setLocale","setPreviewMode","setHljs"])),metaInfo:function(){return{title:this.title}}},u=(0,r(9524).A)(c,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"page"},[t("ContentHeader",{staticClass:"uie-sob-l",attrs:{title:e.title}}),e._v(" "),t("article",{staticClass:"content"},[t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"locale"}},[e._v("\n "+e._s(e._f("localize")("settings.locale"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.locale,expression:"locale"}],attrs:{id:"locale-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.locale=t.target.multiple?r:r[0]}}},e._l(e.localeOptions,(function(r,a){return t("option",{key:a,domProps:{value:a,selected:e.locale===a}},[e._v("\n "+e._s(r)+"\n ")])})),0)]),e._v(" "),e.hasPreviewModes?t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"previewMode"}},[e._v("\n "+e._s(e._f("localize")("settings.preview_mode"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.previewMode,expression:"previewMode"}],attrs:{id:"previewMode-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.previewMode=t.target.multiple?r:r[0]}}},e._l(e.previewModeOptions,(function(r,a){return t("option",{key:a,domProps:{value:a,selected:e.previewMode===a}},[e._v("\n "+e._s(r)+"\n ")])})),0)]):e._e(),e._v(" "),t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"hljs"}},[e._v("\n "+e._s(e._f("localize")("settings.hljs"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.hljs,expression:"hljs"}],attrs:{id:"hljs-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.hljs=t.target.multiple?r:r[0]}}},e._l(e.hljsOptions,(function(r){return t("option",{key:r,domProps:{value:r,selected:e.hljs===r}},[e._v("\n "+e._s(e._f("titleize")(r))+"\n ")])})),0)]),e._v(" "),e._m(0)])],1)}),[function(){var e=this,t=e._self._c;return t("pre",{staticClass:"hljs",attrs:{lang:"html"}},[t("span",{staticClass:"hljs-tag"},[e._v("<"),t("span",{staticClass:"hljs-name"},[e._v("label")]),e._v(" "),t("span",{staticClass:"hljs-attr"},[e._v("for")]),e._v("="),t("span",{staticClass:"hljs-string"},[e._v('"name"')]),e._v(">")]),e._v("Name"),t("span",{staticClass:"hljs-tag"},[e._v("</"),t("span",{staticClass:"hljs-name"},[e._v("label")]),e._v(">")])])}],!1,null,"6fc520fe",null).exports}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[214],{4724:function(t,e,i){i.r(e),i.d(e,{default:function(){return _}});var n=i(3225),a=i(569),o=i(938),s=i(8165),r=i(4815),c=i(5311),p=i(8906),l=i(393),d=i(1819),f=i(1545),u=i(7453);function h(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?h(Object(i),!0).forEach((function(e){(0,n.A)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var b={components:{ContentHeader:c.A,ContentText:p.A,ContentTag:d.A,ContentProperties:l.A,ContentPreview:f.A,ContentCode:u.A},mixins:[s.A,r.A],props:{id:{type:String,required:!0}},data:function(){return{activeSectionTop:null,activeSectionBottom:null}},computed:v(v({},(0,a.L8)("state",["config","pages"])),{},{page:function(){return this.pages[this.id]},hasProperties:function(){var t=this.page.properties;return t&&Object.keys(t).length>0},hasInfo:function(){return!!this.page.content},isInfoActive:function(){return"info"===this.activeSectionTop||!this.activeSectionTop&&this.hasInfo},isPropertiesActive:function(){return"properties"===this.activeSectionTop||!this.activeSectionTop&&!this.hasInfo&&this.hasProperties},hasPreview:function(){return!(!this.page.template&&!this.page.fragment)},hasCode:function(){return!!this.page.context},href:function(){return"".concat(window.UIengine.base,"_pages/").concat(this.currentTheme.id,"/").concat(this.page.id,".html")}}),methods:{tabId:function(t){return"".concat((0,o.dasherize)(this.page.id),"-").concat(t)},isTabActive:function(t){return this.activeSectionBottom===t||!this.activeSectionBottom&&("preview"===t&&this.hasPreview||"code"===t&&!this.hasPreview&&this.hasCode)},switchTabTop:function(t){this.activeSectionTop=t,this.$refs["".concat(t,"-tab")].focus()},switchTabBottom:function(t){this.activeSectionBottom=t,this.$refs["".concat(t,"-tab")].focus()}}},_=(0,i(9524).A)(b,(function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"page"},[e("ContentHeader",{attrs:{title:t.page.title}},[t._l(t.page.tags,(function(t){return e("ContentTag",{key:t,staticClass:"uie-sob-m",attrs:{tag:t}})})),t._v(" "),e("div",{staticClass:"contentheader__right"},[t.hasInfo&&t.hasProperties?e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[e("a",{ref:"info-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("info"),"aria-selected":t.isInfoActive,tabindex:!t.isInfoActive&&"-1",role:"tab",href:"#info"},on:{click:function(e){e.preventDefault(),t.activeSectionTop="info"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTabTop("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.info"))+"\n ")]),t._v(" "),e("a",{ref:"properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("properties"),"aria-selected":t.isPropertiesActive,tabindex:!t.isPropertiesActive&&"-1",role:"tab",href:"#properties"},on:{click:function(e){e.preventDefault(),t.activeSectionTop="properties"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTabTop("info")}}},[t._v("\n "+t._s(t._f("localize")("options.properties"))+"\n ")])]):t._e()])],2),t._v(" "),t.hasInfo||t.hasProperties?e("div",{staticClass:"uie-sot-xs"},[t.hasInfo?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("info"),hidden:!t.isInfoActive,role:"tabpanel"}},[e("ContentText",{attrs:{item:t.page}})],1):t._e(),t._v(" "),t.hasProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("properties"),hidden:!t.isPropertiesActive,role:"tabpanel"}},[e("div",{staticClass:"content"},t._l(t.page.properties,(function(t,i){return e("ContentProperties",{key:i,attrs:{title:i,properties:t}})})),1)]):t._e()]):t._e(),t._v(" "),e("hr",{staticClass:"sections-divider"}),t._v(" "),e("ContentHeader",{staticClass:"uie-sob-m"},[e("div",{staticClass:"contentheader__right"},[t.hasPreview&&t.hasCode?e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[t._l(t.pluginActions,(function(i){return e("button",{key:i.title,ref:"plugin-action",refInFor:!0,staticClass:"contentheader__action",attrs:{title:i.title,"aria-label":i.title,href:"#"},on:{click:function(e){return e.preventDefault(),t.dispatchPluginEvent("click",i,e)}}},[i.icon?e("AppIcon",{attrs:{symbol:i.icon}}):e("span",[t._v("\n "+t._s(i.title)+"\n ")])],1)})),t._v(" "),t.displayAllThemes?t._e():e("a",{staticClass:"contentheader__action",attrs:{target:t._f("dasherize")(t.page.id),title:t._f("localize")("options.open_in_window"),href:t.href},on:{click:function(t){t.stopPropagation()}}},[e("AppIcon",{attrs:{symbol:"open-in-window"}})],1),t._v(" "),e("div",{staticClass:"contentheader__buttons"},[e("a",{ref:"preview-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("preview"),"aria-selected":t.isTabActive("preview"),tabindex:!t.isTabActive("preview")&&"-1",href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom="preview"}}},[t._v("\n "+t._s(t._f("localize")("options.preview"))+"\n ")]),t._v(" "),e("a",{ref:"code-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("code"),"aria-selected":t.isTabActive("code"),tabindex:!t.isTabActive("code")&&"-1",href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom="code"}}},[t._v("\n "+t._s(t._f("localize")("options.code"))+"\n ")]),t._v(" "),t._l(t.pluginTabs,(function(i){return e("a",{key:i.id,ref:"plugin-tab",refInFor:!0,staticClass:"contentheader__option",attrs:{id:t.tabId(i.id),"aria-selected":t.isTabActive(i.id),tabindex:!t.isTabActive(i.id)&&"-1","data-test-variant-tab-link":i.id,href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom=i.id}}},[t._v("\n "+t._s(i.title)+"\n ")])}))],2)],2):t._e()])])],1),t._v(" "),t.hasPreview||t.hasCode?e("div",{staticClass:"uie-sot-xl"},[t.hasPreview?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("preview"),hidden:!t.isTabActive("preview"),role:"tabpanel"}},[e("ContentPreview",{ref:"preview",attrs:{id:t.id,title:t.page.title,"path-postfix":t.page.id,"path-prefix":"_pages"}})],1):t._e(),t._v(" "),t.hasCode?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("code"),hidden:!t.isTabActive("code"),role:"tabpanel"}},[e("ContentCode",{attrs:{extension:t.page.extension,context:t.page.context,"path-postfix":t.page.id,"path-prefix":"_pages"}})],1):t._e(),t._v(" "),t._l(t.pluginTabs,(function(i){return e("div",{key:i.id,ref:"plugin-tab-content",refInFor:!0,staticClass:"contentsection content",attrs:{"aria-labelledby":t.tabId(i.id),hidden:!t.isTabActive(i.id),role:"tabpanel"}},[t._v("\n "+t._s(i.id)+"\n ")])}))],2):t._e()])}),[],!1,null,"0e8f8c65",null).exports}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[542],{7411:function(e,t,r){r.r(t),r.d(t,{default:function(){return l}});var n=r(3225),i=r(569),s=r(5311),a=r(8906),o=r(1819),c=r(3533);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p={components:{ContentHeader:s.A,ContentText:a.A,ContentTag:o.A},mixins:[c.A],props:{id:{type:String,required:!0}},computed:f(f(f({},(0,i.L8)("state",["config","pages"])),(0,i.L8)("preferences",["currentTheme"])),{},{page:function(){return this.pages[this.id]},iframeSrc:function(){return"".concat(window.UIengine.base,"_tokens/").concat(this.currentTheme.id,"/").concat(this.page.id,".html")}}),mounted:function(){this.mountResizableIframe(this.$refs.iframe)},beforeDestroy:function(){this.unmountResizableIframe(this.$refs.iframe)}},l=(0,r(9524).A)(p,(function(){var e=this,t=e._self._c;return t("div",[t("section",{staticClass:"page"},[t("ContentHeader",{attrs:{title:e.page.title}},e._l(e.page.tags,(function(e){return t("ContentTag",{key:e,staticClass:"uie-sob-m",attrs:{tag:e}})})),1),e._v(" "),t("ContentText",{staticClass:"uie-sot-xs uie-sob-xxxl",attrs:{item:e.page}})],1),e._v(" "),t("hr",{staticClass:"sections-divider"}),e._v(" "),t("iframe",{ref:"iframe",attrs:{src:e.iframeSrc,title:e.page.title,frameborder:"0",scrolling:"no","data-test-tokens-iframe":""}})])}),[],!1,null,"06a66f48",null).exports}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[876],{8122:function(){}},function(n){var u;u=8122,n(n.s=u)}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[792],{2364:function(t){t.exports=function(t,e,n){var r=e.split(".").reduce((function(t,e){return t&&t[e]}),t);return r&&n?r.replace(/%\{(.+?)\}/g,(function(t,r){var i=n[r];return i||(console.warn("[UIengine]",'Missing interpolation "'.concat(r,'" for key "').concat(e,'"!')),"[".concat(r,"]"))})):r||(console.warn("[UIengine]",'Missing localization for key "'.concat(e,'"!')),"[".concat(e,"]"))}},1136:function(t,e,n){"use strict";var r=n(7754),i=n(6717),o=n(3433),a=n.n(o),s=n(1062),c=n.n(s),l=n(8821),u=n(3225),p=n(569);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v={mixins:[n(4815).A],data:function(){return{query:"",isThemesActive:!1}},computed:d(d({},(0,p.L8)("state",["navigation"])),(0,p.L8)("preferences",["locale","navigationCollapsed","searchCollapsed"])),created:function(){var t=this;this.$root.$on("modal-close",(function(){t.isThemesActive=!1}))},methods:d(d({},(0,p.PY)("preferences",["setNavigationCollapsed","setSearchCollapsed","setCurrentTheme"])),{},{search:function(){var t=this.query.trim();t.length&&this.$router.push({name:"search",params:{query:t}})},setCurrentThemeAll:function(){this.setCurrentTheme({id:"_all",title:this.$options.filters.localize("options.all_themes")})},toggleSearch:function(){var t=this;this.setSearchCollapsed(!this.searchCollapsed),this.searchCollapsed||window.requestAnimationFrame((function(){t.$refs.searchfield.focus()}))}})},h=n(9524),g=(0,h.A)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"topbar"},[e("button",{staticClass:"topbar__toggle topbar__toggle--menu",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(!t.navigationCollapsed),type:"button","aria-controls":"navigation-root","data-test-navtoggle":""},on:{click:function(e){return e.preventDefault(),t.setNavigationCollapsed(!t.navigationCollapsed)}}},[e("AppIcon",{staticClass:"topbar__icon",attrs:{symbol:"burger"}})],1),t._v(" "),e("form",{staticClass:"topbar__search",class:{"topbar__search--collapsed":t.searchCollapsed},on:{submit:function(e){return e.preventDefault(),t.search.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchfield",staticClass:"topbar__searchfield",attrs:{type:"search",placeholder:"Search",name:"query","aria-label":t._f("localize")("search.label"),"data-test-searchfield":""},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}})]),t._v(" "),t.themes&&t.themes.length>1?e("div",{staticClass:"topbar__theme",attrs:{"data-test-theme-switch":""}},[e("button",{staticClass:"topbar__theme-toggle",attrs:{title:t._f("localize")("options.toggle"),"aria-expanded":t._f("bool2string")(t.isThemesActive),type:"button","data-test-theme-switch-current":""},on:{click:function(e){e.stopPropagation(),t.isThemesActive=!t.isThemesActive}}},[t._v("\n "+t._s(t.currentTheme.title)+"\n\n "),e("AppIcon",{staticClass:"topbar__theme-toggle-icon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{staticClass:"topbar__theme-options",class:{"topbar__theme-options--active":t.isThemesActive}},[e("div",{staticClass:"topbar__theme-options-inner"},[t._l(t.themes,(function(n){return e("button",{key:n.id,staticClass:"topbar__theme-option",attrs:{type:"button","aria-selected":t.currentTheme.id===n.id,"data-test-theme-switch-id":n.id},on:{click:function(e){return t.setCurrentTheme(n)}}},[t._v("\n "+t._s(n.title)+"\n ")])})),t._v(" "),e("button",{staticClass:"topbar__theme-option topbar__theme-option--all",attrs:{type:"button","aria-selected":t.displayAllThemes,"data-test-theme-switch-all":""},on:{click:function(e){return t.setCurrentThemeAll()}}},[t._v("\n "+t._s(t._f("localize")("options.all_themes"))+"\n ")])],2)])]):t._e(),t._v(" "),e("button",{staticClass:"topbar__toggle topbar__toggle--search",attrs:{title:t._f("localize")("search.toggle"),type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleSearch.apply(null,arguments)}}},[e("AppIcon",{staticClass:"topbar__icon",attrs:{symbol:"search"}})],1)])}),[],!1,null,"0778ce28",null),m=g.exports;function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var b={computed:y(y({},(0,p.L8)("state",["config","navigation"])),(0,p.L8)("preferences",["locale","navigationCollapsed"]))},O=(0,h.A)(b,(function(){var t=this,e=t._self._c;return t.navigation?e("nav",{staticClass:"navigation",attrs:{id:"navigation",hidden:t.navigationCollapsed,"data-test-navigation":""}},[e("RouterLink",{staticClass:"navigation__project-details",attrs:{to:t.navigation.index,"active-class":"","exact-active-class":""}},[t.config.logo?e("img",{staticClass:"navigation__project-logo",attrs:{src:t.config.logo}}):t._e(),t._v(" "),e("h1",{staticClass:"navigation__project-name"},[t._v("\n "+t._s(t.config.name)+"\n ")])]),t._v(" "),t.navigation.index.childIds?e("AppNavigationTree",{attrs:{id:"navigation-root",items:t.navigation.index.childIds,navigation:t.navigation,level:0}}):t._e()],1):t._e()}),[],!1,null,"6937a9e1",null).exports;function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w={computed:A(A(A({},(0,p.L8)("state",["config","navigation"])),(0,p.L8)("preferences",["locale"])),{},{lastUpdate:function(){return new Date(this.config.update).toLocaleString(this.locale)},navItem:function(){var t=this.$route.meta.navItemId;return this.navigation[t]},prevPage:function(){return this.findPrevPage(this.$route.meta.navItemId,!0)},nextPage:function(){return this.findNextPage(this.$route.meta.navItemId,!0)}}),methods:{findPrevPage:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t){var r=this.navigation[t];if(r){var i=r.childIds,o=r.prevSiblingId,a=r.parentId;return!n&&i?this.findPrevPage(i[i.length-1],!1,!1):e||r.isStructural?o?this.findPrevPage(o,!1,!1):a?this.findPrevPage(a,!1,!0):void 0:r}}},findNextPage:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t){var r=this.navigation[t];if(r){var i=r.childIds,o=r.nextSiblingId,a=r.parentId;return e||r.isStructural?!n&&i?this.findNextPage(i[0]):o?this.findNextPage(o):a?this.findNextPage(a,!0,!0):void 0:r}}}}},j=w,P=n(747),I=n.n(P),k=(0,h.A)(j,(function(){var t=this,e=t._self._c;return e("footer",{staticClass:"footer"},[t.prevPage||t.nextPage?e("p",{staticClass:"footer__nav"},[t.prevPage?e("RouterLink",{staticClass:"footer__prevlink",attrs:{to:t.prevPage,"data-test-footer-prevlink":""}},[e("AppIcon",{attrs:{symbol:"caret-left"}}),t._v("\n "+t._s(t.prevPage.title)+"\n ")],1):t._e(),t._v(" "),t.nextPage?e("RouterLink",{staticClass:"footer__nextlink",attrs:{to:t.nextPage,"data-test-footer-nextlink":""}},[t._v("\n "+t._s(t.nextPage.title)+"\n "),e("AppIcon",{attrs:{symbol:"caret-right"}})],1):t._e()],1):t._e(),t._v(" "),e("div",[t.config.copyright?e("p",{staticClass:"footer__copyright",attrs:{"data-test-footer-copyright":""},domProps:{innerHTML:t._s(t.config.copyright)}}):t._e(),t._v(" "),t.config.version?e("p",{staticClass:"footer__version",attrs:{"data-test-footer-version":""}},[t._v("\n "+t._s(t._f("localize")("footer.version"))+" "+t._s(t.config.version)+" –\n "+t._s(t._f("localize")("footer.last_update"))+" "+t._s(t.lastUpdate)+".\n ")]):t._e()])])}),[],!1,null,"cdcd25a2",null);"function"==typeof I()&&I()(k);var T=k.exports,x={computed:(0,p.L8)("state",["navigation"]),metaInfo:function(){var t=this.$route.meta,e=t.navItemId,n=t.navItemTitle,r=this.navigation[e];return{title:r?r.title:n}}},S=(0,h.A)(x,(function(){var t=this._self._c;return t("main",{staticClass:"main"},[t("RouterView")],1)}),[],!1,null,null,null).exports;function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var N=document.documentElement,q=document.getElementById("hljs"),M=q.getAttribute("data-tmpl"),$={components:{AppTopbar:m,AppNavigation:O,AppFooter:T,AppMain:S},computed:L(L({},(0,p.L8)("preferences",["currentTheme"])),{},{themeId:function(){return this.currentTheme&&this.currentTheme.id}}),created:function(){var t=this;this.$root.$on("setting-hljs",this.setHljs),this.$store.watch((function(){return t.$store.getters["preferences/currentTheme"]}),this.setCurrentTheme);var e=this.$store.getters["preferences/hljs"];e&&this.setHljs(e),this.setCurrentTheme(this.currentTheme)},methods:{closeModals:function(){this.$root.$emit("modal-close")},setHljs:function(t){q.setAttribute("href",M.replace("%s",t))},setCurrentTheme:function(t){N.setAttribute("data-theme",t.id)}},metaInfo:function(){var t=this.$store.getters["state/config"],e=t?t.name:"";return t&&t.version&&(e+=" (".concat(t.version,")")),{titleTemplate:function(t){return t?"".concat(t," • ").concat(e):e}}}},E=(0,h.A)($,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"layout",attrs:{id:"app"},on:{click:t.closeModals}},[e("AppTopbar"),t._v(" "),e("AppNavigation"),t._v(" "),e("AppMain"),t._v(" "),e("AppFooter")],1)}),[],!1,null,null,null).exports,z=n(907),U=n(7186),F=n(938);r.Ay.use(z.Ay);var H=function(t){if("documentation"===t)return U.default;var e=(0,F.upcaseFirstChar)(t);return function(){return n(4357)("./Main"+e)}},R=window.UIengine.state.config.ui,B=R.base,K=R.mode,Y=new z.Ay({mode:K||"history",base:B||"/",scrollBehavior:function(t,e,n){return t.hash?{selector:t.hash}:n||{x:0,y:0}},routes:[{name:"search",path:"/_search/:query",props:!0,component:H("search"),meta:{navItemId:"_search"}},{name:"settings",path:"/_settings/",component:H("settings"),meta:{navItemId:"_settings"}},{path:"*",component:H("notFound")}]}),V=Y,W=function(t){var e=Object.keys(t).map((function(e){var n=t[e];return{path:n.path,component:H(n.type),meta:{navItemId:n.id,navItemTitle:n.title},props:{id:n.itemId}}}));Y.addRoutes(e)};W(window.UIengine.state.navigation);var J=function(t){var e,n,r=t.navigation;return n="Settings",r[e="settings"]={id:e,itemId:e,parentId:"index",path:"/_".concat(e,"/"),type:e,localizedTitleKey:"".concat(e,".title"),title:n},r.index.childIds.push(e),t},G={setState:function(t,e){for(var n in e=J(e))t[n]=e[n];var r=e.navigation;r&&W(r)}},Q={namespaced:!0,state:J(window.UIengine.state),getters:{pages:function(t){return t.pages},config:function(t){return t.config},plugins:function(t){return t.plugins},components:function(t){return t.components},navigation:function(t){return t.navigation}},mutations:G,actions:{}},X=n(8503),Z=window.UIengine.state.config,tt=Z.ui,et=Z.themes,nt={hljs:document.getElementById("hljs").getAttribute("data-default"),locale:document.documentElement.getAttribute("lang"),currentTheme:et&&et[0],navigationCollapsed:!1,navigationItemsCollapsed:{},searchCollapsed:!0,previewWidths:{},previewMode:tt&&tt.defaultPreviewMode||"breakpoints"},rt=Object.keys(nt).reduce((function(t,e){var n=nt[e];return t[e]=function(t,e){var n=window.sessionStorage.getItem("uiengine/".concat(t));return n?JSON.parse(n):e}(e,n),t}),{}),it=Object.keys(nt).reduce((function(t,e){return t[e]=function(t){return t[e]},t}),{}),ot=Object.keys(nt).reduce((function(t,e){var n=(0,F.upcaseFirstChar)(e);return t["set".concat(n)]=function(t,n){!function(t,e){e||"boolean"==typeof e?window.sessionStorage.setItem("uiengine/".concat(t),JSON.stringify(e)):window.sessionStorage.removeItem("uiengine/".concat(t))}(e,n),t[e]=function(t){return"object"===(0,X.A)(t)?t instanceof Array?t:Object.assign({},t):t}(n)},t}),{}),at={namespaced:!0,state:rt,getters:it,mutations:ot,actions:{}};r.Ay.use(p.Ay);var st={state:Q,preferences:at},ct=new p.Ay.Store({modules:st}),lt=n(2364),ut=n.n(lt),pt=n(1948);r.Ay.filter("dasherize",F.dasherize),r.Ay.filter("upcaseFirstChar",F.upcaseFirstChar),r.Ay.filter("titleize",F.titleize),r.Ay.filter("bool2string",(function(t){return t?"true":"false"})),r.Ay.filter("localize",(function(t,e){var n=ct.getters["preferences/locale"],r=pt.Y[n];return ut()(r,t,e)}));var ft={props:{title:{type:String,default:""},symbol:{type:String,required:!0}},computed:{symbolHref:function(){return"#".concat(this.symbol)}}},dt=(0,h.A)(ft,(function(){var t=this,e=t._self._c;return e("svg",{staticClass:"icon",attrs:{title:t.title,role:"presentation","aria-hidden":"true",focusable:"false"}},[e("use",{attrs:{"xlink:href":t.symbolHref}})])}),[],!1,null,"498522e7",null).exports,vt={props:{navigation:{type:Object,required:!0},items:{type:Array,required:!0},level:{type:Number,required:!0}},computed:{levelClass:function(){return"navigation__tree--level-".concat(this.level)},navigationItems:function(){var t=this;return this.items.filter((function(e){return void 0!==t.navigation[e]}))}}},ht=(0,h.A)(vt,(function(){var t=this,e=t._self._c;return e("ul",{staticClass:"navigation__tree",class:t.levelClass},[t._l(t.navigationItems,(function(n){return e("AppNavigationItem",{key:n,attrs:{navigation:t.navigation,item:t.navigation[n],level:t.level}})})),t._v(" "),t._t("default")],2)}),[],!1,null,"e330ca40",null).exports;function gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _t={props:{navigation:{type:Object,required:!0},item:{type:Object,required:!0},level:{type:Number,required:!0}},computed:mt(mt({},(0,p.L8)("preferences",["navigationItemsCollapsed"])),{},{children:function(){return this.item.childIds},isCurrentPage:function(){return this.$route.path===this.item.path},isCollapsed:function(){return void 0!==this.navigationItemsCollapsed[this.item.id]?this.navigationItemsCollapsed[this.item.id]:this.item.collapsed||!1},title:function(){var t=this.item,e=t.title,n=t.localizedTitleKey;return n?this.$options.filters.localize(n):e},classes:function(){var t=["navigation__item--level-".concat(this.level)];return this.children&&t.push("navigation__item--children"),this.isCollapsed&&t.push("navigation__item--collapsed"),this.isCurrentPage&&t.push("navigation__item--current"),t}}),methods:mt(mt({},(0,p.PY)("preferences",["setNavigationItemsCollapsed"])),{},{setCollapsed:function(t){var e=this.navigationItemsCollapsed;e[this.item.id]=t,this.setNavigationItemsCollapsed(e),t||this.$refs.children.$el.querySelector("a.navigation__link").focus()}})},yt=(0,h.A)(_t,(function(){var t=this,e=t._self._c;return e("li",{staticClass:"navigation__item",class:t.classes,attrs:{"data-test-navitem-id":t.item.id}},[t.item.isStructural?e("span",{staticClass:"navigation__link"},[t._v("\n "+t._s(t.title)+"\n ")]):e("RouterLink",{staticClass:"navigation__link",attrs:{to:t.item}},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.children?e("button",{staticClass:"navigation__itemtoggle",attrs:{"aria-expanded":t._f("bool2string")(!t.isCollapsed),title:t._f("localize")("navigation.toggle"),type:"button","aria-haspopup":"true"},on:{click:function(e){return e.preventDefault(),t.setCollapsed(!t.isCollapsed)}}},[e("AppIcon",{staticClass:"navigation__icon",attrs:{symbol:"caret-down"}})],1):t._e(),t._v(" "),t.children?e("AppNavigationTree",{ref:"children",attrs:{navigation:t.navigation,items:t.children,level:t.level+1,"data-test-navtree-id":t.item.id}}):t._e()],1)}),[],!1,null,"0325e07b",null).exports,bt=n(9479);r.Ay.component("AppIcon",dt),r.Ay.component("AppNavigationTree",ht),r.Ay.component("AppNavigationItem",yt),r.Ay.component("ContentProperty",bt.A);var Ot=(window.UIengine.state.config.ui||{}).analyticsId;if(n.p=window.UIengine.base,r.Ay.config.productionTip=!1,r.Ay.use(i.A),Ot&&r.Ay.use(a(),{id:Ot,router:V,autoTracking:{exception:!0,exceptionLogs:!1},debug:{sendHitTask:!0}}),new r.Ay({el:"#app",router:V,store:ct,components:{App:E},mounted:function(){this.$nextTick((function(){(0,l.A)({observeChanges:!0,observeRootSelector:"main.main"})}))},template:"<App/>"}),new(c())("[data-clipboard-text]").on("error",(function(t){console.error("[UIengine]","Clipboard error:",t)})),document.getElementById("__bs_script__")){var Ct=0,At=function(){var t=(window.___browserSync___||{}).socket;t?(t.on("uiengine:state:update",(function(t){ct.commit("state/setState",t)})),console.debug("[UIengine]","Connection to browser-sync socket established.")):Ct<=10?(setTimeout(At,100),Ct++):console.warn("[UIengine]","Could not connect to browser-sync socket.")};At()}},6222:function(t,e){"use strict";e.A={methods:{findFileLink:function(t){var e=!!window.___browserSync___,n=t.readmeFile,r=t.sourceFile,i=t.sourcePath,o=n||r||i;if(e){var a=this.config.source.base;return"vscode://file/".concat(a,"/").concat(o)}var s=this.config.ui.repoBaseUrl;return s?"".concat(s).concat(o):null}}}},4815:function(t,e,n){"use strict";var r=n(3225),i=n(569);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e.A={computed:a(a(a({},(0,i.L8)("state",["config"])),(0,i.L8)("preferences",["currentTheme"])),{},{displayAllThemes:function(){return"_all"===this.currentTheme.id},displayedThemes:function(){return this.displayAllThemes?this.themes:[this.currentTheme]},themes:function(){return this.config.themes}})}},1948:function(t,e,n){"use strict";n.d(e,{Y:function(){return l}});var r=n(9664),i=n.n(r),o=window.UIengine,a=o.state.config.ui,s=o.locales,c=a&&a.locales?a.locales:{},l=i()(s,c)},5311:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r={components:{ContentHeading:n(281).A},props:{title:{type:String,default:null},level:{type:Number,default:1}}},i=(0,n(9524).A)(r,(function(){var t=this,e=t._self._c;return e("header",{staticClass:"contentheader"},[t.title?e("ContentHeading",[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,"2c89ecfc",null).exports},281:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r={props:{level:{type:Number,default:1}},render:function(t){return t("h".concat(this.level),{class:"contentheader__title"},this.$slots.default)}},i=(0,n(9524).A)(r,undefined,undefined,!1,null,null,null).exports},9479:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r={props:{id:{type:String,required:!0},property:{type:Object,required:!0},displayDescription:{type:Boolean,required:!0}},computed:{propertyType:function(){var t=this.property,e=t.value,n=t.type;return["Array","Object"].includes(n)&&e?"".concat(this.property.type,"[").concat(e.type||e,"]"):this.property.type},description:function(){return this.property.description},required:function(){return this.property.required?"*":""},defaultValue:function(){return this.property.default}}},i=(0,n(9524).A)(r,(function(){var t=this,e=t._self._c;return e("tr",[e("td",{staticClass:"property__name"},[t._v("\n "+t._s(t.id)+"\n ")]),t._v(" "),e("td",{staticClass:"property__type"},[t._v("\n "+t._s(t.propertyType)+"\n ")]),t._v(" "),t.displayDescription?e("td",{staticClass:"property__description"},[t._v("\n "+t._s(t.description)+"\n ")]):t._e(),t._v(" "),e("td",{staticClass:"property__required"},[t._v("\n "+t._s(t.required)+"\n ")]),t._v(" "),e("td",{staticClass:"property__default"},[t._v("\n "+t._s(t.defaultValue)+"\n ")])])}),[],!1,null,"d4d827e4",null).exports},1819:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r={props:{tag:{type:String,required:!0}},computed:{target:function(){return{name:"search",params:{query:this.tag}}}}},i=(0,n(9524).A)(r,(function(){var t=this;return(0,t._self._c)("RouterLink",{staticClass:"tag",attrs:{to:t.target}},[t._v("\n "+t._s(t.tag)+"\n")])}),[],!1,null,"372e3e56",null).exports},8906:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=/^<h1.*?>.*<\/h1>/,i={props:{item:{type:Object,default:null}},computed:{renderedContent:function(){var t=this.item,e=t.content,n=t.isTitleFromHeading;return e?n?e.replace(r,"").trim():e:null}},methods:{handleLinkClicks:function(t){for(var e=t.target;e&&"A"!==e.tagName;)e=e.parentNode;if(e&&e.matches(".content a:not([href*='://'])")&&e.href){var n=t.altKey,r=t.ctrlKey,i=t.metaKey,o=t.shiftKey,a=t.button,s=t.defaultPrevented;if(i||n||r||o)return;if(s)return;if(void 0!==a&&0!==a)return;if(e&&e.getAttribute){var c=e.getAttribute("target");if(/\b_blank\b/i.test(c))return}var l=window.UIengine.state.config.ui.base,u=new RegExp("^".concat(l)),p=new URL(e.href).pathname,f=window.location.pathname,d=p.replace(u,"/"),v=f.replace(u,"/");void 0!==this.$router.resolve(d).resolved.meta.navItemId&&!(v===d)&&t.preventDefault&&(t.preventDefault(),this.$router.push(d))}}}},o=(0,n(9524).A)(i,(function(){var t=this,e=t._self._c;return t.item.content?e("article",{staticClass:"content",domProps:{innerHTML:t._s(t.renderedContent)},on:{click:t.handleLinkClicks}}):t._e()}),[],!1,null,null,null).exports},7186:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});var r=n(3225),i=n(569),o=n(6222),a=n(5311),s=n(8906),c=n(1819);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var p={components:{ContentHeader:a.A,ContentText:s.A,ContentTag:c.A},mixins:[o.A],props:{id:{type:String,required:!0}},computed:u(u({},(0,i.L8)("state",["pages","config"])),{},{page:function(){return this.pages[this.id]},fileLink:function(){return this.findFileLink(this.page)}})},f=(0,n(9524).A)(p,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"page"},[e("ContentHeader",{attrs:{title:t.page.title}},[t._l(t.page.tags,(function(t){return e("ContentTag",{key:t,staticClass:"uie-sob-m",attrs:{tag:t}})})),t._v(" "),t.fileLink?e("div",{staticClass:"contentheader__options"},[e("a",{staticClass:"contentheader__action",attrs:{href:t.fileLink,"aria-label":t._f("localize")("options.edit")}},[e("AppIcon",{attrs:{symbol:"pencil"}})],1)]):t._e()],2),t._v(" "),e("ContentText",{attrs:{item:t.page}})],1)}),[],!1,null,null,null).exports},747:function(){},4357:function(t,e,n){var r={"./MainComponent":[6517,130,661,533,313,813],"./MainComponent.vue":[6517,130,661,533,313,813],"./MainDocumentation":[7186],"./MainDocumentation.vue":[7186],"./MainNotFound":[3347,785],"./MainNotFound.vue":[3347,785],"./MainSearch":[1785,130,588],"./MainSearch.vue":[1785,130,588],"./MainSettings":[7435,711],"./MainSettings.vue":[7435,711],"./MainTemplate":[4724,130,661,533,313,214],"./MainTemplate.vue":[4724,130,661,533,313,214],"./MainTokens":[7411,130,533,542],"./MainTokens.vue":[7411,130,533,542]};function i(t){if(!n.o(r,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=r[t],i=e[0];return Promise.all(e.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(r)},i.id=4357,t.exports=i},938:function(t,e,n){const r=n(7084),i=/^<h1.*?>(.*?)<\/h1>/;t.exports={crossPlatformPath:t=>t.replace(/\\/g,"/"),dasherize:t=>String(t).replace(/\W+/gi,"-"),titleize:t=>t.split(/\W+/gi).map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(" "),upcaseFirstChar:t=>t.charAt(0).toUpperCase()+t.slice(1),lowercaseFirstChar:t=>t.charAt(0).toLowerCase()+t.slice(1),hasContent:t=>!!t&&t.replace(i,"").trim().length>0,replaceTemplateComments:(t,e)=>Object.keys(e).reduce(((t,n)=>{const r=new RegExp(`\x3c!--\\s?uiengine:${n}\\s?--\x3e`,"gi"),i=e[n];return t.replace(r,i||"")}),t),titleFromContentHeading:t=>{const[,e]=t&&t.match(i)||[];return e&&r(e,"all")}}}},function(t){t.O(0,[792],(function(){[130,661,533,313,813,785,588,711,214,542].map(t.E)}),5);t.O(0,[130,220],(function(){return e=1136,t(t.s=e);var e}));t.O()}]);
@@ -1 +1 @@
1
- !function(){"use strict";var e,n,t,r={},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var t=o[e]={exports:{}};return r[e].call(t.exports,t,t.exports,i),t.exports}i.m=r,e=[],i.O=function(n,t,r,o){if(!t){var u=1/0;for(l=0;l<e.length;l++){t=e[l][0],r=e[l][1],o=e[l][2];for(var a=!0,c=0;c<t.length;c++)(!1&o||u>=o)&&Object.keys(i.O).every((function(e){return i.O[e](t[c])}))?t.splice(c--,1):(a=!1,o<u&&(u=o));if(a){e.splice(l--,1);var f=r();void 0!==f&&(n=f)}}return n}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[t,r,o]},i.F={},i.E=function(e){Object.keys(i.F).map((function(n){i.F[n](e)}))},i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,{a:n}),n},i.d=function(e,n){for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(n,t){return i.f[t](e,n),n}),[]))},i.u=function(e){return"_assets/scripts/"+({130:"vendor_other",214:"MainTemplate",542:"MainTokens",588:"MainSearch",661:"vendor_hljs",711:"MainSettings",785:"MainNotFound",813:"MainComponent"}[e]||e)+"."+{130:"d0ce12e",214:"b7c62d7",313:"a59adb1",533:"8bca62f",542:"24ba55d",588:"359f66b",661:"6804ea6",711:"20f5a61",785:"2760d48",813:"7782a0b"}[e]+".js"},i.miniCssF=function(e){return"_assets/styles/"+({214:"MainTemplate",542:"MainTokens",711:"MainSettings",813:"MainComponent"}[e]||e)+"."+{214:"9c622f9",313:"1ca9700",542:"bf70333",711:"eee5006",813:"ff3bbb4"}[e]+".css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n={},t="@uiengine/ui:",i.l=function(e,r,o,u){if(n[e])n[e].push(r);else{var a,c;if(void 0!==o)for(var f=document.getElementsByTagName("script"),l=0;l<f.length;l++){var s=f[l];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")==t+o){a=s;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.setAttribute("data-webpack",t+o),a.src=e),n[e]=[r];var d=function(t,r){a.onerror=a.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(e){return e(r)})),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/",function(){if("undefined"!=typeof document){var e=function(e){return new Promise((function(n,t){var r=i.miniCssF(e),o=i.p+r;if(function(e,n){for(var t=document.getElementsByTagName("link"),r=0;r<t.length;r++){var o=(u=t[r]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(o===e||o===n))return u}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var u;if((o=(u=i[r]).getAttribute("data-href"))===e||o===n)return u}}(r,o))return n();!function(e,n,t,r,o){var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",i.nc&&(u.nonce=i.nc),u.onerror=u.onload=function(t){if(u.onerror=u.onload=null,"load"===t.type)r();else{var i=t&&t.type,a=t&&t.target&&t.target.href||n,c=new Error("Loading CSS chunk "+e+" failed.\n("+i+": "+a+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=a,u.parentNode&&u.parentNode.removeChild(u),o(c)}},u.href=n,t?t.parentNode.insertBefore(u,t.nextSibling):document.head.appendChild(u)}(e,o,null,n,t)}))},n={121:0};i.f.miniCss=function(t,r){n[t]?r.push(n[t]):0!==n[t]&&{214:1,313:1,542:1,711:1,813:1}[t]&&r.push(n[t]=e(t).then((function(){n[t]=0}),(function(e){throw delete n[t],e})))},i.F.miniCss=function(e){if((!i.o(n,e)||void 0===n[e])&&/^([38]13|214|542|711|792|876)$/.test(e)){n[e]=null;var t=document.createElement("link");i.nc&&t.setAttribute("nonce",i.nc),t.rel="prefetch",t.as="style",t.href=i.p+i.miniCssF(e),document.head.appendChild(t)}}}}(),function(){var e={121:0};i.f.j=function(n,t){var r=i.o(e,n)?e[n]:void 0;if(0!==r)if(r)t.push(r[2]);else if(121!=n){var o=new Promise((function(t,o){r=e[n]=[t,o]}));t.push(r[2]=o);var u=i.p+i.u(n),a=new Error;i.l(u,(function(t){if(i.o(e,n)&&(0!==(r=e[n])&&(e[n]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;a.message="Loading chunk "+n+" failed.\n("+o+": "+u+")",a.name="ChunkLoadError",a.type=o,a.request=u,r[1](a)}}),"chunk-"+n,n)}else e[n]=0},i.F.j=function(n){if((!i.o(e,n)||void 0===e[n])&&121!=n){e[n]=null;var t=document.createElement("link");i.nc&&t.setAttribute("nonce",i.nc),t.rel="prefetch",t.as="script",t.href=i.p+i.u(n),document.head.appendChild(t)}},i.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,o,u=t[0],a=t[1],c=t[2],f=0;if(u.some((function(n){return 0!==e[n]}))){for(r in a)i.o(a,r)&&(i.m[r]=a[r]);if(c)var l=c(i)}for(n&&n(t);f<u.length;f++)o=u[f],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(l)},t=self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}()}();
1
+ !function(){"use strict";var e,n,t,r={},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var t=o[e]={exports:{}};return r[e].call(t.exports,t,t.exports,i),t.exports}i.m=r,e=[],i.O=function(n,t,r,o){if(!t){var u=1/0;for(l=0;l<e.length;l++){t=e[l][0],r=e[l][1],o=e[l][2];for(var a=!0,c=0;c<t.length;c++)(!1&o||u>=o)&&Object.keys(i.O).every((function(e){return i.O[e](t[c])}))?t.splice(c--,1):(a=!1,o<u&&(u=o));if(a){e.splice(l--,1);var f=r();void 0!==f&&(n=f)}}return n}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[t,r,o]},i.F={},i.E=function(e){Object.keys(i.F).map((function(n){i.F[n](e)}))},i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,{a:n}),n},i.d=function(e,n){for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(n,t){return i.f[t](e,n),n}),[]))},i.u=function(e){return"_assets/scripts/"+({130:"vendor_other",214:"MainTemplate",542:"MainTokens",588:"MainSearch",661:"vendor_hljs",711:"MainSettings",785:"MainNotFound",813:"MainComponent"}[e]||e)+"."+{130:"91011de",214:"3dbe454",313:"567bb4a",533:"8bca62f",542:"681bda2",588:"46d30b4",661:"6804ea6",711:"57faa2f",785:"2760d48",813:"6a7d4f8"}[e]+".js"},i.miniCssF=function(e){return"_assets/styles/"+({214:"MainTemplate",542:"MainTokens",711:"MainSettings",813:"MainComponent"}[e]||e)+"."+{214:"9c622f9",313:"1ca9700",542:"bf70333",711:"eee5006",813:"ff3bbb4"}[e]+".css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n={},t="@uiengine/ui:",i.l=function(e,r,o,u){if(n[e])n[e].push(r);else{var a,c;if(void 0!==o)for(var f=document.getElementsByTagName("script"),l=0;l<f.length;l++){var s=f[l];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")==t+o){a=s;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.setAttribute("data-webpack",t+o),a.src=e),n[e]=[r];var d=function(t,r){a.onerror=a.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(e){return e(r)})),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/",function(){if("undefined"!=typeof document){var e=function(e){return new Promise((function(n,t){var r=i.miniCssF(e),o=i.p+r;if(function(e,n){for(var t=document.getElementsByTagName("link"),r=0;r<t.length;r++){var o=(u=t[r]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(o===e||o===n))return u}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var u;if((o=(u=i[r]).getAttribute("data-href"))===e||o===n)return u}}(r,o))return n();!function(e,n,t,r,o){var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",i.nc&&(u.nonce=i.nc),u.onerror=u.onload=function(t){if(u.onerror=u.onload=null,"load"===t.type)r();else{var i=t&&t.type,a=t&&t.target&&t.target.href||n,c=new Error("Loading CSS chunk "+e+" failed.\n("+i+": "+a+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=a,u.parentNode&&u.parentNode.removeChild(u),o(c)}},u.href=n,t?t.parentNode.insertBefore(u,t.nextSibling):document.head.appendChild(u)}(e,o,null,n,t)}))},n={121:0};i.f.miniCss=function(t,r){n[t]?r.push(n[t]):0!==n[t]&&{214:1,313:1,542:1,711:1,813:1}[t]&&r.push(n[t]=e(t).then((function(){n[t]=0}),(function(e){throw delete n[t],e})))},i.F.miniCss=function(e){if((!i.o(n,e)||void 0===n[e])&&/^([38]13|214|542|711|792|876)$/.test(e)){n[e]=null;var t=document.createElement("link");i.nc&&t.setAttribute("nonce",i.nc),t.rel="prefetch",t.as="style",t.href=i.p+i.miniCssF(e),document.head.appendChild(t)}}}}(),function(){var e={121:0};i.f.j=function(n,t){var r=i.o(e,n)?e[n]:void 0;if(0!==r)if(r)t.push(r[2]);else if(121!=n){var o=new Promise((function(t,o){r=e[n]=[t,o]}));t.push(r[2]=o);var u=i.p+i.u(n),a=new Error;i.l(u,(function(t){if(i.o(e,n)&&(0!==(r=e[n])&&(e[n]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;a.message="Loading chunk "+n+" failed.\n("+o+": "+u+")",a.name="ChunkLoadError",a.type=o,a.request=u,r[1](a)}}),"chunk-"+n,n)}else e[n]=0},i.F.j=function(n){if((!i.o(e,n)||void 0===e[n])&&121!=n){e[n]=null;var t=document.createElement("link");i.nc&&t.setAttribute("nonce",i.nc),t.rel="prefetch",t.as="script",t.href=i.p+i.u(n),document.head.appendChild(t)}},i.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,o,u=t[0],a=t[1],c=t[2],f=0;if(u.some((function(n){return 0!==e[n]}))){for(r in a)i.o(a,r)&&(i.m[r]=a[r]);if(c)var l=c(i)}for(n&&n(t);f<u.length;f++)o=u[f],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(l)},t=self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}()}();
@@ -1,2 +1,2 @@
1
- /*! For license information please see vendor_other.d0ce12e.js.LICENSE.txt */
2
- (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[130],{1062:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return M}});var r=n(279),o=n.n(r),i=n(370),a=n.n(i),c=n(817),s=n.n(c);function u(e){try{return document.execCommand(e)}catch(e){return!1}}var l=function(e){var t=s()(e);return u("cut"),t},f=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=s()(n);return u("copy"),n.remove(),r},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=f(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=f(e.value,t):(n=s()(e),u("copy")),n};function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==h(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?d(i,{container:r}):o?"cut"===n?l(o):d(o,{container:r}):void 0};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function w(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(i,e);var t,n,r,o=v(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===p(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=m({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return w("action",e)}},{key:"defaultTarget",value:function(e){var t=w("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return w("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(e,t)}},{key:"cut",value:function(e){return l(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&g(t.prototype,n),r&&g(t,r),i}(o()),M=x},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return 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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},9664:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function s(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):c(e,n,i):r(n,i)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var u=s;e.exports=u},8089:function(e,t,n){"use strict";var r=n(4893);function o(e,t){for(var n in t)i(t,n)&&(e[n]=t[n])}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e){r(e)||(e={});for(var t=arguments.length,n=1;n<t;n++){var i=arguments[n];r(i)&&o(e,i)}return e}},4893:function(e){"use strict";e.exports=function(e){return null!=e&&("object"==typeof e||"function"==typeof e)}},7084:function(e,t,n){"use strict";var r,o=n(8089),i={},a={default:{"&quot;":'"',"&#34;":'"',"&apos;":"'","&#39;":"'","&amp;":"&","&#38;":"&","&gt;":">","&#62;":">","&lt;":"<","&#60;":"<"},extras:{"&cent;":"¢","&#162;":"¢","&copy;":"©","&#169;":"©","&euro;":"€","&#8364;":"€","&pound;":"£","&#163;":"£","&reg;":"®","&#174;":"®","&yen;":"¥","&#165;":"¥"}};function c(e,t){if(!function(e){return e&&"string"==typeof e}(e))return"";var n=a[t||"default"],r=function(e,t){if(i[e])return i[e];var n=Object.keys(t).join("|"),r=new RegExp("(?=("+n+"))\\1","g");return i[e]=r,r}(t,n);return e.replace(r,(function(e){return n[e]}))}Object.defineProperty(a,"all",{get:function(){return r||(r=o({},a.default,a.extras))}}),c.chars=a.default,c.extras=a.extras,Object.defineProperty(c,"all",{get:function(){return a.all}}),e.exports=c},5134:function(e,t,n){const r=n(7514);e.exports={iframeResize:r,iframeResizer:r,contentWindow:n(4289)}},4289:function(e){!function(t){if("undefined"!=typeof window){var n=!0,r=10,o="",i=0,a="",c=null,s="",u=!1,l={resize:1,click:1},f=128,d=!0,h=1,m="bodyOffset",p=m,g=!0,y="",v={},b=32,w=null,x=!1,M=!1,E="[iFrameSizer]",S=E.length,O="",k={max:1,min:1,bodyScroll:1,documentElementScroll:1},L="child",I=!0,T=window.parent,A="*",N=0,C=!1,R=null,j=16,F=1,z="scroll",_=z,P=window,W=function(){ce("onMessage function not defined")},$=function(){},H=function(){},q={height:function(){return ce("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ce("Custom width calculation function not defined"),document.body.scrollWidth}},D={},B=!1;try{var U=Object.create({},{passive:{get:function(){B=!0}}});window.addEventListener("test",ne,U),window.removeEventListener("test",ne,U)}catch(e){}var V,J,Y,G,K,X,Q,Z={bodyOffset:function(){return document.body.offsetHeight+ve("marginTop")+ve("marginBottom")},offset:function(){return Z.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return q.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,we(Z))},min:function(){return Math.min.apply(null,we(Z))},grow:function(){return Z.max()},lowestElement:function(){return Math.max(Z.bodyOffset()||Z.documentElementOffset(),be("bottom",Me()))},taggedElement:function(){return xe("bottom","data-iframe-height")}},ee={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return q.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(ee.bodyScroll(),ee.documentElementScroll())},max:function(){return Math.max.apply(null,we(ee))},min:function(){return Math.min.apply(null,we(ee))},rightMostElement:function(){return be("right",Me())},taggedElement:function(){return xe("right","data-iframe-width")}},te=(V=Ee,K=null,X=0,Q=function(){X=Date.now(),K=null,G=V.apply(J,Y),K||(J=Y=null)},function(){var e=Date.now();X||(X=e);var t=j-(e-X);return J=this,Y=arguments,t<=0||t>j?(K&&(clearTimeout(K),K=null),X=e,G=V.apply(J,Y),K||(J=Y=null)):K||(K=setTimeout(Q,t)),G});"iframeResizer"in window||(window.iframeChildListener=function(e){Te({data:e,sameDomian:!0})},re(window,"message",Te),re(window,"readystatechange",Ae),Ae())}function ne(){}function re(e,t,n,r){e.addEventListener(t,n,!!B&&(r||{}))}function oe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ie(e){return E+"["+O+"] "+e}function ae(e){x&&"object"==typeof window.console&&console.log(ie(e))}function ce(e){"object"==typeof window.console&&console.warn(ie(e))}function se(){var e;!function(){function e(e){return"true"===e}var r=y.slice(S).split(":");O=r[0],i=t===r[1]?i:Number(r[1]),u=t===r[2]?u:e(r[2]),x=t===r[3]?x:e(r[3]),b=t===r[4]?b:Number(r[4]),n=t===r[6]?n:e(r[6]),a=r[7],p=t===r[8]?p:r[8],o=r[9],s=r[10],N=t===r[11]?N:Number(r[11]),v.enable=t!==r[12]&&e(r[12]),L=t===r[13]?L:r[13],_=t===r[14]?_:r[14],M=t===r[15]?M:e(r[15])}(),ae("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;ae("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ue,e),W="onMessage"in e?e.onMessage:W,$="onReady"in e?e.onReady:$,A="targetOrigin"in e?e.targetOrigin:A,p="heightCalculationMethod"in e?e.heightCalculationMethod:p,_="widthCalculationMethod"in e?e.widthCalculationMethod:_}function t(e,t){return"function"==typeof e&&(ae("Setup custom "+t+"CalcMethod"),q[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),p=t(p,"height"),_=t(_,"width"));ae("TargetOrigin for parent set to: "+A)}(),function(){t===a&&(a=i+"px");le("margin",function(e,t){-1!==t.indexOf("-")&&(ce("Negative CSS value ignored for "+e),t="");return t}("margin",a))}(),le("background",o),le("padding",s),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),me(),pe(),document.documentElement.style.height="",document.body.style.height="",ae('HTML & body height set to "auto"'),ae("Enable public methods"),P.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,ge()):!1===e&&!0===n&&(n=!1,de("remove"),null!==c&&c.disconnect(),clearInterval(w)),Ie(0,0,"autoResize",JSON.stringify(n)),n},close:function(){Ie(0,0,"close")},getId:function(){return O},getPageInfo:function(e){"function"==typeof e?(H=e,Ie(0,0,"pageInfo")):(H=function(){},Ie(0,0,"pageInfoStop"))},moveToAnchor:function(e){v.findTarget(e)},reset:function(){Le("parentIFrame.reset")},scrollTo:function(e,t){Ie(t,e,"scrollTo")},scrollToOffset:function(e,t){Ie(t,e,"scrollToOffset")},sendMessage:function(e,t){Ie(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){p=e,me()},setWidthCalculationMethod:function(e){_=e,pe()},setTargetOrigin:function(e){ae("Set targetOrigin: "+e),A=e},size:function(e,t){Se("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},function(){if(!0!==M)return;function e(e){Ie(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,n){ae("Add event listener: "+n),re(window.document,t,e)}t("mouseenter","Mouse Enter"),t("mouseleave","Mouse Leave")}(),ge(),v=function(){function e(){return{x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset}}function n(t){var n=t.getBoundingClientRect(),r=e();return{x:parseInt(n.left,10)+parseInt(r.x,10),y:parseInt(n.top,10)+parseInt(r.y,10)}}function r(e){function r(e){var t=n(e);ae("Moving to in page link (#"+o+") at x: "+t.x+" y: "+t.y),Ie(t.y,t.x,"scrollToOffset")}var o=e.split("#")[1]||e,i=decodeURIComponent(o),a=document.getElementById(i)||document.getElementsByName(i)[0];t===a?(ae("In page link (#"+o+") not found in iFrame, so sending to parent"),Ie(0,0,"inPageLink","#"+o)):r(a)}function o(){var e=window.location.hash,t=window.location.href;""!==e&&"#"!==e&&r(t)}function i(){function e(e){function t(e){e.preventDefault(),r(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&re(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){re(window,"hashchange",o)}function c(){setTimeout(o,f)}function s(){Array.prototype.forEach&&document.querySelectorAll?(ae("Setting up location.hash handlers"),i(),a(),c()):ce("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}v.enable?s():ae("In page linking not enabled");return{findTarget:r}}(),Se("init","Init message from host page"),$()}function ue(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],ce("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function le(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,ae("Body "+e+' set to "'+n+'"'))}function fe(e){var t={add:function(t){function n(){Se(e.eventName,e.eventType)}D[t]=n,re(window,t,n,{passive:!0})},remove:function(e){var t,n,r,o=D[e];delete D[e],t=window,n=e,r=o,t.removeEventListener(n,r,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),ae(oe(e.method)+" event listener: "+e.eventType)}function de(e){fe({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),fe({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),fe({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),fe({method:e,eventType:"Input",eventName:"input"}),fe({method:e,eventType:"Mouse Up",eventName:"mouseup"}),fe({method:e,eventType:"Mouse Down",eventName:"mousedown"}),fe({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),fe({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]}),fe({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),fe({method:e,eventType:"Touch Start",eventName:"touchstart"}),fe({method:e,eventType:"Touch End",eventName:"touchend"}),fe({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),fe({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),fe({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),fe({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===L&&fe({method:e,eventType:"IFrame Resized",eventName:"resize"})}function he(e,t,n,r){return t!==e&&(e in n||(ce(e+" is not a valid option for "+r+"CalculationMethod."),e=t),ae(r+' calculation method set to "'+e+'"')),e}function me(){p=he(p,m,Z,"height")}function pe(){_=he(_,z,ee,"width")}function ge(){var e;!0===n?(de("add"),e=0>b,window.MutationObserver||window.WebKitMutationObserver?e?ye():c=function(){function e(e){function t(e){!1===e.complete&&(ae("Attach listeners to "+e.src),e.addEventListener("load",o,!1),e.addEventListener("error",i,!1),s.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function t(e){s.splice(s.indexOf(e),1)}function n(e){ae("Remove listeners from "+e.src),e.removeEventListener("load",o,!1),e.removeEventListener("error",i,!1),t(e)}function r(e,t,r){n(e.target),Se(t,r+": "+e.target.src)}function o(e){r(e,"imageLoad","Image loaded")}function i(e){r(e,"imageLoadFailed","Image load failed")}function a(t){Se("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}function c(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return l=new u(a),ae("Create body MutationObserver"),l.observe(e,t),l}var s=[],u=window.MutationObserver||window.WebKitMutationObserver,l=c();return{disconnect:function(){"disconnect"in l&&(ae("Disconnect body MutationObserver"),l.disconnect(),s.forEach(n))}}}():(ae("MutationObserver not supported in this browser!"),ye())):ae("Auto Resize disabled")}function ye(){0!==b&&(ae("setInterval: "+b+"ms"),w=setInterval((function(){Se("interval","setInterval: "+b)}),Math.abs(b)))}function ve(e,t){var n=0;return t=t||document.body,n=null===(n=document.defaultView.getComputedStyle(t,null))?0:n[e],parseInt(n,r)}function be(e,t){for(var n=t.length,r=0,o=0,i=oe(e),a=Date.now(),c=0;c<n;c++)(r=t[c].getBoundingClientRect()[e]+ve("margin"+i,t[c]))>o&&(o=r);return a=Date.now()-a,ae("Parsed "+n+" HTML elements"),ae("Element position calculated in "+a+"ms"),function(e){e>j/2&&ae("Event throttle increased to "+(j=2*e)+"ms")}(a),o}function we(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function xe(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ce("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),be(e,n)}function Me(){return document.querySelectorAll("body *")}function Ee(e,n,r,o){var i,a;!function(){function e(e,t){return!(Math.abs(e-t)<=N)}return i=t===r?Z[p]():r,a=t===o?ee[_]():o,e(h,i)||u&&e(F,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(p in k||u&&_ in k)?Le(n):e in{interval:1}||ae("No change in size detected"):(Oe(),Ie(h=i,F=a,e))}function Se(e,t,n,r){C&&e in l?ae("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ae("Trigger event: "+t),"init"===e?Ee(e,t,n,r):te(e,t,n,r))}function Oe(){C||(C=!0,ae("Trigger event lock on")),clearTimeout(R),R=setTimeout((function(){C=!1,ae("Trigger event lock off"),ae("--")}),f)}function ke(e){h=Z[p](),F=ee[_](),Ie(h,F,e)}function Le(e){var t=p;p=m,ae("Reset trigger event: "+e),Oe(),ke("reset"),p=t}function Ie(e,n,r,o,i){var a;!0===I&&(t===i?i=A:ae("Message targetOrigin: "+i),ae("Sending message to host page ("+(a=O+":"+e+":"+n+":"+r+(t===o?"":":"+o))+")"),T.postMessage(E+a,i))}function Te(n){var r={init:function(){y=n.data,T=n.source,se(),d=!1,setTimeout((function(){g=!1}),f)},reset:function(){g?ae("Page reset ignored by init"):(ae("Page size reset by host page"),ke("resetPage"))},resize:function(){Se("resizeParent","Parent window requested size check")},moveToAnchor:function(){v.findTarget(i())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=i();ae("PageInfoFromParent called from parent: "+e),H(JSON.parse(e)),ae(" --")},message:function(){var e=i();ae("onMessage called from parent: "+e),W(JSON.parse(e)),ae(" --")}};function o(){return n.data.split("]")[1].split(":")[0]}function i(){return n.data.slice(n.data.indexOf(":")+1)}function a(){return n.data.split(":")[2]in{true:1,false:1}}function c(){var i=o();i in r?r[i]():!e.exports&&"iFrameResize"in window||window.jQuery!==t&&"iFrameResize"in window.jQuery.prototype||a()||ce("Unexpected message ("+n.data+")")}E===(""+n.data).slice(0,S)&&(!1===d?c():a()?r.init():ae('Ignored message of type "'+o()+'". Received before initialization.'))}function Ae(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},7514:function(e,t){var n,r,o;console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(i){if("undefined"!=typeof window){var a,c,s=0,u=!1,l=!1,f=7,d="[iFrameSizer]",h=d.length,m=null,p=window.requestAnimationFrame,g=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),y={},v=null,b=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){I("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),w={};window.jQuery!==i&&((c=window.jQuery).fn?c.fn.iFrameResize||(c.fn.iFrameResize=function(e){return this.filter("iframe").each((function(t,n){q(n,e)})).end()}):L("","Unable to bind to jQuery, it is not fully loaded.")),r=[],(o="function"==typeof(n=J)?n.apply(t,r):n)===i||(e.exports=o),window.iFrameResize=window.iFrameResize||J()}function x(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function M(e,t,n){e.addEventListener(t,n,!1)}function E(e,t,n){e.removeEventListener(t,n,!1)}function S(e){return d+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}function O(e){return y[e]?y[e].log:u}function k(e,t){T("log",e,t,O(e))}function L(e,t){T("info",e,t,O(e))}function I(e,t){T("warn",e,t,!0)}function T(e,t,n,r){!0===r&&"object"==typeof window.console&&console[e](S(t),n)}function A(e){function t(){o("Height"),o("Width"),W((function(){P(A),F(C),p("onResized",A)}),A,"init")}function n(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}function r(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}function o(e){var t=Number(y[C]["max"+e]),n=Number(y[C]["min"+e]),r=e.toLowerCase(),o=Number(A[r]);k(C,"Checking "+r+" is in range "+n+"-"+t),o<n&&(o=n,k(C,"Set "+r+" to min value")),o>t&&(o=t,k(C,"Set "+r+" to max value")),A[r]=""+o}function i(e){return T.slice(T.indexOf(":")+f+e)}function a(e,t){var n,r,o;n=function(){var n,r;$("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),r=A.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},r=32,w[o=t]||(w[o]=setTimeout((function(){w[o]=null,n()}),r))}function c(e){var t=e.getBoundingClientRect();return j(C),{x:Math.floor(Number(t.left)+Number(m.x)),y:Math.floor(Number(t.top)+Number(m.y))}}function s(e){var t=e?c(A.iframe):{x:0,y:0},n={x:Number(A.width)+t.x,y:Number(A.height)+t.y};k(C,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top===window.self?(m=n,u(),k(C,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):I(C,"Unable to scroll to requested position, window.parentIFrame not found")}function u(){!1===p("onScroll",m)?z():F(C)}function l(e){var t={};if(0===Number(A.width)&&0===Number(A.height)){var n=i(9).split(":");t={x:n[1],y:n[0]}}else t={x:A.width,y:A.height};p(e,{iframe:A.iframe,screenX:Number(t.x),screenY:Number(t.y),type:A.type})}function p(e,t){return N(C,e,t)}var g,v,b,x,S,O,T=e.data,A={},C=null;"[iFrameResizerChild]Ready"===T?function(){for(var e in y)$("iFrame requested init",H(e),y[e].iframe,e)}():d===(""+T).slice(0,h)&&T.slice(h).split(":")[0]in y?(b=T.slice(h).split(":"),x=b[1]?parseInt(b[1],10):0,S=y[b[0]]&&y[b[0]].iframe,O=getComputedStyle(S),A={iframe:S,id:b[0],height:x+n(O)+r(O),width:b[2],type:b[3]},C=A.id,y[C]&&(y[C].loaded=!0),(v=A.type in{true:1,false:1,undefined:1})&&k(C,"Ignoring init message from meta parent page"),!v&&function(e){var t=!0;return y[e]||(t=!1,I(A.type+" No settings for "+e+". Message was: "+T)),t}(C)&&(k(C,"Received: "+T),g=!0,null===A.iframe&&(I(C,"IFrame ("+A.id+") not found"),g=!1),g&&function(){var t,n=e.origin,r=y[C]&&y[C].checkOrigin;if(r&&""+n!="null"&&!(r.constructor===Array?function(){var e=0,t=!1;for(k(C,"Checking connection is from allowed list of origins: "+r);e<r.length;e++)if(r[e]===n){t=!0;break}return t}():(t=y[C]&&y[C].remoteHost,k(C,"Checking connection is from: "+t),n===t)))throw new Error("Unexpected message received from: "+n+" for "+A.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(y[C]&&y[C].firstRun&&y[C]&&(y[C].firstRun=!1),A.type){case"close":R(A.iframe);break;case"message":f=i(6),k(C,"onMessage passed: {iframe: "+A.iframe.id+", message: "+f+"}"),p("onMessage",{iframe:A.iframe,message:JSON.parse(f)}),k(C,"--");break;case"mouseenter":l("onMouseEnter");break;case"mouseleave":l("onMouseLeave");break;case"autoResize":y[C].autoResize=JSON.parse(i(9));break;case"scrollTo":s(!1);break;case"scrollToOffset":s(!0);break;case"pageInfo":a(y[C]&&y[C].iframe,C),function(){function e(e,r){function o(){y[n]?a(y[n].iframe,n):t()}["scroll","resize"].forEach((function(t){k(n,e+t+" listener for sendPageInfo"),r(window,t,o)}))}function t(){e("Remove ",E)}var n=C;e("Add ",M),y[n]&&(y[n].stopPageInfo=t)}();break;case"pageInfoStop":y[C]&&y[C].stopPageInfo&&(y[C].stopPageInfo(),delete y[C].stopPageInfo);break;case"inPageLink":n=i(9).split("#")[1]||"",r=decodeURIComponent(n),(o=document.getElementById(r)||document.getElementsByName(r)[0])?(e=c(o),k(C,"Moving to in page link (#"+n+") at x: "+e.x+" y: "+e.y),m={x:e.x,y:e.y},u(),k(C,"--")):window.top===window.self?k(C,"In page link #"+n+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(n):k(C,"In page link #"+n+" not found and window.parentIFrame not found");break;case"reset":_(A);break;case"init":t(),p("onInit",A.iframe);break;default:0===Number(A.width)&&0===Number(A.height)?I("Unsupported message received ("+A.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):t()}var e,n,r,o,f}())):L(C,"Ignored: "+T)}function N(e,t,n){var r=null,o=null;if(y[e]){if("function"!=typeof(r=y[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=r(n)}return o}function C(e){var t=e.id;delete y[t]}function R(e){var t=e.id;if(!1!==N(t,"onClose",t)){k(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){I(e)}N(t,"onClosed",t),k(t,"--"),C(e),a&&(a.disconnect(),a=null)}else k(t,"Close iframe cancelled by onClose event")}function j(e){null===m&&k(e,"Get page position: "+(m={x:window.pageXOffset===i?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===i?document.documentElement.scrollTop:window.pageYOffset}).x+","+m.y)}function F(e){null!==m&&(window.scrollTo(m.x,m.y),k(e,"Set page position: "+m.x+","+m.y),z())}function z(){m=null}function _(e){k(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),j(e.id),W((function(){P(e),$("reset","reset",e.iframe,e.id)}),e,"reset")}function P(e){function t(t){l||"0"!==e[t]||(l=!0,k(r,"Hidden iFrame detected, creating visibility listener"),function(){function e(){function e(e){function t(t){return"0px"===(y[e]&&y[e].iframe.style[t])}function n(e){return null!==e.offsetParent}y[e]&&n(y[e].iframe)&&(t("height")||t("width"))&&$("Visibility change","resize",y[e].iframe,e)}Object.keys(y).forEach((function(t){e(t)}))}function t(t){k("window","Mutation observed: "+t[0].target+" "+t[0].type),D(e,16)}function n(){var e=document.querySelector("body"),n={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new r(t).observe(e,n)}var r=x();r&&n()}())}function n(n){!function(t){e.id?(e.iframe.style[t]=e[t]+"px",k(e.id,"IFrame ("+r+") "+t+" set to "+e[t]+"px")):k("undefined","messageData id not set")}(n),t(n)}var r=e.iframe.id;y[r]&&(y[r].sizeHeight&&n("height"),y[r].sizeWidth&&n("width"))}function W(e,t,n){n!==t.type&&p&&!window.jasmine?(k(t.id,"Requesting animation frame"),p(e)):e()}function $(e,t,n,r,o){var i,a=!1;r=r||n.id,y[r]&&(n&&"contentWindow"in n&&null!==n.contentWindow?(i=y[r]&&y[r].targetOrigin,k(r,"["+e+"] Sending msg to iframe["+r+"] ("+t+") targetOrigin: "+i),n.contentWindow.postMessage(d+t,i)):I(r,"["+e+"] IFrame("+r+") not found"),o&&y[r]&&y[r].warningTimeout&&(y[r].msgTimeout=setTimeout((function(){!y[r]||y[r].loaded||a||(a=!0,I(r,"IFrame has not responded within "+y[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),y[r].warningTimeout)))}function H(e){return e+":"+y[e].bodyMarginV1+":"+y[e].sizeWidth+":"+y[e].log+":"+y[e].interval+":"+y[e].enablePublicMethods+":"+y[e].autoResize+":"+y[e].bodyMargin+":"+y[e].heightCalculationMethod+":"+y[e].bodyBackground+":"+y[e].bodyPadding+":"+y[e].tolerance+":"+y[e].inPageLinks+":"+y[e].resizeFrom+":"+y[e].widthCalculationMethod+":"+y[e].mouseEvents}function q(e,t){function n(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],I(r,"Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}var r=function(n){if("string"!=typeof n)throw new TypeError("Invaild id for iFrame. Expected String");var r;return""===n&&(e.id=(r=t&&t.id||b.id+s++,null!==document.getElementById(r)&&(r+=s++),n=r),u=(t||{}).log,k(n,"Added missing iframe ID: "+n+" ("+e.src+")")),n}(e.id);r in y&&"iFrameResizer"in e?I(r,"Ignored iFrame, already setup."):(!function(t){var o;t=t||{},y[r]=Object.create(null),y[r].iframe=e,y[r].firstRun=!0,y[r].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(t),Object.keys(t).forEach(n,t),function(e){for(var t in b)Object.prototype.hasOwnProperty.call(b,t)&&(y[r][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:b[t])}(t),y[r]&&(y[r].targetOrigin=!0===y[r].checkOrigin?""===(o=y[r].remoteHost)||null!==o.match(/^(about:blank|javascript:|file:\/\/)/)?"*":o:"*")}(t),function(){switch(k(r,"IFrame scrolling "+(y[r]&&y[r].scrolling?"enabled":"disabled")+" for "+r),e.style.overflow=!1===(y[r]&&y[r].scrolling)?"hidden":"auto",y[r]&&y[r].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=y[r]?y[r].scrolling:"no"}}(),function(){function t(t){var n=y[r][t];1/0!==n&&0!==n&&(e.style[t]="number"==typeof n?n+"px":n,k(r,"Set "+t+" = "+e.style[t]))}function n(e){if(y[r]["min"+e]>y[r]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(y[r]&&y[r].bodyMargin)&&"0"!==(y[r]&&y[r].bodyMargin)||(y[r].bodyMarginV1=y[r].bodyMargin,y[r].bodyMargin=y[r].bodyMargin+"px"),function(t){var n=x();n&&(a=function(t){if(!e.parentNode)return null;var n=new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&R(e)}))}))}));return n.observe(e.parentNode,{childList:!0}),n}(n)),M(e,"load",(function(){var n,o;$("iFrame.onload",t,e,i,!0),n=y[r]&&y[r].firstRun,o=y[r]&&y[r].heightCalculationMethod in g,!n&&o&&_({iframe:e,height:0,width:0,type:"init"})})),$("init",t,e,i,!0)}(H(r)),y[r]&&(y[r].iframe.iFrameResizer={close:R.bind(null,y[r].iframe),removeListeners:C.bind(null,y[r].iframe),resize:$.bind(null,"Window resize","resize",y[r].iframe),moveToAnchor:function(e){$("Move to anchor","moveToAnchor:"+e,y[r].iframe,r)},sendMessage:function(e){$("Send Message","message:"+(e=JSON.stringify(e)),y[r].iframe,r)}}))}function D(e,t){null===v&&(v=setTimeout((function(){v=null,e()}),t))}function B(){"hidden"!==document.visibilityState&&(k("document","Trigger event: Visibility change"),D((function(){U("Tab Visible","resize")}),16))}function U(e,t){Object.keys(y).forEach((function(n){(function(e){return y[e]&&"parent"===y[e].resizeFrom&&y[e].autoResize&&!y[e].firstRun})(n)&&$(e,t,y[n].iframe,n)}))}function V(){M(window,"message",A),M(window,"resize",(function(){var e;k("window","Trigger event: "+(e="resize")),D((function(){U("Window "+e,"resize")}),16)})),M(document,"visibilitychange",B),M(document,"-webkit-visibilitychange",B)}function J(){function e(e,n){n&&(!function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}(),q(n,e),t.push(n))}var t;return function(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!p;e+=1)p=window[t[e]+"RequestAnimationFrame"];p?p=p.bind(window):k("setup","RequestAnimationFrame not supported")}(),V(),function(n,r){switch(t=[],function(e){e&&e.enablePublicMethods&&I("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(n),typeof r){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(r||"iframe"),e.bind(i,n));break;case"object":e(n,r);break;default:throw new TypeError("Unexpected data type ("+typeof r+")")}return t}}}()},7109:function(e,t,n){var r=n(5830).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var o=t&&t.prototype instanceof w?t:w,i=Object.create(o.prototype),a=new R(r||[]);return c(i,"_invoke",{value:T(e,n,a)}),i}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var p="suspendedStart",g="suspendedYield",y="executing",v="completed",b={};function w(){}function x(){}function M(){}var E={};d(E,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(j([])));O&&O!==i&&a.call(O,u)&&(E=O);var k=M.prototype=w.prototype=Object.create(E);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function n(o,i,c,s){var u=m(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,s)}),(function(e){n("throw",e,c,s)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,s)}))}s(u.arg)}var o;c(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function T(e,n,r){var o=p;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=A(c,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var u=m(e,n,r);if("normal"===u.type){if(o=r.done?v:g,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=v,r.method="throw",r.arg=u.arg)}}}function A(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=m(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,b;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function j(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return x.prototype=M,c(k,"constructor",{value:M,configurable:!0}),c(M,"constructor",{value:x,configurable:!0}),x.displayName=d(M,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,d(e,f,"GeneratorFunction")),e.prototype=Object.create(k),e},n.awrap=function(e){return{__await:e}},L(I.prototype),d(I.prototype,l,(function(){return this})),n.AsyncIterator=I,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new I(h(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},L(k),d(k,f,"Generator"),d(k,u,(function(){return this})),d(k,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=j,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},5830:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5408:function(e,t,n){var r=n(7109)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},535:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}n.d(t,{A:function(){return o}})},104:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(7864);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7864:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:function(){return r}})},7148:function(e,t,n){"use strict";function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===d(e)}n.d(t,{A:function(){return G}});const o=1/0;function i(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-o?"-0":t}(e)}function a(e){return"string"==typeof e}function c(e){return"number"==typeof e}function s(e){return!0===e||!1===e||function(e){return u(e)&&null!==e}(e)&&"[object Boolean]"==d(e)}function u(e){return"object"==typeof e}function l(e){return null!=e}function f(e){return!e.trim().length}function d(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const h=e=>`Missing ${e} property in key`,m=e=>`Property 'weight' in key '${e}' must be a positive integer`,p=Object.prototype.hasOwnProperty;class g{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=y(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function y(e){let t=null,n=null,o=null,i=1,c=null;if(a(e)||r(e))o=e,t=v(e),n=b(e);else{if(!p.call(e,"name"))throw new Error(h("name"));const r=e.name;if(o=r,p.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(m(r));t=v(r),n=b(r),c=e.getFn}return{path:t,id:n,weight:i,src:o,getFn:c}}function v(e){return r(e)?e:e.split(".")}function b(e){return r(e)?e.join("."):e}var w={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],o=!1;const u=(e,t,f)=>{if(l(e))if(t[f]){const d=e[t[f]];if(!l(d))return;if(f===t.length-1&&(a(d)||c(d)||s(d)))n.push(i(d));else if(r(d)){o=!0;for(let e=0,n=d.length;e<n;e+=1)u(d[e],t,f+1)}else t.length&&u(d,t,f+1)}else n.push(e)};return u(e,a(t)?t.split("."):t,0),o?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const x=/[^ ]+/g;class M{constructor({getFn:e=w.getFn,fieldNormWeight:t=w.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const o=t.match(x).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,a(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();a(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!l(e)||f(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,o)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(l(i))if(r(i)){let e=[];const t=[{nestedArrIndex:-1,value:i}];for(;t.length;){const{nestedArrIndex:n,value:o}=t.pop();if(l(o))if(a(o)&&!f(o)){let t={v:o,i:n,n:this.norm.get(o)};e.push(t)}else r(o)&&o.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[o]=e}else if(a(i)&&!f(i)){let e={v:i,n:this.norm.get(i)};n.$[o]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function E(e,t,{getFn:n=w.getFn,fieldNormWeight:r=w.fieldNormWeight}={}){const o=new M({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(y)),o.setSources(t),o.create(),o}function S(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=w.distance,ignoreLocation:i=w.ignoreLocation}={}){const a=t/e.length;if(i)return a;const c=Math.abs(r-n);return o?a+c/o:c?1:a}const O=32;function k(e,t,n,{location:r=w.location,distance:o=w.distance,threshold:i=w.threshold,findAllMatches:a=w.findAllMatches,minMatchCharLength:c=w.minMatchCharLength,includeMatches:s=w.includeMatches,ignoreLocation:u=w.ignoreLocation}={}){if(t.length>O)throw new Error(`Pattern length exceeds max of ${O}.`);const l=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let h=i,m=d;const p=c>1||s,g=p?Array(f):[];let y;for(;(y=e.indexOf(t,m))>-1;){let e=S(t,{currentLocation:y,expectedLocation:d,distance:o,ignoreLocation:u});if(h=Math.min(e,h),m=y+l,p){let e=0;for(;e<l;)g[y+e]=1,e+=1}}m=-1;let v=[],b=1,x=l+f;const M=1<<l-1;for(let r=0;r<l;r+=1){let i=0,c=x;for(;i<c;){S(t,{errors:r,currentLocation:d+c,expectedLocation:d,distance:o,ignoreLocation:u})<=h?i=c:x=c,c=Math.floor((x-i)/2+i)}x=c;let s=Math.max(1,d-c+1),y=a?f:Math.min(d+c,f)+l,w=Array(y+2);w[y+1]=(1<<r)-1;for(let i=y;i>=s;i-=1){let a=i-1,c=n[e.charAt(a)];if(p&&(g[a]=+!!c),w[i]=(w[i+1]<<1|1)&c,r&&(w[i]|=(v[i+1]|v[i])<<1|1|v[i+1]),w[i]&M&&(b=S(t,{errors:r,currentLocation:a,expectedLocation:d,distance:o,ignoreLocation:u}),b<=h)){if(h=b,m=a,m<=d)break;s=Math.max(1,2*d-m)}}if(S(t,{errors:r+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:u})>h)break;v=w}const E={isMatch:m>=0,score:Math.max(.001,b)};if(p){const e=function(e=[],t=w.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let a=e.length;i<a;i+=1){let a=e[i];a&&-1===r?r=i:a||-1===r||(o=i-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(g,c);e.length?s&&(E.indices=e):E.isMatch=!1}return E}function L(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class I{constructor(e,{location:t=w.location,threshold:n=w.threshold,distance:r=w.distance,includeMatches:o=w.includeMatches,findAllMatches:i=w.findAllMatches,minMatchCharLength:a=w.minMatchCharLength,isCaseSensitive:c=w.isCaseSensitive,ignoreLocation:s=w.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:s},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:L(e),startIndex:t})},l=this.pattern.length;if(l>O){let e=0;const t=l%O,n=l-t;for(;e<n;)u(this.pattern.substr(e,O),e),e+=O;if(t){const e=l-O;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,ignoreLocation:s}=this.options;let u=[],l=0,f=!1;this.chunks.forEach((({pattern:t,alphabet:d,startIndex:h})=>{const{isMatch:m,score:p,indices:g}=k(e,t,d,{location:r+h,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,includeMatches:n,ignoreLocation:s});m&&(f=!0),l+=p,m&&g&&(u=[...u,...g])}));let d={isMatch:f,score:f?l/this.chunks.length:1};return f&&n&&(d.indices=u),d}}class T{constructor(e){this.pattern=e}static isMultiMatch(e){return A(e,this.multiRegex)}static isSingleMatch(e){return A(e,this.singleRegex)}search(){}}function A(e,t){const n=e.match(t);return n?n[1]:null}class N extends T{constructor(e,{location:t=w.location,threshold:n=w.threshold,distance:r=w.distance,includeMatches:o=w.includeMatches,findAllMatches:i=w.findAllMatches,minMatchCharLength:a=w.minMatchCharLength,isCaseSensitive:c=w.isCaseSensitive,ignoreLocation:s=w.ignoreLocation}={}){super(e),this._bitapSearch=new I(e,{location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:s})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class C extends T{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],o=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const R=[class extends T{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},C,class extends T{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},N],j=R.length,F=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const z=new Set([N.type,C.type]);class _{constructor(e,{isCaseSensitive:t=w.isCaseSensitive,includeMatches:n=w.includeMatches,minMatchCharLength:r=w.minMatchCharLength,ignoreLocation:o=w.ignoreLocation,findAllMatches:i=w.findAllMatches,location:a=w.location,threshold:c=w.threshold,distance:s=w.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:c,distance:s},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(F).filter((e=>e&&!!e.trim())),r=[];for(let e=0,o=n.length;e<o;e+=1){const o=n[e];let i=!1,a=-1;for(;!i&&++a<j;){const e=R[a];let n=e.isMultiMatch(o);n&&(r.push(new e(n,t)),i=!0)}if(!i)for(a=-1;++a<j;){const e=R[a];let n=e.isSingleMatch(o);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let o=0,i=[],a=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];i.length=0,o=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:s,indices:u,score:l}=r.search(e);if(!s){a=0,o=0,i.length=0;break}if(o+=1,a+=l,n){const e=r.constructor.type;z.has(e)?i=[...i,...u]:i.push(u)}}if(o){let e={isMatch:!0,score:a/o};return n&&(e.indices=i),e}}return{isMatch:!1,score:1}}}const P=[];function W(e,t){for(let n=0,r=P.length;n<r;n+=1){let r=P[n];if(r.condition(e,t))return new r(e,t)}return new I(e,t)}const $="$and",H="$or",q="$path",D="$val",B=e=>!(!e[$]&&!e[H]),U=e=>({[$]:Object.keys(e).map((t=>({[t]:e[t]})))});function V(e,t,{auto:n=!0}={}){const o=e=>{let i=Object.keys(e);const c=(e=>!!e[q])(e);if(!c&&i.length>1&&!B(e))return o(U(e));if((e=>!r(e)&&u(e)&&!B(e))(e)){const r=c?e[q]:i[0],o=c?e[D]:e[r];if(!a(o))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={keyId:b(r),pattern:o};return n&&(s.searcher=W(o,t)),s}let s={children:[],operator:i[0]};return i.forEach((t=>{const n=e[t];r(n)&&n.forEach((e=>{s.children.push(o(e))}))})),s};return B(e)||(e=U(e)),o(e)}function J(e,t){const n=e.matches;t.matches=[],l(n)&&n.forEach((e=>{if(!l(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let o={indices:n,value:r};e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)}))}function Y(e,t){t.score=e.score}class G{constructor(e,t={},n){this.options={...w,...t},this.options.useExtendedSearch,this._keyStore=new g(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof M))throw new Error("Incorrect 'index' type");this._myIndex=t||E(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){l(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:o,sortFn:i,ignoreFieldNorm:s}=this.options;let u=a(e)?a(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=w.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:o})=>{const i=e?e.weight:null;n*=Math.pow(0===o&&i?Number.EPSILON:o,(i||1)*(t?1:r))})),e.score=n}))}(u,{ignoreFieldNorm:s}),o&&u.sort(i),c(t)&&t>-1&&(u=u.slice(0,t)),function(e,t,{includeMatches:n=w.includeMatches,includeScore:r=w.includeScore}={}){const o=[];return n&&o.push(J),r&&o.push(Y),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return o.length&&o.forEach((t=>{t(e,r)})),r}))}(u,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=W(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:o})=>{if(!l(e))return;const{isMatch:i,score:a,indices:c}=t.searchIn(e);i&&r.push({item:e,idx:n,matches:[{score:a,value:e,norm:o,indices:c}]})})),r}_searchLogical(e){const t=V(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:o}=e,i=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o});return i&&i.length?[{idx:r,item:t,matches:i}]:[]}const o=[];for(let i=0,a=e.children.length;i<a;i+=1){const a=e.children[i],c=n(a,t,r);if(c.length)o.push(...c);else if(e.operator===$)return[]}return o},r=this._myIndex.records,o={},i=[];return r.forEach((({$:e,i:r})=>{if(l(e)){let a=n(t,e,r);a.length&&(o[r]||(o[r]={idx:r,item:e,matches:[]},i.push(o[r])),a.forEach((({matches:e})=>{o[r].matches.push(...e)})))}})),i}_searchObjectList(e){const t=W(e,this.options),{keys:n,records:r}=this._myIndex,o=[];return r.forEach((({$:e,i:r})=>{if(!l(e))return;let i=[];n.forEach(((n,r)=>{i.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),i.length&&o.push({idx:r,item:e,matches:i})})),o}_findMatches({key:e,value:t,searcher:n}){if(!l(t))return[];let o=[];if(r(t))t.forEach((({v:t,i:r,n:i})=>{if(!l(t))return;const{isMatch:a,score:c,indices:s}=n.searchIn(t);a&&o.push({score:c,key:e,value:t,idx:r,norm:i,indices:s})}));else{const{v:r,n:i}=t,{isMatch:a,score:c,indices:s}=n.searchIn(r);a&&o.push({score:c,key:e,value:r,norm:i,indices:s})}return o}}G.version="7.0.0",G.createIndex=E,G.parseIndex=function(e,{getFn:t=w.getFn,fieldNormWeight:n=w.fieldNormWeight}={}){const{keys:r,records:o}=e,i=new M({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i},G.config=w,G.parseQuery=V,function(...e){P.push(...e)}(_)},8821:function(e,t,n){"use strict";function r(e){const t=(e=e||{}).lazyClass||"lazy",n=e.lazyBackgroundClass||"lazy-bg",r="idleLoadTimeout"in e?e.idleLoadTimeout:200,o=e.observeChanges||!1,i=e.events||{},a=e.noPolyfill||!1,c=window,s="requestIdleCallback",u="IntersectionObserver",l=u in c&&`${u}Entry`in c,f=/baidu|(?:google|bing|yandex|duckduck)bot/i.test(navigator.userAgent),d=["srcset","src","poster"],h=[],m=(e,r)=>h.slice.call((r||document).querySelectorAll(e||`img.${t},video.${t},iframe.${t},.${n}`)),p=t=>{const r=t.parentNode;"PICTURE"==r.nodeName&&v(m("source",r),y),"VIDEO"==t.nodeName&&v(m("source",t),y),y(t);const o=t.classList;o.contains(n)&&(o.remove(n),o.add(e.lazyBackgroundLoaded||"lazy-bg-loaded"))},g=e=>{for(let t in i)e.addEventListener(t,i[t].listener||i[t],i[t].options||void 0)},y=e=>{for(let n in d)if(d[n]in e.dataset){e.setAttribute(d[n],e.dataset[d[n]]);const r=e.parentNode;"SOURCE"===e.nodeName&&r.autoplay&&(r.load(),/Trident/.test(navigator.userAgent)&&r.play(),r.classList.remove(t)),e.classList.remove(t)}},v=(e,t)=>{for(let n=0;n<e.length;n++)c[u]&&t instanceof c[u]?t.observe(e[n]):t(e[n])},b=t=>{new MutationObserver((()=>{v(m(),(e=>{w.indexOf(e)<0&&(w.push(e),g(e),l&&!f?x.observe(e):(a||f)&&v(w,p))}))})).observe(t,e.mutationObserverOptions||{childList:!0,subtree:!0})};let w=m();if(v(w,g),l&&!f){var x=new c[u]((e=>{v(e,(e=>{if(e.isIntersecting||e.intersectionRatio){const t=e.target;s in c&&r?c[s]((()=>{p(t)}),{timeout:r}):p(t),x.unobserve(t),w=w.filter((e=>e!=t)),w.length||o||x.disconnect()}}))}),{rootMargin:`${"threshold"in e?e.threshold:200}px 0%`});v(w,x),o&&v(m(e.observeRootSelector||"body"),b)}else(a||f)&&v(w,p)}n.d(t,{A:function(){return r}})}}]);
1
+ /*! For license information please see vendor_other.91011de.js.LICENSE.txt */
2
+ (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[130],{1062:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return M}});var r=n(279),o=n.n(r),i=n(370),a=n.n(i),c=n(817),s=n.n(c);function u(e){try{return document.execCommand(e)}catch(e){return!1}}var l=function(e){var t=s()(e);return u("cut"),t},f=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=s()(n);return u("copy"),n.remove(),r},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=f(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=f(e.value,t):(n=s()(e),u("copy")),n};function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==h(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?d(i,{container:r}):o?"cut"===n?l(o):d(o,{container:r}):void 0};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function w(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(i,e);var t,n,r,o=v(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===p(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=m({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return w("action",e)}},{key:"defaultTarget",value:function(e){var t=w("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return w("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(e,t)}},{key:"cut",value:function(e){return l(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&g(t.prototype,n),r&&g(t,r),i}(o()),M=x},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return 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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},9664:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function s(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):c(e,n,i):r(n,i)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var u=s;e.exports=u},8089:function(e,t,n){"use strict";var r=n(4893);function o(e,t){for(var n in t)i(t,n)&&(e[n]=t[n])}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e){r(e)||(e={});for(var t=arguments.length,n=1;n<t;n++){var i=arguments[n];r(i)&&o(e,i)}return e}},4893:function(e){"use strict";e.exports=function(e){return null!=e&&("object"==typeof e||"function"==typeof e)}},7084:function(e,t,n){"use strict";var r,o=n(8089),i={},a={default:{"&quot;":'"',"&#34;":'"',"&apos;":"'","&#39;":"'","&amp;":"&","&#38;":"&","&gt;":">","&#62;":">","&lt;":"<","&#60;":"<"},extras:{"&cent;":"¢","&#162;":"¢","&copy;":"©","&#169;":"©","&euro;":"€","&#8364;":"€","&pound;":"£","&#163;":"£","&reg;":"®","&#174;":"®","&yen;":"¥","&#165;":"¥"}};function c(e,t){if(!function(e){return e&&"string"==typeof e}(e))return"";var n=a[t||"default"],r=function(e,t){if(i[e])return i[e];var n=Object.keys(t).join("|"),r=new RegExp("(?=("+n+"))\\1","g");return i[e]=r,r}(t,n);return e.replace(r,(function(e){return n[e]}))}Object.defineProperty(a,"all",{get:function(){return r||(r=o({},a.default,a.extras))}}),c.chars=a.default,c.extras=a.extras,Object.defineProperty(c,"all",{get:function(){return a.all}}),e.exports=c},5134:function(e,t,n){const r=n(7514);e.exports={iframeResize:r,iframeResizer:r,contentWindow:n(4289)}},4289:function(e){!function(t){if("undefined"!=typeof window){var n=!0,r=10,o="",i=0,a="",c=null,s="",u=!1,l={resize:1,click:1},f=128,d=!0,h=1,m="bodyOffset",p=m,g=!0,y="",v={},b=32,w=null,x=!1,M=!1,E="[iFrameSizer]",S=E.length,O="",k={max:1,min:1,bodyScroll:1,documentElementScroll:1},L="child",I=!0,T=window.parent,A="*",N=0,C=!1,R=null,j=16,F=1,z="scroll",_=z,P=window,W=function(){ce("onMessage function not defined")},$=function(){},H=function(){},q={height:function(){return ce("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ce("Custom width calculation function not defined"),document.body.scrollWidth}},D={},B=!1;try{var U=Object.create({},{passive:{get:function(){B=!0}}});window.addEventListener("test",ne,U),window.removeEventListener("test",ne,U)}catch(e){}var V,J,Y,G,K,X,Q,Z={bodyOffset:function(){return document.body.offsetHeight+ve("marginTop")+ve("marginBottom")},offset:function(){return Z.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return q.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,we(Z))},min:function(){return Math.min.apply(null,we(Z))},grow:function(){return Z.max()},lowestElement:function(){return Math.max(Z.bodyOffset()||Z.documentElementOffset(),be("bottom",Me()))},taggedElement:function(){return xe("bottom","data-iframe-height")}},ee={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return q.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(ee.bodyScroll(),ee.documentElementScroll())},max:function(){return Math.max.apply(null,we(ee))},min:function(){return Math.min.apply(null,we(ee))},rightMostElement:function(){return be("right",Me())},taggedElement:function(){return xe("right","data-iframe-width")}},te=(V=Ee,K=null,X=0,Q=function(){X=Date.now(),K=null,G=V.apply(J,Y),K||(J=Y=null)},function(){var e=Date.now();X||(X=e);var t=j-(e-X);return J=this,Y=arguments,t<=0||t>j?(K&&(clearTimeout(K),K=null),X=e,G=V.apply(J,Y),K||(J=Y=null)):K||(K=setTimeout(Q,t)),G});"iframeResizer"in window||(window.iframeChildListener=function(e){Te({data:e,sameDomian:!0})},re(window,"message",Te),re(window,"readystatechange",Ae),Ae())}function ne(){}function re(e,t,n,r){e.addEventListener(t,n,!!B&&(r||{}))}function oe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ie(e){return E+"["+O+"] "+e}function ae(e){x&&"object"==typeof window.console&&console.log(ie(e))}function ce(e){"object"==typeof window.console&&console.warn(ie(e))}function se(){var e;!function(){function e(e){return"true"===e}var r=y.slice(S).split(":");O=r[0],i=t===r[1]?i:Number(r[1]),u=t===r[2]?u:e(r[2]),x=t===r[3]?x:e(r[3]),b=t===r[4]?b:Number(r[4]),n=t===r[6]?n:e(r[6]),a=r[7],p=t===r[8]?p:r[8],o=r[9],s=r[10],N=t===r[11]?N:Number(r[11]),v.enable=t!==r[12]&&e(r[12]),L=t===r[13]?L:r[13],_=t===r[14]?_:r[14],M=t===r[15]?M:e(r[15])}(),ae("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;ae("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ue,e),W="onMessage"in e?e.onMessage:W,$="onReady"in e?e.onReady:$,A="targetOrigin"in e?e.targetOrigin:A,p="heightCalculationMethod"in e?e.heightCalculationMethod:p,_="widthCalculationMethod"in e?e.widthCalculationMethod:_}function t(e,t){return"function"==typeof e&&(ae("Setup custom "+t+"CalcMethod"),q[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),p=t(p,"height"),_=t(_,"width"));ae("TargetOrigin for parent set to: "+A)}(),function(){t===a&&(a=i+"px");le("margin",function(e,t){-1!==t.indexOf("-")&&(ce("Negative CSS value ignored for "+e),t="");return t}("margin",a))}(),le("background",o),le("padding",s),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),me(),pe(),document.documentElement.style.height="",document.body.style.height="",ae('HTML & body height set to "auto"'),ae("Enable public methods"),P.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,ge()):!1===e&&!0===n&&(n=!1,de("remove"),null!==c&&c.disconnect(),clearInterval(w)),Ie(0,0,"autoResize",JSON.stringify(n)),n},close:function(){Ie(0,0,"close")},getId:function(){return O},getPageInfo:function(e){"function"==typeof e?(H=e,Ie(0,0,"pageInfo")):(H=function(){},Ie(0,0,"pageInfoStop"))},moveToAnchor:function(e){v.findTarget(e)},reset:function(){Le("parentIFrame.reset")},scrollTo:function(e,t){Ie(t,e,"scrollTo")},scrollToOffset:function(e,t){Ie(t,e,"scrollToOffset")},sendMessage:function(e,t){Ie(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){p=e,me()},setWidthCalculationMethod:function(e){_=e,pe()},setTargetOrigin:function(e){ae("Set targetOrigin: "+e),A=e},size:function(e,t){Se("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},function(){if(!0!==M)return;function e(e){Ie(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,n){ae("Add event listener: "+n),re(window.document,t,e)}t("mouseenter","Mouse Enter"),t("mouseleave","Mouse Leave")}(),ge(),v=function(){function e(){return{x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset}}function n(t){var n=t.getBoundingClientRect(),r=e();return{x:parseInt(n.left,10)+parseInt(r.x,10),y:parseInt(n.top,10)+parseInt(r.y,10)}}function r(e){function r(e){var t=n(e);ae("Moving to in page link (#"+o+") at x: "+t.x+" y: "+t.y),Ie(t.y,t.x,"scrollToOffset")}var o=e.split("#")[1]||e,i=decodeURIComponent(o),a=document.getElementById(i)||document.getElementsByName(i)[0];t===a?(ae("In page link (#"+o+") not found in iFrame, so sending to parent"),Ie(0,0,"inPageLink","#"+o)):r(a)}function o(){var e=window.location.hash,t=window.location.href;""!==e&&"#"!==e&&r(t)}function i(){function e(e){function t(e){e.preventDefault(),r(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&re(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){re(window,"hashchange",o)}function c(){setTimeout(o,f)}function s(){Array.prototype.forEach&&document.querySelectorAll?(ae("Setting up location.hash handlers"),i(),a(),c()):ce("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}v.enable?s():ae("In page linking not enabled");return{findTarget:r}}(),Se("init","Init message from host page"),$()}function ue(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],ce("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function le(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,ae("Body "+e+' set to "'+n+'"'))}function fe(e){var t={add:function(t){function n(){Se(e.eventName,e.eventType)}D[t]=n,re(window,t,n,{passive:!0})},remove:function(e){var t,n,r,o=D[e];delete D[e],t=window,n=e,r=o,t.removeEventListener(n,r,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),ae(oe(e.method)+" event listener: "+e.eventType)}function de(e){fe({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),fe({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),fe({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),fe({method:e,eventType:"Input",eventName:"input"}),fe({method:e,eventType:"Mouse Up",eventName:"mouseup"}),fe({method:e,eventType:"Mouse Down",eventName:"mousedown"}),fe({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),fe({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]}),fe({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),fe({method:e,eventType:"Touch Start",eventName:"touchstart"}),fe({method:e,eventType:"Touch End",eventName:"touchend"}),fe({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),fe({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),fe({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),fe({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===L&&fe({method:e,eventType:"IFrame Resized",eventName:"resize"})}function he(e,t,n,r){return t!==e&&(e in n||(ce(e+" is not a valid option for "+r+"CalculationMethod."),e=t),ae(r+' calculation method set to "'+e+'"')),e}function me(){p=he(p,m,Z,"height")}function pe(){_=he(_,z,ee,"width")}function ge(){var e;!0===n?(de("add"),e=0>b,window.MutationObserver||window.WebKitMutationObserver?e?ye():c=function(){function e(e){function t(e){!1===e.complete&&(ae("Attach listeners to "+e.src),e.addEventListener("load",o,!1),e.addEventListener("error",i,!1),s.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function t(e){s.splice(s.indexOf(e),1)}function n(e){ae("Remove listeners from "+e.src),e.removeEventListener("load",o,!1),e.removeEventListener("error",i,!1),t(e)}function r(e,t,r){n(e.target),Se(t,r+": "+e.target.src)}function o(e){r(e,"imageLoad","Image loaded")}function i(e){r(e,"imageLoadFailed","Image load failed")}function a(t){Se("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}function c(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return l=new u(a),ae("Create body MutationObserver"),l.observe(e,t),l}var s=[],u=window.MutationObserver||window.WebKitMutationObserver,l=c();return{disconnect:function(){"disconnect"in l&&(ae("Disconnect body MutationObserver"),l.disconnect(),s.forEach(n))}}}():(ae("MutationObserver not supported in this browser!"),ye())):ae("Auto Resize disabled")}function ye(){0!==b&&(ae("setInterval: "+b+"ms"),w=setInterval((function(){Se("interval","setInterval: "+b)}),Math.abs(b)))}function ve(e,t){var n=0;return t=t||document.body,n=null===(n=document.defaultView.getComputedStyle(t,null))?0:n[e],parseInt(n,r)}function be(e,t){for(var n=t.length,r=0,o=0,i=oe(e),a=Date.now(),c=0;c<n;c++)(r=t[c].getBoundingClientRect()[e]+ve("margin"+i,t[c]))>o&&(o=r);return a=Date.now()-a,ae("Parsed "+n+" HTML elements"),ae("Element position calculated in "+a+"ms"),function(e){e>j/2&&ae("Event throttle increased to "+(j=2*e)+"ms")}(a),o}function we(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function xe(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ce("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),be(e,n)}function Me(){return document.querySelectorAll("body *")}function Ee(e,n,r,o){var i,a;!function(){function e(e,t){return!(Math.abs(e-t)<=N)}return i=t===r?Z[p]():r,a=t===o?ee[_]():o,e(h,i)||u&&e(F,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(p in k||u&&_ in k)?Le(n):e in{interval:1}||ae("No change in size detected"):(Oe(),Ie(h=i,F=a,e))}function Se(e,t,n,r){C&&e in l?ae("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ae("Trigger event: "+t),"init"===e?Ee(e,t,n,r):te(e,t,n,r))}function Oe(){C||(C=!0,ae("Trigger event lock on")),clearTimeout(R),R=setTimeout((function(){C=!1,ae("Trigger event lock off"),ae("--")}),f)}function ke(e){h=Z[p](),F=ee[_](),Ie(h,F,e)}function Le(e){var t=p;p=m,ae("Reset trigger event: "+e),Oe(),ke("reset"),p=t}function Ie(e,n,r,o,i){var a;!0===I&&(t===i?i=A:ae("Message targetOrigin: "+i),ae("Sending message to host page ("+(a=O+":"+e+":"+n+":"+r+(t===o?"":":"+o))+")"),T.postMessage(E+a,i))}function Te(n){var r={init:function(){y=n.data,T=n.source,se(),d=!1,setTimeout((function(){g=!1}),f)},reset:function(){g?ae("Page reset ignored by init"):(ae("Page size reset by host page"),ke("resetPage"))},resize:function(){Se("resizeParent","Parent window requested size check")},moveToAnchor:function(){v.findTarget(i())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=i();ae("PageInfoFromParent called from parent: "+e),H(JSON.parse(e)),ae(" --")},message:function(){var e=i();ae("onMessage called from parent: "+e),W(JSON.parse(e)),ae(" --")}};function o(){return n.data.split("]")[1].split(":")[0]}function i(){return n.data.slice(n.data.indexOf(":")+1)}function a(){return n.data.split(":")[2]in{true:1,false:1}}function c(){var i=o();i in r?r[i]():!e.exports&&"iFrameResize"in window||window.jQuery!==t&&"iFrameResize"in window.jQuery.prototype||a()||ce("Unexpected message ("+n.data+")")}E===(""+n.data).slice(0,S)&&(!1===d?c():a()?r.init():ae('Ignored message of type "'+o()+'". Received before initialization.'))}function Ae(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},7514:function(e,t){var n,r,o;console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(i){if("undefined"!=typeof window){var a,c,s=0,u=!1,l=!1,f=7,d="[iFrameSizer]",h=d.length,m=null,p=window.requestAnimationFrame,g=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),y={},v=null,b=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){I("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),w={};window.jQuery!==i&&((c=window.jQuery).fn?c.fn.iFrameResize||(c.fn.iFrameResize=function(e){return this.filter("iframe").each((function(t,n){q(n,e)})).end()}):L("","Unable to bind to jQuery, it is not fully loaded.")),r=[],(o="function"==typeof(n=J)?n.apply(t,r):n)===i||(e.exports=o),window.iFrameResize=window.iFrameResize||J()}function x(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function M(e,t,n){e.addEventListener(t,n,!1)}function E(e,t,n){e.removeEventListener(t,n,!1)}function S(e){return d+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}function O(e){return y[e]?y[e].log:u}function k(e,t){T("log",e,t,O(e))}function L(e,t){T("info",e,t,O(e))}function I(e,t){T("warn",e,t,!0)}function T(e,t,n,r){!0===r&&"object"==typeof window.console&&console[e](S(t),n)}function A(e){function t(){o("Height"),o("Width"),W((function(){P(A),F(C),p("onResized",A)}),A,"init")}function n(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}function r(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}function o(e){var t=Number(y[C]["max"+e]),n=Number(y[C]["min"+e]),r=e.toLowerCase(),o=Number(A[r]);k(C,"Checking "+r+" is in range "+n+"-"+t),o<n&&(o=n,k(C,"Set "+r+" to min value")),o>t&&(o=t,k(C,"Set "+r+" to max value")),A[r]=""+o}function i(e){return T.slice(T.indexOf(":")+f+e)}function a(e,t){var n,r,o;n=function(){var n,r;$("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),r=A.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},r=32,w[o=t]||(w[o]=setTimeout((function(){w[o]=null,n()}),r))}function c(e){var t=e.getBoundingClientRect();return j(C),{x:Math.floor(Number(t.left)+Number(m.x)),y:Math.floor(Number(t.top)+Number(m.y))}}function s(e){var t=e?c(A.iframe):{x:0,y:0},n={x:Number(A.width)+t.x,y:Number(A.height)+t.y};k(C,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top===window.self?(m=n,u(),k(C,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):I(C,"Unable to scroll to requested position, window.parentIFrame not found")}function u(){!1===p("onScroll",m)?z():F(C)}function l(e){var t={};if(0===Number(A.width)&&0===Number(A.height)){var n=i(9).split(":");t={x:n[1],y:n[0]}}else t={x:A.width,y:A.height};p(e,{iframe:A.iframe,screenX:Number(t.x),screenY:Number(t.y),type:A.type})}function p(e,t){return N(C,e,t)}var g,v,b,x,S,O,T=e.data,A={},C=null;"[iFrameResizerChild]Ready"===T?function(){for(var e in y)$("iFrame requested init",H(e),y[e].iframe,e)}():d===(""+T).slice(0,h)&&T.slice(h).split(":")[0]in y?(b=T.slice(h).split(":"),x=b[1]?parseInt(b[1],10):0,S=y[b[0]]&&y[b[0]].iframe,O=getComputedStyle(S),A={iframe:S,id:b[0],height:x+n(O)+r(O),width:b[2],type:b[3]},C=A.id,y[C]&&(y[C].loaded=!0),(v=A.type in{true:1,false:1,undefined:1})&&k(C,"Ignoring init message from meta parent page"),!v&&function(e){var t=!0;return y[e]||(t=!1,I(A.type+" No settings for "+e+". Message was: "+T)),t}(C)&&(k(C,"Received: "+T),g=!0,null===A.iframe&&(I(C,"IFrame ("+A.id+") not found"),g=!1),g&&function(){var t,n=e.origin,r=y[C]&&y[C].checkOrigin;if(r&&""+n!="null"&&!(r.constructor===Array?function(){var e=0,t=!1;for(k(C,"Checking connection is from allowed list of origins: "+r);e<r.length;e++)if(r[e]===n){t=!0;break}return t}():(t=y[C]&&y[C].remoteHost,k(C,"Checking connection is from: "+t),n===t)))throw new Error("Unexpected message received from: "+n+" for "+A.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(y[C]&&y[C].firstRun&&y[C]&&(y[C].firstRun=!1),A.type){case"close":R(A.iframe);break;case"message":f=i(6),k(C,"onMessage passed: {iframe: "+A.iframe.id+", message: "+f+"}"),p("onMessage",{iframe:A.iframe,message:JSON.parse(f)}),k(C,"--");break;case"mouseenter":l("onMouseEnter");break;case"mouseleave":l("onMouseLeave");break;case"autoResize":y[C].autoResize=JSON.parse(i(9));break;case"scrollTo":s(!1);break;case"scrollToOffset":s(!0);break;case"pageInfo":a(y[C]&&y[C].iframe,C),function(){function e(e,r){function o(){y[n]?a(y[n].iframe,n):t()}["scroll","resize"].forEach((function(t){k(n,e+t+" listener for sendPageInfo"),r(window,t,o)}))}function t(){e("Remove ",E)}var n=C;e("Add ",M),y[n]&&(y[n].stopPageInfo=t)}();break;case"pageInfoStop":y[C]&&y[C].stopPageInfo&&(y[C].stopPageInfo(),delete y[C].stopPageInfo);break;case"inPageLink":n=i(9).split("#")[1]||"",r=decodeURIComponent(n),(o=document.getElementById(r)||document.getElementsByName(r)[0])?(e=c(o),k(C,"Moving to in page link (#"+n+") at x: "+e.x+" y: "+e.y),m={x:e.x,y:e.y},u(),k(C,"--")):window.top===window.self?k(C,"In page link #"+n+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(n):k(C,"In page link #"+n+" not found and window.parentIFrame not found");break;case"reset":_(A);break;case"init":t(),p("onInit",A.iframe);break;default:0===Number(A.width)&&0===Number(A.height)?I("Unsupported message received ("+A.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):t()}var e,n,r,o,f}())):L(C,"Ignored: "+T)}function N(e,t,n){var r=null,o=null;if(y[e]){if("function"!=typeof(r=y[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=r(n)}return o}function C(e){var t=e.id;delete y[t]}function R(e){var t=e.id;if(!1!==N(t,"onClose",t)){k(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){I(e)}N(t,"onClosed",t),k(t,"--"),C(e),a&&(a.disconnect(),a=null)}else k(t,"Close iframe cancelled by onClose event")}function j(e){null===m&&k(e,"Get page position: "+(m={x:window.pageXOffset===i?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===i?document.documentElement.scrollTop:window.pageYOffset}).x+","+m.y)}function F(e){null!==m&&(window.scrollTo(m.x,m.y),k(e,"Set page position: "+m.x+","+m.y),z())}function z(){m=null}function _(e){k(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),j(e.id),W((function(){P(e),$("reset","reset",e.iframe,e.id)}),e,"reset")}function P(e){function t(t){l||"0"!==e[t]||(l=!0,k(r,"Hidden iFrame detected, creating visibility listener"),function(){function e(){function e(e){function t(t){return"0px"===(y[e]&&y[e].iframe.style[t])}function n(e){return null!==e.offsetParent}y[e]&&n(y[e].iframe)&&(t("height")||t("width"))&&$("Visibility change","resize",y[e].iframe,e)}Object.keys(y).forEach((function(t){e(t)}))}function t(t){k("window","Mutation observed: "+t[0].target+" "+t[0].type),D(e,16)}function n(){var e=document.querySelector("body"),n={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new r(t).observe(e,n)}var r=x();r&&n()}())}function n(n){!function(t){e.id?(e.iframe.style[t]=e[t]+"px",k(e.id,"IFrame ("+r+") "+t+" set to "+e[t]+"px")):k("undefined","messageData id not set")}(n),t(n)}var r=e.iframe.id;y[r]&&(y[r].sizeHeight&&n("height"),y[r].sizeWidth&&n("width"))}function W(e,t,n){n!==t.type&&p&&!window.jasmine?(k(t.id,"Requesting animation frame"),p(e)):e()}function $(e,t,n,r,o){var i,a=!1;r=r||n.id,y[r]&&(n&&"contentWindow"in n&&null!==n.contentWindow?(i=y[r]&&y[r].targetOrigin,k(r,"["+e+"] Sending msg to iframe["+r+"] ("+t+") targetOrigin: "+i),n.contentWindow.postMessage(d+t,i)):I(r,"["+e+"] IFrame("+r+") not found"),o&&y[r]&&y[r].warningTimeout&&(y[r].msgTimeout=setTimeout((function(){!y[r]||y[r].loaded||a||(a=!0,I(r,"IFrame has not responded within "+y[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),y[r].warningTimeout)))}function H(e){return e+":"+y[e].bodyMarginV1+":"+y[e].sizeWidth+":"+y[e].log+":"+y[e].interval+":"+y[e].enablePublicMethods+":"+y[e].autoResize+":"+y[e].bodyMargin+":"+y[e].heightCalculationMethod+":"+y[e].bodyBackground+":"+y[e].bodyPadding+":"+y[e].tolerance+":"+y[e].inPageLinks+":"+y[e].resizeFrom+":"+y[e].widthCalculationMethod+":"+y[e].mouseEvents}function q(e,t){function n(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],I(r,"Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}var r=function(n){if("string"!=typeof n)throw new TypeError("Invaild id for iFrame. Expected String");var r;return""===n&&(e.id=(r=t&&t.id||b.id+s++,null!==document.getElementById(r)&&(r+=s++),n=r),u=(t||{}).log,k(n,"Added missing iframe ID: "+n+" ("+e.src+")")),n}(e.id);r in y&&"iFrameResizer"in e?I(r,"Ignored iFrame, already setup."):(!function(t){var o;t=t||{},y[r]=Object.create(null),y[r].iframe=e,y[r].firstRun=!0,y[r].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(t),Object.keys(t).forEach(n,t),function(e){for(var t in b)Object.prototype.hasOwnProperty.call(b,t)&&(y[r][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:b[t])}(t),y[r]&&(y[r].targetOrigin=!0===y[r].checkOrigin?""===(o=y[r].remoteHost)||null!==o.match(/^(about:blank|javascript:|file:\/\/)/)?"*":o:"*")}(t),function(){switch(k(r,"IFrame scrolling "+(y[r]&&y[r].scrolling?"enabled":"disabled")+" for "+r),e.style.overflow=!1===(y[r]&&y[r].scrolling)?"hidden":"auto",y[r]&&y[r].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=y[r]?y[r].scrolling:"no"}}(),function(){function t(t){var n=y[r][t];1/0!==n&&0!==n&&(e.style[t]="number"==typeof n?n+"px":n,k(r,"Set "+t+" = "+e.style[t]))}function n(e){if(y[r]["min"+e]>y[r]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(y[r]&&y[r].bodyMargin)&&"0"!==(y[r]&&y[r].bodyMargin)||(y[r].bodyMarginV1=y[r].bodyMargin,y[r].bodyMargin=y[r].bodyMargin+"px"),function(t){var n=x();n&&(a=function(t){if(!e.parentNode)return null;var n=new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&R(e)}))}))}));return n.observe(e.parentNode,{childList:!0}),n}(n)),M(e,"load",(function(){var n,o;$("iFrame.onload",t,e,i,!0),n=y[r]&&y[r].firstRun,o=y[r]&&y[r].heightCalculationMethod in g,!n&&o&&_({iframe:e,height:0,width:0,type:"init"})})),$("init",t,e,i,!0)}(H(r)),y[r]&&(y[r].iframe.iFrameResizer={close:R.bind(null,y[r].iframe),removeListeners:C.bind(null,y[r].iframe),resize:$.bind(null,"Window resize","resize",y[r].iframe),moveToAnchor:function(e){$("Move to anchor","moveToAnchor:"+e,y[r].iframe,r)},sendMessage:function(e){$("Send Message","message:"+(e=JSON.stringify(e)),y[r].iframe,r)}}))}function D(e,t){null===v&&(v=setTimeout((function(){v=null,e()}),t))}function B(){"hidden"!==document.visibilityState&&(k("document","Trigger event: Visibility change"),D((function(){U("Tab Visible","resize")}),16))}function U(e,t){Object.keys(y).forEach((function(n){(function(e){return y[e]&&"parent"===y[e].resizeFrom&&y[e].autoResize&&!y[e].firstRun})(n)&&$(e,t,y[n].iframe,n)}))}function V(){M(window,"message",A),M(window,"resize",(function(){var e;k("window","Trigger event: "+(e="resize")),D((function(){U("Window "+e,"resize")}),16)})),M(document,"visibilitychange",B),M(document,"-webkit-visibilitychange",B)}function J(){function e(e,n){n&&(!function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}(),q(n,e),t.push(n))}var t;return function(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!p;e+=1)p=window[t[e]+"RequestAnimationFrame"];p?p=p.bind(window):k("setup","RequestAnimationFrame not supported")}(),V(),function(n,r){switch(t=[],function(e){e&&e.enablePublicMethods&&I("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(n),typeof r){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(r||"iframe"),e.bind(i,n));break;case"object":e(n,r);break;default:throw new TypeError("Unexpected data type ("+typeof r+")")}return t}}}()},778:function(e,t,n){var r=n(5929).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var o=t&&t.prototype instanceof w?t:w,i=Object.create(o.prototype),a=new R(r||[]);return c(i,"_invoke",{value:T(e,n,a)}),i}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var p="suspendedStart",g="suspendedYield",y="executing",v="completed",b={};function w(){}function x(){}function M(){}var E={};d(E,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(j([])));O&&O!==i&&a.call(O,u)&&(E=O);var k=M.prototype=w.prototype=Object.create(E);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function n(o,i,c,s){var u=m(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,s)}),(function(e){n("throw",e,c,s)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,s)}))}s(u.arg)}var o;c(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function T(e,n,r){var o=p;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=A(c,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var u=m(e,n,r);if("normal"===u.type){if(o=r.done?v:g,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=v,r.method="throw",r.arg=u.arg)}}}function A(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=m(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,b;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function j(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return x.prototype=M,c(k,"constructor",{value:M,configurable:!0}),c(M,"constructor",{value:x,configurable:!0}),x.displayName=d(M,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,d(e,f,"GeneratorFunction")),e.prototype=Object.create(k),e},n.awrap=function(e){return{__await:e}},L(I.prototype),d(I.prototype,l,(function(){return this})),n.AsyncIterator=I,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new I(h(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},L(k),d(k,f,"Generator"),d(k,u,(function(){return this})),d(k,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=j,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},5929:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9:function(e,t,n){var r=n(778)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},7940:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}n.d(t,{A:function(){return o}})},3225:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(8503);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8503:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:function(){return r}})},7148:function(e,t,n){"use strict";function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===d(e)}n.d(t,{A:function(){return G}});const o=1/0;function i(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-o?"-0":t}(e)}function a(e){return"string"==typeof e}function c(e){return"number"==typeof e}function s(e){return!0===e||!1===e||function(e){return u(e)&&null!==e}(e)&&"[object Boolean]"==d(e)}function u(e){return"object"==typeof e}function l(e){return null!=e}function f(e){return!e.trim().length}function d(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const h=e=>`Missing ${e} property in key`,m=e=>`Property 'weight' in key '${e}' must be a positive integer`,p=Object.prototype.hasOwnProperty;class g{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=y(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function y(e){let t=null,n=null,o=null,i=1,c=null;if(a(e)||r(e))o=e,t=v(e),n=b(e);else{if(!p.call(e,"name"))throw new Error(h("name"));const r=e.name;if(o=r,p.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(m(r));t=v(r),n=b(r),c=e.getFn}return{path:t,id:n,weight:i,src:o,getFn:c}}function v(e){return r(e)?e:e.split(".")}function b(e){return r(e)?e.join("."):e}var w={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],o=!1;const u=(e,t,f)=>{if(l(e))if(t[f]){const d=e[t[f]];if(!l(d))return;if(f===t.length-1&&(a(d)||c(d)||s(d)))n.push(i(d));else if(r(d)){o=!0;for(let e=0,n=d.length;e<n;e+=1)u(d[e],t,f+1)}else t.length&&u(d,t,f+1)}else n.push(e)};return u(e,a(t)?t.split("."):t,0),o?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const x=/[^ ]+/g;class M{constructor({getFn:e=w.getFn,fieldNormWeight:t=w.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const o=t.match(x).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,a(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();a(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!l(e)||f(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,o)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(l(i))if(r(i)){let e=[];const t=[{nestedArrIndex:-1,value:i}];for(;t.length;){const{nestedArrIndex:n,value:o}=t.pop();if(l(o))if(a(o)&&!f(o)){let t={v:o,i:n,n:this.norm.get(o)};e.push(t)}else r(o)&&o.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[o]=e}else if(a(i)&&!f(i)){let e={v:i,n:this.norm.get(i)};n.$[o]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function E(e,t,{getFn:n=w.getFn,fieldNormWeight:r=w.fieldNormWeight}={}){const o=new M({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(y)),o.setSources(t),o.create(),o}function S(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=w.distance,ignoreLocation:i=w.ignoreLocation}={}){const a=t/e.length;if(i)return a;const c=Math.abs(r-n);return o?a+c/o:c?1:a}const O=32;function k(e,t,n,{location:r=w.location,distance:o=w.distance,threshold:i=w.threshold,findAllMatches:a=w.findAllMatches,minMatchCharLength:c=w.minMatchCharLength,includeMatches:s=w.includeMatches,ignoreLocation:u=w.ignoreLocation}={}){if(t.length>O)throw new Error(`Pattern length exceeds max of ${O}.`);const l=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let h=i,m=d;const p=c>1||s,g=p?Array(f):[];let y;for(;(y=e.indexOf(t,m))>-1;){let e=S(t,{currentLocation:y,expectedLocation:d,distance:o,ignoreLocation:u});if(h=Math.min(e,h),m=y+l,p){let e=0;for(;e<l;)g[y+e]=1,e+=1}}m=-1;let v=[],b=1,x=l+f;const M=1<<l-1;for(let r=0;r<l;r+=1){let i=0,c=x;for(;i<c;){S(t,{errors:r,currentLocation:d+c,expectedLocation:d,distance:o,ignoreLocation:u})<=h?i=c:x=c,c=Math.floor((x-i)/2+i)}x=c;let s=Math.max(1,d-c+1),y=a?f:Math.min(d+c,f)+l,w=Array(y+2);w[y+1]=(1<<r)-1;for(let i=y;i>=s;i-=1){let a=i-1,c=n[e.charAt(a)];if(p&&(g[a]=+!!c),w[i]=(w[i+1]<<1|1)&c,r&&(w[i]|=(v[i+1]|v[i])<<1|1|v[i+1]),w[i]&M&&(b=S(t,{errors:r,currentLocation:a,expectedLocation:d,distance:o,ignoreLocation:u}),b<=h)){if(h=b,m=a,m<=d)break;s=Math.max(1,2*d-m)}}if(S(t,{errors:r+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:u})>h)break;v=w}const E={isMatch:m>=0,score:Math.max(.001,b)};if(p){const e=function(e=[],t=w.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let a=e.length;i<a;i+=1){let a=e[i];a&&-1===r?r=i:a||-1===r||(o=i-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(g,c);e.length?s&&(E.indices=e):E.isMatch=!1}return E}function L(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class I{constructor(e,{location:t=w.location,threshold:n=w.threshold,distance:r=w.distance,includeMatches:o=w.includeMatches,findAllMatches:i=w.findAllMatches,minMatchCharLength:a=w.minMatchCharLength,isCaseSensitive:c=w.isCaseSensitive,ignoreLocation:s=w.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:s},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:L(e),startIndex:t})},l=this.pattern.length;if(l>O){let e=0;const t=l%O,n=l-t;for(;e<n;)u(this.pattern.substr(e,O),e),e+=O;if(t){const e=l-O;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,ignoreLocation:s}=this.options;let u=[],l=0,f=!1;this.chunks.forEach((({pattern:t,alphabet:d,startIndex:h})=>{const{isMatch:m,score:p,indices:g}=k(e,t,d,{location:r+h,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,includeMatches:n,ignoreLocation:s});m&&(f=!0),l+=p,m&&g&&(u=[...u,...g])}));let d={isMatch:f,score:f?l/this.chunks.length:1};return f&&n&&(d.indices=u),d}}class T{constructor(e){this.pattern=e}static isMultiMatch(e){return A(e,this.multiRegex)}static isSingleMatch(e){return A(e,this.singleRegex)}search(){}}function A(e,t){const n=e.match(t);return n?n[1]:null}class N extends T{constructor(e,{location:t=w.location,threshold:n=w.threshold,distance:r=w.distance,includeMatches:o=w.includeMatches,findAllMatches:i=w.findAllMatches,minMatchCharLength:a=w.minMatchCharLength,isCaseSensitive:c=w.isCaseSensitive,ignoreLocation:s=w.ignoreLocation}={}){super(e),this._bitapSearch=new I(e,{location:t,threshold:n,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:s})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class C extends T{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],o=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const R=[class extends T{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},C,class extends T{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},N],j=R.length,F=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const z=new Set([N.type,C.type]);class _{constructor(e,{isCaseSensitive:t=w.isCaseSensitive,includeMatches:n=w.includeMatches,minMatchCharLength:r=w.minMatchCharLength,ignoreLocation:o=w.ignoreLocation,findAllMatches:i=w.findAllMatches,location:a=w.location,threshold:c=w.threshold,distance:s=w.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:c,distance:s},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(F).filter((e=>e&&!!e.trim())),r=[];for(let e=0,o=n.length;e<o;e+=1){const o=n[e];let i=!1,a=-1;for(;!i&&++a<j;){const e=R[a];let n=e.isMultiMatch(o);n&&(r.push(new e(n,t)),i=!0)}if(!i)for(a=-1;++a<j;){const e=R[a];let n=e.isSingleMatch(o);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let o=0,i=[],a=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];i.length=0,o=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:s,indices:u,score:l}=r.search(e);if(!s){a=0,o=0,i.length=0;break}if(o+=1,a+=l,n){const e=r.constructor.type;z.has(e)?i=[...i,...u]:i.push(u)}}if(o){let e={isMatch:!0,score:a/o};return n&&(e.indices=i),e}}return{isMatch:!1,score:1}}}const P=[];function W(e,t){for(let n=0,r=P.length;n<r;n+=1){let r=P[n];if(r.condition(e,t))return new r(e,t)}return new I(e,t)}const $="$and",H="$or",q="$path",D="$val",B=e=>!(!e[$]&&!e[H]),U=e=>({[$]:Object.keys(e).map((t=>({[t]:e[t]})))});function V(e,t,{auto:n=!0}={}){const o=e=>{let i=Object.keys(e);const c=(e=>!!e[q])(e);if(!c&&i.length>1&&!B(e))return o(U(e));if((e=>!r(e)&&u(e)&&!B(e))(e)){const r=c?e[q]:i[0],o=c?e[D]:e[r];if(!a(o))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={keyId:b(r),pattern:o};return n&&(s.searcher=W(o,t)),s}let s={children:[],operator:i[0]};return i.forEach((t=>{const n=e[t];r(n)&&n.forEach((e=>{s.children.push(o(e))}))})),s};return B(e)||(e=U(e)),o(e)}function J(e,t){const n=e.matches;t.matches=[],l(n)&&n.forEach((e=>{if(!l(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let o={indices:n,value:r};e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)}))}function Y(e,t){t.score=e.score}class G{constructor(e,t={},n){this.options={...w,...t},this.options.useExtendedSearch,this._keyStore=new g(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof M))throw new Error("Incorrect 'index' type");this._myIndex=t||E(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){l(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:o,sortFn:i,ignoreFieldNorm:s}=this.options;let u=a(e)?a(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=w.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:o})=>{const i=e?e.weight:null;n*=Math.pow(0===o&&i?Number.EPSILON:o,(i||1)*(t?1:r))})),e.score=n}))}(u,{ignoreFieldNorm:s}),o&&u.sort(i),c(t)&&t>-1&&(u=u.slice(0,t)),function(e,t,{includeMatches:n=w.includeMatches,includeScore:r=w.includeScore}={}){const o=[];return n&&o.push(J),r&&o.push(Y),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return o.length&&o.forEach((t=>{t(e,r)})),r}))}(u,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=W(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:o})=>{if(!l(e))return;const{isMatch:i,score:a,indices:c}=t.searchIn(e);i&&r.push({item:e,idx:n,matches:[{score:a,value:e,norm:o,indices:c}]})})),r}_searchLogical(e){const t=V(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:o}=e,i=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o});return i&&i.length?[{idx:r,item:t,matches:i}]:[]}const o=[];for(let i=0,a=e.children.length;i<a;i+=1){const a=e.children[i],c=n(a,t,r);if(c.length)o.push(...c);else if(e.operator===$)return[]}return o},r=this._myIndex.records,o={},i=[];return r.forEach((({$:e,i:r})=>{if(l(e)){let a=n(t,e,r);a.length&&(o[r]||(o[r]={idx:r,item:e,matches:[]},i.push(o[r])),a.forEach((({matches:e})=>{o[r].matches.push(...e)})))}})),i}_searchObjectList(e){const t=W(e,this.options),{keys:n,records:r}=this._myIndex,o=[];return r.forEach((({$:e,i:r})=>{if(!l(e))return;let i=[];n.forEach(((n,r)=>{i.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),i.length&&o.push({idx:r,item:e,matches:i})})),o}_findMatches({key:e,value:t,searcher:n}){if(!l(t))return[];let o=[];if(r(t))t.forEach((({v:t,i:r,n:i})=>{if(!l(t))return;const{isMatch:a,score:c,indices:s}=n.searchIn(t);a&&o.push({score:c,key:e,value:t,idx:r,norm:i,indices:s})}));else{const{v:r,n:i}=t,{isMatch:a,score:c,indices:s}=n.searchIn(r);a&&o.push({score:c,key:e,value:r,norm:i,indices:s})}return o}}G.version="7.0.0",G.createIndex=E,G.parseIndex=function(e,{getFn:t=w.getFn,fieldNormWeight:n=w.fieldNormWeight}={}){const{keys:r,records:o}=e,i=new M({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i},G.config=w,G.parseQuery=V,function(...e){P.push(...e)}(_)},8821:function(e,t,n){"use strict";function r(e){const t=(e=e||{}).lazyClass||"lazy",n=e.lazyBackgroundClass||"lazy-bg",r="idleLoadTimeout"in e?e.idleLoadTimeout:200,o=e.observeChanges||!1,i=e.events||{},a=e.noPolyfill||!1,c=window,s="requestIdleCallback",u="IntersectionObserver",l=u in c&&`${u}Entry`in c,f=/baidu|(?:google|bing|yandex|duckduck)bot/i.test(navigator.userAgent),d=["srcset","src","poster"],h=[],m=(e,r)=>h.slice.call((r||document).querySelectorAll(e||`img.${t},video.${t},iframe.${t},.${n}`)),p=t=>{const r=t.parentNode;"PICTURE"==r.nodeName&&v(m("source",r),y),"VIDEO"==t.nodeName&&v(m("source",t),y),y(t);const o=t.classList;o.contains(n)&&(o.remove(n),o.add(e.lazyBackgroundLoaded||"lazy-bg-loaded"))},g=e=>{for(let t in i)e.addEventListener(t,i[t].listener||i[t],i[t].options||void 0)},y=e=>{for(let n in d)if(d[n]in e.dataset){e.setAttribute(d[n],e.dataset[d[n]]);const r=e.parentNode;"SOURCE"===e.nodeName&&r.autoplay&&(r.load(),/Trident/.test(navigator.userAgent)&&r.play(),r.classList.remove(t)),e.classList.remove(t)}},v=(e,t)=>{for(let n=0;n<e.length;n++)c[u]&&t instanceof c[u]?t.observe(e[n]):t(e[n])},b=t=>{new MutationObserver((()=>{v(m(),(e=>{w.indexOf(e)<0&&(w.push(e),g(e),l&&!f?x.observe(e):(a||f)&&v(w,p))}))})).observe(t,e.mutationObserverOptions||{childList:!0,subtree:!0})};let w=m();if(v(w,g),l&&!f){var x=new c[u]((e=>{v(e,(e=>{if(e.isIntersecting||e.intersectionRatio){const t=e.target;s in c&&r?c[s]((()=>{p(t)}),{timeout:r}):p(t),x.unobserve(t),w=w.filter((e=>e!=t)),w.length||o||x.disconnect()}}))}),{rootMargin:`${"threshold"in e?e.threshold:200}px 0%`});v(w,x),o&&v(m(e.observeRootSelector||"body"),b)}else(a||f)&&v(w,p)}n.d(t,{A:function(){return r}})}}]);
@@ -16,9 +16,9 @@ _%>
16
16
  <link rel="stylesheet" href="<%= customStylesFile %>">
17
17
  <%_ } _%>
18
18
  <link href="<%= basePath %>/_assets/styles/inject.9a109bf.css" rel="prefetch" as="style">
19
- <link href="<%= basePath %>/_assets/scripts/inject.609410f.js" rel="prefetch" as="script">
19
+ <link href="<%= basePath %>/_assets/scripts/inject.3790bb2.js" rel="prefetch" as="script">
20
20
  <link href="<%= basePath %>/_assets/styles/MainComponent.ff3bbb4.css" rel="prefetch" as="style">
21
- <link href="<%= basePath %>/_assets/scripts/MainComponent.7782a0b.js" rel="prefetch" as="script">
21
+ <link href="<%= basePath %>/_assets/scripts/MainComponent.6a7d4f8.js" rel="prefetch" as="script">
22
22
  <script>
23
23
  window.UIengine = {
24
24
  base: <%- helpers.htmlescape(base) %>,
@@ -26,7 +26,7 @@ _%>
26
26
  locales: {"de":{"_meta":{"title":"Deutsch"},"navigation":{"toggle":"Navigation umschalten"},"options":{"edit":"Bearbeiten","info":"Info","properties":"Properties","theme_properties":"Themes","preview":"Vorschau","code":"Code","copy_permalink":"Variantenlink kopieren","open_in_window":"In separatem Fenster öffnen","edit_on_codepen":"In Codepen öffnen","reset":"zurücksetzen","toggle":"umschalten","all_themes":"Alle anzeigen","loading":"Wird geladen…","copy_code":"Code kopieren","copy_code_tooltip":"Kopiert!"},"code":{"raw":"Code","context":"Daten","rendered":"HTML"},"component":{"dependencies":"Zusammengesetzt aus","dependents":"Wird benutzt von"},"token":{"name":"Name","type":"Typ","icon":"Icon","demo":"Demo","value":"Wert","usage":"Gebrauch","license":"Lizenz","fontface":"Schriftart","fontweight":"Schriftschnitt","variable":"Variable","description":"Beschreibung","reference":"Referenz","property":"Eigenschaft","theme":"Theme","default":"Standard"},"properties":{"title":"Datentypen","name":"Property","type":"Typ","description":"Beschreibung","required":"Pflicht","default":"Standard"},"footer":{"version":"Version","last_update":"Letztes Update am"},"search":{"label":"Suche","toggle":"Suche umschalten","title":"Suchergebnisse für \"%{query}\"","no_results":"Leider konnten keine passenden Suchergebnisse gefunden werden."},"settings":{"title":"Einstellungen","locale":"Sprache","hljs":"Highlight-Theme","preview_mode":"Vorschaumodus","breakpoints":"Breakpoints","viewports":"Viewports"},"not_found":{"title":"Nicht gefunden","content":"Diese Seite existiert leider nicht."}},"en":{"_meta":{"title":"English"},"navigation":{"toggle":"Toggle navigation"},"options":{"edit":"Edit","info":"Info","properties":"Properties","theme_properties":"Themes","preview":"Preview","code":"Code","copy_permalink":"Copy link to variant","open_in_window":"Open in separate window","edit_on_codepen":"Edit on Codepen","reset":"reset","toggle":"toggle","all_themes":"All themes","loading":"Loading…","copy_code":"Copy to clipboard","copy_code_tooltip":"Copied!"},"code":{"raw":"Code","context":"Data","rendered":"HTML"},"component":{"dependencies":"Composed of","dependents":"Used within"},"token":{"name":"Name","type":"Type","icon":"Icon","demo":"Demo","value":"Value","usage":"Usage","license":"License","fontface":"Typeface","fontweight":"Weight","variable":"Variable","description":"Description","reference":"Reference","property":"Property","theme":"Theme","default":"Default"},"properties":{"title":"Datatypes","name":"Property","type":"Type","description":"Description","required":"Required","default":"Default"},"footer":{"version":"Version","last_update":"Last updated on"},"search":{"label":"Search","toggle":"Toggle search","title":"Search results for \"%{query}\"","no_results":"Unfortunately there is no content matching your search query."},"settings":{"title":"Settings","locale":"Locale","hljs":"Highlight-Theme","preview_mode":"Preview Mode","breakpoints":"Breakpoints","viewports":"Viewports"},"not_found":{"title":"Not Found","content":"This page does not exist."}}},
27
27
  iframeScripts: [
28
28
  "<%= basePath %>/_assets/scripts/preview.1730c6c.js",
29
- "<%= basePath %>/_assets/scripts/runtime.9a85958.js",
29
+ "<%= basePath %>/_assets/scripts/runtime.000329b.js",
30
30
  <%_ for (index in plugin.iframe_js) { _%>
31
31
  <%- JSON.stringify(plugin.iframe_js[index]) %>,
32
32
  <%_ } _%>
@@ -55,11 +55,10 @@ _%>
55
55
  </defs>
56
56
  </svg>
57
57
  <div id="app"></div>
58
- <script src="https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver"></script>
59
- <script src="<%= basePath %>/_assets/scripts/runtime.9a85958.js"></script>
60
- <script src="<%= basePath %>/_assets/scripts/vendor_other.d0ce12e.js"></script>
58
+ <script src="<%= basePath %>/_assets/scripts/runtime.000329b.js"></script>
59
+ <script src="<%= basePath %>/_assets/scripts/vendor_other.91011de.js"></script>
61
60
  <script src="<%= basePath %>/_assets/scripts/vendor_vue.7f61b73.js"></script>
62
- <script src="<%= basePath %>/_assets/scripts/main.0dbf6aa.js"></script>
61
+ <script src="<%= basePath %>/_assets/scripts/main.d6d6272.js"></script>
63
62
  <%_ for (index in plugin.js) { _%>
64
63
  <script src="<%- plugin.js[index] %>"></script>
65
64
  <%_ } _%>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uiengine/ui",
3
3
  "description": "UIengine user interface.",
4
4
  "license": "MIT",
5
- "version": "3.3.17",
5
+ "version": "3.3.19",
6
6
  "author": "Dennis Reimann <mail@dennisreimann.de> (https://dennisreimann.de)",
7
7
  "homepage": "https://github.com/dennisreimann/uiengine",
8
8
  "bugs": "https://github.com/dennisreimann/uiengine/issues",
@@ -35,8 +35,8 @@
35
35
  "lint": "eslint --fix --ext .js,.vue src test"
36
36
  },
37
37
  "dependencies": {
38
- "@babel/runtime": "7.25.7",
39
- "@uiengine/util": "3.3.17",
38
+ "@babel/runtime": "7.26.0",
39
+ "@uiengine/util": "3.3.19",
40
40
  "color": "4.2.3",
41
41
  "cross-env": "7.0.3",
42
42
  "deepmerge": "4.3.1",
@@ -52,15 +52,15 @@
52
52
  "yall-js": "3.2.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/core": "7.25.8",
55
+ "@babel/core": "7.26.0",
56
56
  "@babel/plugin-proposal-object-rest-spread": "7.20.7",
57
57
  "@babel/plugin-syntax-dynamic-import": "7.8.3",
58
- "@babel/plugin-transform-runtime": "7.25.7",
59
- "@babel/preset-env": "7.25.8",
58
+ "@babel/plugin-transform-runtime": "7.25.9",
59
+ "@babel/preset-env": "7.26.0",
60
60
  "@vue/compiler-sfc": "3.5.12",
61
61
  "autoprefixer": "10.4.20",
62
62
  "babel-loader": "9.2.1",
63
- "caniuse-lite": "1.0.30001668",
63
+ "caniuse-lite": "1.0.30001684",
64
64
  "clipboard": "2.0.11",
65
65
  "compile-ejs-loader": "0.0.3",
66
66
  "copy-webpack-plugin": "12.0.2",
@@ -71,26 +71,26 @@
71
71
  "eslint-friendly-formatter": "4.0.1",
72
72
  "eslint-import-resolver-node": "0.3.9",
73
73
  "eslint-plugin-import": "2.31.0",
74
- "eslint-plugin-n": "17.11.1",
74
+ "eslint-plugin-n": "17.14.0",
75
75
  "eslint-plugin-node": "11.1.0",
76
76
  "eslint-plugin-promise": "7.1.0",
77
- "eslint-plugin-vue": "9.29.0",
77
+ "eslint-plugin-vue": "9.31.0",
78
78
  "eslint-webpack-plugin": "4.2.0",
79
79
  "file-loader": "6.2.0",
80
80
  "html-minifier": "4.0.0",
81
- "html-webpack-plugin": "5.6.0",
81
+ "html-webpack-plugin": "5.6.3",
82
82
  "iframe-resizer": "4.4.5",
83
- "mini-css-extract-plugin": "2.9.1",
84
- "mocha": "10.7.3",
83
+ "mini-css-extract-plugin": "2.9.2",
84
+ "mocha": "10.8.2",
85
85
  "mocha-sinon": "2.1.2",
86
86
  "node-notifier": "10.0.1",
87
- "postcss": "8.4.47",
87
+ "postcss": "8.4.49",
88
88
  "postcss-import": "16.1.0",
89
89
  "postcss-loader": "8.1.1",
90
90
  "rimraf": "6.0.1",
91
91
  "run-sequence": "2.2.1",
92
- "sinon": "18.0.1",
93
- "stylus": "0.63.0",
92
+ "sinon": "19.0.2",
93
+ "stylus": "0.64.0",
94
94
  "stylus-loader": "8.1.1",
95
95
  "terser-webpack-plugin": "5.3.10",
96
96
  "uglify-js": "3.19.3",
@@ -98,10 +98,10 @@
98
98
  "vue-loader": "15.11.1",
99
99
  "vue-style-loader": "4.1.3",
100
100
  "vue-template-compiler": "2.7.16",
101
- "webpack": "5.95.0",
101
+ "webpack": "5.96.1",
102
102
  "webpack-bundle-analyzer": "4.10.2",
103
103
  "webpack-cli": "5.1.4",
104
104
  "webpack-merge": "6.0.1"
105
105
  },
106
- "gitHead": "2941d45845d5aa34a7b197534aca595188dc3fd3"
106
+ "gitHead": "9493144b225ac7bb3a019bd6f374a9639eb0209b"
107
107
  }
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[813],{6517:function(t,e,n){n.r(e),n.d(e,{default:function(){return x}});var i=n(104),r=n(569),a=n(938),s=n(6222),o=n(4815),c=n(5311),l=n(8906),p=n(393),h={props:{themes:{type:Array,required:!0},themeProperty:{type:Object,required:!0},currentTheme:{type:Object,required:!0},displayAllThemes:{type:Boolean,required:!0}},computed:{displayedThemes:function(){return this.displayAllThemes?this.themeProperty.themes:(0,i.A)({},this.currentTheme.id,this.themeProperty.themes[this.currentTheme.id])}},methods:{themeTitle:function(t){var e=this.themes.find((function(e){return e.id===t}));return e&&e.title?e.title:t},isDefault:function(t){var e=t.value,n=t.variable;if(!this.themeProperty.default)return!1;var i=this.themeProperty.default,r=i.value,a=i.variable;return void 0!==r&&r===e||void 0!==a&&a===n?"*":""}}},d=n(9524);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,i.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v={components:{ContentThemeProperty:(0,d.A)(h,(function(){var t=this,e=t._self._c;return e("tbody",t._l(t.displayedThemes,(function(n,i,r){return e("tr",{key:i},[0===r?e("td",{staticClass:"themeProperty__property uie-rowspan-right",attrs:{rowspan:Object.keys(t.displayedThemes).length}},[e("div",{staticClass:"themeProperty__name"},[t._v("\n "+t._s(t.themeProperty.name)+"\n ")]),t._v(" "),t.themeProperty.variable?e("code",{staticClass:"themeProperty__variablename"},[t._v("\n "+t._s(t.themeProperty.variable)+"\n ")]):t._e()]):t._e(),t._v(" "),t.displayAllThemes?e("td",{staticClass:"themeProperty__theme uie-rowspan-left"},[t._v("\n "+t._s(t.themeTitle(i))+"\n ")]):t._e(),t._v(" "),e("td",{staticClass:"themeProperty__value"},[t._v("\n "+t._s(n.value)+"\n ")]),t._v(" "),e("td",{staticClass:"themeProperty__visualization"},[n.value?["color"===t.themeProperty.type?e("span",{staticClass:"themeProperty__swatch"},[e("span",{staticClass:"themeProperty__swatch__inner",style:{backgroundColor:n.value}})]):"size"===t.themeProperty.type?e("span",{staticClass:"themeProperty__size",style:{width:n.value}}):t._e()]:t._e()],2),t._v(" "),e("td",{staticClass:"themeProperty__variable"},[e("code",[t._v(t._s(n.variable))])]),t._v(" "),e("td",{staticClass:"themeProperty__default"},[t._v("\n "+t._s(t.isDefault(n))+"\n ")])])})),0)}),[],!1,null,"48e81794",null).exports},props:{title:{type:String,required:!0},themeProperties:{type:Array,required:!0}},computed:_(_(_({},(0,r.L8)("state",["config"])),(0,r.L8)("preferences",["currentTheme"])),{},{themes:function(){return this.config.themes},displayAllThemes:function(){return"_all"===this.currentTheme.id}})},f=(0,d.A)(v,(function(){var t=this,e=t._self._c;return e("table",{attrs:{id:t.title}},[e("caption",[t._v(t._s(t.title))]),t._v(" "),e("thead",[e("tr",[e("th",{staticClass:"themeProperty__property"},[t._v("\n "+t._s(t._f("localize")("token.property"))+"\n ")]),t._v(" "),t.displayAllThemes?e("th",{staticClass:"themeProperty__theme"},[t._v("\n "+t._s(t._f("localize")("token.theme"))+"\n ")]):t._e(),t._v(" "),e("th",{staticClass:"themeProperty__value"},[t._v("\n "+t._s(t._f("localize")("token.value"))+"\n ")]),t._v(" "),e("th",{staticClass:"themeProperty__visualization"}),t._v(" "),e("th",{staticClass:"themeProperty__variable"},[t._v("\n "+t._s(t._f("localize")("token.variable"))+"\n ")]),t._v(" "),e("th",{staticClass:"themeProperty__default"},[t._v("\n "+t._s(t._f("localize")("token.default"))+"\n ")])])]),t._v(" "),t._l(t.themeProperties,(function(n){return e("ContentThemeProperty",{key:n.name,attrs:{themes:t.themes,"theme-property":n,"current-theme":t.currentTheme,"display-all-themes":t.displayAllThemes}})}))],2)}),[],!1,null,"0e05aaa0",null).exports,m=(0,d.A)({},(function(){return(0,this._self._c)("span",{staticClass:"label"},[this._t("default")],2)}),[],!1,null,"cb9b92c0",null).exports,b=n(1819),y=n(8165),C=n(281),P=n(1545),k=n(7453);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){(0,i.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var A={components:{ContentHeader:c.A,ContentHeading:C.A,ContentLabel:m,ContentTag:b.A,ContentPreview:P.A,ContentCode:k.A},mixins:[y.A,o.A],props:{variant:{type:Object,required:!0},component:{type:Object,required:!0}},data:function(){return{activeSection:null}},computed:w(w(w({},(0,r.L8)("state",["config"])),(0,r.L8)("preferences",["currentTheme"])),{},{parts:function(){return this.displayAllThemes?[]:this.variant.themes[this.currentTheme.id].parts},hasPreview:function(){var t=this;return!this.variant.themeIds||this.displayedThemes.some((function(e){return t.variant.themeIds.includes(e.id)}))},hasCode:function(){return!(!this.variant.raw&&!this.variant.context)},permalinkUrl:function(){var t=window.location,e=(0,a.dasherize)(this.variant.id);return"".concat(t.protocol,"//").concat(t.host).concat(t.pathname,"#").concat(e)},href:function(){return"".concat(window.UIengine.base,"_variants/").concat(this.currentTheme.id,"/").concat(this.variant.id,".html")}}),methods:{tabId:function(t){return"".concat((0,a.dasherize)(this.variant.id),"-").concat(t)},isTabActive:function(t){return this.activeSection===t||!this.activeSection&&("preview"===t&&this.hasPreview||"code"===t&&!this.hasPreview&&this.hasCode)},switchTab:function(t){this.activeSection=t,this.$refs["".concat(t,"-tab")].focus()}}},O=(0,d.A)(A,(function(){var t=this,e=t._self._c;return e("article",{staticClass:"variant",attrs:{id:t._f("dasherize")(t.variant.id)}},[e("ContentHeader",[e("ContentHeading",{attrs:{level:2}},[t._v("\n "+t._s(t.variant.title)+"\n ")]),t._v(" "),t.variant.label?e("ContentLabel",[t._v("\n "+t._s(t.variant.label)+"\n ")]):t._e(),t._v(" "),t._l(t.variant.tags,(function(t){return e("ContentTag",{key:t,attrs:{tag:t}})})),t._v(" "),e("div",{staticClass:"contentheader__right"},[t.hasPreview&&t.hasCode?e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[t._l(t.pluginActions,(function(n){return e("button",{key:n.id,ref:"plugin-action",refInFor:!0,staticClass:"contentheader__action",attrs:{title:n.title,"aria-label":n.title,type:"button"},on:{click:function(e){return e.preventDefault(),t.dispatchPluginEvent("click",n,e)}}},[n.icon?e("AppIcon",{attrs:{symbol:n.icon}}):e("span",[t._v("\n "+t._s(n.title)+"\n ")])],1)})),t._v(" "),t.displayAllThemes?t._e():e("a",{staticClass:"contentheader__action",attrs:{href:t.href,target:t._f("dasherize")(t.variant.id),title:t._f("localize")("options.open_in_window"),"aria-label":t._f("localize")("options.open_in_window"),"data-test-openinwindow-link":""},on:{click:function(t){t.stopPropagation()}}},[e("AppIcon",{attrs:{symbol:"open-in-window"}})],1),t._v(" "),e("a",{staticClass:"permalink contentheader__action",attrs:{href:t.permalinkUrl,"data-clipboard-text":t.permalinkUrl,title:t._f("localize")("options.copy_permalink"),"aria-label":t._f("localize")("options.copy_permalink")},on:{click:function(t){t.preventDefault()}}},[e("AppIcon",{staticClass:"permalink__icon",attrs:{symbol:"link"}})],1),t._v(" "),e("div",{staticClass:"contentheader__buttons"},[e("a",{ref:"preview-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("preview"),"aria-selected":t.isTabActive("preview"),tabindex:!t.isTabActive("preview")&&"-1",href:"#",role:"tab","data-test-variant-tab-link":"preview"},on:{click:function(e){e.preventDefault(),t.activeSection="preview"}}},[e("AppIcon",{staticClass:"contentheader__option-icon",attrs:{symbol:"preview"}})],1),t._v(" "),e("a",{ref:"code-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("code"),"aria-selected":t.isTabActive("code"),tabindex:!t.isTabActive("code")&&"-1",href:"#",role:"tab","data-test-variant-tab-link":"code"},on:{click:function(e){e.preventDefault(),t.activeSection="code"}}},[e("AppIcon",{staticClass:"contentheader__option-icon",attrs:{symbol:"code"}})],1),t._v(" "),t._l(t.pluginTabs,(function(n){return e("a",{key:n.id,ref:"plugin-tab",refInFor:!0,staticClass:"contentheader__option",attrs:{id:t.tabId(n.id),"aria-selected":t.isTabActive(n.id),tabindex:!t.isTabActive(n.id)&&"-1","data-test-variant-tab-link":n.id,href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSection=n.id}}},[t._v("\n "+t._s(n.title)+"\n ")])}))],2)],2):t._e()])],2),t._v(" "),t.variant.description?e("div",{staticClass:"content",domProps:{innerHTML:t._s(t.variant.description)}}):t._e(),t._v(" "),t.hasPreview||t.hasCode?e("div",{staticClass:"uie-sot-xl"},[t.hasPreview?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("preview"),hidden:!t.isTabActive("preview"),role:"tabpanel"}},[e("ContentPreview",{ref:"preview",attrs:{id:t._f("dasherize")(t.variant.id),title:t.variant.title,"path-postfix":t.variant.id,"path-prefix":"_variants"}})],1):t._e(),t._v(" "),t.hasCode?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("code"),hidden:!t.isTabActive("code"),role:"tabpanel"}},[e("ContentCode",{attrs:{extension:t.variant.extension,raw:t.variant.raw,context:t.variant.context,"path-postfix":t.variant.id,"path-prefix":"_variants"}})],1):t._e(),t._v(" "),t._l(t.pluginTabs,(function(n){return e("div",{key:n.id,ref:"plugin-tab-content",refInFor:!0,staticClass:"contentsection content",attrs:{"aria-labelledby":t.tabId(n.id),hidden:!t.isTabActive(n.id),role:"tabpanel"}},[t._v("\n "+t._s(n.id)+"\n ")])}))],2):t._e()],1)}),[],!1,null,"1ea424fa",null).exports;function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach((function(e){(0,i.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var j={components:{ContentHeader:c.A,ContentText:l.A,ContentProperties:p.A,ContentThemeProperties:f,ContentLabel:m,ContentTag:b.A,ComponentVariant:O},mixins:[s.A,o.A],props:{id:{type:String,required:!0}},data:function(){return{activeSection:null}},computed:I(I({},(0,r.L8)("state",["components","config","navigation"])),{},{dependencies:function(){var t=this;return this.component.dependencies.filter((function(e){return t.componentById(e)}))},dependentComponents:function(){var t=this;return this.component.dependentComponents.filter((function(e){return t.componentById(e)}))},component:function(){return this.components[this.id]},variants:function(){return this.displayAllThemes?this.component.variants:this.component.variants.filter(this.displayVariant)},hasDependencies:function(){return this.component.dependencies&&this.component.dependencies.filter(this.componentById).length>0},hasDependentComponents:function(){return!!this.component.dependentComponents&&this.component.dependentComponents.filter(this.componentById).length>0},hasVariants:function(){return this.variants.length>0},hasManyVariants:function(){return this.variants.length>1},hasProperties:function(){var t=this.component.properties;return t&&Object.keys(t).length>0},hasThemeProperties:function(){var t=this.component.themeProperties;return t&&t.length>0},hasInfo:function(){return!(!this.component.content&&!this.hasSecondaryInfo)},hasSecondaryInfo:function(){return this.hasManyVariants||this.hasDependencies||this.hasDependentComponents},isInfoActive:function(){return"info"===this.activeSection||!this.activeSection&&this.hasInfo},isPropertiesActive:function(){return"properties"===this.activeSection||!this.activeSection&&!this.hasInfo&&this.hasProperties},isThemePropertiesActive:function(){return"theme-properties"===this.activeSection||!this.activeSection&&!this.hasInfo&&!this.hasProperties&&this.hasThemeProperties},fileLink:function(){return this.findFileLink(this.component)}}),methods:{dasherize:a.dasherize,componentLink:function(t){return Object.values(this.navigation).find((function(e){return"component"===e.type&&e.itemId===t}))},componentById:function(t){return this.components[t]},displayVariant:function(t){return!(t.themeIds&&!t.themeIds.includes(this.currentTheme.id))},tabId:function(t){return"".concat((0,a.dasherize)(this.component.id),"-").concat(t)},switchTab:function(t){this.activeSection=t,this.$refs["".concat(t,"-tab")].focus()}}},x=(0,d.A)(j,(function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"component"},[e("ContentHeader",{attrs:{title:t.component.title}},[t.component.label?e("ContentLabel",[t._v("\n "+t._s(t.component.label)+"\n ")]):t._e(),t._v(" "),t._l(t.component.tags,(function(t){return e("ContentTag",{key:t,attrs:{tag:t}})})),t._v(" "),e("div",{staticClass:"contentheader__right"},[t.fileLink?e("a",{staticClass:"contentheader__action",attrs:{href:t.fileLink,"aria-label":t._f("localize")("options.edit")}},[e("AppIcon",{attrs:{symbol:"edit"}})],1):t._e(),t._v(" "),e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[t.hasInfo?e("a",{ref:"info-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("info"),"aria-selected":t.isInfoActive,tabindex:!t.isInfoActive&&"-1",role:"tab",href:"#info"},on:{click:function(e){e.preventDefault(),t.activeSection="info"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTab("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.info"))+"\n ")]):t._e(),t._v(" "),t.hasProperties?e("a",{ref:"properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("properties"),"aria-selected":t.isPropertiesActive,tabindex:!t.isPropertiesActive&&"-1",role:"tab",href:"#properties"},on:{click:function(e){e.preventDefault(),t.activeSection="properties"},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTab("info")},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTab("theme-properties")}]}},[t._v("\n "+t._s(t._f("localize")("options.properties"))+"\n ")]):t._e(),t._v(" "),t.hasThemeProperties?e("a",{ref:"theme-properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("theme-properties"),"aria-selected":t.isThemePropertiesActive,tabindex:!t.isThemePropertiesActive&&"-1",role:"tab",href:"#theme-properties"},on:{click:function(e){e.preventDefault(),t.activeSection="theme-properties"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTab("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.theme_properties"))+"\n ")]):t._e()])])],2),t._v(" "),t.hasInfo||t.hasProperties||t.hasThemeProperties?e("div",{staticClass:"uie-sot-xxl"},[t.hasInfo?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("info"),hidden:!t.isInfoActive,role:"tabpanel"}},[e("ContentText",{attrs:{item:t.component}}),t._v(" "),t.hasSecondaryInfo?e("div",{staticClass:"content uie-sot-l"},[t.hasDependencies?[e("p",{staticClass:"content__smallprint"},[t._v("\n "+t._s(t._f("localize")("component.dependencies"))+"\n "),t._l(t.dependencies,(function(n,i){return e("span",{key:n},[t.componentLink(n)?e("RouterLink",{staticClass:"contentsection__list-item",attrs:{to:t.componentLink(n),"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(t.componentById(n).title)+"\n ")]):[t._v("\n "+t._s(t.componentById(n).title)+"\n ")],t._v(" "),e("span",{staticClass:"divider"},[t._v("\n "+t._s(i!=t.dependencies.length-1?",":".")+"\n ")])],2)}))],2)]:t._e(),t._v(" "),t.hasDependentComponents?[e("p",{staticClass:"content__smallprint"},[t._v("\n "+t._s(t._f("localize")("component.dependents"))+"\n "),t._l(t.dependentComponents,(function(n,i){return e("span",{key:n},[t.componentLink(n)?e("RouterLink",{staticClass:"contentsection__list-item",attrs:{to:t.componentLink(n),"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(t.componentById(n).title)+"\n ")]):[t._v("\n "+t._s(t.componentById(n).title)+"\n ")],t._v(" "),e("span",{staticClass:"divider"},[t._v("\n "+t._s(i!=t.dependentComponents.length-1?",":".")+"\n ")])],2)}))],2)]:t._e(),t._v(" "),t.hasManyVariants?[e("div",{staticClass:"in-page-nav"},[e("span",{staticClass:"in-page-nav__heading"},[t._v("On this page")]),t._v(" "),e("ul",{staticClass:"in-page-nav__list"},t._l(t.variants,(function(n){return e("li",{key:n.id},[e("RouterLink",{staticClass:"in-page-nav__link",attrs:{to:{hash:t.dasherize(n.id)},"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(n.title)+"\n ")])],1)})),0)])]:t._e()],2):t._e()],1):t._e(),t._v(" "),t.hasProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("properties"),hidden:!t.isPropertiesActive,role:"tabpanel"}},[e("div",{staticClass:"content"},t._l(t.component.properties,(function(t,n){return e("ContentProperties",{key:n,attrs:{title:n,properties:t}})})),1)]):t._e(),t._v(" "),t.hasThemeProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("theme-properties"),hidden:!t.isThemePropertiesActive,role:"tabpanel"}},[e("ContentThemeProperties",{attrs:{title:t._f("localize")("options.theme_properties"),"theme-properties":t.component.themeProperties}})],1):t._e()]):t._e()],1),t._v(" "),e("hr",{staticClass:"sections-divider"}),t._v(" "),t.hasVariants?e("section",{staticClass:"variants"},t._l(t.variants,(function(n){return e("ComponentVariant",{key:n.id,attrs:{variant:n,component:t.component}})})),1):t._e()])}),[],!1,null,"3ac5cfd6",null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[588],{1785:function(t,e,r){r.r(e),r.d(e,{default:function(){return f}});var n=r(104),s=r(7148),i=r(569),u=r(5311);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,n.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={threshold:.2,keys:[{name:"title",weight:.7},{name:"keywords",weight:.5}]},a={components:{ContentHeader:u.A},props:{query:{type:String,required:!0}},data:function(){return{results:[]}},computed:o(o(o({},(0,i.L8)("state",["navigation"])),(0,i.L8)("preferences",["locale"])),{},{repo:function(){var t=Object.values(this.navigation).filter((function(t){return!t.isStructural}));return new s.A(t,l)},title:function(){return this.$options.filters.localize("search.title",{query:this.query})}}),watch:{$route:"search"},created:function(){this.search()},methods:{search:function(){this.results=this.repo.search(this.query).map((function(t){return t.item})),1===this.results.length&&this.$router.replace(this.results[0])}},metaInfo:function(){return{title:this.title}}},f=(0,r(9524).A)(a,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"page"},[e("ContentHeader",{staticClass:"uie-sob-l",attrs:{title:t.title}}),t._v(" "),e("article",{staticClass:"content"},[0===t.results.length?e("p",[t._v("\n "+t._s(t._f("localize")("search.no_results"))+"\n ")]):e("ul",t._l(t.results,(function(r){return e("li",{key:r.id},[e("RouterLink",{attrs:{to:r}},[t._v("\n "+t._s(r.title)+"\n ")]),t._v("\n ("+t._s(t._f("upcaseFirstChar")(r.type))+")\n ")],1)})),0)])],1)}),[],!1,null,null,null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[711],{7435:function(e,t,r){r.r(t),r.d(t,{default:function(){return u}});var a=r(104),i=r(569),s=r(5311),l=r(1948);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,a.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={components:{ContentHeader:s.A},data:function(){return{hljsOptions:["agate","androidstudio","arduino-light","arta","ascetic","atelier-cave-dark","atelier-cave-light","atelier-dune-dark","atelier-dune-light","atelier-estuary-dark","atelier-estuary-light","atelier-forest-dark","atelier-forest-light","atelier-heath-dark","atelier-heath-light","atelier-lakeside-dark","atelier-lakeside-light","atelier-plateau-dark","atelier-plateau-light","atelier-savanna-dark","atelier-savanna-light","atelier-seaside-dark","atelier-seaside-light","atelier-sulphurpool-dark","atelier-sulphurpool-light","atom-one-dark","atom-one-light","brown-paper","codepen-embed","color-brewer","darcula","dark","default","docco","dracula","far","foundation","github-gist","github","googlecode","grayscale","gruvbox-dark","gruvbox-light","hopscotch","hybrid","idea","ir-black","kimbie.dark","kimbie.light","magula","mono-blue","monokai-sublime","monokai","obsidian","ocean","paraiso-dark","paraiso-light","pojoaque","purebasic","qtcreator_dark","qtcreator_light","railscasts","rainbow","routeros","school-book","solarized-dark","solarized-light","sunburst","tomorrow-night-blue","tomorrow-night-bright","tomorrow-night-eighties","tomorrow-night","tomorrow","vs","vs2015","xcode","xt256","zenburn"]}},computed:n(n({},(0,i.L8)("state",["config"])),{},{locale:{get:(0,i.L8)("preferences",["locale"]).locale,set:function(e){this.setLocale(e)}},localeOptions:function(){return Object.keys(l.Y).reduce((function(e,t){var r=(l.Y[t]._meta||{}).title;return e[t]=r||t,e}),{})},previewModeOptions:function(){return{breakpoints:this.$options.filters.localize("settings.breakpoints"),viewports:this.$options.filters.localize("settings.viewports")}},previewMode:{get:(0,i.L8)("preferences",["previewMode"]).previewMode,set:function(e){this.setPreviewMode(e)}},hljs:{get:(0,i.L8)("preferences",["hljs"]).hljs,set:function(e){this.setHljs(e),this.$root.$emit("setting-hljs",e)}},title:function(){return this.$options.filters.localize("settings.title")},hasPreviewModes:function(){var e=this.config.ui;return!!(e&&e.breakpoints&&e.viewports)}}),methods:n({},(0,i.PY)("preferences",["setLocale","setPreviewMode","setHljs"])),metaInfo:function(){return{title:this.title}}},u=(0,r(9524).A)(c,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"page"},[t("ContentHeader",{staticClass:"uie-sob-l",attrs:{title:e.title}}),e._v(" "),t("article",{staticClass:"content"},[t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"locale"}},[e._v("\n "+e._s(e._f("localize")("settings.locale"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.locale,expression:"locale"}],attrs:{id:"locale-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.locale=t.target.multiple?r:r[0]}}},e._l(e.localeOptions,(function(r,a){return t("option",{key:a,domProps:{value:a,selected:e.locale===a}},[e._v("\n "+e._s(r)+"\n ")])})),0)]),e._v(" "),e.hasPreviewModes?t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"previewMode"}},[e._v("\n "+e._s(e._f("localize")("settings.preview_mode"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.previewMode,expression:"previewMode"}],attrs:{id:"previewMode-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.previewMode=t.target.multiple?r:r[0]}}},e._l(e.previewModeOptions,(function(r,a){return t("option",{key:a,domProps:{value:a,selected:e.previewMode===a}},[e._v("\n "+e._s(r)+"\n ")])})),0)]):e._e(),e._v(" "),t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"hljs"}},[e._v("\n "+e._s(e._f("localize")("settings.hljs"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.hljs,expression:"hljs"}],attrs:{id:"hljs-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.hljs=t.target.multiple?r:r[0]}}},e._l(e.hljsOptions,(function(r){return t("option",{key:r,domProps:{value:r,selected:e.hljs===r}},[e._v("\n "+e._s(e._f("titleize")(r))+"\n ")])})),0)]),e._v(" "),e._m(0)])],1)}),[function(){var e=this,t=e._self._c;return t("pre",{staticClass:"hljs",attrs:{lang:"html"}},[t("span",{staticClass:"hljs-tag"},[e._v("<"),t("span",{staticClass:"hljs-name"},[e._v("label")]),e._v(" "),t("span",{staticClass:"hljs-attr"},[e._v("for")]),e._v("="),t("span",{staticClass:"hljs-string"},[e._v('"name"')]),e._v(">")]),e._v("Name"),t("span",{staticClass:"hljs-tag"},[e._v("</"),t("span",{staticClass:"hljs-name"},[e._v("label")]),e._v(">")])])}],!1,null,"6fc520fe",null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[214],{4724:function(t,e,i){i.r(e),i.d(e,{default:function(){return _}});var n=i(104),a=i(569),o=i(938),s=i(8165),r=i(4815),c=i(5311),p=i(8906),l=i(393),d=i(1819),f=i(1545),u=i(7453);function h(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?h(Object(i),!0).forEach((function(e){(0,n.A)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var b={components:{ContentHeader:c.A,ContentText:p.A,ContentTag:d.A,ContentProperties:l.A,ContentPreview:f.A,ContentCode:u.A},mixins:[s.A,r.A],props:{id:{type:String,required:!0}},data:function(){return{activeSectionTop:null,activeSectionBottom:null}},computed:v(v({},(0,a.L8)("state",["config","pages"])),{},{page:function(){return this.pages[this.id]},hasProperties:function(){var t=this.page.properties;return t&&Object.keys(t).length>0},hasInfo:function(){return!!this.page.content},isInfoActive:function(){return"info"===this.activeSectionTop||!this.activeSectionTop&&this.hasInfo},isPropertiesActive:function(){return"properties"===this.activeSectionTop||!this.activeSectionTop&&!this.hasInfo&&this.hasProperties},hasPreview:function(){return!(!this.page.template&&!this.page.fragment)},hasCode:function(){return!!this.page.context},href:function(){return"".concat(window.UIengine.base,"_pages/").concat(this.currentTheme.id,"/").concat(this.page.id,".html")}}),methods:{tabId:function(t){return"".concat((0,o.dasherize)(this.page.id),"-").concat(t)},isTabActive:function(t){return this.activeSectionBottom===t||!this.activeSectionBottom&&("preview"===t&&this.hasPreview||"code"===t&&!this.hasPreview&&this.hasCode)},switchTabTop:function(t){this.activeSectionTop=t,this.$refs["".concat(t,"-tab")].focus()},switchTabBottom:function(t){this.activeSectionBottom=t,this.$refs["".concat(t,"-tab")].focus()}}},_=(0,i(9524).A)(b,(function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"page"},[e("ContentHeader",{attrs:{title:t.page.title}},[t._l(t.page.tags,(function(t){return e("ContentTag",{key:t,staticClass:"uie-sob-m",attrs:{tag:t}})})),t._v(" "),e("div",{staticClass:"contentheader__right"},[t.hasInfo&&t.hasProperties?e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[e("a",{ref:"info-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("info"),"aria-selected":t.isInfoActive,tabindex:!t.isInfoActive&&"-1",role:"tab",href:"#info"},on:{click:function(e){e.preventDefault(),t.activeSectionTop="info"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTabTop("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.info"))+"\n ")]),t._v(" "),e("a",{ref:"properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("properties"),"aria-selected":t.isPropertiesActive,tabindex:!t.isPropertiesActive&&"-1",role:"tab",href:"#properties"},on:{click:function(e){e.preventDefault(),t.activeSectionTop="properties"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTabTop("info")}}},[t._v("\n "+t._s(t._f("localize")("options.properties"))+"\n ")])]):t._e()])],2),t._v(" "),t.hasInfo||t.hasProperties?e("div",{staticClass:"uie-sot-xs"},[t.hasInfo?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("info"),hidden:!t.isInfoActive,role:"tabpanel"}},[e("ContentText",{attrs:{item:t.page}})],1):t._e(),t._v(" "),t.hasProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("properties"),hidden:!t.isPropertiesActive,role:"tabpanel"}},[e("div",{staticClass:"content"},t._l(t.page.properties,(function(t,i){return e("ContentProperties",{key:i,attrs:{title:i,properties:t}})})),1)]):t._e()]):t._e(),t._v(" "),e("hr",{staticClass:"sections-divider"}),t._v(" "),e("ContentHeader",{staticClass:"uie-sob-m"},[e("div",{staticClass:"contentheader__right"},[t.hasPreview&&t.hasCode?e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[t._l(t.pluginActions,(function(i){return e("button",{key:i.title,ref:"plugin-action",refInFor:!0,staticClass:"contentheader__action",attrs:{title:i.title,"aria-label":i.title,href:"#"},on:{click:function(e){return e.preventDefault(),t.dispatchPluginEvent("click",i,e)}}},[i.icon?e("AppIcon",{attrs:{symbol:i.icon}}):e("span",[t._v("\n "+t._s(i.title)+"\n ")])],1)})),t._v(" "),t.displayAllThemes?t._e():e("a",{staticClass:"contentheader__action",attrs:{target:t._f("dasherize")(t.page.id),title:t._f("localize")("options.open_in_window"),href:t.href},on:{click:function(t){t.stopPropagation()}}},[e("AppIcon",{attrs:{symbol:"open-in-window"}})],1),t._v(" "),e("div",{staticClass:"contentheader__buttons"},[e("a",{ref:"preview-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("preview"),"aria-selected":t.isTabActive("preview"),tabindex:!t.isTabActive("preview")&&"-1",href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom="preview"}}},[t._v("\n "+t._s(t._f("localize")("options.preview"))+"\n ")]),t._v(" "),e("a",{ref:"code-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("code"),"aria-selected":t.isTabActive("code"),tabindex:!t.isTabActive("code")&&"-1",href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom="code"}}},[t._v("\n "+t._s(t._f("localize")("options.code"))+"\n ")]),t._v(" "),t._l(t.pluginTabs,(function(i){return e("a",{key:i.id,ref:"plugin-tab",refInFor:!0,staticClass:"contentheader__option",attrs:{id:t.tabId(i.id),"aria-selected":t.isTabActive(i.id),tabindex:!t.isTabActive(i.id)&&"-1","data-test-variant-tab-link":i.id,href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom=i.id}}},[t._v("\n "+t._s(i.title)+"\n ")])}))],2)],2):t._e()])])],1),t._v(" "),t.hasPreview||t.hasCode?e("div",{staticClass:"uie-sot-xl"},[t.hasPreview?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("preview"),hidden:!t.isTabActive("preview"),role:"tabpanel"}},[e("ContentPreview",{ref:"preview",attrs:{id:t.id,title:t.page.title,"path-postfix":t.page.id,"path-prefix":"_pages"}})],1):t._e(),t._v(" "),t.hasCode?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("code"),hidden:!t.isTabActive("code"),role:"tabpanel"}},[e("ContentCode",{attrs:{extension:t.page.extension,context:t.page.context,"path-postfix":t.page.id,"path-prefix":"_pages"}})],1):t._e(),t._v(" "),t._l(t.pluginTabs,(function(i){return e("div",{key:i.id,ref:"plugin-tab-content",refInFor:!0,staticClass:"contentsection content",attrs:{"aria-labelledby":t.tabId(i.id),hidden:!t.isTabActive(i.id),role:"tabpanel"}},[t._v("\n "+t._s(i.id)+"\n ")])}))],2):t._e()])}),[],!1,null,"0e8f8c65",null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[542],{7411:function(e,t,r){r.r(t),r.d(t,{default:function(){return l}});var n=r(104),i=r(569),s=r(5311),a=r(8906),o=r(1819),c=r(3533);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p={components:{ContentHeader:s.A,ContentText:a.A,ContentTag:o.A},mixins:[c.A],props:{id:{type:String,required:!0}},computed:f(f(f({},(0,i.L8)("state",["config","pages"])),(0,i.L8)("preferences",["currentTheme"])),{},{page:function(){return this.pages[this.id]},iframeSrc:function(){return"".concat(window.UIengine.base,"_tokens/").concat(this.currentTheme.id,"/").concat(this.page.id,".html")}}),mounted:function(){this.mountResizableIframe(this.$refs.iframe)},beforeDestroy:function(){this.unmountResizableIframe(this.$refs.iframe)}},l=(0,r(9524).A)(p,(function(){var e=this,t=e._self._c;return t("div",[t("section",{staticClass:"page"},[t("ContentHeader",{attrs:{title:e.page.title}},e._l(e.page.tags,(function(e){return t("ContentTag",{key:e,staticClass:"uie-sob-m",attrs:{tag:e}})})),1),e._v(" "),t("ContentText",{staticClass:"uie-sot-xs uie-sob-xxxl",attrs:{item:e.page}})],1),e._v(" "),t("hr",{staticClass:"sections-divider"}),e._v(" "),t("iframe",{ref:"iframe",attrs:{src:e.iframeSrc,title:e.page.title,frameborder:"0",scrolling:"no","data-test-tokens-iframe":""}})])}),[],!1,null,"06a66f48",null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[876],{7897:function(){}},function(n){var u;u=7897,n(n.s=u)}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[792],{2364:function(t){t.exports=function(t,e,n){var r=e.split(".").reduce((function(t,e){return t&&t[e]}),t);return r&&n?r.replace(/%\{(.+?)\}/g,(function(t,r){var i=n[r];return i||(console.warn("[UIengine]",'Missing interpolation "'.concat(r,'" for key "').concat(e,'"!')),"[".concat(r,"]"))})):r||(console.warn("[UIengine]",'Missing localization for key "'.concat(e,'"!')),"[".concat(e,"]"))}},1136:function(t,e,n){"use strict";var r=n(7754),i=n(6717),o=n(3433),a=n.n(o),s=n(1062),c=n.n(s),l=n(8821),u=n(104),p=n(569);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v={mixins:[n(4815).A],data:function(){return{query:"",isThemesActive:!1}},computed:d(d({},(0,p.L8)("state",["navigation"])),(0,p.L8)("preferences",["locale","navigationCollapsed","searchCollapsed"])),created:function(){var t=this;this.$root.$on("modal-close",(function(){t.isThemesActive=!1}))},methods:d(d({},(0,p.PY)("preferences",["setNavigationCollapsed","setSearchCollapsed","setCurrentTheme"])),{},{search:function(){var t=this.query.trim();t.length&&this.$router.push({name:"search",params:{query:t}})},setCurrentThemeAll:function(){this.setCurrentTheme({id:"_all",title:this.$options.filters.localize("options.all_themes")})},toggleSearch:function(){var t=this;this.setSearchCollapsed(!this.searchCollapsed),this.searchCollapsed||window.requestAnimationFrame((function(){t.$refs.searchfield.focus()}))}})},h=n(9524),g=(0,h.A)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"topbar"},[e("button",{staticClass:"topbar__toggle topbar__toggle--menu",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(!t.navigationCollapsed),type:"button","aria-controls":"navigation-root","data-test-navtoggle":""},on:{click:function(e){return e.preventDefault(),t.setNavigationCollapsed(!t.navigationCollapsed)}}},[e("AppIcon",{staticClass:"topbar__icon",attrs:{symbol:"burger"}})],1),t._v(" "),e("form",{staticClass:"topbar__search",class:{"topbar__search--collapsed":t.searchCollapsed},on:{submit:function(e){return e.preventDefault(),t.search.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchfield",staticClass:"topbar__searchfield",attrs:{type:"search",placeholder:"Search",name:"query","aria-label":t._f("localize")("search.label"),"data-test-searchfield":""},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}})]),t._v(" "),t.themes&&t.themes.length>1?e("div",{staticClass:"topbar__theme",attrs:{"data-test-theme-switch":""}},[e("button",{staticClass:"topbar__theme-toggle",attrs:{title:t._f("localize")("options.toggle"),"aria-expanded":t._f("bool2string")(t.isThemesActive),type:"button","data-test-theme-switch-current":""},on:{click:function(e){e.stopPropagation(),t.isThemesActive=!t.isThemesActive}}},[t._v("\n "+t._s(t.currentTheme.title)+"\n\n "),e("AppIcon",{staticClass:"topbar__theme-toggle-icon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{staticClass:"topbar__theme-options",class:{"topbar__theme-options--active":t.isThemesActive}},[e("div",{staticClass:"topbar__theme-options-inner"},[t._l(t.themes,(function(n){return e("button",{key:n.id,staticClass:"topbar__theme-option",attrs:{type:"button","aria-selected":t.currentTheme.id===n.id,"data-test-theme-switch-id":n.id},on:{click:function(e){return t.setCurrentTheme(n)}}},[t._v("\n "+t._s(n.title)+"\n ")])})),t._v(" "),e("button",{staticClass:"topbar__theme-option topbar__theme-option--all",attrs:{type:"button","aria-selected":t.displayAllThemes,"data-test-theme-switch-all":""},on:{click:function(e){return t.setCurrentThemeAll()}}},[t._v("\n "+t._s(t._f("localize")("options.all_themes"))+"\n ")])],2)])]):t._e(),t._v(" "),e("button",{staticClass:"topbar__toggle topbar__toggle--search",attrs:{title:t._f("localize")("search.toggle"),type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleSearch.apply(null,arguments)}}},[e("AppIcon",{staticClass:"topbar__icon",attrs:{symbol:"search"}})],1)])}),[],!1,null,"0778ce28",null),m=g.exports;function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var b={computed:y(y({},(0,p.L8)("state",["config","navigation"])),(0,p.L8)("preferences",["locale","navigationCollapsed"]))},O=(0,h.A)(b,(function(){var t=this,e=t._self._c;return t.navigation?e("nav",{staticClass:"navigation",attrs:{id:"navigation",hidden:t.navigationCollapsed,"data-test-navigation":""}},[e("RouterLink",{staticClass:"navigation__project-details",attrs:{to:t.navigation.index,"active-class":"","exact-active-class":""}},[t.config.logo?e("img",{staticClass:"navigation__project-logo",attrs:{src:t.config.logo}}):t._e(),t._v(" "),e("h1",{staticClass:"navigation__project-name"},[t._v("\n "+t._s(t.config.name)+"\n ")])]),t._v(" "),t.navigation.index.childIds?e("AppNavigationTree",{attrs:{id:"navigation-root",items:t.navigation.index.childIds,navigation:t.navigation,level:0}}):t._e()],1):t._e()}),[],!1,null,"6937a9e1",null).exports;function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w={computed:A(A(A({},(0,p.L8)("state",["config","navigation"])),(0,p.L8)("preferences",["locale"])),{},{lastUpdate:function(){return new Date(this.config.update).toLocaleString(this.locale)},navItem:function(){var t=this.$route.meta.navItemId;return this.navigation[t]},prevPage:function(){return this.findPrevPage(this.$route.meta.navItemId,!0)},nextPage:function(){return this.findNextPage(this.$route.meta.navItemId,!0)}}),methods:{findPrevPage:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t){var r=this.navigation[t];if(r){var i=r.childIds,o=r.prevSiblingId,a=r.parentId;return!n&&i?this.findPrevPage(i[i.length-1],!1,!1):e||r.isStructural?o?this.findPrevPage(o,!1,!1):a?this.findPrevPage(a,!1,!0):void 0:r}}},findNextPage:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t){var r=this.navigation[t];if(r){var i=r.childIds,o=r.nextSiblingId,a=r.parentId;return e||r.isStructural?!n&&i?this.findNextPage(i[0]):o?this.findNextPage(o):a?this.findNextPage(a,!0,!0):void 0:r}}}}},j=w,P=n(747),I=n.n(P),k=(0,h.A)(j,(function(){var t=this,e=t._self._c;return e("footer",{staticClass:"footer"},[t.prevPage||t.nextPage?e("p",{staticClass:"footer__nav"},[t.prevPage?e("RouterLink",{staticClass:"footer__prevlink",attrs:{to:t.prevPage,"data-test-footer-prevlink":""}},[e("AppIcon",{attrs:{symbol:"caret-left"}}),t._v("\n "+t._s(t.prevPage.title)+"\n ")],1):t._e(),t._v(" "),t.nextPage?e("RouterLink",{staticClass:"footer__nextlink",attrs:{to:t.nextPage,"data-test-footer-nextlink":""}},[t._v("\n "+t._s(t.nextPage.title)+"\n "),e("AppIcon",{attrs:{symbol:"caret-right"}})],1):t._e()],1):t._e(),t._v(" "),e("div",[t.config.copyright?e("p",{staticClass:"footer__copyright",attrs:{"data-test-footer-copyright":""},domProps:{innerHTML:t._s(t.config.copyright)}}):t._e(),t._v(" "),t.config.version?e("p",{staticClass:"footer__version",attrs:{"data-test-footer-version":""}},[t._v("\n "+t._s(t._f("localize")("footer.version"))+" "+t._s(t.config.version)+" –\n "+t._s(t._f("localize")("footer.last_update"))+" "+t._s(t.lastUpdate)+".\n ")]):t._e()])])}),[],!1,null,"cdcd25a2",null);"function"==typeof I()&&I()(k);var T=k.exports,x={computed:(0,p.L8)("state",["navigation"]),metaInfo:function(){var t=this.$route.meta,e=t.navItemId,n=t.navItemTitle,r=this.navigation[e];return{title:r?r.title:n}}},S=(0,h.A)(x,(function(){var t=this._self._c;return t("main",{staticClass:"main"},[t("RouterView")],1)}),[],!1,null,null,null).exports;function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var N=document.documentElement,q=document.getElementById("hljs"),M=q.getAttribute("data-tmpl"),$={components:{AppTopbar:m,AppNavigation:O,AppFooter:T,AppMain:S},computed:L(L({},(0,p.L8)("preferences",["currentTheme"])),{},{themeId:function(){return this.currentTheme&&this.currentTheme.id}}),created:function(){var t=this;this.$root.$on("setting-hljs",this.setHljs),this.$store.watch((function(){return t.$store.getters["preferences/currentTheme"]}),this.setCurrentTheme);var e=this.$store.getters["preferences/hljs"];e&&this.setHljs(e),this.setCurrentTheme(this.currentTheme)},methods:{closeModals:function(){this.$root.$emit("modal-close")},setHljs:function(t){q.setAttribute("href",M.replace("%s",t))},setCurrentTheme:function(t){N.setAttribute("data-theme",t.id)}},metaInfo:function(){var t=this.$store.getters["state/config"],e=t?t.name:"";return t&&t.version&&(e+=" (".concat(t.version,")")),{titleTemplate:function(t){return t?"".concat(t," • ").concat(e):e}}}},E=(0,h.A)($,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"layout",attrs:{id:"app"},on:{click:t.closeModals}},[e("AppTopbar"),t._v(" "),e("AppNavigation"),t._v(" "),e("AppMain"),t._v(" "),e("AppFooter")],1)}),[],!1,null,null,null).exports,z=n(907),U=n(7186),F=n(938);r.Ay.use(z.Ay);var H=function(t){if("documentation"===t)return U.default;var e=(0,F.upcaseFirstChar)(t);return function(){return n(4357)("./Main"+e)}},R=window.UIengine.state.config.ui,B=R.base,K=R.mode,Y=new z.Ay({mode:K||"history",base:B||"/",scrollBehavior:function(t,e,n){return t.hash?{selector:t.hash}:n||{x:0,y:0}},routes:[{name:"search",path:"/_search/:query",props:!0,component:H("search"),meta:{navItemId:"_search"}},{name:"settings",path:"/_settings/",component:H("settings"),meta:{navItemId:"_settings"}},{path:"*",component:H("notFound")}]}),V=Y,W=function(t){var e=Object.keys(t).map((function(e){var n=t[e];return{path:n.path,component:H(n.type),meta:{navItemId:n.id,navItemTitle:n.title},props:{id:n.itemId}}}));Y.addRoutes(e)};W(window.UIengine.state.navigation);var J=function(t){var e,n,r=t.navigation;return n="Settings",r[e="settings"]={id:e,itemId:e,parentId:"index",path:"/_".concat(e,"/"),type:e,localizedTitleKey:"".concat(e,".title"),title:n},r.index.childIds.push(e),t},G={setState:function(t,e){for(var n in e=J(e))t[n]=e[n];var r=e.navigation;r&&W(r)}},Q={namespaced:!0,state:J(window.UIengine.state),getters:{pages:function(t){return t.pages},config:function(t){return t.config},plugins:function(t){return t.plugins},components:function(t){return t.components},navigation:function(t){return t.navigation}},mutations:G,actions:{}},X=n(7864),Z=window.UIengine.state.config,tt=Z.ui,et=Z.themes,nt={hljs:document.getElementById("hljs").getAttribute("data-default"),locale:document.documentElement.getAttribute("lang"),currentTheme:et&&et[0],navigationCollapsed:!1,navigationItemsCollapsed:{},searchCollapsed:!0,previewWidths:{},previewMode:tt&&tt.defaultPreviewMode||"breakpoints"},rt=Object.keys(nt).reduce((function(t,e){var n=nt[e];return t[e]=function(t,e){var n=window.sessionStorage.getItem("uiengine/".concat(t));return n?JSON.parse(n):e}(e,n),t}),{}),it=Object.keys(nt).reduce((function(t,e){return t[e]=function(t){return t[e]},t}),{}),ot=Object.keys(nt).reduce((function(t,e){var n=(0,F.upcaseFirstChar)(e);return t["set".concat(n)]=function(t,n){!function(t,e){e||"boolean"==typeof e?window.sessionStorage.setItem("uiengine/".concat(t),JSON.stringify(e)):window.sessionStorage.removeItem("uiengine/".concat(t))}(e,n),t[e]=function(t){return"object"===(0,X.A)(t)?t instanceof Array?t:Object.assign({},t):t}(n)},t}),{}),at={namespaced:!0,state:rt,getters:it,mutations:ot,actions:{}};r.Ay.use(p.Ay);var st={state:Q,preferences:at},ct=new p.Ay.Store({modules:st}),lt=n(2364),ut=n.n(lt),pt=n(1948);r.Ay.filter("dasherize",F.dasherize),r.Ay.filter("upcaseFirstChar",F.upcaseFirstChar),r.Ay.filter("titleize",F.titleize),r.Ay.filter("bool2string",(function(t){return t?"true":"false"})),r.Ay.filter("localize",(function(t,e){var n=ct.getters["preferences/locale"],r=pt.Y[n];return ut()(r,t,e)}));var ft={props:{title:{type:String,default:""},symbol:{type:String,required:!0}},computed:{symbolHref:function(){return"#".concat(this.symbol)}}},dt=(0,h.A)(ft,(function(){var t=this,e=t._self._c;return e("svg",{staticClass:"icon",attrs:{title:t.title,role:"presentation","aria-hidden":"true",focusable:"false"}},[e("use",{attrs:{"xlink:href":t.symbolHref}})])}),[],!1,null,"498522e7",null).exports,vt={props:{navigation:{type:Object,required:!0},items:{type:Array,required:!0},level:{type:Number,required:!0}},computed:{levelClass:function(){return"navigation__tree--level-".concat(this.level)},navigationItems:function(){var t=this;return this.items.filter((function(e){return void 0!==t.navigation[e]}))}}},ht=(0,h.A)(vt,(function(){var t=this,e=t._self._c;return e("ul",{staticClass:"navigation__tree",class:t.levelClass},[t._l(t.navigationItems,(function(n){return e("AppNavigationItem",{key:n,attrs:{navigation:t.navigation,item:t.navigation[n],level:t.level}})})),t._v(" "),t._t("default")],2)}),[],!1,null,"e330ca40",null).exports;function gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(n),!0).forEach((function(e){(0,u.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _t={props:{navigation:{type:Object,required:!0},item:{type:Object,required:!0},level:{type:Number,required:!0}},computed:mt(mt({},(0,p.L8)("preferences",["navigationItemsCollapsed"])),{},{children:function(){return this.item.childIds},isCurrentPage:function(){return this.$route.path===this.item.path},isCollapsed:function(){return void 0!==this.navigationItemsCollapsed[this.item.id]?this.navigationItemsCollapsed[this.item.id]:this.item.collapsed||!1},title:function(){var t=this.item,e=t.title,n=t.localizedTitleKey;return n?this.$options.filters.localize(n):e},classes:function(){var t=["navigation__item--level-".concat(this.level)];return this.children&&t.push("navigation__item--children"),this.isCollapsed&&t.push("navigation__item--collapsed"),this.isCurrentPage&&t.push("navigation__item--current"),t}}),methods:mt(mt({},(0,p.PY)("preferences",["setNavigationItemsCollapsed"])),{},{setCollapsed:function(t){var e=this.navigationItemsCollapsed;e[this.item.id]=t,this.setNavigationItemsCollapsed(e),t||this.$refs.children.$el.querySelector("a.navigation__link").focus()}})},yt=(0,h.A)(_t,(function(){var t=this,e=t._self._c;return e("li",{staticClass:"navigation__item",class:t.classes,attrs:{"data-test-navitem-id":t.item.id}},[t.item.isStructural?e("span",{staticClass:"navigation__link"},[t._v("\n "+t._s(t.title)+"\n ")]):e("RouterLink",{staticClass:"navigation__link",attrs:{to:t.item}},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.children?e("button",{staticClass:"navigation__itemtoggle",attrs:{"aria-expanded":t._f("bool2string")(!t.isCollapsed),title:t._f("localize")("navigation.toggle"),type:"button","aria-haspopup":"true"},on:{click:function(e){return e.preventDefault(),t.setCollapsed(!t.isCollapsed)}}},[e("AppIcon",{staticClass:"navigation__icon",attrs:{symbol:"caret-down"}})],1):t._e(),t._v(" "),t.children?e("AppNavigationTree",{ref:"children",attrs:{navigation:t.navigation,items:t.children,level:t.level+1,"data-test-navtree-id":t.item.id}}):t._e()],1)}),[],!1,null,"0325e07b",null).exports,bt=n(9479);r.Ay.component("AppIcon",dt),r.Ay.component("AppNavigationTree",ht),r.Ay.component("AppNavigationItem",yt),r.Ay.component("ContentProperty",bt.A);var Ot=(window.UIengine.state.config.ui||{}).analyticsId;if(n.p=window.UIengine.base,r.Ay.config.productionTip=!1,r.Ay.use(i.A),Ot&&r.Ay.use(a(),{id:Ot,router:V,autoTracking:{exception:!0,exceptionLogs:!1},debug:{sendHitTask:!0}}),new r.Ay({el:"#app",router:V,store:ct,components:{App:E},mounted:function(){this.$nextTick((function(){(0,l.A)({observeChanges:!0,observeRootSelector:"main.main"})}))},template:"<App/>"}),new(c())("[data-clipboard-text]").on("error",(function(t){console.error("[UIengine]","Clipboard error:",t)})),document.getElementById("__bs_script__")){var Ct=0,At=function(){var t=(window.___browserSync___||{}).socket;t?(t.on("uiengine:state:update",(function(t){ct.commit("state/setState",t)})),console.debug("[UIengine]","Connection to browser-sync socket established.")):Ct<=10?(setTimeout(At,100),Ct++):console.warn("[UIengine]","Could not connect to browser-sync socket.")};At()}},6222:function(t,e){"use strict";e.A={methods:{findFileLink:function(t){var e=!!window.___browserSync___,n=t.readmeFile,r=t.sourceFile,i=t.sourcePath,o=n||r||i;if(e){var a=this.config.source.base;return"vscode://file/".concat(a,"/").concat(o)}var s=this.config.ui.repoBaseUrl;return s?"".concat(s).concat(o):null}}}},4815:function(t,e,n){"use strict";var r=n(104),i=n(569);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e.A={computed:a(a(a({},(0,i.L8)("state",["config"])),(0,i.L8)("preferences",["currentTheme"])),{},{displayAllThemes:function(){return"_all"===this.currentTheme.id},displayedThemes:function(){return this.displayAllThemes?this.themes:[this.currentTheme]},themes:function(){return this.config.themes}})}},1948:function(t,e,n){"use strict";n.d(e,{Y:function(){return l}});var r=n(9664),i=n.n(r),o=window.UIengine,a=o.state.config.ui,s=o.locales,c=a&&a.locales?a.locales:{},l=i()(s,c)},5311:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r={components:{ContentHeading:n(281).A},props:{title:{type:String,default:null},level:{type:Number,default:1}}},i=(0,n(9524).A)(r,(function(){var t=this,e=t._self._c;return e("header",{staticClass:"contentheader"},[t.title?e("ContentHeading",[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,"2c89ecfc",null).exports},281:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r={props:{level:{type:Number,default:1}},render:function(t){return t("h".concat(this.level),{class:"contentheader__title"},this.$slots.default)}},i=(0,n(9524).A)(r,undefined,undefined,!1,null,null,null).exports},9479:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r={props:{id:{type:String,required:!0},property:{type:Object,required:!0},displayDescription:{type:Boolean,required:!0}},computed:{propertyType:function(){var t=this.property,e=t.value,n=t.type;return["Array","Object"].includes(n)&&e?"".concat(this.property.type,"[").concat(e.type||e,"]"):this.property.type},description:function(){return this.property.description},required:function(){return this.property.required?"*":""},defaultValue:function(){return this.property.default}}},i=(0,n(9524).A)(r,(function(){var t=this,e=t._self._c;return e("tr",[e("td",{staticClass:"property__name"},[t._v("\n "+t._s(t.id)+"\n ")]),t._v(" "),e("td",{staticClass:"property__type"},[t._v("\n "+t._s(t.propertyType)+"\n ")]),t._v(" "),t.displayDescription?e("td",{staticClass:"property__description"},[t._v("\n "+t._s(t.description)+"\n ")]):t._e(),t._v(" "),e("td",{staticClass:"property__required"},[t._v("\n "+t._s(t.required)+"\n ")]),t._v(" "),e("td",{staticClass:"property__default"},[t._v("\n "+t._s(t.defaultValue)+"\n ")])])}),[],!1,null,"d4d827e4",null).exports},1819:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r={props:{tag:{type:String,required:!0}},computed:{target:function(){return{name:"search",params:{query:this.tag}}}}},i=(0,n(9524).A)(r,(function(){var t=this;return(0,t._self._c)("RouterLink",{staticClass:"tag",attrs:{to:t.target}},[t._v("\n "+t._s(t.tag)+"\n")])}),[],!1,null,"372e3e56",null).exports},8906:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=/^<h1.*?>.*<\/h1>/,i={props:{item:{type:Object,default:null}},computed:{renderedContent:function(){var t=this.item,e=t.content,n=t.isTitleFromHeading;return e?n?e.replace(r,"").trim():e:null}},methods:{handleLinkClicks:function(t){for(var e=t.target;e&&"A"!==e.tagName;)e=e.parentNode;if(e&&e.matches(".content a:not([href*='://'])")&&e.href){var n=t.altKey,r=t.ctrlKey,i=t.metaKey,o=t.shiftKey,a=t.button,s=t.defaultPrevented;if(i||n||r||o)return;if(s)return;if(void 0!==a&&0!==a)return;if(e&&e.getAttribute){var c=e.getAttribute("target");if(/\b_blank\b/i.test(c))return}var l=window.UIengine.state.config.ui.base,u=new RegExp("^".concat(l)),p=new URL(e.href).pathname,f=window.location.pathname,d=p.replace(u,"/"),v=f.replace(u,"/");void 0!==this.$router.resolve(d).resolved.meta.navItemId&&!(v===d)&&t.preventDefault&&(t.preventDefault(),this.$router.push(d))}}}},o=(0,n(9524).A)(i,(function(){var t=this,e=t._self._c;return t.item.content?e("article",{staticClass:"content",domProps:{innerHTML:t._s(t.renderedContent)},on:{click:t.handleLinkClicks}}):t._e()}),[],!1,null,null,null).exports},7186:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});var r=n(104),i=n(569),o=n(6222),a=n(5311),s=n(8906),c=n(1819);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var p={components:{ContentHeader:a.A,ContentText:s.A,ContentTag:c.A},mixins:[o.A],props:{id:{type:String,required:!0}},computed:u(u({},(0,i.L8)("state",["pages","config"])),{},{page:function(){return this.pages[this.id]},fileLink:function(){return this.findFileLink(this.page)}})},f=(0,n(9524).A)(p,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"page"},[e("ContentHeader",{attrs:{title:t.page.title}},[t._l(t.page.tags,(function(t){return e("ContentTag",{key:t,staticClass:"uie-sob-m",attrs:{tag:t}})})),t._v(" "),t.fileLink?e("div",{staticClass:"contentheader__options"},[e("a",{staticClass:"contentheader__action",attrs:{href:t.fileLink,"aria-label":t._f("localize")("options.edit")}},[e("AppIcon",{attrs:{symbol:"pencil"}})],1)]):t._e()],2),t._v(" "),e("ContentText",{attrs:{item:t.page}})],1)}),[],!1,null,null,null).exports},747:function(){},4357:function(t,e,n){var r={"./MainComponent":[6517,130,661,533,313,813],"./MainComponent.vue":[6517,130,661,533,313,813],"./MainDocumentation":[7186],"./MainDocumentation.vue":[7186],"./MainNotFound":[3347,785],"./MainNotFound.vue":[3347,785],"./MainSearch":[1785,130,588],"./MainSearch.vue":[1785,130,588],"./MainSettings":[7435,711],"./MainSettings.vue":[7435,711],"./MainTemplate":[4724,130,661,533,313,214],"./MainTemplate.vue":[4724,130,661,533,313,214],"./MainTokens":[7411,130,533,542],"./MainTokens.vue":[7411,130,533,542]};function i(t){if(!n.o(r,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=r[t],i=e[0];return Promise.all(e.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(r)},i.id=4357,t.exports=i},938:function(t,e,n){const r=n(7084),i=/^<h1.*?>(.*?)<\/h1>/;t.exports={crossPlatformPath:t=>t.replace(/\\/g,"/"),dasherize:t=>String(t).replace(/\W+/gi,"-"),titleize:t=>t.split(/\W+/gi).map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(" "),upcaseFirstChar:t=>t.charAt(0).toUpperCase()+t.slice(1),lowercaseFirstChar:t=>t.charAt(0).toLowerCase()+t.slice(1),hasContent:t=>!!t&&t.replace(i,"").trim().length>0,replaceTemplateComments:(t,e)=>Object.keys(e).reduce(((t,n)=>{const r=new RegExp(`\x3c!--\\s?uiengine:${n}\\s?--\x3e`,"gi"),i=e[n];return t.replace(r,i||"")}),t),titleFromContentHeading:t=>{const[,e]=t&&t.match(i)||[];return e&&r(e,"all")}}}},function(t){t.O(0,[792],(function(){[130,661,533,313,813,785,588,711,214,542].map(t.E)}),5);t.O(0,[130,220],(function(){return e=1136,t(t.s=e);var e}));t.O()}]);