@uiengine/ui 3.3.11 → 3.3.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/dist/_assets/scripts/382.bc27384.js +1 -0
  2. package/dist/_assets/scripts/MainComponent.8bfa8c5.js +1 -0
  3. package/dist/_assets/scripts/MainSearch.82091bf.js +1 -0
  4. package/dist/_assets/scripts/MainSettings.f1c594f.js +1 -0
  5. package/dist/_assets/scripts/MainTemplate.9c2eb7e.js +1 -0
  6. package/dist/_assets/scripts/MainTokens.500ec87.js +1 -0
  7. package/dist/_assets/scripts/inject.103c722.js +1 -0
  8. package/dist/_assets/scripts/main.a17dc5d.js +1 -0
  9. package/dist/_assets/scripts/{runtime.635aa96.js → runtime.3c6ee79.js} +1 -1
  10. package/dist/_assets/scripts/vendor_hljs.c94e4fe.js +1 -0
  11. package/dist/_assets/scripts/vendor_other.b5c8043.js +2 -0
  12. package/dist/_assets/scripts/{vendor_vue.9bb005d.js → vendor_vue.1c2c5ca.js} +2 -2
  13. package/lib/templates/index.ejs +7 -7
  14. package/package.json +23 -23
  15. package/dist/_assets/scripts/382.fa4ea61.js +0 -1
  16. package/dist/_assets/scripts/MainComponent.fc9cd00.js +0 -1
  17. package/dist/_assets/scripts/MainSearch.c657aae.js +0 -1
  18. package/dist/_assets/scripts/MainSettings.0aa67b2.js +0 -1
  19. package/dist/_assets/scripts/MainTemplate.366f12f.js +0 -1
  20. package/dist/_assets/scripts/MainTokens.177d237.js +0 -1
  21. package/dist/_assets/scripts/inject.cab508f.js +0 -1
  22. package/dist/_assets/scripts/main.16348fc.js +0 -1
  23. package/dist/_assets/scripts/vendor_hljs.d8b8d20.js +0 -1
  24. package/dist/_assets/scripts/vendor_other.c5617d8.js +0 -2
  25. /package/dist/_assets/scripts/{vendor_other.c5617d8.js.LICENSE.txt → vendor_other.b5c8043.js.LICENSE.txt} +0 -0
  26. /package/dist/_assets/scripts/{vendor_vue.9bb005d.js.LICENSE.txt → vendor_vue.1c2c5ca.js.LICENSE.txt} +0 -0
@@ -16,9 +16,9 @@ _%>
16
16
  <link rel="stylesheet" href="<%= customStylesFile %>">
17
17
  <%_ } _%>
18
18
  <link href="<%= basePath %>/_assets/styles/inject.0037cb7.css" rel="prefetch" as="style">
19
- <link href="<%= basePath %>/_assets/scripts/inject.cab508f.js" rel="prefetch" as="script">
19
+ <link href="<%= basePath %>/_assets/scripts/inject.103c722.js" rel="prefetch" as="script">
20
20
  <link href="<%= basePath %>/_assets/styles/MainComponent.ff3bbb4.css" rel="prefetch" as="style">
21
- <link href="<%= basePath %>/_assets/scripts/MainComponent.fc9cd00.js" rel="prefetch" as="script">
21
+ <link href="<%= basePath %>/_assets/scripts/MainComponent.8bfa8c5.js" rel="prefetch" as="script">
22
22
  <script>
