@htmlbricks/hb-layout-mobile 0.17.13 → 0.17.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/release/manifest.json +1 -1
- package/release/release.js +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-layout-mobile",
|
|
3
3
|
"displayName": "Svelte Bootstrap Layout Mobile WebComponent",
|
|
4
4
|
"description": "Svelte Bootstrap 5 WebComponent",
|
|
5
|
-
"version": "0.17.
|
|
5
|
+
"version": "0.17.16",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
"webcomponents"
|
|
76
76
|
],
|
|
77
77
|
"contributors": [],
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "11d3f9fb8e35c39739e626dd7aaa1b4e3b1eb36a",
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@htmlbricks/hb-cookie-law-banner": "^0.17.
|
|
81
|
-
"@htmlbricks/hb-footer": "^0.17.
|
|
82
|
-
"@htmlbricks/hb-jsutils": "^0.17.
|
|
83
|
-
"@htmlbricks/hb-navbar": "^0.17.
|
|
84
|
-
"@htmlbricks/hb-offcanvas": "^0.17.
|
|
85
|
-
"@htmlbricks/hb-sidebar-desktop": "^0.17.
|
|
80
|
+
"@htmlbricks/hb-cookie-law-banner": "^0.17.16",
|
|
81
|
+
"@htmlbricks/hb-footer": "^0.17.16",
|
|
82
|
+
"@htmlbricks/hb-jsutils": "^0.17.16",
|
|
83
|
+
"@htmlbricks/hb-navbar": "^0.17.16",
|
|
84
|
+
"@htmlbricks/hb-offcanvas": "^0.17.16",
|
|
85
|
+
"@htmlbricks/hb-sidebar-desktop": "^0.17.16",
|
|
86
86
|
"debounce": "^1.2.1",
|
|
87
87
|
"style-to-object": "^0.3.0"
|
|
88
88
|
}
|
package/release/manifest.json
CHANGED
package/release/release.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var release=function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function o(e){e.forEach(t)}function i(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(e,t){e.appendChild(t)}function l(e,t,n){e.insertBefore(t,n||null)}function s(e){e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function u(){return e=" ",document.createTextNode(e);var e}function d(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function p(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function f(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:p(e,t,n)}function g(e){const t={};for(const n of e)t[n.name]=n.value;return t}let m;function h(e){m=e}function v(){if(!m)throw new Error("Function called outside component initialization");return m}function y(){const e=v();return(t,n,{cancelable:o=!1}={})=>{const i=e.$$.callbacks[t];if(i){const r=function(e,t,{bubbles:n=!1,cancelable:o=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n,o,t),i}(t,n,{cancelable:o});return i.slice().forEach((t=>{t.call(e,r)})),!r.defaultPrevented}return!0}}const $=[],b=[],w=[],k=[],x=Promise.resolve();let _=!1;function C(e){w.push(e)}const E=new Set;let T=0;function N(){const e=m;do{for(;T<$.length;){const e=$[T];T++,h(e),S(e.$$)}for(h(null),$.length=0,T=0;b.length;)b.pop()();for(let e=0;e<w.length;e+=1){const t=w[e];E.has(t)||(E.add(t),t())}w.length=0}while($.length);for(;k.length;)k.pop()();_=!1,E.clear(),h(e)}function S(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}const L=new Set;function O(e,t){-1===e.$$.dirty[0]&&($.push(e),_||(_=!0,x.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function D(r,a,l,c,u,d,p,f=[-1]){const g=m;h(r);const v=r.$$={fragment:null,ctx:null,props:d,update:e,not_equal:u,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a.context||(g?g.$$.context:[])),callbacks:n(),dirty:f,skip_bound:!1,root:a.target||g.$$.root};p&&p(v.root);let y=!1;if(v.ctx=l?l(r,a.props||{},((e,t,...n)=>{const o=n.length?n[0]:t;return v.ctx&&u(v.ctx[e],v.ctx[e]=o)&&(!v.skip_bound&&v.bound[e]&&v.bound[e](o),y&&O(r,e)),t})):[],v.update(),y=!0,o(v.before_update),v.fragment=!!c&&c(v.ctx),a.target){if(a.hydrate){const e=function(e){return Array.from(e.childNodes)}(a.target);v.fragment&&v.fragment.l(e),e.forEach(s)}else v.fragment&&v.fragment.c();a.intro&&(($=r.$$.fragment)&&$.i&&(L.delete($),$.i(b))),function(e,n,r,a){const{fragment:l,on_mount:s,on_destroy:c,after_update:u}=e.$$;l&&l.m(n,r),a||C((()=>{const n=s.map(t).filter(i);c?c.push(...n):o(n),e.$$.on_mount=[]})),u.forEach(C)}(r,a.target,a.anchor,a.customElement),N()}var $,b;h(g)}let A;"function"==typeof HTMLElement&&(A=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){!function(e,t){const n=e.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var P="0.17.13";function z(e,t,n){var o,i,r,a,l;function s(){var c=Date.now()-a;c<t&&c>=0?o=setTimeout(s,t-c):(o=null,n||(l=e.apply(r,i),r=i=null))}null==t&&(t=100);var c=function(){r=this,i=arguments,a=Date.now();var c=n&&!o;return o||(o=setTimeout(s,t)),c&&(l=e.apply(r,i),r=i=null),l};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.flush=function(){o&&(l=e.apply(r,i),r=i=null,clearTimeout(o),o=null)},c}z.debounce=z;var M=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,j=/\n/g,J=/^\s*/,H=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,R=/^:\s*/,F=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,I=/^[;\s]*/,V=/^\s+|\s+$/g,W="";function B(e){return e?e.replace(V,W):W}var U=function(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,r,a=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,o=1;function i(e){var t=e.match(j);t&&(n+=t.length);var i=e.lastIndexOf("\n");o=~i?e.length-i:o+e.length}function r(){var e={line:n,column:o};return function(t){return t.position=new a(e),c(),t}}function a(e){this.start=e,this.end={line:n,column:o},this.source=t.source}function l(i){var r=new Error(t.source+":"+n+":"+o+": "+i);if(r.reason=i,r.filename=t.source,r.line=n,r.column=o,r.source=e,!t.silent)throw r}function s(t){var n=t.exec(e);if(n){var o=n[0];return i(o),e=e.slice(o.length),n}}function c(){s(J)}function u(e){var t;for(e=e||[];t=d();)!1!==t&&e.push(t);return e}function d(){var t=r();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;W!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,W===e.charAt(n-1))return l("End of comment missing");var a=e.slice(2,n-2);return o+=2,i(a),e=e.slice(n),o+=2,t({type:"comment",comment:a})}}function p(){var e=r(),t=s(H);if(t){if(d(),!s(R))return l("property missing ':'");var n=s(F),o=e({type:"declaration",property:B(t[0].replace(M,W)),value:n?B(n[0].replace(M,W)):W});return s(I),o}}return a.prototype.content=e,c(),function(){var e,t=[];for(u(t);e=p();)!1!==e&&(t.push(e),u(t));return t}()}(e),l="function"==typeof t,s=0,c=a.length;s<c;s++)i=(n=a[s]).property,r=n.value,l?t(i,r,n):r&&(o||(o={}),o[i]=r);return o},q={vars:[{name:"--bs-primary",defaultValue:"#07689f",valueType:"color",theme:"bootstrap"}],parts:[{name:"header",description:"header"}]},K={vars:[],parts:[{name:"column-cell-button-content",description:""}]},G={vars:[],parts:[{name:"left-slot",description:""},{name:"center-slot",description:""},{name:"right-slot",description:""}]},Q={vars:[],parts:[]},X={vars:[{name:"--bs-primary",defaultValue:"#07689f",valueType:"color",theme:"bootstrap"}],parts:[{name:"header",description:"header"}]};var Y,Z=(function(e,t){t.__esModule=!0,t.LanguageTranslator=t.addComponent=t.getChildStyleToPass=void 0,t.getChildStyleToPass=function(e,t){var n,o,i="";if(e&&(null==t?void 0:t.length)&&(null===(n=Object.keys(e))||void 0===n?void 0:n.length)&&(null===(o=null==t?void 0:t.filter((function(t){return Object.keys(e).includes(t.name)})))||void 0===o?void 0:o.length))for(var r=function(n){(null==t?void 0:t.filter((function(t){return t.name===n&&t.defaultValue!==e[n]})))&&(i+="".concat(n,":").concat(e[n],";"))},a=0,l=Object.keys(e);a<l.length;a++)r(l[a]);return i},t.addComponent=function(e){var t,n=(null===(t=null==e?void 0:e.repoName.split("/"))||void 0===t?void 0:t[1])||(null==e?void 0:e.repoName);if(!n)throw new Error("wrong componentPath "+(null==e?void 0:e.repoName));if(!(null==e?void 0:e.version))throw new Error("wrong version "+(null==e?void 0:e.version));var o=(null==e?void 0:e.iifePath)||"release/release.js";if(!document.getElementById(n+"-script"))try{var i=document.createElement("script");i.id=n+"-script",i.src="https://cdn.jsdelivr.net/npm/".concat(e.repoName,"@").concat(e.version,"/").concat(o),(null==e?void 0:e.local)&&location.href.includes("localhost")&&(i.src="".concat(e.local)),document.head.appendChild(i)}catch(e){console.warn(e)}};var n=function(){function e(e){if(!(null==e?void 0:e.dictionary))throw new Error("no dictionary provided");this.dictionary=e.dictionary,this.setLang(null==e?void 0:e.lang)}return e.prototype.setLang=function(t){t||(t=e.getDefaultLang()),this.lang=t},e.prototype.translateWord=function(t,n){return e.getDictionaryWord(t,this.dictionary,n||this.lang)},e.prototype.translateDate=function(t,n,o){return e.formatDate(t,n,o||this.lang)},e.getDefaultLang=function(){var e,t,n,o,i,r="en";return(null===navigator||void 0===navigator?void 0:navigator.languages)&&(null===(n=null===(t=null===(e=navigator.languages[0])||void 0===e?void 0:e.split("-")[0])||void 0===t?void 0:t.toLowerCase())||void 0===n?void 0:n.length)&&(r=null===(i=null===(o=navigator.languages[0])||void 0===o?void 0:o.split("-")[0])||void 0===i?void 0:i.toLowerCase()),r},e.getDictionaryWord=function(t,n,o){var i;if(!t)throw new Error("no wordKey provided");if(!n)throw new Error("no dictionary provided");if(o&&(null===(i=n[o])||void 0===i?void 0:i[t]))return n[o][t];var r="",a=e.getDefaultLang();if(!o||a!==o){var l=null==n?void 0:n[a];(null==l?void 0:l[t])&&(r=l[t])}return r},e.formatDate=function(t,n,o){if(!t)throw new Error("no date provided");if("function"!=typeof t.getMonth)throw new Error("wrong date format");return new Intl.DateTimeFormat(o||e.getDefaultLang(),n).format(t)},e}();t.LanguageTranslator=n}(Y={exports:{}},Y.exports),Y.exports);function ee(e){let t,n,i,r,u,g,m,h,v;return{c(){t=c("hb-offcanvas"),n=c("span"),n.innerHTML='<slot name="nav-header-slot"></slot>',p(n,"slot","header"),f(t,"style",e[17]),f(t,"navpage",i=e[4]||""),f(t,"navlinks",r=e[3]||"[]"),f(t,"companytitle",u=e[13]?.title),f(t,"companylogouri",g=e[13]?.logo),f(t,"opened",m=e[21]?"yes":"no"),f(t,"type","autohide")},m(o,i){l(o,t,i),a(t,n),h||(v=[d(t,"offcanvasswitch",e[30]),d(t,"pageChange",e[31])],h=!0)},p(e,n){131072&n[0]&&f(t,"style",e[17]),16&n[0]&&i!==(i=e[4]||"")&&f(t,"navpage",i),8&n[0]&&r!==(r=e[3]||"[]")&&f(t,"navlinks",r),8192&n[0]&&u!==(u=e[13]?.title)&&f(t,"companytitle",u),8192&n[0]&&g!==(g=e[13]?.logo)&&f(t,"companylogouri",g),2097152&n[0]&&m!==(m=e[21]?"yes":"no")&&f(t,"opened",m)},d(e){e&&s(t),h=!1,o(v)}}}function te(e){let t,n;return{c(){t=c("hb-cookie-law-banner"),f(t,"style",e[20]),f(t,"language",n=e[12]||e[14]),f(t,"allowdecline",e[11]),f(t,"cookielawuri4more",e[10])},m(e,n){l(e,t,n)},p(e,o){1048576&o[0]&&f(t,"style",e[20]),20480&o[0]&&n!==(n=e[12]||e[14])&&f(t,"language",n),2048&o[0]&&f(t,"allowdecline",e[11]),1024&o[0]&&f(t,"cookielawuri4more",e[10])},d(e){e&&s(t)}}}function ne(t){let n,i,r,g,m,h,v,y,$,b,w,k,x,_,C,E,T,N,S,L,O,D,A,P,z,M,j,J,H,R=t[3]?.length&&ee(t),F=(t[7]||t[11]||t[12]||t[10])&&te(t);return{c(){R&&R.c(),n=u(),i=c("div"),r=c("hb-navbar"),g=c("span"),g.innerHTML='<slot name="nav-left-slot"></slot>',m=u(),h=c("span"),h.innerHTML='<slot name="nav-center-slot"></slot>',v=u(),y=c("span"),y.innerHTML='<slot name="nav-right-slot"></slot>',_=u(),C=c("div"),E=c("slot"),E.textContent="page",N=u(),F&&F.c(),S=u(),L=c("hb-footer"),this.c=e,p(g,"slot","left-slot"),p(h,"slot","center-slot"),p(y,"slot","right-slot"),f(r,"part","navbar"),f(r,"style",t[19]),f(r,"noburger",$=t[3]?"":"yes"),f(r,"companylogouri",b=t[2]?.logoUri||""),f(r,"companybrandname",w=t[5]||t[2]?.siteName||""),f(r,"usermenu",k=t[6]||""),f(r,"switchopen",x=t[21]?"yes":"no"),p(E,"name","page"),p(C,"style",T=t[9]?"flex: 2":""),p(C,"part","page"),p(C,"id","page"),f(L,"policies",t[16]),f(L,"type",O="auto"===t[15].type?t[9]?"small":"regular":t[15].type),f(L,"part","footer"),f(L,"socials",D=t[0]?JSON.stringify(t[0]):""),f(L,"contacts",A=t[1]?JSON.stringify(t[1]):""),f(L,"style",P="display:block;"+t[18]),f(L,"company",z=t[2]?JSON.stringify(t[2]):""),f(L,"columns",M=t[8]||""),f(L,"disable_expanding_small",j=t[15].disable_expanding_small?"yes":"no"),p(i,"style",t[22]),p(i,"part","container")},m(e,o){R&&R.m(e,o),l(e,n,o),l(e,i,o),a(i,r),a(r,g),a(r,m),a(r,h),a(r,v),a(r,y),a(i,_),a(i,C),a(C,E),a(i,N),F&&F.m(i,null),a(i,S),a(i,L),J||(H=[d(r,"navmenuswitch",t[32]),d(r,"navbarDropDownClick",t[33]),d(r,"navbarSlotClick",t[34]),d(L,"footerClick",t[35])],J=!0)},p(e,t){e[3]?.length?R?R.p(e,t):(R=ee(e),R.c(),R.m(n.parentNode,n)):R&&(R.d(1),R=null),524288&t[0]&&f(r,"style",e[19]),8&t[0]&&$!==($=e[3]?"":"yes")&&f(r,"noburger",$),4&t[0]&&b!==(b=e[2]?.logoUri||"")&&f(r,"companylogouri",b),36&t[0]&&w!==(w=e[5]||e[2]?.siteName||"")&&f(r,"companybrandname",w),64&t[0]&&k!==(k=e[6]||"")&&f(r,"usermenu",k),2097152&t[0]&&x!==(x=e[21]?"yes":"no")&&f(r,"switchopen",x),512&t[0]&&T!==(T=e[9]?"flex: 2":"")&&p(C,"style",T),e[7]||e[11]||e[12]||e[10]?F?F.p(e,t):(F=te(e),F.c(),F.m(i,S)):F&&(F.d(1),F=null),65536&t[0]&&f(L,"policies",e[16]),33280&t[0]&&O!==(O="auto"===e[15].type?e[9]?"small":"regular":e[15].type)&&f(L,"type",O),1&t[0]&&D!==(D=e[0]?JSON.stringify(e[0]):"")&&f(L,"socials",D),2&t[0]&&A!==(A=e[1]?JSON.stringify(e[1]):"")&&f(L,"contacts",A),262144&t[0]&&P!==(P="display:block;"+e[18])&&f(L,"style",P),4&t[0]&&z!==(z=e[2]?JSON.stringify(e[2]):"")&&f(L,"company",z),256&t[0]&&M!==(M=e[8]||"")&&f(L,"columns",M),32768&t[0]&&j!==(j=e[15].disable_expanding_small?"yes":"no")&&f(L,"disable_expanding_small",j),4194304&t[0]&&p(i,"style",e[22])},i:e,o:e,d(e){R&&R.d(e),e&&s(n),e&&s(i),F&&F.d(),J=!1,o(H)}}}function oe(e,t,n){let o,i,{id:r}=t,{socials:a}=t,{contacts:l}=t,{company:s}=t,{navlinks:c}=t,{pagename:u}=t,{page_title:d}=t,{usermenu:p}=t,{cookielaw:f}=t,{columns:g}=t,{onescreen:m}=t,{cookielawuri4more:h}=t,{cookielawallowdecline:$}=t,{cookielawlanguage:b}=t,{sidebar:w}=t,{style:k}=t,{size:x}=t,{i18nlang:_}=t,{footer:C}=t,{policies:E}=t,T="",N="",S="",L="",O="",D="";const A=v(),z=y();function M(e,t){z(e,t),A.dispatchEvent&&A.dispatchEvent(new CustomEvent(e,{detail:t}))}function j(e){console.log("burgerclick",e),n(21,i=e.isOpen),M("offcanvasswitch",e)}Z.addComponent({repoName:"@htmlbricks/hb-footer",version:P}),Z.addComponent({repoName:"@htmlbricks/hb-offcanvas",version:P}),Z.addComponent({repoName:"@htmlbricks/hb-navbar",version:P}),Z.addComponent({repoName:"@htmlbricks/hb-cookie-law-banner",version:P}),Z.addComponent({repoName:"@htmlbricks/hb-sidebar-desktop",version:P});return e.$$set=e=>{"id"in e&&n(25,r=e.id),"socials"in e&&n(0,a=e.socials),"contacts"in e&&n(1,l=e.contacts),"company"in e&&n(2,s=e.company),"navlinks"in e&&n(3,c=e.navlinks),"pagename"in e&&n(4,u=e.pagename),"page_title"in e&&n(5,d=e.page_title),"usermenu"in e&&n(6,p=e.usermenu),"cookielaw"in e&&n(7,f=e.cookielaw),"columns"in e&&n(8,g=e.columns),"onescreen"in e&&n(9,m=e.onescreen),"cookielawuri4more"in e&&n(10,h=e.cookielawuri4more),"cookielawallowdecline"in e&&n(11,$=e.cookielawallowdecline),"cookielawlanguage"in e&&n(12,b=e.cookielawlanguage),"sidebar"in e&&n(13,w=e.sidebar),"style"in e&&n(27,k=e.style),"size"in e&&n(26,x=e.size),"i18nlang"in e&&n(14,_=e.i18nlang),"footer"in e&&n(15,C=e.footer),"policies"in e&&n(16,E=e.policies)},e.$$.update=()=>{1040318463&e.$$.dirty[0]&&(k&&(n(28,o=U(k)),n(17,T=Z.getChildStyleToPass(o,null==q?void 0:q.vars)),n(18,N=Z.getChildStyleToPass(o,null==K?void 0:K.vars)),n(19,S=Z.getChildStyleToPass(o,null==G?void 0:G.vars)),n(20,L=Z.getChildStyleToPass(o,null==Q?void 0:Q.vars)),n(29,O+=Z.getChildStyleToPass(o,null==X?void 0:X.vars))),x||n(26,x=void 0),r||n(25,r=""),h||n(10,h=""),$||n(11,$=""),b||n(12,b=""),u||n(4,u=null),f||n(7,f=null),E||n(16,E=null),C?"string"==typeof C&&n(15,C=JSON.parse(C)):n(15,C={type:"auto",disable_expanding_small:!1}),C.type||n(15,C.type="auto",C),p||n(6,p=null),g||n(8,g=null),"string"==typeof m?n(9,m="no"!==m):m||n(9,m=!1),_||n(14,_=null),d||n(5,d=null),w?"string"==typeof w&&n(13,w=JSON.parse(w)):n(13,w={}),s?"string"==typeof s&&n(2,s=JSON.parse(s)):n(2,s=null),c||n(3,c=null),a||n(0,a=null),l||n(1,l=null),n(22,D=m?"display: flex;flex-direction: column;\theight: 100vh;":"display:block;"))},[a,l,s,c,u,d,p,f,g,m,h,$,b,w,_,C,E,T,N,S,L,i,D,M,j,r,x,k,o,O,e=>j(e.detail),e=>M("pageChange",e.detail),e=>j(e.detail),e=>M("navbarDropDownClick",e.detail),e=>M("navbarSlotClick",e.detail),e=>M("footerClick",e.detail)]}class ie extends A{constructor(e){super(),this.shadowRoot.innerHTML='<style>@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host{font-family:"Roboto", sans-serif}</style>',D(this,{target:this.shadowRoot,props:g(this.attributes),customElement:!0},oe,ne,r,{id:25,socials:0,contacts:1,company:2,navlinks:3,pagename:4,page_title:5,usermenu:6,cookielaw:7,columns:8,onescreen:9,cookielawuri4more:10,cookielawallowdecline:11,cookielawlanguage:12,sidebar:13,style:27,size:26,i18nlang:14,footer:15,policies:16},null,[-1,-1]),e&&(e.target&&l(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["id","socials","contacts","company","navlinks","pagename","page_title","usermenu","cookielaw","columns","onescreen","cookielawuri4more","cookielawallowdecline","cookielawlanguage","sidebar","style","size","i18nlang","footer","policies"]}get id(){return this.$$.ctx[25]}set id(e){this.$$set({id:e}),N()}get socials(){return this.$$.ctx[0]}set socials(e){this.$$set({socials:e}),N()}get contacts(){return this.$$.ctx[1]}set contacts(e){this.$$set({contacts:e}),N()}get company(){return this.$$.ctx[2]}set company(e){this.$$set({company:e}),N()}get navlinks(){return this.$$.ctx[3]}set navlinks(e){this.$$set({navlinks:e}),N()}get pagename(){return this.$$.ctx[4]}set pagename(e){this.$$set({pagename:e}),N()}get page_title(){return this.$$.ctx[5]}set page_title(e){this.$$set({page_title:e}),N()}get usermenu(){return this.$$.ctx[6]}set usermenu(e){this.$$set({usermenu:e}),N()}get cookielaw(){return this.$$.ctx[7]}set cookielaw(e){this.$$set({cookielaw:e}),N()}get columns(){return this.$$.ctx[8]}set columns(e){this.$$set({columns:e}),N()}get onescreen(){return this.$$.ctx[9]}set onescreen(e){this.$$set({onescreen:e}),N()}get cookielawuri4more(){return this.$$.ctx[10]}set cookielawuri4more(e){this.$$set({cookielawuri4more:e}),N()}get cookielawallowdecline(){return this.$$.ctx[11]}set cookielawallowdecline(e){this.$$set({cookielawallowdecline:e}),N()}get cookielawlanguage(){return this.$$.ctx[12]}set cookielawlanguage(e){this.$$set({cookielawlanguage:e}),N()}get sidebar(){return this.$$.ctx[13]}set sidebar(e){this.$$set({sidebar:e}),N()}get style(){return this.$$.ctx[27]}set style(e){this.$$set({style:e}),N()}get size(){return this.$$.ctx[26]}set size(e){this.$$set({size:e}),N()}get i18nlang(){return this.$$.ctx[14]}set i18nlang(e){this.$$set({i18nlang:e}),N()}get footer(){return this.$$.ctx[15]}set footer(e){this.$$set({footer:e}),N()}get policies(){return this.$$.ctx[16]}set policies(e){this.$$set({policies:e}),N()}}return customElements.define("hb-layout-mobile",ie),ie}();
|
|
1
|
+
var release=function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function o(e){e.forEach(t)}function i(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(e,t){e.appendChild(t)}function l(e,t,n){e.insertBefore(t,n||null)}function s(e){e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function u(){return e=" ",document.createTextNode(e);var e}function d(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function p(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function f(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:p(e,t,n)}function g(e){const t={};for(const n of e)t[n.name]=n.value;return t}let m;function h(e){m=e}function v(){if(!m)throw new Error("Function called outside component initialization");return m}function y(){const e=v();return(t,n,{cancelable:o=!1}={})=>{const i=e.$$.callbacks[t];if(i){const r=function(e,t,{bubbles:n=!1,cancelable:o=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n,o,t),i}(t,n,{cancelable:o});return i.slice().forEach((t=>{t.call(e,r)})),!r.defaultPrevented}return!0}}const $=[],b=[],w=[],k=[],x=Promise.resolve();let _=!1;function C(e){w.push(e)}const E=new Set;let T=0;function N(){const e=m;do{for(;T<$.length;){const e=$[T];T++,h(e),S(e.$$)}for(h(null),$.length=0,T=0;b.length;)b.pop()();for(let e=0;e<w.length;e+=1){const t=w[e];E.has(t)||(E.add(t),t())}w.length=0}while($.length);for(;k.length;)k.pop()();_=!1,E.clear(),h(e)}function S(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}const L=new Set;function O(e,t){-1===e.$$.dirty[0]&&($.push(e),_||(_=!0,x.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function D(r,a,l,c,u,d,p,f=[-1]){const g=m;h(r);const v=r.$$={fragment:null,ctx:null,props:d,update:e,not_equal:u,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a.context||(g?g.$$.context:[])),callbacks:n(),dirty:f,skip_bound:!1,root:a.target||g.$$.root};p&&p(v.root);let y=!1;if(v.ctx=l?l(r,a.props||{},((e,t,...n)=>{const o=n.length?n[0]:t;return v.ctx&&u(v.ctx[e],v.ctx[e]=o)&&(!v.skip_bound&&v.bound[e]&&v.bound[e](o),y&&O(r,e)),t})):[],v.update(),y=!0,o(v.before_update),v.fragment=!!c&&c(v.ctx),a.target){if(a.hydrate){const e=function(e){return Array.from(e.childNodes)}(a.target);v.fragment&&v.fragment.l(e),e.forEach(s)}else v.fragment&&v.fragment.c();a.intro&&(($=r.$$.fragment)&&$.i&&(L.delete($),$.i(b))),function(e,n,r,a){const{fragment:l,on_mount:s,on_destroy:c,after_update:u}=e.$$;l&&l.m(n,r),a||C((()=>{const n=s.map(t).filter(i);c?c.push(...n):o(n),e.$$.on_mount=[]})),u.forEach(C)}(r,a.target,a.anchor,a.customElement),N()}var $,b;h(g)}let A;"function"==typeof HTMLElement&&(A=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){!function(e,t){const n=e.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var P="0.17.16";function z(e,t,n){var o,i,r,a,l;function s(){var c=Date.now()-a;c<t&&c>=0?o=setTimeout(s,t-c):(o=null,n||(l=e.apply(r,i),r=i=null))}null==t&&(t=100);var c=function(){r=this,i=arguments,a=Date.now();var c=n&&!o;return o||(o=setTimeout(s,t)),c&&(l=e.apply(r,i),r=i=null),l};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.flush=function(){o&&(l=e.apply(r,i),r=i=null,clearTimeout(o),o=null)},c}z.debounce=z;var M=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,j=/\n/g,J=/^\s*/,H=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,R=/^:\s*/,F=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,I=/^[;\s]*/,V=/^\s+|\s+$/g,W="";function B(e){return e?e.replace(V,W):W}var U=function(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,r,a=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,o=1;function i(e){var t=e.match(j);t&&(n+=t.length);var i=e.lastIndexOf("\n");o=~i?e.length-i:o+e.length}function r(){var e={line:n,column:o};return function(t){return t.position=new a(e),c(),t}}function a(e){this.start=e,this.end={line:n,column:o},this.source=t.source}function l(i){var r=new Error(t.source+":"+n+":"+o+": "+i);if(r.reason=i,r.filename=t.source,r.line=n,r.column=o,r.source=e,!t.silent)throw r}function s(t){var n=t.exec(e);if(n){var o=n[0];return i(o),e=e.slice(o.length),n}}function c(){s(J)}function u(e){var t;for(e=e||[];t=d();)!1!==t&&e.push(t);return e}function d(){var t=r();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;W!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,W===e.charAt(n-1))return l("End of comment missing");var a=e.slice(2,n-2);return o+=2,i(a),e=e.slice(n),o+=2,t({type:"comment",comment:a})}}function p(){var e=r(),t=s(H);if(t){if(d(),!s(R))return l("property missing ':'");var n=s(F),o=e({type:"declaration",property:B(t[0].replace(M,W)),value:n?B(n[0].replace(M,W)):W});return s(I),o}}return a.prototype.content=e,c(),function(){var e,t=[];for(u(t);e=p();)!1!==e&&(t.push(e),u(t));return t}()}(e),l="function"==typeof t,s=0,c=a.length;s<c;s++)i=(n=a[s]).property,r=n.value,l?t(i,r,n):r&&(o||(o={}),o[i]=r);return o},q={vars:[{name:"--bs-primary",defaultValue:"#07689f",valueType:"color",theme:"bootstrap"}],parts:[{name:"header",description:"header"}]},K={vars:[],parts:[{name:"column-cell-button-content",description:""}]},G={vars:[],parts:[{name:"left-slot",description:""},{name:"center-slot",description:""},{name:"right-slot",description:""}]},Q={vars:[],parts:[]},X={vars:[{name:"--bs-primary",defaultValue:"#07689f",valueType:"color",theme:"bootstrap"}],parts:[{name:"header",description:"header"}]};var Y,Z=(function(e,t){t.__esModule=!0,t.LanguageTranslator=t.addComponent=t.getChildStyleToPass=void 0,t.getChildStyleToPass=function(e,t){var n,o,i="";if(e&&(null==t?void 0:t.length)&&(null===(n=Object.keys(e))||void 0===n?void 0:n.length)&&(null===(o=null==t?void 0:t.filter((function(t){return Object.keys(e).includes(t.name)})))||void 0===o?void 0:o.length))for(var r=function(n){(null==t?void 0:t.filter((function(t){return t.name===n&&t.defaultValue!==e[n]})))&&(i+="".concat(n,":").concat(e[n],";"))},a=0,l=Object.keys(e);a<l.length;a++)r(l[a]);return i},t.addComponent=function(e){var t,n=(null===(t=null==e?void 0:e.repoName.split("/"))||void 0===t?void 0:t[1])||(null==e?void 0:e.repoName);if(!n)throw new Error("wrong componentPath "+(null==e?void 0:e.repoName));if(!(null==e?void 0:e.version))throw new Error("wrong version "+(null==e?void 0:e.version));var o=(null==e?void 0:e.iifePath)||"release/release.js";if(!document.getElementById(n+"-script"))try{var i=document.createElement("script");i.id=n+"-script",i.src="https://cdn.jsdelivr.net/npm/".concat(e.repoName,"@").concat(e.version,"/").concat(o),(null==e?void 0:e.local)&&location.href.includes("localhost")&&(i.src="".concat(e.local)),document.head.appendChild(i)}catch(e){console.warn(e)}};var n=function(){function e(e){if(!(null==e?void 0:e.dictionary))throw new Error("no dictionary provided");this.dictionary=e.dictionary,this.setLang(null==e?void 0:e.lang)}return e.prototype.setLang=function(t){t||(t=e.getDefaultLang()),this.lang=t},e.prototype.translateWord=function(t,n){return e.getDictionaryWord(t,this.dictionary,n||this.lang)},e.prototype.translateDate=function(t,n,o){return e.formatDate(t,n,o||this.lang)},e.getDefaultLang=function(){var e,t,n,o,i,r="en";return(null===navigator||void 0===navigator?void 0:navigator.languages)&&(null===(n=null===(t=null===(e=navigator.languages[0])||void 0===e?void 0:e.split("-")[0])||void 0===t?void 0:t.toLowerCase())||void 0===n?void 0:n.length)&&(r=null===(i=null===(o=navigator.languages[0])||void 0===o?void 0:o.split("-")[0])||void 0===i?void 0:i.toLowerCase()),r},e.getDictionaryWord=function(t,n,o){var i;if(!t)throw new Error("no wordKey provided");if(!n)throw new Error("no dictionary provided");if(o&&(null===(i=n[o])||void 0===i?void 0:i[t]))return n[o][t];var r="",a=e.getDefaultLang();if(!o||a!==o){var l=null==n?void 0:n[a];(null==l?void 0:l[t])&&(r=l[t])}return r},e.formatDate=function(t,n,o){if(!t)throw new Error("no date provided");if("function"!=typeof t.getMonth)throw new Error("wrong date format");return new Intl.DateTimeFormat(o||e.getDefaultLang(),n).format(t)},e}();t.LanguageTranslator=n}(Y={exports:{}},Y.exports),Y.exports);function ee(e){let t,n,i,r,u,g,m,h,v;return{c(){t=c("hb-offcanvas"),n=c("span"),n.innerHTML='<slot name="nav-header-slot"></slot>',p(n,"slot","header"),f(t,"style",e[17]),f(t,"navpage",i=e[4]||""),f(t,"navlinks",r=e[3]||"[]"),f(t,"companytitle",u=e[13]?.title),f(t,"companylogouri",g=e[13]?.logo),f(t,"opened",m=e[21]?"yes":"no"),f(t,"type","autohide")},m(o,i){l(o,t,i),a(t,n),h||(v=[d(t,"offcanvasswitch",e[30]),d(t,"pageChange",e[31])],h=!0)},p(e,n){131072&n[0]&&f(t,"style",e[17]),16&n[0]&&i!==(i=e[4]||"")&&f(t,"navpage",i),8&n[0]&&r!==(r=e[3]||"[]")&&f(t,"navlinks",r),8192&n[0]&&u!==(u=e[13]?.title)&&f(t,"companytitle",u),8192&n[0]&&g!==(g=e[13]?.logo)&&f(t,"companylogouri",g),2097152&n[0]&&m!==(m=e[21]?"yes":"no")&&f(t,"opened",m)},d(e){e&&s(t),h=!1,o(v)}}}function te(e){let t,n;return{c(){t=c("hb-cookie-law-banner"),f(t,"style",e[20]),f(t,"language",n=e[12]||e[14]),f(t,"allowdecline",e[11]),f(t,"cookielawuri4more",e[10])},m(e,n){l(e,t,n)},p(e,o){1048576&o[0]&&f(t,"style",e[20]),20480&o[0]&&n!==(n=e[12]||e[14])&&f(t,"language",n),2048&o[0]&&f(t,"allowdecline",e[11]),1024&o[0]&&f(t,"cookielawuri4more",e[10])},d(e){e&&s(t)}}}function ne(t){let n,i,r,g,m,h,v,y,$,b,w,k,x,_,C,E,T,N,S,L,O,D,A,P,z,M,j,J,H,R=t[3]?.length&&ee(t),F=(t[7]||t[11]||t[12]||t[10])&&te(t);return{c(){R&&R.c(),n=u(),i=c("div"),r=c("hb-navbar"),g=c("span"),g.innerHTML='<slot name="nav-left-slot"></slot>',m=u(),h=c("span"),h.innerHTML='<slot name="nav-center-slot"></slot>',v=u(),y=c("span"),y.innerHTML='<slot name="nav-right-slot"></slot>',_=u(),C=c("div"),E=c("slot"),E.textContent="page",N=u(),F&&F.c(),S=u(),L=c("hb-footer"),this.c=e,p(g,"slot","left-slot"),p(h,"slot","center-slot"),p(y,"slot","right-slot"),f(r,"part","navbar"),f(r,"style",t[19]),f(r,"noburger",$=t[3]?"":"yes"),f(r,"companylogouri",b=t[2]?.logoUri||""),f(r,"companybrandname",w=t[5]||t[2]?.siteName||""),f(r,"usermenu",k=t[6]||""),f(r,"switchopen",x=t[21]?"yes":"no"),p(E,"name","page"),p(C,"style",T=t[9]?"flex: 2":""),p(C,"part","page"),p(C,"id","page"),f(L,"policies",t[16]),f(L,"type",O="auto"===t[15].type?t[9]?"small":"regular":t[15].type),f(L,"part","footer"),f(L,"socials",D=t[0]?JSON.stringify(t[0]):""),f(L,"contacts",A=t[1]?JSON.stringify(t[1]):""),f(L,"style",P="display:block;"+t[18]),f(L,"company",z=t[2]?JSON.stringify(t[2]):""),f(L,"columns",M=t[8]||""),f(L,"disable_expanding_small",j=t[15].disable_expanding_small?"yes":"no"),p(i,"style",t[22]),p(i,"part","container")},m(e,o){R&&R.m(e,o),l(e,n,o),l(e,i,o),a(i,r),a(r,g),a(r,m),a(r,h),a(r,v),a(r,y),a(i,_),a(i,C),a(C,E),a(i,N),F&&F.m(i,null),a(i,S),a(i,L),J||(H=[d(r,"navmenuswitch",t[32]),d(r,"navbarDropDownClick",t[33]),d(r,"navbarSlotClick",t[34]),d(L,"footerClick",t[35])],J=!0)},p(e,t){e[3]?.length?R?R.p(e,t):(R=ee(e),R.c(),R.m(n.parentNode,n)):R&&(R.d(1),R=null),524288&t[0]&&f(r,"style",e[19]),8&t[0]&&$!==($=e[3]?"":"yes")&&f(r,"noburger",$),4&t[0]&&b!==(b=e[2]?.logoUri||"")&&f(r,"companylogouri",b),36&t[0]&&w!==(w=e[5]||e[2]?.siteName||"")&&f(r,"companybrandname",w),64&t[0]&&k!==(k=e[6]||"")&&f(r,"usermenu",k),2097152&t[0]&&x!==(x=e[21]?"yes":"no")&&f(r,"switchopen",x),512&t[0]&&T!==(T=e[9]?"flex: 2":"")&&p(C,"style",T),e[7]||e[11]||e[12]||e[10]?F?F.p(e,t):(F=te(e),F.c(),F.m(i,S)):F&&(F.d(1),F=null),65536&t[0]&&f(L,"policies",e[16]),33280&t[0]&&O!==(O="auto"===e[15].type?e[9]?"small":"regular":e[15].type)&&f(L,"type",O),1&t[0]&&D!==(D=e[0]?JSON.stringify(e[0]):"")&&f(L,"socials",D),2&t[0]&&A!==(A=e[1]?JSON.stringify(e[1]):"")&&f(L,"contacts",A),262144&t[0]&&P!==(P="display:block;"+e[18])&&f(L,"style",P),4&t[0]&&z!==(z=e[2]?JSON.stringify(e[2]):"")&&f(L,"company",z),256&t[0]&&M!==(M=e[8]||"")&&f(L,"columns",M),32768&t[0]&&j!==(j=e[15].disable_expanding_small?"yes":"no")&&f(L,"disable_expanding_small",j),4194304&t[0]&&p(i,"style",e[22])},i:e,o:e,d(e){R&&R.d(e),e&&s(n),e&&s(i),F&&F.d(),J=!1,o(H)}}}function oe(e,t,n){let o,i,{id:r}=t,{socials:a}=t,{contacts:l}=t,{company:s}=t,{navlinks:c}=t,{pagename:u}=t,{page_title:d}=t,{usermenu:p}=t,{cookielaw:f}=t,{columns:g}=t,{onescreen:m}=t,{cookielawuri4more:h}=t,{cookielawallowdecline:$}=t,{cookielawlanguage:b}=t,{sidebar:w}=t,{style:k}=t,{size:x}=t,{i18nlang:_}=t,{footer:C}=t,{policies:E}=t,T="",N="",S="",L="",O="",D="";const A=v(),z=y();function M(e,t){z(e,t),A.dispatchEvent&&A.dispatchEvent(new CustomEvent(e,{detail:t}))}function j(e){console.log("burgerclick",e),n(21,i=e.isOpen),M("offcanvasswitch",e)}Z.addComponent({repoName:"@htmlbricks/hb-footer",version:P}),Z.addComponent({repoName:"@htmlbricks/hb-offcanvas",version:P}),Z.addComponent({repoName:"@htmlbricks/hb-navbar",version:P}),Z.addComponent({repoName:"@htmlbricks/hb-cookie-law-banner",version:P}),Z.addComponent({repoName:"@htmlbricks/hb-sidebar-desktop",version:P});return e.$$set=e=>{"id"in e&&n(25,r=e.id),"socials"in e&&n(0,a=e.socials),"contacts"in e&&n(1,l=e.contacts),"company"in e&&n(2,s=e.company),"navlinks"in e&&n(3,c=e.navlinks),"pagename"in e&&n(4,u=e.pagename),"page_title"in e&&n(5,d=e.page_title),"usermenu"in e&&n(6,p=e.usermenu),"cookielaw"in e&&n(7,f=e.cookielaw),"columns"in e&&n(8,g=e.columns),"onescreen"in e&&n(9,m=e.onescreen),"cookielawuri4more"in e&&n(10,h=e.cookielawuri4more),"cookielawallowdecline"in e&&n(11,$=e.cookielawallowdecline),"cookielawlanguage"in e&&n(12,b=e.cookielawlanguage),"sidebar"in e&&n(13,w=e.sidebar),"style"in e&&n(27,k=e.style),"size"in e&&n(26,x=e.size),"i18nlang"in e&&n(14,_=e.i18nlang),"footer"in e&&n(15,C=e.footer),"policies"in e&&n(16,E=e.policies)},e.$$.update=()=>{1040318463&e.$$.dirty[0]&&(k&&(n(28,o=U(k)),n(17,T=Z.getChildStyleToPass(o,null==q?void 0:q.vars)),n(18,N=Z.getChildStyleToPass(o,null==K?void 0:K.vars)),n(19,S=Z.getChildStyleToPass(o,null==G?void 0:G.vars)),n(20,L=Z.getChildStyleToPass(o,null==Q?void 0:Q.vars)),n(29,O+=Z.getChildStyleToPass(o,null==X?void 0:X.vars))),x||n(26,x=void 0),r||n(25,r=""),h||n(10,h=""),$||n(11,$=""),b||n(12,b=""),u||n(4,u=null),f||n(7,f=null),E||n(16,E=null),C?"string"==typeof C&&n(15,C=JSON.parse(C)):n(15,C={type:"auto",disable_expanding_small:!1}),C.type||n(15,C.type="auto",C),p||n(6,p=null),g||n(8,g=null),"string"==typeof m?n(9,m="no"!==m):m||n(9,m=!1),_||n(14,_=null),d||n(5,d=null),w?"string"==typeof w&&n(13,w=JSON.parse(w)):n(13,w={}),s?"string"==typeof s&&n(2,s=JSON.parse(s)):n(2,s=null),c||n(3,c=null),a||n(0,a=null),l||n(1,l=null),n(22,D=m?"display: flex;flex-direction: column;\theight: 100vh;":"display:block;"))},[a,l,s,c,u,d,p,f,g,m,h,$,b,w,_,C,E,T,N,S,L,i,D,M,j,r,x,k,o,O,e=>j(e.detail),e=>M("pageChange",e.detail),e=>j(e.detail),e=>M("navbarDropDownClick",e.detail),e=>M("navbarSlotClick",e.detail),e=>M("footerClick",e.detail)]}class ie extends A{constructor(e){super(),this.shadowRoot.innerHTML='<style>@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host{font-family:"Roboto", sans-serif}</style>',D(this,{target:this.shadowRoot,props:g(this.attributes),customElement:!0},oe,ne,r,{id:25,socials:0,contacts:1,company:2,navlinks:3,pagename:4,page_title:5,usermenu:6,cookielaw:7,columns:8,onescreen:9,cookielawuri4more:10,cookielawallowdecline:11,cookielawlanguage:12,sidebar:13,style:27,size:26,i18nlang:14,footer:15,policies:16},null,[-1,-1]),e&&(e.target&&l(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["id","socials","contacts","company","navlinks","pagename","page_title","usermenu","cookielaw","columns","onescreen","cookielawuri4more","cookielawallowdecline","cookielawlanguage","sidebar","style","size","i18nlang","footer","policies"]}get id(){return this.$$.ctx[25]}set id(e){this.$$set({id:e}),N()}get socials(){return this.$$.ctx[0]}set socials(e){this.$$set({socials:e}),N()}get contacts(){return this.$$.ctx[1]}set contacts(e){this.$$set({contacts:e}),N()}get company(){return this.$$.ctx[2]}set company(e){this.$$set({company:e}),N()}get navlinks(){return this.$$.ctx[3]}set navlinks(e){this.$$set({navlinks:e}),N()}get pagename(){return this.$$.ctx[4]}set pagename(e){this.$$set({pagename:e}),N()}get page_title(){return this.$$.ctx[5]}set page_title(e){this.$$set({page_title:e}),N()}get usermenu(){return this.$$.ctx[6]}set usermenu(e){this.$$set({usermenu:e}),N()}get cookielaw(){return this.$$.ctx[7]}set cookielaw(e){this.$$set({cookielaw:e}),N()}get columns(){return this.$$.ctx[8]}set columns(e){this.$$set({columns:e}),N()}get onescreen(){return this.$$.ctx[9]}set onescreen(e){this.$$set({onescreen:e}),N()}get cookielawuri4more(){return this.$$.ctx[10]}set cookielawuri4more(e){this.$$set({cookielawuri4more:e}),N()}get cookielawallowdecline(){return this.$$.ctx[11]}set cookielawallowdecline(e){this.$$set({cookielawallowdecline:e}),N()}get cookielawlanguage(){return this.$$.ctx[12]}set cookielawlanguage(e){this.$$set({cookielawlanguage:e}),N()}get sidebar(){return this.$$.ctx[13]}set sidebar(e){this.$$set({sidebar:e}),N()}get style(){return this.$$.ctx[27]}set style(e){this.$$set({style:e}),N()}get size(){return this.$$.ctx[26]}set size(e){this.$$set({size:e}),N()}get i18nlang(){return this.$$.ctx[14]}set i18nlang(e){this.$$set({i18nlang:e}),N()}get footer(){return this.$$.ctx[15]}set footer(e){this.$$set({footer:e}),N()}get policies(){return this.$$.ctx[16]}set policies(e){this.$$set({policies:e}),N()}}return customElements.define("hb-layout-mobile",ie),ie}();
|
|
2
2
|
//# sourceMappingURL=release.js.map
|