@pronto-tools-and-more/files 14.10.0 → 14.12.0
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/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
- package/files/framework-latest/src/default/storefront/index.html +1 -1
- package/files/framework-latest/src/default/storefront/modules/common.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -1
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"branch": "HEAD",
|
3
|
-
"commit": "
|
4
|
-
"commitDate": "
|
5
|
-
"buildDate": "
|
3
|
+
"commit": "50edd4a",
|
4
|
+
"commitDate": "Wed Mar 19 2025 13:51:57 GMT+0000 (Coordinated Universal Time)",
|
5
|
+
"buildDate": "Wed Mar 19 2025 13:53:57 GMT+0000 (Coordinated Universal Time)",
|
6
6
|
"packageVersion": "4.0.0-SNAPSHOT"
|
7
7
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<title></title>
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
-
<meta name="storefront-commit" content="
|
7
|
+
<meta name="storefront-commit" content="50edd4a">
|
8
8
|
<meta name="storefront-version" content="4.0.0-SNAPSHOT">
|
9
9
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
10
10
|
<link rel="stylesheet" href="assets/fonts.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="assets/fonts.css"></noscript>
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["common"],{3472:(y,D,e)=>{e.d(D,{M:()=>E});var p=e(9379),t=e(9758),u=e(8179),n=e(362),v=e.n(n),g=e(4452),c=e(3713),h=e(3953);let E=(()=>{var o;class a extends c.r{getDataFromContext(r=this.context){return this.getSelectionScope()===t.x.USER_ATTRIBUTE?r.userAttributes[this.getParam()]:r[this.getParam()]}hasContextChanged(r){let T=super.hasContextChanged(r);if(!T&&this.isSelectionEnabled()){const x=this.getDataFromContext(),B=this.getDataFromContext(r);T=!v()(x,B)}return T}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}getEntryConfig(r){return r&&r.ad||(0,p.A)({},this.mutableBaseConfig().content)}getEntryContext(r){var T;let x=(0,u.uQ)(null!==(T=this.getConfig().dataSource.entryId)&&void 0!==T?T:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());return(0,p.A)((0,p.A)({},this.mutableBaseContext()),{},{[x]:r})}getConfig(){return this.config||this.mutableBaseConfig()}isSelectionEnabled(){return!1}stripChildConfigs(r){return"content"in r&&"object"==typeof r.content&&null!==r.content&&(r.content={_uuid:r.content._uuid,condition:r.content.condition}),r}getDataType(){return this.getConfig().dataSource.type}getGroupDataType(r){return r.dataSource.type}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,g.Kj)(this.mutableBaseConfig())].filter(r=>!!r)}}return(o=a).\u0275fac=(()=>{let l;return function(T){return(l||(l=h.xGo(o)))(T||o)}})(),o.\u0275dir=h.FsC({type:o,features:[h.Vt3]}),a})()},3303:(y,D,e)=>{e.d(D,{y:()=>n});var p=e(177),t=e(9733),u=e(3953);let n=(()=>{var v;class g{}return(v=g).\u0275fac=function(h){return new(h||v)},v.\u0275mod=u.$C({type:v}),v.\u0275inj=u.G2t({imports:[p.MD,t.ContentTitleModule]}),g})()},5848:(y,D,e)=>{e.d(D,{Q:()=>g});var p=e(467),t=e(3953),u=e(1210),n=e(5706),v=e(5102);let g=(()=>{var c;class h extends u.${constructor(){super(...arguments),this.purpleService=(0,t.WQX)(v.Wj),this.changeDetectorRef=(0,t.WQX)(t.gRc)}get contextKey(){var o,a,l;return null!==(o=null!==(a=null===(l=this.config)||void 0===l?void 0:l.contextKey)&&void 0!==a?a:this.defaultConfig.contextKey)&&void 0!==o?o:"content"}updatePostWithOptionalData(o,a){var l=this;return(0,p.A)(function*(){const r=yield l.purpleService.getOptionalData(l.catalogContent,o,a);return(0,n.mF)(l.catalogContent)?(l.catalogContent=r,l.catalogContent):(0,n.G4)(l.catalogContent)?(l.bundleContent=(0,n.Ig)(l.catalogContent),l.bundleContent[a]=r,l.bundleContent[a]):void 0})()}hasContentChanged(o,a){return(null==o?void 0:o.id)!==(null==a?void 0:a.id)||this.hasVersionChanged(o,a)}hasVersionChanged(o,a){return(null==o?void 0:o.version)!==(null==a?void 0:a.version)}onConfigChanges(){var o;let a=null===(o=this.context)||void 0===o?void 0:o[this.contextKey];Array.isArray(a)&&(a=a[0]);const l=this.hasContentChanged(this.catalogContent,a)&&!!a;return l&&(this.catalogContent=a),this.changeDetectorRef.markForCheck(),l}isGhost(){var o;return!this.config||!(null!==(o=this.context)&&void 0!==o&&o[this.contextKey])}ngOnDestroy(){super.ngOnDestroy()}getContextKey(){return this.contextKey}}return(c=h).\u0275fac=(()=>{let E;return function(a){return(E||(E=t.xGo(c)))(a||c)}})(),c.\u0275dir=t.FsC({type:c,features:[t.Vt3]}),h})()},9733:(y,D,e)=>{e.r(D),e.d(D,{ContentTitleModule:()=>w,component:()=>O});var p=e(177),t=e(3953);const u={titleMessage:"%s"};var n=e(5848),v=e(9516),g=e(5102),c=e(1652),h=e(8909);const E=i=>[i];function o(i,_){1&i&&(t.j41(0,"h1"),t.EFF(1,"..."),t.k0s())}function a(i,_){if(1&i&&t.nrm(0,"h1",0),2&i){const s=t.XpG(2);t.Y8G("storefrontTranslate",s.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,E,null==s.catalogContent?null:s.catalogContent.name))}}function l(i,_){if(1&i&&t.DNE(0,o,2,0,"h1")(1,a,1,4,"h1",0),2&i){const s=t.XpG();t.vxM(s.ghost?0:1)}}let r=(()=>{var i;class _ extends n.Q{constructor(){super(...arguments),this.elementRef=(0,t.WQX)(t.aKT),this.contextService=(0,t.WQX)(v.V),this.injector=(0,t.WQX)(t.zZn),this.document=(0,t.WQX)(p.qQ),this.purpleService=(0,t.WQX)(g.Wj),this.globalService=(0,t.WQX)(c.d),this.defaultConfig=u,this.type="content-title"}}return(i=_).\u0275fac=(()=>{let s;return function(P){return(s||(s=t.xGo(i)))(P||i)}})(),i.\u0275cmp=t.VBU({type:i,selectors:[["storefront-content-title"]],standalone:!1,features:[t.Vt3],decls:1,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,P){1&M&&t.DNE(0,l,2,1),2&M&&t.vxM(P.domHelper.leanDom?-1:0)},dependencies:[h.M],styles:["storefront-content-title>h1{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),_})();const T=["class","pxp-content-title"],x=i=>[i];function B(i,_){1&i&&(t.j41(0,"h1"),t.EFF(1,"..."),t.k0s())}function W(i,_){if(1&i&&t.nrm(0,"h1",0),2&i){const s=t.XpG(2);t.Y8G("storefrontTranslate",s.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,x,null==s.catalogContent?null:s.catalogContent.name))}}function C(i,_){if(1&i&&t.DNE(0,B,2,0,"h1")(1,W,1,4,"h1",0),2&i){const s=t.XpG();t.vxM(s.ghost?0:1)}}let m=(()=>{var i;class _ extends r{constructor(){super(...arguments),this.translateDirective=(0,t.WQX)(h.M)}ngAfterViewInit(){setTimeout(()=>{var M,P;this.translateDirective.applyTranslation(null===(M=this.config)||void 0===M?void 0:M.titleMessage,[null===(P=this.catalogContent)||void 0===P?void 0:P.name])})}}return(i=_).\u0275fac=(()=>{let s;return function(P){return(s||(s=t.xGo(i)))(P||i)}})(),i.\u0275cmp=t.VBU({type:i,selectors:[["h1",8,"pxp-content-title"]],standalone:!1,features:[t.nM4([h.M]),t.Vt3],attrs:T,decls:1,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,P){1&M&&t.DNE(0,C,2,1),2&M&&t.vxM(P.domHelper.leanDom?-1:0)},dependencies:[h.M],styles:[".pxp-content-title{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),_})(),w=(()=>{var i;class _{}return(i=_).\u0275fac=function(M){return new(M||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[p.MD]}),_})();const O={component:r,leanDomComponent:m}},1802:(y,D,e)=>{e.d(D,{c:()=>h});var p=e(9379),t=e(3953),u=e(1210),n=e(3331),v=e(9758),g=e(8075),c=e(8909);let h=(()=>{var E;class o extends u.${constructor(){super(...arguments),this.router=(0,t.WQX)(n.Ix),this.type="switch",this.defaultConfig={}}ngOnInit(){this.config=(0,p.A)({},this.mutableBaseConfig()),this.checked=this.config.initialValue,super.ngOnInit(),this.contextService.viewContext$.subscribe(l=>{const r=this.config.paramScope===v.x.USER_ATTRIBUTE?l.userAttributes[this.config.param]:l[this.config.param];r&&(this.checked="true"===r)})}isChecked(){return this.checked}toggle(){this.setChecked(!this.checked)}setChecked(l){this.config.paramScope===v.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.config.param,"".concat(l)):(0,g.CV)(this.router,{[this.config.param]:l})}}return(E=o).\u0275fac=(()=>{let a;return function(r){return(a||(a=t.xGo(E)))(r||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["storefront-switch"]],hostVars:2,hostBindings:function(l,r){2&l&&t.AVh("checked",r.checked)},standalone:!1,features:[t.Vt3],decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(l,r){1&l&&(t.nrm(0,"label",0),t.j41(1,"label",1)(2,"input",2),t.bIt("change",function(){return r.toggle()}),t.k0s(),t.nrm(3,"span"),t.k0s()),2&l&&(t.Y8G("storefrontTranslate",r.config.label),t.R7$(2),t.Y8G("checked",r.isChecked()))},dependencies:[c.M],styles:['storefront-switch,.pxp-switch{align-items:center;display:flex}storefront-switch .label,.pxp-switch .label{margin:0 var(--gutter)}storefront-switch .switch,.pxp-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span,.pxp-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after,.pxp-switch .switch>span:before,.pxp-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before,.pxp-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after,.pxp-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox],.pxp-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before,.pxp-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after,.pxp-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),o})()},2960:(y,D,e)=>{e.d(D,{q:()=>v});var p=e(1802),t=e(3953),u=e(8909);const n=["class","pxp-switch"];let v=(()=>{var g;class c extends p.c{}return(g=c).\u0275fac=(()=>{let h;return function(o){return(h||(h=t.xGo(g)))(o||g)}})(),g.\u0275cmp=t.VBU({type:g,selectors:[["div",8,"pxp-switch"]],standalone:!1,features:[t.Vt3],attrs:n,decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(E,o){1&E&&(t.nrm(0,"label",0),t.j41(1,"label",1)(2,"input",2),t.bIt("change",function(){return o.toggle()}),t.k0s(),t.nrm(3,"span"),t.k0s()),2&E&&(t.Y8G("storefrontTranslate",o.config.label),t.R7$(2),t.Y8G("checked",o.isChecked()))},dependencies:[u.M],styles:['storefront-switch,.pxp-switch{align-items:center;display:flex}storefront-switch .label,.pxp-switch .label{margin:0 var(--gutter)}storefront-switch .switch,.pxp-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span,.pxp-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after,.pxp-switch .switch>span:before,.pxp-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before,.pxp-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after,.pxp-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox],.pxp-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before,.pxp-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after,.pxp-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),c})()},9645:(y,D,e)=>{e.r(D),e.d(D,{SwitchModule:()=>v,component:()=>g});var p=e(177),t=e(1802),u=e(2960),n=e(3953);let v=(()=>{var c;class h{}return(c=h).\u0275fac=function(o){return new(o||c)},c.\u0275mod=n.$C({type:c}),c.\u0275inj=n.G2t({imports:[p.MD]}),h})();const g={component:t.c,leanDomComponent:u.q}},8301:(y,D,e)=>{e.d(D,{d:()=>u});var p=e(177),t=e(3953);let u=(()=>{var n;class v{}return(n=v).\u0275fac=function(c){return new(c||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[p.MD]}),v})()},2316:(y,D,e)=>{e.r(D),e.d(D,{ModalComponent:()=>_});var p=e(9379),t=e(467),u=e(177),n=e(3953),v=e(9079),g=e(3331),c=e(5102),h=e(9745),E=e(8251),o=e(610),a=e(3178),l=e(2962),r=e(7879),T=e(6080),x=e(8301),B=e(2868),W=e(680);const C=["template"],m=["scrollContainer"],w=["container"];function O(s,M){}function i(s,M){1&s&&n.DNE(0,O,0,0,"ng-template",6,2,n.C5r),2&s&&n.Y8G("baseConfig",M.$implicit)}let _=(()=>{var s;class M extends T.v{constructor(){super(...arguments),this.document=(0,n.WQX)(u.qQ),this.platformId=(0,n.WQX)(n.Agw),this.purpleService=(0,n.WQX)(c.Wj),this.purpleEnv=(0,n.WQX)(r.r6),this.renderer=(0,n.WQX)(n.sFG),this.router=(0,n.WQX)(g.Ix),this.context={},this.isModal=!0}static isValidAnimation(d){return Object.values(h.L).includes(d)}ngOnInit(){this.contextService.closeModalSubject.pipe((0,v.pQ)(this.destroyRef)).subscribe(b=>{this.elementRef.nativeElement.contains(b)?this.onClickClose():this.contextService.closeModalCompleteSubject.next(!1)}),this.hasNavigated=this.contextService.navigationCount>0,this.renderer.addClass(this.document.body,"no-scroll");const d=this.store.snapshot(this.route.params),f=d&&d.animation;this.animation=f&&M.isValidAnimation(f)?f:h.L.SLIDE_IN}ngAfterViewInit(){var d=()=>super.ngOnInit,f=this;return(0,t.A)(function*(){yield(0,a.wR)(1);const b=getComputedStyle(f.container.nativeElement),S=()=>{d().call(f),f.initialized=!0},A=parseFloat(b.transitionDuration);A>0&&f.animation!==h.L.POP_UP?setTimeout(S,A):S(),f.elementRef.nativeElement.classList.add("visible"),f.displayMode=yield f.purpleService.getDisplayMode()})()}ngOnDestroy(){this.renderer.removeClass(this.document.body,"no-scroll"),this.contextService.clearOutletData((0,l.kO)(this.elementRef.nativeElement))}getPath(){return this.route.snapshot.params.id}getTrackingConfig(d){return(0,p.A)((0,p.A)({},super.getTrackingConfig(d)),{},{popup:!0})}onConfigReceived(){}onClick(){this.initialized&&this.onClickClose()}onClickClose(){var d=this;return(0,t.A)(function*(){d.elementRef.nativeElement.classList.remove("visible");const f=(0,u.UE)(d.platformId)?getComputedStyle(d.container.nativeElement):{},b=()=>{d.store.dispatch((0,o.k4)({url:window.location.href,key:"POPUP_CLOSE_CLICKED",params:{popup:d.viewConfig&&d.viewConfig.name}})),!d.hasNavigated&&(0,a.dg)(d.displayMode)?d.purpleService.closeView():d.router.navigate([{outlets:{modal:null}}],{queryParamsHandling:"merge",replaceUrl:!0}),d.contextService.closeModalCompleteSubject.next(!0)};parseFloat(f.transitionDuration)>0?(0,l.L$)(d.container.nativeElement,"transitionend",b):b()})()}onClickContent(d){d.stopPropagation()}update(){return(0,t.A)(function*(){})()}}return(s=M).\u0275fac=(()=>{let P;return function(f){return(P||(P=n.xGo(s)))(f||s)}})(),s.\u0275cmp=n.VBU({type:s,selectors:[["storefront-modal"]],viewQuery:function(d,f){if(1&d&&(n.GBs(C,7,n.c1b),n.GBs(m,7,n.aKT),n.GBs(w,7,n.aKT)),2&d){let b;n.mGM(b=n.lsd())&&(f.template=b.first),n.mGM(b=n.lsd())&&(f.scrollContainer=b.first),n.mGM(b=n.lsd())&&(f.container=b.first)}},hostVars:1,hostBindings:function(d,f){1&d&&n.bIt("click",function(){return f.onClick()}),2&d&&n.BMQ("animation",f.animation)},features:[n.Jv_([E.B]),n.Vt3],decls:7,vars:4,consts:[["container",""],["scrollContainer",""],["viewChild",""],[3,"click"],[1,"icon","icon-close",3,"click"],["storefrontCheckOverflowTarget","self",1,"modal-content",3,"storefrontCheckOverflow"],[3,"pxpDynamicComponent","baseConfig"]],template:function(d,f){if(1&d){const b=n.RV6();n.j41(0,"div",3,0),n.bIt("click",function(A){return n.eBV(b),n.Njj(f.onClickContent(A))}),n.j41(2,"button",4),n.bIt("click",function(){return n.eBV(b),n.Njj(f.onClickClose())}),n.k0s(),n.j41(3,"div",5,1),n.Z7z(5,i,2,1,null,6,n.Vm6),n.k0s()()}2&d&&(n.ZvI("modal-container ",f.viewConfig&&f.viewConfig.name,""),n.R7$(3),n.Y8G("storefrontCheckOverflow","vertical"),n.R7$(2),n.Dyx(f.children))},dependencies:[x.d,W.G,B.q],styles:["storefront-modal,.pxp-modal{position:fixed;height:auto;bottom:0;width:100%;left:0;top:0;background:transparent;z-index:21;overflow:hidden;display:flex;justify-content:center;align-items:center;transition:background-color 60ms ease-in}storefront-modal[animation=POP_UP] .modal-container,.pxp-modal[animation=POP_UP] .modal-container{min-width:200px;min-height:200px;max-width:90%;max-height:90%;width:auto;transform:scale(0);position:relative}storefront-modal[animation=POP_UP] .modal-container .modal-content,.pxp-modal[animation=POP_UP] .modal-container .modal-content{padding:var(--modalPadding);padding-bottom:var(--modalPaddingBottom)}storefront-modal[animation=POP_UP].visible,.pxp-modal[animation=POP_UP].visible{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:transparent}storefront-modal[animation=POP_UP].visible .modal-container,.pxp-modal[animation=POP_UP].visible .modal-container{transform:scale(1);top:auto;left:auto}storefront-modal.visible,.pxp-modal.visible{opacity:1;transition:background-color 60ms ease-out;background-color:#00000080}storefront-modal.visible .modal-container,.pxp-modal.visible .modal-container{transition:transform .2s ease-out 60ms;transform:translateY(0)}storefront-modal .modal-content,.pxp-modal .modal-content{overflow:auto}storefront-modal .modal-content>storefront-element:last-child,storefront-modal .modal-content>div:last-child,.pxp-modal .modal-content>storefront-element:last-child,.pxp-modal .modal-content>div:last-child{margin-bottom:var(--modalPaddingBottom)}storefront-modal .modal-container,.pxp-modal .modal-container{position:absolute;top:var(--appBarHeight);bottom:0;height:auto;width:100%;background-color:var(--modalBgColor);overflow:auto;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .15s ease-in}storefront-modal .modal-container>button.icon-close,.pxp-modal .modal-container>button.icon-close{align-self:flex-end;width:32px;height:32px;flex-shrink:0;font-size:18px;margin:var(--gutter)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom{-webkit-mask-image:linear-gradient(to bottom,black 0%,black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#000,#000 calc(100% - 2 * var(--gutter)),#0000)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-top,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-top{-webkit-mask-image:linear-gradient(to top,black 0%,black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to top,#000,#000 calc(100% - 2 * var(--gutter)),#0000)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom.scrollable-top,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom.scrollable-top{-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,black calc(2 * var(--gutter)),black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#0000,#000 calc(2 * var(--gutter)),#000 calc(100% - 2 * var(--gutter)),#0000)}\n"],encapsulation:2}),M})()},2364:(y,D,e)=>{e.d(D,{S:()=>t});var p=e(3953);let t=(()=>{var u;class n{constructor(){this.data=[{identifier:"phone",minScreenWidth:null},{identifier:"tablet_small",minScreenWidth:533},{identifier:"tablet_large",minScreenWidth:720}]}init(){}getDeviceClass(){const c=this.data.reduce((h,E)=>window.innerWidth>=E.minScreenWidth?E:h,null);return c&&c.identifier}}return(u=n).\u0275fac=function(g){return new(g||u)},u.\u0275prov=p.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),n})()},354:(y,D,e)=>{e.d(D,{s:()=>T});var p=e(467),t=e(3953),u=e(496),n=e(5102),v=e(9118),g=e(3072),c=e(1413),h=e(4843),E=e(2364),o=e(1626),a=e(5964),l=e(6697),r=e(7879);let T=(()=>{var x;class B{constructor(){this.publicationService=(0,t.WQX)(u.m),this.http=(0,t.WQX)(o.Qq),this.purpleService=(0,t.WQX)(n.Wj),this.kioskConfigService=(0,t.WQX)(v.x),this.sessionService=(0,t.WQX)(g.Q),this.deviceClassService=(0,t.WQX)(E.S),this.appData=(0,t.WQX)(r.fj),this.data=[],this.initPdf=new c.B,this.presenterLoaded=new c.B,this.subscriptions=[]}init(C){var m=this;return(0,p.A)(function*(){const[w,O]=yield Promise.all([(0,h._)(m.kioskConfigService.getConfig()),m.publicationService.selectByContentCriteria(C)]);m.kioskConfigData=w,m.content=O;const[i,_]=yield Promise.all([m.getLink(m.content,"pdf_single_page_download"),m.getLink(m.content,"pdf_download")]);yield m.getSinglePageDownloadLinkFromJSON(i),m.initPdf.next(_)})()}getLink(C,m){var w=this;return(0,p.A)(function*(){const O=yield(0,n.GA)(C,w.purpleService);if(C&&C.properties&&!O){let i=Object.keys(C.properties);for(let _=0;_<i.length;_++)if(i[_]===m)return w.getAttachmentLink(C,C.properties[i[_]]);return null}})()}getSinglePageDownloadLinkFromJSON(C){var m=this;return(0,p.A)(function*(){try{const w=m.presenterLoaded.pipe((0,a.p)(O=>O),(0,l.s)(1)).subscribe(function(){var O=(0,p.A)(function*(i){if(i){const f=yield(0,h._)(m.http.get(C));var _=WP.instance.getPurpleData().getPages();if(f){var s=0;m.data=[];for(const b of _){for(var M=parseInt(b.pageCount),P=[],d=0;d<M;d++)P.push(yield m.getAttachmentLink(m.content,f[s],s+1)),s++;m.data.push(P)}}}});return function(i){return O.apply(this,arguments)}}());m.subscriptions.push(w)}catch(w){console.error("Error fetching data from JSON link:",w)}})()}getAttachmentLink(C,m,w){var O=this;return(0,p.A)(function*(){const i=JSON.parse(localStorage.getItem("AppWebConfiguration")).id;let _="".concat(O.appData.baseUrl,"/resources/web/attachment/").concat(i,"/").concat(C.id,"/").concat(m);_+="?deviceId=".concat(localStorage.getItem("deviceId")),_+="&deviceClass=".concat(O.deviceClassService.getDeviceClass()),O.appData.preview&&(_+="&preview=true");const s=yield O.sessionService.getReceiptData(C);if(s){const{receipt:P,providerType:d}=s;_+="&receipt=".concat(window.encodeURIComponent(P)),_+="&providerType=".concat(d)}const M=O.sanitize(O.getFileName(C,m,w));return _+="&targetFilename=".concat(window.encodeURIComponent(M)),_})()}getSingleDownloadLink(){return this.data&&WP.instance&&WP.instance.getScroller()&&this.data[WP.instance.getScroller().getIndex()]}getDownloadLink(){var C=this;return(0,p.A)(function*(){return yield C.getLink(C.content,"pdf_download")})()}getFileName(C,m,w){const i=this.kioskConfigData.kioskConfig.downloadFileName,_=m.substr(m.lastIndexOf(".")),s=w?" - "+w:"";switch(i){case"publication_issue":return this.publicationService.currentPublication.name+" - "+C.name+s+_;case"issue":return C.name+s+_;default:return m}}sanitize(C){return C.replace(/,/g,"").replace(/\xe4/g,"ae").replace(/\xc4/g,"Ae").replace(/\xf6/g,"oe").replace(/\xd6/g,"Oe").replace(/\xfc/g,"ue").replace(/\xdc/g,"Ue")}ngOnDestroy(){this.subscriptions.forEach(C=>C.unsubscribe())}}return(x=B).\u0275fac=function(C){return new(C||x)},x.\u0275prov=t.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),B})()},3072:(y,D,e)=>{e.d(D,{Q:()=>g});var p=e(467),t=e(3953),u=e(4404),v=e(5102);let g=(()=>{var c;class h{constructor(){this.purpleService=(0,t.WQX)(v.Wj)}getReceiptData(o){var a=this;return(0,p.A)(function*(){return o.purchaseData.purchasedBy.includes(u.PurchaseOption.ENTITLEMENT)?{receipt:yield a.getAccessToken(),providerType:"entitlement"}:o.purchaseData.purchasedBy.includes(u.PurchaseOption.SUBSCRIPTION_CODE)?{receipt:(yield a.getSubscriptionCodes()).join(","),providerType:"subscriptionCode"}:null})()}getAccessToken(){var o=this;return(0,p.A)(function*(){const a=yield o.purpleService.purpleRef.entitlement.getUserData();return null==a?void 0:a.accessToken})()}getSubscriptionCodes(){var o=this;return(0,p.A)(function*(){return(yield o.purpleService.purpleRef.store.getSubscriptionCodes()).subscriptionCodes})()}}return(c=h).\u0275fac=function(o){return new(o||c)},c.\u0275prov=t.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}),h})()},7967:(y,D,e)=>{function p(t,u){return"object"!=typeof t?1===u?t:t+"S":1===u?t.singular:t.plural}e.d(D,{t:()=>p})}}]);
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["common"],{3472:(y,D,e)=>{e.d(D,{M:()=>E});var p=e(9379),t=e(9758),u=e(8179),n=e(362),v=e.n(n),g=e(4452),c=e(3713),h=e(3953);let E=(()=>{var i;class a extends c.r{getDataFromContext(r=this.context){return this.getSelectionScope()===t.x.USER_ATTRIBUTE?r.userAttributes[this.getParam()]:r[this.getParam()]}hasContextChanged(r){let T=super.hasContextChanged(r);if(!T&&this.isSelectionEnabled()){const x=this.getDataFromContext(),B=this.getDataFromContext(r);T=!v()(x,B)}return T}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}getEntryConfig(r){return r&&r.ad||(0,p.A)({},this.mutableBaseConfig().content)}getEntryContext(r){var T;let x=(0,u.uQ)(null!==(T=this.getConfig().dataSource.entryId)&&void 0!==T?T:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());return(0,p.A)((0,p.A)({},this.mutableBaseContext()),{},{[x]:r})}getConfig(){return this.config||this.mutableBaseConfig()}isSelectionEnabled(){return!1}stripChildConfigs(r){return"content"in r&&"object"==typeof r.content&&null!==r.content&&(r.content={_uuid:r.content._uuid,condition:r.content.condition}),r}getDataType(){return this.getConfig().dataSource.type}getGroupDataType(r){return r.dataSource.type}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,g.Kj)(this.mutableBaseConfig())].filter(r=>!!r)}}return(i=a).\u0275fac=(()=>{let l;return function(T){return(l||(l=h.xGo(i)))(T||i)}})(),i.\u0275dir=h.FsC({type:i,features:[h.Vt3]}),a})()},3303:(y,D,e)=>{e.d(D,{y:()=>n});var p=e(177),t=e(9733),u=e(3953);let n=(()=>{var v;class g{}return(v=g).\u0275fac=function(h){return new(h||v)},v.\u0275mod=u.$C({type:v}),v.\u0275inj=u.G2t({imports:[p.MD,t.ContentTitleModule]}),g})()},5848:(y,D,e)=>{e.d(D,{Q:()=>g});var p=e(467),t=e(3953),u=e(1210),n=e(5706),v=e(5102);let g=(()=>{var c;class h extends u.${constructor(){super(...arguments),this.purpleService=(0,t.WQX)(v.Wj),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.bundleContent=[]}get contextKey(){var i,a,l;return null!==(i=null!==(a=null===(l=this.config)||void 0===l?void 0:l.contextKey)&&void 0!==a?a:this.defaultConfig.contextKey)&&void 0!==i?i:"content"}updatePostWithOptionalData(i,a){var l=this;return(0,p.A)(function*(){const r=yield l.purpleService.getOptionalData(l.catalogContent,i,a);return(0,n.mF)(l.catalogContent)?(l.catalogContent=r,l.catalogContent):(0,n.G4)(l.catalogContent)?(l.bundleContent=(0,n.Ig)(l.catalogContent),l.bundleContent[a]=r,l.bundleContent[a]):void 0})()}hasContentChanged(i,a){return(null==i?void 0:i.id)!==(null==a?void 0:a.id)||(null==i?void 0:i.version)!==(null==a?void 0:a.version)}onConfigChanges(){var i;let a=null===(i=this.context)||void 0===i?void 0:i[this.contextKey];Array.isArray(a)&&(a=a[0]);const l=this.hasContentChanged(this.catalogContent,a)&&!!a;return l&&(this.catalogContent=a),this.changeDetectorRef.markForCheck(),l}isGhost(){var i;return!this.config||!(null!==(i=this.context)&&void 0!==i&&i[this.contextKey])}ngOnDestroy(){super.ngOnDestroy()}getContextKey(){return this.contextKey}}return(c=h).\u0275fac=(()=>{let E;return function(a){return(E||(E=t.xGo(c)))(a||c)}})(),c.\u0275dir=t.FsC({type:c,features:[t.Vt3]}),h})()},9733:(y,D,e)=>{e.r(D),e.d(D,{ContentTitleModule:()=>w,component:()=>O});var p=e(177),t=e(3953);const u={titleMessage:"%s"};var n=e(5848),v=e(9516),g=e(5102),c=e(1652),h=e(8909);const E=o=>[o];function i(o,_){1&o&&(t.j41(0,"h1"),t.EFF(1,"..."),t.k0s())}function a(o,_){if(1&o&&t.nrm(0,"h1",0),2&o){const s=t.XpG(2);t.Y8G("storefrontTranslate",s.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,E,null==s.catalogContent?null:s.catalogContent.name))}}function l(o,_){if(1&o&&t.DNE(0,i,2,0,"h1")(1,a,1,4,"h1",0),2&o){const s=t.XpG();t.vxM(s.ghost?0:1)}}let r=(()=>{var o;class _ extends n.Q{constructor(){super(...arguments),this.elementRef=(0,t.WQX)(t.aKT),this.contextService=(0,t.WQX)(v.V),this.injector=(0,t.WQX)(t.zZn),this.document=(0,t.WQX)(p.qQ),this.purpleService=(0,t.WQX)(g.Wj),this.globalService=(0,t.WQX)(c.d),this.defaultConfig=u,this.type="content-title"}}return(o=_).\u0275fac=(()=>{let s;return function(P){return(s||(s=t.xGo(o)))(P||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["storefront-content-title"]],standalone:!1,features:[t.Vt3],decls:1,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,P){1&M&&t.DNE(0,l,2,1),2&M&&t.vxM(P.domHelper.leanDom?-1:0)},dependencies:[h.M],styles:["storefront-content-title>h1{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),_})();const T=["class","pxp-content-title"],x=o=>[o];function B(o,_){1&o&&(t.j41(0,"h1"),t.EFF(1,"..."),t.k0s())}function W(o,_){if(1&o&&t.nrm(0,"h1",0),2&o){const s=t.XpG(2);t.Y8G("storefrontTranslate",s.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,x,null==s.catalogContent?null:s.catalogContent.name))}}function C(o,_){if(1&o&&t.DNE(0,B,2,0,"h1")(1,W,1,4,"h1",0),2&o){const s=t.XpG();t.vxM(s.ghost?0:1)}}let m=(()=>{var o;class _ extends r{constructor(){super(...arguments),this.translateDirective=(0,t.WQX)(h.M)}ngAfterViewInit(){setTimeout(()=>{var M,P;this.translateDirective.applyTranslation(null===(M=this.config)||void 0===M?void 0:M.titleMessage,[null===(P=this.catalogContent)||void 0===P?void 0:P.name])})}}return(o=_).\u0275fac=(()=>{let s;return function(P){return(s||(s=t.xGo(o)))(P||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["h1",8,"pxp-content-title"]],standalone:!1,features:[t.nM4([h.M]),t.Vt3],attrs:T,decls:1,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,P){1&M&&t.DNE(0,C,2,1),2&M&&t.vxM(P.domHelper.leanDom?-1:0)},dependencies:[h.M],styles:[".pxp-content-title{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),_})(),w=(()=>{var o;class _{}return(o=_).\u0275fac=function(M){return new(M||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[p.MD]}),_})();const O={component:r,leanDomComponent:m}},1802:(y,D,e)=>{e.d(D,{c:()=>h});var p=e(9379),t=e(3953),u=e(1210),n=e(3331),v=e(9758),g=e(8075),c=e(8909);let h=(()=>{var E;class i extends u.${constructor(){super(...arguments),this.router=(0,t.WQX)(n.Ix),this.type="switch",this.defaultConfig={}}ngOnInit(){this.config=(0,p.A)({},this.mutableBaseConfig()),this.checked=this.config.initialValue,super.ngOnInit(),this.contextService.viewContext$.subscribe(l=>{const r=this.config.paramScope===v.x.USER_ATTRIBUTE?l.userAttributes[this.config.param]:l[this.config.param];r&&(this.checked="true"===r)})}isChecked(){return this.checked}toggle(){this.setChecked(!this.checked)}setChecked(l){this.config.paramScope===v.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.config.param,"".concat(l)):(0,g.CV)(this.router,{[this.config.param]:l})}}return(E=i).\u0275fac=(()=>{let a;return function(r){return(a||(a=t.xGo(E)))(r||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["storefront-switch"]],hostVars:2,hostBindings:function(l,r){2&l&&t.AVh("checked",r.checked)},standalone:!1,features:[t.Vt3],decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(l,r){1&l&&(t.nrm(0,"label",0),t.j41(1,"label",1)(2,"input",2),t.bIt("change",function(){return r.toggle()}),t.k0s(),t.nrm(3,"span"),t.k0s()),2&l&&(t.Y8G("storefrontTranslate",r.config.label),t.R7$(2),t.Y8G("checked",r.isChecked()))},dependencies:[c.M],styles:['storefront-switch,.pxp-switch{align-items:center;display:flex}storefront-switch .label,.pxp-switch .label{margin:0 var(--gutter)}storefront-switch .switch,.pxp-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span,.pxp-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after,.pxp-switch .switch>span:before,.pxp-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before,.pxp-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after,.pxp-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox],.pxp-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before,.pxp-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after,.pxp-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),i})()},2960:(y,D,e)=>{e.d(D,{q:()=>v});var p=e(1802),t=e(3953),u=e(8909);const n=["class","pxp-switch"];let v=(()=>{var g;class c extends p.c{}return(g=c).\u0275fac=(()=>{let h;return function(i){return(h||(h=t.xGo(g)))(i||g)}})(),g.\u0275cmp=t.VBU({type:g,selectors:[["div",8,"pxp-switch"]],standalone:!1,features:[t.Vt3],attrs:n,decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(E,i){1&E&&(t.nrm(0,"label",0),t.j41(1,"label",1)(2,"input",2),t.bIt("change",function(){return i.toggle()}),t.k0s(),t.nrm(3,"span"),t.k0s()),2&E&&(t.Y8G("storefrontTranslate",i.config.label),t.R7$(2),t.Y8G("checked",i.isChecked()))},dependencies:[u.M],styles:['storefront-switch,.pxp-switch{align-items:center;display:flex}storefront-switch .label,.pxp-switch .label{margin:0 var(--gutter)}storefront-switch .switch,.pxp-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span,.pxp-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after,.pxp-switch .switch>span:before,.pxp-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before,.pxp-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after,.pxp-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox],.pxp-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before,.pxp-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after,.pxp-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),c})()},9645:(y,D,e)=>{e.r(D),e.d(D,{SwitchModule:()=>v,component:()=>g});var p=e(177),t=e(1802),u=e(2960),n=e(3953);let v=(()=>{var c;class h{}return(c=h).\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.$C({type:c}),c.\u0275inj=n.G2t({imports:[p.MD]}),h})();const g={component:t.c,leanDomComponent:u.q}},8301:(y,D,e)=>{e.d(D,{d:()=>u});var p=e(177),t=e(3953);let u=(()=>{var n;class v{}return(n=v).\u0275fac=function(c){return new(c||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[p.MD]}),v})()},2316:(y,D,e)=>{e.r(D),e.d(D,{ModalComponent:()=>_});var p=e(9379),t=e(467),u=e(177),n=e(3953),v=e(9079),g=e(3331),c=e(5102),h=e(9745),E=e(8251),i=e(610),a=e(3178),l=e(2962),r=e(7879),T=e(6080),x=e(8301),B=e(2868),W=e(680);const C=["template"],m=["scrollContainer"],w=["container"];function O(s,M){}function o(s,M){1&s&&n.DNE(0,O,0,0,"ng-template",6,2,n.C5r),2&s&&n.Y8G("baseConfig",M.$implicit)}let _=(()=>{var s;class M extends T.v{constructor(){super(...arguments),this.document=(0,n.WQX)(u.qQ),this.platformId=(0,n.WQX)(n.Agw),this.purpleService=(0,n.WQX)(c.Wj),this.purpleEnv=(0,n.WQX)(r.r6),this.renderer=(0,n.WQX)(n.sFG),this.router=(0,n.WQX)(g.Ix),this.context={},this.isModal=!0}static isValidAnimation(d){return Object.values(h.L).includes(d)}ngOnInit(){this.contextService.closeModalSubject.pipe((0,v.pQ)(this.destroyRef)).subscribe(b=>{this.elementRef.nativeElement.contains(b)?this.onClickClose():this.contextService.closeModalCompleteSubject.next(!1)}),this.hasNavigated=this.contextService.navigationCount>0,this.renderer.addClass(this.document.body,"no-scroll");const d=this.store.snapshot(this.route.params),f=d&&d.animation;this.animation=f&&M.isValidAnimation(f)?f:h.L.SLIDE_IN}ngAfterViewInit(){var d=()=>super.ngOnInit,f=this;return(0,t.A)(function*(){yield(0,a.wR)(1);const b=getComputedStyle(f.container.nativeElement),S=()=>{d().call(f),f.initialized=!0},A=parseFloat(b.transitionDuration);A>0&&f.animation!==h.L.POP_UP?setTimeout(S,A):S(),f.elementRef.nativeElement.classList.add("visible"),f.displayMode=yield f.purpleService.getDisplayMode()})()}ngOnDestroy(){this.renderer.removeClass(this.document.body,"no-scroll"),this.contextService.clearOutletData((0,l.kO)(this.elementRef.nativeElement))}getPath(){return this.route.snapshot.params.id}getTrackingConfig(d){return(0,p.A)((0,p.A)({},super.getTrackingConfig(d)),{},{popup:!0})}onConfigReceived(){}onClick(){this.initialized&&this.onClickClose()}onClickClose(){var d=this;return(0,t.A)(function*(){d.elementRef.nativeElement.classList.remove("visible");const f=(0,u.UE)(d.platformId)?getComputedStyle(d.container.nativeElement):{},b=()=>{d.store.dispatch((0,i.k4)({url:window.location.href,key:"POPUP_CLOSE_CLICKED",params:{popup:d.viewConfig&&d.viewConfig.name}})),!d.hasNavigated&&(0,a.dg)(d.displayMode)?d.purpleService.closeView():d.router.navigate([{outlets:{modal:null}}],{queryParamsHandling:"merge",replaceUrl:!0}),d.contextService.closeModalCompleteSubject.next(!0)};parseFloat(f.transitionDuration)>0?(0,l.L$)(d.container.nativeElement,"transitionend",b):b()})()}onClickContent(d){d.stopPropagation()}update(){return(0,t.A)(function*(){})()}}return(s=M).\u0275fac=(()=>{let P;return function(f){return(P||(P=n.xGo(s)))(f||s)}})(),s.\u0275cmp=n.VBU({type:s,selectors:[["storefront-modal"]],viewQuery:function(d,f){if(1&d&&(n.GBs(C,7,n.c1b),n.GBs(m,7,n.aKT),n.GBs(w,7,n.aKT)),2&d){let b;n.mGM(b=n.lsd())&&(f.template=b.first),n.mGM(b=n.lsd())&&(f.scrollContainer=b.first),n.mGM(b=n.lsd())&&(f.container=b.first)}},hostVars:1,hostBindings:function(d,f){1&d&&n.bIt("click",function(){return f.onClick()}),2&d&&n.BMQ("animation",f.animation)},features:[n.Jv_([E.B]),n.Vt3],decls:7,vars:4,consts:[["container",""],["scrollContainer",""],["viewChild",""],[3,"click"],[1,"icon","icon-close",3,"click"],["storefrontCheckOverflowTarget","self",1,"modal-content",3,"storefrontCheckOverflow"],[3,"pxpDynamicComponent","baseConfig"]],template:function(d,f){if(1&d){const b=n.RV6();n.j41(0,"div",3,0),n.bIt("click",function(A){return n.eBV(b),n.Njj(f.onClickContent(A))}),n.j41(2,"button",4),n.bIt("click",function(){return n.eBV(b),n.Njj(f.onClickClose())}),n.k0s(),n.j41(3,"div",5,1),n.Z7z(5,o,2,1,null,6,n.Vm6),n.k0s()()}2&d&&(n.ZvI("modal-container ",f.viewConfig&&f.viewConfig.name,""),n.R7$(3),n.Y8G("storefrontCheckOverflow","vertical"),n.R7$(2),n.Dyx(f.children))},dependencies:[x.d,W.G,B.q],styles:["storefront-modal,.pxp-modal{position:fixed;height:auto;bottom:0;width:100%;left:0;top:0;background:transparent;z-index:21;overflow:hidden;display:flex;justify-content:center;align-items:center;transition:background-color 60ms ease-in}storefront-modal[animation=POP_UP] .modal-container,.pxp-modal[animation=POP_UP] .modal-container{min-width:200px;min-height:200px;max-width:90%;max-height:90%;width:auto;transform:scale(0);position:relative}storefront-modal[animation=POP_UP] .modal-container .modal-content,.pxp-modal[animation=POP_UP] .modal-container .modal-content{padding:var(--modalPadding);padding-bottom:var(--modalPaddingBottom)}storefront-modal[animation=POP_UP].visible,.pxp-modal[animation=POP_UP].visible{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:transparent}storefront-modal[animation=POP_UP].visible .modal-container,.pxp-modal[animation=POP_UP].visible .modal-container{transform:scale(1);top:auto;left:auto}storefront-modal.visible,.pxp-modal.visible{opacity:1;transition:background-color 60ms ease-out;background-color:#00000080}storefront-modal.visible .modal-container,.pxp-modal.visible .modal-container{transition:transform .2s ease-out 60ms;transform:translateY(0)}storefront-modal .modal-content,.pxp-modal .modal-content{overflow:auto}storefront-modal .modal-content>storefront-element:last-child,storefront-modal .modal-content>div:last-child,.pxp-modal .modal-content>storefront-element:last-child,.pxp-modal .modal-content>div:last-child{margin-bottom:var(--modalPaddingBottom)}storefront-modal .modal-container,.pxp-modal .modal-container{position:absolute;top:var(--appBarHeight);bottom:0;height:auto;width:100%;background-color:var(--modalBgColor);overflow:auto;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .15s ease-in}storefront-modal .modal-container>button.icon-close,.pxp-modal .modal-container>button.icon-close{align-self:flex-end;width:32px;height:32px;flex-shrink:0;font-size:18px;margin:var(--gutter)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom{-webkit-mask-image:linear-gradient(to bottom,black 0%,black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#000,#000 calc(100% - 2 * var(--gutter)),#0000)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-top,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-top{-webkit-mask-image:linear-gradient(to top,black 0%,black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to top,#000,#000 calc(100% - 2 * var(--gutter)),#0000)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom.scrollable-top,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom.scrollable-top{-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,black calc(2 * var(--gutter)),black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#0000,#000 calc(2 * var(--gutter)),#000 calc(100% - 2 * var(--gutter)),#0000)}\n"],encapsulation:2}),M})()},2364:(y,D,e)=>{e.d(D,{S:()=>t});var p=e(3953);let t=(()=>{var u;class n{constructor(){this.data=[{identifier:"phone",minScreenWidth:null},{identifier:"tablet_small",minScreenWidth:533},{identifier:"tablet_large",minScreenWidth:720}]}init(){}getDeviceClass(){const c=this.data.reduce((h,E)=>window.innerWidth>=E.minScreenWidth?E:h,null);return c&&c.identifier}}return(u=n).\u0275fac=function(g){return new(g||u)},u.\u0275prov=p.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),n})()},354:(y,D,e)=>{e.d(D,{s:()=>T});var p=e(467),t=e(3953),u=e(496),n=e(5102),v=e(9118),g=e(3072),c=e(1413),h=e(4843),E=e(2364),i=e(1626),a=e(5964),l=e(6697),r=e(7879);let T=(()=>{var x;class B{constructor(){this.publicationService=(0,t.WQX)(u.m),this.http=(0,t.WQX)(i.Qq),this.purpleService=(0,t.WQX)(n.Wj),this.kioskConfigService=(0,t.WQX)(v.x),this.sessionService=(0,t.WQX)(g.Q),this.deviceClassService=(0,t.WQX)(E.S),this.appData=(0,t.WQX)(r.fj),this.data=[],this.initPdf=new c.B,this.presenterLoaded=new c.B,this.subscriptions=[]}init(C){var m=this;return(0,p.A)(function*(){const[w,O]=yield Promise.all([(0,h._)(m.kioskConfigService.getConfig()),m.publicationService.selectByContentCriteria(C)]);m.kioskConfigData=w,m.content=O;const[o,_]=yield Promise.all([m.getLink(m.content,"pdf_single_page_download"),m.getLink(m.content,"pdf_download")]);yield m.getSinglePageDownloadLinkFromJSON(o),m.initPdf.next(_)})()}getLink(C,m){var w=this;return(0,p.A)(function*(){const O=yield(0,n.GA)(C,w.purpleService);if(C&&C.properties&&!O){let o=Object.keys(C.properties);for(let _=0;_<o.length;_++)if(o[_]===m)return w.getAttachmentLink(C,C.properties[o[_]]);return null}})()}getSinglePageDownloadLinkFromJSON(C){var m=this;return(0,p.A)(function*(){try{const w=m.presenterLoaded.pipe((0,a.p)(O=>O),(0,l.s)(1)).subscribe(function(){var O=(0,p.A)(function*(o){if(o){const f=yield(0,h._)(m.http.get(C));var _=WP.instance.getPurpleData().getPages();if(f){var s=0;m.data=[];for(const b of _){for(var M=parseInt(b.pageCount),P=[],d=0;d<M;d++)P.push(yield m.getAttachmentLink(m.content,f[s],s+1)),s++;m.data.push(P)}}}});return function(o){return O.apply(this,arguments)}}());m.subscriptions.push(w)}catch(w){console.error("Error fetching data from JSON link:",w)}})()}getAttachmentLink(C,m,w){var O=this;return(0,p.A)(function*(){const o=JSON.parse(localStorage.getItem("AppWebConfiguration")).id;let _="".concat(O.appData.baseUrl,"/resources/web/attachment/").concat(o,"/").concat(C.id,"/").concat(m);_+="?deviceId=".concat(localStorage.getItem("deviceId")),_+="&deviceClass=".concat(O.deviceClassService.getDeviceClass()),O.appData.preview&&(_+="&preview=true");const s=yield O.sessionService.getReceiptData(C);if(s){const{receipt:P,providerType:d}=s;_+="&receipt=".concat(window.encodeURIComponent(P)),_+="&providerType=".concat(d)}const M=O.sanitize(O.getFileName(C,m,w));return _+="&targetFilename=".concat(window.encodeURIComponent(M)),_})()}getSingleDownloadLink(){return this.data&&WP.instance&&WP.instance.getScroller()&&this.data[WP.instance.getScroller().getIndex()]}getDownloadLink(){var C=this;return(0,p.A)(function*(){return yield C.getLink(C.content,"pdf_download")})()}getFileName(C,m,w){const o=this.kioskConfigData.kioskConfig.downloadFileName,_=m.substr(m.lastIndexOf(".")),s=w?" - "+w:"";switch(o){case"publication_issue":return this.publicationService.currentPublication.name+" - "+C.name+s+_;case"issue":return C.name+s+_;default:return m}}sanitize(C){return C.replace(/,/g,"").replace(/\xe4/g,"ae").replace(/\xc4/g,"Ae").replace(/\xf6/g,"oe").replace(/\xd6/g,"Oe").replace(/\xfc/g,"ue").replace(/\xdc/g,"Ue")}ngOnDestroy(){this.subscriptions.forEach(C=>C.unsubscribe())}}return(x=B).\u0275fac=function(C){return new(C||x)},x.\u0275prov=t.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),B})()},3072:(y,D,e)=>{e.d(D,{Q:()=>g});var p=e(467),t=e(3953),u=e(4404),v=e(5102);let g=(()=>{var c;class h{constructor(){this.purpleService=(0,t.WQX)(v.Wj)}getReceiptData(i){var a=this;return(0,p.A)(function*(){return i.purchaseData.purchasedBy.includes(u.PurchaseOption.ENTITLEMENT)?{receipt:yield a.getAccessToken(),providerType:"entitlement"}:i.purchaseData.purchasedBy.includes(u.PurchaseOption.SUBSCRIPTION_CODE)?{receipt:(yield a.getSubscriptionCodes()).join(","),providerType:"subscriptionCode"}:null})()}getAccessToken(){var i=this;return(0,p.A)(function*(){const a=yield i.purpleService.purpleRef.entitlement.getUserData();return null==a?void 0:a.accessToken})()}getSubscriptionCodes(){var i=this;return(0,p.A)(function*(){return(yield i.purpleService.purpleRef.store.getSubscriptionCodes()).subscriptionCodes})()}}return(c=h).\u0275fac=function(i){return new(i||c)},c.\u0275prov=t.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}),h})()},7967:(y,D,e)=>{function p(t,u){return"object"!=typeof t?1===u?t:t+"S":1===u?t.singular:t.plural}e.d(D,{t:()=>p})}}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts"],{8402:(On,xn,W)=>{"use strict";W.r(xn),W.d(xn,{ContentBodyModule:()=>Mt,component:()=>Ht});var ut=W(177),A=W(9379),dt=W(467),d=W(3953),Tn=W(5848),ft=W(9516),qt=function(P){return P.WORD="WORD",P.CHARACTER="CHARACTER",P.PARAGRAPH="PARAGRAPH",P}(qt||{});const Zt={dataSource:null};var rt=W(5706),tn=W(1413),Sn=W(4572),At=W(5343),ln=W(4404),wn=W(5964),R=W(8075),q=W(3331),Bt=W(5628),j=W(8179),kn=W(4452),En=W(8251),jt=W(5102),Hn=W(20),Vn=W(8004),r=W(1653),un=W.n(r),Z=W(7879),Un=W(8745),Qn=W(1652),Yn=W(3648),tt=W(9745),$t=W(6889),Kn=W(5820),Dn=W(9079),bt=W(5636),fn=W(5632),Lt=W(7484),pn=W(2039);const Nn=["contentHtmlContainer"],An=["dynamicElementsContainer"];function dn(P,X){if(1&P&&(d.nrm(0,"div",6,2),d.nI1(2,"safeHtml")),2&P){const N=d.XpG(2);d.xc7("max-height",N.calculateMaxHeightForContent(),"px"),d.Y8G("innerHtml",d.bMT(2,3,N.contentHtml()),d.npT)}}function Bn(P,X){1&P&&d.eu8(0)}function Jn(P,X){if(1&P&&d.DNE(0,Bn,1,0,"ng-container",7),2&P){d.XpG(2);const N=d.sdS(6);d.Y8G("ngTemplateOutlet",N)}}function Zn(P,X){if(1&P&&d.DNE(0,dn,3,5,"div",5)(1,Jn,1,1,"ng-container"),2&P){const N=d.XpG();d.vxM(N.contentHtml()?0:1)}}function te(P,X){if(1&P&&(d.nrm(0,"div",9,2),d.nI1(2,"safeHtml")),2&P){const N=d.XpG(2);d.Y8G("innerHtml",d.bMT(2,1,N.contentHtml()),d.npT)}}function ne(P,X){1&P&&d.eu8(0)}function jn(P,X){if(1&P&&d.DNE(0,ne,1,0,"ng-container",7),2&P){d.XpG(2);const N=d.sdS(6);d.Y8G("ngTemplateOutlet",N)}}function vt(P,X){if(1&P&&(d.j41(0,"article",3)(1,"div",8),d.DNE(2,te,3,3,"div",9)(3,jn,1,1,"ng-container"),d.k0s()()),2&P){const N=d.XpG();d.R7$(),d.xc7("max-height",N.calculateMaxHeightForContent(),"px"),d.R7$(),d.vxM(N.contentHtml()?2:3)}}function ee(P,X){if(1&P){const N=d.RV6();d.j41(0,"div",10)(1,"div",11),d.bIt("click",function(){d.eBV(N);const g=d.XpG();return d.Njj(g.onClickPrev())}),d.k0s(),d.j41(2,"div",12),d.bIt("click",function(){d.eBV(N);const g=d.XpG();return d.Njj(g.onClickNext())}),d.k0s()()}}function It(P,X){1&P&&(d.j41(0,"div",13),d.nrm(1,"h1",14),d.j41(2,"figure",15),d.nrm(3,"img")(4,"figcaption"),d.k0s(),d.j41(5,"div"),d.nrm(6,"p"),d.k0s()())}let Gt=(()=>{var P;class X extends Tn.Q{get elementClass(){var y;return"content-full-body "+(null!==(y=super.elementClass)&&void 0!==y?y:"")}constructor(){var y,g;super(),this.elementRef=(0,d.WQX)(d.aKT),this.injector=(0,d.WQX)(d.zZn),this.contextService=(0,d.WQX)(ft.V),this.document=(0,d.WQX)(ut.qQ),this.router=(0,d.WQX)(q.Ix),this.eventActionService=(0,d.WQX)(Vn.G),this.ttsService=(0,d.WQX)(Bt.z),this.dialogService=(0,d.WQX)(Hn.o),this.store=(0,d.WQX)(En.B),this.metaService=(0,d.WQX)(bt.R),this.purpleService=(0,d.WQX)(jt.Wj),this.configLoaderService=(0,d.WQX)(Un.Bh),this.globalService=(0,d.WQX)(Qn.d),this.destroyRef=(0,d.WQX)(d.abz),this.purpleEnv=(0,d.WQX)(Z.r6),this.urlResolverService=(0,d.WQX)($t.K),this.anchorService=(0,d.WQX)(Kn.X),this.serverOnlyService=(0,d.WQX)(fn.l),this.dynamicComponentService=(0,d.WQX)(Lt._),this.appData=(0,d.WQX)(Z.fj),this.type="content-body",this.isBundle=!1,this.displayContentInProgress=!1,this.contentThemeLoaded=!1,this.anchorFeatureEnabled=!1,this.ttsLoaded=!1,this.ttsContentLoaded$=new tn.B,this.contentHtml=(0,d.vPA)(void 0),this.prevContentHtml=(0,d.vPA)(void 0),this.defaultConfig=Zt,this.bundlePosts=[],this.contextService.moveToSlideSubject.pipe((0,Dn.pQ)(this.destroyRef)).subscribe(T=>{if(this.dataSource){const O=this.getPostFromBundleById(this.catalogContent,T);this.updatePath(O)}else(0,R.CV)(this.router,{[this.getParam()]:T})}),(0,ut.UE)(this.platformId)&&(null!==(g=(y=window).$)&&void 0!==g||(y.$=un()))}ngOnInit(){this.anchorFeatureEnabled=this.anchorService.isAnchorFeatureEnabled(),super.ngOnInit(),(0,Sn.z)([this.ttsContentLoaded$,this.ttsService.initTts$]).pipe((0,Dn.pQ)(this.destroyRef)).subscribe(y=>{this.triggerContentLoaded()})}getContentFetchOptions(){return{includeBlocks:!!this.config.customBlocks,includeHtml:!0,includeResources:!0,seoMetadata:!this.purpleEnv.isApp}}ngAfterViewChecked(){if(this.prevContentHtml()!==this.contentHtml())if((0,ut.UE)(this.platformId)){var y;if(gn(this.elementRef.nativeElement),this.config.customBlocks&&this.updatePostWithOptionalData(this.getContentFetchOptions(),this.bundleIndex).then(({content:g})=>{this.addCustomBlocks(g),this.changeDetectorRef.detectChanges()}),this.config.embeddedAd&&this.addEmbeddedAds(),this.purpleEnv.isUniversal&&null!==(y=this.contentHtmlContainer)&&void 0!==y&&y.nativeElement){const g=this.contentHtmlContainer.nativeElement.querySelectorAll('a[href^="#"]');for(const T of g)T.addEventListener("click",O=>{O.preventDefault(),location.hash=T.hash})}this.handleLinks(!1),this.prevContentHtml.set(this.contentHtml());try{(0,j.v3)(this.config.enableTTS)?this.ttsContentLoaded$.next(!0):this.triggerContentLoaded()}catch(g){console.error("Error in onContentLoaded hook:",g)}}else(0,ut.Vy)(this.platformId)&&(this.handleLinks(!0),this.prevContentHtml.set(this.contentHtml()))}handleLinks(y){var g;if(null!==(g=this.contentHtmlContainer)&&void 0!==g&&g.nativeElement){const O=this.contentHtmlContainer.nativeElement.querySelectorAll('a[href^="navto://"]');for(const D of O){const k=D.href.startsWith("navto://id/"),Y=D.href.split("/")[k?3:2];if(Y){const G=(0,d.zw6)("linked_".concat(Y));if(this.transferState.hasKey(G)){const I=this.transferState.get(G,null);this.addLinkHandler(y,D,I.fullPath,I.navtoAction)}else this.handlePostLink(k,Y,D,y,G)}}}}handlePostLink(y,g,T,O,D){var k=this;const G=this.purpleService.getCatalogContents({first:1,contentFilter:{AND:[{contentType:{value:ln.CatalogContentType.POST}},y?{externalId:{value:g}}:{id:{value:g}}]}}).then(I=>(I.nodes[0]||console.warn("No post with id ".concat(g," found")),I.nodes[0])).then(I=>null!=I&&I.bundleId?this.purpleService.getCatalogContent(I.bundleId).then(at=>(I.bundle=at,I)):I);(0,dt.A)(function*(){var I,at;const Ct=yield G,Cn=Ct?null!==(I=k.config.navto)&&void 0!==I&&I.action?(0,j.v3)((0,j.uQ)(k.config.navto.action,(0,A.A)((0,A.A)({},k.context),{},{targetPost:Ct}),k.contextService.$functions,k.globalService.getGlobalData(),!1)):{type:tt.H.OPEN_CONTENT,issueId:Ct.id}:null;let en=null;if(Ct&&(null===(at=k.config.navto)||void 0===at||!at.action)&&k.anchorFeatureEnabled&&k.purpleEnv.isUniversal){const Rt=yield k.urlResolverService.getPathForContent(Ct);en=k.anchorService.interpolatePath(Rt,k.context)}k.transferState.set(D,{fullPath:en,navtoAction:Cn}),k.addLinkHandler(O,T,en,Cn)})()}addLinkHandler(y,g,T,O){T&&(g.href=T),!y&&(!T||"_blank"!==g.target)&&g.addEventListener("click",D=>{D.preventDefault(),O?this.eventActionService.processEventAction(O,this):this.dialogService.alert("POST_LINK_NOT_FOUND","POST_LINK_NOT_FOUND_TITLE")})}triggerContentLoaded(){try{var y,g;null===(y=window.storefrontHooks)||void 0===y||null===(g=y.onContentLoaded)||void 0===g||g.call(y,{content:this.catalogContent,post:this.bundlePosts[this.bundleIndex],context:this.getContext()})}catch(T){console.error("Error in onContentLoaded hook: ",T)}}loadContentPluginStyle(y){var g=this;return(0,dt.A)(function*(){if(!(0,ut.Vy)(g.platformId)){const T=(0,A.A)({},y.properties);Object.keys(T).filter(O=>O.includes("inlinestyle_")).forEach(O=>{let D=g.document.createElement("style");D.id=O,D.textContent=(0,Z.Ek)(T[O],"storefront-content-body"),g.elementRef.nativeElement.appendChild(D)}),g.configLoaderService.loadContentThemeScript()}})()}isGhost(){return!this.contentHtml()||super.isGhost()}hasContextChanged(y){var g,T,O;const D=y.content;return!!((null==D?void 0:D.id)!==(null===(g=this.catalogContent)||void 0===g?void 0:g.id)||this.hasVersionChanged(D,this.catalogContent)||D&&(0,rt.G4)(D)&&((null===(T=y.post)||void 0===T?void 0:T.id)!==(null===(O=this.bundlePosts[this.bundleIndex])||void 0===O?void 0:O.id)||this.hasVersionChanged(y.post,this.bundlePosts[this.bundleIndex])))||super.hasContextChanged(y)}onConfigChanges(){this.createDataSource(),this.displayContent()}getBundleIndex(y,g){if(!g)return 0;const T=y.contents.findIndex(O=>O.id===g.id);return T>=0?T:void 0}onClickPrev(){var y;const g=0===this.bundleIndex?(null===(y=this.bundlePosts)||void 0===y?void 0:y.length)-1:this.bundleIndex-1;this.navigateTo(g)}onClickNext(){var y;const g=this.bundleIndex===(null===(y=this.bundlePosts)||void 0===y?void 0:y.length)-1?0:this.bundleIndex+1;this.navigateTo(g)}navigateTo(y){const g=(0,rt.Ig)(this.catalogContent)[y];this.dataSource?this.updatePath(g):(0,R.CV)(this.router,{[this.getParam()]:g.id}),this.ttsService.updateForceOpen(),this.ttsLoaded=!1}ngOnDestroy(){super.ngOnDestroy(),this.metaService.clearContentSeoMetadata(),this.ttsService.delete(),this.contextService.dataCollectionSubject.next(null),this.document.body.removeAttribute("style"),this.configLoaderService.unloadContentTheme()}getPostFromBundleBySlug(y,g){var T;return null===(T=y.contents.find(O=>O.post.properties.slug===g))||void 0===T?void 0:T.post}getPostFromBundleById(y,g){var T;return null===(T=y.contents.find(O=>O.post.id===g))||void 0===T?void 0:T.post}getBasePath(y){let g=[];return Object.keys(this.context.pathParams).forEach(O=>{g.push(this.context.pathParams[O])}),y.split("/").filter(O=>-1==g.indexOf(O))}getParam(){return this.isBundle?"post":"content"}createDataSource(){var y=this;if(this.config.dataSource&&!this.dataSource){let g,T;this.dataSourceLoading=new Promise((O,D)=>{g=O,T=D}),this.dataSource=(0,kn.O8)(this.injector,this.config.dataSource,this.elementRef.nativeElement,this.document),this.dataSource.loadData(),this.store.subscribe(this.dataSource.data$.pipe((0,wn.p)(O=>O&&!!O[0])),function(){var O=(0,dt.A)(function*(D){let k=D[0];(0,rt.G4)(k)&&!D[0].contents&&(k=yield y.purpleService.getCatalogContent(k.id,!1,{includeBundledContent:!0})),y.isBundle=(0,rt.G4)(k),y.setComponentContext(y.contextKey,k),y.context[y.contextKey]=k,(0,rt.G4)(k)&&Object.keys(y.context.pathParams).forEach(Y=>{var G;const I=y.getPostFromBundleBySlug(k,y.context.pathParams[Y]);I&&(null!==(G=k.properties)&&void 0!==G&&G.slug?y.context.pathParams[Y]!==k.properties.slug&&(y.context[y.getParam()]=I,y.setComponentContext(y.getParam(),I)):y.context.pathParams[Y]!==k.id&&(y.context[y.getParam()]=I,y.setComponentContext(y.getParam(),I)))}),g(),y.onConfigChanges()});return function(D){return O.apply(this,arguments)}}(),At.l,At.l,"data"),this.store.subscribe(this.dataSource.error$.pipe((0,wn.p)(O=>!!O)),O=>T(O))}}displayContent(){var y=()=>super.onConfigChanges,g=this;return(0,dt.A)(function*(){const T=y().call(g);if(g.catalogContent){if(g.serverOnlyService.setStatusCode(200),!g.displayContentInProgress){if(g.displayContentInProgress=!0,g.contentThemeLoaded||(yield g.configLoaderService.loadContentThemeStyle(),g.contentThemeLoaded=!0),g.dataSourceLoading)try{yield g.dataSourceLoading}catch(O){console.error("Error during content loading",O)}if((0,rt.mF)(g.catalogContent)){if(!T)return void(g.displayContentInProgress=!1);yield g.setupContent()}else if((0,rt.G4)(g.catalogContent)){g.isBundle=!0,g.catalogContent.contents||(g.catalogContent=yield g.purpleService.getCatalogContent(g.catalogContent.id,!1,{includeBundledContent:!0})),g.bundlePosts=(0,rt.Ig)(g.catalogContent);const O=g.bundleIndex;if(g.bundleIndex=g.getBundleIndex(g.catalogContent,g.context[g.getParam()]),T&&g.dataSource&&null==g.context[g.getParam()]){const D=(0,rt.Ig)(g.catalogContent)[0];return g.updatePath(D),void(g.displayContentInProgress=!1)}if(T&&g.contextService.dataCollectionSubject.next(g.bundlePosts),T||g.bundleIndex!==O){g.bundleIndex=g.context[g.getParam()]||!O?g.bundleIndex:O;const D=g.bundlePosts[g.bundleIndex];g.contextService.activeTocItemSubject.next(D.id),yield g.setupContent(),g.dataSource||(yield(0,R.CV)(g.router,{[g.getParam()]:D.id}))}}else g.contentHtml.set(void 0);g.displayContentInProgress=!1}}else g.serverOnlyService.setStatusCode(404)})()}setupContent(){var y=()=>super.updatePostWithOptionalData,g=this;return(0,dt.A)(function*(){var T,O,D;const k=(0,j.v3)(g.config.enableTTS),Y=yield y().call(g,g.getContentFetchOptions(),g.bundleIndex);let G=yield g.replaceHtmlResources(Y.contentHtml,Y);g.contentHtml.set(g.displayHtmlContent(G)),yield g.loadContentPluginStyle(Y);const I=null!==(T=JSON.parse(null!==(O=null==Y||null===(D=Y.seoMetadata)||void 0===D?void 0:D.purple_seo_meta)&&void 0!==O?O:null))&&void 0!==T?T:{};g.metaService.setContentSeoMetadata(I,Y.name),k&&!g.ttsLoaded&&(g.ttsService.initTTSforPost(Y),g.ttsLoaded=!0)})()}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,kn.Kj)(this.mutableBaseConfig()),"navto"].filter(y=>!!y)}updatePath(y){var g,T;const O=null!==(g=this.catalogContent.properties)&&void 0!==g&&g.slug?this.catalogContent.properties.slug:this.catalogContent.id,D=null!==(T=y.properties)&&void 0!==T&&T.slug?y.properties.slug:y.id,Y=[this.appData.customDomain?"":this.appData.brand,...this.getBasePath(this.contextService.getPath()),O,D];(0,R.UB)(this.router,Y)}calculateMaxHeightForContent(){var y,g;return window.innerHeight-(null===(y=this.document.getElementsByTagName("storefront-app-bar")[0])||void 0===y?void 0:y.clientHeight)-(null===(g=this.document.getElementById("tts-player"))||void 0===g?void 0:g.clientHeight)}displayHtmlContent(y){return(0,ut.UE)(this.platformId)||(y=y.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")),y.replace(/<img[^>^<]*src="[^"]*/g,g=>{const T=g.substring(g.indexOf('src="')+5);if(g.length>0){const D=T.lastIndexOf("webp="),k=T.indexOf("?");var O;if(D<0||D<k)return g+(k>0?"&":"?")+"webp=1&w="+(null!==(O=this.config.maxImageWidth)&&void 0!==O?O:1200)}return g})}replaceHtmlResources(y,g){var T=this;return(0,dt.A)(function*(){if(!y.includes("purple-ref"))return y;const O=yield T.updatePostWithOptionalData(T.getContentFetchOptions(),0).then(({resources:k})=>k),D=(null==O?void 0:O.filter(k=>"ASSET"==k.type))||[];for(const k of D){const Y=yield T.convertResourceUrl(g,k);y=y.replace(new RegExp('purple-ref="'.concat(k.id,'"'),"g"),'src="'.concat(Y,'"'))}return y})()}convertResourceUrl(y,g){var T=this;return(0,dt.A)(function*(){return T.purpleEnv.isApp&&(0,Z.E7)(window.purple.content,{major:1,minor:6},ln.IntOperation.GREATER_THAN)?yield window.purple.content.getPostResourceUrl({post:y,resource:g}):g.url.startsWith("//")?window.location.protocol+g.url:g.url})()}addCustomBlocks(y){this.elementRef.nativeElement.querySelectorAll("div[purpleid]").forEach(T=>{const O=T.attributes.purpleid.value,D=y.find(Y=>Y.id===O);if(D){var k;const G={type:D.type,data:JSON.parse(D.properties.data||"{}")},I=null===(k=this.mutableBaseConfig().customBlocks)||void 0===k||null===(k=k.find(at=>at.blockType==D.type))||void 0===k?void 0:k.component;if(I){const at=(0,A.A)({},I),Ct=(0,A.A)((0,A.A)({},this.getContext()),{},{contentBlock:G});this.attachDynamicComponent(T,at,Ct)}}})}addEmbeddedAds(){var y;const T=this.elementRef.nativeElement.querySelectorAll(this.domHelper.leanDom?":scope > div > p":":scope > article > div div > p");if(!T.length)return;let O=0,D=0,k=null,Y=(Array.isArray(this.config.embeddedAd.ads)?this.config.embeddedAd.ads:[this.config.embeddedAd.ads]).filter(G=>(0,j.ru)(G,this.context,this.contextService.$functions,this.globalService.getGlobalData(),!1));null!==(y=window.storefrontHooks)&&void 0!==y&&y.isAdDisabled&&(Y=Y.filter(G=>!window.storefrontHooks.isAdDisabled(G.adConfig.adId))),Y.length&&Y.forEach(G=>{var I;let at=null!==(I=G.startIndex)&&void 0!==I?I:1;for(;0==D||k;){for(;O<G.counter&&(0==D||k);)k=T[D++],k&&(O+=this.calculateTextLength(this.config.embeddedAd.adOffsetUnit,k));if(!k)break;const Ct=(0,A.A)({},G.adConfig);if(G.indexed&&(Ct.adId=Ct.adId+at,at++),this.insertEmbeddedAd(Ct,k),O=0,!G.indexed||G.maxCount&&at>G.maxCount)break}})}insertEmbeddedAd(y,g){const T=(0,A.A)({},y),O=(0,A.A)((0,A.A)({},this.contextService.getContext()),this.getContext());this.attachDynamicComponent(g,T,O)}attachDynamicComponent(y,g,T){var O=this;return(0,dt.A)(function*(){if(!y)return;const D=O.domHelper.leanDom?yield O.dynamicComponentService.getComponentFromType(g.type,g,T):Yn._,k=O.viewContainerRef.createComponent(D);k.instance.mutableBaseConfig.set(g),k.instance.mutableBaseContext.set(T),y.parentNode.insertBefore(k.location.nativeElement,y.nextSibling)})()}calculateTextLength(y,g){const T=g.innerText;let O;switch(y){case qt.CHARACTER:O=T.trim().length;break;case qt.WORD:O=T.trim().split(/\s+/).length;break;case qt.PARAGRAPH:O=1}return O}}return(P=X).\u0275fac=function(y){return new(y||P)},P.\u0275cmp=d.VBU({type:P,selectors:[["storefront-content-body"]],viewQuery:function(y,g){if(1&y&&(d.GBs(Nn,5),d.GBs(An,5,d.c1b)),2&y){let T;d.mGM(T=d.lsd())&&(g.contentHtmlContainer=T.first),d.mGM(T=d.lsd())&&(g.viewContainerRef=T.first)}},hostVars:2,hostBindings:function(y,g){2&y&&d.HbH(g.elementClass)},standalone:!1,features:[d.Vt3],decls:7,vars:2,consts:[["dynamicElementsContainer",""],["ghostContent",""],["contentHtmlContainer",""],["id","sprylab_purple_content"],["class","swiper-actions",4,"ngIf"],["id","sprylab_purple_content",1,"entry-content","purple-inner-container","purple-content-body-inner",3,"max-height","innerHtml"],["id","sprylab_purple_content",1,"entry-content","purple-inner-container","purple-content-body-inner",3,"innerHtml"],[4,"ngTemplateOutlet"],[1,"entry-content"],[1,"purple-inner-container","purple-content-body-inner",3,"innerHtml"],[1,"swiper-actions"],[1,"bundle-button","bundle-button-prev","icon","icon-arrow-left",3,"click"],[1,"bundle-button","bundle-button-next","icon","icon-arrow-right",3,"click"],[1,"purple-inner-container","purple-content-body-inner"],[1,"entry-title"],[1,"wp-block-image"]],template:function(y,g){1&y&&(d.DNE(0,Zn,2,1)(1,vt,4,3,"article",3)(2,ee,3,0,"div",4),d.eu8(3,null,0),d.DNE(5,It,7,0,"ng-template",null,1,d.C5r)),2&y&&(d.vxM(g.domHelper.leanDom?0:1),d.R7$(2),d.Y8G("ngIf",g.isBundle))},dependencies:[ut.bT,ut.T3,pn.$],styles:['.aspectRatioBase[_ngcontent-%COMP%]{position:relative;display:block}.aspectRatioBase[_ngcontent-%COMP%]:before{content:"";position:relative;display:block}.aspectRatioBase[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:absolute}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1.entry-title[_ngcontent-%COMP%]{height:1em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;aspect-ratio:2/1;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] > figcaption[_ngcontent-%COMP%]{height:2em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:3em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}article[_ngcontent-%COMP%]{height:100%;width:100%;overflow:auto;background-color:var(--contentBgColor);box-sizing:border-box}article.open-linking-article[_ngcontent-%COMP%]{pointer-events:none}article.open-linking-article[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;content:"";width:100%;height:100%;background-color:#0003;background-image:var(--contentSpinner);background-size:50%;background-repeat:no-repeat;background-position:center}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%]{padding:var(--contentPaddingVert) var(--contentPaddingHoriz);color:var(--contentTextColor);overflow-x:hidden;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:var(--contentFont);font-size:1em;font-weight:400;font-style:normal;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:not(input){-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-overflow-scrolling:touch;-webkit-user-drag:none}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0;margin:var(--contentElementMarginTop) 0 var(--contentElementMarginBottom)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child:not(header){margin-top:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{border-top:1px solid var(--contentTextColor);border-bottom:1px solid var(--contentTextColor);padding:var(--contentHeaderPaddingVert) 0!important;margin:var(--contentHeaderMarginTop) 0 var(--contentHeaderMarginBottom)!important;overflow:hidden;color:var(--contentTextColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header.article-section[_ngcontent-%COMP%]{font-weight:600;text-transform:uppercase}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header.article-section[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:inherit}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:var(--contentHeaderElementMarginTop) 0 var(--contentHeaderElementMarginBottom)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%]{padding:var(--contentSectionPaddingVert) var(--contentSectionPaddingHoriz);border:1px solid var(--contentTextColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:var(--contentHeadlineFont);margin:var(--margin)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1.4em;font-weight:900;line-height:1.6em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1.2em;font-weight:700;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1em;font-weight:700;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1em;font-weight:700;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{--margin: var(--contentHeadlineSmallMarginTop) 0 var(--contentHeadlineSmallMarginBottom);font-size:1em;font-weight:600;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{--margin: var(--contentHeadlineSmallMarginTop) 0 var(--contentHeadlineSmallMarginBottom);font-size:1em;font-weight:600;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] p.has-drop-cap[_ngcontent-%COMP%]:first-letter{font-size:4.8em;font-weight:300;line-height:.8em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%]{padding:var(--contentElementPaddingVert) var(--contentElementPaddingHoriz);border:none}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--contentFont);font-style:italic;margin:0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] blockquote.is-style-large[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.2em;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] blockquote.wp-block-pullquote[_ngcontent-%COMP%]{border-color:var(--contentTextColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:var(--primaryColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding-left:1em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto;max-width:100%;height:auto}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{color:var(--contentTextColor);font-size:.8em;font-style:italic;margin:var(--contentElementMarginTop) 0 var(--contentElementMarginBottom)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:700}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:inherit}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-style:italic}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] em[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-style:inherit}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-blockgallery-carousel[_ngcontent-%COMP%]{height:-webkit-fit-content;height:fit-content;padding-left:25px;padding-right:25px}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .bod-block-popup[_ngcontent-%COMP%]{--width: calc(100% - 50px) ;width:var(--width)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-bod-modal-block[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-separator.is-style-dots[_ngcontent-%COMP%]:before{font-size:12px;padding-left:0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure.wp-block-gallery[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-embed-youtube[_ngcontent-%COMP%]{--aspectRatio: 56.25%;position:relative;padding:var(--aspectRatio) 0 0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-embed-youtube[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;height:100%}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-embed-instagram[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{min-width:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .kt-accordion-header-wrap[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .uagb-toc__wrap[_ngcontent-%COMP%]{width:100%}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%]{--maxHeight: 200px}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{max-height:var(--maxHeight)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:var(--maxHeight)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .lightSlider[_ngcontent-%COMP%]{padding:0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .lightSlider[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{color:#fff;margin:unset}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .lSPager.lSpg[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background-color:var(--primaryColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .hype-animation[_ngcontent-%COMP%]{max-width:100%}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .full-bleed[_ngcontent-%COMP%]{padding-left:0;padding-right:0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .ub-star-rating[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--contentTextColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}article[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%]{font-size:18px}article[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:absolute;top:50vh;z-index:10;display:block;width:var(--contentNavigateButtonSize);height:var(--contentNavigateButtonSize);-webkit-mask-size:calc(var(--contentNavigateButtonSize) - var(--contentNavigateButtonGap));mask-size:calc(var(--contentNavigateButtonSize) - var(--contentNavigateButtonGap));mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;background-color:var(--contentNavigateButtonColor)}article[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span#content-button-navigate-back[_ngcontent-%COMP%]{-webkit-mask-image:var(--contentIconNavigateBack);mask-image:var(--contentIconNavigateBack);left:calc(var(--contentPaddingHoriz) / 2 - var(--contentNavigateButtonSize) / 2)}article[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span#content-button-navigate-forward[_ngcontent-%COMP%]{-webkit-mask-image:var(--contentIconNavigateForward);mask-image:var(--contentIconNavigateForward);right:calc(var(--contentPaddingHoriz) / 2 - var(--contentNavigateButtonSize) / 2)}article[_ngcontent-%COMP%] .content-button-navigate.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}article[_ngcontent-%COMP%] .content-button-navigate.hidden[_ngcontent-%COMP%]{display:none}.night-mode[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{--contentBgColor: var(--contentBgColorNightMode);--contentTextColor: var(--contentTextColorNightMode);--contentNavigateButtonColor: var(--contentNavigateButtonColorNightMode)}.swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%]{background:transparent;position:fixed;top:50%;display:flex;justify-content:center;align-items:center;width:50px;height:50px}.swiper-actions[_ngcontent-%COMP%] .bundle-button.bundle-button-prev[_ngcontent-%COMP%]{left:0;right:auto}.swiper-actions[_ngcontent-%COMP%] .bundle-button.bundle-button-next[_ngcontent-%COMP%]{right:0;left:auto}.swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%] .bundle-button-prev[_ngcontent-%COMP%], .swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%] .bundle-button-next[_ngcontent-%COMP%]{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}@media (min-width: 200px){.has-no-alignment[_ngcontent-%COMP%] .has-grid-lrg[_ngcontent-%COMP%] .blockgallery--item[_ngcontent-%COMP%]{width:50%}}'],changeDetection:0}),X})();function gn(P){if(!0===function hn(P){return"SCRIPT"===P.tagName}(P))P.parentNode.replaceChild(function ie(P){var X=document.createElement("script");X.text=P.innerHTML;for(var g,N=-1,y=P.attributes;++N<y.length;)X.setAttribute((g=y[N]).name,g.value);return X}(P),P);else for(var X=-1,N=P.childNodes;++X<N.length;)gn(N[X]);return P}var nn=W(6483),Pt=W(3303),re=W(4871),oe=W(1367);const ae=["class","pxp-content-body"];function yt(P,X){if(1&P&&(d.nrm(0,"div",6,2),d.nI1(2,"safeHtml")),2&P){const N=d.XpG(2);d.xc7("max-height",N.calculateMaxHeightForContent(),"px"),d.Y8G("innerHtml",d.bMT(2,3,N.contentHtml()),d.npT)}}function Xt(P,X){1&P&&d.eu8(0)}function Vt(P,X){if(1&P&&d.DNE(0,Xt,1,0,"ng-container",7),2&P){d.XpG(2);const N=d.sdS(6);d.Y8G("ngTemplateOutlet",N)}}function H(P,X){if(1&P&&d.DNE(0,yt,3,5,"div",5)(1,Vt,1,1,"ng-container"),2&P){const N=d.XpG();d.vxM(N.contentHtml()?0:1)}}function st(P,X){if(1&P&&(d.nrm(0,"div",9,2),d.nI1(2,"safeHtml")),2&P){const N=d.XpG(2);d.Y8G("innerHtml",d.bMT(2,1,N.contentHtml()),d.npT)}}function ce(P,X){1&P&&d.eu8(0)}function se(P,X){if(1&P&&d.DNE(0,ce,1,0,"ng-container",7),2&P){d.XpG(2);const N=d.sdS(6);d.Y8G("ngTemplateOutlet",N)}}function le(P,X){if(1&P&&(d.j41(0,"article",3)(1,"div",8),d.DNE(2,st,3,3,"div",9)(3,se,1,1,"ng-container"),d.k0s()()),2&P){const N=d.XpG();d.R7$(),d.xc7("max-height",N.calculateMaxHeightForContent(),"px"),d.R7$(),d.vxM(N.contentHtml()?2:3)}}function Ln(P,X){if(1&P){const N=d.RV6();d.j41(0,"div",10)(1,"div",11),d.bIt("click",function(){d.eBV(N);const g=d.XpG();return d.Njj(g.onClickPrev())}),d.k0s(),d.j41(2,"div",12),d.bIt("click",function(){d.eBV(N);const g=d.XpG();return d.Njj(g.onClickNext())}),d.k0s()()}}function In(P,X){1&P&&(d.j41(0,"div",13),d.nrm(1,"h1",14),d.j41(2,"figure",15),d.nrm(3,"img")(4,"figcaption"),d.k0s(),d.j41(5,"div"),d.nrm(6,"p"),d.k0s()())}let Ut=(()=>{var P;class X extends Gt{}return(P=X).\u0275fac=(()=>{let N;return function(g){return(N||(N=d.xGo(P)))(g||P)}})(),P.\u0275cmp=d.VBU({type:P,selectors:[["div",8,"pxp-content-body"]],standalone:!1,features:[d.Vt3],attrs:ae,decls:7,vars:2,consts:[["dynamicElementsContainer",""],["ghostContent",""],["contentHtmlContainer",""],["id","sprylab_purple_content"],["class","swiper-actions",4,"ngIf"],["id","sprylab_purple_content",1,"entry-content","purple-inner-container","purple-content-body-inner",3,"max-height","innerHtml"],["id","sprylab_purple_content",1,"entry-content","purple-inner-container","purple-content-body-inner",3,"innerHtml"],[4,"ngTemplateOutlet"],[1,"entry-content"],[1,"purple-inner-container","purple-content-body-inner",3,"innerHtml"],[1,"swiper-actions"],[1,"bundle-button","bundle-button-prev","icon","icon-arrow-left",3,"click"],[1,"bundle-button","bundle-button-next","icon","icon-arrow-right",3,"click"],[1,"purple-inner-container","purple-content-body-inner"],[1,"entry-title"],[1,"wp-block-image"]],template:function(y,g){1&y&&(d.DNE(0,H,2,1)(1,le,4,3,"article",3)(2,Ln,3,0,"div",4),d.eu8(3,null,0),d.DNE(5,In,7,0,"ng-template",null,1,d.C5r)),2&y&&(d.vxM(g.domHelper.leanDom?0:1),d.R7$(2),d.Y8G("ngIf",g.isBundle))},dependencies:[ut.bT,ut.T3,pn.$],styles:['.aspectRatioBase[_ngcontent-%COMP%]{position:relative;display:block}.aspectRatioBase[_ngcontent-%COMP%]:before{content:"";position:relative;display:block}.aspectRatioBase[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:absolute}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1.entry-title[_ngcontent-%COMP%]{height:1em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;aspect-ratio:2/1;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] > figcaption[_ngcontent-%COMP%]{height:2em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}#sprylab_purple_content[_ngcontent-%COMP%]{height:100%;width:100%;background-color:var(--contentBgColor);box-sizing:border-box;padding:var(--contentPaddingVert) var(--contentPaddingHoriz);color:var(--contentTextColor);overflow-x:hidden;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}#sprylab_purple_content.open-linking-article[_ngcontent-%COMP%]{pointer-events:none}#sprylab_purple_content.open-linking-article[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;content:"";width:100%;height:100%;background-color:#0003;background-image:var(--contentSpinner);background-size:50%;background-repeat:no-repeat;background-position:center}#sprylab_purple_content[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:var(--contentFont);font-size:1em;font-weight:400;font-style:normal;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:not(input){-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-overflow-scrolling:touch;-webkit-user-drag:none}#sprylab_purple_content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0;margin:var(--contentElementMarginTop) 0 var(--contentElementMarginBottom)!important}#sprylab_purple_content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child:not(header){margin-top:0!important}#sprylab_purple_content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}#sprylab_purple_content[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{border-top:1px solid var(--contentTextColor);border-bottom:1px solid var(--contentTextColor);padding:var(--contentHeaderPaddingVert) 0!important;margin:var(--contentHeaderMarginTop) 0 var(--contentHeaderMarginBottom)!important;overflow:hidden;color:var(--contentTextColor)}#sprylab_purple_content[_ngcontent-%COMP%] header.article-section[_ngcontent-%COMP%]{font-weight:600;text-transform:uppercase}#sprylab_purple_content[_ngcontent-%COMP%] header.article-section[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:inherit}#sprylab_purple_content[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:var(--contentHeaderElementMarginTop) 0 var(--contentHeaderElementMarginBottom)!important}#sprylab_purple_content[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0!important}#sprylab_purple_content[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}#sprylab_purple_content[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%]{padding:var(--contentSectionPaddingVert) var(--contentSectionPaddingHoriz);border:1px solid var(--contentTextColor)}#sprylab_purple_content[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0!important}#sprylab_purple_content[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}#sprylab_purple_content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:var(--contentHeadlineFont);margin:var(--margin)!important}#sprylab_purple_content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}#sprylab_purple_content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1.4em;font-weight:900;line-height:1.6em}#sprylab_purple_content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1.2em;font-weight:700;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1em;font-weight:700;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{--margin: var(--contentHeadlineSmallMarginTop) 0 var(--contentHeadlineSmallMarginBottom);font-size:1em;font-weight:600;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] p.has-drop-cap[_ngcontent-%COMP%]:first-letter{font-size:4.8em;font-weight:300;line-height:.8em}#sprylab_purple_content[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%]{padding:var(--contentElementPaddingVert) var(--contentElementPaddingHoriz);border:none}#sprylab_purple_content[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--contentFont);font-style:italic;margin:0}#sprylab_purple_content[_ngcontent-%COMP%] blockquote.is-style-large[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.2em;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] blockquote.wp-block-pullquote[_ngcontent-%COMP%]{border-color:var(--contentTextColor)}#sprylab_purple_content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:var(--primaryColor)}#sprylab_purple_content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}#sprylab_purple_content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding-left:1em}#sprylab_purple_content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}#sprylab_purple_content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto;max-width:100%;height:auto}#sprylab_purple_content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{color:var(--contentTextColor);font-size:.8em;font-style:italic;margin:var(--contentElementMarginTop) 0 var(--contentElementMarginBottom)}#sprylab_purple_content[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:700}#sprylab_purple_content[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:inherit}#sprylab_purple_content[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-style:italic}#sprylab_purple_content[_ngcontent-%COMP%] em[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-style:inherit}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-blockgallery-carousel[_ngcontent-%COMP%]{height:-webkit-fit-content;height:fit-content;padding-left:25px;padding-right:25px}#sprylab_purple_content[_ngcontent-%COMP%] .bod-block-popup[_ngcontent-%COMP%]{--width: calc(100% - 50px) ;width:var(--width)!important}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-bod-modal-block[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-separator.is-style-dots[_ngcontent-%COMP%]:before{font-size:12px;padding-left:0}#sprylab_purple_content[_ngcontent-%COMP%] figure.wp-block-gallery[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-embed-youtube[_ngcontent-%COMP%]{--aspectRatio: 56.25%;position:relative;padding:var(--aspectRatio) 0 0}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-embed-youtube[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;height:100%}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-embed-instagram[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{min-width:0!important}#sprylab_purple_content[_ngcontent-%COMP%] .kt-accordion-header-wrap[_ngcontent-%COMP%]{overflow:hidden}#sprylab_purple_content[_ngcontent-%COMP%] .uagb-toc__wrap[_ngcontent-%COMP%]{width:100%}#sprylab_purple_content[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%]{--maxHeight: 200px}#sprylab_purple_content[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{max-height:var(--maxHeight)!important}#sprylab_purple_content[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:var(--maxHeight)!important}#sprylab_purple_content[_ngcontent-%COMP%] .lightSlider[_ngcontent-%COMP%]{padding:0}#sprylab_purple_content[_ngcontent-%COMP%] .lightSlider[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{color:#fff;margin:unset}#sprylab_purple_content[_ngcontent-%COMP%] .lSPager.lSpg[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background-color:var(--primaryColor)}#sprylab_purple_content[_ngcontent-%COMP%] .hype-animation[_ngcontent-%COMP%]{max-width:100%}#sprylab_purple_content[_ngcontent-%COMP%] .full-bleed[_ngcontent-%COMP%]{padding-left:0;padding-right:0}#sprylab_purple_content[_ngcontent-%COMP%] .ub-star-rating[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--contentTextColor)}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%]{font-size:18px}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:absolute;top:50vh;z-index:10;display:block;width:var(--contentNavigateButtonSize);height:var(--contentNavigateButtonSize);-webkit-mask-size:calc(var(--contentNavigateButtonSize) - var(--contentNavigateButtonGap));mask-size:calc(var(--contentNavigateButtonSize) - var(--contentNavigateButtonGap));mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;background-color:var(--contentNavigateButtonColor)}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span#content-button-navigate-back[_ngcontent-%COMP%]{-webkit-mask-image:var(--contentIconNavigateBack);mask-image:var(--contentIconNavigateBack);left:calc(var(--contentPaddingHoriz) / 2 - var(--contentNavigateButtonSize) / 2)}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span#content-button-navigate-forward[_ngcontent-%COMP%]{-webkit-mask-image:var(--contentIconNavigateForward);mask-image:var(--contentIconNavigateForward);right:calc(var(--contentPaddingHoriz) / 2 - var(--contentNavigateButtonSize) / 2)}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate.hidden[_ngcontent-%COMP%]{display:none}.night-mode[_ngcontent-%COMP%] #sprylab_purple_content[_ngcontent-%COMP%]{--contentBgColor: var(--contentBgColorNightMode);--contentTextColor: var(--contentTextColorNightMode);--contentNavigateButtonColor: var(--contentNavigateButtonColorNightMode)}.swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%]{background:transparent;position:fixed;top:50%;display:flex;justify-content:center;align-items:center;width:50px;height:50px}.swiper-actions[_ngcontent-%COMP%] .bundle-button.bundle-button-prev[_ngcontent-%COMP%]{left:0;right:auto}.swiper-actions[_ngcontent-%COMP%] .bundle-button.bundle-button-next[_ngcontent-%COMP%]{right:0;left:auto}.swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%] .bundle-button-prev[_ngcontent-%COMP%], .swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%] .bundle-button-next[_ngcontent-%COMP%]{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}@media (min-width: 200px){.has-no-alignment[_ngcontent-%COMP%] .has-grid-lrg[_ngcontent-%COMP%] .blockgallery--item[_ngcontent-%COMP%]{width:50%}}'],changeDetection:0}),X})(),Mt=(()=>{var P;class X{}return(P=X).\u0275fac=function(y){return new(y||P)},P.\u0275mod=d.$C({type:P}),P.\u0275inj=d.G2t({imports:[ut.MD,nn.h,re.E,Pt.y,oe.IssueModule]}),X})();const Ht={component:Gt,leanDomComponent:Ut}},1653:function(On,xn){var ut;!function(A,dt){"use strict";"object"==typeof On.exports?On.exports=A.document?dt(A,!0):function(d){if(!d.document)throw new Error("jQuery requires a window with a document");return dt(d)}:dt(A)}(typeof window<"u"?window:this,function(A,dt){"use strict";var d=[],Tn=Object.getPrototypeOf,ft=d.slice,qt=d.flat?function(t){return d.flat.call(t)}:function(t){return d.concat.apply([],t)},Zt=d.push,rt=d.indexOf,tn={},Sn=tn.toString,At=tn.hasOwnProperty,ln=At.toString,wn=ln.call(Object),R={},q=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType&&"function"!=typeof n.item},Bt=function(n){return null!=n&&n===n.window},j=A.document,kn={type:!0,src:!0,nonce:!0,noModule:!0};function En(t,n,e){var i,o,a=(e=e||j).createElement("script");if(a.text=t,n)for(i in kn)(o=n[i]||n.getAttribute&&n.getAttribute(i))&&a.setAttribute(i,o);e.head.appendChild(a).parentNode.removeChild(a)}function jt(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tn[Sn.call(t)]||"object":typeof t}var Vn=/HTML$/i,r=function(t,n){return new r.fn.init(t,n)};function un(t){var n=!!t&&"length"in t&&t.length,e=jt(t);return!q(t)&&!Bt(t)&&("array"===e||0===n||"number"==typeof n&&n>0&&n-1 in t)}function Z(t,n){return t.nodeName&&t.nodeName.toLowerCase()===n.toLowerCase()}r.fn=r.prototype={jquery:"3.7.1",constructor:r,length:0,toArray:function(){return ft.call(this)},get:function(t){return null==t?ft.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var n=r.merge(this.constructor(),t);return n.prevObject=this,n},each:function(t){return r.each(this,t)},map:function(t){return this.pushStack(r.map(this,function(n,e){return t.call(n,e,n)}))},slice:function(){return this.pushStack(ft.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(r.grep(this,function(t,n){return(n+1)%2}))},odd:function(){return this.pushStack(r.grep(this,function(t,n){return n%2}))},eq:function(t){var n=this.length,e=+t+(t<0?n:0);return this.pushStack(e>=0&&e<n?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:Zt,sort:d.sort,splice:d.splice},r.extend=r.fn.extend=function(){var t,n,e,i,o,a,c=arguments[0]||{},u=1,l=arguments.length,p=!1;for("boolean"==typeof c&&(p=c,c=arguments[u]||{},u++),"object"!=typeof c&&!q(c)&&(c={}),u===l&&(c=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(n in t)i=t[n],"__proto__"!==n&&c!==i&&(p&&i&&(r.isPlainObject(i)||(o=Array.isArray(i)))?(e=c[n],a=o&&!Array.isArray(e)?[]:o||r.isPlainObject(e)?e:{},o=!1,c[n]=r.extend(p,a,i)):void 0!==i&&(c[n]=i));return c},r.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var n,e;return!(!t||"[object Object]"!==Sn.call(t)||(n=Tn(t))&&("function"!=typeof(e=At.call(n,"constructor")&&n.constructor)||ln.call(e)!==wn))},isEmptyObject:function(t){var n;for(n in t)return!1;return!0},globalEval:function(t,n,e){En(t,{nonce:n&&n.nonce},e)},each:function(t,n){var e,i=0;if(un(t))for(e=t.length;i<e&&!1!==n.call(t[i],i,t[i]);i++);else for(i in t)if(!1===n.call(t[i],i,t[i]))break;return t},text:function(t){var n,e="",i=0,o=t.nodeType;if(!o)for(;n=t[i++];)e+=r.text(n);return 1===o||11===o?t.textContent:9===o?t.documentElement.textContent:3===o||4===o?t.nodeValue:e},makeArray:function(t,n){var e=n||[];return null!=t&&(un(Object(t))?r.merge(e,"string"==typeof t?[t]:t):Zt.call(e,t)),e},inArray:function(t,n,e){return null==n?-1:rt.call(n,t,e)},isXMLDoc:function(t){var e=t&&(t.ownerDocument||t).documentElement;return!Vn.test(t&&t.namespaceURI||e&&e.nodeName||"HTML")},merge:function(t,n){for(var e=+n.length,i=0,o=t.length;i<e;i++)t[o++]=n[i];return t.length=o,t},grep:function(t,n,e){for(var o=[],a=0,c=t.length,u=!e;a<c;a++)!n(t[a],a)!==u&&o.push(t[a]);return o},map:function(t,n,e){var i,o,a=0,c=[];if(un(t))for(i=t.length;a<i;a++)null!=(o=n(t[a],a,e))&&c.push(o);else for(a in t)null!=(o=n(t[a],a,e))&&c.push(o);return qt(c)},guid:1,support:R}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=d[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,n){tn["[object "+n+"]"]=n.toLowerCase()});var Un=d.pop,Qn=d.sort,Yn=d.splice,tt="[\\x20\\t\\r\\n\\f]",$t=new RegExp("^"+tt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+tt+"+$","g");r.contains=function(t,n){var e=n&&n.parentNode;return t===e||!(!e||1!==e.nodeType||!(t.contains?t.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))};var Kn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Dn(t,n){return n?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}r.escapeSelector=function(t){return(t+"").replace(Kn,Dn)};var bt=j,fn=Zt;!function(){var t,n,e,i,o,c,u,l,p,m,a=fn,b=r.expando,C=0,M=0,F=qn(),K=qn(),$=qn(),ct=qn(),ot=function(s,f){return s===f&&(o=!0),0},Tt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",St="(?:\\\\[\\da-fA-F]{1,6}"+tt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Q="\\["+tt+"*("+St+")(?:"+tt+"*([*^$|!~]?=)"+tt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+St+"))|)"+tt+"*\\]",Kt=":("+St+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Q+")*)|.*)\\)|)",J=new RegExp(tt+"+","g"),it=new RegExp("^"+tt+"*,"+tt+"*"),bn=new RegExp("^"+tt+"*([>+~]|"+tt+")"+tt+"*"),Me=new RegExp(tt+"|>"),wt=new RegExp(Kt),Pn=new RegExp("^"+St+"$"),kt={ID:new RegExp("^#("+St+")"),CLASS:new RegExp("^\\.("+St+")"),TAG:new RegExp("^("+St+"|[*])"),ATTR:new RegExp("^"+Q),PSEUDO:new RegExp("^"+Kt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+Tt+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},Ft=/^(?:input|select|textarea|button)$/i,zt=/^h\d$/i,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Oe=/[+~]/,Dt=new RegExp("\\\\[\\da-fA-F]{1,6}"+tt+"?|\\\\([^\\r\\n\\f])","g"),Nt=function(s,f){var h="0x"+s.slice(1)-65536;return f||(h<0?String.fromCharCode(h+65536):String.fromCharCode(h>>10|55296,1023&h|56320))},Bi=function(){Wt()},ji=Gn(function(s){return!0===s.disabled&&Z(s,"fieldset")},{dir:"parentNode",next:"legend"});try{a.apply(d=ft.call(bt.childNodes),bt.childNodes)}catch(s){a={apply:function(f,h){fn.apply(f,ft.call(h))},call:function(f){fn.apply(f,ft.call(arguments,1))}}}function nt(s,f,h,v){var _,x,S,E,w,V,L,z=f&&f.ownerDocument,U=f?f.nodeType:9;if(h=h||[],"string"!=typeof s||!s||1!==U&&9!==U&&11!==U)return h;if(!v&&(Wt(f),f=f||c,l)){if(11!==U&&(w=mt.exec(s)))if(_=w[1]){if(9===U){if(!(S=f.getElementById(_)))return h;if(S.id===_)return a.call(h,S),h}else if(z&&(S=z.getElementById(_))&&nt.contains(f,S)&&S.id===_)return a.call(h,S),h}else{if(w[2])return a.apply(h,f.getElementsByTagName(s)),h;if((_=w[3])&&f.getElementsByClassName)return a.apply(h,f.getElementsByClassName(_)),h}if(!(ct[s+" "]||p&&p.test(s))){if(L=s,z=f,1===U&&(Me.test(s)||bn.test(s))){for(((z=Oe.test(s)&&xe(f.parentNode)||f)!=f||!R.scope)&&((E=f.getAttribute("id"))?E=r.escapeSelector(E):f.setAttribute("id",E=b)),x=(V=Mn(s)).length;x--;)V[x]=(E?"#"+E:":scope")+" "+$n(V[x]);L=V.join(",")}try{return a.apply(h,z.querySelectorAll(L)),h}catch(B){ct(s,!0)}finally{E===b&&f.removeAttribute("id")}}}return ni(s.replace($t,"$1"),f,h,v)}function qn(){var s=[];return function f(h,v){return s.push(h+" ")>n.cacheLength&&delete f[s.shift()],f[h+" "]=v}}function xt(s){return s[b]=!0,s}function cn(s){var f=c.createElement("fieldset");try{return!!s(f)}catch(h){return!1}finally{f.parentNode&&f.parentNode.removeChild(f),f=null}}function Ii(s){return function(f){return Z(f,"input")&&f.type===s}}function Ri(s){return function(f){return(Z(f,"input")||Z(f,"button"))&&f.type===s}}function Ze(s){return function(f){return"form"in f?f.parentNode&&!1===f.disabled?"label"in f?"label"in f.parentNode?f.parentNode.disabled===s:f.disabled===s:f.isDisabled===s||f.isDisabled!==!s&&ji(f)===s:f.disabled===s:"label"in f&&f.disabled===s}}function Jt(s){return xt(function(f){return f=+f,xt(function(h,v){for(var _,x=s([],h.length,f),S=x.length;S--;)h[_=x[S]]&&(h[_]=!(v[_]=h[_]))})})}function xe(s){return s&&typeof s.getElementsByTagName<"u"&&s}function Wt(s){var f,h=s?s.ownerDocument||s:bt;return h==c||9!==h.nodeType||!h.documentElement||(u=(c=h).documentElement,l=!r.isXMLDoc(c),m=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&bt!=c&&(f=c.defaultView)&&f.top!==f&&f.addEventListener("unload",Bi),R.getById=cn(function(v){return u.appendChild(v).id=r.expando,!c.getElementsByName||!c.getElementsByName(r.expando).length}),R.disconnectedMatch=cn(function(v){return m.call(v,"*")}),R.scope=cn(function(){return c.querySelectorAll(":scope")}),R.cssHas=cn(function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(v){return!0}}),R.getById?(n.filter.ID=function(v){var _=v.replace(Dt,Nt);return function(x){return x.getAttribute("id")===_}},n.find.ID=function(v,_){if(typeof _.getElementById<"u"&&l){var x=_.getElementById(v);return x?[x]:[]}}):(n.filter.ID=function(v){var _=v.replace(Dt,Nt);return function(x){var S=typeof x.getAttributeNode<"u"&&x.getAttributeNode("id");return S&&S.value===_}},n.find.ID=function(v,_){if(typeof _.getElementById<"u"&&l){var x,S,E,w=_.getElementById(v);if(w){if((x=w.getAttributeNode("id"))&&x.value===v)return[w];for(E=_.getElementsByName(v),S=0;w=E[S++];)if((x=w.getAttributeNode("id"))&&x.value===v)return[w]}return[]}}),n.find.TAG=function(v,_){return typeof _.getElementsByTagName<"u"?_.getElementsByTagName(v):_.querySelectorAll(v)},n.find.CLASS=function(v,_){if(typeof _.getElementsByClassName<"u"&&l)return _.getElementsByClassName(v)},p=[],cn(function(v){var _;u.appendChild(v).innerHTML="<a id='"+b+"' href='' disabled='disabled'></a><select id='"+b+"-\r\\' disabled='disabled'><option selected=''></option></select>",v.querySelectorAll("[selected]").length||p.push("\\["+tt+"*(?:value|"+Tt+")"),v.querySelectorAll("[id~="+b+"-]").length||p.push("~="),v.querySelectorAll("a#"+b+"+*").length||p.push(".#.+[+~]"),v.querySelectorAll(":checked").length||p.push(":checked"),(_=c.createElement("input")).setAttribute("type","hidden"),v.appendChild(_).setAttribute("name","D"),u.appendChild(v).disabled=!0,2!==v.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(_=c.createElement("input")).setAttribute("name",""),v.appendChild(_),v.querySelectorAll("[name='']").length||p.push("\\["+tt+"*name"+tt+"*="+tt+"*(?:''|\"\")")}),R.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),ot=function(v,_){if(v===_)return o=!0,0;var x=!v.compareDocumentPosition-!_.compareDocumentPosition;return x||(1&(x=(v.ownerDocument||v)==(_.ownerDocument||_)?v.compareDocumentPosition(_):1)||!R.sortDetached&&_.compareDocumentPosition(v)===x?v===c||v.ownerDocument==bt&&nt.contains(bt,v)?-1:_===c||_.ownerDocument==bt&&nt.contains(bt,_)?1:i?rt.call(i,v)-rt.call(i,_):0:4&x?-1:1)}),c}for(t in nt.matches=function(s,f){return nt(s,null,null,f)},nt.matchesSelector=function(s,f){if(Wt(s),l&&!ct[f+" "]&&(!p||!p.test(f)))try{var h=m.call(s,f);if(h||R.disconnectedMatch||s.document&&11!==s.document.nodeType)return h}catch(v){ct(f,!0)}return nt(f,c,null,[s]).length>0},nt.contains=function(s,f){return(s.ownerDocument||s)!=c&&Wt(s),r.contains(s,f)},nt.attr=function(s,f){(s.ownerDocument||s)!=c&&Wt(s);var h=n.attrHandle[f.toLowerCase()],v=h&&At.call(n.attrHandle,f.toLowerCase())?h(s,f,!l):void 0;return void 0!==v?v:s.getAttribute(f)},nt.error=function(s){throw new Error("Syntax error, unrecognized expression: "+s)},r.uniqueSort=function(s){var f,h=[],v=0,_=0;if(o=!R.sortStable,i=!R.sortStable&&ft.call(s,0),Qn.call(s,ot),o){for(;f=s[_++];)f===s[_]&&(v=h.push(_));for(;v--;)Yn.call(s,h[v],1)}return i=null,s},r.fn.uniqueSort=function(){return this.pushStack(r.uniqueSort(ft.apply(this)))},(n=r.expr={cacheLength:50,createPseudo:xt,match:kt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(s){return s[1]=s[1].replace(Dt,Nt),s[3]=(s[3]||s[4]||s[5]||"").replace(Dt,Nt),"~="===s[2]&&(s[3]=" "+s[3]+" "),s.slice(0,4)},CHILD:function(s){return s[1]=s[1].toLowerCase(),"nth"===s[1].slice(0,3)?(s[3]||nt.error(s[0]),s[4]=+(s[4]?s[5]+(s[6]||1):2*("even"===s[3]||"odd"===s[3])),s[5]=+(s[7]+s[8]||"odd"===s[3])):s[3]&&nt.error(s[0]),s},PSEUDO:function(s){var f,h=!s[6]&&s[2];return kt.CHILD.test(s[0])?null:(s[3]?s[2]=s[4]||s[5]||"":h&&wt.test(h)&&(f=Mn(h,!0))&&(f=h.indexOf(")",h.length-f)-h.length)&&(s[0]=s[0].slice(0,f),s[2]=h.slice(0,f)),s.slice(0,3))}},filter:{TAG:function(s){var f=s.replace(Dt,Nt).toLowerCase();return"*"===s?function(){return!0}:function(h){return Z(h,f)}},CLASS:function(s){var f=F[s+" "];return f||(f=new RegExp("(^|"+tt+")"+s+"("+tt+"|$)"))&&F(s,function(h){return f.test("string"==typeof h.className&&h.className||typeof h.getAttribute<"u"&&h.getAttribute("class")||"")})},ATTR:function(s,f,h){return function(v){var _=nt.attr(v,s);return null==_?"!="===f:!f||(_+="","="===f?_===h:"!="===f?_!==h:"^="===f?h&&0===_.indexOf(h):"*="===f?h&&_.indexOf(h)>-1:"$="===f?h&&_.slice(-h.length)===h:"~="===f?(" "+_.replace(J," ")+" ").indexOf(h)>-1:"|="===f&&(_===h||_.slice(0,h.length+1)===h+"-"))}},CHILD:function(s,f,h,v,_){var x="nth"!==s.slice(0,3),S="last"!==s.slice(-4),E="of-type"===f;return 1===v&&0===_?function(w){return!!w.parentNode}:function(w,V,L){var z,U,B,et,ht,lt=x!==S?"nextSibling":"previousSibling",_t=w.parentNode,Et=E&&w.nodeName.toLowerCase(),sn=!L&&!E,pt=!1;if(_t){if(x){for(;lt;){for(B=w;B=B[lt];)if(E?Z(B,Et):1===B.nodeType)return!1;ht=lt="only"===s&&!ht&&"nextSibling"}return!0}if(ht=[S?_t.firstChild:_t.lastChild],S&&sn){for(pt=(et=(z=(U=_t[b]||(_t[b]={}))[s]||[])[0]===C&&z[1])&&z[2],B=et&&_t.childNodes[et];B=++et&&B&&B[lt]||(pt=et=0)||ht.pop();)if(1===B.nodeType&&++pt&&B===w){U[s]=[C,et,pt];break}}else if(sn&&(pt=et=(z=(U=w[b]||(w[b]={}))[s]||[])[0]===C&&z[1]),!1===pt)for(;(B=++et&&B&&B[lt]||(pt=et=0)||ht.pop())&&(!(E?Z(B,Et):1===B.nodeType)||!++pt||(sn&&((U=B[b]||(B[b]={}))[s]=[C,pt]),B!==w)););return(pt-=_)===v||pt%v==0&&pt/v>=0}}},PSEUDO:function(s,f){var h,v=n.pseudos[s]||n.setFilters[s.toLowerCase()]||nt.error("unsupported pseudo: "+s);return v[b]?v(f):v.length>1?(h=[s,s,"",f],n.setFilters.hasOwnProperty(s.toLowerCase())?xt(function(_,x){for(var S,E=v(_,f),w=E.length;w--;)_[S=rt.call(_,E[w])]=!(x[S]=E[w])}):function(_){return v(_,0,h)}):v}},pseudos:{not:xt(function(s){var f=[],h=[],v=ke(s.replace($t,"$1"));return v[b]?xt(function(_,x,S,E){for(var w,V=v(_,null,E,[]),L=_.length;L--;)(w=V[L])&&(_[L]=!(x[L]=w))}):function(_,x,S){return f[0]=_,v(f,null,S,h),f[0]=null,!h.pop()}}),has:xt(function(s){return function(f){return nt(s,f).length>0}}),contains:xt(function(s){return s=s.replace(Dt,Nt),function(f){return(f.textContent||r.text(f)).indexOf(s)>-1}}),lang:xt(function(s){return Pn.test(s||"")||nt.error("unsupported lang: "+s),s=s.replace(Dt,Nt).toLowerCase(),function(f){var h;do{if(h=l?f.lang:f.getAttribute("xml:lang")||f.getAttribute("lang"))return(h=h.toLowerCase())===s||0===h.indexOf(s+"-")}while((f=f.parentNode)&&1===f.nodeType);return!1}}),target:function(s){var f=A.location&&A.location.hash;return f&&f.slice(1)===s.id},root:function(s){return s===u},focus:function(s){return s===function Li(){try{return c.activeElement}catch(s){}}()&&c.hasFocus()&&!!(s.type||s.href||~s.tabIndex)},enabled:Ze(!1),disabled:Ze(!0),checked:function(s){return Z(s,"input")&&!!s.checked||Z(s,"option")&&!!s.selected},selected:function(s){return!0===s.selected},empty:function(s){for(s=s.firstChild;s;s=s.nextSibling)if(s.nodeType<6)return!1;return!0},parent:function(s){return!n.pseudos.empty(s)},header:function(s){return zt.test(s.nodeName)},input:function(s){return Ft.test(s.nodeName)},button:function(s){return Z(s,"input")&&"button"===s.type||Z(s,"button")},text:function(s){var f;return Z(s,"input")&&"text"===s.type&&(null==(f=s.getAttribute("type"))||"text"===f.toLowerCase())},first:Jt(function(){return[0]}),last:Jt(function(s,f){return[f-1]}),eq:Jt(function(s,f,h){return[h<0?h+f:h]}),even:Jt(function(s,f){for(var h=0;h<f;h+=2)s.push(h);return s}),odd:Jt(function(s,f){for(var h=1;h<f;h+=2)s.push(h);return s}),lt:Jt(function(s,f,h){var v;for(v=h<0?h+f:h>f?f:h;--v>=0;)s.push(v);return s}),gt:Jt(function(s,f,h){for(var v=h<0?h+f:h;++v<f;)s.push(v);return s})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=Ii(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=Ri(t);function ti(){}function Mn(s,f){var h,v,_,x,S,E,w,V=K[s+" "];if(V)return f?0:V.slice(0);for(S=s,E=[],w=n.preFilter;S;){for(x in(!h||(v=it.exec(S)))&&(v&&(S=S.slice(v[0].length)||S),E.push(_=[])),h=!1,(v=bn.exec(S))&&(h=v.shift(),_.push({value:h,type:v[0].replace($t," ")}),S=S.slice(h.length)),n.filter)(v=kt[x].exec(S))&&(!w[x]||(v=w[x](v)))&&(h=v.shift(),_.push({value:h,type:x,matches:v}),S=S.slice(h.length));if(!h)break}return f?S.length:S?nt.error(s):K(s,E).slice(0)}function $n(s){for(var f=0,h=s.length,v="";f<h;f++)v+=s[f].value;return v}function Gn(s,f,h){var v=f.dir,_=f.next,x=_||v,S=h&&"parentNode"===x,E=M++;return f.first?function(w,V,L){for(;w=w[v];)if(1===w.nodeType||S)return s(w,V,L);return!1}:function(w,V,L){var z,U,B=[C,E];if(L){for(;w=w[v];)if((1===w.nodeType||S)&&s(w,V,L))return!0}else for(;w=w[v];)if(1===w.nodeType||S)if(U=w[b]||(w[b]={}),_&&Z(w,_))w=w[v]||w;else{if((z=U[x])&&z[0]===C&&z[1]===E)return B[2]=z[2];if(U[x]=B,B[2]=s(w,V,L))return!0}return!1}}function Te(s){return s.length>1?function(f,h,v){for(var _=s.length;_--;)if(!s[_](f,h,v))return!1;return!0}:s[0]}function Xn(s,f,h,v,_){for(var x,S=[],E=0,w=s.length,V=null!=f;E<w;E++)(x=s[E])&&(!h||h(x,v,_))&&(S.push(x),V&&f.push(E));return S}function Se(s,f,h,v,_,x){return v&&!v[b]&&(v=Se(v)),_&&!_[b]&&(_=Se(_,x)),xt(function(S,E,w,V){var L,z,U,B,et=[],ht=[],lt=E.length,_t=S||function Fi(s,f,h){for(var v=0,_=f.length;v<_;v++)nt(s,f[v],h);return h}(f||"*",w.nodeType?[w]:w,[]),Et=!s||!S&&f?_t:Xn(_t,et,s,w,V);if(h?h(Et,B=_||(S?s:lt||v)?[]:E,w,V):B=Et,v)for(L=Xn(B,ht),v(L,[],w,V),z=L.length;z--;)(U=L[z])&&(B[ht[z]]=!(Et[ht[z]]=U));if(S){if(_||s){if(_){for(L=[],z=B.length;z--;)(U=B[z])&&L.push(Et[z]=U);_(null,B=[],L,V)}for(z=B.length;z--;)(U=B[z])&&(L=_?rt.call(S,U):et[z])>-1&&(S[L]=!(E[L]=U))}}else B=Xn(B===E?B.splice(lt,B.length):B),_?_(null,E,B,V):a.apply(E,B)})}function we(s){for(var f,h,v,_=s.length,x=n.relative[s[0].type],S=x||n.relative[" "],E=x?1:0,w=Gn(function(z){return z===f},S,!0),V=Gn(function(z){return rt.call(f,z)>-1},S,!0),L=[function(z,U,B){var et=!x&&(B||U!=e)||((f=U).nodeType?w(z,U,B):V(z,U,B));return f=null,et}];E<_;E++)if(h=n.relative[s[E].type])L=[Gn(Te(L),h)];else{if((h=n.filter[s[E].type].apply(null,s[E].matches))[b]){for(v=++E;v<_&&!n.relative[s[v].type];v++);return Se(E>1&&Te(L),E>1&&$n(s.slice(0,E-1).concat({value:" "===s[E-2].type?"*":""})).replace($t,"$1"),h,E<v&&we(s.slice(E,v)),v<_&&we(s=s.slice(v)),v<_&&$n(s))}L.push(h)}return Te(L)}function ke(s,f){var h,v=[],_=[],x=$[s+" "];if(!x){for(f||(f=Mn(s)),h=f.length;h--;)(x=we(f[h]))[b]?v.push(x):_.push(x);x=$(s,function zi(s,f){var h=f.length>0,v=s.length>0,_=function(x,S,E,w,V){var L,z,U,B=0,et="0",ht=x&&[],lt=[],_t=e,Et=x||v&&n.find.TAG("*",V),sn=C+=null==_t?1:Math.random()||.1,pt=Et.length;for(V&&(e=S==c||S||V);et!==pt&&null!=(L=Et[et]);et++){if(v&&L){for(z=0,!S&&L.ownerDocument!=c&&(Wt(L),E=!l);U=s[z++];)if(U(L,S||c,E)){a.call(w,L);break}V&&(C=sn)}h&&((L=!U&&L)&&B--,x&&ht.push(L))}if(B+=et,h&&et!==B){for(z=0;U=f[z++];)U(ht,lt,S,E);if(x){if(B>0)for(;et--;)ht[et]||lt[et]||(lt[et]=Un.call(w));lt=Xn(lt)}a.apply(w,lt),V&&!x&<.length>0&&B+f.length>1&&r.uniqueSort(w)}return V&&(C=sn,e=_t),ht};return h?xt(_):_}(_,v)),x.selector=s}return x}function ni(s,f,h,v){var _,x,S,E,w,V="function"==typeof s&&s,L=!v&&Mn(s=V.selector||s);if(h=h||[],1===L.length){if((x=L[0]=L[0].slice(0)).length>2&&"ID"===(S=x[0]).type&&9===f.nodeType&&l&&n.relative[x[1].type]){if(!(f=(n.find.ID(S.matches[0].replace(Dt,Nt),f)||[])[0]))return h;V&&(f=f.parentNode),s=s.slice(x.shift().value.length)}for(_=kt.needsContext.test(s)?0:x.length;_--&&!n.relative[E=(S=x[_]).type];)if((w=n.find[E])&&(v=w(S.matches[0].replace(Dt,Nt),Oe.test(x[0].type)&&xe(f.parentNode)||f))){if(x.splice(_,1),!(s=v.length&&$n(x)))return a.apply(h,v),h;break}}return(V||ke(s,L))(v,f,!l,h,!f||Oe.test(s)&&xe(f.parentNode)||f),h}ti.prototype=n.filters=n.pseudos,n.setFilters=new ti,R.sortStable=b.split("").sort(ot).join("")===b,Wt(),R.sortDetached=cn(function(s){return 1&s.compareDocumentPosition(c.createElement("fieldset"))}),r.find=nt,r.expr[":"]=r.expr.pseudos,r.unique=r.uniqueSort,nt.compile=ke,nt.select=ni,nt.setDocument=Wt,nt.tokenize=Mn,nt.escape=r.escapeSelector,nt.getText=r.text,nt.isXML=r.isXMLDoc,nt.selectors=r.expr,nt.support=r.support,nt.uniqueSort=r.uniqueSort}();var Lt=function(t,n,e){for(var i=[],o=void 0!==e;(t=t[n])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&r(t).is(e))break;i.push(t)}return i},pn=function(t,n){for(var e=[];t;t=t.nextSibling)1===t.nodeType&&t!==n&&e.push(t);return e},Nn=r.expr.match.needsContext,An=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function dn(t,n,e){return q(n)?r.grep(t,function(i,o){return!!n.call(i,o,i)!==e}):n.nodeType?r.grep(t,function(i){return i===n!==e}):"string"!=typeof n?r.grep(t,function(i){return rt.call(n,i)>-1!==e}):r.filter(n,t,e)}r.filter=function(t,n,e){var i=n[0];return e&&(t=":not("+t+")"),1===n.length&&1===i.nodeType?r.find.matchesSelector(i,t)?[i]:[]:r.find.matches(t,r.grep(n,function(o){return 1===o.nodeType}))},r.fn.extend({find:function(t){var n,e,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(r(t).filter(function(){for(n=0;n<i;n++)if(r.contains(o[n],this))return!0}));for(e=this.pushStack([]),n=0;n<i;n++)r.find(t,o[n],e);return i>1?r.uniqueSort(e):e},filter:function(t){return this.pushStack(dn(this,t||[],!1))},not:function(t){return this.pushStack(dn(this,t||[],!0))},is:function(t){return!!dn(this,"string"==typeof t&&Nn.test(t)?r(t):t||[],!1).length}});var Bn,Jn=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Zn=r.fn.init=function(t,n,e){var i,o;if(!t)return this;if(e=e||Bn,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Jn.exec(t))||!i[1]&&n)return!n||n.jquery?(n||e).find(t):this.constructor(n).find(t);if(i[1]){if(r.merge(this,r.parseHTML(i[1],(n=n instanceof r?n[0]:n)&&n.nodeType?n.ownerDocument||n:j,!0)),An.test(i[1])&&r.isPlainObject(n))for(i in n)q(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}return(o=j.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):q(t)?void 0!==e.ready?e.ready(t):t(r):r.makeArray(t,this)};Zn.prototype=r.fn,Bn=r(j);var te=/^(?:parents|prev(?:Until|All))/,ne={children:!0,contents:!0,next:!0,prev:!0};function jn(t,n){for(;(t=t[n])&&1!==t.nodeType;);return t}r.fn.extend({has:function(t){var n=r(t,this),e=n.length;return this.filter(function(){for(var i=0;i<e;i++)if(r.contains(this,n[i]))return!0})},closest:function(t,n){var e,i=0,o=this.length,a=[],c="string"!=typeof t&&r(t);if(!Nn.test(t))for(;i<o;i++)for(e=this[i];e&&e!==n;e=e.parentNode)if(e.nodeType<11&&(c?c.index(e)>-1:1===e.nodeType&&r.find.matchesSelector(e,t))){a.push(e);break}return this.pushStack(a.length>1?r.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?rt.call(r(t),this[0]):rt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,n){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(t,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),r.each({parent:function(t){var n=t.parentNode;return n&&11!==n.nodeType?n:null},parents:function(t){return Lt(t,"parentNode")},parentsUntil:function(t,n,e){return Lt(t,"parentNode",e)},next:function(t){return jn(t,"nextSibling")},prev:function(t){return jn(t,"previousSibling")},nextAll:function(t){return Lt(t,"nextSibling")},prevAll:function(t){return Lt(t,"previousSibling")},nextUntil:function(t,n,e){return Lt(t,"nextSibling",e)},prevUntil:function(t,n,e){return Lt(t,"previousSibling",e)},siblings:function(t){return pn((t.parentNode||{}).firstChild,t)},children:function(t){return pn(t.firstChild)},contents:function(t){return null!=t.contentDocument&&Tn(t.contentDocument)?t.contentDocument:(Z(t,"template")&&(t=t.content||t),r.merge([],t.childNodes))}},function(t,n){r.fn[t]=function(e,i){var o=r.map(this,n,e);return"Until"!==t.slice(-5)&&(i=e),i&&"string"==typeof i&&(o=r.filter(i,o)),this.length>1&&(ne[t]||r.uniqueSort(o),te.test(t)&&o.reverse()),this.pushStack(o)}});var vt=/[^\x20\t\r\n\f]+/g;function It(t){return t}function Gt(t){throw t}function gn(t,n,e,i){var o;try{t&&q(o=t.promise)?o.call(t).done(n).fail(e):t&&q(o=t.then)?o.call(t,n,e):n.apply(void 0,[t].slice(i))}catch(a){e.apply(void 0,[a])}}r.Callbacks=function(t){t="string"==typeof t?function ee(t){var n={};return r.each(t.match(vt)||[],function(e,i){n[i]=!0}),n}(t):r.extend({},t);var n,e,i,o,a=[],c=[],u=-1,l=function(){for(o=o||t.once,i=n=!0;c.length;u=-1)for(e=c.shift();++u<a.length;)!1===a[u].apply(e[0],e[1])&&t.stopOnFalse&&(u=a.length,e=!1);t.memory||(e=!1),n=!1,o&&(a=e?[]:"")},p={add:function(){return a&&(e&&!n&&(u=a.length-1,c.push(e)),function m(b){r.each(b,function(C,M){q(M)?(!t.unique||!p.has(M))&&a.push(M):M&&M.length&&"string"!==jt(M)&&m(M)})}(arguments),e&&!n&&l()),this},remove:function(){return r.each(arguments,function(m,b){for(var C;(C=r.inArray(b,a,C))>-1;)a.splice(C,1),C<=u&&u--}),this},has:function(m){return m?r.inArray(m,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=c=[],a=e="",this},disabled:function(){return!a},lock:function(){return o=c=[],!e&&!n&&(a=e=""),this},locked:function(){return!!o},fireWith:function(m,b){return o||(b=[m,(b=b||[]).slice?b.slice():b],c.push(b),n||l()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},r.extend({Deferred:function(t){var n=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],e="pending",i={state:function(){return e},always:function(){return o.done(arguments).fail(arguments),this},catch:function(a){return i.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(c){r.each(n,function(u,l){var p=q(a[l[4]])&&a[l[4]];o[l[1]](function(){var m=p&&p.apply(this,arguments);m&&q(m.promise)?m.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[l[0]+"With"](this,p?[m]:arguments)})}),a=null}).promise()},then:function(a,c,u){var l=0;function p(m,b,C,M){return function(){var F=this,K=arguments,$=function(){var ot,Tt;if(!(m<l)){if((ot=C.apply(F,K))===b.promise())throw new TypeError("Thenable self-resolution");q(Tt=ot&&("object"==typeof ot||"function"==typeof ot)&&ot.then)?M?Tt.call(ot,p(l,b,It,M),p(l,b,Gt,M)):(l++,Tt.call(ot,p(l,b,It,M),p(l,b,Gt,M),p(l,b,It,b.notifyWith))):(C!==It&&(F=void 0,K=[ot]),(M||b.resolveWith)(F,K))}},ct=M?$:function(){try{$()}catch(ot){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(ot,ct.error),m+1>=l&&(C!==Gt&&(F=void 0,K=[ot]),b.rejectWith(F,K))}};m?ct():(r.Deferred.getErrorHook?ct.error=r.Deferred.getErrorHook():r.Deferred.getStackHook&&(ct.error=r.Deferred.getStackHook()),A.setTimeout(ct))}}return r.Deferred(function(m){n[0][3].add(p(0,m,q(u)?u:It,m.notifyWith)),n[1][3].add(p(0,m,q(a)?a:It)),n[2][3].add(p(0,m,q(c)?c:Gt))}).promise()},promise:function(a){return null!=a?r.extend(a,i):i}},o={};return r.each(n,function(a,c){var u=c[2],l=c[5];i[c[1]]=u.add,l&&u.add(function(){e=l},n[3-a][2].disable,n[3-a][3].disable,n[0][2].lock,n[0][3].lock),u.add(c[3].fire),o[c[0]]=function(){return o[c[0]+"With"](this===o?void 0:this,arguments),this},o[c[0]+"With"]=u.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var n=arguments.length,e=n,i=Array(e),o=ft.call(arguments),a=r.Deferred(),c=function(u){return function(l){i[u]=this,o[u]=arguments.length>1?ft.call(arguments):l,--n||a.resolveWith(i,o)}};if(n<=1&&(gn(t,a.done(c(e)).resolve,a.reject,!n),"pending"===a.state()||q(o[e]&&o[e].then)))return a.then();for(;e--;)gn(o[e],c(e),a.reject);return a.promise()}});var ie=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(t,n){A.console&&A.console.warn&&t&&ie.test(t.name)&&A.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},r.readyException=function(t){A.setTimeout(function(){throw t})};var hn=r.Deferred();function nn(){j.removeEventListener("DOMContentLoaded",nn),A.removeEventListener("load",nn),r.ready()}r.fn.ready=function(t){return hn.then(t).catch(function(n){r.readyException(n)}),this},r.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--r.readyWait:r.isReady)||(r.isReady=!0,!(!0!==t&&--r.readyWait>0)&&hn.resolveWith(j,[r]))}}),r.ready.then=hn.then,"complete"===j.readyState||"loading"!==j.readyState&&!j.documentElement.doScroll?A.setTimeout(r.ready):(j.addEventListener("DOMContentLoaded",nn),A.addEventListener("load",nn));var Pt=function(t,n,e,i,o,a,c){var u=0,l=t.length,p=null==e;if("object"===jt(e))for(u in o=!0,e)Pt(t,n,u,e[u],!0,a,c);else if(void 0!==i&&(o=!0,q(i)||(c=!0),p&&(c?(n.call(t,i),n=null):(p=n,n=function(m,b,C){return p.call(r(m),C)})),n))for(;u<l;u++)n(t[u],e,c?i:i.call(t[u],u,n(t[u],e)));return o?t:p?n.call(t):l?n(t[0],e):a},re=/^-ms-/,oe=/-([a-z])/g;function ae(t,n){return n.toUpperCase()}function yt(t){return t.replace(re,"ms-").replace(oe,ae)}var Xt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Vt(){this.expando=r.expando+Vt.uid++}Vt.uid=1,Vt.prototype={cache:function(t){var n=t[this.expando];return n||(n={},Xt(t)&&(t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,configurable:!0}))),n},set:function(t,n,e){var i,o=this.cache(t);if("string"==typeof n)o[yt(n)]=e;else for(i in n)o[yt(i)]=n[i];return o},get:function(t,n){return void 0===n?this.cache(t):t[this.expando]&&t[this.expando][yt(n)]},access:function(t,n,e){return void 0===n||n&&"string"==typeof n&&void 0===e?this.get(t,n):(this.set(t,n,e),void 0!==e?e:n)},remove:function(t,n){var e,i=t[this.expando];if(void 0!==i){if(void 0!==n)for((e=(n=Array.isArray(n)?n.map(yt):(n=yt(n))in i?[n]:n.match(vt)||[]).length);e--;)delete i[n[e]];(void 0===n||r.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var n=t[this.expando];return void 0!==n&&!r.isEmptyObject(n)}};var H=new Vt,st=new Vt,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,se=/[A-Z]/g;function Ln(t,n,e){var i;if(void 0===e&&1===t.nodeType)if(i="data-"+n.replace(se,"-$&").toLowerCase(),"string"==typeof(e=t.getAttribute(i))){try{e=function le(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ce.test(t)?JSON.parse(t):t)}(e)}catch(o){}st.set(t,n,e)}else e=void 0;return e}r.extend({hasData:function(t){return st.hasData(t)||H.hasData(t)},data:function(t,n,e){return st.access(t,n,e)},removeData:function(t,n){st.remove(t,n)},_data:function(t,n,e){return H.access(t,n,e)},_removeData:function(t,n){H.remove(t,n)}}),r.fn.extend({data:function(t,n){var e,i,o,a=this[0],c=a&&a.attributes;if(void 0===t){if(this.length&&(o=st.get(a),1===a.nodeType&&!H.get(a,"hasDataAttrs"))){for(e=c.length;e--;)c[e]&&0===(i=c[e].name).indexOf("data-")&&(i=yt(i.slice(5)),Ln(a,i,o[i]));H.set(a,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){st.set(this,t)}):Pt(this,function(u){var l;if(a&&void 0===u)return void 0!==(l=st.get(a,t))||void 0!==(l=Ln(a,t))?l:void 0;this.each(function(){st.set(this,t,u)})},null,n,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){st.remove(this,t)})}}),r.extend({queue:function(t,n,e){var i;if(t)return i=H.get(t,n=(n||"fx")+"queue"),e&&(!i||Array.isArray(e)?i=H.access(t,n,r.makeArray(e)):i.push(e)),i||[]},dequeue:function(t,n){var e=r.queue(t,n=n||"fx"),i=e.length,o=e.shift(),a=r._queueHooks(t,n);"inprogress"===o&&(o=e.shift(),i--),o&&("fx"===n&&e.unshift("inprogress"),delete a.stop,o.call(t,function(){r.dequeue(t,n)},a)),!i&&a&&a.empty.fire()},_queueHooks:function(t,n){var e=n+"queueHooks";return H.get(t,e)||H.access(t,e,{empty:r.Callbacks("once memory").add(function(){H.remove(t,[n+"queue",e])})})}}),r.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?r.queue(this[0],t):void 0===n?this:this.each(function(){var i=r.queue(this,t,n);r._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&r.dequeue(this,t)})},dequeue:function(t){return this.each(function(){r.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){var e,i=1,o=r.Deferred(),a=this,c=this.length,u=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof t&&(n=t,t=void 0),t=t||"fx";c--;)(e=H.get(a[c],t+"queueHooks"))&&e.empty&&(i++,e.empty.add(u));return u(),o.promise(n)}});var In=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ut=new RegExp("^(?:([+-])=|)("+In+")([a-z%]*)$","i"),Mt=["Top","Right","Bottom","Left"],Ht=j.documentElement,P=function(t){return r.contains(t.ownerDocument,t)},X={composed:!0};Ht.getRootNode&&(P=function(t){return r.contains(t.ownerDocument,t)||t.getRootNode(X)===t.ownerDocument});var N=function(t,n){return"none"===(t=n||t).style.display||""===t.style.display&&P(t)&&"none"===r.css(t,"display")};function y(t,n,e,i){var o,a,c=20,u=i?function(){return i.cur()}:function(){return r.css(t,n,"")},l=u(),p=e&&e[3]||(r.cssNumber[n]?"":"px"),m=t.nodeType&&(r.cssNumber[n]||"px"!==p&&+l)&&Ut.exec(r.css(t,n));if(m&&m[3]!==p){for(p=p||m[3],m=+(l/=2)||1;c--;)r.style(t,n,m+p),(1-a)*(1-(a=u()/l||.5))<=0&&(c=0),m/=a;r.style(t,n,(m*=2)+p),e=e||[]}return e&&(m=+m||+l||0,o=e[1]?m+(e[1]+1)*e[2]:+e[2],i&&(i.unit=p,i.start=m,i.end=o)),o}var g={};function T(t){var n,e=t.ownerDocument,i=t.nodeName,o=g[i];return o||(n=e.body.appendChild(e.createElement(i)),o=r.css(n,"display"),n.parentNode.removeChild(n),"none"===o&&(o="block"),g[i]=o,o)}function O(t,n){for(var e,i,o=[],a=0,c=t.length;a<c;a++)(i=t[a]).style&&(e=i.style.display,n?("none"===e&&(o[a]=H.get(i,"display")||null,o[a]||(i.style.display="")),""===i.style.display&&N(i)&&(o[a]=T(i))):"none"!==e&&(o[a]="none",H.set(i,"display",e)));for(a=0;a<c;a++)null!=o[a]&&(t[a].style.display=o[a]);return t}r.fn.extend({show:function(){return O(this,!0)},hide:function(){return O(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){N(this)?r(this).show():r(this).hide()})}});var n,e,D=/^(?:checkbox|radio)$/i,k=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Y=/^$|^module$|\/(?:java|ecma)script/i;n=j.createDocumentFragment().appendChild(j.createElement("div")),(e=j.createElement("input")).setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),n.appendChild(e),R.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",R.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",R.option=!!n.lastChild;var G={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function I(t,n){var e;return e=typeof t.getElementsByTagName<"u"?t.getElementsByTagName(n||"*"):typeof t.querySelectorAll<"u"?t.querySelectorAll(n||"*"):[],void 0===n||n&&Z(t,n)?r.merge([t],e):e}function at(t,n){for(var e=0,i=t.length;e<i;e++)H.set(t[e],"globalEval",!n||H.get(n[e],"globalEval"))}G.tbody=G.tfoot=G.colgroup=G.caption=G.thead,G.th=G.td,R.option||(G.optgroup=G.option=[1,"<select multiple='multiple'>","</select>"]);var Ct=/<|&#?\w+;/;function Cn(t,n,e,i,o){for(var a,c,u,l,p,m,b=n.createDocumentFragment(),C=[],M=0,F=t.length;M<F;M++)if((a=t[M])||0===a)if("object"===jt(a))r.merge(C,a.nodeType?[a]:a);else if(Ct.test(a)){for(c=c||b.appendChild(n.createElement("div")),u=(k.exec(a)||["",""])[1].toLowerCase(),c.innerHTML=(l=G[u]||G._default)[1]+r.htmlPrefilter(a)+l[2],m=l[0];m--;)c=c.lastChild;r.merge(C,c.childNodes),(c=b.firstChild).textContent=""}else C.push(n.createTextNode(a));for(b.textContent="",M=0;a=C[M++];)if(i&&r.inArray(a,i)>-1)o&&o.push(a);else if(p=P(a),c=I(b.appendChild(a),"script"),p&&at(c),e)for(m=0;a=c[m++];)Y.test(a.type||"")&&e.push(a);return b}var en=/^([^.]*)(?:\.(.+)|)/;function Rt(){return!0}function rn(){return!1}function ue(t,n,e,i,o,a){var c,u;if("object"==typeof n){for(u in"string"!=typeof e&&(i=i||e,e=void 0),n)ue(t,u,e,i,n[u],a);return t}if(null==i&&null==o?(o=e,i=e=void 0):null==o&&("string"==typeof e?(o=i,i=void 0):(o=i,i=e,e=void 0)),!1===o)o=rn;else if(!o)return t;return 1===a&&(c=o,o=function(l){return r().off(l),c.apply(this,arguments)},o.guid=c.guid||(c.guid=r.guid++)),t.each(function(){r.event.add(this,n,o,i,e)})}function Rn(t,n,e){e?(H.set(t,n,!1),r.event.add(t,n,{namespace:!1,handler:function(i){var o,a=H.get(this,n);if(1&i.isTrigger&&this[n]){if(a)(r.event.special[n]||{}).delegateType&&i.stopPropagation();else if(a=ft.call(arguments),H.set(this,n,a),this[n](),o=H.get(this,n),H.set(this,n,!1),a!==o)return i.stopImmediatePropagation(),i.preventDefault(),o}else a&&(H.set(this,n,r.event.trigger(a[0],a.slice(1),this)),i.stopPropagation(),i.isImmediatePropagationStopped=Rt)}})):void 0===H.get(t,n)&&r.event.add(t,n,Rt)}r.event={global:{},add:function(t,n,e,i,o){var a,c,u,l,p,m,b,C,M,F,K,$=H.get(t);if(Xt(t))for(e.handler&&(e=(a=e).handler,o=a.selector),o&&r.find.matchesSelector(Ht,o),e.guid||(e.guid=r.guid++),(l=$.events)||(l=$.events=Object.create(null)),(c=$.handle)||(c=$.handle=function(ct){return typeof r<"u"&&r.event.triggered!==ct.type?r.event.dispatch.apply(t,arguments):void 0}),p=(n=(n||"").match(vt)||[""]).length;p--;)M=K=(u=en.exec(n[p])||[])[1],F=(u[2]||"").split(".").sort(),M&&(b=r.event.special[M]||{},b=r.event.special[M=(o?b.delegateType:b.bindType)||M]||{},m=r.extend({type:M,origType:K,data:i,handler:e,guid:e.guid,selector:o,needsContext:o&&r.expr.match.needsContext.test(o),namespace:F.join(".")},a),(C=l[M])||((C=l[M]=[]).delegateCount=0,(!b.setup||!1===b.setup.call(t,i,F,c))&&t.addEventListener&&t.addEventListener(M,c)),b.add&&(b.add.call(t,m),m.handler.guid||(m.handler.guid=e.guid)),o?C.splice(C.delegateCount++,0,m):C.push(m),r.event.global[M]=!0)},remove:function(t,n,e,i,o){var a,c,u,l,p,m,b,C,M,F,K,$=H.hasData(t)&&H.get(t);if($&&(l=$.events)){for(p=(n=(n||"").match(vt)||[""]).length;p--;)if(M=K=(u=en.exec(n[p])||[])[1],F=(u[2]||"").split(".").sort(),M){for(b=r.event.special[M]||{},C=l[M=(i?b.delegateType:b.bindType)||M]||[],u=u[2]&&new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=a=C.length;a--;)m=C[a],(o||K===m.origType)&&(!e||e.guid===m.guid)&&(!u||u.test(m.namespace))&&(!i||i===m.selector||"**"===i&&m.selector)&&(C.splice(a,1),m.selector&&C.delegateCount--,b.remove&&b.remove.call(t,m));c&&!C.length&&((!b.teardown||!1===b.teardown.call(t,F,$.handle))&&r.removeEvent(t,M,$.handle),delete l[M])}else for(M in l)r.event.remove(t,M+n[p],e,i,!0);r.isEmptyObject(l)&&H.remove(t,"handle events")}},dispatch:function(t){var n,e,i,o,a,c,u=new Array(arguments.length),l=r.event.fix(t),p=(H.get(this,"events")||Object.create(null))[l.type]||[],m=r.event.special[l.type]||{};for(u[0]=l,n=1;n<arguments.length;n++)u[n]=arguments[n];if(l.delegateTarget=this,!m.preDispatch||!1!==m.preDispatch.call(this,l)){for(c=r.event.handlers.call(this,l,p),n=0;(o=c[n++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,e=0;(a=o.handlers[e++])&&!l.isImmediatePropagationStopped();)(!l.rnamespace||!1===a.namespace||l.rnamespace.test(a.namespace))&&(l.handleObj=a,l.data=a.data,void 0!==(i=((r.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return m.postDispatch&&m.postDispatch.call(this,l),l.result}},handlers:function(t,n){var e,i,o,a,c,u=[],l=n.delegateCount,p=t.target;if(l&&p.nodeType&&!("click"===t.type&&t.button>=1))for(;p!==this;p=p.parentNode||this)if(1===p.nodeType&&("click"!==t.type||!0!==p.disabled)){for(a=[],c={},e=0;e<l;e++)void 0===c[o=(i=n[e]).selector+" "]&&(c[o]=i.needsContext?r(o,this).index(p)>-1:r.find(o,this,null,[p]).length),c[o]&&a.push(i);a.length&&u.push({elem:p,handlers:a})}return p=this,l<n.length&&u.push({elem:p,handlers:n.slice(l)}),u},addProp:function(t,n){Object.defineProperty(r.Event.prototype,t,{enumerable:!0,configurable:!0,get:q(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[r.expando]?t:new r.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var n=this||t;return D.test(n.type)&&n.click&&Z(n,"input")&&Rn(n,"click",!0),!1},trigger:function(t){var n=this||t;return D.test(n.type)&&n.click&&Z(n,"input")&&Rn(n,"click"),!0},_default:function(t){var n=t.target;return D.test(n.type)&&n.click&&Z(n,"input")&&H.get(n,"click")||Z(n,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},r.removeEvent=function(t,n,e){t.removeEventListener&&t.removeEventListener(n,e)},r.Event=function(t,n){if(!(this instanceof r.Event))return new r.Event(t,n);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Rt:rn,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,n&&r.extend(this,n),this.timeStamp=t&&t.timeStamp||Date.now(),this[r.expando]=!0},r.Event.prototype={constructor:r.Event,isDefaultPrevented:rn,isPropagationStopped:rn,isImmediatePropagationStopped:rn,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Rt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Rt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Rt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},r.event.addProp),r.each({focus:"focusin",blur:"focusout"},function(t,n){function e(i){if(j.documentMode){var o=H.get(this,"handle"),a=r.event.fix(i);a.type="focusin"===i.type?"focus":"blur",a.isSimulated=!0,o(i),a.target===a.currentTarget&&o(a)}else r.event.simulate(n,i.target,r.event.fix(i))}r.event.special[t]={setup:function(){var i;if(Rn(this,t,!0),!j.documentMode)return!1;(i=H.get(this,n))||this.addEventListener(n,e),H.set(this,n,(i||0)+1)},trigger:function(){return Rn(this,t),!0},teardown:function(){var i;if(!j.documentMode)return!1;(i=H.get(this,n)-1)?H.set(this,n,i):(this.removeEventListener(n,e),H.remove(this,n))},_default:function(i){return H.get(i.target,t)},delegateType:n},r.event.special[n]={setup:function(){var i=this.ownerDocument||this.document||this,o=j.documentMode?this:i,a=H.get(o,n);a||(j.documentMode?this.addEventListener(n,e):i.addEventListener(t,e,!0)),H.set(o,n,(a||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=j.documentMode?this:i,a=H.get(o,n)-1;a?H.set(o,n,a):(j.documentMode?this.removeEventListener(n,e):i.removeEventListener(t,e,!0),H.remove(o,n))}}}),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){r.event.special[t]={delegateType:n,bindType:n,handle:function(e){var i,a=e.relatedTarget,c=e.handleObj;return(!a||a!==this&&!r.contains(this,a))&&(e.type=c.origType,i=c.handler.apply(this,arguments),e.type=n),i}}}),r.fn.extend({on:function(t,n,e,i){return ue(this,t,n,e,i)},one:function(t,n,e,i){return ue(this,t,n,e,i,1)},off:function(t,n,e){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,r(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,n,t[o]);return this}return(!1===n||"function"==typeof n)&&(e=n,n=void 0),!1===e&&(e=rn),this.each(function(){r.event.remove(this,t,e,n)})}});var ei=/<script|<style|<link/i,ii=/checked\s*(?:[^=]|=\s*.checked.)/i,ri=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ee(t,n){return Z(t,"table")&&Z(11!==n.nodeType?n:n.firstChild,"tr")&&r(t).children("tbody")[0]||t}function oi(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function ai(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function He(t,n){var e,i,o,c,u,l;if(1===n.nodeType){if(H.hasData(t)&&(l=H.get(t).events))for(o in H.remove(n,"handle events"),l)for(e=0,i=l[o].length;e<i;e++)r.event.add(n,o,l[o][e]);st.hasData(t)&&(c=st.access(t),u=r.extend({},c),st.set(n,u))}}function ci(t,n){var e=n.nodeName.toLowerCase();"input"===e&&D.test(t.type)?n.checked=t.checked:("input"===e||"textarea"===e)&&(n.defaultValue=t.defaultValue)}function on(t,n,e,i){n=qt(n);var o,a,c,u,l,p,m=0,b=t.length,C=b-1,M=n[0],F=q(M);if(F||b>1&&"string"==typeof M&&!R.checkClone&&ii.test(M))return t.each(function(K){var $=t.eq(K);F&&(n[0]=M.call(this,K,$.html())),on($,n,e,i)});if(b&&(a=(o=Cn(n,t[0].ownerDocument,!1,t,i)).firstChild,1===o.childNodes.length&&(o=a),a||i)){for(u=(c=r.map(I(o,"script"),oi)).length;m<b;m++)l=o,m!==C&&(l=r.clone(l,!0,!0),u&&r.merge(c,I(l,"script"))),e.call(t[m],l,m);if(u)for(p=c[c.length-1].ownerDocument,r.map(c,ai),m=0;m<u;m++)Y.test((l=c[m]).type||"")&&!H.access(l,"globalEval")&&r.contains(p,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?r._evalUrl&&!l.noModule&&r._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},p):En(l.textContent.replace(ri,""),l,p))}return t}function De(t,n,e){for(var i,o=n?r.filter(n,t):t,a=0;null!=(i=o[a]);a++)!e&&1===i.nodeType&&r.cleanData(I(i)),i.parentNode&&(e&&P(i)&&at(I(i,"script")),i.parentNode.removeChild(i));return t}r.extend({htmlPrefilter:function(t){return t},clone:function(t,n,e){var i,o,a,c,u=t.cloneNode(!0),l=P(t);if(!(R.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||r.isXMLDoc(t)))for(c=I(u),i=0,o=(a=I(t)).length;i<o;i++)ci(a[i],c[i]);if(n)if(e)for(a=a||I(t),c=c||I(u),i=0,o=a.length;i<o;i++)He(a[i],c[i]);else He(t,u);return(c=I(u,"script")).length>0&&at(c,!l&&I(t,"script")),u},cleanData:function(t){for(var n,e,i,o=r.event.special,a=0;void 0!==(e=t[a]);a++)if(Xt(e)){if(n=e[H.expando]){if(n.events)for(i in n.events)o[i]?r.event.remove(e,i):r.removeEvent(e,i,n.handle);e[H.expando]=void 0}e[st.expando]&&(e[st.expando]=void 0)}}}),r.fn.extend({detach:function(t){return De(this,t,!0)},remove:function(t){return De(this,t)},text:function(t){return Pt(this,function(n){return void 0===n?r.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=n)})},null,t,arguments.length)},append:function(){return on(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ee(this,t).appendChild(t)})},prepend:function(){return on(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var n=Ee(this,t);n.insertBefore(t,n.firstChild)}})},before:function(){return on(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return on(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,n=0;null!=(t=this[n]);n++)1===t.nodeType&&(r.cleanData(I(t,!1)),t.textContent="");return this},clone:function(t,n){return t=null!=t&&t,n=null==n?t:n,this.map(function(){return r.clone(this,t,n)})},html:function(t){return Pt(this,function(n){var e=this[0]||{},i=0,o=this.length;if(void 0===n&&1===e.nodeType)return e.innerHTML;if("string"==typeof n&&!ei.test(n)&&!G[(k.exec(n)||["",""])[1].toLowerCase()]){n=r.htmlPrefilter(n);try{for(;i<o;i++)1===(e=this[i]||{}).nodeType&&(r.cleanData(I(e,!1)),e.innerHTML=n);e=0}catch(a){}}e&&this.empty().append(n)},null,t,arguments.length)},replaceWith:function(){var t=[];return on(this,arguments,function(n){var e=this.parentNode;r.inArray(this,t)<0&&(r.cleanData(I(this)),e&&e.replaceChild(n,this))},t)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){r.fn[t]=function(e){for(var i,o=[],a=r(e),c=a.length-1,u=0;u<=c;u++)i=u===c?this:this.clone(!0),r(a[u])[n](i),Zt.apply(o,i.get());return this.pushStack(o)}});var fe=new RegExp("^("+In+")(?!px)[a-z%]+$","i"),pe=/^--/,Fn=function(t){var n=t.ownerDocument.defaultView;return(!n||!n.opener)&&(n=A),n.getComputedStyle(t)},Ne=function(t,n,e){var i,o,a={};for(o in n)a[o]=t.style[o],t.style[o]=n[o];for(o in i=e.call(t),n)t.style[o]=a[o];return i},si=new RegExp(Mt.join("|"),"i");function vn(t,n,e){var i,o,a,c,u=pe.test(n),l=t.style;return(e=e||Fn(t))&&(c=e.getPropertyValue(n)||e[n],u&&c&&(c=c.replace($t,"$1")||void 0),""===c&&!P(t)&&(c=r.style(t,n)),!R.pixelBoxStyles()&&fe.test(c)&&si.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=c,c=e.width,l.width=i,l.minWidth=o,l.maxWidth=a)),void 0!==c?c+"":c}function Ae(t,n){return{get:function(){if(!t())return(this.get=n).apply(this,arguments);delete this.get}}}!function(){function t(){if(p){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",p.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ht.appendChild(l).appendChild(p);var m=A.getComputedStyle(p);e="1%"!==m.top,u=12===n(m.marginLeft),p.style.right="60%",a=36===n(m.right),i=36===n(m.width),p.style.position="absolute",o=12===n(p.offsetWidth/3),Ht.removeChild(l),p=null}}function n(m){return Math.round(parseFloat(m))}var e,i,o,a,c,u,l=j.createElement("div"),p=j.createElement("div");p.style&&(p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",R.clearCloneStyle="content-box"===p.style.backgroundClip,r.extend(R,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),e},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var m,b,C,M;return null==c&&(m=j.createElement("table"),b=j.createElement("tr"),C=j.createElement("div"),m.style.cssText="position:absolute;left:-11111px;border-collapse:separate",b.style.cssText="box-sizing:content-box;border:1px solid",b.style.height="1px",C.style.height="9px",C.style.display="block",Ht.appendChild(m).appendChild(b).appendChild(C),M=A.getComputedStyle(b),c=parseInt(M.height,10)+parseInt(M.borderTopWidth,10)+parseInt(M.borderBottomWidth,10)===b.offsetHeight,Ht.removeChild(m)),c}}))}();var Be=["Webkit","Moz","ms"],je=j.createElement("div").style,Le={};function de(t){return r.cssProps[t]||Le[t]||(t in je?t:Le[t]=function li(t){for(var n=t[0].toUpperCase()+t.slice(1),e=Be.length;e--;)if((t=Be[e]+n)in je)return t}(t)||t)}var ui=/^(none|table(?!-c[ea]).+)/,fi={position:"absolute",visibility:"hidden",display:"block"},Ie={letterSpacing:"0",fontWeight:"400"};function Re(t,n,e){var i=Ut.exec(n);return i?Math.max(0,i[2]-(e||0))+(i[3]||"px"):n}function ge(t,n,e,i,o,a){var c="width"===n?1:0,u=0,l=0,p=0;if(e===(i?"border":"content"))return 0;for(;c<4;c+=2)"margin"===e&&(p+=r.css(t,e+Mt[c],!0,o)),i?("content"===e&&(l-=r.css(t,"padding"+Mt[c],!0,o)),"margin"!==e&&(l-=r.css(t,"border"+Mt[c]+"Width",!0,o))):(l+=r.css(t,"padding"+Mt[c],!0,o),"padding"!==e?l+=r.css(t,"border"+Mt[c]+"Width",!0,o):u+=r.css(t,"border"+Mt[c]+"Width",!0,o));return!i&&a>=0&&(l+=Math.max(0,Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-a-l-u-.5))||0),l+p}function Fe(t,n,e){var i=Fn(t),a=(!R.boxSizingReliable()||e)&&"border-box"===r.css(t,"boxSizing",!1,i),c=a,u=vn(t,n,i),l="offset"+n[0].toUpperCase()+n.slice(1);if(fe.test(u)){if(!e)return u;u="auto"}return(!R.boxSizingReliable()&&a||!R.reliableTrDimensions()&&Z(t,"tr")||"auto"===u||!parseFloat(u)&&"inline"===r.css(t,"display",!1,i))&&t.getClientRects().length&&(a="border-box"===r.css(t,"boxSizing",!1,i),(c=l in t)&&(u=t[l])),(u=parseFloat(u)||0)+ge(t,n,e||(a?"border":"content"),c,i,u)+"px"}function gt(t,n,e,i,o){return new gt.prototype.init(t,n,e,i,o)}r.extend({cssHooks:{opacity:{get:function(t,n){if(n){var e=vn(t,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,n,e,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,c,u=yt(n),l=pe.test(n),p=t.style;if(l||(n=de(u)),c=r.cssHooks[n]||r.cssHooks[u],void 0===e)return c&&"get"in c&&void 0!==(o=c.get(t,!1,i))?o:p[n];if("string"==(a=typeof e)&&(o=Ut.exec(e))&&o[1]&&(e=y(t,n,o),a="number"),null==e||e!=e)return;"number"===a&&!l&&(e+=o&&o[3]||(r.cssNumber[u]?"":"px")),!R.clearCloneStyle&&""===e&&0===n.indexOf("background")&&(p[n]="inherit"),(!c||!("set"in c)||void 0!==(e=c.set(t,e,i)))&&(l?p.setProperty(n,e):p[n]=e)}},css:function(t,n,e,i){var o,a,c,u=yt(n);return pe.test(n)||(n=de(u)),(c=r.cssHooks[n]||r.cssHooks[u])&&"get"in c&&(o=c.get(t,!0,e)),void 0===o&&(o=vn(t,n,i)),"normal"===o&&n in Ie&&(o=Ie[n]),""===e||e?(a=parseFloat(o),!0===e||isFinite(a)?a||0:o):o}}),r.each(["height","width"],function(t,n){r.cssHooks[n]={get:function(e,i,o){if(i)return!ui.test(r.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Fe(e,n,o):Ne(e,fi,function(){return Fe(e,n,o)})},set:function(e,i,o){var a,c=Fn(e),u=!R.scrollboxSize()&&"absolute"===c.position,p=(u||o)&&"border-box"===r.css(e,"boxSizing",!1,c),m=o?ge(e,n,o,p,c):0;return p&&u&&(m-=Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(c[n])-ge(e,n,"border",!1,c)-.5)),m&&(a=Ut.exec(i))&&"px"!==(a[3]||"px")&&(e.style[n]=i,i=r.css(e,n)),Re(0,i,m)}}}),r.cssHooks.marginLeft=Ae(R.reliableMarginLeft,function(t,n){if(n)return(parseFloat(vn(t,"marginLeft"))||t.getBoundingClientRect().left-Ne(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(t,n){r.cssHooks[t+n]={expand:function(e){for(var i=0,o={},a="string"==typeof e?e.split(" "):[e];i<4;i++)o[t+Mt[i]+n]=a[i]||a[i-2]||a[0];return o}},"margin"!==t&&(r.cssHooks[t+n].set=Re)}),r.fn.extend({css:function(t,n){return Pt(this,function(e,i,o){var a,c,u={},l=0;if(Array.isArray(i)){for(a=Fn(e),c=i.length;l<c;l++)u[i[l]]=r.css(e,i[l],!1,a);return u}return void 0!==o?r.style(e,i,o):r.css(e,i)},t,n,arguments.length>1)}}),r.Tween=gt,gt.prototype={constructor:gt,init:function(t,n,e,i,o,a){this.elem=t,this.prop=e,this.easing=o||r.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=i,this.unit=a||(r.cssNumber[e]?"":"px")},cur:function(){var t=gt.propHooks[this.prop];return t&&t.get?t.get(this):gt.propHooks._default.get(this)},run:function(t){var n,e=gt.propHooks[this.prop];return this.pos=n=this.options.duration?r.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):gt.propHooks._default.set(this),this}},gt.prototype.init.prototype=gt.prototype,gt.propHooks={_default:{get:function(t){var n;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(n=r.css(t.elem,t.prop,""))&&"auto"!==n?n:0},set:function(t){r.fx.step[t.prop]?r.fx.step[t.prop](t):1!==t.elem.nodeType||!r.cssHooks[t.prop]&&null==t.elem.style[de(t.prop)]?t.elem[t.prop]=t.now:r.style(t.elem,t.prop,t.now+t.unit)}}},gt.propHooks.scrollTop=gt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},r.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},r.fx=gt.prototype.init,r.fx.step={};var an,zn,pi=/^(?:toggle|show|hide)$/,di=/queueHooks$/;function he(){zn&&(!1===j.hidden&&A.requestAnimationFrame?A.requestAnimationFrame(he):A.setTimeout(he,r.fx.interval),r.fx.tick())}function ze(){return A.setTimeout(function(){an=void 0}),an=Date.now()}function Wn(t,n){var e,i=0,o={height:t};for(n=n?1:0;i<4;i+=2-n)o["margin"+(e=Mt[i])]=o["padding"+e]=t;return n&&(o.opacity=o.width=t),o}function We(t,n,e){for(var i,o=(Ot.tweeners[n]||[]).concat(Ot.tweeners["*"]),a=0,c=o.length;a<c;a++)if(i=o[a].call(e,n,t))return i}function Ot(t,n,e){var i,o,a=0,c=Ot.prefilters.length,u=r.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var b=an||ze(),C=Math.max(0,p.startTime+p.duration-b),F=1-(C/p.duration||0),K=0,$=p.tweens.length;K<$;K++)p.tweens[K].run(F);return u.notifyWith(t,[p,F,C]),F<1&&$?C:($||u.notifyWith(t,[p,1,0]),u.resolveWith(t,[p]),!1)},p=u.promise({elem:t,props:r.extend({},n),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},e),originalProperties:n,originalOptions:e,startTime:an||ze(),duration:e.duration,tweens:[],createTween:function(b,C){var M=r.Tween(t,p.opts,b,C,p.opts.specialEasing[b]||p.opts.easing);return p.tweens.push(M),M},stop:function(b){var C=0,M=b?p.tweens.length:0;if(o)return this;for(o=!0;C<M;C++)p.tweens[C].run(1);return b?(u.notifyWith(t,[p,1,0]),u.resolveWith(t,[p,b])):u.rejectWith(t,[p,b]),this}}),m=p.props;for(function hi(t,n){var e,i,o,a,c;for(e in t)if(o=n[i=yt(e)],a=t[e],Array.isArray(a)&&(o=a[1],a=t[e]=a[0]),e!==i&&(t[i]=a,delete t[e]),(c=r.cssHooks[i])&&"expand"in c)for(e in a=c.expand(a),delete t[i],a)e in t||(t[e]=a[e],n[e]=o);else n[i]=o}(m,p.opts.specialEasing);a<c;a++)if(i=Ot.prefilters[a].call(p,t,m,p.opts))return q(i.stop)&&(r._queueHooks(p.elem,p.opts.queue).stop=i.stop.bind(i)),i;return r.map(m,We,p),q(p.opts.start)&&p.opts.start.call(t,p),p.progress(p.opts.progress).done(p.opts.done,p.opts.complete).fail(p.opts.fail).always(p.opts.always),r.fx.timer(r.extend(l,{elem:t,anim:p,queue:p.opts.queue})),p}r.Animation=r.extend(Ot,{tweeners:{"*":[function(t,n){var e=this.createTween(t,n);return y(e.elem,t,Ut.exec(n),e),e}]},tweener:function(t,n){q(t)?(n=t,t=["*"]):t=t.match(vt);for(var e,i=0,o=t.length;i<o;i++)(Ot.tweeners[e=t[i]]=Ot.tweeners[e]||[]).unshift(n)},prefilters:[function gi(t,n,e){var i,o,a,c,u,l,p,m,b="width"in n||"height"in n,C=this,M={},F=t.style,K=t.nodeType&&N(t),$=H.get(t,"fxshow");for(i in e.queue||(null==(c=r._queueHooks(t,"fx")).unqueued&&(c.unqueued=0,u=c.empty.fire,c.empty.fire=function(){c.unqueued||u()}),c.unqueued++,C.always(function(){C.always(function(){c.unqueued--,r.queue(t,"fx").length||c.empty.fire()})})),n)if(pi.test(o=n[i])){if(delete n[i],a=a||"toggle"===o,o===(K?"hide":"show")){if("show"!==o||!$||void 0===$[i])continue;K=!0}M[i]=$&&$[i]||r.style(t,i)}if((l=!r.isEmptyObject(n))||!r.isEmptyObject(M))for(i in b&&1===t.nodeType&&(e.overflow=[F.overflow,F.overflowX,F.overflowY],null==(p=$&&$.display)&&(p=H.get(t,"display")),"none"===(m=r.css(t,"display"))&&(p?m=p:(O([t],!0),p=t.style.display||p,m=r.css(t,"display"),O([t]))),("inline"===m||"inline-block"===m&&null!=p)&&"none"===r.css(t,"float")&&(l||(C.done(function(){F.display=p}),null==p&&(p="none"===(m=F.display)?"":m)),F.display="inline-block")),e.overflow&&(F.overflow="hidden",C.always(function(){F.overflow=e.overflow[0],F.overflowX=e.overflow[1],F.overflowY=e.overflow[2]})),l=!1,M)l||($?"hidden"in $&&(K=$.hidden):$=H.access(t,"fxshow",{display:p}),a&&($.hidden=!K),K&&O([t],!0),C.done(function(){for(i in K||O([t]),H.remove(t,"fxshow"),M)r.style(t,i,M[i])})),l=We(K?$[i]:0,i,C),i in $||($[i]=l.start,K&&(l.end=l.start,l.start=0))}],prefilter:function(t,n){n?Ot.prefilters.unshift(t):Ot.prefilters.push(t)}}),r.speed=function(t,n,e){var i=t&&"object"==typeof t?r.extend({},t):{complete:e||!e&&n||q(t)&&t,duration:t,easing:e&&n||n&&!q(n)&&n};return r.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration=i.duration in r.fx.speeds?r.fx.speeds[i.duration]:r.fx.speeds._default),(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){q(i.old)&&i.old.call(this),i.queue&&r.dequeue(this,i.queue)},i},r.fn.extend({fadeTo:function(t,n,e,i){return this.filter(N).css("opacity",0).show().end().animate({opacity:n},t,e,i)},animate:function(t,n,e,i){var o=r.isEmptyObject(t),a=r.speed(n,e,i),c=function(){var u=Ot(this,r.extend({},t),a);(o||H.get(this,"finish"))&&u.stop(!0)};return c.finish=c,o||!1===a.queue?this.each(c):this.queue(a.queue,c)},stop:function(t,n,e){var i=function(o){var a=o.stop;delete o.stop,a(e)};return"string"!=typeof t&&(e=n,n=t,t=void 0),n&&this.queue(t||"fx",[]),this.each(function(){var o=!0,a=null!=t&&t+"queueHooks",c=r.timers,u=H.get(this);if(a)u[a]&&u[a].stop&&i(u[a]);else for(a in u)u[a]&&u[a].stop&&di.test(a)&&i(u[a]);for(a=c.length;a--;)c[a].elem===this&&(null==t||c[a].queue===t)&&(c[a].anim.stop(e),o=!1,c.splice(a,1));(o||!e)&&r.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var n,e=H.get(this),i=e[t+"queue"],o=e[t+"queueHooks"],a=r.timers,c=i?i.length:0;for(e.finish=!0,r.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),n=a.length;n--;)a[n].elem===this&&a[n].queue===t&&(a[n].anim.stop(!0),a.splice(n,1));for(n=0;n<c;n++)i[n]&&i[n].finish&&i[n].finish.call(this);delete e.finish})}}),r.each(["toggle","show","hide"],function(t,n){var e=r.fn[n];r.fn[n]=function(i,o,a){return null==i||"boolean"==typeof i?e.apply(this,arguments):this.animate(Wn(n,!0),i,o,a)}}),r.each({slideDown:Wn("show"),slideUp:Wn("hide"),slideToggle:Wn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){r.fn[t]=function(e,i,o){return this.animate(n,e,i,o)}}),r.timers=[],r.fx.tick=function(){var t,n=0,e=r.timers;for(an=Date.now();n<e.length;n++)!(t=e[n])()&&e[n]===t&&e.splice(n--,1);e.length||r.fx.stop(),an=void 0},r.fx.timer=function(t){r.timers.push(t),r.fx.start()},r.fx.interval=13,r.fx.start=function(){zn||(zn=!0,he())},r.fx.stop=function(){zn=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(t,n){return t=r.fx&&r.fx.speeds[t]||t,this.queue(n=n||"fx",function(e,i){var o=A.setTimeout(e,t);i.stop=function(){A.clearTimeout(o)}})},function(){var t=j.createElement("input"),e=j.createElement("select").appendChild(j.createElement("option"));t.type="checkbox",R.checkOn=""!==t.value,R.optSelected=e.selected,(t=j.createElement("input")).value="t",t.type="radio",R.radioValue="t"===t.value}();var qe,yn=r.expr.attrHandle;r.fn.extend({attr:function(t,n){return Pt(this,r.attr,t,n,arguments.length>1)},removeAttr:function(t){return this.each(function(){r.removeAttr(this,t)})}}),r.extend({attr:function(t,n,e){var i,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return typeof t.getAttribute>"u"?r.prop(t,n,e):((1!==a||!r.isXMLDoc(t))&&(o=r.attrHooks[n.toLowerCase()]||(r.expr.match.bool.test(n)?qe:void 0)),void 0!==e?null===e?void r.removeAttr(t,n):o&&"set"in o&&void 0!==(i=o.set(t,e,n))?i:(t.setAttribute(n,e+""),e):o&&"get"in o&&null!==(i=o.get(t,n))?i:null==(i=r.find.attr(t,n))?void 0:i)},attrHooks:{type:{set:function(t,n){if(!R.radioValue&&"radio"===n&&Z(t,"input")){var e=t.value;return t.setAttribute("type",n),e&&(t.value=e),n}}}},removeAttr:function(t,n){var e,i=0,o=n&&n.match(vt);if(o&&1===t.nodeType)for(;e=o[i++];)t.removeAttribute(e)}}),qe={set:function(t,n,e){return!1===n?r.removeAttr(t,e):t.setAttribute(e,e),e}},r.each(r.expr.match.bool.source.match(/\w+/g),function(t,n){var e=yn[n]||r.find.attr;yn[n]=function(i,o,a){var c,u,l=o.toLowerCase();return a||(u=yn[l],yn[l]=c,c=null!=e(i,o,a)?l:null,yn[l]=u),c}});var Ci=/^(?:input|select|textarea|button)$/i,vi=/^(?:a|area)$/i;function Qt(t){return(t.match(vt)||[]).join(" ")}function Yt(t){return t.getAttribute&&t.getAttribute("class")||""}function Ce(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(vt)||[]}r.fn.extend({prop:function(t,n){return Pt(this,r.prop,t,n,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[r.propFix[t]||t]})}}),r.extend({prop:function(t,n,e){var i,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return(1!==a||!r.isXMLDoc(t))&&(o=r.propHooks[n=r.propFix[n]||n]),void 0!==e?o&&"set"in o&&void 0!==(i=o.set(t,e,n))?i:t[n]=e:o&&"get"in o&&null!==(i=o.get(t,n))?i:t[n]},propHooks:{tabIndex:{get:function(t){var n=r.find.attr(t,"tabindex");return n?parseInt(n,10):Ci.test(t.nodeName)||vi.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),R.optSelected||(r.propHooks.selected={get:function(t){return null},set:function(t){}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this}),r.fn.extend({addClass:function(t){var n,e,i,o,a,c;return q(t)?this.each(function(u){r(this).addClass(t.call(this,u,Yt(this)))}):(n=Ce(t)).length?this.each(function(){if(i=Yt(this),e=1===this.nodeType&&" "+Qt(i)+" "){for(a=0;a<n.length;a++)e.indexOf(" "+(o=n[a])+" ")<0&&(e+=o+" ");c=Qt(e),i!==c&&this.setAttribute("class",c)}}):this},removeClass:function(t){var n,e,i,o,a,c;return q(t)?this.each(function(u){r(this).removeClass(t.call(this,u,Yt(this)))}):arguments.length?(n=Ce(t)).length?this.each(function(){if(i=Yt(this),e=1===this.nodeType&&" "+Qt(i)+" "){for(a=0;a<n.length;a++)for(o=n[a];e.indexOf(" "+o+" ")>-1;)e=e.replace(" "+o+" "," ");c=Qt(e),i!==c&&this.setAttribute("class",c)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,i,o,a,c=typeof t,u="string"===c||Array.isArray(t);return q(t)?this.each(function(l){r(this).toggleClass(t.call(this,l,Yt(this),n),n)}):"boolean"==typeof n&&u?n?this.addClass(t):this.removeClass(t):(e=Ce(t),this.each(function(){if(u)for(a=r(this),o=0;o<e.length;o++)a.hasClass(i=e[o])?a.removeClass(i):a.addClass(i);else(void 0===t||"boolean"===c)&&((i=Yt(this))&&H.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":H.get(this,"__className__")||""))}))},hasClass:function(t){var n,e,i=0;for(n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&(" "+Qt(Yt(e))+" ").indexOf(n)>-1)return!0;return!1}});var yi=/\r/g;r.fn.extend({val:function(t){var n,e,i,o=this[0];return arguments.length?(i=q(t),this.each(function(a){var c;1===this.nodeType&&(null==(c=i?t.call(this,a,r(this).val()):t)?c="":"number"==typeof c?c+="":Array.isArray(c)&&(c=r.map(c,function(u){return null==u?"":u+""})),(!(n=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()])||!("set"in n)||void 0===n.set(this,c,"value"))&&(this.value=c))})):o?(n=r.valHooks[o.type]||r.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(o,"value"))?e:"string"==typeof(e=o.value)?e.replace(yi,""):null==e?"":e:void 0}}),r.extend({valHooks:{option:{get:function(t){var n=r.find.attr(t,"value");return null!=n?n:Qt(r.text(t))}},select:{get:function(t){var n,e,i,o=t.options,a=t.selectedIndex,c="select-one"===t.type,u=c?null:[],l=c?a+1:o.length;for(i=a<0?l:c?a:0;i<l;i++)if(((e=o[i]).selected||i===a)&&!e.disabled&&(!e.parentNode.disabled||!Z(e.parentNode,"optgroup"))){if(n=r(e).val(),c)return n;u.push(n)}return u},set:function(t,n){for(var e,i,o=t.options,a=r.makeArray(n),c=o.length;c--;)((i=o[c]).selected=r.inArray(r.valHooks.option.get(i),a)>-1)&&(e=!0);return e||(t.selectedIndex=-1),a}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(t,n){if(Array.isArray(n))return t.checked=r.inArray(r(t).val(),n)>-1}},R.checkOn||(r.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var mn=A.location,$e={guid:Date.now()},ve=/\?/;r.parseXML=function(t){var n,e;if(!t||"string"!=typeof t)return null;try{n=(new A.DOMParser).parseFromString(t,"text/xml")}catch(i){}return e=n&&n.getElementsByTagName("parsererror")[0],(!n||e)&&r.error("Invalid XML: "+(e?r.map(e.childNodes,function(i){return i.textContent}).join("\n"):t)),n};var Ge=/^(?:focusinfocus|focusoutblur)$/,Xe=function(t){t.stopPropagation()};r.extend(r.event,{trigger:function(t,n,e,i){var o,a,c,u,l,p,m,b,C=[e||j],M=At.call(t,"type")?t.type:t,F=At.call(t,"namespace")?t.namespace.split("."):[];if(a=b=c=e=e||j,3!==e.nodeType&&8!==e.nodeType&&!Ge.test(M+r.event.triggered)&&(M.indexOf(".")>-1&&(F=M.split("."),M=F.shift(),F.sort()),l=M.indexOf(":")<0&&"on"+M,(t=t[r.expando]?t:new r.Event(M,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=F.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),n=null==n?[t]:r.makeArray(n,[t]),m=r.event.special[M]||{},i||!m.trigger||!1!==m.trigger.apply(e,n))){if(!i&&!m.noBubble&&!Bt(e)){for(Ge.test((u=m.delegateType||M)+M)||(a=a.parentNode);a;a=a.parentNode)C.push(a),c=a;c===(e.ownerDocument||j)&&C.push(c.defaultView||c.parentWindow||A)}for(o=0;(a=C[o++])&&!t.isPropagationStopped();)b=a,t.type=o>1?u:m.bindType||M,(p=(H.get(a,"events")||Object.create(null))[t.type]&&H.get(a,"handle"))&&p.apply(a,n),(p=l&&a[l])&&p.apply&&Xt(a)&&(t.result=p.apply(a,n),!1===t.result&&t.preventDefault());return t.type=M,!i&&!t.isDefaultPrevented()&&(!m._default||!1===m._default.apply(C.pop(),n))&&Xt(e)&&l&&q(e[M])&&!Bt(e)&&((c=e[l])&&(e[l]=null),r.event.triggered=M,t.isPropagationStopped()&&b.addEventListener(M,Xe),e[M](),t.isPropagationStopped()&&b.removeEventListener(M,Xe),r.event.triggered=void 0,c&&(e[l]=c)),t.result}},simulate:function(t,n,e){var i=r.extend(new r.Event,e,{type:t,isSimulated:!0});r.event.trigger(i,null,n)}}),r.fn.extend({trigger:function(t,n){return this.each(function(){r.event.trigger(t,n,this)})},triggerHandler:function(t,n){var e=this[0];if(e)return r.event.trigger(t,n,e,!0)}});var mi=/\[\]$/,Ve=/\r?\n/g,_i=/^(?:submit|button|image|reset|file)$/i,bi=/^(?:input|select|textarea|keygen)/i;function ye(t,n,e,i){var o;if(Array.isArray(n))r.each(n,function(a,c){e||mi.test(t)?i(t,c):ye(t+"["+("object"==typeof c&&null!=c?a:"")+"]",c,e,i)});else if(e||"object"!==jt(n))i(t,n);else for(o in n)ye(t+"["+o+"]",n[o],e,i)}r.param=function(t,n){var e,i=[],o=function(a,c){var u=q(c)?c():c;i[i.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==u?"":u)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!r.isPlainObject(t))r.each(t,function(){o(this.name,this.value)});else for(e in t)ye(e,t[e],n,o);return i.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=r.prop(this,"elements");return t?r.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!r(this).is(":disabled")&&bi.test(this.nodeName)&&!_i.test(t)&&(this.checked||!D.test(t))}).map(function(t,n){var e=r(this).val();return null==e?null:Array.isArray(e)?r.map(e,function(i){return{name:n.name,value:i.replace(Ve,"\r\n")}}):{name:n.name,value:e.replace(Ve,"\r\n")}}).get()}});var Pi=/%20/g,Mi=/#.*$/,Oi=/([?&])_=[^&]*/,xi=/^(.*?):[ \t]*([^\r\n]*)$/gm,Si=/^(?:GET|HEAD)$/,wi=/^\/\//,Ue={},me={},Qe="*/".concat("*"),_e=j.createElement("a");function Ye(t){return function(n,e){"string"!=typeof n&&(e=n,n="*");var i,o=0,a=n.toLowerCase().match(vt)||[];if(q(e))for(;i=a[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(e)):(t[i]=t[i]||[]).push(e)}}function Ke(t,n,e,i){var o={},a=t===me;function c(u){var l;return o[u]=!0,r.each(t[u]||[],function(p,m){var b=m(n,e,i);return"string"!=typeof b||a||o[b]?a?!(l=b):void 0:(n.dataTypes.unshift(b),c(b),!1)}),l}return c(n.dataTypes[0])||!o["*"]&&c("*")}function be(t,n){var e,i,o=r.ajaxSettings.flatOptions||{};for(e in n)void 0!==n[e]&&((o[e]?t:i||(i={}))[e]=n[e]);return i&&r.extend(!0,t,i),t}_e.href=mn.href,r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mn.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(mn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?be(be(t,r.ajaxSettings),n):be(r.ajaxSettings,t)},ajaxPrefilter:Ye(Ue),ajaxTransport:Ye(me),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var e,i,o,a,c,u,l,p,m,b,C=r.ajaxSetup({},n=n||{}),M=C.context||C,F=C.context&&(M.nodeType||M.jquery)?r(M):r.event,K=r.Deferred(),$=r.Callbacks("once memory"),ct=C.statusCode||{},ot={},Tt={},St="canceled",Q={readyState:0,getResponseHeader:function(J){var it;if(l){if(!a)for(a={};it=xi.exec(o);)a[it[1].toLowerCase()+" "]=(a[it[1].toLowerCase()+" "]||[]).concat(it[2]);it=a[J.toLowerCase()+" "]}return null==it?null:it.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(J,it){return null==l&&(J=Tt[J.toLowerCase()]=Tt[J.toLowerCase()]||J,ot[J]=it),this},overrideMimeType:function(J){return null==l&&(C.mimeType=J),this},statusCode:function(J){var it;if(J)if(l)Q.always(J[Q.status]);else for(it in J)ct[it]=[ct[it],J[it]];return this},abort:function(J){var it=J||St;return e&&e.abort(it),Kt(0,it),this}};if(K.promise(Q),C.url=((t||C.url||mn.href)+"").replace(wi,mn.protocol+"//"),C.type=n.method||n.type||C.method||C.type,C.dataTypes=(C.dataType||"*").toLowerCase().match(vt)||[""],null==C.crossDomain){u=j.createElement("a");try{u.href=C.url,u.href=u.href,C.crossDomain=_e.protocol+"//"+_e.host!=u.protocol+"//"+u.host}catch(J){C.crossDomain=!0}}if(C.data&&C.processData&&"string"!=typeof C.data&&(C.data=r.param(C.data,C.traditional)),Ke(Ue,C,n,Q),l)return Q;for(m in(p=r.event&&C.global)&&0==r.active++&&r.event.trigger("ajaxStart"),C.type=C.type.toUpperCase(),C.hasContent=!Si.test(C.type),i=C.url.replace(Mi,""),C.hasContent?C.data&&C.processData&&0===(C.contentType||"").indexOf("application/x-www-form-urlencoded")&&(C.data=C.data.replace(Pi,"+")):(b=C.url.slice(i.length),C.data&&(C.processData||"string"==typeof C.data)&&(i+=(ve.test(i)?"&":"?")+C.data,delete C.data),!1===C.cache&&(i=i.replace(Oi,"$1"),b=(ve.test(i)?"&":"?")+"_="+$e.guid+++b),C.url=i+b),C.ifModified&&(r.lastModified[i]&&Q.setRequestHeader("If-Modified-Since",r.lastModified[i]),r.etag[i]&&Q.setRequestHeader("If-None-Match",r.etag[i])),(C.data&&C.hasContent&&!1!==C.contentType||n.contentType)&&Q.setRequestHeader("Content-Type",C.contentType),Q.setRequestHeader("Accept",C.dataTypes[0]&&C.accepts[C.dataTypes[0]]?C.accepts[C.dataTypes[0]]+("*"!==C.dataTypes[0]?", "+Qe+"; q=0.01":""):C.accepts["*"]),C.headers)Q.setRequestHeader(m,C.headers[m]);if(C.beforeSend&&(!1===C.beforeSend.call(M,Q,C)||l))return Q.abort();if(St="abort",$.add(C.complete),Q.done(C.success),Q.fail(C.error),e=Ke(me,C,n,Q)){if(Q.readyState=1,p&&F.trigger("ajaxSend",[Q,C]),l)return Q;C.async&&C.timeout>0&&(c=A.setTimeout(function(){Q.abort("timeout")},C.timeout));try{l=!1,e.send(ot,Kt)}catch(J){if(l)throw J;Kt(-1,J)}}else Kt(-1,"No Transport");function Kt(J,it,bn,Me){var wt,Pn,kt,Ft,zt,mt=it;l||(l=!0,c&&A.clearTimeout(c),e=void 0,o=Me||"",Q.readyState=J>0?4:0,wt=J>=200&&J<300||304===J,bn&&(Ft=function ki(t,n,e){for(var i,o,a,c,u=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||n.getResponseHeader("Content-Type"));if(i)for(o in u)if(u[o]&&u[o].test(i)){l.unshift(o);break}if(l[0]in e)a=l[0];else{for(o in e){if(!l[0]||t.converters[o+" "+l[0]]){a=o;break}c||(c=o)}a=a||c}if(a)return a!==l[0]&&l.unshift(a),e[a]}(C,Q,bn)),!wt&&r.inArray("script",C.dataTypes)>-1&&r.inArray("json",C.dataTypes)<0&&(C.converters["text script"]=function(){}),Ft=function Ei(t,n,e,i){var o,a,c,u,l,p={},m=t.dataTypes.slice();if(m[1])for(c in t.converters)p[c.toLowerCase()]=t.converters[c];for(a=m.shift();a;)if(t.responseFields[a]&&(e[t.responseFields[a]]=n),!l&&i&&t.dataFilter&&(n=t.dataFilter(n,t.dataType)),l=a,a=m.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(c=p[l+" "+a]||p["* "+a]))for(o in p)if((u=o.split(" "))[1]===a&&(c=p[l+" "+u[0]]||p["* "+u[0]])){!0===c?c=p[o]:!0!==p[o]&&(a=u[0],m.unshift(u[1]));break}if(!0!==c)if(c&&t.throws)n=c(n);else try{n=c(n)}catch(b){return{state:"parsererror",error:c?b:"No conversion from "+l+" to "+a}}}return{state:"success",data:n}}(C,Ft,Q,wt),wt?(C.ifModified&&((zt=Q.getResponseHeader("Last-Modified"))&&(r.lastModified[i]=zt),(zt=Q.getResponseHeader("etag"))&&(r.etag[i]=zt)),204===J||"HEAD"===C.type?mt="nocontent":304===J?mt="notmodified":(mt=Ft.state,Pn=Ft.data,wt=!(kt=Ft.error))):(kt=mt,(J||!mt)&&(mt="error",J<0&&(J=0))),Q.status=J,Q.statusText=(it||mt)+"",wt?K.resolveWith(M,[Pn,mt,Q]):K.rejectWith(M,[Q,mt,kt]),Q.statusCode(ct),ct=void 0,p&&F.trigger(wt?"ajaxSuccess":"ajaxError",[Q,C,wt?Pn:kt]),$.fireWith(M,[Q,mt]),p&&(F.trigger("ajaxComplete",[Q,C]),--r.active||r.event.trigger("ajaxStop")))}return Q},getJSON:function(t,n,e){return r.get(t,n,e,"json")},getScript:function(t,n){return r.get(t,void 0,n,"script")}}),r.each(["get","post"],function(t,n){r[n]=function(e,i,o,a){return q(i)&&(a=a||o,o=i,i=void 0),r.ajax(r.extend({url:e,type:n,dataType:a,data:i,success:o},r.isPlainObject(e)&&e))}}),r.ajaxPrefilter(function(t){var n;for(n in t.headers)"content-type"===n.toLowerCase()&&(t.contentType=t.headers[n]||"")}),r._evalUrl=function(t,n,e){return r.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(i){r.globalEval(i,n,e)}})},r.fn.extend({wrapAll:function(t){var n;return this[0]&&(q(t)&&(t=t.call(this[0])),n=r(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(t){return q(t)?this.each(function(n){r(this).wrapInner(t.call(this,n))}):this.each(function(){var n=r(this),e=n.contents();e.length?e.wrapAll(t):n.append(t)})},wrap:function(t){var n=q(t);return this.each(function(e){r(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(t){return!r.expr.pseudos.visible(t)},r.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new A.XMLHttpRequest}catch(t){}};var Hi={0:200,1223:204},_n=r.ajaxSettings.xhr();R.cors=!!_n&&"withCredentials"in _n,R.ajax=_n=!!_n,r.ajaxTransport(function(t){var n,e;if(R.cors||_n&&!t.crossDomain)return{send:function(i,o){var a,c=t.xhr();if(c.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)c[a]=t.xhrFields[a];for(a in t.mimeType&&c.overrideMimeType&&c.overrideMimeType(t.mimeType),!t.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest"),i)c.setRequestHeader(a,i[a]);n=function(u){return function(){n&&(n=e=c.onload=c.onerror=c.onabort=c.ontimeout=c.onreadystatechange=null,"abort"===u?c.abort():"error"===u?"number"!=typeof c.status?o(0,"error"):o(c.status,c.statusText):o(Hi[c.status]||c.status,c.statusText,"text"!==(c.responseType||"text")||"string"!=typeof c.responseText?{binary:c.response}:{text:c.responseText},c.getAllResponseHeaders()))}},c.onload=n(),e=c.onerror=c.ontimeout=n("error"),void 0!==c.onabort?c.onabort=e:c.onreadystatechange=function(){4===c.readyState&&A.setTimeout(function(){n&&e()})},n=n("abort");try{c.send(t.hasContent&&t.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}}),r.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return r.globalEval(t),t}}}),r.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),r.ajaxTransport("script",function(t){var n,e;if(t.crossDomain||t.scriptAttrs)return{send:function(i,o){n=r("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",e=function(a){n.remove(),e=null,a&&o("error"===a.type?404:200,a.type)}),j.head.appendChild(n[0])},abort:function(){e&&e()}}});var t,Je=[],Pe=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||r.expando+"_"+$e.guid++;return this[t]=!0,t}}),r.ajaxPrefilter("json jsonp",function(t,n,e){var i,o,a,c=!1!==t.jsonp&&(Pe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Pe.test(t.data)&&"data");if(c||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=q(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,c?t[c]=t[c].replace(Pe,"$1"+i):!1!==t.jsonp&&(t.url+=(ve.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||r.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=A[i],A[i]=function(){a=arguments},e.always(function(){void 0===o?r(A).removeProp(i):A[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Je.push(i)),a&&q(o)&&o(a[0]),a=o=void 0}),"script"}),R.createHTMLDocument=((t=j.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===t.childNodes.length),r.parseHTML=function(t,n,e){return"string"!=typeof t?[]:("boolean"==typeof n&&(e=n,n=!1),n||(R.createHTMLDocument?((i=(n=j.implementation.createHTMLDocument("")).createElement("base")).href=j.location.href,n.head.appendChild(i)):n=j),a=!e&&[],(o=An.exec(t))?[n.createElement(o[1])]:(o=Cn([t],n,a),a&&a.length&&r(a).remove(),r.merge([],o.childNodes)));var i,o,a},r.fn.load=function(t,n,e){var i,o,a,c=this,u=t.indexOf(" ");return u>-1&&(i=Qt(t.slice(u)),t=t.slice(0,u)),q(n)?(e=n,n=void 0):n&&"object"==typeof n&&(o="POST"),c.length>0&&r.ajax({url:t,type:o||"GET",dataType:"html",data:n}).done(function(l){a=arguments,c.html(i?r("<div>").append(r.parseHTML(l)).find(i):l)}).always(e&&function(l,p){c.each(function(){e.apply(this,a||[l.responseText,p,l])})}),this},r.expr.pseudos.animated=function(t){return r.grep(r.timers,function(n){return t===n.elem}).length},r.offset={setOffset:function(t,n,e){var i,o,a,c,u,l,m=r.css(t,"position"),b=r(t),C={};"static"===m&&(t.style.position="relative"),u=b.offset(),a=r.css(t,"top"),l=r.css(t,"left"),("absolute"===m||"fixed"===m)&&(a+l).indexOf("auto")>-1?(c=(i=b.position()).top,o=i.left):(c=parseFloat(a)||0,o=parseFloat(l)||0),q(n)&&(n=n.call(t,e,r.extend({},u))),null!=n.top&&(C.top=n.top-u.top+c),null!=n.left&&(C.left=n.left-u.left+o),"using"in n?n.using.call(t,C):b.css(C)}},r.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(o){r.offset.setOffset(this,t,o)});var n,e,i=this[0];return i?i.getClientRects().length?{top:(n=i.getBoundingClientRect()).top+(e=i.ownerDocument.defaultView).pageYOffset,left:n.left+e.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var t,n,e,i=this[0],o={top:0,left:0};if("fixed"===r.css(i,"position"))n=i.getBoundingClientRect();else{for(n=this.offset(),e=i.ownerDocument,t=i.offsetParent||e.documentElement;t&&(t===e.body||t===e.documentElement)&&"static"===r.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((o=r(t).offset()).top+=r.css(t,"borderTopWidth",!0),o.left+=r.css(t,"borderLeftWidth",!0))}return{top:n.top-o.top-r.css(i,"marginTop",!0),left:n.left-o.left-r.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===r.css(t,"position");)t=t.offsetParent;return t||Ht})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var e="pageYOffset"===n;r.fn[t]=function(i){return Pt(this,function(o,a,c){var u;if(Bt(o)?u=o:9===o.nodeType&&(u=o.defaultView),void 0===c)return u?u[n]:o[a];u?u.scrollTo(e?u.pageXOffset:c,e?c:u.pageYOffset):o[a]=c},t,i,arguments.length)}}),r.each(["top","left"],function(t,n){r.cssHooks[n]=Ae(R.pixelPosition,function(e,i){if(i)return i=vn(e,n),fe.test(i)?r(e).position()[n]+"px":i})}),r.each({Height:"height",Width:"width"},function(t,n){r.each({padding:"inner"+t,content:n,"":"outer"+t},function(e,i){r.fn[i]=function(o,a){var c=arguments.length&&(e||"boolean"!=typeof o),u=e||(!0===o||!0===a?"margin":"border");return Pt(this,function(l,p,m){var b;return Bt(l)?0===i.indexOf("outer")?l["inner"+t]:l.document.documentElement["client"+t]:9===l.nodeType?(b=l.documentElement,Math.max(l.body["scroll"+t],b["scroll"+t],l.body["offset"+t],b["offset"+t],b["client"+t])):void 0===m?r.css(l,p,u):r.style(l,p,m,u)},n,c?o:void 0,c)}})}),r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,n){r.fn[n]=function(e){return this.on(n,e)}}),r.fn.extend({bind:function(t,n,e){return this.on(t,null,n,e)},unbind:function(t,n){return this.off(t,null,n)},delegate:function(t,n,e,i){return this.on(n,t,e,i)},undelegate:function(t,n,e){return 1===arguments.length?this.off(t,"**"):this.off(n,t||"**",e)},hover:function(t,n){return this.on("mouseenter",t).on("mouseleave",n||t)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){r.fn[n]=function(e,i){return arguments.length>0?this.on(n,null,e,i):this.trigger(n)}});var Di=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;r.proxy=function(t,n){var e,i,o;if("string"==typeof n&&(e=t[n],n=t,t=e),q(t))return i=ft.call(arguments,2),o=function(){return t.apply(n||this,i.concat(ft.call(arguments)))},o.guid=t.guid=t.guid||r.guid++,o},r.holdReady=function(t){t?r.readyWait++:r.ready(!0)},r.isArray=Array.isArray,r.parseJSON=JSON.parse,r.nodeName=Z,r.isFunction=q,r.isWindow=Bt,r.camelCase=yt,r.type=jt,r.now=Date.now,r.isNumeric=function(t){var n=r.type(t);return("number"===n||"string"===n)&&!isNaN(t-parseFloat(t))},r.trim=function(t){return null==t?"":(t+"").replace(Di,"$1")},void 0!==(ut=function(){return r}.apply(xn,[]))&&(On.exports=ut);var Ni=A.jQuery,Ai=A.$;return r.noConflict=function(t){return A.$===r&&(A.$=Ai),t&&A.jQuery===r&&(A.jQuery=Ni),r},typeof dt>"u"&&(A.jQuery=A.$=r),r})}}]);
|
1
|
+
(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts"],{8402:(On,xn,q)=>{"use strict";q.r(xn),q.d(xn,{ContentBodyModule:()=>Ot,component:()=>Ht});var ut=q(177),D=q(9379),ft=q(467),d=q(3953),Tn=q(5848),pt=q(9516),Gt=function(P){return P.WORD="WORD",P.CHARACTER="CHARACTER",P.PARAGRAPH="PARAGRAPH",P}(Gt||{});const en={dataSource:null};var rt=q(5706),rn=q(1413),Sn=q(4572),jt=q(5343),un=q(4404),wn=q(5964),R=q(8075),W=q(3331),Lt=q(5628),j=q(8179),kn=q(4452),En=q(8251),It=q(5102),Nn=q(20),Vn=q(8004),r=q(1653),fn=q.n(r),Z=q(7879),Un=q(8745),Qn=q(1652),Yn=q(3648),tt=q(9745),Xt=q(6889),Kn=q(5820),Hn=q(9079),Pt=q(5636),pn=q(5632),Rt=q(7484),dn=q(2039);const An=["contentHtmlContainer"],Dn=["dynamicElementsContainer"];function gn(P,G){if(1&P&&(d.nrm(0,"div",6,2),d.nI1(2,"safeHtml")),2&P){const A=d.XpG(2);d.xc7("max-height",A.calculateMaxHeightForContent(),"px"),d.Y8G("innerHtml",d.bMT(2,3,A.contentHtml()),d.npT)}}function Bn(P,G){1&P&&d.eu8(0)}function Jn(P,G){if(1&P&&d.DNE(0,Bn,1,0,"ng-container",7),2&P){d.XpG(2);const A=d.sdS(6);d.Y8G("ngTemplateOutlet",A)}}function Zn(P,G){if(1&P&&d.DNE(0,gn,3,5,"div",5)(1,Jn,1,1,"ng-container"),2&P){const A=d.XpG();d.vxM(A.contentHtml()?0:1)}}function te(P,G){if(1&P&&(d.nrm(0,"div",9,2),d.nI1(2,"safeHtml")),2&P){const A=d.XpG(2);d.Y8G("innerHtml",d.bMT(2,1,A.contentHtml()),d.npT)}}function ne(P,G){1&P&&d.eu8(0)}function jn(P,G){if(1&P&&d.DNE(0,ne,1,0,"ng-container",7),2&P){d.XpG(2);const A=d.sdS(6);d.Y8G("ngTemplateOutlet",A)}}function vt(P,G){if(1&P&&(d.j41(0,"article",3)(1,"div",8),d.DNE(2,te,3,3,"div",9)(3,jn,1,1,"ng-container"),d.k0s()()),2&P){const A=d.XpG();d.R7$(),d.xc7("max-height",A.calculateMaxHeightForContent(),"px"),d.R7$(),d.vxM(A.contentHtml()?2:3)}}function ee(P,G){if(1&P){const A=d.RV6();d.j41(0,"div",10)(1,"div",11),d.bIt("click",function(){d.eBV(A);const g=d.XpG();return d.Njj(g.onClickPrev())}),d.k0s(),d.j41(2,"div",12),d.bIt("click",function(){d.eBV(A);const g=d.XpG();return d.Njj(g.onClickNext())}),d.k0s()()}}function Ft(P,G){1&P&&(d.j41(0,"div",13),d.nrm(1,"h1",14),d.j41(2,"figure",15),d.nrm(3,"img")(4,"figcaption"),d.k0s(),d.j41(5,"div"),d.nrm(6,"p"),d.k0s()())}let Vt=(()=>{var P;class G extends Tn.Q{get elementClass(){var y;return"content-full-body "+(null!==(y=super.elementClass)&&void 0!==y?y:"")}constructor(){var y,g;super(),this.elementRef=(0,d.WQX)(d.aKT),this.injector=(0,d.WQX)(d.zZn),this.contextService=(0,d.WQX)(pt.V),this.document=(0,d.WQX)(ut.qQ),this.router=(0,d.WQX)(W.Ix),this.eventActionService=(0,d.WQX)(Vn.G),this.ttsService=(0,d.WQX)(Lt.z),this.dialogService=(0,d.WQX)(Nn.o),this.store=(0,d.WQX)(En.B),this.metaService=(0,d.WQX)(Pt.R),this.purpleService=(0,d.WQX)(It.Wj),this.configLoaderService=(0,d.WQX)(Un.Bh),this.globalService=(0,d.WQX)(Qn.d),this.destroyRef=(0,d.WQX)(d.abz),this.purpleEnv=(0,d.WQX)(Z.r6),this.urlResolverService=(0,d.WQX)(Xt.K),this.anchorService=(0,d.WQX)(Kn.X),this.serverOnlyService=(0,d.WQX)(pn.l),this.dynamicComponentService=(0,d.WQX)(Rt._),this.appData=(0,d.WQX)(Z.fj),this.type="content-body",this.isBundle=!1,this.displayContentInProgress=!1,this.contentThemeLoaded=!1,this.anchorFeatureEnabled=!1,this.ttsLoaded=!1,this.ttsContentLoaded$=new rn.B,this.contentHtml=(0,d.vPA)(void 0),this.prevContentHtml=(0,d.vPA)(void 0),this.defaultConfig=en,this.contextService.moveToSlideSubject.pipe((0,Hn.pQ)(this.destroyRef)).subscribe(T=>{if(this.dataSource){const x=this.getPostFromBundleById(this.catalogContent,T);this.updatePath(x)}else(0,R.CV)(this.router,{[this.getParam()]:T})}),(0,ut.UE)(this.platformId)&&(null!==(g=(y=window).$)&&void 0!==g||(y.$=fn()))}ngOnInit(){this.anchorFeatureEnabled=this.anchorService.isAnchorFeatureEnabled(),super.ngOnInit(),(0,Sn.z)([this.ttsContentLoaded$,this.ttsService.initTts$]).pipe((0,Hn.pQ)(this.destroyRef)).subscribe(y=>{this.triggerContentLoaded()})}getContentFetchOptions(){return{includeBlocks:!!this.config.customBlocks,includeHtml:!0,includeResources:!0,seoMetadata:!this.purpleEnv.isApp}}ngAfterViewChecked(){if(this.prevContentHtml()!==this.contentHtml())if((0,ut.UE)(this.platformId)){var y;if(hn(this.elementRef.nativeElement),this.addCustomBlocks().then(()=>this.changeDetectorRef.detectChanges()),this.config.embeddedAd&&this.addEmbeddedAds(),this.purpleEnv.isUniversal&&null!==(y=this.contentHtmlContainer)&&void 0!==y&&y.nativeElement){const g=this.contentHtmlContainer.nativeElement.querySelectorAll('a[href^="#"]');for(const T of g)T.addEventListener("click",x=>{x.preventDefault(),location.hash=T.hash})}this.handleLinks(!1),this.prevContentHtml.set(this.contentHtml());try{(0,j.v3)(this.config.enableTTS)?this.ttsContentLoaded$.next(!0):this.triggerContentLoaded()}catch(g){console.error("Error in onContentLoaded hook:",g)}}else(0,ut.Vy)(this.platformId)&&(this.handleLinks(!0),this.prevContentHtml.set(this.contentHtml()))}handleLinks(y){var g;if(null!==(g=this.contentHtmlContainer)&&void 0!==g&&g.nativeElement){const x=this.contentHtmlContainer.nativeElement.querySelectorAll('a[href^="navto://"]');for(const L of x){const N=L.href.startsWith("navto://id/"),K=L.href.split("/")[N?3:2];if(K){const J=(0,d.zw6)("linked_".concat(K));if(this.transferState.hasKey(J)){const H=this.transferState.get(J,null);this.addLinkHandler(y,L,H.fullPath,H.navtoAction)}else this.handlePostLink(N,K,L,y,J)}}}}handlePostLink(y,g,T,x,L){var N=this;const J=this.purpleService.getCatalogContents({first:1,contentFilter:{AND:[{contentType:{value:un.CatalogContentType.POST}},y?{externalId:{value:g}}:{id:{value:g}}]}}).then(H=>(H.nodes[0]||console.warn("No post with id ".concat(g," found")),H.nodes[0])).then(H=>null!=H&&H.bundleId?this.purpleService.getCatalogContent(H.bundleId).then(at=>(H.bundle=at,H)):H);(0,ft.A)(function*(){var H,at;const dt=yield J,Kt=dt?null!==(H=N.config.navto)&&void 0!==H&&H.action?(0,j.v3)((0,j.uQ)(N.config.navto.action,(0,D.A)((0,D.A)({},N.context),{},{targetPost:dt}),N.contextService.$functions,N.globalService.getGlobalData(),!1)):{type:tt.H.OPEN_CONTENT,issueId:dt.id}:null;let At=null;if(dt&&(null===(at=N.config.navto)||void 0===at||!at.action)&&N.anchorFeatureEnabled&&N.purpleEnv.isUniversal){const mt=yield N.urlResolverService.getPathForContent(dt);At=N.anchorService.interpolatePath(mt,N.context)}N.transferState.set(L,{fullPath:At,navtoAction:Kt}),N.addLinkHandler(x,T,At,Kt)})()}addLinkHandler(y,g,T,x){T&&(g.href=T),!y&&(!T||"_blank"!==g.target)&&g.addEventListener("click",L=>{L.preventDefault(),x?this.eventActionService.processEventAction(x,this):this.dialogService.alert("POST_LINK_NOT_FOUND","POST_LINK_NOT_FOUND_TITLE")})}triggerContentLoaded(){try{var y,g;null===(y=window.storefrontHooks)||void 0===y||null===(g=y.onContentLoaded)||void 0===g||g.call(y,{content:this.catalogContent,post:this.bundleContent[this.bundleIndex],context:this.getContext()})}catch(T){console.error("Error in onContentLoaded hook: ",T)}}loadContentPluginStyle(y){var g=this;return(0,ft.A)(function*(){if(!(0,ut.Vy)(g.platformId)){const T=(0,D.A)({},y.properties);Object.keys(T).filter(x=>x.includes("inlinestyle_")).forEach(x=>{let L=g.document.createElement("style");L.id=x,L.textContent=(0,Z.Ek)(T[x],"storefront-content-body"),g.elementRef.nativeElement.appendChild(L)}),g.configLoaderService.loadContentThemeScript()}})()}isGhost(){return!this.contentHtml()||super.isGhost()}hasContextChanged(y){const g=y.content;return!(!g||!this.hasContentChanged(g,this.catalogContent)&&!this.hasContentChanged(y.post,this.bundleContent[this.bundleIndex]))||super.hasContextChanged(y)}onConfigChanges(){this.createDataSource(),this.displayContent()}getBundleIndex(y,g){if(!g)return 0;const T=y.contents.findIndex(x=>x.id===g.id);return T>=0?T:void 0}onClickPrev(){var y;const g=0===this.bundleIndex?(null===(y=this.bundleContent)||void 0===y?void 0:y.length)-1:this.bundleIndex-1;this.navigateTo(g)}onClickNext(){var y;const g=this.bundleIndex===(null===(y=this.bundleContent)||void 0===y?void 0:y.length)-1?0:this.bundleIndex+1;this.navigateTo(g)}navigateTo(y){const g=(0,rt.Ig)(this.catalogContent)[y];this.dataSource?this.updatePath(g):(0,R.CV)(this.router,{[this.getParam()]:g.id}),this.ttsService.updateForceOpen(),this.ttsLoaded=!1}ngOnDestroy(){super.ngOnDestroy(),this.metaService.clearContentSeoMetadata(),this.ttsService.delete(),this.contextService.dataCollectionSubject.next(null),this.document.body.removeAttribute("style"),this.configLoaderService.unloadContentTheme()}getPostFromBundleBySlug(y,g){var T;return null===(T=y.contents.find(x=>x.post.properties.slug===g))||void 0===T?void 0:T.post}getPostFromBundleById(y,g){var T;return null===(T=y.contents.find(x=>x.post.id===g))||void 0===T?void 0:T.post}getBasePath(y){const g=Object.values(this.context.pathParams);return y.split("/").filter(x=>-1==g.indexOf(x))}getParam(){return this.isBundle?"post":"content"}createDataSource(){var y=this;if(this.config.dataSource&&!this.dataSource){let g,T;this.dataSourceLoading=new Promise((x,L)=>{g=x,T=L}),this.dataSource=(0,kn.O8)(this.injector,this.config.dataSource,this.elementRef.nativeElement,this.document),this.dataSource.loadData(),this.store.subscribe(this.dataSource.data$.pipe((0,wn.p)(x=>x&&!!x[0])),function(){var x=(0,ft.A)(function*(L){let N=L[0];(0,rt.G4)(N)&&!L[0].contents&&(N=yield y.purpleService.getCatalogContent(N.id,!1,{includeBundledContent:!0})),y.isBundle=(0,rt.G4)(N),y.setComponentContext(y.contextKey,N),y.context[y.contextKey]=N,(0,rt.G4)(N)&&Object.keys(y.context.pathParams).forEach(K=>{var J;const H=y.getPostFromBundleBySlug(N,y.context.pathParams[K]);H&&(null!==(J=N.properties)&&void 0!==J&&J.slug?y.context.pathParams[K]!==N.properties.slug&&(y.context[y.getParam()]=H,y.setComponentContext(y.getParam(),H)):y.context.pathParams[K]!==N.id&&(y.context[y.getParam()]=H,y.setComponentContext(y.getParam(),H)))}),g(),y.onConfigChanges()});return function(L){return x.apply(this,arguments)}}(),jt.l,jt.l,"data"),this.store.subscribe(this.dataSource.error$.pipe((0,wn.p)(x=>!!x)),x=>T(x))}}displayContent(){var y=()=>super.onConfigChanges,g=this;return(0,ft.A)(function*(){const T=y().call(g);if(g.catalogContent){if(g.serverOnlyService.setStatusCode(200),!g.displayContentInProgress){if(g.displayContentInProgress=!0,g.contentThemeLoaded||(yield g.configLoaderService.loadContentThemeStyle(),g.contentThemeLoaded=!0),g.dataSourceLoading)try{yield g.dataSourceLoading}catch(x){console.error("Error during content loading",x)}if((0,rt.mF)(g.catalogContent)){if(!T)return void(g.displayContentInProgress=!1);yield g.setupContent()}else if((0,rt.G4)(g.catalogContent)){g.isBundle=!0,g.catalogContent.contents||(g.catalogContent=yield g.purpleService.getCatalogContent(g.catalogContent.id,!1,{includeBundledContent:!0})),g.bundleContent=(0,rt.Ig)(g.catalogContent);const x=g.bundleIndex;if(g.bundleIndex=g.getBundleIndex(g.catalogContent,g.context[g.getParam()]),T&&g.dataSource&&null==g.context[g.getParam()]){const L=(0,rt.Ig)(g.catalogContent)[0];return g.updatePath(L),void(g.displayContentInProgress=!1)}if(T&&g.contextService.dataCollectionSubject.next(g.bundleContent),T||g.bundleIndex!==x){g.bundleIndex=g.context[g.getParam()]||!x?g.bundleIndex:x;const L=g.bundleContent[g.bundleIndex];g.contextService.activeTocItemSubject.next(L.id),yield g.setupContent(),g.dataSource||(yield(0,R.CV)(g.router,{[g.getParam()]:L.id}))}}else g.contentHtml.set(void 0);g.displayContentInProgress=!1}}else g.serverOnlyService.setStatusCode(404)})()}setupContent(){var y=()=>super.updatePostWithOptionalData,g=this;return(0,ft.A)(function*(){var T,x,L;const N=(0,j.v3)(g.config.enableTTS),K=yield y().call(g,g.getContentFetchOptions(),g.bundleIndex),J=yield g.replaceHtmlResources(K);g.contentHtml.set(g.displayHtmlContent(J)),yield g.loadContentPluginStyle(K);const H=null!==(T=JSON.parse(null!==(x=null==K||null===(L=K.seoMetadata)||void 0===L?void 0:L.purple_seo_meta)&&void 0!==x?x:null))&&void 0!==T?T:{};g.metaService.setContentSeoMetadata(H,K.name),N&&!g.ttsLoaded&&(g.ttsService.initTTSforPost(K),g.ttsLoaded=!0)})()}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,kn.Kj)(this.mutableBaseConfig()),"navto"].filter(y=>!!y)}updatePath(y){var g,T;const x=null!==(g=this.catalogContent.properties)&&void 0!==g&&g.slug?this.catalogContent.properties.slug:this.catalogContent.id,L=null!==(T=y.properties)&&void 0!==T&&T.slug?y.properties.slug:y.id,K=[this.appData.customDomain?"":this.appData.brand,...this.getBasePath(this.contextService.getPath()),x,L];(0,R.UB)(this.router,K)}calculateMaxHeightForContent(){var y,g;return window.innerHeight-(null===(y=this.document.getElementsByTagName("storefront-app-bar")[0])||void 0===y?void 0:y.clientHeight)-(null===(g=this.document.getElementById("tts-player"))||void 0===g?void 0:g.clientHeight)}displayHtmlContent(y){return(0,ut.UE)(this.platformId)||(y=y.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")),y.replace(/<img[^>^<]*src="[^"]*/g,g=>{const T=g.substring(g.indexOf('src="')+5);if(g.length>0){const L=T.lastIndexOf("webp="),N=T.indexOf("?");var x;if(L<0||L<N)return g+(N>0?"&":"?")+"webp=1&w="+(null!==(x=this.config.maxImageWidth)&&void 0!==x?x:1200)}return g})}replaceHtmlResources(y){var g=this;return(0,ft.A)(function*(){var T;let x=y.contentHtml;if(!x.includes("purple-ref"))return x;const L=(null===(T=y.resources)||void 0===T?void 0:T.filter(N=>"ASSET"==N.type))||[];for(const N of L){const K=yield g.convertResourceUrl(y,N);x=x.replace(new RegExp('purple-ref="'.concat(N.id,'"'),"g"),'src="'.concat(K,'"'))}return x})()}convertResourceUrl(y,g){var T=this;return(0,ft.A)(function*(){return T.purpleEnv.isApp&&(0,Z.E7)(window.purple.content,{major:1,minor:6},un.IntOperation.GREATER_THAN)?yield window.purple.content.getPostResourceUrl({post:y,resource:g}):g.url.startsWith("//")?window.location.protocol+g.url:g.url})()}addCustomBlocks(){var y=this;return(0,ft.A)(function*(){var g;const T=(0,rt.G4)(y.catalogContent)?y.bundleContent[y.bundleIndex]:y.catalogContent,x=null!==(g=null==T?void 0:T.content)&&void 0!==g?g:[],L=y.elementRef.nativeElement.querySelectorAll("div[purpleid]");for(const K of L){const J=K.attributes.purpleid.value,H=x.find(dt=>dt.id===J),at=y.mutableBaseConfig().customBlocks;if(H){var N;const Kt={type:H.type,data:JSON.parse(H.properties.data||"{}")},At=null==at||null===(N=at.find(mt=>mt.blockType==H.type))||void 0===N?void 0:N.component;if(At){const mt=(0,D.A)({},At),zt=(0,D.A)((0,D.A)({},y.getContext()),{},{contentBlock:Kt});yield y.attachDynamicComponent(K,mt,zt)}else console.warn("No config found for custom block '".concat(H.type,"'"))}else at&&console.warn("No content block found for purpleid '".concat(J,"'"))}})()}addEmbeddedAds(){var y;const T=this.elementRef.nativeElement.querySelectorAll(this.domHelper.leanDom?":scope > div > p":":scope > article > div div > p");if(!T.length)return;let x=0,L=0,N=null,K=(Array.isArray(this.config.embeddedAd.ads)?this.config.embeddedAd.ads:[this.config.embeddedAd.ads]).filter(H=>(0,j.ru)(H,this.context,this.contextService.$functions,this.globalService.getGlobalData(),!1));if(null!==(y=window.storefrontHooks)&&void 0!==y&&y.isAdDisabled&&(K=K.filter(H=>!window.storefrontHooks.isAdDisabled(H.adConfig.adId))),K.length)for(const H of K){var J;let at=null!==(J=H.startIndex)&&void 0!==J?J:1;for(;0==L||N;){for(;x<H.counter&&(0==L||N);)N=T[L++],N&&(x+=this.calculateTextLength(this.config.embeddedAd.adOffsetUnit,N));if(!N)break;const dt=(0,D.A)({},H.adConfig);if(H.indexed&&(dt.adId=dt.adId+at,at++),this.insertEmbeddedAd(dt,N),x=0,!H.indexed||H.maxCount&&at>H.maxCount)break}}}insertEmbeddedAd(y,g){const T=(0,D.A)({},y),x=(0,D.A)((0,D.A)({},this.contextService.getContext()),this.getContext());this.attachDynamicComponent(g,T,x)}attachDynamicComponent(y,g,T){var x=this;return(0,ft.A)(function*(){if(!y)return;const L=x.domHelper.leanDom?yield x.dynamicComponentService.getComponentFromType(g.type,g,T):Yn._,N=x.viewContainerRef.createComponent(L);N.instance.mutableBaseConfig.set(g),N.instance.mutableBaseContext.set(T),y.parentNode.insertBefore(N.location.nativeElement,y.nextSibling)})()}calculateTextLength(y,g){const T=g.innerText;let x;switch(y){case Gt.CHARACTER:x=T.trim().length;break;case Gt.WORD:x=T.trim().split(/\s+/).length;break;case Gt.PARAGRAPH:x=1}return x}}return(P=G).\u0275fac=function(y){return new(y||P)},P.\u0275cmp=d.VBU({type:P,selectors:[["storefront-content-body"]],viewQuery:function(y,g){if(1&y&&(d.GBs(An,5),d.GBs(Dn,5,d.c1b)),2&y){let T;d.mGM(T=d.lsd())&&(g.contentHtmlContainer=T.first),d.mGM(T=d.lsd())&&(g.viewContainerRef=T.first)}},hostVars:2,hostBindings:function(y,g){2&y&&d.HbH(g.elementClass)},standalone:!1,features:[d.Vt3],decls:7,vars:2,consts:[["dynamicElementsContainer",""],["ghostContent",""],["contentHtmlContainer",""],["id","sprylab_purple_content"],["class","swiper-actions",4,"ngIf"],["id","sprylab_purple_content",1,"entry-content","purple-inner-container","purple-content-body-inner",3,"max-height","innerHtml"],["id","sprylab_purple_content",1,"entry-content","purple-inner-container","purple-content-body-inner",3,"innerHtml"],[4,"ngTemplateOutlet"],[1,"entry-content"],[1,"purple-inner-container","purple-content-body-inner",3,"innerHtml"],[1,"swiper-actions"],[1,"bundle-button","bundle-button-prev","icon","icon-arrow-left",3,"click"],[1,"bundle-button","bundle-button-next","icon","icon-arrow-right",3,"click"],[1,"purple-inner-container","purple-content-body-inner"],[1,"entry-title"],[1,"wp-block-image"]],template:function(y,g){1&y&&(d.DNE(0,Zn,2,1)(1,vt,4,3,"article",3)(2,ee,3,0,"div",4),d.eu8(3,null,0),d.DNE(5,Ft,7,0,"ng-template",null,1,d.C5r)),2&y&&(d.vxM(g.domHelper.leanDom?0:1),d.R7$(2),d.Y8G("ngIf",g.isBundle))},dependencies:[ut.bT,ut.T3,dn.$],styles:['.aspectRatioBase[_ngcontent-%COMP%]{position:relative;display:block}.aspectRatioBase[_ngcontent-%COMP%]:before{content:"";position:relative;display:block}.aspectRatioBase[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:absolute}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1.entry-title[_ngcontent-%COMP%]{height:1em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;aspect-ratio:2/1;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] > figcaption[_ngcontent-%COMP%]{height:2em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:3em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}article[_ngcontent-%COMP%]{height:100%;width:100%;overflow:auto;background-color:var(--contentBgColor);box-sizing:border-box}article.open-linking-article[_ngcontent-%COMP%]{pointer-events:none}article.open-linking-article[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;content:"";width:100%;height:100%;background-color:#0003;background-image:var(--contentSpinner);background-size:50%;background-repeat:no-repeat;background-position:center}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%]{padding:var(--contentPaddingVert) var(--contentPaddingHoriz);color:var(--contentTextColor);overflow-x:hidden;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:var(--contentFont);font-size:1em;font-weight:400;font-style:normal;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:not(input){-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-overflow-scrolling:touch;-webkit-user-drag:none}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0;margin:var(--contentElementMarginTop) 0 var(--contentElementMarginBottom)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child:not(header){margin-top:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{border-top:1px solid var(--contentTextColor);border-bottom:1px solid var(--contentTextColor);padding:var(--contentHeaderPaddingVert) 0!important;margin:var(--contentHeaderMarginTop) 0 var(--contentHeaderMarginBottom)!important;overflow:hidden;color:var(--contentTextColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header.article-section[_ngcontent-%COMP%]{font-weight:600;text-transform:uppercase}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header.article-section[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:inherit}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:var(--contentHeaderElementMarginTop) 0 var(--contentHeaderElementMarginBottom)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%]{padding:var(--contentSectionPaddingVert) var(--contentSectionPaddingHoriz);border:1px solid var(--contentTextColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:var(--contentHeadlineFont);margin:var(--margin)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] *[_ngcontent-%COMP%], article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1.4em;font-weight:900;line-height:1.6em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1.2em;font-weight:700;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1em;font-weight:700;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1em;font-weight:700;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{--margin: var(--contentHeadlineSmallMarginTop) 0 var(--contentHeadlineSmallMarginBottom);font-size:1em;font-weight:600;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{--margin: var(--contentHeadlineSmallMarginTop) 0 var(--contentHeadlineSmallMarginBottom);font-size:1em;font-weight:600;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] p.has-drop-cap[_ngcontent-%COMP%]:first-letter{font-size:4.8em;font-weight:300;line-height:.8em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%]{padding:var(--contentElementPaddingVert) var(--contentElementPaddingHoriz);border:none}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--contentFont);font-style:italic;margin:0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] blockquote.is-style-large[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.2em;line-height:1.4em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] blockquote.wp-block-pullquote[_ngcontent-%COMP%]{border-color:var(--contentTextColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:var(--primaryColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding-left:1em}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto;max-width:100%;height:auto}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{color:var(--contentTextColor);font-size:.8em;font-style:italic;margin:var(--contentElementMarginTop) 0 var(--contentElementMarginBottom)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:700}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:inherit}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-style:italic}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] em[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-style:inherit}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-blockgallery-carousel[_ngcontent-%COMP%]{height:-webkit-fit-content;height:fit-content;padding-left:25px;padding-right:25px}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .bod-block-popup[_ngcontent-%COMP%]{--width: calc(100% - 50px) ;width:var(--width)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-bod-modal-block[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-separator.is-style-dots[_ngcontent-%COMP%]:before{font-size:12px;padding-left:0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure.wp-block-gallery[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-embed-youtube[_ngcontent-%COMP%]{--aspectRatio: 56.25%;position:relative;padding:var(--aspectRatio) 0 0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-embed-youtube[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;height:100%}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .wp-block-embed-instagram[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{min-width:0!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .kt-accordion-header-wrap[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .uagb-toc__wrap[_ngcontent-%COMP%]{width:100%}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%]{--maxHeight: 200px}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{max-height:var(--maxHeight)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:var(--maxHeight)!important}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .lightSlider[_ngcontent-%COMP%]{padding:0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .lightSlider[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{color:#fff;margin:unset}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .lSPager.lSpg[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background-color:var(--primaryColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .hype-animation[_ngcontent-%COMP%]{max-width:100%}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .full-bleed[_ngcontent-%COMP%]{padding-left:0;padding-right:0}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] .ub-star-rating[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--contentTextColor)}article[_ngcontent-%COMP%] .entry-content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}article[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%]{font-size:18px}article[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:absolute;top:50vh;z-index:10;display:block;width:var(--contentNavigateButtonSize);height:var(--contentNavigateButtonSize);-webkit-mask-size:calc(var(--contentNavigateButtonSize) - var(--contentNavigateButtonGap));mask-size:calc(var(--contentNavigateButtonSize) - var(--contentNavigateButtonGap));mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;background-color:var(--contentNavigateButtonColor)}article[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span#content-button-navigate-back[_ngcontent-%COMP%]{-webkit-mask-image:var(--contentIconNavigateBack);mask-image:var(--contentIconNavigateBack);left:calc(var(--contentPaddingHoriz) / 2 - var(--contentNavigateButtonSize) / 2)}article[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span#content-button-navigate-forward[_ngcontent-%COMP%]{-webkit-mask-image:var(--contentIconNavigateForward);mask-image:var(--contentIconNavigateForward);right:calc(var(--contentPaddingHoriz) / 2 - var(--contentNavigateButtonSize) / 2)}article[_ngcontent-%COMP%] .content-button-navigate.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}article[_ngcontent-%COMP%] .content-button-navigate.hidden[_ngcontent-%COMP%]{display:none}.night-mode[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{--contentBgColor: var(--contentBgColorNightMode);--contentTextColor: var(--contentTextColorNightMode);--contentNavigateButtonColor: var(--contentNavigateButtonColorNightMode)}.swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%]{background:transparent;position:fixed;top:50%;display:flex;justify-content:center;align-items:center;width:50px;height:50px}.swiper-actions[_ngcontent-%COMP%] .bundle-button.bundle-button-prev[_ngcontent-%COMP%]{left:0;right:auto}.swiper-actions[_ngcontent-%COMP%] .bundle-button.bundle-button-next[_ngcontent-%COMP%]{right:0;left:auto}.swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%] .bundle-button-prev[_ngcontent-%COMP%], .swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%] .bundle-button-next[_ngcontent-%COMP%]{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}@media (min-width: 200px){.has-no-alignment[_ngcontent-%COMP%] .has-grid-lrg[_ngcontent-%COMP%] .blockgallery--item[_ngcontent-%COMP%]{width:50%}}'],changeDetection:0}),G})();function hn(P){if(!0===function Cn(P){return"SCRIPT"===P.tagName}(P))P.parentNode.replaceChild(function ie(P){var G=document.createElement("script");G.text=P.innerHTML;for(var g,A=-1,y=P.attributes;++A<y.length;)G.setAttribute((g=y[A]).name,g.value);return G}(P),P);else for(var G=-1,A=P.childNodes;++G<A.length;)hn(A[G]);return P}var on=q(6483),Mt=q(3303),re=q(4871),oe=q(1367);const ae=["class","pxp-content-body"];function yt(P,G){if(1&P&&(d.nrm(0,"div",6,2),d.nI1(2,"safeHtml")),2&P){const A=d.XpG(2);d.xc7("max-height",A.calculateMaxHeightForContent(),"px"),d.Y8G("innerHtml",d.bMT(2,3,A.contentHtml()),d.npT)}}function Ut(P,G){1&P&&d.eu8(0)}function Qt(P,G){if(1&P&&d.DNE(0,Ut,1,0,"ng-container",7),2&P){d.XpG(2);const A=d.sdS(6);d.Y8G("ngTemplateOutlet",A)}}function E(P,G){if(1&P&&d.DNE(0,yt,3,5,"div",5)(1,Qt,1,1,"ng-container"),2&P){const A=d.XpG();d.vxM(A.contentHtml()?0:1)}}function st(P,G){if(1&P&&(d.nrm(0,"div",9,2),d.nI1(2,"safeHtml")),2&P){const A=d.XpG(2);d.Y8G("innerHtml",d.bMT(2,1,A.contentHtml()),d.npT)}}function ce(P,G){1&P&&d.eu8(0)}function se(P,G){if(1&P&&d.DNE(0,ce,1,0,"ng-container",7),2&P){d.XpG(2);const A=d.sdS(6);d.Y8G("ngTemplateOutlet",A)}}function le(P,G){if(1&P&&(d.j41(0,"article",3)(1,"div",8),d.DNE(2,st,3,3,"div",9)(3,se,1,1,"ng-container"),d.k0s()()),2&P){const A=d.XpG();d.R7$(),d.xc7("max-height",A.calculateMaxHeightForContent(),"px"),d.R7$(),d.vxM(A.contentHtml()?2:3)}}function Ln(P,G){if(1&P){const A=d.RV6();d.j41(0,"div",10)(1,"div",11),d.bIt("click",function(){d.eBV(A);const g=d.XpG();return d.Njj(g.onClickPrev())}),d.k0s(),d.j41(2,"div",12),d.bIt("click",function(){d.eBV(A);const g=d.XpG();return d.Njj(g.onClickNext())}),d.k0s()()}}function In(P,G){1&P&&(d.j41(0,"div",13),d.nrm(1,"h1",14),d.j41(2,"figure",15),d.nrm(3,"img")(4,"figcaption"),d.k0s(),d.j41(5,"div"),d.nrm(6,"p"),d.k0s()())}let Yt=(()=>{var P;class G extends Vt{}return(P=G).\u0275fac=(()=>{let A;return function(g){return(A||(A=d.xGo(P)))(g||P)}})(),P.\u0275cmp=d.VBU({type:P,selectors:[["div",8,"pxp-content-body"]],standalone:!1,features:[d.Vt3],attrs:ae,decls:7,vars:2,consts:[["dynamicElementsContainer",""],["ghostContent",""],["contentHtmlContainer",""],["id","sprylab_purple_content"],["class","swiper-actions",4,"ngIf"],["id","sprylab_purple_content",1,"entry-content","purple-inner-container","purple-content-body-inner",3,"max-height","innerHtml"],["id","sprylab_purple_content",1,"entry-content","purple-inner-container","purple-content-body-inner",3,"innerHtml"],[4,"ngTemplateOutlet"],[1,"entry-content"],[1,"purple-inner-container","purple-content-body-inner",3,"innerHtml"],[1,"swiper-actions"],[1,"bundle-button","bundle-button-prev","icon","icon-arrow-left",3,"click"],[1,"bundle-button","bundle-button-next","icon","icon-arrow-right",3,"click"],[1,"purple-inner-container","purple-content-body-inner"],[1,"entry-title"],[1,"wp-block-image"]],template:function(y,g){1&y&&(d.DNE(0,E,2,1)(1,le,4,3,"article",3)(2,Ln,3,0,"div",4),d.eu8(3,null,0),d.DNE(5,In,7,0,"ng-template",null,1,d.C5r)),2&y&&(d.vxM(g.domHelper.leanDom?0:1),d.R7$(2),d.Y8G("ngIf",g.isBundle))},dependencies:[ut.bT,ut.T3,dn.$],styles:['.aspectRatioBase[_ngcontent-%COMP%]{position:relative;display:block}.aspectRatioBase[_ngcontent-%COMP%]:before{content:"";position:relative;display:block}.aspectRatioBase[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:absolute}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] h1.entry-title[_ngcontent-%COMP%]{height:1em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;aspect-ratio:2/1;background-color:var(--ghostColor)}.ghost[_ngcontent-%COMP%] .purple-inner-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] > figcaption[_ngcontent-%COMP%]{height:2em;animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor)}#sprylab_purple_content[_ngcontent-%COMP%]{height:100%;width:100%;background-color:var(--contentBgColor);box-sizing:border-box;padding:var(--contentPaddingVert) var(--contentPaddingHoriz);color:var(--contentTextColor);overflow-x:hidden;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}#sprylab_purple_content.open-linking-article[_ngcontent-%COMP%]{pointer-events:none}#sprylab_purple_content.open-linking-article[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;content:"";width:100%;height:100%;background-color:#0003;background-image:var(--contentSpinner);background-size:50%;background-repeat:no-repeat;background-position:center}#sprylab_purple_content[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:var(--contentFont);font-size:1em;font-weight:400;font-style:normal;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:not(input){-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-overflow-scrolling:touch;-webkit-user-drag:none}#sprylab_purple_content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0;margin:var(--contentElementMarginTop) 0 var(--contentElementMarginBottom)!important}#sprylab_purple_content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child:not(header){margin-top:0!important}#sprylab_purple_content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}#sprylab_purple_content[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{border-top:1px solid var(--contentTextColor);border-bottom:1px solid var(--contentTextColor);padding:var(--contentHeaderPaddingVert) 0!important;margin:var(--contentHeaderMarginTop) 0 var(--contentHeaderMarginBottom)!important;overflow:hidden;color:var(--contentTextColor)}#sprylab_purple_content[_ngcontent-%COMP%] header.article-section[_ngcontent-%COMP%]{font-weight:600;text-transform:uppercase}#sprylab_purple_content[_ngcontent-%COMP%] header.article-section[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:inherit}#sprylab_purple_content[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:var(--contentHeaderElementMarginTop) 0 var(--contentHeaderElementMarginBottom)!important}#sprylab_purple_content[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0!important}#sprylab_purple_content[_ngcontent-%COMP%] header[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}#sprylab_purple_content[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%]{padding:var(--contentSectionPaddingVert) var(--contentSectionPaddingHoriz);border:1px solid var(--contentTextColor)}#sprylab_purple_content[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0!important}#sprylab_purple_content[_ngcontent-%COMP%] section.article-boxout[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}#sprylab_purple_content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:var(--contentHeadlineFont);margin:var(--margin)!important}#sprylab_purple_content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] *[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}#sprylab_purple_content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1.4em;font-weight:900;line-height:1.6em}#sprylab_purple_content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1.2em;font-weight:700;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{--margin: var(--contentHeadlineBigMarginTop) 0 var(--contentHeadlineBigMarginBottom);font-size:1em;font-weight:700;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], #sprylab_purple_content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{--margin: var(--contentHeadlineSmallMarginTop) 0 var(--contentHeadlineSmallMarginBottom);font-size:1em;font-weight:600;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] p.has-drop-cap[_ngcontent-%COMP%]:first-letter{font-size:4.8em;font-weight:300;line-height:.8em}#sprylab_purple_content[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%]{padding:var(--contentElementPaddingVert) var(--contentElementPaddingHoriz);border:none}#sprylab_purple_content[_ngcontent-%COMP%] blockquote[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--contentFont);font-style:italic;margin:0}#sprylab_purple_content[_ngcontent-%COMP%] blockquote.is-style-large[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.2em;line-height:1.4em}#sprylab_purple_content[_ngcontent-%COMP%] blockquote.wp-block-pullquote[_ngcontent-%COMP%]{border-color:var(--contentTextColor)}#sprylab_purple_content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:var(--primaryColor)}#sprylab_purple_content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}#sprylab_purple_content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding-left:1em}#sprylab_purple_content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}#sprylab_purple_content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto;max-width:100%;height:auto}#sprylab_purple_content[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{color:var(--contentTextColor);font-size:.8em;font-style:italic;margin:var(--contentElementMarginTop) 0 var(--contentElementMarginBottom)}#sprylab_purple_content[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:700}#sprylab_purple_content[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:inherit}#sprylab_purple_content[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-style:italic}#sprylab_purple_content[_ngcontent-%COMP%] em[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-style:inherit}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-blockgallery-carousel[_ngcontent-%COMP%]{height:-webkit-fit-content;height:fit-content;padding-left:25px;padding-right:25px}#sprylab_purple_content[_ngcontent-%COMP%] .bod-block-popup[_ngcontent-%COMP%]{--width: calc(100% - 50px) ;width:var(--width)!important}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-bod-modal-block[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-separator.is-style-dots[_ngcontent-%COMP%]:before{font-size:12px;padding-left:0}#sprylab_purple_content[_ngcontent-%COMP%] figure.wp-block-gallery[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-embed-youtube[_ngcontent-%COMP%]{--aspectRatio: 56.25%;position:relative;padding:var(--aspectRatio) 0 0}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-embed-youtube[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;height:100%}#sprylab_purple_content[_ngcontent-%COMP%] .wp-block-embed-instagram[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{min-width:0!important}#sprylab_purple_content[_ngcontent-%COMP%] .kt-accordion-header-wrap[_ngcontent-%COMP%]{overflow:hidden}#sprylab_purple_content[_ngcontent-%COMP%] .uagb-toc__wrap[_ngcontent-%COMP%]{width:100%}#sprylab_purple_content[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%]{--maxHeight: 200px}#sprylab_purple_content[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{max-height:var(--maxHeight)!important}#sprylab_purple_content[_ngcontent-%COMP%] .blocks-gallery-item[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:var(--maxHeight)!important}#sprylab_purple_content[_ngcontent-%COMP%] .lightSlider[_ngcontent-%COMP%]{padding:0}#sprylab_purple_content[_ngcontent-%COMP%] .lightSlider[_ngcontent-%COMP%] figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{color:#fff;margin:unset}#sprylab_purple_content[_ngcontent-%COMP%] .lSPager.lSpg[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background-color:var(--primaryColor)}#sprylab_purple_content[_ngcontent-%COMP%] .hype-animation[_ngcontent-%COMP%]{max-width:100%}#sprylab_purple_content[_ngcontent-%COMP%] .full-bleed[_ngcontent-%COMP%]{padding-left:0;padding-right:0}#sprylab_purple_content[_ngcontent-%COMP%] .ub-star-rating[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--contentTextColor)}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%]{font-size:18px}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:absolute;top:50vh;z-index:10;display:block;width:var(--contentNavigateButtonSize);height:var(--contentNavigateButtonSize);-webkit-mask-size:calc(var(--contentNavigateButtonSize) - var(--contentNavigateButtonGap));mask-size:calc(var(--contentNavigateButtonSize) - var(--contentNavigateButtonGap));mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;background-color:var(--contentNavigateButtonColor)}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span#content-button-navigate-back[_ngcontent-%COMP%]{-webkit-mask-image:var(--contentIconNavigateBack);mask-image:var(--contentIconNavigateBack);left:calc(var(--contentPaddingHoriz) / 2 - var(--contentNavigateButtonSize) / 2)}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate[_ngcontent-%COMP%] span#content-button-navigate-forward[_ngcontent-%COMP%]{-webkit-mask-image:var(--contentIconNavigateForward);mask-image:var(--contentIconNavigateForward);right:calc(var(--contentPaddingHoriz) / 2 - var(--contentNavigateButtonSize) / 2)}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}#sprylab_purple_content[_ngcontent-%COMP%] .content-button-navigate.hidden[_ngcontent-%COMP%]{display:none}.night-mode[_ngcontent-%COMP%] #sprylab_purple_content[_ngcontent-%COMP%]{--contentBgColor: var(--contentBgColorNightMode);--contentTextColor: var(--contentTextColorNightMode);--contentNavigateButtonColor: var(--contentNavigateButtonColorNightMode)}.swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%]{background:transparent;position:fixed;top:50%;display:flex;justify-content:center;align-items:center;width:50px;height:50px}.swiper-actions[_ngcontent-%COMP%] .bundle-button.bundle-button-prev[_ngcontent-%COMP%]{left:0;right:auto}.swiper-actions[_ngcontent-%COMP%] .bundle-button.bundle-button-next[_ngcontent-%COMP%]{right:0;left:auto}.swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%] .bundle-button-prev[_ngcontent-%COMP%], .swiper-actions[_ngcontent-%COMP%] .bundle-button[_ngcontent-%COMP%] .bundle-button-next[_ngcontent-%COMP%]{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}@media (min-width: 200px){.has-no-alignment[_ngcontent-%COMP%] .has-grid-lrg[_ngcontent-%COMP%] .blockgallery--item[_ngcontent-%COMP%]{width:50%}}'],changeDetection:0}),G})(),Ot=(()=>{var P;class G{}return(P=G).\u0275fac=function(y){return new(y||P)},P.\u0275mod=d.$C({type:P}),P.\u0275inj=d.G2t({imports:[ut.MD,on.h,re.E,Mt.y,oe.IssueModule]}),G})();const Ht={component:Vt,leanDomComponent:Yt}},1653:function(On,xn){var ut;!function(D,ft){"use strict";"object"==typeof On.exports?On.exports=D.document?ft(D,!0):function(d){if(!d.document)throw new Error("jQuery requires a window with a document");return ft(d)}:ft(D)}(typeof window<"u"?window:this,function(D,ft){"use strict";var d=[],Tn=Object.getPrototypeOf,pt=d.slice,Gt=d.flat?function(t){return d.flat.call(t)}:function(t){return d.concat.apply([],t)},en=d.push,rt=d.indexOf,rn={},Sn=rn.toString,jt=rn.hasOwnProperty,un=jt.toString,wn=un.call(Object),R={},W=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType&&"function"!=typeof n.item},Lt=function(n){return null!=n&&n===n.window},j=D.document,kn={type:!0,src:!0,nonce:!0,noModule:!0};function En(t,n,e){var i,o,a=(e=e||j).createElement("script");if(a.text=t,n)for(i in kn)(o=n[i]||n.getAttribute&&n.getAttribute(i))&&a.setAttribute(i,o);e.head.appendChild(a).parentNode.removeChild(a)}function It(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?rn[Sn.call(t)]||"object":typeof t}var Vn=/HTML$/i,r=function(t,n){return new r.fn.init(t,n)};function fn(t){var n=!!t&&"length"in t&&t.length,e=It(t);return!W(t)&&!Lt(t)&&("array"===e||0===n||"number"==typeof n&&n>0&&n-1 in t)}function Z(t,n){return t.nodeName&&t.nodeName.toLowerCase()===n.toLowerCase()}r.fn=r.prototype={jquery:"3.7.1",constructor:r,length:0,toArray:function(){return pt.call(this)},get:function(t){return null==t?pt.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var n=r.merge(this.constructor(),t);return n.prevObject=this,n},each:function(t){return r.each(this,t)},map:function(t){return this.pushStack(r.map(this,function(n,e){return t.call(n,e,n)}))},slice:function(){return this.pushStack(pt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(r.grep(this,function(t,n){return(n+1)%2}))},odd:function(){return this.pushStack(r.grep(this,function(t,n){return n%2}))},eq:function(t){var n=this.length,e=+t+(t<0?n:0);return this.pushStack(e>=0&&e<n?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:en,sort:d.sort,splice:d.splice},r.extend=r.fn.extend=function(){var t,n,e,i,o,a,c=arguments[0]||{},u=1,l=arguments.length,p=!1;for("boolean"==typeof c&&(p=c,c=arguments[u]||{},u++),"object"!=typeof c&&!W(c)&&(c={}),u===l&&(c=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(n in t)i=t[n],"__proto__"!==n&&c!==i&&(p&&i&&(r.isPlainObject(i)||(o=Array.isArray(i)))?(e=c[n],a=o&&!Array.isArray(e)?[]:o||r.isPlainObject(e)?e:{},o=!1,c[n]=r.extend(p,a,i)):void 0!==i&&(c[n]=i));return c},r.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var n,e;return!(!t||"[object Object]"!==Sn.call(t)||(n=Tn(t))&&("function"!=typeof(e=jt.call(n,"constructor")&&n.constructor)||un.call(e)!==wn))},isEmptyObject:function(t){var n;for(n in t)return!1;return!0},globalEval:function(t,n,e){En(t,{nonce:n&&n.nonce},e)},each:function(t,n){var e,i=0;if(fn(t))for(e=t.length;i<e&&!1!==n.call(t[i],i,t[i]);i++);else for(i in t)if(!1===n.call(t[i],i,t[i]))break;return t},text:function(t){var n,e="",i=0,o=t.nodeType;if(!o)for(;n=t[i++];)e+=r.text(n);return 1===o||11===o?t.textContent:9===o?t.documentElement.textContent:3===o||4===o?t.nodeValue:e},makeArray:function(t,n){var e=n||[];return null!=t&&(fn(Object(t))?r.merge(e,"string"==typeof t?[t]:t):en.call(e,t)),e},inArray:function(t,n,e){return null==n?-1:rt.call(n,t,e)},isXMLDoc:function(t){var e=t&&(t.ownerDocument||t).documentElement;return!Vn.test(t&&t.namespaceURI||e&&e.nodeName||"HTML")},merge:function(t,n){for(var e=+n.length,i=0,o=t.length;i<e;i++)t[o++]=n[i];return t.length=o,t},grep:function(t,n,e){for(var o=[],a=0,c=t.length,u=!e;a<c;a++)!n(t[a],a)!==u&&o.push(t[a]);return o},map:function(t,n,e){var i,o,a=0,c=[];if(fn(t))for(i=t.length;a<i;a++)null!=(o=n(t[a],a,e))&&c.push(o);else for(a in t)null!=(o=n(t[a],a,e))&&c.push(o);return Gt(c)},guid:1,support:R}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=d[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,n){rn["[object "+n+"]"]=n.toLowerCase()});var Un=d.pop,Qn=d.sort,Yn=d.splice,tt="[\\x20\\t\\r\\n\\f]",Xt=new RegExp("^"+tt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+tt+"+$","g");r.contains=function(t,n){var e=n&&n.parentNode;return t===e||!(!e||1!==e.nodeType||!(t.contains?t.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))};var Kn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Hn(t,n){return n?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}r.escapeSelector=function(t){return(t+"").replace(Kn,Hn)};var Pt=j,pn=en;!function(){var t,n,e,i,o,c,u,l,p,m,a=pn,b=r.expando,C=0,M=0,F=Wn(),Q=Wn(),$=Wn(),ct=Wn(),ot=function(s,f){return s===f&&(o=!0),0},St="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",wt="(?:\\\\[\\da-fA-F]{1,6}"+tt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+tt+"*("+wt+")(?:"+tt+"*([*^$|!~]?=)"+tt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+wt+"))|)"+tt+"*\\]",tn=":("+wt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",Y=new RegExp(tt+"+","g"),it=new RegExp("^"+tt+"*,"+tt+"*"),bn=new RegExp("^"+tt+"*([>+~]|"+tt+")"+tt+"*"),Me=new RegExp(tt+"|>"),kt=new RegExp(tn),Pn=new RegExp("^"+wt+"$"),Et={ID:new RegExp("^#("+wt+")"),CLASS:new RegExp("^\\.("+wt+")"),TAG:new RegExp("^("+wt+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+tn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+St+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},qt=/^(?:input|select|textarea|button)$/i,Wt=/^h\d$/i,_t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Oe=/[+~]/,Dt=new RegExp("\\\\[\\da-fA-F]{1,6}"+tt+"?|\\\\([^\\r\\n\\f])","g"),Bt=function(s,f){var h="0x"+s.slice(1)-65536;return f||(h<0?String.fromCharCode(h+65536):String.fromCharCode(h>>10|55296,1023&h|56320))},Bi=function(){$t()},ji=Gn(function(s){return!0===s.disabled&&Z(s,"fieldset")},{dir:"parentNode",next:"legend"});try{a.apply(d=pt.call(Pt.childNodes),Pt.childNodes)}catch(s){a={apply:function(f,h){pn.apply(f,pt.call(h))},call:function(f){pn.apply(f,pt.call(arguments,1))}}}function nt(s,f,h,v){var _,O,S,k,w,X,I,z=f&&f.ownerDocument,V=f?f.nodeType:9;if(h=h||[],"string"!=typeof s||!s||1!==V&&9!==V&&11!==V)return h;if(!v&&($t(f),f=f||c,l)){if(11!==V&&(w=_t.exec(s)))if(_=w[1]){if(9===V){if(!(S=f.getElementById(_)))return h;if(S.id===_)return a.call(h,S),h}else if(z&&(S=z.getElementById(_))&&nt.contains(f,S)&&S.id===_)return a.call(h,S),h}else{if(w[2])return a.apply(h,f.getElementsByTagName(s)),h;if((_=w[3])&&f.getElementsByClassName)return a.apply(h,f.getElementsByClassName(_)),h}if(!(ct[s+" "]||p&&p.test(s))){if(I=s,z=f,1===V&&(Me.test(s)||bn.test(s))){for(((z=Oe.test(s)&&xe(f.parentNode)||f)!=f||!R.scope)&&((k=f.getAttribute("id"))?k=r.escapeSelector(k):f.setAttribute("id",k=b)),O=(X=Mn(s)).length;O--;)X[O]=(k?"#"+k:":scope")+" "+$n(X[O]);I=X.join(",")}try{return a.apply(h,z.querySelectorAll(I)),h}catch(B){ct(s,!0)}finally{k===b&&f.removeAttribute("id")}}}return ni(s.replace(Xt,"$1"),f,h,v)}function Wn(){var s=[];return function f(h,v){return s.push(h+" ")>n.cacheLength&&delete f[s.shift()],f[h+" "]=v}}function Tt(s){return s[b]=!0,s}function sn(s){var f=c.createElement("fieldset");try{return!!s(f)}catch(h){return!1}finally{f.parentNode&&f.parentNode.removeChild(f),f=null}}function Ii(s){return function(f){return Z(f,"input")&&f.type===s}}function Ri(s){return function(f){return(Z(f,"input")||Z(f,"button"))&&f.type===s}}function Ze(s){return function(f){return"form"in f?f.parentNode&&!1===f.disabled?"label"in f?"label"in f.parentNode?f.parentNode.disabled===s:f.disabled===s:f.isDisabled===s||f.isDisabled!==!s&&ji(f)===s:f.disabled===s:"label"in f&&f.disabled===s}}function nn(s){return Tt(function(f){return f=+f,Tt(function(h,v){for(var _,O=s([],h.length,f),S=O.length;S--;)h[_=O[S]]&&(h[_]=!(v[_]=h[_]))})})}function xe(s){return s&&typeof s.getElementsByTagName<"u"&&s}function $t(s){var f,h=s?s.ownerDocument||s:Pt;return h==c||9!==h.nodeType||!h.documentElement||(u=(c=h).documentElement,l=!r.isXMLDoc(c),m=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&Pt!=c&&(f=c.defaultView)&&f.top!==f&&f.addEventListener("unload",Bi),R.getById=sn(function(v){return u.appendChild(v).id=r.expando,!c.getElementsByName||!c.getElementsByName(r.expando).length}),R.disconnectedMatch=sn(function(v){return m.call(v,"*")}),R.scope=sn(function(){return c.querySelectorAll(":scope")}),R.cssHas=sn(function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(v){return!0}}),R.getById?(n.filter.ID=function(v){var _=v.replace(Dt,Bt);return function(O){return O.getAttribute("id")===_}},n.find.ID=function(v,_){if(typeof _.getElementById<"u"&&l){var O=_.getElementById(v);return O?[O]:[]}}):(n.filter.ID=function(v){var _=v.replace(Dt,Bt);return function(O){var S=typeof O.getAttributeNode<"u"&&O.getAttributeNode("id");return S&&S.value===_}},n.find.ID=function(v,_){if(typeof _.getElementById<"u"&&l){var O,S,k,w=_.getElementById(v);if(w){if((O=w.getAttributeNode("id"))&&O.value===v)return[w];for(k=_.getElementsByName(v),S=0;w=k[S++];)if((O=w.getAttributeNode("id"))&&O.value===v)return[w]}return[]}}),n.find.TAG=function(v,_){return typeof _.getElementsByTagName<"u"?_.getElementsByTagName(v):_.querySelectorAll(v)},n.find.CLASS=function(v,_){if(typeof _.getElementsByClassName<"u"&&l)return _.getElementsByClassName(v)},p=[],sn(function(v){var _;u.appendChild(v).innerHTML="<a id='"+b+"' href='' disabled='disabled'></a><select id='"+b+"-\r\\' disabled='disabled'><option selected=''></option></select>",v.querySelectorAll("[selected]").length||p.push("\\["+tt+"*(?:value|"+St+")"),v.querySelectorAll("[id~="+b+"-]").length||p.push("~="),v.querySelectorAll("a#"+b+"+*").length||p.push(".#.+[+~]"),v.querySelectorAll(":checked").length||p.push(":checked"),(_=c.createElement("input")).setAttribute("type","hidden"),v.appendChild(_).setAttribute("name","D"),u.appendChild(v).disabled=!0,2!==v.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(_=c.createElement("input")).setAttribute("name",""),v.appendChild(_),v.querySelectorAll("[name='']").length||p.push("\\["+tt+"*name"+tt+"*="+tt+"*(?:''|\"\")")}),R.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),ot=function(v,_){if(v===_)return o=!0,0;var O=!v.compareDocumentPosition-!_.compareDocumentPosition;return O||(1&(O=(v.ownerDocument||v)==(_.ownerDocument||_)?v.compareDocumentPosition(_):1)||!R.sortDetached&&_.compareDocumentPosition(v)===O?v===c||v.ownerDocument==Pt&&nt.contains(Pt,v)?-1:_===c||_.ownerDocument==Pt&&nt.contains(Pt,_)?1:i?rt.call(i,v)-rt.call(i,_):0:4&O?-1:1)}),c}for(t in nt.matches=function(s,f){return nt(s,null,null,f)},nt.matchesSelector=function(s,f){if($t(s),l&&!ct[f+" "]&&(!p||!p.test(f)))try{var h=m.call(s,f);if(h||R.disconnectedMatch||s.document&&11!==s.document.nodeType)return h}catch(v){ct(f,!0)}return nt(f,c,null,[s]).length>0},nt.contains=function(s,f){return(s.ownerDocument||s)!=c&&$t(s),r.contains(s,f)},nt.attr=function(s,f){(s.ownerDocument||s)!=c&&$t(s);var h=n.attrHandle[f.toLowerCase()],v=h&&jt.call(n.attrHandle,f.toLowerCase())?h(s,f,!l):void 0;return void 0!==v?v:s.getAttribute(f)},nt.error=function(s){throw new Error("Syntax error, unrecognized expression: "+s)},r.uniqueSort=function(s){var f,h=[],v=0,_=0;if(o=!R.sortStable,i=!R.sortStable&&pt.call(s,0),Qn.call(s,ot),o){for(;f=s[_++];)f===s[_]&&(v=h.push(_));for(;v--;)Yn.call(s,h[v],1)}return i=null,s},r.fn.uniqueSort=function(){return this.pushStack(r.uniqueSort(pt.apply(this)))},(n=r.expr={cacheLength:50,createPseudo:Tt,match:Et,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(s){return s[1]=s[1].replace(Dt,Bt),s[3]=(s[3]||s[4]||s[5]||"").replace(Dt,Bt),"~="===s[2]&&(s[3]=" "+s[3]+" "),s.slice(0,4)},CHILD:function(s){return s[1]=s[1].toLowerCase(),"nth"===s[1].slice(0,3)?(s[3]||nt.error(s[0]),s[4]=+(s[4]?s[5]+(s[6]||1):2*("even"===s[3]||"odd"===s[3])),s[5]=+(s[7]+s[8]||"odd"===s[3])):s[3]&&nt.error(s[0]),s},PSEUDO:function(s){var f,h=!s[6]&&s[2];return Et.CHILD.test(s[0])?null:(s[3]?s[2]=s[4]||s[5]||"":h&&kt.test(h)&&(f=Mn(h,!0))&&(f=h.indexOf(")",h.length-f)-h.length)&&(s[0]=s[0].slice(0,f),s[2]=h.slice(0,f)),s.slice(0,3))}},filter:{TAG:function(s){var f=s.replace(Dt,Bt).toLowerCase();return"*"===s?function(){return!0}:function(h){return Z(h,f)}},CLASS:function(s){var f=F[s+" "];return f||(f=new RegExp("(^|"+tt+")"+s+"("+tt+"|$)"))&&F(s,function(h){return f.test("string"==typeof h.className&&h.className||typeof h.getAttribute<"u"&&h.getAttribute("class")||"")})},ATTR:function(s,f,h){return function(v){var _=nt.attr(v,s);return null==_?"!="===f:!f||(_+="","="===f?_===h:"!="===f?_!==h:"^="===f?h&&0===_.indexOf(h):"*="===f?h&&_.indexOf(h)>-1:"$="===f?h&&_.slice(-h.length)===h:"~="===f?(" "+_.replace(Y," ")+" ").indexOf(h)>-1:"|="===f&&(_===h||_.slice(0,h.length+1)===h+"-"))}},CHILD:function(s,f,h,v,_){var O="nth"!==s.slice(0,3),S="last"!==s.slice(-4),k="of-type"===f;return 1===v&&0===_?function(w){return!!w.parentNode}:function(w,X,I){var z,V,B,et,Ct,lt=O!==S?"nextSibling":"previousSibling",bt=w.parentNode,Nt=k&&w.nodeName.toLowerCase(),ln=!I&&!k,gt=!1;if(bt){if(O){for(;lt;){for(B=w;B=B[lt];)if(k?Z(B,Nt):1===B.nodeType)return!1;Ct=lt="only"===s&&!Ct&&"nextSibling"}return!0}if(Ct=[S?bt.firstChild:bt.lastChild],S&&ln){for(gt=(et=(z=(V=bt[b]||(bt[b]={}))[s]||[])[0]===C&&z[1])&&z[2],B=et&&bt.childNodes[et];B=++et&&B&&B[lt]||(gt=et=0)||Ct.pop();)if(1===B.nodeType&&++gt&&B===w){V[s]=[C,et,gt];break}}else if(ln&&(gt=et=(z=(V=w[b]||(w[b]={}))[s]||[])[0]===C&&z[1]),!1===gt)for(;(B=++et&&B&&B[lt]||(gt=et=0)||Ct.pop())&&(!(k?Z(B,Nt):1===B.nodeType)||!++gt||(ln&&((V=B[b]||(B[b]={}))[s]=[C,gt]),B!==w)););return(gt-=_)===v||gt%v==0&>/v>=0}}},PSEUDO:function(s,f){var h,v=n.pseudos[s]||n.setFilters[s.toLowerCase()]||nt.error("unsupported pseudo: "+s);return v[b]?v(f):v.length>1?(h=[s,s,"",f],n.setFilters.hasOwnProperty(s.toLowerCase())?Tt(function(_,O){for(var S,k=v(_,f),w=k.length;w--;)_[S=rt.call(_,k[w])]=!(O[S]=k[w])}):function(_){return v(_,0,h)}):v}},pseudos:{not:Tt(function(s){var f=[],h=[],v=ke(s.replace(Xt,"$1"));return v[b]?Tt(function(_,O,S,k){for(var w,X=v(_,null,k,[]),I=_.length;I--;)(w=X[I])&&(_[I]=!(O[I]=w))}):function(_,O,S){return f[0]=_,v(f,null,S,h),f[0]=null,!h.pop()}}),has:Tt(function(s){return function(f){return nt(s,f).length>0}}),contains:Tt(function(s){return s=s.replace(Dt,Bt),function(f){return(f.textContent||r.text(f)).indexOf(s)>-1}}),lang:Tt(function(s){return Pn.test(s||"")||nt.error("unsupported lang: "+s),s=s.replace(Dt,Bt).toLowerCase(),function(f){var h;do{if(h=l?f.lang:f.getAttribute("xml:lang")||f.getAttribute("lang"))return(h=h.toLowerCase())===s||0===h.indexOf(s+"-")}while((f=f.parentNode)&&1===f.nodeType);return!1}}),target:function(s){var f=D.location&&D.location.hash;return f&&f.slice(1)===s.id},root:function(s){return s===u},focus:function(s){return s===function Li(){try{return c.activeElement}catch(s){}}()&&c.hasFocus()&&!!(s.type||s.href||~s.tabIndex)},enabled:Ze(!1),disabled:Ze(!0),checked:function(s){return Z(s,"input")&&!!s.checked||Z(s,"option")&&!!s.selected},selected:function(s){return!0===s.selected},empty:function(s){for(s=s.firstChild;s;s=s.nextSibling)if(s.nodeType<6)return!1;return!0},parent:function(s){return!n.pseudos.empty(s)},header:function(s){return Wt.test(s.nodeName)},input:function(s){return qt.test(s.nodeName)},button:function(s){return Z(s,"input")&&"button"===s.type||Z(s,"button")},text:function(s){var f;return Z(s,"input")&&"text"===s.type&&(null==(f=s.getAttribute("type"))||"text"===f.toLowerCase())},first:nn(function(){return[0]}),last:nn(function(s,f){return[f-1]}),eq:nn(function(s,f,h){return[h<0?h+f:h]}),even:nn(function(s,f){for(var h=0;h<f;h+=2)s.push(h);return s}),odd:nn(function(s,f){for(var h=1;h<f;h+=2)s.push(h);return s}),lt:nn(function(s,f,h){var v;for(v=h<0?h+f:h>f?f:h;--v>=0;)s.push(v);return s}),gt:nn(function(s,f,h){for(var v=h<0?h+f:h;++v<f;)s.push(v);return s})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=Ii(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=Ri(t);function ti(){}function Mn(s,f){var h,v,_,O,S,k,w,X=Q[s+" "];if(X)return f?0:X.slice(0);for(S=s,k=[],w=n.preFilter;S;){for(O in(!h||(v=it.exec(S)))&&(v&&(S=S.slice(v[0].length)||S),k.push(_=[])),h=!1,(v=bn.exec(S))&&(h=v.shift(),_.push({value:h,type:v[0].replace(Xt," ")}),S=S.slice(h.length)),n.filter)(v=Et[O].exec(S))&&(!w[O]||(v=w[O](v)))&&(h=v.shift(),_.push({value:h,type:O,matches:v}),S=S.slice(h.length));if(!h)break}return f?S.length:S?nt.error(s):Q(s,k).slice(0)}function $n(s){for(var f=0,h=s.length,v="";f<h;f++)v+=s[f].value;return v}function Gn(s,f,h){var v=f.dir,_=f.next,O=_||v,S=h&&"parentNode"===O,k=M++;return f.first?function(w,X,I){for(;w=w[v];)if(1===w.nodeType||S)return s(w,X,I);return!1}:function(w,X,I){var z,V,B=[C,k];if(I){for(;w=w[v];)if((1===w.nodeType||S)&&s(w,X,I))return!0}else for(;w=w[v];)if(1===w.nodeType||S)if(V=w[b]||(w[b]={}),_&&Z(w,_))w=w[v]||w;else{if((z=V[O])&&z[0]===C&&z[1]===k)return B[2]=z[2];if(V[O]=B,B[2]=s(w,X,I))return!0}return!1}}function Te(s){return s.length>1?function(f,h,v){for(var _=s.length;_--;)if(!s[_](f,h,v))return!1;return!0}:s[0]}function Xn(s,f,h,v,_){for(var O,S=[],k=0,w=s.length,X=null!=f;k<w;k++)(O=s[k])&&(!h||h(O,v,_))&&(S.push(O),X&&f.push(k));return S}function Se(s,f,h,v,_,O){return v&&!v[b]&&(v=Se(v)),_&&!_[b]&&(_=Se(_,O)),Tt(function(S,k,w,X){var I,z,V,B,et=[],Ct=[],lt=k.length,bt=S||function Fi(s,f,h){for(var v=0,_=f.length;v<_;v++)nt(s,f[v],h);return h}(f||"*",w.nodeType?[w]:w,[]),Nt=!s||!S&&f?bt:Xn(bt,et,s,w,X);if(h?h(Nt,B=_||(S?s:lt||v)?[]:k,w,X):B=Nt,v)for(I=Xn(B,Ct),v(I,[],w,X),z=I.length;z--;)(V=I[z])&&(B[Ct[z]]=!(Nt[Ct[z]]=V));if(S){if(_||s){if(_){for(I=[],z=B.length;z--;)(V=B[z])&&I.push(Nt[z]=V);_(null,B=[],I,X)}for(z=B.length;z--;)(V=B[z])&&(I=_?rt.call(S,V):et[z])>-1&&(S[I]=!(k[I]=V))}}else B=Xn(B===k?B.splice(lt,B.length):B),_?_(null,k,B,X):a.apply(k,B)})}function we(s){for(var f,h,v,_=s.length,O=n.relative[s[0].type],S=O||n.relative[" "],k=O?1:0,w=Gn(function(z){return z===f},S,!0),X=Gn(function(z){return rt.call(f,z)>-1},S,!0),I=[function(z,V,B){var et=!O&&(B||V!=e)||((f=V).nodeType?w(z,V,B):X(z,V,B));return f=null,et}];k<_;k++)if(h=n.relative[s[k].type])I=[Gn(Te(I),h)];else{if((h=n.filter[s[k].type].apply(null,s[k].matches))[b]){for(v=++k;v<_&&!n.relative[s[v].type];v++);return Se(k>1&&Te(I),k>1&&$n(s.slice(0,k-1).concat({value:" "===s[k-2].type?"*":""})).replace(Xt,"$1"),h,k<v&&we(s.slice(k,v)),v<_&&we(s=s.slice(v)),v<_&&$n(s))}I.push(h)}return Te(I)}function ke(s,f){var h,v=[],_=[],O=$[s+" "];if(!O){for(f||(f=Mn(s)),h=f.length;h--;)(O=we(f[h]))[b]?v.push(O):_.push(O);O=$(s,function zi(s,f){var h=f.length>0,v=s.length>0,_=function(O,S,k,w,X){var I,z,V,B=0,et="0",Ct=O&&[],lt=[],bt=e,Nt=O||v&&n.find.TAG("*",X),ln=C+=null==bt?1:Math.random()||.1,gt=Nt.length;for(X&&(e=S==c||S||X);et!==gt&&null!=(I=Nt[et]);et++){if(v&&I){for(z=0,!S&&I.ownerDocument!=c&&($t(I),k=!l);V=s[z++];)if(V(I,S||c,k)){a.call(w,I);break}X&&(C=ln)}h&&((I=!V&&I)&&B--,O&&Ct.push(I))}if(B+=et,h&&et!==B){for(z=0;V=f[z++];)V(Ct,lt,S,k);if(O){if(B>0)for(;et--;)Ct[et]||lt[et]||(lt[et]=Un.call(w));lt=Xn(lt)}a.apply(w,lt),X&&!O&<.length>0&&B+f.length>1&&r.uniqueSort(w)}return X&&(C=ln,e=bt),Ct};return h?Tt(_):_}(_,v)),O.selector=s}return O}function ni(s,f,h,v){var _,O,S,k,w,X="function"==typeof s&&s,I=!v&&Mn(s=X.selector||s);if(h=h||[],1===I.length){if((O=I[0]=I[0].slice(0)).length>2&&"ID"===(S=O[0]).type&&9===f.nodeType&&l&&n.relative[O[1].type]){if(!(f=(n.find.ID(S.matches[0].replace(Dt,Bt),f)||[])[0]))return h;X&&(f=f.parentNode),s=s.slice(O.shift().value.length)}for(_=Et.needsContext.test(s)?0:O.length;_--&&!n.relative[k=(S=O[_]).type];)if((w=n.find[k])&&(v=w(S.matches[0].replace(Dt,Bt),Oe.test(O[0].type)&&xe(f.parentNode)||f))){if(O.splice(_,1),!(s=v.length&&$n(O)))return a.apply(h,v),h;break}}return(X||ke(s,I))(v,f,!l,h,!f||Oe.test(s)&&xe(f.parentNode)||f),h}ti.prototype=n.filters=n.pseudos,n.setFilters=new ti,R.sortStable=b.split("").sort(ot).join("")===b,$t(),R.sortDetached=sn(function(s){return 1&s.compareDocumentPosition(c.createElement("fieldset"))}),r.find=nt,r.expr[":"]=r.expr.pseudos,r.unique=r.uniqueSort,nt.compile=ke,nt.select=ni,nt.setDocument=$t,nt.tokenize=Mn,nt.escape=r.escapeSelector,nt.getText=r.text,nt.isXML=r.isXMLDoc,nt.selectors=r.expr,nt.support=r.support,nt.uniqueSort=r.uniqueSort}();var Rt=function(t,n,e){for(var i=[],o=void 0!==e;(t=t[n])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&r(t).is(e))break;i.push(t)}return i},dn=function(t,n){for(var e=[];t;t=t.nextSibling)1===t.nodeType&&t!==n&&e.push(t);return e},An=r.expr.match.needsContext,Dn=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function gn(t,n,e){return W(n)?r.grep(t,function(i,o){return!!n.call(i,o,i)!==e}):n.nodeType?r.grep(t,function(i){return i===n!==e}):"string"!=typeof n?r.grep(t,function(i){return rt.call(n,i)>-1!==e}):r.filter(n,t,e)}r.filter=function(t,n,e){var i=n[0];return e&&(t=":not("+t+")"),1===n.length&&1===i.nodeType?r.find.matchesSelector(i,t)?[i]:[]:r.find.matches(t,r.grep(n,function(o){return 1===o.nodeType}))},r.fn.extend({find:function(t){var n,e,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(r(t).filter(function(){for(n=0;n<i;n++)if(r.contains(o[n],this))return!0}));for(e=this.pushStack([]),n=0;n<i;n++)r.find(t,o[n],e);return i>1?r.uniqueSort(e):e},filter:function(t){return this.pushStack(gn(this,t||[],!1))},not:function(t){return this.pushStack(gn(this,t||[],!0))},is:function(t){return!!gn(this,"string"==typeof t&&An.test(t)?r(t):t||[],!1).length}});var Bn,Jn=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Zn=r.fn.init=function(t,n,e){var i,o;if(!t)return this;if(e=e||Bn,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Jn.exec(t))||!i[1]&&n)return!n||n.jquery?(n||e).find(t):this.constructor(n).find(t);if(i[1]){if(r.merge(this,r.parseHTML(i[1],(n=n instanceof r?n[0]:n)&&n.nodeType?n.ownerDocument||n:j,!0)),Dn.test(i[1])&&r.isPlainObject(n))for(i in n)W(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}return(o=j.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):W(t)?void 0!==e.ready?e.ready(t):t(r):r.makeArray(t,this)};Zn.prototype=r.fn,Bn=r(j);var te=/^(?:parents|prev(?:Until|All))/,ne={children:!0,contents:!0,next:!0,prev:!0};function jn(t,n){for(;(t=t[n])&&1!==t.nodeType;);return t}r.fn.extend({has:function(t){var n=r(t,this),e=n.length;return this.filter(function(){for(var i=0;i<e;i++)if(r.contains(this,n[i]))return!0})},closest:function(t,n){var e,i=0,o=this.length,a=[],c="string"!=typeof t&&r(t);if(!An.test(t))for(;i<o;i++)for(e=this[i];e&&e!==n;e=e.parentNode)if(e.nodeType<11&&(c?c.index(e)>-1:1===e.nodeType&&r.find.matchesSelector(e,t))){a.push(e);break}return this.pushStack(a.length>1?r.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?rt.call(r(t),this[0]):rt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,n){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(t,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),r.each({parent:function(t){var n=t.parentNode;return n&&11!==n.nodeType?n:null},parents:function(t){return Rt(t,"parentNode")},parentsUntil:function(t,n,e){return Rt(t,"parentNode",e)},next:function(t){return jn(t,"nextSibling")},prev:function(t){return jn(t,"previousSibling")},nextAll:function(t){return Rt(t,"nextSibling")},prevAll:function(t){return Rt(t,"previousSibling")},nextUntil:function(t,n,e){return Rt(t,"nextSibling",e)},prevUntil:function(t,n,e){return Rt(t,"previousSibling",e)},siblings:function(t){return dn((t.parentNode||{}).firstChild,t)},children:function(t){return dn(t.firstChild)},contents:function(t){return null!=t.contentDocument&&Tn(t.contentDocument)?t.contentDocument:(Z(t,"template")&&(t=t.content||t),r.merge([],t.childNodes))}},function(t,n){r.fn[t]=function(e,i){var o=r.map(this,n,e);return"Until"!==t.slice(-5)&&(i=e),i&&"string"==typeof i&&(o=r.filter(i,o)),this.length>1&&(ne[t]||r.uniqueSort(o),te.test(t)&&o.reverse()),this.pushStack(o)}});var vt=/[^\x20\t\r\n\f]+/g;function Ft(t){return t}function Vt(t){throw t}function hn(t,n,e,i){var o;try{t&&W(o=t.promise)?o.call(t).done(n).fail(e):t&&W(o=t.then)?o.call(t,n,e):n.apply(void 0,[t].slice(i))}catch(a){e.apply(void 0,[a])}}r.Callbacks=function(t){t="string"==typeof t?function ee(t){var n={};return r.each(t.match(vt)||[],function(e,i){n[i]=!0}),n}(t):r.extend({},t);var n,e,i,o,a=[],c=[],u=-1,l=function(){for(o=o||t.once,i=n=!0;c.length;u=-1)for(e=c.shift();++u<a.length;)!1===a[u].apply(e[0],e[1])&&t.stopOnFalse&&(u=a.length,e=!1);t.memory||(e=!1),n=!1,o&&(a=e?[]:"")},p={add:function(){return a&&(e&&!n&&(u=a.length-1,c.push(e)),function m(b){r.each(b,function(C,M){W(M)?(!t.unique||!p.has(M))&&a.push(M):M&&M.length&&"string"!==It(M)&&m(M)})}(arguments),e&&!n&&l()),this},remove:function(){return r.each(arguments,function(m,b){for(var C;(C=r.inArray(b,a,C))>-1;)a.splice(C,1),C<=u&&u--}),this},has:function(m){return m?r.inArray(m,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=c=[],a=e="",this},disabled:function(){return!a},lock:function(){return o=c=[],!e&&!n&&(a=e=""),this},locked:function(){return!!o},fireWith:function(m,b){return o||(b=[m,(b=b||[]).slice?b.slice():b],c.push(b),n||l()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},r.extend({Deferred:function(t){var n=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],e="pending",i={state:function(){return e},always:function(){return o.done(arguments).fail(arguments),this},catch:function(a){return i.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(c){r.each(n,function(u,l){var p=W(a[l[4]])&&a[l[4]];o[l[1]](function(){var m=p&&p.apply(this,arguments);m&&W(m.promise)?m.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[l[0]+"With"](this,p?[m]:arguments)})}),a=null}).promise()},then:function(a,c,u){var l=0;function p(m,b,C,M){return function(){var F=this,Q=arguments,$=function(){var ot,St;if(!(m<l)){if((ot=C.apply(F,Q))===b.promise())throw new TypeError("Thenable self-resolution");W(St=ot&&("object"==typeof ot||"function"==typeof ot)&&ot.then)?M?St.call(ot,p(l,b,Ft,M),p(l,b,Vt,M)):(l++,St.call(ot,p(l,b,Ft,M),p(l,b,Vt,M),p(l,b,Ft,b.notifyWith))):(C!==Ft&&(F=void 0,Q=[ot]),(M||b.resolveWith)(F,Q))}},ct=M?$:function(){try{$()}catch(ot){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(ot,ct.error),m+1>=l&&(C!==Vt&&(F=void 0,Q=[ot]),b.rejectWith(F,Q))}};m?ct():(r.Deferred.getErrorHook?ct.error=r.Deferred.getErrorHook():r.Deferred.getStackHook&&(ct.error=r.Deferred.getStackHook()),D.setTimeout(ct))}}return r.Deferred(function(m){n[0][3].add(p(0,m,W(u)?u:Ft,m.notifyWith)),n[1][3].add(p(0,m,W(a)?a:Ft)),n[2][3].add(p(0,m,W(c)?c:Vt))}).promise()},promise:function(a){return null!=a?r.extend(a,i):i}},o={};return r.each(n,function(a,c){var u=c[2],l=c[5];i[c[1]]=u.add,l&&u.add(function(){e=l},n[3-a][2].disable,n[3-a][3].disable,n[0][2].lock,n[0][3].lock),u.add(c[3].fire),o[c[0]]=function(){return o[c[0]+"With"](this===o?void 0:this,arguments),this},o[c[0]+"With"]=u.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var n=arguments.length,e=n,i=Array(e),o=pt.call(arguments),a=r.Deferred(),c=function(u){return function(l){i[u]=this,o[u]=arguments.length>1?pt.call(arguments):l,--n||a.resolveWith(i,o)}};if(n<=1&&(hn(t,a.done(c(e)).resolve,a.reject,!n),"pending"===a.state()||W(o[e]&&o[e].then)))return a.then();for(;e--;)hn(o[e],c(e),a.reject);return a.promise()}});var ie=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(t,n){D.console&&D.console.warn&&t&&ie.test(t.name)&&D.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},r.readyException=function(t){D.setTimeout(function(){throw t})};var Cn=r.Deferred();function on(){j.removeEventListener("DOMContentLoaded",on),D.removeEventListener("load",on),r.ready()}r.fn.ready=function(t){return Cn.then(t).catch(function(n){r.readyException(n)}),this},r.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--r.readyWait:r.isReady)||(r.isReady=!0,!(!0!==t&&--r.readyWait>0)&&Cn.resolveWith(j,[r]))}}),r.ready.then=Cn.then,"complete"===j.readyState||"loading"!==j.readyState&&!j.documentElement.doScroll?D.setTimeout(r.ready):(j.addEventListener("DOMContentLoaded",on),D.addEventListener("load",on));var Mt=function(t,n,e,i,o,a,c){var u=0,l=t.length,p=null==e;if("object"===It(e))for(u in o=!0,e)Mt(t,n,u,e[u],!0,a,c);else if(void 0!==i&&(o=!0,W(i)||(c=!0),p&&(c?(n.call(t,i),n=null):(p=n,n=function(m,b,C){return p.call(r(m),C)})),n))for(;u<l;u++)n(t[u],e,c?i:i.call(t[u],u,n(t[u],e)));return o?t:p?n.call(t):l?n(t[0],e):a},re=/^-ms-/,oe=/-([a-z])/g;function ae(t,n){return n.toUpperCase()}function yt(t){return t.replace(re,"ms-").replace(oe,ae)}var Ut=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Qt(){this.expando=r.expando+Qt.uid++}Qt.uid=1,Qt.prototype={cache:function(t){var n=t[this.expando];return n||(n={},Ut(t)&&(t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,configurable:!0}))),n},set:function(t,n,e){var i,o=this.cache(t);if("string"==typeof n)o[yt(n)]=e;else for(i in n)o[yt(i)]=n[i];return o},get:function(t,n){return void 0===n?this.cache(t):t[this.expando]&&t[this.expando][yt(n)]},access:function(t,n,e){return void 0===n||n&&"string"==typeof n&&void 0===e?this.get(t,n):(this.set(t,n,e),void 0!==e?e:n)},remove:function(t,n){var e,i=t[this.expando];if(void 0!==i){if(void 0!==n)for((e=(n=Array.isArray(n)?n.map(yt):(n=yt(n))in i?[n]:n.match(vt)||[]).length);e--;)delete i[n[e]];(void 0===n||r.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var n=t[this.expando];return void 0!==n&&!r.isEmptyObject(n)}};var E=new Qt,st=new Qt,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,se=/[A-Z]/g;function Ln(t,n,e){var i;if(void 0===e&&1===t.nodeType)if(i="data-"+n.replace(se,"-$&").toLowerCase(),"string"==typeof(e=t.getAttribute(i))){try{e=function le(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ce.test(t)?JSON.parse(t):t)}(e)}catch(o){}st.set(t,n,e)}else e=void 0;return e}r.extend({hasData:function(t){return st.hasData(t)||E.hasData(t)},data:function(t,n,e){return st.access(t,n,e)},removeData:function(t,n){st.remove(t,n)},_data:function(t,n,e){return E.access(t,n,e)},_removeData:function(t,n){E.remove(t,n)}}),r.fn.extend({data:function(t,n){var e,i,o,a=this[0],c=a&&a.attributes;if(void 0===t){if(this.length&&(o=st.get(a),1===a.nodeType&&!E.get(a,"hasDataAttrs"))){for(e=c.length;e--;)c[e]&&0===(i=c[e].name).indexOf("data-")&&(i=yt(i.slice(5)),Ln(a,i,o[i]));E.set(a,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){st.set(this,t)}):Mt(this,function(u){var l;if(a&&void 0===u)return void 0!==(l=st.get(a,t))||void 0!==(l=Ln(a,t))?l:void 0;this.each(function(){st.set(this,t,u)})},null,n,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){st.remove(this,t)})}}),r.extend({queue:function(t,n,e){var i;if(t)return i=E.get(t,n=(n||"fx")+"queue"),e&&(!i||Array.isArray(e)?i=E.access(t,n,r.makeArray(e)):i.push(e)),i||[]},dequeue:function(t,n){var e=r.queue(t,n=n||"fx"),i=e.length,o=e.shift(),a=r._queueHooks(t,n);"inprogress"===o&&(o=e.shift(),i--),o&&("fx"===n&&e.unshift("inprogress"),delete a.stop,o.call(t,function(){r.dequeue(t,n)},a)),!i&&a&&a.empty.fire()},_queueHooks:function(t,n){var e=n+"queueHooks";return E.get(t,e)||E.access(t,e,{empty:r.Callbacks("once memory").add(function(){E.remove(t,[n+"queue",e])})})}}),r.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?r.queue(this[0],t):void 0===n?this:this.each(function(){var i=r.queue(this,t,n);r._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&r.dequeue(this,t)})},dequeue:function(t){return this.each(function(){r.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){var e,i=1,o=r.Deferred(),a=this,c=this.length,u=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof t&&(n=t,t=void 0),t=t||"fx";c--;)(e=E.get(a[c],t+"queueHooks"))&&e.empty&&(i++,e.empty.add(u));return u(),o.promise(n)}});var In=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Yt=new RegExp("^(?:([+-])=|)("+In+")([a-z%]*)$","i"),Ot=["Top","Right","Bottom","Left"],Ht=j.documentElement,P=function(t){return r.contains(t.ownerDocument,t)},G={composed:!0};Ht.getRootNode&&(P=function(t){return r.contains(t.ownerDocument,t)||t.getRootNode(G)===t.ownerDocument});var A=function(t,n){return"none"===(t=n||t).style.display||""===t.style.display&&P(t)&&"none"===r.css(t,"display")};function y(t,n,e,i){var o,a,c=20,u=i?function(){return i.cur()}:function(){return r.css(t,n,"")},l=u(),p=e&&e[3]||(r.cssNumber[n]?"":"px"),m=t.nodeType&&(r.cssNumber[n]||"px"!==p&&+l)&&Yt.exec(r.css(t,n));if(m&&m[3]!==p){for(p=p||m[3],m=+(l/=2)||1;c--;)r.style(t,n,m+p),(1-a)*(1-(a=u()/l||.5))<=0&&(c=0),m/=a;r.style(t,n,(m*=2)+p),e=e||[]}return e&&(m=+m||+l||0,o=e[1]?m+(e[1]+1)*e[2]:+e[2],i&&(i.unit=p,i.start=m,i.end=o)),o}var g={};function T(t){var n,e=t.ownerDocument,i=t.nodeName,o=g[i];return o||(n=e.body.appendChild(e.createElement(i)),o=r.css(n,"display"),n.parentNode.removeChild(n),"none"===o&&(o="block"),g[i]=o,o)}function x(t,n){for(var e,i,o=[],a=0,c=t.length;a<c;a++)(i=t[a]).style&&(e=i.style.display,n?("none"===e&&(o[a]=E.get(i,"display")||null,o[a]||(i.style.display="")),""===i.style.display&&A(i)&&(o[a]=T(i))):"none"!==e&&(o[a]="none",E.set(i,"display",e)));for(a=0;a<c;a++)null!=o[a]&&(t[a].style.display=o[a]);return t}r.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){A(this)?r(this).show():r(this).hide()})}});var n,e,L=/^(?:checkbox|radio)$/i,N=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,K=/^$|^module$|\/(?:java|ecma)script/i;n=j.createDocumentFragment().appendChild(j.createElement("div")),(e=j.createElement("input")).setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),n.appendChild(e),R.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",R.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",R.option=!!n.lastChild;var J={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function H(t,n){var e;return e=typeof t.getElementsByTagName<"u"?t.getElementsByTagName(n||"*"):typeof t.querySelectorAll<"u"?t.querySelectorAll(n||"*"):[],void 0===n||n&&Z(t,n)?r.merge([t],e):e}function at(t,n){for(var e=0,i=t.length;e<i;e++)E.set(t[e],"globalEval",!n||E.get(n[e],"globalEval"))}J.tbody=J.tfoot=J.colgroup=J.caption=J.thead,J.th=J.td,R.option||(J.optgroup=J.option=[1,"<select multiple='multiple'>","</select>"]);var dt=/<|&#?\w+;/;function Kt(t,n,e,i,o){for(var a,c,u,l,p,m,b=n.createDocumentFragment(),C=[],M=0,F=t.length;M<F;M++)if((a=t[M])||0===a)if("object"===It(a))r.merge(C,a.nodeType?[a]:a);else if(dt.test(a)){for(c=c||b.appendChild(n.createElement("div")),u=(N.exec(a)||["",""])[1].toLowerCase(),c.innerHTML=(l=J[u]||J._default)[1]+r.htmlPrefilter(a)+l[2],m=l[0];m--;)c=c.lastChild;r.merge(C,c.childNodes),(c=b.firstChild).textContent=""}else C.push(n.createTextNode(a));for(b.textContent="",M=0;a=C[M++];)if(i&&r.inArray(a,i)>-1)o&&o.push(a);else if(p=P(a),c=H(b.appendChild(a),"script"),p&&at(c),e)for(m=0;a=c[m++];)K.test(a.type||"")&&e.push(a);return b}var At=/^([^.]*)(?:\.(.+)|)/;function mt(){return!0}function zt(){return!1}function ue(t,n,e,i,o,a){var c,u;if("object"==typeof n){for(u in"string"!=typeof e&&(i=i||e,e=void 0),n)ue(t,u,e,i,n[u],a);return t}if(null==i&&null==o?(o=e,i=e=void 0):null==o&&("string"==typeof e?(o=i,i=void 0):(o=i,i=e,e=void 0)),!1===o)o=zt;else if(!o)return t;return 1===a&&(c=o,o=function(l){return r().off(l),c.apply(this,arguments)},o.guid=c.guid||(c.guid=r.guid++)),t.each(function(){r.event.add(this,n,o,i,e)})}function Rn(t,n,e){e?(E.set(t,n,!1),r.event.add(t,n,{namespace:!1,handler:function(i){var o,a=E.get(this,n);if(1&i.isTrigger&&this[n]){if(a)(r.event.special[n]||{}).delegateType&&i.stopPropagation();else if(a=pt.call(arguments),E.set(this,n,a),this[n](),o=E.get(this,n),E.set(this,n,!1),a!==o)return i.stopImmediatePropagation(),i.preventDefault(),o}else a&&(E.set(this,n,r.event.trigger(a[0],a.slice(1),this)),i.stopPropagation(),i.isImmediatePropagationStopped=mt)}})):void 0===E.get(t,n)&&r.event.add(t,n,mt)}r.event={global:{},add:function(t,n,e,i,o){var a,c,u,l,p,m,b,C,M,F,Q,$=E.get(t);if(Ut(t))for(e.handler&&(e=(a=e).handler,o=a.selector),o&&r.find.matchesSelector(Ht,o),e.guid||(e.guid=r.guid++),(l=$.events)||(l=$.events=Object.create(null)),(c=$.handle)||(c=$.handle=function(ct){return typeof r<"u"&&r.event.triggered!==ct.type?r.event.dispatch.apply(t,arguments):void 0}),p=(n=(n||"").match(vt)||[""]).length;p--;)M=Q=(u=At.exec(n[p])||[])[1],F=(u[2]||"").split(".").sort(),M&&(b=r.event.special[M]||{},b=r.event.special[M=(o?b.delegateType:b.bindType)||M]||{},m=r.extend({type:M,origType:Q,data:i,handler:e,guid:e.guid,selector:o,needsContext:o&&r.expr.match.needsContext.test(o),namespace:F.join(".")},a),(C=l[M])||((C=l[M]=[]).delegateCount=0,(!b.setup||!1===b.setup.call(t,i,F,c))&&t.addEventListener&&t.addEventListener(M,c)),b.add&&(b.add.call(t,m),m.handler.guid||(m.handler.guid=e.guid)),o?C.splice(C.delegateCount++,0,m):C.push(m),r.event.global[M]=!0)},remove:function(t,n,e,i,o){var a,c,u,l,p,m,b,C,M,F,Q,$=E.hasData(t)&&E.get(t);if($&&(l=$.events)){for(p=(n=(n||"").match(vt)||[""]).length;p--;)if(M=Q=(u=At.exec(n[p])||[])[1],F=(u[2]||"").split(".").sort(),M){for(b=r.event.special[M]||{},C=l[M=(i?b.delegateType:b.bindType)||M]||[],u=u[2]&&new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=a=C.length;a--;)m=C[a],(o||Q===m.origType)&&(!e||e.guid===m.guid)&&(!u||u.test(m.namespace))&&(!i||i===m.selector||"**"===i&&m.selector)&&(C.splice(a,1),m.selector&&C.delegateCount--,b.remove&&b.remove.call(t,m));c&&!C.length&&((!b.teardown||!1===b.teardown.call(t,F,$.handle))&&r.removeEvent(t,M,$.handle),delete l[M])}else for(M in l)r.event.remove(t,M+n[p],e,i,!0);r.isEmptyObject(l)&&E.remove(t,"handle events")}},dispatch:function(t){var n,e,i,o,a,c,u=new Array(arguments.length),l=r.event.fix(t),p=(E.get(this,"events")||Object.create(null))[l.type]||[],m=r.event.special[l.type]||{};for(u[0]=l,n=1;n<arguments.length;n++)u[n]=arguments[n];if(l.delegateTarget=this,!m.preDispatch||!1!==m.preDispatch.call(this,l)){for(c=r.event.handlers.call(this,l,p),n=0;(o=c[n++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,e=0;(a=o.handlers[e++])&&!l.isImmediatePropagationStopped();)(!l.rnamespace||!1===a.namespace||l.rnamespace.test(a.namespace))&&(l.handleObj=a,l.data=a.data,void 0!==(i=((r.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return m.postDispatch&&m.postDispatch.call(this,l),l.result}},handlers:function(t,n){var e,i,o,a,c,u=[],l=n.delegateCount,p=t.target;if(l&&p.nodeType&&!("click"===t.type&&t.button>=1))for(;p!==this;p=p.parentNode||this)if(1===p.nodeType&&("click"!==t.type||!0!==p.disabled)){for(a=[],c={},e=0;e<l;e++)void 0===c[o=(i=n[e]).selector+" "]&&(c[o]=i.needsContext?r(o,this).index(p)>-1:r.find(o,this,null,[p]).length),c[o]&&a.push(i);a.length&&u.push({elem:p,handlers:a})}return p=this,l<n.length&&u.push({elem:p,handlers:n.slice(l)}),u},addProp:function(t,n){Object.defineProperty(r.Event.prototype,t,{enumerable:!0,configurable:!0,get:W(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[r.expando]?t:new r.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var n=this||t;return L.test(n.type)&&n.click&&Z(n,"input")&&Rn(n,"click",!0),!1},trigger:function(t){var n=this||t;return L.test(n.type)&&n.click&&Z(n,"input")&&Rn(n,"click"),!0},_default:function(t){var n=t.target;return L.test(n.type)&&n.click&&Z(n,"input")&&E.get(n,"click")||Z(n,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},r.removeEvent=function(t,n,e){t.removeEventListener&&t.removeEventListener(n,e)},r.Event=function(t,n){if(!(this instanceof r.Event))return new r.Event(t,n);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?mt:zt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,n&&r.extend(this,n),this.timeStamp=t&&t.timeStamp||Date.now(),this[r.expando]=!0},r.Event.prototype={constructor:r.Event,isDefaultPrevented:zt,isPropagationStopped:zt,isImmediatePropagationStopped:zt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=mt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=mt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=mt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},r.event.addProp),r.each({focus:"focusin",blur:"focusout"},function(t,n){function e(i){if(j.documentMode){var o=E.get(this,"handle"),a=r.event.fix(i);a.type="focusin"===i.type?"focus":"blur",a.isSimulated=!0,o(i),a.target===a.currentTarget&&o(a)}else r.event.simulate(n,i.target,r.event.fix(i))}r.event.special[t]={setup:function(){var i;if(Rn(this,t,!0),!j.documentMode)return!1;(i=E.get(this,n))||this.addEventListener(n,e),E.set(this,n,(i||0)+1)},trigger:function(){return Rn(this,t),!0},teardown:function(){var i;if(!j.documentMode)return!1;(i=E.get(this,n)-1)?E.set(this,n,i):(this.removeEventListener(n,e),E.remove(this,n))},_default:function(i){return E.get(i.target,t)},delegateType:n},r.event.special[n]={setup:function(){var i=this.ownerDocument||this.document||this,o=j.documentMode?this:i,a=E.get(o,n);a||(j.documentMode?this.addEventListener(n,e):i.addEventListener(t,e,!0)),E.set(o,n,(a||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=j.documentMode?this:i,a=E.get(o,n)-1;a?E.set(o,n,a):(j.documentMode?this.removeEventListener(n,e):i.removeEventListener(t,e,!0),E.remove(o,n))}}}),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){r.event.special[t]={delegateType:n,bindType:n,handle:function(e){var i,a=e.relatedTarget,c=e.handleObj;return(!a||a!==this&&!r.contains(this,a))&&(e.type=c.origType,i=c.handler.apply(this,arguments),e.type=n),i}}}),r.fn.extend({on:function(t,n,e,i){return ue(this,t,n,e,i)},one:function(t,n,e,i){return ue(this,t,n,e,i,1)},off:function(t,n,e){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,r(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,n,t[o]);return this}return(!1===n||"function"==typeof n)&&(e=n,n=void 0),!1===e&&(e=zt),this.each(function(){r.event.remove(this,t,e,n)})}});var ei=/<script|<style|<link/i,ii=/checked\s*(?:[^=]|=\s*.checked.)/i,ri=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ee(t,n){return Z(t,"table")&&Z(11!==n.nodeType?n:n.firstChild,"tr")&&r(t).children("tbody")[0]||t}function oi(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function ai(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ne(t,n){var e,i,o,c,u,l;if(1===n.nodeType){if(E.hasData(t)&&(l=E.get(t).events))for(o in E.remove(n,"handle events"),l)for(e=0,i=l[o].length;e<i;e++)r.event.add(n,o,l[o][e]);st.hasData(t)&&(c=st.access(t),u=r.extend({},c),st.set(n,u))}}function ci(t,n){var e=n.nodeName.toLowerCase();"input"===e&&L.test(t.type)?n.checked=t.checked:("input"===e||"textarea"===e)&&(n.defaultValue=t.defaultValue)}function an(t,n,e,i){n=Gt(n);var o,a,c,u,l,p,m=0,b=t.length,C=b-1,M=n[0],F=W(M);if(F||b>1&&"string"==typeof M&&!R.checkClone&&ii.test(M))return t.each(function(Q){var $=t.eq(Q);F&&(n[0]=M.call(this,Q,$.html())),an($,n,e,i)});if(b&&(a=(o=Kt(n,t[0].ownerDocument,!1,t,i)).firstChild,1===o.childNodes.length&&(o=a),a||i)){for(u=(c=r.map(H(o,"script"),oi)).length;m<b;m++)l=o,m!==C&&(l=r.clone(l,!0,!0),u&&r.merge(c,H(l,"script"))),e.call(t[m],l,m);if(u)for(p=c[c.length-1].ownerDocument,r.map(c,ai),m=0;m<u;m++)K.test((l=c[m]).type||"")&&!E.access(l,"globalEval")&&r.contains(p,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?r._evalUrl&&!l.noModule&&r._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},p):En(l.textContent.replace(ri,""),l,p))}return t}function He(t,n,e){for(var i,o=n?r.filter(n,t):t,a=0;null!=(i=o[a]);a++)!e&&1===i.nodeType&&r.cleanData(H(i)),i.parentNode&&(e&&P(i)&&at(H(i,"script")),i.parentNode.removeChild(i));return t}r.extend({htmlPrefilter:function(t){return t},clone:function(t,n,e){var i,o,a,c,u=t.cloneNode(!0),l=P(t);if(!(R.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||r.isXMLDoc(t)))for(c=H(u),i=0,o=(a=H(t)).length;i<o;i++)ci(a[i],c[i]);if(n)if(e)for(a=a||H(t),c=c||H(u),i=0,o=a.length;i<o;i++)Ne(a[i],c[i]);else Ne(t,u);return(c=H(u,"script")).length>0&&at(c,!l&&H(t,"script")),u},cleanData:function(t){for(var n,e,i,o=r.event.special,a=0;void 0!==(e=t[a]);a++)if(Ut(e)){if(n=e[E.expando]){if(n.events)for(i in n.events)o[i]?r.event.remove(e,i):r.removeEvent(e,i,n.handle);e[E.expando]=void 0}e[st.expando]&&(e[st.expando]=void 0)}}}),r.fn.extend({detach:function(t){return He(this,t,!0)},remove:function(t){return He(this,t)},text:function(t){return Mt(this,function(n){return void 0===n?r.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=n)})},null,t,arguments.length)},append:function(){return an(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ee(this,t).appendChild(t)})},prepend:function(){return an(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var n=Ee(this,t);n.insertBefore(t,n.firstChild)}})},before:function(){return an(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return an(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,n=0;null!=(t=this[n]);n++)1===t.nodeType&&(r.cleanData(H(t,!1)),t.textContent="");return this},clone:function(t,n){return t=null!=t&&t,n=null==n?t:n,this.map(function(){return r.clone(this,t,n)})},html:function(t){return Mt(this,function(n){var e=this[0]||{},i=0,o=this.length;if(void 0===n&&1===e.nodeType)return e.innerHTML;if("string"==typeof n&&!ei.test(n)&&!J[(N.exec(n)||["",""])[1].toLowerCase()]){n=r.htmlPrefilter(n);try{for(;i<o;i++)1===(e=this[i]||{}).nodeType&&(r.cleanData(H(e,!1)),e.innerHTML=n);e=0}catch(a){}}e&&this.empty().append(n)},null,t,arguments.length)},replaceWith:function(){var t=[];return an(this,arguments,function(n){var e=this.parentNode;r.inArray(this,t)<0&&(r.cleanData(H(this)),e&&e.replaceChild(n,this))},t)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){r.fn[t]=function(e){for(var i,o=[],a=r(e),c=a.length-1,u=0;u<=c;u++)i=u===c?this:this.clone(!0),r(a[u])[n](i),en.apply(o,i.get());return this.pushStack(o)}});var fe=new RegExp("^("+In+")(?!px)[a-z%]+$","i"),pe=/^--/,Fn=function(t){var n=t.ownerDocument.defaultView;return(!n||!n.opener)&&(n=D),n.getComputedStyle(t)},Ae=function(t,n,e){var i,o,a={};for(o in n)a[o]=t.style[o],t.style[o]=n[o];for(o in i=e.call(t),n)t.style[o]=a[o];return i},si=new RegExp(Ot.join("|"),"i");function vn(t,n,e){var i,o,a,c,u=pe.test(n),l=t.style;return(e=e||Fn(t))&&(c=e.getPropertyValue(n)||e[n],u&&c&&(c=c.replace(Xt,"$1")||void 0),""===c&&!P(t)&&(c=r.style(t,n)),!R.pixelBoxStyles()&&fe.test(c)&&si.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=c,c=e.width,l.width=i,l.minWidth=o,l.maxWidth=a)),void 0!==c?c+"":c}function De(t,n){return{get:function(){if(!t())return(this.get=n).apply(this,arguments);delete this.get}}}!function(){function t(){if(p){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",p.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ht.appendChild(l).appendChild(p);var m=D.getComputedStyle(p);e="1%"!==m.top,u=12===n(m.marginLeft),p.style.right="60%",a=36===n(m.right),i=36===n(m.width),p.style.position="absolute",o=12===n(p.offsetWidth/3),Ht.removeChild(l),p=null}}function n(m){return Math.round(parseFloat(m))}var e,i,o,a,c,u,l=j.createElement("div"),p=j.createElement("div");p.style&&(p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",R.clearCloneStyle="content-box"===p.style.backgroundClip,r.extend(R,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),e},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var m,b,C,M;return null==c&&(m=j.createElement("table"),b=j.createElement("tr"),C=j.createElement("div"),m.style.cssText="position:absolute;left:-11111px;border-collapse:separate",b.style.cssText="box-sizing:content-box;border:1px solid",b.style.height="1px",C.style.height="9px",C.style.display="block",Ht.appendChild(m).appendChild(b).appendChild(C),M=D.getComputedStyle(b),c=parseInt(M.height,10)+parseInt(M.borderTopWidth,10)+parseInt(M.borderBottomWidth,10)===b.offsetHeight,Ht.removeChild(m)),c}}))}();var Be=["Webkit","Moz","ms"],je=j.createElement("div").style,Le={};function de(t){return r.cssProps[t]||Le[t]||(t in je?t:Le[t]=function li(t){for(var n=t[0].toUpperCase()+t.slice(1),e=Be.length;e--;)if((t=Be[e]+n)in je)return t}(t)||t)}var ui=/^(none|table(?!-c[ea]).+)/,fi={position:"absolute",visibility:"hidden",display:"block"},Ie={letterSpacing:"0",fontWeight:"400"};function Re(t,n,e){var i=Yt.exec(n);return i?Math.max(0,i[2]-(e||0))+(i[3]||"px"):n}function ge(t,n,e,i,o,a){var c="width"===n?1:0,u=0,l=0,p=0;if(e===(i?"border":"content"))return 0;for(;c<4;c+=2)"margin"===e&&(p+=r.css(t,e+Ot[c],!0,o)),i?("content"===e&&(l-=r.css(t,"padding"+Ot[c],!0,o)),"margin"!==e&&(l-=r.css(t,"border"+Ot[c]+"Width",!0,o))):(l+=r.css(t,"padding"+Ot[c],!0,o),"padding"!==e?l+=r.css(t,"border"+Ot[c]+"Width",!0,o):u+=r.css(t,"border"+Ot[c]+"Width",!0,o));return!i&&a>=0&&(l+=Math.max(0,Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-a-l-u-.5))||0),l+p}function Fe(t,n,e){var i=Fn(t),a=(!R.boxSizingReliable()||e)&&"border-box"===r.css(t,"boxSizing",!1,i),c=a,u=vn(t,n,i),l="offset"+n[0].toUpperCase()+n.slice(1);if(fe.test(u)){if(!e)return u;u="auto"}return(!R.boxSizingReliable()&&a||!R.reliableTrDimensions()&&Z(t,"tr")||"auto"===u||!parseFloat(u)&&"inline"===r.css(t,"display",!1,i))&&t.getClientRects().length&&(a="border-box"===r.css(t,"boxSizing",!1,i),(c=l in t)&&(u=t[l])),(u=parseFloat(u)||0)+ge(t,n,e||(a?"border":"content"),c,i,u)+"px"}function ht(t,n,e,i,o){return new ht.prototype.init(t,n,e,i,o)}r.extend({cssHooks:{opacity:{get:function(t,n){if(n){var e=vn(t,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,n,e,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,c,u=yt(n),l=pe.test(n),p=t.style;if(l||(n=de(u)),c=r.cssHooks[n]||r.cssHooks[u],void 0===e)return c&&"get"in c&&void 0!==(o=c.get(t,!1,i))?o:p[n];if("string"==(a=typeof e)&&(o=Yt.exec(e))&&o[1]&&(e=y(t,n,o),a="number"),null==e||e!=e)return;"number"===a&&!l&&(e+=o&&o[3]||(r.cssNumber[u]?"":"px")),!R.clearCloneStyle&&""===e&&0===n.indexOf("background")&&(p[n]="inherit"),(!c||!("set"in c)||void 0!==(e=c.set(t,e,i)))&&(l?p.setProperty(n,e):p[n]=e)}},css:function(t,n,e,i){var o,a,c,u=yt(n);return pe.test(n)||(n=de(u)),(c=r.cssHooks[n]||r.cssHooks[u])&&"get"in c&&(o=c.get(t,!0,e)),void 0===o&&(o=vn(t,n,i)),"normal"===o&&n in Ie&&(o=Ie[n]),""===e||e?(a=parseFloat(o),!0===e||isFinite(a)?a||0:o):o}}),r.each(["height","width"],function(t,n){r.cssHooks[n]={get:function(e,i,o){if(i)return!ui.test(r.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Fe(e,n,o):Ae(e,fi,function(){return Fe(e,n,o)})},set:function(e,i,o){var a,c=Fn(e),u=!R.scrollboxSize()&&"absolute"===c.position,p=(u||o)&&"border-box"===r.css(e,"boxSizing",!1,c),m=o?ge(e,n,o,p,c):0;return p&&u&&(m-=Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(c[n])-ge(e,n,"border",!1,c)-.5)),m&&(a=Yt.exec(i))&&"px"!==(a[3]||"px")&&(e.style[n]=i,i=r.css(e,n)),Re(0,i,m)}}}),r.cssHooks.marginLeft=De(R.reliableMarginLeft,function(t,n){if(n)return(parseFloat(vn(t,"marginLeft"))||t.getBoundingClientRect().left-Ae(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(t,n){r.cssHooks[t+n]={expand:function(e){for(var i=0,o={},a="string"==typeof e?e.split(" "):[e];i<4;i++)o[t+Ot[i]+n]=a[i]||a[i-2]||a[0];return o}},"margin"!==t&&(r.cssHooks[t+n].set=Re)}),r.fn.extend({css:function(t,n){return Mt(this,function(e,i,o){var a,c,u={},l=0;if(Array.isArray(i)){for(a=Fn(e),c=i.length;l<c;l++)u[i[l]]=r.css(e,i[l],!1,a);return u}return void 0!==o?r.style(e,i,o):r.css(e,i)},t,n,arguments.length>1)}}),r.Tween=ht,ht.prototype={constructor:ht,init:function(t,n,e,i,o,a){this.elem=t,this.prop=e,this.easing=o||r.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=i,this.unit=a||(r.cssNumber[e]?"":"px")},cur:function(){var t=ht.propHooks[this.prop];return t&&t.get?t.get(this):ht.propHooks._default.get(this)},run:function(t){var n,e=ht.propHooks[this.prop];return this.pos=n=this.options.duration?r.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):ht.propHooks._default.set(this),this}},ht.prototype.init.prototype=ht.prototype,ht.propHooks={_default:{get:function(t){var n;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(n=r.css(t.elem,t.prop,""))&&"auto"!==n?n:0},set:function(t){r.fx.step[t.prop]?r.fx.step[t.prop](t):1!==t.elem.nodeType||!r.cssHooks[t.prop]&&null==t.elem.style[de(t.prop)]?t.elem[t.prop]=t.now:r.style(t.elem,t.prop,t.now+t.unit)}}},ht.propHooks.scrollTop=ht.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},r.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},r.fx=ht.prototype.init,r.fx.step={};var cn,zn,pi=/^(?:toggle|show|hide)$/,di=/queueHooks$/;function he(){zn&&(!1===j.hidden&&D.requestAnimationFrame?D.requestAnimationFrame(he):D.setTimeout(he,r.fx.interval),r.fx.tick())}function ze(){return D.setTimeout(function(){cn=void 0}),cn=Date.now()}function qn(t,n){var e,i=0,o={height:t};for(n=n?1:0;i<4;i+=2-n)o["margin"+(e=Ot[i])]=o["padding"+e]=t;return n&&(o.opacity=o.width=t),o}function qe(t,n,e){for(var i,o=(xt.tweeners[n]||[]).concat(xt.tweeners["*"]),a=0,c=o.length;a<c;a++)if(i=o[a].call(e,n,t))return i}function xt(t,n,e){var i,o,a=0,c=xt.prefilters.length,u=r.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var b=cn||ze(),C=Math.max(0,p.startTime+p.duration-b),F=1-(C/p.duration||0),Q=0,$=p.tweens.length;Q<$;Q++)p.tweens[Q].run(F);return u.notifyWith(t,[p,F,C]),F<1&&$?C:($||u.notifyWith(t,[p,1,0]),u.resolveWith(t,[p]),!1)},p=u.promise({elem:t,props:r.extend({},n),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},e),originalProperties:n,originalOptions:e,startTime:cn||ze(),duration:e.duration,tweens:[],createTween:function(b,C){var M=r.Tween(t,p.opts,b,C,p.opts.specialEasing[b]||p.opts.easing);return p.tweens.push(M),M},stop:function(b){var C=0,M=b?p.tweens.length:0;if(o)return this;for(o=!0;C<M;C++)p.tweens[C].run(1);return b?(u.notifyWith(t,[p,1,0]),u.resolveWith(t,[p,b])):u.rejectWith(t,[p,b]),this}}),m=p.props;for(function hi(t,n){var e,i,o,a,c;for(e in t)if(o=n[i=yt(e)],a=t[e],Array.isArray(a)&&(o=a[1],a=t[e]=a[0]),e!==i&&(t[i]=a,delete t[e]),(c=r.cssHooks[i])&&"expand"in c)for(e in a=c.expand(a),delete t[i],a)e in t||(t[e]=a[e],n[e]=o);else n[i]=o}(m,p.opts.specialEasing);a<c;a++)if(i=xt.prefilters[a].call(p,t,m,p.opts))return W(i.stop)&&(r._queueHooks(p.elem,p.opts.queue).stop=i.stop.bind(i)),i;return r.map(m,qe,p),W(p.opts.start)&&p.opts.start.call(t,p),p.progress(p.opts.progress).done(p.opts.done,p.opts.complete).fail(p.opts.fail).always(p.opts.always),r.fx.timer(r.extend(l,{elem:t,anim:p,queue:p.opts.queue})),p}r.Animation=r.extend(xt,{tweeners:{"*":[function(t,n){var e=this.createTween(t,n);return y(e.elem,t,Yt.exec(n),e),e}]},tweener:function(t,n){W(t)?(n=t,t=["*"]):t=t.match(vt);for(var e,i=0,o=t.length;i<o;i++)(xt.tweeners[e=t[i]]=xt.tweeners[e]||[]).unshift(n)},prefilters:[function gi(t,n,e){var i,o,a,c,u,l,p,m,b="width"in n||"height"in n,C=this,M={},F=t.style,Q=t.nodeType&&A(t),$=E.get(t,"fxshow");for(i in e.queue||(null==(c=r._queueHooks(t,"fx")).unqueued&&(c.unqueued=0,u=c.empty.fire,c.empty.fire=function(){c.unqueued||u()}),c.unqueued++,C.always(function(){C.always(function(){c.unqueued--,r.queue(t,"fx").length||c.empty.fire()})})),n)if(pi.test(o=n[i])){if(delete n[i],a=a||"toggle"===o,o===(Q?"hide":"show")){if("show"!==o||!$||void 0===$[i])continue;Q=!0}M[i]=$&&$[i]||r.style(t,i)}if((l=!r.isEmptyObject(n))||!r.isEmptyObject(M))for(i in b&&1===t.nodeType&&(e.overflow=[F.overflow,F.overflowX,F.overflowY],null==(p=$&&$.display)&&(p=E.get(t,"display")),"none"===(m=r.css(t,"display"))&&(p?m=p:(x([t],!0),p=t.style.display||p,m=r.css(t,"display"),x([t]))),("inline"===m||"inline-block"===m&&null!=p)&&"none"===r.css(t,"float")&&(l||(C.done(function(){F.display=p}),null==p&&(p="none"===(m=F.display)?"":m)),F.display="inline-block")),e.overflow&&(F.overflow="hidden",C.always(function(){F.overflow=e.overflow[0],F.overflowX=e.overflow[1],F.overflowY=e.overflow[2]})),l=!1,M)l||($?"hidden"in $&&(Q=$.hidden):$=E.access(t,"fxshow",{display:p}),a&&($.hidden=!Q),Q&&x([t],!0),C.done(function(){for(i in Q||x([t]),E.remove(t,"fxshow"),M)r.style(t,i,M[i])})),l=qe(Q?$[i]:0,i,C),i in $||($[i]=l.start,Q&&(l.end=l.start,l.start=0))}],prefilter:function(t,n){n?xt.prefilters.unshift(t):xt.prefilters.push(t)}}),r.speed=function(t,n,e){var i=t&&"object"==typeof t?r.extend({},t):{complete:e||!e&&n||W(t)&&t,duration:t,easing:e&&n||n&&!W(n)&&n};return r.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration=i.duration in r.fx.speeds?r.fx.speeds[i.duration]:r.fx.speeds._default),(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){W(i.old)&&i.old.call(this),i.queue&&r.dequeue(this,i.queue)},i},r.fn.extend({fadeTo:function(t,n,e,i){return this.filter(A).css("opacity",0).show().end().animate({opacity:n},t,e,i)},animate:function(t,n,e,i){var o=r.isEmptyObject(t),a=r.speed(n,e,i),c=function(){var u=xt(this,r.extend({},t),a);(o||E.get(this,"finish"))&&u.stop(!0)};return c.finish=c,o||!1===a.queue?this.each(c):this.queue(a.queue,c)},stop:function(t,n,e){var i=function(o){var a=o.stop;delete o.stop,a(e)};return"string"!=typeof t&&(e=n,n=t,t=void 0),n&&this.queue(t||"fx",[]),this.each(function(){var o=!0,a=null!=t&&t+"queueHooks",c=r.timers,u=E.get(this);if(a)u[a]&&u[a].stop&&i(u[a]);else for(a in u)u[a]&&u[a].stop&&di.test(a)&&i(u[a]);for(a=c.length;a--;)c[a].elem===this&&(null==t||c[a].queue===t)&&(c[a].anim.stop(e),o=!1,c.splice(a,1));(o||!e)&&r.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var n,e=E.get(this),i=e[t+"queue"],o=e[t+"queueHooks"],a=r.timers,c=i?i.length:0;for(e.finish=!0,r.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),n=a.length;n--;)a[n].elem===this&&a[n].queue===t&&(a[n].anim.stop(!0),a.splice(n,1));for(n=0;n<c;n++)i[n]&&i[n].finish&&i[n].finish.call(this);delete e.finish})}}),r.each(["toggle","show","hide"],function(t,n){var e=r.fn[n];r.fn[n]=function(i,o,a){return null==i||"boolean"==typeof i?e.apply(this,arguments):this.animate(qn(n,!0),i,o,a)}}),r.each({slideDown:qn("show"),slideUp:qn("hide"),slideToggle:qn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){r.fn[t]=function(e,i,o){return this.animate(n,e,i,o)}}),r.timers=[],r.fx.tick=function(){var t,n=0,e=r.timers;for(cn=Date.now();n<e.length;n++)!(t=e[n])()&&e[n]===t&&e.splice(n--,1);e.length||r.fx.stop(),cn=void 0},r.fx.timer=function(t){r.timers.push(t),r.fx.start()},r.fx.interval=13,r.fx.start=function(){zn||(zn=!0,he())},r.fx.stop=function(){zn=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(t,n){return t=r.fx&&r.fx.speeds[t]||t,this.queue(n=n||"fx",function(e,i){var o=D.setTimeout(e,t);i.stop=function(){D.clearTimeout(o)}})},function(){var t=j.createElement("input"),e=j.createElement("select").appendChild(j.createElement("option"));t.type="checkbox",R.checkOn=""!==t.value,R.optSelected=e.selected,(t=j.createElement("input")).value="t",t.type="radio",R.radioValue="t"===t.value}();var We,yn=r.expr.attrHandle;r.fn.extend({attr:function(t,n){return Mt(this,r.attr,t,n,arguments.length>1)},removeAttr:function(t){return this.each(function(){r.removeAttr(this,t)})}}),r.extend({attr:function(t,n,e){var i,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return typeof t.getAttribute>"u"?r.prop(t,n,e):((1!==a||!r.isXMLDoc(t))&&(o=r.attrHooks[n.toLowerCase()]||(r.expr.match.bool.test(n)?We:void 0)),void 0!==e?null===e?void r.removeAttr(t,n):o&&"set"in o&&void 0!==(i=o.set(t,e,n))?i:(t.setAttribute(n,e+""),e):o&&"get"in o&&null!==(i=o.get(t,n))?i:null==(i=r.find.attr(t,n))?void 0:i)},attrHooks:{type:{set:function(t,n){if(!R.radioValue&&"radio"===n&&Z(t,"input")){var e=t.value;return t.setAttribute("type",n),e&&(t.value=e),n}}}},removeAttr:function(t,n){var e,i=0,o=n&&n.match(vt);if(o&&1===t.nodeType)for(;e=o[i++];)t.removeAttribute(e)}}),We={set:function(t,n,e){return!1===n?r.removeAttr(t,e):t.setAttribute(e,e),e}},r.each(r.expr.match.bool.source.match(/\w+/g),function(t,n){var e=yn[n]||r.find.attr;yn[n]=function(i,o,a){var c,u,l=o.toLowerCase();return a||(u=yn[l],yn[l]=c,c=null!=e(i,o,a)?l:null,yn[l]=u),c}});var Ci=/^(?:input|select|textarea|button)$/i,vi=/^(?:a|area)$/i;function Jt(t){return(t.match(vt)||[]).join(" ")}function Zt(t){return t.getAttribute&&t.getAttribute("class")||""}function Ce(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(vt)||[]}r.fn.extend({prop:function(t,n){return Mt(this,r.prop,t,n,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[r.propFix[t]||t]})}}),r.extend({prop:function(t,n,e){var i,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return(1!==a||!r.isXMLDoc(t))&&(o=r.propHooks[n=r.propFix[n]||n]),void 0!==e?o&&"set"in o&&void 0!==(i=o.set(t,e,n))?i:t[n]=e:o&&"get"in o&&null!==(i=o.get(t,n))?i:t[n]},propHooks:{tabIndex:{get:function(t){var n=r.find.attr(t,"tabindex");return n?parseInt(n,10):Ci.test(t.nodeName)||vi.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),R.optSelected||(r.propHooks.selected={get:function(t){return null},set:function(t){}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this}),r.fn.extend({addClass:function(t){var n,e,i,o,a,c;return W(t)?this.each(function(u){r(this).addClass(t.call(this,u,Zt(this)))}):(n=Ce(t)).length?this.each(function(){if(i=Zt(this),e=1===this.nodeType&&" "+Jt(i)+" "){for(a=0;a<n.length;a++)e.indexOf(" "+(o=n[a])+" ")<0&&(e+=o+" ");c=Jt(e),i!==c&&this.setAttribute("class",c)}}):this},removeClass:function(t){var n,e,i,o,a,c;return W(t)?this.each(function(u){r(this).removeClass(t.call(this,u,Zt(this)))}):arguments.length?(n=Ce(t)).length?this.each(function(){if(i=Zt(this),e=1===this.nodeType&&" "+Jt(i)+" "){for(a=0;a<n.length;a++)for(o=n[a];e.indexOf(" "+o+" ")>-1;)e=e.replace(" "+o+" "," ");c=Jt(e),i!==c&&this.setAttribute("class",c)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,i,o,a,c=typeof t,u="string"===c||Array.isArray(t);return W(t)?this.each(function(l){r(this).toggleClass(t.call(this,l,Zt(this),n),n)}):"boolean"==typeof n&&u?n?this.addClass(t):this.removeClass(t):(e=Ce(t),this.each(function(){if(u)for(a=r(this),o=0;o<e.length;o++)a.hasClass(i=e[o])?a.removeClass(i):a.addClass(i);else(void 0===t||"boolean"===c)&&((i=Zt(this))&&E.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":E.get(this,"__className__")||""))}))},hasClass:function(t){var n,e,i=0;for(n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&(" "+Jt(Zt(e))+" ").indexOf(n)>-1)return!0;return!1}});var yi=/\r/g;r.fn.extend({val:function(t){var n,e,i,o=this[0];return arguments.length?(i=W(t),this.each(function(a){var c;1===this.nodeType&&(null==(c=i?t.call(this,a,r(this).val()):t)?c="":"number"==typeof c?c+="":Array.isArray(c)&&(c=r.map(c,function(u){return null==u?"":u+""})),(!(n=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()])||!("set"in n)||void 0===n.set(this,c,"value"))&&(this.value=c))})):o?(n=r.valHooks[o.type]||r.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(o,"value"))?e:"string"==typeof(e=o.value)?e.replace(yi,""):null==e?"":e:void 0}}),r.extend({valHooks:{option:{get:function(t){var n=r.find.attr(t,"value");return null!=n?n:Jt(r.text(t))}},select:{get:function(t){var n,e,i,o=t.options,a=t.selectedIndex,c="select-one"===t.type,u=c?null:[],l=c?a+1:o.length;for(i=a<0?l:c?a:0;i<l;i++)if(((e=o[i]).selected||i===a)&&!e.disabled&&(!e.parentNode.disabled||!Z(e.parentNode,"optgroup"))){if(n=r(e).val(),c)return n;u.push(n)}return u},set:function(t,n){for(var e,i,o=t.options,a=r.makeArray(n),c=o.length;c--;)((i=o[c]).selected=r.inArray(r.valHooks.option.get(i),a)>-1)&&(e=!0);return e||(t.selectedIndex=-1),a}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(t,n){if(Array.isArray(n))return t.checked=r.inArray(r(t).val(),n)>-1}},R.checkOn||(r.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var mn=D.location,$e={guid:Date.now()},ve=/\?/;r.parseXML=function(t){var n,e;if(!t||"string"!=typeof t)return null;try{n=(new D.DOMParser).parseFromString(t,"text/xml")}catch(i){}return e=n&&n.getElementsByTagName("parsererror")[0],(!n||e)&&r.error("Invalid XML: "+(e?r.map(e.childNodes,function(i){return i.textContent}).join("\n"):t)),n};var Ge=/^(?:focusinfocus|focusoutblur)$/,Xe=function(t){t.stopPropagation()};r.extend(r.event,{trigger:function(t,n,e,i){var o,a,c,u,l,p,m,b,C=[e||j],M=jt.call(t,"type")?t.type:t,F=jt.call(t,"namespace")?t.namespace.split("."):[];if(a=b=c=e=e||j,3!==e.nodeType&&8!==e.nodeType&&!Ge.test(M+r.event.triggered)&&(M.indexOf(".")>-1&&(F=M.split("."),M=F.shift(),F.sort()),l=M.indexOf(":")<0&&"on"+M,(t=t[r.expando]?t:new r.Event(M,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=F.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),n=null==n?[t]:r.makeArray(n,[t]),m=r.event.special[M]||{},i||!m.trigger||!1!==m.trigger.apply(e,n))){if(!i&&!m.noBubble&&!Lt(e)){for(Ge.test((u=m.delegateType||M)+M)||(a=a.parentNode);a;a=a.parentNode)C.push(a),c=a;c===(e.ownerDocument||j)&&C.push(c.defaultView||c.parentWindow||D)}for(o=0;(a=C[o++])&&!t.isPropagationStopped();)b=a,t.type=o>1?u:m.bindType||M,(p=(E.get(a,"events")||Object.create(null))[t.type]&&E.get(a,"handle"))&&p.apply(a,n),(p=l&&a[l])&&p.apply&&Ut(a)&&(t.result=p.apply(a,n),!1===t.result&&t.preventDefault());return t.type=M,!i&&!t.isDefaultPrevented()&&(!m._default||!1===m._default.apply(C.pop(),n))&&Ut(e)&&l&&W(e[M])&&!Lt(e)&&((c=e[l])&&(e[l]=null),r.event.triggered=M,t.isPropagationStopped()&&b.addEventListener(M,Xe),e[M](),t.isPropagationStopped()&&b.removeEventListener(M,Xe),r.event.triggered=void 0,c&&(e[l]=c)),t.result}},simulate:function(t,n,e){var i=r.extend(new r.Event,e,{type:t,isSimulated:!0});r.event.trigger(i,null,n)}}),r.fn.extend({trigger:function(t,n){return this.each(function(){r.event.trigger(t,n,this)})},triggerHandler:function(t,n){var e=this[0];if(e)return r.event.trigger(t,n,e,!0)}});var mi=/\[\]$/,Ve=/\r?\n/g,_i=/^(?:submit|button|image|reset|file)$/i,bi=/^(?:input|select|textarea|keygen)/i;function ye(t,n,e,i){var o;if(Array.isArray(n))r.each(n,function(a,c){e||mi.test(t)?i(t,c):ye(t+"["+("object"==typeof c&&null!=c?a:"")+"]",c,e,i)});else if(e||"object"!==It(n))i(t,n);else for(o in n)ye(t+"["+o+"]",n[o],e,i)}r.param=function(t,n){var e,i=[],o=function(a,c){var u=W(c)?c():c;i[i.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==u?"":u)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!r.isPlainObject(t))r.each(t,function(){o(this.name,this.value)});else for(e in t)ye(e,t[e],n,o);return i.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=r.prop(this,"elements");return t?r.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!r(this).is(":disabled")&&bi.test(this.nodeName)&&!_i.test(t)&&(this.checked||!L.test(t))}).map(function(t,n){var e=r(this).val();return null==e?null:Array.isArray(e)?r.map(e,function(i){return{name:n.name,value:i.replace(Ve,"\r\n")}}):{name:n.name,value:e.replace(Ve,"\r\n")}}).get()}});var Pi=/%20/g,Mi=/#.*$/,Oi=/([?&])_=[^&]*/,xi=/^(.*?):[ \t]*([^\r\n]*)$/gm,Si=/^(?:GET|HEAD)$/,wi=/^\/\//,Ue={},me={},Qe="*/".concat("*"),_e=j.createElement("a");function Ye(t){return function(n,e){"string"!=typeof n&&(e=n,n="*");var i,o=0,a=n.toLowerCase().match(vt)||[];if(W(e))for(;i=a[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(e)):(t[i]=t[i]||[]).push(e)}}function Ke(t,n,e,i){var o={},a=t===me;function c(u){var l;return o[u]=!0,r.each(t[u]||[],function(p,m){var b=m(n,e,i);return"string"!=typeof b||a||o[b]?a?!(l=b):void 0:(n.dataTypes.unshift(b),c(b),!1)}),l}return c(n.dataTypes[0])||!o["*"]&&c("*")}function be(t,n){var e,i,o=r.ajaxSettings.flatOptions||{};for(e in n)void 0!==n[e]&&((o[e]?t:i||(i={}))[e]=n[e]);return i&&r.extend(!0,t,i),t}_e.href=mn.href,r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mn.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(mn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?be(be(t,r.ajaxSettings),n):be(r.ajaxSettings,t)},ajaxPrefilter:Ye(Ue),ajaxTransport:Ye(me),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var e,i,o,a,c,u,l,p,m,b,C=r.ajaxSetup({},n=n||{}),M=C.context||C,F=C.context&&(M.nodeType||M.jquery)?r(M):r.event,Q=r.Deferred(),$=r.Callbacks("once memory"),ct=C.statusCode||{},ot={},St={},wt="canceled",U={readyState:0,getResponseHeader:function(Y){var it;if(l){if(!a)for(a={};it=xi.exec(o);)a[it[1].toLowerCase()+" "]=(a[it[1].toLowerCase()+" "]||[]).concat(it[2]);it=a[Y.toLowerCase()+" "]}return null==it?null:it.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(Y,it){return null==l&&(Y=St[Y.toLowerCase()]=St[Y.toLowerCase()]||Y,ot[Y]=it),this},overrideMimeType:function(Y){return null==l&&(C.mimeType=Y),this},statusCode:function(Y){var it;if(Y)if(l)U.always(Y[U.status]);else for(it in Y)ct[it]=[ct[it],Y[it]];return this},abort:function(Y){var it=Y||wt;return e&&e.abort(it),tn(0,it),this}};if(Q.promise(U),C.url=((t||C.url||mn.href)+"").replace(wi,mn.protocol+"//"),C.type=n.method||n.type||C.method||C.type,C.dataTypes=(C.dataType||"*").toLowerCase().match(vt)||[""],null==C.crossDomain){u=j.createElement("a");try{u.href=C.url,u.href=u.href,C.crossDomain=_e.protocol+"//"+_e.host!=u.protocol+"//"+u.host}catch(Y){C.crossDomain=!0}}if(C.data&&C.processData&&"string"!=typeof C.data&&(C.data=r.param(C.data,C.traditional)),Ke(Ue,C,n,U),l)return U;for(m in(p=r.event&&C.global)&&0==r.active++&&r.event.trigger("ajaxStart"),C.type=C.type.toUpperCase(),C.hasContent=!Si.test(C.type),i=C.url.replace(Mi,""),C.hasContent?C.data&&C.processData&&0===(C.contentType||"").indexOf("application/x-www-form-urlencoded")&&(C.data=C.data.replace(Pi,"+")):(b=C.url.slice(i.length),C.data&&(C.processData||"string"==typeof C.data)&&(i+=(ve.test(i)?"&":"?")+C.data,delete C.data),!1===C.cache&&(i=i.replace(Oi,"$1"),b=(ve.test(i)?"&":"?")+"_="+$e.guid+++b),C.url=i+b),C.ifModified&&(r.lastModified[i]&&U.setRequestHeader("If-Modified-Since",r.lastModified[i]),r.etag[i]&&U.setRequestHeader("If-None-Match",r.etag[i])),(C.data&&C.hasContent&&!1!==C.contentType||n.contentType)&&U.setRequestHeader("Content-Type",C.contentType),U.setRequestHeader("Accept",C.dataTypes[0]&&C.accepts[C.dataTypes[0]]?C.accepts[C.dataTypes[0]]+("*"!==C.dataTypes[0]?", "+Qe+"; q=0.01":""):C.accepts["*"]),C.headers)U.setRequestHeader(m,C.headers[m]);if(C.beforeSend&&(!1===C.beforeSend.call(M,U,C)||l))return U.abort();if(wt="abort",$.add(C.complete),U.done(C.success),U.fail(C.error),e=Ke(me,C,n,U)){if(U.readyState=1,p&&F.trigger("ajaxSend",[U,C]),l)return U;C.async&&C.timeout>0&&(c=D.setTimeout(function(){U.abort("timeout")},C.timeout));try{l=!1,e.send(ot,tn)}catch(Y){if(l)throw Y;tn(-1,Y)}}else tn(-1,"No Transport");function tn(Y,it,bn,Me){var kt,Pn,Et,qt,Wt,_t=it;l||(l=!0,c&&D.clearTimeout(c),e=void 0,o=Me||"",U.readyState=Y>0?4:0,kt=Y>=200&&Y<300||304===Y,bn&&(qt=function ki(t,n,e){for(var i,o,a,c,u=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||n.getResponseHeader("Content-Type"));if(i)for(o in u)if(u[o]&&u[o].test(i)){l.unshift(o);break}if(l[0]in e)a=l[0];else{for(o in e){if(!l[0]||t.converters[o+" "+l[0]]){a=o;break}c||(c=o)}a=a||c}if(a)return a!==l[0]&&l.unshift(a),e[a]}(C,U,bn)),!kt&&r.inArray("script",C.dataTypes)>-1&&r.inArray("json",C.dataTypes)<0&&(C.converters["text script"]=function(){}),qt=function Ei(t,n,e,i){var o,a,c,u,l,p={},m=t.dataTypes.slice();if(m[1])for(c in t.converters)p[c.toLowerCase()]=t.converters[c];for(a=m.shift();a;)if(t.responseFields[a]&&(e[t.responseFields[a]]=n),!l&&i&&t.dataFilter&&(n=t.dataFilter(n,t.dataType)),l=a,a=m.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(c=p[l+" "+a]||p["* "+a]))for(o in p)if((u=o.split(" "))[1]===a&&(c=p[l+" "+u[0]]||p["* "+u[0]])){!0===c?c=p[o]:!0!==p[o]&&(a=u[0],m.unshift(u[1]));break}if(!0!==c)if(c&&t.throws)n=c(n);else try{n=c(n)}catch(b){return{state:"parsererror",error:c?b:"No conversion from "+l+" to "+a}}}return{state:"success",data:n}}(C,qt,U,kt),kt?(C.ifModified&&((Wt=U.getResponseHeader("Last-Modified"))&&(r.lastModified[i]=Wt),(Wt=U.getResponseHeader("etag"))&&(r.etag[i]=Wt)),204===Y||"HEAD"===C.type?_t="nocontent":304===Y?_t="notmodified":(_t=qt.state,Pn=qt.data,kt=!(Et=qt.error))):(Et=_t,(Y||!_t)&&(_t="error",Y<0&&(Y=0))),U.status=Y,U.statusText=(it||_t)+"",kt?Q.resolveWith(M,[Pn,_t,U]):Q.rejectWith(M,[U,_t,Et]),U.statusCode(ct),ct=void 0,p&&F.trigger(kt?"ajaxSuccess":"ajaxError",[U,C,kt?Pn:Et]),$.fireWith(M,[U,_t]),p&&(F.trigger("ajaxComplete",[U,C]),--r.active||r.event.trigger("ajaxStop")))}return U},getJSON:function(t,n,e){return r.get(t,n,e,"json")},getScript:function(t,n){return r.get(t,void 0,n,"script")}}),r.each(["get","post"],function(t,n){r[n]=function(e,i,o,a){return W(i)&&(a=a||o,o=i,i=void 0),r.ajax(r.extend({url:e,type:n,dataType:a,data:i,success:o},r.isPlainObject(e)&&e))}}),r.ajaxPrefilter(function(t){var n;for(n in t.headers)"content-type"===n.toLowerCase()&&(t.contentType=t.headers[n]||"")}),r._evalUrl=function(t,n,e){return r.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(i){r.globalEval(i,n,e)}})},r.fn.extend({wrapAll:function(t){var n;return this[0]&&(W(t)&&(t=t.call(this[0])),n=r(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(t){return W(t)?this.each(function(n){r(this).wrapInner(t.call(this,n))}):this.each(function(){var n=r(this),e=n.contents();e.length?e.wrapAll(t):n.append(t)})},wrap:function(t){var n=W(t);return this.each(function(e){r(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(t){return!r.expr.pseudos.visible(t)},r.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new D.XMLHttpRequest}catch(t){}};var Ni={0:200,1223:204},_n=r.ajaxSettings.xhr();R.cors=!!_n&&"withCredentials"in _n,R.ajax=_n=!!_n,r.ajaxTransport(function(t){var n,e;if(R.cors||_n&&!t.crossDomain)return{send:function(i,o){var a,c=t.xhr();if(c.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)c[a]=t.xhrFields[a];for(a in t.mimeType&&c.overrideMimeType&&c.overrideMimeType(t.mimeType),!t.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest"),i)c.setRequestHeader(a,i[a]);n=function(u){return function(){n&&(n=e=c.onload=c.onerror=c.onabort=c.ontimeout=c.onreadystatechange=null,"abort"===u?c.abort():"error"===u?"number"!=typeof c.status?o(0,"error"):o(c.status,c.statusText):o(Ni[c.status]||c.status,c.statusText,"text"!==(c.responseType||"text")||"string"!=typeof c.responseText?{binary:c.response}:{text:c.responseText},c.getAllResponseHeaders()))}},c.onload=n(),e=c.onerror=c.ontimeout=n("error"),void 0!==c.onabort?c.onabort=e:c.onreadystatechange=function(){4===c.readyState&&D.setTimeout(function(){n&&e()})},n=n("abort");try{c.send(t.hasContent&&t.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}}),r.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return r.globalEval(t),t}}}),r.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),r.ajaxTransport("script",function(t){var n,e;if(t.crossDomain||t.scriptAttrs)return{send:function(i,o){n=r("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",e=function(a){n.remove(),e=null,a&&o("error"===a.type?404:200,a.type)}),j.head.appendChild(n[0])},abort:function(){e&&e()}}});var t,Je=[],Pe=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||r.expando+"_"+$e.guid++;return this[t]=!0,t}}),r.ajaxPrefilter("json jsonp",function(t,n,e){var i,o,a,c=!1!==t.jsonp&&(Pe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Pe.test(t.data)&&"data");if(c||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=W(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,c?t[c]=t[c].replace(Pe,"$1"+i):!1!==t.jsonp&&(t.url+=(ve.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||r.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=D[i],D[i]=function(){a=arguments},e.always(function(){void 0===o?r(D).removeProp(i):D[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Je.push(i)),a&&W(o)&&o(a[0]),a=o=void 0}),"script"}),R.createHTMLDocument=((t=j.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===t.childNodes.length),r.parseHTML=function(t,n,e){return"string"!=typeof t?[]:("boolean"==typeof n&&(e=n,n=!1),n||(R.createHTMLDocument?((i=(n=j.implementation.createHTMLDocument("")).createElement("base")).href=j.location.href,n.head.appendChild(i)):n=j),a=!e&&[],(o=Dn.exec(t))?[n.createElement(o[1])]:(o=Kt([t],n,a),a&&a.length&&r(a).remove(),r.merge([],o.childNodes)));var i,o,a},r.fn.load=function(t,n,e){var i,o,a,c=this,u=t.indexOf(" ");return u>-1&&(i=Jt(t.slice(u)),t=t.slice(0,u)),W(n)?(e=n,n=void 0):n&&"object"==typeof n&&(o="POST"),c.length>0&&r.ajax({url:t,type:o||"GET",dataType:"html",data:n}).done(function(l){a=arguments,c.html(i?r("<div>").append(r.parseHTML(l)).find(i):l)}).always(e&&function(l,p){c.each(function(){e.apply(this,a||[l.responseText,p,l])})}),this},r.expr.pseudos.animated=function(t){return r.grep(r.timers,function(n){return t===n.elem}).length},r.offset={setOffset:function(t,n,e){var i,o,a,c,u,l,m=r.css(t,"position"),b=r(t),C={};"static"===m&&(t.style.position="relative"),u=b.offset(),a=r.css(t,"top"),l=r.css(t,"left"),("absolute"===m||"fixed"===m)&&(a+l).indexOf("auto")>-1?(c=(i=b.position()).top,o=i.left):(c=parseFloat(a)||0,o=parseFloat(l)||0),W(n)&&(n=n.call(t,e,r.extend({},u))),null!=n.top&&(C.top=n.top-u.top+c),null!=n.left&&(C.left=n.left-u.left+o),"using"in n?n.using.call(t,C):b.css(C)}},r.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(o){r.offset.setOffset(this,t,o)});var n,e,i=this[0];return i?i.getClientRects().length?{top:(n=i.getBoundingClientRect()).top+(e=i.ownerDocument.defaultView).pageYOffset,left:n.left+e.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var t,n,e,i=this[0],o={top:0,left:0};if("fixed"===r.css(i,"position"))n=i.getBoundingClientRect();else{for(n=this.offset(),e=i.ownerDocument,t=i.offsetParent||e.documentElement;t&&(t===e.body||t===e.documentElement)&&"static"===r.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((o=r(t).offset()).top+=r.css(t,"borderTopWidth",!0),o.left+=r.css(t,"borderLeftWidth",!0))}return{top:n.top-o.top-r.css(i,"marginTop",!0),left:n.left-o.left-r.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===r.css(t,"position");)t=t.offsetParent;return t||Ht})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var e="pageYOffset"===n;r.fn[t]=function(i){return Mt(this,function(o,a,c){var u;if(Lt(o)?u=o:9===o.nodeType&&(u=o.defaultView),void 0===c)return u?u[n]:o[a];u?u.scrollTo(e?u.pageXOffset:c,e?c:u.pageYOffset):o[a]=c},t,i,arguments.length)}}),r.each(["top","left"],function(t,n){r.cssHooks[n]=De(R.pixelPosition,function(e,i){if(i)return i=vn(e,n),fe.test(i)?r(e).position()[n]+"px":i})}),r.each({Height:"height",Width:"width"},function(t,n){r.each({padding:"inner"+t,content:n,"":"outer"+t},function(e,i){r.fn[i]=function(o,a){var c=arguments.length&&(e||"boolean"!=typeof o),u=e||(!0===o||!0===a?"margin":"border");return Mt(this,function(l,p,m){var b;return Lt(l)?0===i.indexOf("outer")?l["inner"+t]:l.document.documentElement["client"+t]:9===l.nodeType?(b=l.documentElement,Math.max(l.body["scroll"+t],b["scroll"+t],l.body["offset"+t],b["offset"+t],b["client"+t])):void 0===m?r.css(l,p,u):r.style(l,p,m,u)},n,c?o:void 0,c)}})}),r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,n){r.fn[n]=function(e){return this.on(n,e)}}),r.fn.extend({bind:function(t,n,e){return this.on(t,null,n,e)},unbind:function(t,n){return this.off(t,null,n)},delegate:function(t,n,e,i){return this.on(n,t,e,i)},undelegate:function(t,n,e){return 1===arguments.length?this.off(t,"**"):this.off(n,t||"**",e)},hover:function(t,n){return this.on("mouseenter",t).on("mouseleave",n||t)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){r.fn[n]=function(e,i){return arguments.length>0?this.on(n,null,e,i):this.trigger(n)}});var Hi=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;r.proxy=function(t,n){var e,i,o;if("string"==typeof n&&(e=t[n],n=t,t=e),W(t))return i=pt.call(arguments,2),o=function(){return t.apply(n||this,i.concat(pt.call(arguments)))},o.guid=t.guid=t.guid||r.guid++,o},r.holdReady=function(t){t?r.readyWait++:r.ready(!0)},r.isArray=Array.isArray,r.parseJSON=JSON.parse,r.nodeName=Z,r.isFunction=W,r.isWindow=Lt,r.camelCase=yt,r.type=It,r.now=Date.now,r.isNumeric=function(t){var n=r.type(t);return("number"===n||"string"===n)&&!isNaN(t-parseFloat(t))},r.trim=function(t){return null==t?"":(t+"").replace(Hi,"$1")},void 0!==(ut=function(){return r}.apply(xn,[]))&&(On.exports=ut);var Ai=D.jQuery,Di=D.$;return r.noConflict=function(t){return D.$===r&&(D.$=Di),t&&D.jQuery===r&&(D.jQuery=Ai),r},typeof ft>"u"&&(D.jQuery=D.$=r),r})}}]);
|