PageSourceSearch

https://www.wizconnected.com/etc.clientlibs/signify-brand-wiz/clie…mo-module.0393b21d58b94dc50a5e.chunk.min.js

js wizconnected.com collected 2026-09-24 09:13:10 UTC 6,803 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_signify_wiz=self.webpackChunk_signify_wiz||[]).push([[528],{5892:function(t,e,o){o.r(e),o.d(e,{default:function(){return x}});var n=o(5136),i=o(7607),r=o(8743),s=o(5467),c=o(7379),a=o(9845),l=o.n(a);class u{constructor(t,e){this.locale=t,this.iconPath=e}getSsrDemoLocale(){return`locale: ${this.locale}`}getSsrDemoIconPath(){return`icon path: ${this.iconPath}`}}var f=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};let h=class extends(l()){constructor(){var t,e;super(...arguments),this.ssrDemoService=(t=this.globalConfig.locale,e=this.globalConfig.paths.icons,new u(t,e))}get localeFromService(){return this.ssrDemoService.getSsrDemoLocale()}get iconPathFromService(){return this.ssrDemoService.getSsrDemoIconPath()}};f([(0,i.y_)()],h.prototype,"globalConfig",void 0),h=f([(0,i.uA)({name:"ssr-demo-child-component"})],h);var v,p,d,g=h,_=o(2881),m=(0,_.A)(g,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"ssr-demo-child-component"},[e("h4",[t._v("Global Config")]),t._v(" "),e("p",[t._v(t._s(t.localeFromService))]),t._v(" "),e("p",[t._v(t._s(t.iconPathFromService))])])},[],!1,null,null,null).exports,y=o(5568),b=o(7436);!function(t){t.NAME_SPACE="ssrDemo"}(v||(v={})),function(t){t.INCREMENT="increment"}(p||(p={})),function(t){t.SSR_INIT="ssrInit",t.INCREMENT="increment"}(d||(d={}));var w=o(5623),S=o(1758),C=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};const A=(0,r.MF)(v.NAME_SPACE),E=A.Action,N=A.State,I=(0,r.MF)(S.Dh).Action;let R=class extends((0,n.mixins)(s.A,c.A)){constructor(){super(...arguments),this.globalConfig=this.config.global,this.iconName=y.Rt,this.iconNameUI=y.zH,this.iconGroup=y.jc,this.iconSize=y.Jw,this.href="",this.innerWith=0}async serverPrefetch(){await this.increment()}created(){this.isBrowser?w.A.info(">>> created - isBrowser called - browser"):w.A.info(">>> created - isBrowser called - server")}mounted(){this.innerWith=window.innerWidth,window.addEventListener("resize",()=>{this.innerWith=window.innerWidth}),localStorage.setItem("counter",this.counter.toString()),this.href=window.location.href}get buttonText(){return this.counter>=10?this.config.translations.other:"Click me!"}buttonClick(){this.notifySuccess("The button was clicked!"),this.increment(),localStorage.setItem("counter",this.counter.toString())}showSuccessNotification(){this.notifySuccess("This is a success notification!")}showErrorNotification(){this.notifyError("This is an error notification!")}};C([(0,i.kv)({required:!0})],R.prototype,"config",void 0),C([N],R.prototype,"counter",void 0),C([E(p.INCREMENT)],R.prototype,"increment",void 0),C([I(S.K4.NOTIFY_SUCCESS)],R.prototype,"notifySuccess",void 0),C([I(S.K4.NOTIFY_ERROR)],R.prototype,"notifyError",void 0),C([(0,i.ku)()],R.prototype,"globalConfig",void 0),R=C([(0,i.uA)({name:"ssr-demo-component",components:{HueIcon:b.A,SsrDemoChildComponent:m}})],R);var P=R,D=(0,_.A)(P,function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",t._b({staticClass:"ssr-demo-component",attrs:{"data-cmp-name":"ssr-demo-component"}},"div",[t.ssrAttributes,t.analyticsAttributes],!1),[t.config.title?e(t.config.type,{tag:"h1",staticClass:"ssr-demo-component__title"},[t._v("\n        "+t._s(t.config.title)+"\n    ")]):e(t.config.type,{tag:"h1"},[t._v(t._s(t.config.translations.noTitle))]),t._v(" "),e("button",{staticClass:"button",attrs:{type:"button"},on:{click:t.buttonClick}},[t._v(t._s(t.buttonText))]),t._v("\n    "+t._s(t.counter)+"\n    "),e("h4",[t._v("Browser globals")]),t._v(" "),e("p",[e("span",[t._v("window.location.href:")]),t._v(" "+t._s(t.href))]),t._v(" "),e("p",[e("span",[t._v("window.innerWidth (on resize):")]),t._v(" "+t._s(t.innerWith))]),t._v(" "),e("p",[e("span",[t._v("SsrMixin - isBrowser:")]),t._v(" "+t._s(t.isBrowser))]),t._v(" "),e("SsrDemoChildComponent"),t._v(" "),e("h4",[t._v("Notifications")]),t._v(" "),e("button",{staticClass:"button",attrs:{type:"button"},on:{click:t.showSuccessNotification}},[t._v("success")]),t._v(" "),e("button",{staticClass:"button button--secondary",attrs:{type:"button"},on:{click:t.showErrorNotification}},[t._v("error")]),t._v(" "),e("h4",[t._v("HueIcon")]),t._v(" "),e("div",{staticClass:"ssr-demo-icons"},[e("HueIcon",{attrs:{name:t.iconName.cart,group:t.iconGroup.HUE,size:t.iconSize.LG}}),t._v(" "),e("HueIcon",{attrs:{name:t.iconNameUI.trashcan,group:t.iconGroup.UI,size:t.iconSize.LG}})],1),t._v(" "),e("p",[e("span",[t._v("globalConfig:")]),t._v(" "+t._s(t.globalConfig))])],1)},[],!1,null,null,null).exports,k=o(2427);const O={[k.Z.SSR_STORE_INIT](t,e){Object.assign(t,e)},[d.INCREMENT](t){t.counter++}},T={async[p.INCREMENT]({commit:t}){await t(d.INCREMENT)}},j={name:v.NAME_SPACE,module:{state:()=>({counter:0}),actions:T,mutations:O}};var x={getComponentDefinition:()=>D,getStoreDefinitions:()=>[j]}},7379:function(t,e,o){var n=o(7607),i=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;
1if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};const r="data-tracking-event",s="data-tracking-info";let c=class extends n.lD{get analyticsAttributes(){return{...this.config.analytics?.event&&{[r]:this.config.analytics.event},...this.config.analytics?.info&&{[s]:this.config.analytics.info}}}getAnalyticsEvent(){return this.config.analytics?.event}getAnalyticsInfo(){return this.config.analytics?.info}};i([(0,n.kv)({required:!0})],c.prototype,"config",void 0),c=i([n.uA],c),e.A=c},5467:function(t,e,o){var n=o(7607),i=function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};let r=class extends n.lD{get ssrAttributes(){return this.config.ssr?.attributes}get isBrowser(){return"undefined"!=typeof window}get ssrComponentId(){return this.ssrAttributes?.["data-cmp-id"]}};i([(0,n.kv)({required:!0})],r.prototype,"config",void 0),r=i([n.uA],r),e.A=r}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.