23
23
  window.UIengine = {
24
24
  base: <%- helpers.htmlescape(base) %>,
@@ -26,7 +26,7 @@ _%>
26
26
  locales: {"de":{"_meta":{"title":"Deutsch"},"navigation":{"toggle":"Navigation umschalten"},"options":{"edit":"Bearbeiten","info":"Info","properties":"Properties","theme_properties":"Themes","preview":"Vorschau","code":"Code","copy_permalink":"Variantenlink kopieren","open_in_window":"In separatem Fenster öffnen","edit_on_codepen":"In Codepen öffnen","reset":"zurücksetzen","toggle":"umschalten","all_themes":"Alle anzeigen","loading":"Wird geladen…","copy_code":"Code kopieren","copy_code_tooltip":"Kopiert!"},"code":{"raw":"Code","context":"Daten","rendered":"HTML"},"component":{"dependencies":"Zusammengesetzt aus","dependents":"Wird benutzt von"},"token":{"name":"Name","type":"Typ","icon":"Icon","demo":"Demo","value":"Wert","usage":"Gebrauch","license":"Lizenz","fontface":"Schriftart","fontweight":"Schriftschnitt","variable":"Variable","description":"Beschreibung","reference":"Referenz","property":"Eigenschaft","theme":"Theme","default":"Standard"},"properties":{"title":"Datentypen","name":"Property","type":"Typ","description":"Beschreibung","required":"Pflicht","default":"Standard"},"footer":{"version":"Version","last_update":"Letztes Update am"},"search":{"label":"Suche","toggle":"Suche umschalten","title":"Suchergebnisse für \"%{query}\"","no_results":"Leider konnten keine passenden Suchergebnisse gefunden werden."},"settings":{"title":"Einstellungen","locale":"Sprache","hljs":"Highlight-Theme","preview_mode":"Vorschaumodus","breakpoints":"Breakpoints","viewports":"Viewports"},"not_found":{"title":"Nicht gefunden","content":"Diese Seite existiert leider nicht."}},"en":{"_meta":{"title":"English"},"navigation":{"toggle":"Toggle navigation"},"options":{"edit":"Edit","info":"Info","properties":"Properties","theme_properties":"Themes","preview":"Preview","code":"Code","copy_permalink":"Copy link to variant","open_in_window":"Open in separate window","edit_on_codepen":"Edit on Codepen","reset":"reset","toggle":"toggle","all_themes":"All themes","loading":"Loading…","copy_code":"Copy to clipboard","copy_code_tooltip":"Copied!"},"code":{"raw":"Code","context":"Data","rendered":"HTML"},"component":{"dependencies":"Composed of","dependents":"Used within"},"token":{"name":"Name","type":"Type","icon":"Icon","demo":"Demo","value":"Value","usage":"Usage","license":"License","fontface":"Typeface","fontweight":"Weight","variable":"Variable","description":"Description","reference":"Reference","property":"Property","theme":"Theme","default":"Default"},"properties":{"title":"Datatypes","name":"Property","type":"Type","description":"Description","required":"Required","default":"Default"},"footer":{"version":"Version","last_update":"Last updated on"},"search":{"label":"Search","toggle":"Toggle search","title":"Search results for \"%{query}\"","no_results":"Unfortunately there is no content matching your search query."},"settings":{"title":"Settings","locale":"Locale","hljs":"Highlight-Theme","preview_mode":"Preview Mode","breakpoints":"Breakpoints","viewports":"Viewports"},"not_found":{"title":"Not Found","content":"This page does not exist."}}},
27
27
  iframeScripts: [
28
28
  "<%= basePath %>/_assets/scripts/preview.62c8e90.js",
29
- "<%= basePath %>/_assets/scripts/runtime.635aa96.js",
29
+ "<%= basePath %>/_assets/scripts/runtime.3c6ee79.js",
30
30
  <%_ for (index in plugin.iframe_js) { _%>
31
31
  <%- JSON.stringify(plugin.iframe_js[index]) %>,
32
32
  <%_ } _%>
@@ -56,10 +56,10 @@ _%>
56
56
  </svg>
57
57
  <div id="app"></div>
58
58
  <script src="https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver"></script>
59
- <script src="<%= basePath %>/_assets/scripts/runtime.635aa96.js"></script>
60
- <script src="<%= basePath %>/_assets/scripts/vendor_other.c5617d8.js"></script>
61
- <script src="<%= basePath %>/_assets/scripts/vendor_vue.9bb005d.js"></script>
62
- <script src="<%= basePath %>/_assets/scripts/main.16348fc.js"></script>
59
+ <script src="<%= basePath %>/_assets/scripts/runtime.3c6ee79.js"></script>
60
+ <script src="<%= basePath %>/_assets/scripts/vendor_other.b5c8043.js"></script>
61
+ <script src="<%= basePath %>/_assets/scripts/vendor_vue.1c2c5ca.js"></script>
62
+ <script src="<%= basePath %>/_assets/scripts/main.a17dc5d.js"></script>
63
63
  <%_ for (index in plugin.js) { _%>
64
64
  <script src="<%- plugin.js[index] %>"></script>
65
65
  <%_ } _%>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uiengine/ui",
3
3
  "description": "UIengine user interface.",
4
4
  "license": "MIT",
5
- "version": "3.3.11",
5
+ "version": "3.3.13",
6
6
  "author": "Dennis Reimann <mail@dennisreimann.de> (https://dennisreimann.de)",
7
7
  "homepage": "https://github.com/dennisreimann/uiengine",
8
8
  "bugs": "https://github.com/dennisreimann/uiengine/issues",
@@ -35,12 +35,12 @@
35
35
  "lint": "eslint --fix --ext .js,.vue src test"
36
36
  },
37
37
  "dependencies": {
38
- "@babel/runtime": "7.21.0",
39
- "@uiengine/util": "3.3.11",
38
+ "@babel/runtime": "7.21.5",
39
+ "@uiengine/util": "3.3.13",
40
40
  "color": "4.2.3",
41
41
  "cross-env": "7.0.3",
42
- "deepmerge": "4.3.0",
43
- "ejs": "3.1.8",
42
+ "deepmerge": "4.3.1",
43
+ "ejs": "3.1.9",
44
44
  "fuse.js": "6.6.2",
45
45
  "highlight.js": "10.7.3",
46
46
  "htmlescape": "1.1.1",
@@ -52,56 +52,56 @@
52
52
  "yall-js": "3.2.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/core": "7.21.0",
55
+ "@babel/core": "7.21.8",
56
56
  "@babel/plugin-proposal-object-rest-spread": "7.20.7",
57
57
  "@babel/plugin-syntax-dynamic-import": "7.8.3",
58
- "@babel/plugin-transform-runtime": "7.21.0",
59
- "@babel/preset-env": "7.20.2",
58
+ "@babel/plugin-transform-runtime": "7.21.4",
59
+ "@babel/preset-env": "7.21.5",
60
60
  "@vue/compiler-sfc": "3.2.47",
61
61
  "autoprefixer": "10.4.14",
62
62
  "babel-loader": "9.1.2",
63
- "caniuse-lite": "1.0.30001464",
63
+ "caniuse-lite": "1.0.30001486",
64
64
  "clipboard": "2.0.11",
65
65
  "compile-ejs-loader": "0.0.3",
66
66
  "copy-webpack-plugin": "11.0.0",
67
67
  "css-loader": "6.7.3",
68
68
  "css-minimizer-webpack-plugin": "4.2.2",
69
- "eslint": "8.36.0",
69
+ "eslint": "8.40.0",
70
70
  "eslint-config-standard": "17.0.0",
71
71
  "eslint-friendly-formatter": "4.0.1",
72
72
  "eslint-import-resolver-node": "0.3.7",
73
73
  "eslint-plugin-import": "2.27.5",
74
- "eslint-plugin-n": "15.6.1",
74
+ "eslint-plugin-n": "15.7.0",
75
75
  "eslint-plugin-node": "11.1.0",
76
76
  "eslint-plugin-promise": "6.1.1",
77
- "eslint-plugin-vue": "9.9.0",
78
- "eslint-webpack-plugin": "4.0.0",
77
+ "eslint-plugin-vue": "9.11.1",
78
+ "eslint-webpack-plugin": "4.0.1",
79
79
  "file-loader": "6.2.0",
80
80
  "html-minifier": "4.0.0",
81
- "html-webpack-plugin": "5.5.0",
81
+ "html-webpack-plugin": "5.5.1",
82
82
  "iframe-resizer": "4.3.6",
83
- "mini-css-extract-plugin": "2.7.3",
83
+ "mini-css-extract-plugin": "2.7.5",
84
84
  "mocha": "10.2.0",
85
85
  "mocha-sinon": "2.1.2",
86
86
  "node-notifier": "10.0.1",
87
- "postcss": "8.4.21",
87
+ "postcss": "8.4.23",
88
88
  "postcss-import": "15.1.0",
89
- "postcss-loader": "7.0.2",
90
- "rimraf": "4.4.0",
89
+ "postcss-loader": "7.3.0",
90
+ "rimraf": "4.4.1",
91
91
  "run-sequence": "2.2.1",
92
- "sinon": "15.0.1",
92
+ "sinon": "15.0.4",
93
93
  "stylus": "0.59.0",
94
94
  "stylus-loader": "7.1.0",
95
- "terser-webpack-plugin": "5.3.7",
95
+ "terser-webpack-plugin": "5.3.8",
96
96
  "uglify-js": "3.17.4",
97
97
  "url-loader": "4.1.1",
98
98
  "vue-loader": "15.10.1",
99
99
  "vue-style-loader": "4.1.3",
100
100
  "vue-template-compiler": "2.7.14",
101
- "webpack": "5.76.1",
101
+ "webpack": "5.82.0",
102
102
  "webpack-bundle-analyzer": "4.8.0",
103
- "webpack-cli": "5.0.1",
103
+ "webpack-cli": "5.1.0",
104
104
  "webpack-merge": "5.8.0"
105
105
  },
106
- "gitHead": "ea9f26b087818e1f5fb9b6e980b1eb2039f41472"
106
+ "gitHead": "496693936a41afd6fe4be1027289deeafa5aa883"
107
107
  }
