@uiengine/ui 3.3.13 → 3.3.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_assets/scripts/56.1fb7ec5.js +1 -0
- package/dist/_assets/scripts/712.068a51c.js +1 -0
- package/dist/_assets/scripts/MainComponent.4bb26a5.js +1 -0
- package/dist/_assets/scripts/{MainNotFound.551c1e1.js → MainNotFound.046f07a.js} +1 -1
- package/dist/_assets/scripts/MainSearch.c528ce9.js +1 -0
- package/dist/_assets/scripts/MainSettings.be33302.js +1 -0
- package/dist/_assets/scripts/{MainTemplate.9c2eb7e.js → MainTemplate.9317b7d.js} +1 -1
- package/dist/_assets/scripts/MainTokens.6bcd078.js +1 -0
- package/dist/_assets/scripts/inject.37a137d.js +1 -0
- package/dist/_assets/scripts/main.f4b930c.js +1 -0
- package/dist/_assets/scripts/{preview.62c8e90.js → preview.9fa6fdd.js} +1 -1
- package/dist/_assets/scripts/runtime.18e69f4.js +1 -0
- package/dist/_assets/scripts/vendor_hljs.3b83013.js +1 -0
- package/dist/_assets/scripts/{vendor_other.b5c8043.js → vendor_other.e4782c2.js} +2 -2
- package/dist/_assets/scripts/vendor_vue.893de81.js +2 -0
- package/dist/_assets/scripts/{vendor_vue.1c2c5ca.js.LICENSE.txt → vendor_vue.893de81.js.LICENSE.txt} +2 -2
- package/dist/_assets/styles/{main.7dd0167.css → main.d330b09.css} +1 -1
- package/lib/templates/index.ejs +9 -9
- package/package.json +35 -35
- package/dist/_assets/scripts/382.bc27384.js +0 -1
- package/dist/_assets/scripts/901.3336704.js +0 -1
- package/dist/_assets/scripts/MainComponent.8bfa8c5.js +0 -1
- package/dist/_assets/scripts/MainSearch.82091bf.js +0 -1
- package/dist/_assets/scripts/MainSettings.f1c594f.js +0 -1
- package/dist/_assets/scripts/MainTokens.500ec87.js +0 -1
- package/dist/_assets/scripts/inject.103c722.js +0 -1
- package/dist/_assets/scripts/main.a17dc5d.js +0 -1
- package/dist/_assets/scripts/runtime.3c6ee79.js +0 -1
- package/dist/_assets/scripts/vendor_hljs.c94e4fe.js +0 -1
- package/dist/_assets/scripts/vendor_vue.1c2c5ca.js +0 -2
- /package/dist/_assets/scripts/{vendor_other.b5c8043.js.LICENSE.txt → vendor_other.e4782c2.js.LICENSE.txt} +0 -0
- /package/dist/_assets/styles/{382.9b6d294.css → 712.9b6d294.css} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[56],{5056:function(e,i,n){var t=n(5644),r={resizeFrom:"child",checkOrigin:!1};i.c={data:function(){return{isBreakpointsActive:!1,iframeWidth:null}},methods:{mountResizableIframe:function(e){e.addEventListener("load",this.setupIframe.bind(this))},unmountResizableIframe:function(e){e.iFrameResizer&&e.iFrameResizer.close(),e.removeEventListener("load",this.setupIframe.bind(this))},setupIframe:function(e){var i=this,n=e.currentTarget;if("about:blank"!==n.src){var a=n.contentWindow;window.UIengine.iframeScripts.forEach((function(e){return i.addScriptToIframe(e,n)})),n.iFrameResizer||(0,t.iframeResizer)(r,n),this.iframeWidth=a.innerWidth,a.onresize=this.iframeResizeHandler.bind(this),this.$emit("iframe-load",n)}},iframeResizeHandler:function(e){var i=e.target.innerWidth;this.iframeWidth=i},addScriptToIframe:function(e,i){var n=i.contentDocument.getElementsByTagName("head")[0],t=document.createElement("script");t.src=e,t.async=!1,n.appendChild(t)}}}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[712],{5828:function(t,e,i){var n=i(4848),r=/([\\s]*?<!--\\s?omit:.*?\\s?-->)/gi;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:function t(e,i){var n=new RegExp("\x3c!--\\s?uiengine:".concat(e,":start\\s?--\x3e([\\s\\S]*)\x3c!--\\s?uiengine:").concat(e,":end\\s?--\x3e"),"i"),r=i.match(n);return r&&r[1]?t(e,r[1]):i}}},4848:function(t,e,i){var n=i(1404),r=["bash","css","scss","less","stylus","javascript","handlebars","json","markdown","nginx","xml"];r.forEach((function(t){var e=i(5940)("./".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},1148:function(t,e,i){"use strict";var n=i(5832),r=i(5312);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.c)(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.c={computed:a(a({},(0,r.gV)("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})}))}))}}},1680:function(t,e,i){"use strict";i.d(e,{c:function(){return u}});var n=i(3696),r=i(332),o=i.n(r),a=i(5828),s=i(5056),c=i(572),p=i(4352),l=i.n(p),d={mixins:[s.c,c.c],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.c)(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(4776).c)(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},828:function(t,e,i){"use strict";i.d(e,{c:function(){return d}});var n=i(5832),r=i(5312),o=i(5056),a=i(572);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.c)(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.c,a.c],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.gV)("state",["config"])),(0,r.gV)("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.sR)("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(4776).c)(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},6504:function(t,e,i){"use strict";i.d(e,{c:function(){return r}});var n={components:{ContentProperty:i(9351).c},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(4776).c)(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},5940:function(t,e,i){var n={"./bash":6540,"./css":512,"./handlebars":4715,"./javascript":1108,"./json":1256,"./less":6748,"./markdown":9496,"./nginx":7888,"./scss":2508,"./stylus":4760,"./xml":1432};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=5940}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[972],{8256:function(t,e,n){n.r(e),n.d(e,{default:function(){return x}});var i=n(5832),r=n(5312),a=n(7040),s=n(1672),o=n(572),c=n(3320),l=n(7376),p=n(6504),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.c)({},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(4776);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.c)(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.c)(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.gV)("state",["config"])),(0,r.gV)("preferences",["currentTheme"])),{},{themes:function(){return this.config.themes},displayAllThemes:function(){return"_all"===this.currentTheme.id}})},f=(0,d.c)(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.c)({},(function(){return(0,this._self._c)("span",{staticClass:"label"},[this._t("default")],2)}),[],!1,null,"cb9b92c0",null).exports,b=n(2982),y=n(1148),C=n(8912),P=n(828),g=n(1680);function k(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?k(Object(n),!0).forEach((function(e){(0,i.c)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var O={components:{ContentHeader:c.c,ContentHeading:C.c,ContentLabel:m,ContentTag:b.c,ContentPreview:P.c,ContentCode:g.c},mixins:[y.c,o.c],props:{variant:{type:Object,required:!0},component:{type:Object,required:!0}},data:function(){return{activeSection:null}},computed:w(w(w({},(0,r.gV)("state",["config"])),(0,r.gV)("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()}}},T=(0,d.c)(O,(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 I(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 A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){(0,i.c)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var j={components:{ContentHeader:c.c,ContentText:l.c,ContentProperties:p.c,ContentThemeProperties:f,ContentLabel:m,ContentTag:b.c,ComponentVariant:T},mixins:[s.c,o.c],props:{id:{type:String,required:!0}},data:function(){return{activeSection:null}},computed:A(A({},(0,r.gV)("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.c)(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 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[
|
1
|
+
"use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[900],{4740:function(n,t,e){e.r(t),e.d(t,{default:function(){return l}});var i={components:{ContentHeader:e(3320).c}},l=(0,e(4776).c)(i,(function(){var n=this,t=n._self._c;return t("section",{staticClass:"page"},[t("ContentHeader",{attrs:{title:n._f("localize")("not_found.title")}}),n._v(" "),t("article",{staticClass:"content"},[n._v("\n "+n._s(n._f("localize")("not_found.content"))+"\n ")])],1)}),[],!1,null,null,null).exports}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[380],{6724:function(t,e,r){r.r(e),r.d(e,{default:function(){return f}});var n=r(5832),s=r(3348),i=r(5312),c=r(3320);function u(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?u(Object(r),!0).forEach((function(e){(0,n.c)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(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:c.c},props:{query:{type:String,required:!0}},data:function(){return{results:[]}},computed:o(o(o({},(0,i.gV)("state",["navigation"])),(0,i.gV)("preferences",["locale"])),{},{repo:function(){var t=Object.values(this.navigation).filter((function(t){return!t.isStructural}));return new s.c(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(4776).c)(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([[300],{8536:function(e,t,r){r.r(t),r.d(t,{default:function(){return u}});var a=r(5832),i=r(5312),s=r(3320),l=r(4692);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.c)(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.c},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.gV)("state",["config"])),{},{locale:{get:(0,i.gV)("preferences",["locale"]).locale,set:function(e){this.setLocale(e)}},localeOptions:function(){return Object.keys(l.G).reduce((function(e,t){var r=(l.G[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.gV)("preferences",["previewMode"]).previewMode,set:function(e){this.setPreviewMode(e)}},hljs:{get:(0,i.gV)("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.sR)("preferences",["setLocale","setPreviewMode","setHljs"])),metaInfo:function(){return{title:this.title}}},u=(0,r(4776).c)(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 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[
|
1
|
+
"use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[840],{5780:function(t,e,i){i.r(e),i.d(e,{default:function(){return _}});var n=i(5832),a=i(5312),o=i(7040),s=i(1148),r=i(572),c=i(3320),p=i(7376),l=i(6504),d=i(2982),f=i(828),u=i(1680);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.c)(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.c,ContentText:p.c,ContentTag:d.c,ContentProperties:l.c,ContentPreview:f.c,ContentCode:u.c},mixins:[s.c,r.c],props:{id:{type:String,required:!0}},data:function(){return{activeSectionTop:null,activeSectionBottom:null}},computed:v(v({},(0,a.gV)("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(4776).c)(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([[108],{5104:function(e,t,r){r.r(t),r.d(t,{default:function(){return l}});var n=r(5832),i=r(5312),s=r(3320),c=r(7376),a=r(2982),o=r(5056);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.c)(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.c,ContentText:c.c,ContentTag:a.c},mixins:[o.c],props:{id:{type:String,required:!0}},computed:f(f(f({},(0,i.gV)("state",["config","pages"])),(0,i.gV)("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(4776).c)(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([[480],{6476:function(){}},function(n){var u;u=6476,n(n.s=u)}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[590],{1184: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,"]"))}},5816:function(t,e,n){"use strict";var r=n(4155),i=n(3896),o=n(7720),a=n.n(o),s=n(4352),c=n.n(s),l=n(1776),u=n(5832),p=n(5312);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.c)(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 g={mixins:[n(572).c],data:function(){return{query:"",isThemesActive:!1}},computed:d(d({},(0,p.gV)("state",["navigation"])),(0,p.gV)("preferences",["locale","navigationCollapsed","searchCollapsed"])),created:function(){var t=this;this.$root.$on("modal-close",(function(){t.isThemesActive=!1}))},methods:d(d({},(0,p.sR)("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()}))}})},v=n(4776),h=(0,v.c)(g,(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=h.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 b(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.c)(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 y={computed:b(b({},(0,p.gV)("state",["config","navigation"])),(0,p.gV)("preferences",["locale","navigationCollapsed"]))},O=(0,v.c)(y,(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 w(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.c)(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 j={computed:w(w(w({},(0,p.gV)("state",["config","navigation"])),(0,p.gV)("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}}}}},P=j,I=n(8722),k=n.n(I),T=(0,v.c)(P,(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 k()&&k()(T);var x=T.exports,A={computed:(0,p.gV)("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,v.c)(A,(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 N(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.c)(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 q=document.documentElement,M=document.getElementById("hljs"),$=M.getAttribute("data-tmpl"),E={components:{AppTopbar:m,AppNavigation:O,AppFooter:x,AppMain:S},computed:N(N({},(0,p.gV)("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){M.setAttribute("href",$.replace("%s",t))},setCurrentTheme:function(t){q.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}}}},z=(0,v.c)(E,(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,U=n(8740),F=n(4684),L=n(7040);r.cp.use(U.cp);var V=function(t){if("documentation"===t)return F.default;var e=(0,L.upcaseFirstChar)(t);return function(){return n(192)("./Main"+e)}},H=window.UIengine.state.config.ui,R=H.base,B=H.mode,K=new U.cp({mode:B||"history",base:R||"/",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:V("search"),meta:{navItemId:"_search"}},{name:"settings",path:"/_settings/",component:V("settings"),meta:{navItemId:"_settings"}},{path:"*",component:V("notFound")}]}),W=K,G=function(t){var e=Object.keys(t).map((function(e){var n=t[e];return{path:n.path,component:V(n.type),meta:{navItemId:n.id,navItemTitle:n.title},props:{id:n.itemId}}}));K.addRoutes(e)};G(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},Q={setState:function(t,e){for(var n in e=J(e))t[n]=e[n];var r=e.navigation;r&&G(r)}},X={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:Q,actions:{}},Y=n(7204),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,L.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,Y.c)(t)?t instanceof Array?t:Object.assign({},t):t}(n)},t}),{}),at={namespaced:!0,state:rt,getters:it,mutations:ot,actions:{}};r.cp.use(p.cp);var st={state:X,preferences:at},ct=new p.cp.Store({modules:st}),lt=n(1184),ut=n.n(lt),pt=n(4692);r.cp.filter("dasherize",L.dasherize),r.cp.filter("upcaseFirstChar",L.upcaseFirstChar),r.cp.filter("titleize",L.titleize),r.cp.filter("bool2string",(function(t){return t?"true":"false"})),r.cp.filter("localize",(function(t,e){var n=ct.getters["preferences/locale"],r=pt.G[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,v.c)(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,gt={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]}))}}},vt=(0,v.c)(gt,(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 ht(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?ht(Object(n),!0).forEach((function(e){(0,u.c)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ht(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.gV)("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.sR)("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()}})},bt=(0,v.c)(_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,yt=n(9351);r.cp.component("AppIcon",dt),r.cp.component("AppNavigationTree",vt),r.cp.component("AppNavigationItem",bt),r.cp.component("ContentProperty",yt.c);var Ot=(window.UIengine.state.config.ui||{}).analyticsId;if(n.p=window.UIengine.base,r.cp.config.productionTip=!1,r.cp.use(i.c),Ot&&r.cp.use(a(),{id:Ot,router:W,autoTracking:{exception:!0,exceptionLogs:!1},debug:{sendHitTask:!0}}),new r.cp({el:"#app",router:W,store:ct,components:{App:z},mounted:function(){this.$nextTick((function(){(0,l.c)({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;!function t(){var e=(window.___browserSync___||{}).socket;e?(e.on("uiengine:state:update",(function(t){ct.commit("state/setState",t)})),console.debug("[UIengine]","Connection to browser-sync socket established.")):Ct<=10?(setTimeout(t,100),Ct++):console.warn("[UIengine]","Could not connect to browser-sync socket.")}()}},1672:function(t,e){"use strict";e.c={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}}}},572:function(t,e,n){"use strict";var r=n(5832),i=n(5312);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.c)(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.c={computed:a(a(a({},(0,i.gV)("state",["config"])),(0,i.gV)("preferences",["currentTheme"])),{},{displayAllThemes:function(){return"_all"===this.currentTheme.id},displayedThemes:function(){return this.displayAllThemes?this.themes:[this.currentTheme]},themes:function(){return this.config.themes}})}},4692:function(t,e,n){"use strict";n.d(e,{G:function(){return l}});var r=n(1428),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)},3320:function(t,e,n){"use strict";n.d(e,{c:function(){return i}});var r={components:{ContentHeading:n(8912).c},props:{title:{type:String,default:null},level:{type:Number,default:1}}},i=(0,n(4776).c)(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},8912:function(t,e,n){"use strict";n.d(e,{c: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(4776).c)(r,undefined,undefined,!1,null,null,null).exports},9351:function(t,e,n){"use strict";n.d(e,{c: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(4776).c)(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},2982:function(t,e,n){"use strict";n.d(e,{c:function(){return i}});var r={props:{tag:{type:String,required:!0}},computed:{target:function(){return{name:"search",params:{query:this.tag}}}}},i=(0,n(4776).c)(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},7376:function(t,e,n){"use strict";n.d(e,{c: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,"/"),g=f.replace(u,"/");void 0!==this.$router.resolve(d).resolved.meta.navItemId&&!(g===d)&&t.preventDefault&&(t.preventDefault(),this.$router.push(d))}}}},o=(0,n(4776).c)(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},4684:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});var r=n(5832),i=n(5312),o=n(1672),a=n(3320),s=n(7376),c=n(2982);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.c)(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.c,ContentText:s.c,ContentTag:c.c},mixins:[o.c],props:{id:{type:String,required:!0}},computed:u(u({},(0,i.gV)("state",["pages","config"])),{},{page:function(){return this.pages[this.id]},fileLink:function(){return this.findFileLink(this.page)}})},f=(0,n(4776).c)(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},8722:function(){},192:function(t,e,n){var r={"./MainComponent":[8256,848,928,56,712,972],"./MainComponent.vue":[8256,848,928,56,712,972],"./MainDocumentation":[4684],"./MainDocumentation.vue":[4684],"./MainNotFound":[4740,900],"./MainNotFound.vue":[4740,900],"./MainSearch":[6724,848,380],"./MainSearch.vue":[6724,848,380],"./MainSettings":[8536,300],"./MainSettings.vue":[8536,300],"./MainTemplate":[5780,848,928,56,712,840],"./MainTemplate.vue":[5780,848,928,56,712,840],"./MainTokens":[5104,848,56,108],"./MainTokens.vue":[5104,848,56,108]};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=192,t.exports=i},7040:function(t,e,n){const r=n(2604),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,[590],(function(){[848,928,56,712,972,900,380,300,840,108].map(t.E)}),5);t.O(0,[848,504],(function(){return e=5816,t(t.s=e);var e}));t.O()}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[493],{1257:function(e){!function(t){if("undefined"!=typeof window){var n=!0,o=10,i="",r=0,a="",u=null,c="",s=!1,d={resize:1,click:1},l=128,f=!0,m=1,h="bodyOffset",g=h,p=!0,v="",y={},b=32,w=null,T=!1,E="[iFrameSizer]",O=E.length,S="",M={max:1,min:1,bodyScroll:1,documentElementScroll:1},I="child",N=!0,k=window.parent,A="*",C=0,z=!1,R=null,x=16,L=1,F="scroll",P=F,D=window,j=function(){ue("onMessage function not defined")},q=function(){},H=function(){},W={height:function(){return ue("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ue("Custom width calculation function not defined"),document.body.scrollWidth}},B={},J=!1;try{var U=Object.create({},{passive:{get:function(){J=!0}}});window.addEventListener("test",ne,U),window.removeEventListener("test",ne,U)}catch(e){}var _,V,K,Q,X,Y,G,Z=Date.now||function(){return(new Date).getTime()},$={bodyOffset:function(){return document.body.offsetHeight+ye("marginTop")+ye("marginBottom")},offset:function(){return $.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return W.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,we($))},min:function(){return Math.min.apply(null,we($))},grow:function(){return $.max()},lowestElement:function(){return Math.max($.bodyOffset()||$.documentElementOffset(),be("bottom",Ee()))},taggedElement:function(){return Te("bottom","data-iframe-height")}},ee={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return W.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",Ee())},taggedElement:function(){return Te("right","data-iframe-width")}},te=(_=Oe,X=null,Y=0,G=function(){Y=Z(),X=null,Q=_.apply(V,K),X||(V=K=null)},function(){var e=Z();Y||(Y=e);var t=x-(e-Y);return V=this,K=arguments,t<=0||t>x?(X&&(clearTimeout(X),X=null),Y=e,Q=_.apply(V,K),X||(V=K=null)):X||(X=setTimeout(G,t)),Q});oe(window,"message",(function(t){var n={init:function(){v=t.data,k=t.source,ce(),f=!1,setTimeout((function(){p=!1}),l)},reset:function(){p?ae("Page reset ignored by init"):(ae("Page size reset by host page"),Ie("resetPage"))},resize:function(){Se("resizeParent","Parent window requested size check")},moveToAnchor:function(){y.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),j(JSON.parse(e)),ae(" --")}};function o(){return t.data.split("]")[1].split(":")[0]}function i(){return t.data.substr(t.data.indexOf(":")+1)}function r(){return t.data.split(":")[2]in{true:1,false:1}}function a(){var i=o();i in n?n[i]():!e.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||r()||ue("Unexpected message ("+t.data+")")}E===(""+t.data).substr(0,O)&&(!1===f?a():r()?n.init():ae('Ignored message of type "'+o()+'". Received before initialization.'))})),oe(window,"readystatechange",Ae),Ae()}function ne(){}function oe(e,t,n,o){e.addEventListener(t,n,!!J&&(o||{}))}function ie(e){return e.charAt(0).toUpperCase()+e.slice(1)}function re(e){return E+"["+S+"] "+e}function ae(e){T&&"object"==typeof window.console&&console.log(re(e))}function ue(e){"object"==typeof window.console&&console.warn(re(e))}function ce(){var e;!function(){function e(e){return"true"===e}var o=v.substr(O).split(":");S=o[0],r=t!==o[1]?Number(o[1]):r,s=t!==o[2]?e(o[2]):s,T=t!==o[3]?e(o[3]):T,b=t!==o[4]?Number(o[4]):b,n=t!==o[6]?e(o[6]):n,a=o[7],g=t!==o[8]?o[8]:g,i=o[9],c=o[10],C=t!==o[11]?Number(o[11]):C,y.enable=t!==o[12]&&e(o[12]),I=t!==o[13]?o[13]:I,P=t!==o[14]?o[14]:P}(),ae("Initialising iFrame ("+location.href+")"),function(){function e(){var e=window.iFrameResizer;ae("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(se,e),j="onMessage"in e?e.onMessage:j,q="onReady"in e?e.onReady:q,A="targetOrigin"in e?e.targetOrigin:A,g="heightCalculationMethod"in e?e.heightCalculationMethod:g,P="widthCalculationMethod"in e?e.widthCalculationMethod:P}function t(e,t){return"function"==typeof e&&(ae("Setup custom "+t+"CalcMethod"),W[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),g=t(g,"height"),P=t(P,"width"));ae("TargetOrigin for parent set to: "+A)}(),function(){t===a&&(a=r+"px");de("margin",function(e,t){-1!==t.indexOf("-")&&(ue("Negative CSS value ignored for "+e),t="");return t}("margin",a))}(),de("background",i),de("padding",c),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),he(),ge(),document.documentElement.style.height="",document.body.style.height="",ae('HTML & body height set to "auto"'),ae("Enable public methods"),D.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,pe()):!1===e&&!0===n&&(n=!1,fe("remove"),null!==u&&u.disconnect(),clearInterval(w)),ke(0,0,"autoResize",JSON.stringify(n)),n},close:function(){ke(0,0,"close")},getId:function(){return S},getPageInfo:function(e){"function"==typeof e?(H=e,ke(0,0,"pageInfo")):(H=function(){},ke(0,0,"pageInfoStop"))},moveToAnchor:function(e){y.findTarget(e)},reset:function(){Ne("parentIFrame.reset")},scrollTo:function(e,t){ke(t,e,"scrollTo")},scrollToOffset:function(e,t){ke(t,e,"scrollToOffset")},sendMessage:function(e,t){ke(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){g=e,he()},setWidthCalculationMethod:function(e){P=e,ge()},setTargetOrigin:function(e){ae("Set targetOrigin: "+e),A=e},size:function(e,t){Se("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},pe(),y=function(){function e(){return{x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop}}function n(t){var n=t.getBoundingClientRect(),o=e();return{x:parseInt(n.left,10)+parseInt(o.x,10),y:parseInt(n.top,10)+parseInt(o.y,10)}}function o(e){function o(e){var t=n(e);ae("Moving to in page link (#"+i+") at x: "+t.x+" y: "+t.y),ke(t.y,t.x,"scrollToOffset")}var i=e.split("#")[1]||e,r=decodeURIComponent(i),a=document.getElementById(r)||document.getElementsByName(r)[0];t!==a?o(a):(ae("In page link (#"+i+") not found in iFrame, so sending to parent"),ke(0,0,"inPageLink","#"+i))}function i(){""!==location.hash&&"#"!==location.hash&&o(location.href)}function r(){function e(e){function t(e){e.preventDefault(),o(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&oe(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){oe(window,"hashchange",i)}function u(){setTimeout(i,l)}function c(){Array.prototype.forEach&&document.querySelectorAll?(ae("Setting up location.hash handlers"),r(),a(),u()):ue("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}y.enable?c():ae("In page linking not enabled");return{findTarget:o}}(),Se("init","Init message from host page"),q()}function se(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],ue("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function de(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,ae("Body "+e+' set to "'+n+'"'))}function le(e){var t={add:function(t){function n(){Se(e.eventName,e.eventType)}B[t]=n,oe(window,t,n,{passive:!0})},remove:function(e){var t,n,o,i=B[e];delete B[e],t=window,n=e,o=i,t.removeEventListener(n,o,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),ae(ie(e.method)+" event listener: "+e.eventType)}function fe(e){le({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),le({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),le({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),le({method:e,eventType:"Input",eventName:"input"}),le({method:e,eventType:"Mouse Up",eventName:"mouseup"}),le({method:e,eventType:"Mouse Down",eventName:"mousedown"}),le({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),le({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),le({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),le({method:e,eventType:"Touch Start",eventName:"touchstart"}),le({method:e,eventType:"Touch End",eventName:"touchend"}),le({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),le({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),le({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),le({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===I&&le({method:e,eventType:"IFrame Resized",eventName:"resize"})}function me(e,t,n,o){return t!==e&&(e in n||(ue(e+" is not a valid option for "+o+"CalculationMethod."),e=t),ae(o+' calculation method set to "'+e+'"')),e}function he(){g=me(g,h,$,"height")}function ge(){P=me(P,F,ee,"width")}function pe(){var e;!0===n?(fe("add"),e=0>b,window.MutationObserver||window.WebKitMutationObserver?e?ve():u=function(){function e(e){function t(e){!1===e.complete&&(ae("Attach listeners to "+e.src),e.addEventListener("load",r,!1),e.addEventListener("error",a,!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 n(e){s.splice(s.indexOf(e),1)}function o(e){ae("Remove listeners from "+e.src),e.removeEventListener("load",r,!1),e.removeEventListener("error",a,!1),n(e)}function i(e,n,i){o(e.target),Se(n,i+": "+e.target.src,t,t)}function r(e){i(e,"imageLoad","Image loaded")}function a(e){i(e,"imageLoadFailed","Image load failed")}function u(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 d(u),ae("Create body MutationObserver"),l.observe(e,t),l}var s=[],d=window.MutationObserver||window.WebKitMutationObserver,l=c();return{disconnect:function(){"disconnect"in l&&(ae("Disconnect body MutationObserver"),l.disconnect(),s.forEach(o))}}}():(ae("MutationObserver not supported in this browser!"),ve())):ae("Auto Resize disabled")}function ve(){0!==b&&(ae("setInterval: "+b+"ms"),w=setInterval((function(){Se("interval","setInterval: "+b)}),Math.abs(b)))}function ye(e,t){var n=0;return t=t||document.body,n=null!==(n=document.defaultView.getComputedStyle(t,null))?n[e]:0,parseInt(n,o)}function be(e,t){for(var n=t.length,o=0,i=0,r=ie(e),a=Z(),u=0;u<n;u++)(o=t[u].getBoundingClientRect()[e]+ye("margin"+r,t[u]))>i&&(i=o);return a=Z()-a,ae("Parsed "+n+" HTML elements"),ae("Element position calculated in "+a+"ms"),function(e){e>x/2&&ae("Event throttle increased to "+(x=2*e)+"ms")}(a),i}function we(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function Te(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ue("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),be(e,n)}function Ee(){return document.querySelectorAll("body *")}function Oe(e,n,o,i){var r,a;!function(){function e(e,t){return!(Math.abs(e-t)<=C)}return r=t!==o?o:$[g](),a=t!==i?i:ee[P](),e(m,r)||s&&e(L,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(g in M||s&&P in M)?Ne(n):e in{interval:1}||ae("No change in size detected"):(Me(),ke(m=r,L=a,e))}function Se(e,t,n,o){z&&e in d?ae("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ae("Trigger event: "+t),"init"===e?Oe(e,t,n,o):te(e,t,n,o))}function Me(){z||(z=!0,ae("Trigger event lock on")),clearTimeout(R),R=setTimeout((function(){z=!1,ae("Trigger event lock off"),ae("--")}),l)}function Ie(e){m=$[g](),L=ee[P](),ke(m,L,e)}function Ne(e){var t=g;g=h,ae("Reset trigger event: "+e),Me(),Ie("reset"),g=t}function ke(e,n,o,i,r){var a;!0===N&&(t===r?r=A:ae("Message targetOrigin: "+r),ae("Sending message to host page ("+(a=S+":"+e+":"+n+":"+o+(t!==i?":"+i:""))+")"),k.postMessage(E+a,r))}function Ae(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()}},function(e){var t;t=1257,e(e.s=t)}]);
|
1
|
+
(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[452],{6424:function(e){!function(t){if("undefined"!=typeof window){var n=!0,o=10,i="",r=0,a="",u=null,c="",s=!1,d={resize:1,click:1},l=128,f=!0,m=1,h="bodyOffset",g=h,p=!0,v="",y={},b=32,w=null,T=!1,E="[iFrameSizer]",O=E.length,S="",M={max:1,min:1,bodyScroll:1,documentElementScroll:1},I="child",N=!0,k=window.parent,A="*",C=0,z=!1,R=null,x=16,L=1,F="scroll",P=F,D=window,j=function(){ue("onMessage function not defined")},q=function(){},H=function(){},W={height:function(){return ue("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ue("Custom width calculation function not defined"),document.body.scrollWidth}},B={},J=!1;try{var U=Object.create({},{passive:{get:function(){J=!0}}});window.addEventListener("test",ne,U),window.removeEventListener("test",ne,U)}catch(e){}var _,V,K,Q,X,Y,G,Z=Date.now||function(){return(new Date).getTime()},$={bodyOffset:function(){return document.body.offsetHeight+ye("marginTop")+ye("marginBottom")},offset:function(){return $.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return W.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,we($))},min:function(){return Math.min.apply(null,we($))},grow:function(){return $.max()},lowestElement:function(){return Math.max($.bodyOffset()||$.documentElementOffset(),be("bottom",Ee()))},taggedElement:function(){return Te("bottom","data-iframe-height")}},ee={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return W.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",Ee())},taggedElement:function(){return Te("right","data-iframe-width")}},te=(_=Oe,X=null,Y=0,G=function(){Y=Z(),X=null,Q=_.apply(V,K),X||(V=K=null)},function(){var e=Z();Y||(Y=e);var t=x-(e-Y);return V=this,K=arguments,t<=0||t>x?(X&&(clearTimeout(X),X=null),Y=e,Q=_.apply(V,K),X||(V=K=null)):X||(X=setTimeout(G,t)),Q});oe(window,"message",(function(t){var n={init:function(){v=t.data,k=t.source,ce(),f=!1,setTimeout((function(){p=!1}),l)},reset:function(){p?ae("Page reset ignored by init"):(ae("Page size reset by host page"),Ie("resetPage"))},resize:function(){Se("resizeParent","Parent window requested size check")},moveToAnchor:function(){y.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),j(JSON.parse(e)),ae(" --")}};function o(){return t.data.split("]")[1].split(":")[0]}function i(){return t.data.substr(t.data.indexOf(":")+1)}function r(){return t.data.split(":")[2]in{true:1,false:1}}function a(){var i=o();i in n?n[i]():!e.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||r()||ue("Unexpected message ("+t.data+")")}E===(""+t.data).substr(0,O)&&(!1===f?a():r()?n.init():ae('Ignored message of type "'+o()+'". Received before initialization.'))})),oe(window,"readystatechange",Ae),Ae()}function ne(){}function oe(e,t,n,o){e.addEventListener(t,n,!!J&&(o||{}))}function ie(e){return e.charAt(0).toUpperCase()+e.slice(1)}function re(e){return E+"["+S+"] "+e}function ae(e){T&&"object"==typeof window.console&&console.log(re(e))}function ue(e){"object"==typeof window.console&&console.warn(re(e))}function ce(){var e;!function(){function e(e){return"true"===e}var o=v.substr(O).split(":");S=o[0],r=t!==o[1]?Number(o[1]):r,s=t!==o[2]?e(o[2]):s,T=t!==o[3]?e(o[3]):T,b=t!==o[4]?Number(o[4]):b,n=t!==o[6]?e(o[6]):n,a=o[7],g=t!==o[8]?o[8]:g,i=o[9],c=o[10],C=t!==o[11]?Number(o[11]):C,y.enable=t!==o[12]&&e(o[12]),I=t!==o[13]?o[13]:I,P=t!==o[14]?o[14]:P}(),ae("Initialising iFrame ("+location.href+")"),function(){function e(){var e=window.iFrameResizer;ae("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(se,e),j="onMessage"in e?e.onMessage:j,q="onReady"in e?e.onReady:q,A="targetOrigin"in e?e.targetOrigin:A,g="heightCalculationMethod"in e?e.heightCalculationMethod:g,P="widthCalculationMethod"in e?e.widthCalculationMethod:P}function t(e,t){return"function"==typeof e&&(ae("Setup custom "+t+"CalcMethod"),W[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),g=t(g,"height"),P=t(P,"width"));ae("TargetOrigin for parent set to: "+A)}(),function(){t===a&&(a=r+"px");de("margin",function(e,t){-1!==t.indexOf("-")&&(ue("Negative CSS value ignored for "+e),t="");return t}("margin",a))}(),de("background",i),de("padding",c),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),he(),ge(),document.documentElement.style.height="",document.body.style.height="",ae('HTML & body height set to "auto"'),ae("Enable public methods"),D.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,pe()):!1===e&&!0===n&&(n=!1,fe("remove"),null!==u&&u.disconnect(),clearInterval(w)),ke(0,0,"autoResize",JSON.stringify(n)),n},close:function(){ke(0,0,"close")},getId:function(){return S},getPageInfo:function(e){"function"==typeof e?(H=e,ke(0,0,"pageInfo")):(H=function(){},ke(0,0,"pageInfoStop"))},moveToAnchor:function(e){y.findTarget(e)},reset:function(){Ne("parentIFrame.reset")},scrollTo:function(e,t){ke(t,e,"scrollTo")},scrollToOffset:function(e,t){ke(t,e,"scrollToOffset")},sendMessage:function(e,t){ke(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){g=e,he()},setWidthCalculationMethod:function(e){P=e,ge()},setTargetOrigin:function(e){ae("Set targetOrigin: "+e),A=e},size:function(e,t){Se("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},pe(),y=function(){function e(){return{x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop}}function n(t){var n=t.getBoundingClientRect(),o=e();return{x:parseInt(n.left,10)+parseInt(o.x,10),y:parseInt(n.top,10)+parseInt(o.y,10)}}function o(e){function o(e){var t=n(e);ae("Moving to in page link (#"+i+") at x: "+t.x+" y: "+t.y),ke(t.y,t.x,"scrollToOffset")}var i=e.split("#")[1]||e,r=decodeURIComponent(i),a=document.getElementById(r)||document.getElementsByName(r)[0];t!==a?o(a):(ae("In page link (#"+i+") not found in iFrame, so sending to parent"),ke(0,0,"inPageLink","#"+i))}function i(){""!==location.hash&&"#"!==location.hash&&o(location.href)}function r(){function e(e){function t(e){e.preventDefault(),o(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&oe(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){oe(window,"hashchange",i)}function u(){setTimeout(i,l)}function c(){Array.prototype.forEach&&document.querySelectorAll?(ae("Setting up location.hash handlers"),r(),a(),u()):ue("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}y.enable?c():ae("In page linking not enabled");return{findTarget:o}}(),Se("init","Init message from host page"),q()}function se(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],ue("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function de(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,ae("Body "+e+' set to "'+n+'"'))}function le(e){var t={add:function(t){function n(){Se(e.eventName,e.eventType)}B[t]=n,oe(window,t,n,{passive:!0})},remove:function(e){var t,n,o,i=B[e];delete B[e],t=window,n=e,o=i,t.removeEventListener(n,o,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),ae(ie(e.method)+" event listener: "+e.eventType)}function fe(e){le({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),le({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),le({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),le({method:e,eventType:"Input",eventName:"input"}),le({method:e,eventType:"Mouse Up",eventName:"mouseup"}),le({method:e,eventType:"Mouse Down",eventName:"mousedown"}),le({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),le({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),le({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),le({method:e,eventType:"Touch Start",eventName:"touchstart"}),le({method:e,eventType:"Touch End",eventName:"touchend"}),le({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),le({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),le({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),le({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===I&&le({method:e,eventType:"IFrame Resized",eventName:"resize"})}function me(e,t,n,o){return t!==e&&(e in n||(ue(e+" is not a valid option for "+o+"CalculationMethod."),e=t),ae(o+' calculation method set to "'+e+'"')),e}function he(){g=me(g,h,$,"height")}function ge(){P=me(P,F,ee,"width")}function pe(){var e;!0===n?(fe("add"),e=0>b,window.MutationObserver||window.WebKitMutationObserver?e?ve():u=function(){function e(e){function t(e){!1===e.complete&&(ae("Attach listeners to "+e.src),e.addEventListener("load",r,!1),e.addEventListener("error",a,!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 n(e){s.splice(s.indexOf(e),1)}function o(e){ae("Remove listeners from "+e.src),e.removeEventListener("load",r,!1),e.removeEventListener("error",a,!1),n(e)}function i(e,n,i){o(e.target),Se(n,i+": "+e.target.src,t,t)}function r(e){i(e,"imageLoad","Image loaded")}function a(e){i(e,"imageLoadFailed","Image load failed")}function u(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 d(u),ae("Create body MutationObserver"),l.observe(e,t),l}var s=[],d=window.MutationObserver||window.WebKitMutationObserver,l=c();return{disconnect:function(){"disconnect"in l&&(ae("Disconnect body MutationObserver"),l.disconnect(),s.forEach(o))}}}():(ae("MutationObserver not supported in this browser!"),ve())):ae("Auto Resize disabled")}function ve(){0!==b&&(ae("setInterval: "+b+"ms"),w=setInterval((function(){Se("interval","setInterval: "+b)}),Math.abs(b)))}function ye(e,t){var n=0;return t=t||document.body,n=null!==(n=document.defaultView.getComputedStyle(t,null))?n[e]:0,parseInt(n,o)}function be(e,t){for(var n=t.length,o=0,i=0,r=ie(e),a=Z(),u=0;u<n;u++)(o=t[u].getBoundingClientRect()[e]+ye("margin"+r,t[u]))>i&&(i=o);return a=Z()-a,ae("Parsed "+n+" HTML elements"),ae("Element position calculated in "+a+"ms"),function(e){e>x/2&&ae("Event throttle increased to "+(x=2*e)+"ms")}(a),i}function we(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function Te(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ue("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),be(e,n)}function Ee(){return document.querySelectorAll("body *")}function Oe(e,n,o,i){var r,a;!function(){function e(e,t){return!(Math.abs(e-t)<=C)}return r=t!==o?o:$[g](),a=t!==i?i:ee[P](),e(m,r)||s&&e(L,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(g in M||s&&P in M)?Ne(n):e in{interval:1}||ae("No change in size detected"):(Me(),ke(m=r,L=a,e))}function Se(e,t,n,o){z&&e in d?ae("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ae("Trigger event: "+t),"init"===e?Oe(e,t,n,o):te(e,t,n,o))}function Me(){z||(z=!0,ae("Trigger event lock on")),clearTimeout(R),R=setTimeout((function(){z=!1,ae("Trigger event lock off"),ae("--")}),l)}function Ie(e){m=$[g](),L=ee[P](),ke(m,L,e)}function Ne(e){var t=g;g=h,ae("Reset trigger event: "+e),Me(),Ie("reset"),g=t}function ke(e,n,o,i,r){var a;!0===N&&(t===r?r=A:ae("Message targetOrigin: "+r),ae("Sending message to host page ("+(a=S+":"+e+":"+n+":"+o+(t!==i?":"+i:""))+")"),k.postMessage(E+a,r))}function Ae(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()}},function(e){var t;t=6424,e(e.s=t)}]);
|
@@ -0,0 +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/"+({108:"MainTokens",300:"MainSettings",380:"MainSearch",840:"MainTemplate",848:"vendor_other",900:"MainNotFound",928:"vendor_hljs",972:"MainComponent"}[e]||e)+"."+{56:"1fb7ec5",108:"6bcd078",300:"be33302",380:"c528ce9",712:"068a51c",840:"9317b7d",848:"e4782c2",900:"046f07a",928:"3b83013",972:"4bb26a5"}[e]+".js"},i.miniCssF=function(e){return"_assets/styles/"+({108:"MainTokens",300:"MainSettings",840:"MainTemplate",972:"MainComponent"}[e]||e)+"."+{108:"bf70333",300:"f3b9b06",712:"9b6d294",840:"9c622f9",972:"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 i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=function(t){if(i.onerror=i.onload=null,"load"===t.type)r();else{var u=t&&t.type,a=t&&t.target&&t.target.href||n,c=new Error("Loading CSS chunk "+e+" failed.\n("+u+": "+a+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=u,c.request=a,i.parentNode&&i.parentNode.removeChild(i),o(c)}},i.href=n,t?t.parentNode.insertBefore(i,t.nextSibling):document.head.appendChild(i)}(e,o,null,n,t)}))},n={688:0};i.f.miniCss=function(t,r){n[t]?r.push(n[t]):0!==n[t]&&{108:1,300:1,712:1,840:1,972:1}[t]&&r.push(n[t]=e(t).then((function(){n[t]=0}),(function(e){throw delete n[t],e})))}}}(),function(){var e={688: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(688!=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])&&688!=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))}()}();
|