@@ -1 +0,0 @@
1
- (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[382],{1220:function(t,e,i){var n=i(5097),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}}},5097:function(t,e,i){var n=i(2877),r=["bash","css","scss","less","stylus","javascript","handlebars","json","markdown","nginx","xml"];r.forEach((function(t){var e=i(6580)("./".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},1061:function(t,e,i){"use strict";var n=i(3044),r=i(2640);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.Z)(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.Z={computed:a(a({},(0,r.Se)("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})}))}))}}},9430:function(t,e,i){"use strict";i.d(e,{Z:function(){return u}});var n=i(4186),r=i(1528),o=i.n(r),a=i(1220),s=i(8901),c=i(8139),p=i(2008),l=i.n(p),d={mixins:[s.Z,c.Z],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.Z)(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(7314).Z)(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},170:function(t,e,i){"use strict";i.d(e,{Z:function(){return d}});var n=i(3044),r=i(2640),o=i(8901),a=i(8139);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.Z)(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.Z,a.Z],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.Se)("state",["config"])),(0,r.Se)("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.OI)("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(7314).Z)(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},4199:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});var n={components:{ContentProperty:i(5681).Z},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(7314).Z)(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},6580:function(t,e,i){var n={"./bash":3924,"./css":7892,"./handlebars":8766,"./javascript":8509,"./json":7474,"./less":9561,"./markdown":7479,"./nginx":5486,"./scss":2847,"./stylus":6261,"./xml":9988};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=6580}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[674],{313:function(t,e,n){n.r(e),n.d(e,{default:function(){return x}});var i=n(3044),r=n(2640),a=n(6500),s=n(7027),o=n(8139),c=n(4074),l=n(4426),p=n(4199),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.Z)({},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(7314);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.Z)(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.Z)(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.Se)("state",["config"])),(0,r.Se)("preferences",["currentTheme"])),{},{themes:function(){return this.config.themes},displayAllThemes:function(){return"_all"===this.currentTheme.id}})},f=(0,d.Z)(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.Z)({},(function(){return(0,this._self._c)("span",{staticClass:"label"},[this._t("default")],2)}),[],!1,null,"cb9b92c0",null).exports,b=n(8044),y=n(1061),C=n(8849),P=n(170),k=n(9430);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var O={components:{ContentHeader:c.Z,ContentHeading:C.Z,ContentLabel:m,ContentTag:b.Z,ContentPreview:P.Z,ContentCode:k.Z},mixins:[y.Z,o.Z],props:{variant:{type:Object,required:!0},component:{type:Object,required:!0}},data:function(){return{activeSection:null}},computed:w(w(w({},(0,r.Se)("state",["config"])),(0,r.Se)("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.Z)(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.Z)(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.Z,ContentText:l.Z,ContentProperties:p.Z,ContentThemeProperties:f,ContentLabel:m,ContentTag:b.Z,ComponentVariant:T},mixins:[s.Z,o.Z],props:{id:{type:String,required:!0}},data:function(){return{activeSection:null}},computed:A(A({},(0,r.Se)("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.Z)(j,(function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"component"},[e("ContentHeader",{attrs:{title:t.component.title}},[t.component.label?e("ContentLabel",[t._v("\n "+t._s(t.component.label)+"\n ")]):t._e(),t._v(" "),t._l(t.component.tags,(function(t){return e("ContentTag",{key:t,attrs:{tag:t}})})),t._v(" "),e("div",{staticClass:"contentheader__right"},[t.fileLink?e("a",{staticClass:"contentheader__action",attrs:{href:t.fileLink,"aria-label":t._f("localize")("options.edit")}},[e("AppIcon",{attrs:{symbol:"edit"}})],1):t._e(),t._v(" "),e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[t.hasInfo?e("a",{ref:"info-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("info"),"aria-selected":t.isInfoActive,tabindex:!t.isInfoActive&&"-1",role:"tab",href:"#info"},on:{click:function(e){e.preventDefault(),t.activeSection="info"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTab("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.info"))+"\n ")]):t._e(),t._v(" "),t.hasProperties?e("a",{ref:"properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("properties"),"aria-selected":t.isPropertiesActive,tabindex:!t.isPropertiesActive&&"-1",role:"tab",href:"#properties"},on:{click:function(e){e.preventDefault(),t.activeSection="properties"},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTab("info")},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTab("theme-properties")}]}},[t._v("\n "+t._s(t._f("localize")("options.properties"))+"\n ")]):t._e(),t._v(" "),t.hasThemeProperties?e("a",{ref:"theme-properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("theme-properties"),"aria-selected":t.isThemePropertiesActive,tabindex:!t.isThemePropertiesActive&&"-1",role:"tab",href:"#theme-properties"},on:{click:function(e){e.preventDefault(),t.activeSection="theme-properties"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTab("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.theme_properties"))+"\n ")]):t._e()])])],2),t._v(" "),t.hasInfo||t.hasProperties||t.hasThemeProperties?e("div",{staticClass:"uie-sot-xxl"},[t.hasInfo?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("info"),hidden:!t.isInfoActive,role:"tabpanel"}},[e("ContentText",{attrs:{item:t.component}}),t._v(" "),t.hasSecondaryInfo?e("div",{staticClass:"content uie-sot-l"},[t.hasDependencies?[e("p",{staticClass:"content__smallprint"},[t._v("\n "+t._s(t._f("localize")("component.dependencies"))+"\n "),t._l(t.dependencies,(function(n,i){return e("span",{key:n},[t.componentLink(n)?e("RouterLink",{staticClass:"contentsection__list-item",attrs:{to:t.componentLink(n),"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(t.componentById(n).title)+"\n ")]):[t._v("\n "+t._s(t.componentById(n).title)+"\n ")],t._v(" "),e("span",{staticClass:"divider"},[t._v("\n "+t._s(i!=t.dependencies.length-1?",":".")+"\n ")])],2)}))],2)]:t._e(),t._v(" "),t.hasDependentComponents?[e("p",{staticClass:"content__smallprint"},[t._v("\n "+t._s(t._f("localize")("component.dependents"))+"\n "),t._l(t.dependentComponents,(function(n,i){return e("span",{key:n},[t.componentLink(n)?e("RouterLink",{staticClass:"contentsection__list-item",attrs:{to:t.componentLink(n),"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(t.componentById(n).title)+"\n ")]):[t._v("\n "+t._s(t.componentById(n).title)+"\n ")],t._v(" "),e("span",{staticClass:"divider"},[t._v("\n "+t._s(i!=t.dependentComponents.length-1?",":".")+"\n ")])],2)}))],2)]:t._e(),t._v(" "),t.hasManyVariants?[e("div",{staticClass:"in-page-nav"},[e("span",{staticClass:"in-page-nav__heading"},[t._v("On this page")]),t._v(" "),e("ul",{staticClass:"in-page-nav__list"},t._l(t.variants,(function(n){return e("li",{key:n.id},[e("RouterLink",{staticClass:"in-page-nav__link",attrs:{to:{hash:t.dasherize(n.id)},"active-class":"","exact-active-class":""}},[t._v("\n "+t._s(n.title)+"\n ")])],1)})),0)])]:t._e()],2):t._e()],1):t._e(),t._v(" "),t.hasProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("properties"),hidden:!t.isPropertiesActive,role:"tabpanel"}},[e("div",{staticClass:"content"},t._l(t.component.properties,(function(t,n){return e("ContentProperties",{key:n,attrs:{title:n,properties:t}})})),1)]):t._e(),t._v(" "),t.hasThemeProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("theme-properties"),hidden:!t.isThemePropertiesActive,role:"tabpanel"}},[e("ContentThemeProperties",{attrs:{title:t._f("localize")("options.theme_properties"),"theme-properties":t.component.themeProperties}})],1):t._e()]):t._e()],1),t._v(" "),e("hr",{staticClass:"sections-divider"}),t._v(" "),t.hasVariants?e("section",{staticClass:"variants"},t._l(t.variants,(function(n){return e("ComponentVariant",{key:n.id,attrs:{variant:n,component:t.component}})})),1):t._e()])}),[],!1,null,"3ac5cfd6",null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[372],{3698:function(t,e,r){r.r(e),r.d(e,{default:function(){return f}});var n=r(3044),s=r(1239),i=r(2640),u=r(4074);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={threshold:.2,keys:[{name:"title",weight:.7},{name:"keywords",weight:.5}]},a={components:{ContentHeader:u.Z},props:{query:{type:String,required:!0}},data:function(){return{results:[]}},computed:o(o(o({},(0,i.Se)("state",["navigation"])),(0,i.Se)("preferences",["locale"])),{},{repo:function(){var t=Object.values(this.navigation).filter((function(t){return!t.isStructural}));return new s.Z(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(7314).Z)(a,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"page"},[e("ContentHeader",{staticClass:"uie-sob-l",attrs:{title:t.title}}),t._v(" "),e("article",{staticClass:"content"},[0===t.results.length?e("p",[t._v("\n "+t._s(t._f("localize")("search.no_results"))+"\n ")]):e("ul",t._l(t.results,(function(r){return e("li",{key:r.id},[e("RouterLink",{attrs:{to:r}},[t._v("\n "+t._s(r.title)+"\n ")]),t._v("\n ("+t._s(t._f("upcaseFirstChar")(r.type))+")\n ")],1)})),0)])],1)}),[],!1,null,null,null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[466],{701:function(e,t,r){r.r(t),r.d(t,{default:function(){return u}});var a=r(3044),i=r(2640),s=r(4074),l=r(1187);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.Z)(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.Z},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.Se)("state",["config"])),{},{locale:{get:(0,i.Se)("preferences",["locale"]).locale,set:function(e){this.setLocale(e)}},localeOptions:function(){return Object.keys(l.l).reduce((function(e,t){var r=(l.l[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.Se)("preferences",["previewMode"]).previewMode,set:function(e){this.setPreviewMode(e)}},hljs:{get:(0,i.Se)("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.OI)("preferences",["setLocale","setPreviewMode","setHljs"])),metaInfo:function(){return{title:this.title}}},u=(0,r(7314).Z)(c,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"page"},[t("ContentHeader",{staticClass:"uie-sob-l",attrs:{title:e.title}}),e._v(" "),t("article",{staticClass:"content"},[t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"locale"}},[e._v("\n "+e._s(e._f("localize")("settings.locale"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.locale,expression:"locale"}],attrs:{id:"locale-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.locale=t.target.multiple?r:r[0]}}},e._l(e.localeOptions,(function(r,a){return t("option",{key:a,domProps:{value:a,selected:e.locale===a}},[e._v("\n "+e._s(r)+"\n ")])})),0)]),e._v(" "),e.hasPreviewModes?t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"previewMode"}},[e._v("\n "+e._s(e._f("localize")("settings.preview_mode"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.previewMode,expression:"previewMode"}],attrs:{id:"previewMode-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.previewMode=t.target.multiple?r:r[0]}}},e._l(e.previewModeOptions,(function(r,a){return t("option",{key:a,domProps:{value:a,selected:e.previewMode===a}},[e._v("\n "+e._s(r)+"\n ")])})),0)]):e._e(),e._v(" "),t("div",{staticClass:"row"},[t("label",{staticClass:"uie-select-label",attrs:{for:"hljs"}},[e._v("\n "+e._s(e._f("localize")("settings.hljs"))+"\n ")]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.hljs,expression:"hljs"}],attrs:{id:"hljs-select"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.hljs=t.target.multiple?r:r[0]}}},e._l(e.hljsOptions,(function(r){return t("option",{key:r,domProps:{value:r,selected:e.hljs===r}},[e._v("\n "+e._s(e._f("titleize")(r))+"\n ")])})),0)]),e._v(" "),e._m(0)])],1)}),[function(){var e=this,t=e._self._c;return t("pre",{staticClass:"hljs",attrs:{lang:"html"}},[t("span",{staticClass:"hljs-tag"},[e._v("<"),t("span",{staticClass:"hljs-name"},[e._v("label")]),e._v(" "),t("span",{staticClass:"hljs-attr"},[e._v("for")]),e._v("="),t("span",{staticClass:"hljs-string"},[e._v('"name"')]),e._v(">")]),e._v("Name"),t("span",{staticClass:"hljs-tag"},[e._v("</"),t("span",{staticClass:"hljs-name"},[e._v("label")]),e._v(">")])])}],!1,null,"6fc520fe",null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[773],{7923:function(t,e,i){i.r(e),i.d(e,{default:function(){return _}});var n=i(3044),a=i(2640),o=i(6500),s=i(1061),r=i(8139),c=i(4074),p=i(4426),l=i(4199),d=i(8044),f=i(170),u=i(9430);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.Z)(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.Z,ContentText:p.Z,ContentTag:d.Z,ContentProperties:l.Z,ContentPreview:f.Z,ContentCode:u.Z},mixins:[s.Z,r.Z],props:{id:{type:String,required:!0}},data:function(){return{activeSectionTop:null,activeSectionBottom:null}},computed:v(v({},(0,a.Se)("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(7314).Z)(b,(function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"page"},[e("ContentHeader",{attrs:{title:t.page.title}},[t._l(t.page.tags,(function(t){return e("ContentTag",{key:t,staticClass:"uie-sob-m",attrs:{tag:t}})})),t._v(" "),e("div",{staticClass:"contentheader__right"},[t.hasInfo&&t.hasProperties?e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[e("a",{ref:"info-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("info"),"aria-selected":t.isInfoActive,tabindex:!t.isInfoActive&&"-1",role:"tab",href:"#info"},on:{click:function(e){e.preventDefault(),t.activeSectionTop="info"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.switchTabTop("properties")}}},[t._v("\n "+t._s(t._f("localize")("options.info"))+"\n ")]),t._v(" "),e("a",{ref:"properties-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("properties"),"aria-selected":t.isPropertiesActive,tabindex:!t.isPropertiesActive&&"-1",role:"tab",href:"#properties"},on:{click:function(e){e.preventDefault(),t.activeSectionTop="properties"},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.switchTabTop("info")}}},[t._v("\n "+t._s(t._f("localize")("options.properties"))+"\n ")])]):t._e()])],2),t._v(" "),t.hasInfo||t.hasProperties?e("div",{staticClass:"uie-sot-xs"},[t.hasInfo?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("info"),hidden:!t.isInfoActive,role:"tabpanel"}},[e("ContentText",{attrs:{item:t.page}})],1):t._e(),t._v(" "),t.hasProperties?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("properties"),hidden:!t.isPropertiesActive,role:"tabpanel"}},[e("div",{staticClass:"content"},t._l(t.page.properties,(function(t,i){return e("ContentProperties",{key:i,attrs:{title:i,properties:t}})})),1)]):t._e()]):t._e(),t._v(" "),e("hr",{staticClass:"sections-divider"}),t._v(" "),e("ContentHeader",{staticClass:"uie-sob-m"},[e("div",{staticClass:"contentheader__right"},[t.hasPreview&&t.hasCode?e("div",{staticClass:"contentheader__options",attrs:{role:"tablist"}},[t._l(t.pluginActions,(function(i){return e("button",{key:i.title,ref:"plugin-action",refInFor:!0,staticClass:"contentheader__action",attrs:{title:i.title,"aria-label":i.title,href:"#"},on:{click:function(e){return e.preventDefault(),t.dispatchPluginEvent("click",i,e)}}},[i.icon?e("AppIcon",{attrs:{symbol:i.icon}}):e("span",[t._v("\n "+t._s(i.title)+"\n ")])],1)})),t._v(" "),t.displayAllThemes?t._e():e("a",{staticClass:"contentheader__action",attrs:{target:t._f("dasherize")(t.page.id),title:t._f("localize")("options.open_in_window"),href:t.href},on:{click:function(t){t.stopPropagation()}}},[e("AppIcon",{attrs:{symbol:"open-in-window"}})],1),t._v(" "),e("div",{staticClass:"contentheader__buttons"},[e("a",{ref:"preview-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("preview"),"aria-selected":t.isTabActive("preview"),tabindex:!t.isTabActive("preview")&&"-1",href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom="preview"}}},[t._v("\n "+t._s(t._f("localize")("options.preview"))+"\n ")]),t._v(" "),e("a",{ref:"code-tab",staticClass:"contentheader__option",attrs:{id:t.tabId("code"),"aria-selected":t.isTabActive("code"),tabindex:!t.isTabActive("code")&&"-1",href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom="code"}}},[t._v("\n "+t._s(t._f("localize")("options.code"))+"\n ")]),t._v(" "),t._l(t.pluginTabs,(function(i){return e("a",{key:i.id,ref:"plugin-tab",refInFor:!0,staticClass:"contentheader__option",attrs:{id:t.tabId(i.id),"aria-selected":t.isTabActive(i.id),tabindex:!t.isTabActive(i.id)&&"-1","data-test-variant-tab-link":i.id,href:"#",role:"tab"},on:{click:function(e){e.preventDefault(),t.activeSectionBottom=i.id}}},[t._v("\n "+t._s(i.title)+"\n ")])}))],2)],2):t._e()])])],1),t._v(" "),t.hasPreview||t.hasCode?e("div",{staticClass:"uie-sot-xl"},[t.hasPreview?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("preview"),hidden:!t.isTabActive("preview"),role:"tabpanel"}},[e("ContentPreview",{ref:"preview",attrs:{id:t.id,title:t.page.title,"path-postfix":t.page.id,"path-prefix":"_pages"}})],1):t._e(),t._v(" "),t.hasCode?e("div",{staticClass:"contentsection",attrs:{"aria-labelledby":t.tabId("code"),hidden:!t.isTabActive("code"),role:"tabpanel"}},[e("ContentCode",{attrs:{extension:t.page.extension,context:t.page.context,"path-postfix":t.page.id,"path-prefix":"_pages"}})],1):t._e(),t._v(" "),t._l(t.pluginTabs,(function(i){return e("div",{key:i.id,ref:"plugin-tab-content",refInFor:!0,staticClass:"contentsection content",attrs:{"aria-labelledby":t.tabId(i.id),hidden:!t.isTabActive(i.id),role:"tabpanel"}},[t._v("\n "+t._s(i.id)+"\n ")])}))],2):t._e()])}),[],!1,null,"0e8f8c65",null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[262],{9807:function(e,t,r){r.r(t),r.d(t,{default:function(){return l}});var n=r(3044),i=r(2640),s=r(4074),a=r(4426),o=r(8044),c=r(8901);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.Z)(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.Z,ContentText:a.Z,ContentTag:o.Z},mixins:[c.Z],props:{id:{type:String,required:!0}},computed:f(f(f({},(0,i.Se)("state",["config","pages"])),(0,i.Se)("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(7314).Z)(p,(function(){var e=this,t=e._self._c;return t("div",[t("section",{staticClass:"page"},[t("ContentHeader",{attrs:{title:e.page.title}},e._l(e.page.tags,(function(e){return t("ContentTag",{key:e,staticClass:"uie-sob-m",attrs:{tag:e}})})),1),e._v(" "),t("ContentText",{staticClass:"uie-sot-xs uie-sob-xxxl",attrs:{item:e.page}})],1),e._v(" "),t("hr",{staticClass:"sections-divider"}),e._v(" "),t("iframe",{ref:"iframe",attrs:{src:e.iframeSrc,title:e.page.title,frameborder:"0",scrolling:"no","data-test-tokens-iframe":""}})])}),[],!1,null,"06a66f48",null).exports}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[655],{2349:function(){}},function(n){var u;u=2349,n(n.s=u)}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[179],{5622: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,"]"))}},5042:function(t,e,n){"use strict";var r=n(6421),i=n(4236),o=n(6354),a=n.n(o),s=n(2008),c=n.n(s),l=n(2653),u=n(3044),p=n(2640);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.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v={mixins:[n(8139).Z],data:function(){return{query:"",isThemesActive:!1}},computed:d(d({},(0,p.Se)("state",["navigation"])),(0,p.Se)("preferences",["locale","navigationCollapsed","searchCollapsed"])),created:function(){var t=this;this.$root.$on("modal-close",(function(){t.isThemesActive=!1}))},methods:d(d({},(0,p.OI)("preferences",["setNavigationCollapsed","setSearchCollapsed","setCurrentTheme"])),{},{search:function(){var t=this.query.trim();t.length&&this.$router.push({name:"search",params:{query:t}})},setCurrentThemeAll:function(){this.setCurrentTheme({id:"_all",title:this.$options.filters.localize("options.all_themes")})},toggleSearch:function(){var t=this;this.setSearchCollapsed(!this.searchCollapsed),this.searchCollapsed||window.requestAnimationFrame((function(){t.$refs.searchfield.focus()}))}})},h=n(7314),g=(0,h.Z)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"topbar"},[e("button",{staticClass:"topbar__toggle topbar__toggle--menu",attrs:{title:t._f("localize")("navigation.toggle"),"aria-expanded":t._f("bool2string")(!t.navigationCollapsed),type:"button","aria-controls":"navigation-root","data-test-navtoggle":""},on:{click:function(e){return e.preventDefault(),t.setNavigationCollapsed(!t.navigationCollapsed)}}},[e("AppIcon",{staticClass:"topbar__icon",attrs:{symbol:"burger"}})],1),t._v(" "),e("form",{staticClass:"topbar__search",class:{"topbar__search--collapsed":t.searchCollapsed},on:{submit:function(e){return e.preventDefault(),t.search.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchfield",staticClass:"topbar__searchfield",attrs:{type:"search",placeholder:"Search",name:"query","aria-label":t._f("localize")("search.label"),"data-test-searchfield":""},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}})]),t._v(" "),t.themes&&t.themes.length>1?e("div",{staticClass:"topbar__theme",attrs:{"data-test-theme-switch":""}},[e("button",{staticClass:"topbar__theme-toggle",attrs:{title:t._f("localize")("options.toggle"),"aria-expanded":t._f("bool2string")(t.isThemesActive),type:"button","data-test-theme-switch-current":""},on:{click:function(e){e.stopPropagation(),t.isThemesActive=!t.isThemesActive}}},[t._v("\n "+t._s(t.currentTheme.title)+"\n\n "),e("AppIcon",{staticClass:"topbar__theme-toggle-icon",attrs:{symbol:"caret-down"}})],1),t._v(" "),e("div",{staticClass:"topbar__theme-options",class:{"topbar__theme-options--active":t.isThemesActive}},[e("div",{staticClass:"topbar__theme-options-inner"},[t._l(t.themes,(function(n){return e("button",{key:n.id,staticClass:"topbar__theme-option",attrs:{type:"button","aria-selected":t.currentTheme.id===n.id,"data-test-theme-switch-id":n.id},on:{click:function(e){return t.setCurrentTheme(n)}}},[t._v("\n "+t._s(n.title)+"\n ")])})),t._v(" "),e("button",{staticClass:"topbar__theme-option topbar__theme-option--all",attrs:{type:"button","aria-selected":t.displayAllThemes,"data-test-theme-switch-all":""},on:{click:function(e){return t.setCurrentThemeAll()}}},[t._v("\n "+t._s(t._f("localize")("options.all_themes"))+"\n ")])],2)])]):t._e(),t._v(" "),e("button",{staticClass:"topbar__toggle topbar__toggle--search",attrs:{title:t._f("localize")("search.toggle"),type:"button"},on:{click:function(e){return e.preventDefault(),t.toggleSearch.apply(null,arguments)}}},[e("AppIcon",{staticClass:"topbar__icon",attrs:{symbol:"search"}})],1)])}),[],!1,null,"0778ce28",null),m=g.exports;function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function 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.Z)(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.Se)("state",["config","navigation"])),(0,p.Se)("preferences",["locale","navigationCollapsed"]))},O=(0,h.Z)(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 P(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.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w={computed:P(P(P({},(0,p.Se)("state",["config","navigation"])),(0,p.Se)("preferences",["locale"])),{},{lastUpdate:function(){return new Date(this.config.update).toLocaleString(this.locale)},navItem:function(){var t=this.$route.meta.navItemId;return this.navigation[t]},prevPage:function(){return this.findPrevPage(this.$route.meta.navItemId,!0)},nextPage:function(){return this.findNextPage(this.$route.meta.navItemId,!0)}}),methods:{findPrevPage:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t){var r=this.navigation[t];if(r){var i=r.childIds,o=r.prevSiblingId,a=r.parentId;return!n&&i?this.findPrevPage(i[i.length-1],!1,!1):e||r.isStructural?o?this.findPrevPage(o,!1,!1):a?this.findPrevPage(a,!1,!0):void 0:r}}},findNextPage:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t){var r=this.navigation[t];if(r){var i=r.childIds,o=r.nextSiblingId,a=r.parentId;return e||r.isStructural?!n&&i?this.findNextPage(i[0]):o?this.findNextPage(o):a?this.findNextPage(a,!0,!0):void 0:r}}}}},j=w,I=n(2390),k=n.n(I),S=(0,h.Z)(j,(function(){var t=this,e=t._self._c;return e("footer",{staticClass:"footer"},[t.prevPage||t.nextPage?e("p",{staticClass:"footer__nav"},[t.prevPage?e("RouterLink",{staticClass:"footer__prevlink",attrs:{to:t.prevPage,"data-test-footer-prevlink":""}},[e("AppIcon",{attrs:{symbol:"caret-left"}}),t._v("\n "+t._s(t.prevPage.title)+"\n ")],1):t._e(),t._v(" "),t.nextPage?e("RouterLink",{staticClass:"footer__nextlink",attrs:{to:t.nextPage,"data-test-footer-nextlink":""}},[t._v("\n "+t._s(t.nextPage.title)+"\n "),e("AppIcon",{attrs:{symbol:"caret-right"}})],1):t._e()],1):t._e(),t._v(" "),e("div",[t.config.copyright?e("p",{staticClass:"footer__copyright",attrs:{"data-test-footer-copyright":""},domProps:{innerHTML:t._s(t.config.copyright)}}):t._e(),t._v(" "),t.config.version?e("p",{staticClass:"footer__version",attrs:{"data-test-footer-version":""}},[t._v("\n "+t._s(t._f("localize")("footer.version"))+" "+t._s(t.config.version)+" –\n "+t._s(t._f("localize")("footer.last_update"))+" "+t._s(t.lastUpdate)+".\n ")]):t._e()])])}),[],!1,null,"cdcd25a2",null);"function"==typeof k()&&k()(S);var T=S.exports,Z={computed:(0,p.Se)("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}}},x=(0,h.Z)(Z,(function(){var t=this._self._c;return t("main",{staticClass:"main"},[t("RouterView")],1)}),[],!1,null,null,null).exports;function A(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?A(Object(n),!0).forEach((function(e){(0,u.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var N=document.documentElement,q=document.getElementById("hljs"),M=q.getAttribute("data-tmpl"),$={components:{AppTopbar:m,AppNavigation:O,AppFooter:T,AppMain:x},computed:D(D({},(0,p.Se)("preferences",["currentTheme"])),{},{themeId:function(){return this.currentTheme&&this.currentTheme.id}}),created:function(){var t=this;this.$root.$on("setting-hljs",this.setHljs),this.$store.watch((function(){return t.$store.getters["preferences/currentTheme"]}),this.setCurrentTheme);var e=this.$store.getters["preferences/hljs"];e&&this.setHljs(e),this.setCurrentTheme(this.currentTheme)},methods:{closeModals:function(){this.$root.$emit("modal-close")},setHljs:function(t){q.setAttribute("href",M.replace("%s",t))},setCurrentTheme:function(t){N.setAttribute("data-theme",t.id)}},metaInfo:function(){var t=this.$store.getters["state/config"],e=t?t.name:"";return t&&t.version&&(e+=" (".concat(t.version,")")),{titleTemplate:function(t){return t?"".concat(t," • ").concat(e):e}}}},E=(0,h.Z)($,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"layout",attrs:{id:"app"},on:{click:t.closeModals}},[e("AppTopbar"),t._v(" "),e("AppNavigation"),t._v(" "),e("AppMain"),t._v(" "),e("AppFooter")],1)}),[],!1,null,null,null).exports,z=n(7108),U=n(6968),F=n(6500);r.ZP.use(z.ZP);var L=function(t){if("documentation"===t)return U.default;var e=(0,F.upcaseFirstChar)(t);return function(){return n(1393)("./Main"+e)}},H=window.UIengine.state.config.ui,R=H.base,B=H.mode,K=new z.ZP({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:L("search"),meta:{navItemId:"_search"}},{name:"settings",path:"/_settings/",component:L("settings"),meta:{navItemId:"_settings"}},{path:"*",component:L("notFound")}]}),V=K,W=function(t){var e=Object.keys(t).map((function(e){var n=t[e];return{path:n.path,component:L(n.type),meta:{navItemId:n.id,navItemTitle:n.title},props:{id:n.itemId}}}));K.addRoutes(e)};W(window.UIengine.state.navigation);var J=function(t){var e,n,r=t.navigation;return n="Settings",r[e="settings"]={id:e,itemId:e,parentId:"index",path:"/_".concat(e,"/"),type:e,localizedTitleKey:"".concat(e,".title"),title:n},r.index.childIds.push(e),t},G={setState:function(t,e){for(var n in e=J(e))t[n]=e[n];var r=e.navigation;r&&W(r)}},Q={namespaced:!0,state:J(window.UIengine.state),getters:{pages:function(t){return t.pages},config:function(t){return t.config},plugins:function(t){return t.plugins},components:function(t){return t.components},navigation:function(t){return t.navigation}},mutations:G,actions:{}},X=n(5009),Y=window.UIengine.state.config,tt=Y.ui,et=Y.themes,nt={hljs:document.getElementById("hljs").getAttribute("data-default"),locale:document.documentElement.getAttribute("lang"),currentTheme:et&&et[0],navigationCollapsed:!1,navigationItemsCollapsed:{},searchCollapsed:!0,previewWidths:{},previewMode:tt&&tt.defaultPreviewMode||"breakpoints"},rt=Object.keys(nt).reduce((function(t,e){var n=nt[e];return t[e]=function(t,e){var n=window.sessionStorage.getItem("uiengine/".concat(t));return n?JSON.parse(n):e}(e,n),t}),{}),it=Object.keys(nt).reduce((function(t,e){return t[e]=function(t){return t[e]},t}),{}),ot=Object.keys(nt).reduce((function(t,e){var n=(0,F.upcaseFirstChar)(e);return t["set".concat(n)]=function(t,n){!function(t,e){e||"boolean"==typeof e?window.sessionStorage.setItem("uiengine/".concat(t),JSON.stringify(e)):window.sessionStorage.removeItem("uiengine/".concat(t))}(e,n),t[e]=function(t){return"object"===(0,X.Z)(t)?t instanceof Array?t:Object.assign({},t):t}(n)},t}),{}),at={namespaced:!0,state:rt,getters:it,mutations:ot,actions:{}};r.ZP.use(p.ZP);var st={state:Q,preferences:at},ct=new p.ZP.Store({modules:st}),lt=n(5622),ut=n.n(lt),pt=n(1187);r.ZP.filter("dasherize",F.dasherize),r.ZP.filter("upcaseFirstChar",F.upcaseFirstChar),r.ZP.filter("titleize",F.titleize),r.ZP.filter("bool2string",(function(t){return t?"true":"false"})),r.ZP.filter("localize",(function(t,e){var n=ct.getters["preferences/locale"],r=pt.l[n];return ut()(r,t,e)}));var ft={props:{title:{type:String,default:""},symbol:{type:String,required:!0}},computed:{symbolHref:function(){return"#".concat(this.symbol)}}},dt=(0,h.Z)(ft,(function(){var t=this,e=t._self._c;return e("svg",{staticClass:"icon",attrs:{title:t.title,role:"presentation","aria-hidden":"true",focusable:"false"}},[e("use",{attrs:{"xlink:href":t.symbolHref}})])}),[],!1,null,"498522e7",null).exports,vt={props:{navigation:{type:Object,required:!0},items:{type:Array,required:!0},level:{type:Number,required:!0}},computed:{levelClass:function(){return"navigation__tree--level-".concat(this.level)},navigationItems:function(){var t=this;return this.items.filter((function(e){return void 0!==t.navigation[e]}))}}},ht=(0,h.Z)(vt,(function(){var t=this,e=t._self._c;return e("ul",{staticClass:"navigation__tree",class:t.levelClass},[t._l(t.navigationItems,(function(n){return e("AppNavigationItem",{key:n,attrs:{navigation:t.navigation,item:t.navigation[n],level:t.level}})})),t._v(" "),t._t("default")],2)}),[],!1,null,"e330ca40",null).exports;function gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(n),!0).forEach((function(e){(0,u.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _t={props:{navigation:{type:Object,required:!0},item:{type:Object,required:!0},level:{type:Number,required:!0}},computed:mt(mt({},(0,p.Se)("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.OI)("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,h.Z)(_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(5681);r.ZP.component("AppIcon",dt),r.ZP.component("AppNavigationTree",ht),r.ZP.component("AppNavigationItem",bt),r.ZP.component("ContentProperty",yt.Z);var Ot=(window.UIengine.state.config.ui||{}).analyticsId;if(n.p=window.UIengine.base,r.ZP.config.productionTip=!1,r.ZP.use(i.Z),Ot&&r.ZP.use(a(),{id:Ot,router:V,autoTracking:{exception:!0,exceptionLogs:!1},debug:{sendHitTask:!0}}),new r.ZP({el:"#app",router:V,store:ct,components:{App:E},mounted:function(){this.$nextTick((function(){(0,l.Z)({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.")}()}},7027:function(t,e){"use strict";e.Z={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}}}},8139:function(t,e,n){"use strict";var r=n(3044),i=n(2640);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.Z)(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.Z={computed:a(a(a({},(0,i.Se)("state",["config"])),(0,i.Se)("preferences",["currentTheme"])),{},{displayAllThemes:function(){return"_all"===this.currentTheme.id},displayedThemes:function(){return this.displayAllThemes?this.themes:[this.currentTheme]},themes:function(){return this.config.themes}})}},1187:function(t,e,n){"use strict";n.d(e,{l:function(){return l}});var r=n(1141),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)},4074:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r={components:{ContentHeading:n(8849).Z},props:{title:{type:String,default:null},level:{type:Number,default:1}}},i=(0,n(7314).Z)(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,"eaea4294",null).exports},8849:function(t,e,n){"use strict";n.d(e,{Z: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(7314).Z)(r,undefined,undefined,!1,null,null,null).exports},5681:function(t,e,n){"use strict";n.d(e,{Z: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(7314).Z)(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},8044:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r={props:{tag:{type:String,required:!0}},computed:{target:function(){return{name:"search",params:{query:this.tag}}}}},i=(0,n(7314).Z)(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},4426:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=/^<h1.*?>.*<\/h1>/,i={props:{item:{type:Object,default:null}},computed:{renderedContent:function(){var t=this.item,e=t.content,n=t.isTitleFromHeading;return e?n?e.replace(r,"").trim():e:null}},methods:{handleLinkClicks:function(t){for(var e=t.target;e&&"A"!==e.tagName;)e=e.parentNode;if(e&&e.matches(".content a:not([href*='://'])")&&e.href){var n=t.altKey,r=t.ctrlKey,i=t.metaKey,o=t.shiftKey,a=t.button,s=t.defaultPrevented;if(i||n||r||o)return;if(s)return;if(void 0!==a&&0!==a)return;if(e&&e.getAttribute){var c=e.getAttribute("target");if(/\b_blank\b/i.test(c))return}var l=window.UIengine.state.config.ui.base,u=new RegExp("^".concat(l)),p=new URL(e.href).pathname,f=window.location.pathname,d=p.replace(u,"/"),v=f.replace(u,"/");void 0!==this.$router.resolve(d).resolved.meta.navItemId&&!(v===d)&&t.preventDefault&&(t.preventDefault(),this.$router.push(d))}}}},o=(0,n(7314).Z)(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},6968:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});var r=n(3044),i=n(2640),o=n(7027),a=n(4074),s=n(4426),c=n(8044);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.Z)(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.Z,ContentText:s.Z,ContentTag:c.Z},mixins:[o.Z],props:{id:{type:String,required:!0}},computed:u(u({},(0,i.Se)("state",["pages","config"])),{},{page:function(){return this.pages[this.id]},fileLink:function(){return this.findFileLink(this.page)}})},f=(0,n(7314).Z)(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},2390:function(){},1393:function(t,e,n){var r={"./MainComponent":[313,556,941,901,382,674],"./MainComponent.vue":[313,556,941,901,382,674],"./MainDocumentation":[6968],"./MainDocumentation.vue":[6968],"./MainNotFound":[7142,233],"./MainNotFound.vue":[7142,233],"./MainSearch":[3698,556,372],"./MainSearch.vue":[3698,556,372],"./MainSettings":[701,466],"./MainSettings.vue":[701,466],"./MainTemplate":[7923,556,941,901,382,773],"./MainTemplate.vue":[7923,556,941,901,382,773],"./MainTokens":[9807,556,901,262],"./MainTokens.vue":[9807,556,901,262]};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=1393,t.exports=i},6500:function(t,e,n){const r=n(1001),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,[179],(function(){[556,941,901,382,674,233,372,466,773,262].map(t.E)}),5);t.O(0,[556,418],(function(){return e=5042,t(t.s=e);var e}));t.O()}]);