Aktives Vorstandsmitglied gesucht
0 && contentRect.height > 0) {
requestAnimationFrame(function (now) {
window.wixFirstPaint = now;
dispatchEvent(new CustomEvent('wixFirstPaint'));
});
observer.disconnect();
return true;
}
});
}).observe(document.body);
}
]]>
top of page
-
Mehr
Use tab to navigate through the menu items.UnterstützenDas Solidaritätsnetz Ostschweiz engagiert sich seit 2004 für geflüchtete Menschen in der Region.
Neu im Rahmen einer offenen Sprechstunde bieten wir auch Kurzberatungen für alle Personen an, die nach Unterstützung suchen oder Informationen benötigen, unabhängig vom Aufenthaltsstatus.
Mehr erfahrenAktuelle News
21. Feb.Hauptversammlung 2025 – Save the Date!
23. Jan.Schoggiaktion 2024 – DANKE
15. Dez. 2024Schoggi-Aktion (Reminder)
Alle Beiträge
Standort
Lageplan
Solidaritätsnetz Ostschweiz
Tschudistrasse 21
9000 St.Gallen
+41 71 220 17 45
Öffnungszeiten Büro
Montag bis Freitag 9–12 Uhr & 13–17 Uhr
Kontakt
Kontaktieren Sie uns direkt:
VornameNachnameEmailThemaNachrichtAbsenden
Danke für Ihre Kontaktaufnahme
Impressum
bottom of page
0&&t.hidden)return"Snapchat";if(!s||0===s.length||!Object.isFrozen(s))return"languages";try{throw Error()}catch(e){if(e instanceof Error){var c=e.stack;if(c&&/ (\(internal\/)|(\(?file:\/)/.test(c))return"stack"}}return""}()||(c?"seo":""),l=!!u,p=function(t,n){var o,i="none",a=t.match(/ssr-caching="?cache[,#]\s*desc=([\w-]+)(?:[,#]\s*varnish=(\w+))?(?:[,#]\s*dc[,#]\s*desc=([\w-]+))?(?:"|;|$)/);if(!a&&window.PerformanceServerTiming){var s=function(e){var r,t;try{r=e()}catch(e){r=[]}var n=[];return r.forEach((function(e){switch(e.name){case"cache":n[1]=e.description;break;case"varnish":n[2]=e.description;break;case"dc":t=e.description}})),{microPop:t,matches:n}}(n);o=s.microPop,a=s.matches}if(a&&a.length&&(i=`${a[1]},${a[2]||"none"}`,o||(o=a[3])),"none"===i){var c="undefined"!=typeof performance?performance.timing:null;c&&c.responseStart-c.requestStart==0&&(i="browser")}return function(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:"";if(!s.includes("suppressbi=true")){var n="//frog.wix.com/bolt-performance?src=72&evid="+e+"&appName="+g+"&is_rollout="+O+"&is_company_network="+S+"&is_sav_rollout="+x+"&is_dac_rollout="+y+"&dc="+o.dc+(v?"µPop="+v:"")+"&is_cached="+f+"&msid="+o.metaSiteId+"&session_id="+window.fedops.sessionId+"&ish="+l+"&isb="+l+(l?"&isbr="+u:"")+"&vsi="+window.fedops.vsi+"&caching="+m+(A?",browser_cache":"")+"&pv="+_+"&pn=1&v="+k+"&url="+encodeURIComponent(s)+"&st="+w+`&ts=${P}&tsn=${T}`+r;t(n)}}function $({transaction:e,error:r}){const t=[{fullArtifactId:"com.wixpress.html-client.wix-thunderbolt",componentId:g,platform:"viewer",msid:window.fedops.data.site.metaSiteId,sessionId:window.fedops.sessionId,sessionTime:Date.now()-window.initialTimestamps.initialTimestamp,logLevel:r?"ERROR":"INFO",message:r?.message??(e?.name&&`${e.name} START`),errorName:r?.name,errorStack:r?.stack,transactionName:e?.name,transactionAction:e&&"START",isSsr:!1,dataCenter:o.dc,isCached:!!f,isRollout:!!O,isHeadless:!!l,isDacRollout:!!y,isSavRollout:!!x,isCompanyNetwork:!!S}];try{const e=JSON.stringify({messages:t});return navigator.sendBeacon("https://panorama.wixapps.net/api/v1/bulklog",e)}catch(e){console.error(e)}}function D(e){return function(r,t){var n=`&name=${r}&duration=${Date.now()-P}`,o=t&&t.paramsOverrides?Object.keys(t.paramsOverrides).map((function(e){return e+"="+t.paramsOverrides[e]})).join("&"):"";R(e,o?`${n}&${o}`:n)}}I("pageshow",(function(e){e.persisted&&(A||(A=!0,E.is_cached=!0))}),!0),window.__browser_deprecation__||(R(21,`&platformOnSite=${window.fedops.data.platformOnSite}`),$({transaction:{name:"PANORAMA_COMPONENT_LOAD"}}))}();
]]>
{"use strict";var e,o,a,r,t,i={},n={};function d(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return i[e].call(a.exports,a,a.exports,d),a.loaded=!0,a.exports}d.m=i,e=[],d.O=(o,a,r,t)=>{if(!a){var i=1/0;for(p=0;p=t)&&Object.keys(d.O).every((e=>d.O[e](a[s])))?a.splice(s--,1):(n=!1,t0&&e[p-1][2]>t;p--)e[p]=e[p-1];e[p]=[a,r,t]},d.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return d.d(o,{a:o}),o},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var t=Object.create(null);d.r(t);var i={};o=o||[null,a({}),a([]),a(a)];for(var n=2&r&&e;"object"==typeof n&&!~o.indexOf(n);n=a(n))Object.getOwnPropertyNames(n).forEach((o=>i[o]=()=>e[o]));return i.default=()=>e,d.d(t,i),t},d.d=(e,o)=>{for(var a in o)d.o(o,a)&&!d.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:o[a]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((o,a)=>(d.f[a](e,o),o)),[])),d.u=e=>671===e?"thunderbolt-commons.edd646f5.bundle.min.js":592===e?"fastdom.inline.fbeb22f8.bundle.min.js":996===e?"render-indicator.inline.44f675de.bundle.min.js":7122===e?"version-indicator.inline.5115670f.bundle.min.js":8398===e?"custom-element-utils.inline.6c144675.bundle.min.js":({34:"FontFaces",40:"wixEcomFrontendWixCodeSdk",46:"TPAPopup",161:"wix-seo-events-page-structured-data-index",200:"wix-seo-reviews-component-index",266:"group_3",316:"windowScroll",349:"wix-seo-breadcrumbs-component-index",350:"wix-seo-static-page-v2-index",359:"group_48",407:"wix-seo-SEO_DEFAULT",481:"wix-seo-forum-category-index",541:"TPAUnavailableMessageOverlay",569:"assetsLoader",693:"triggersAndReactions",695:"animationsWixCodeSdk",711:"passwordProtectedPage",740:"group_43",789:"wix-seo-images-component-index",851:"group_2",970:"tpaWidgetNativeDeadComp",974:"animations",1021:"wix-seo-portfolio-collections-index",1171:"platformPubsub",1184:"group_18",1232:"group_9",1274:"ooi",1305:"seo-api",1494:"wix-seo-groups-post-index",1499:"wix-seo-protected-page-index",1501:"builderComponent",1530:"wix-seo-bookings-form-index",1560:"TPABaseComponent",1579:"wix-seo-services-component-index",1632:"SiteStyles",1922:"widgetWixCodeSdk",1991:"tpaModuleProvider",2040:"debug",2077:"wix-seo-search-page-index",2177:"group_11",2179:"AppPart2",2305:"serviceRegistrar",2313:"group_46",2358:"wix-seo-blog-post-index",2396:"merge-mappers",2516:"presenceApi",2545:"thunderbolt-components-registry",2594:"tpaCommons",2624:"group_21",2635:"group_22",2646:"platform",2694:"group_38",2705:"group_37",2816:"wix-seo-blog-category-index",2865:"Repeater_FixedColumns",3002:"svgLoader",3006:"wix-seo-paginated-component-index",3092:"group_50",3096:"wix-seo-stores-gallery-component-index",3119:"Repeater_FluidColumns",3272:"FontRulersContainer",3286:"wix-seo-stores-product-schema-presets-index",3324:"testService",3495:"wix-seo-blog-tags-index",3499:"wix-seo-restaurants-menu-component-index",3511:"environmentWixCodeSdk",3542:"dynamicPages",3605:"cyclicTabbing",3659:"componentsqaapi",3660:"group_5",3671:"group_6",3682:"TPAWorker",3689:"seo-api-converters",3724:"versionIndicator",3780:"wix-seo-schedule-page-index",3795:"canvas",3909:"motion",3930:"mobileFullScreen",3993:"group_19",4047:"wix-seo-events-list-component-index",4066:"TPAPreloaderOverlay",4134:"group_41",4206:"santa-platform-utils",4245:"testApi",4303:"widget",4391:"wix-seo-media-component-index",4456:"group_29",4493:"remoteStructureRenderer",4526:"group_30",4551:"wix-seo-members-area-profile-tabs-index",4655:"reporter-api",4676:"wix-seo-events-page-index",4708:"routerFetch",4773:"quickActionBar",4874:"wix-seo-stores-category-index",5114:"wix-seo-bookings-calendar-index",5116:"wix-seo-wix-data-page-item-index",5122:"group_45",5133:"group_42",5148:"router",5168:"wixDomSanitizer",5219:"wix-seo-static-page-index",5221:"stores",5307:"wix-seo-blog-hashtags-index",5377:"onloadCompsBehaviors",5433:"group_20",5444:"group_25",5445:"protectedPages",5503:"group_39",5625:"group_8",5648:"wix-seo-members-area-profile-index",5652:"multilingual",5739:"externalComponent",5901:"group_51",5966:"group_49",5998:"stickyToComponent",6055:"mpaNavigation",6099:"group_35",6178:"searchBox",6304:"wix-seo-gift-card-index",6384:"dashboardWixCodeSdk",6441:"wix-seo-restaurants-menu-page-index",6469:"group_4",6505:"editorElementsDynamicTheme",6510:"tslib.inline",6521:"navigation",6578:"renderIndicator",6739:"presence-lazy",6821:"becky-css",6850:"componentsLoader",6851:"wix-seo-forum-post-index",6935:"module-executor",6943:"group_40",7030:"feedback",7116:"scrollToAnchor",7171:"siteMembers",7230:"popups",7265:"group_28",7331:"RemoteRefDeadComp",7393:"vsm-css",7457:"group_0",7471:"wix-seo-bookings-service-index",7513:"wix-seo-stores-sub-category-index",7547:"AppPart",7562:"usedPlatformApis",7882:"appMonitoring",7920:"group_47",7931:"group_44",8039:"containerSlider",8104:"tpa",8149:"GhostComp",8242:"group_23",8253:"group_24",8368:"wix-seo-programs-component-index",8380:"group_14",8423:"customCss",8519:"qaApi",8595:"wix-seo-challenges-page-index",8735:"wix-seo-static-page-v2-schema-presets-index",8791:"wix-seo-events-page-calculated-index",8838:"group_27",8840:"ByocStyles",8908:"group_32",8919:"group_31",8934:"panorama",8981:"wix-seo-groups-page-index",9040:"wix-seo-restaurants-order-page-index",9090:"clientSdk",9098:"wix-seo-video-component-index",9131:"wix-seo-payment-page-index",9141:"wix-seo-pro-gallery-item-index",9166:"wix-seo-portfolio-projects-index",9203:"wix-seo-thank-you-page-index",9278:"group_7",9341:"editorWixCodeSdk",9368:"group_10",9506:"wix-seo-members-area-author-profile-index",9507:"TPAModal",9533:"wix-seo-stores-product-index",9764:"wix-seo-pricing-plans-index",9822:"businessManager",9896:"group_36",9948:"wix-seo-blog-archive-index"}[e]||e)+"."+{34:"b2c633d6",40:"00465236",46:"a513e996",161:"b1d6c809",198:"7c258d67",200:"ee6329f6",266:"a4266ce9",316:"60e92730",349:"16963f41",350:"a043a5cc",359:"9669b060",407:"90df952e",481:"f8e2d255",490:"9be42d65",541:"19bb319e",569:"1e70f802",693:"e7bf7036",695:"fe9dd88b",711:"f6ecde33",740:"238aa196",789:"df97276c",851:"a36613f2",970:"264775c2",974:"2ef05818",1021:"cda13122",1171:"482837af",1184:"630297d8",1232:"8eea83bf",1274:"f864528d",1305:"7a4a8ae6",1494:"b14fc9c8",1499:"d97840e9",1501:"7eeaf210",1530:"9c7a1881",1560:"cf2bf895",1579:"58cae903",1619:"161054ef",1632:"9071ae79",1922:"64a4bcd7",1991:"23f9682f",2040:"bab22a1a",2077:"22c13f01",2177:"ffa65b2d",2179:"42627332",2305:"0dcf5fb4",2313:"921f9e22",2358:"09762121",2396:"77bb249c",2516:"333cf8d0",2545:"b89104dd",2594:"59f6ed53",2624:"2aad62b8",2635:"d4cba985",2646:"6ddf3204",2694:"38642abf",2705:"b4a31f0c",2816:"4d2bdbc1",2865:"2f69612a",3002:"245384a0",3006:"cf05d182",3092:"5912132f",3096:"5f33d809",3119:"b327051f",3272:"d072b975",3286:"f9040bda",3324:"67b58d28",3495:"a49fe581",3499:"16944fd5",3511:"a8e26091",3520:"0eb05960",3542:"d7fc0274",3605:"29f6a6d7",3659:"6e9fcd51",3660:"f049e5b7",3671:"1663b443",3682:"d3c73ed6",3689:"284bdf94",3724:"b218a6e5",3780:"c52e90cd",3795:"d8568ca4",3909:"be5da47c",3930:"5f4484e4",3993:"ba72be7d",4047:"c2dc0045",4066:"3dedf657",4134:"9290432b",4206:"5fe4171d",4245:"314b7383",4303:"65b9a0ad",4391:"f19647fe",4456:"a4ae3cd3",4493:"1784b28c",4526:"e616afc6",4551:"6afe659c",4655:"6946832d",4676:"120e4012",4708:"9e6cb8fc",4773:"95fb7bfc",4874:"1344ec61",5114:"63c127fe",5116:"2d37ed29",5122:"c635dd0f",5133:"4371106b",5148:"478f8b95",5168:"5c048d48",5219:"5c6726a5",5221:"22153ee9",5307:"bf11bf83",5377:"a5af195f",5433:"9d71c71e",5444:"b4ae073d",5445:"5c56210c",5503:"e6e6b755",5625:"3d51a502",5648:"f27bd307",5652:"08d12b42",5739:"3f1960e4",5901:"19163709",5966:"79bde428",5998:"a25627bf",6055:"a33e7968",6099:"7f067089",6178:"814de654",6304:"b1105590",6384:"054adabb",6441:"3aa70cad",6469:"f1935415",6505:"08b738a7",6510:"95dc7d6c",6521:"d5962942",6578:"5bdd4005",6739:"7fa5fd2e",6821:"0f810094",6850:"8acadaf2",6851:"8e7881b0",6935:"e59d767f",6943:"f9f51e40",7030:"f3c15ee1",7116:"03bceb39",7171:"99e7afd8",7230:"9712b254",7265:"a74cf8a9",7331:"7984a796",7393:"ec420bcd",7457:"774938b3",7471:"629c20d5",7513:"ea74726d",7547:"09b9d194",7562:"7db29f51",7882:"d89b6d9c",7920:"4fd19472",7931:"ee804dc7",8039:"c4aa0c80",8104:"c94318bd",8149:"290fde46",8163:"d351bc77",8242:"2bb305c8",8253:"02327a7b",8368:"18568241",8380:"3a3ec4c6",8423:"53a71ff6",8519:"a501fe24",8595:"e5e5b23f",8735:"966f10b8",8791:"c24ccaf6",8838:"e86658c9",8840:"73ce5462",8869:"45e43a07",8908:"bf2b0c3d",8919:"fd9132fa",8934:"2872cc39",8981:"0c2dbc1e",9040:"1ef6dd9e",9090:"28693d5d",9098:"4a07b704",9131:"63e88a5f",9141:"45cfa286",9166:"d9d940c3",9203:"5f6bebbf",9278:"c50bdabd",9341:"a12ad814",9368:"5605f0ae",9506:"54e58fa3",9507:"6dfc9afe",9519:"7fc44b9e",9533:"5881d4d1",9622:"88c2f433",9764:"d1f52483",9822:"7a5cb97d",9839:"a6a8764d",9896:"dabdc384",9948:"63464c26"}[e]+".chunk.min.js",d.miniCssF=e=>996===e?"render-indicator.inline.044c11cb.min.css":7122===e?"version-indicator.inline.004341ff.min.css":{46:"TPAPopup",541:"TPAUnavailableMessageOverlay",970:"tpaWidgetNativeDeadComp",1560:"TPABaseComponent",2179:"AppPart2",2865:"Repeater_FixedColumns",3119:"Repeater_FluidColumns",3272:"FontRulersContainer",4066:"TPAPreloaderOverlay",7547:"AppPart",9278:"group_7",9507:"TPAModal"}[e]+"."+{46:"7e7f441d",541:"fb1e5320",970:"edad7c2d",1560:"27e1e284",2179:"0a2601ec",2865:"9abcda74",3119:"2b7b96dd",3272:"2b93f1ca",4066:"6dbffa0c",7547:"34a92bc1",9278:"bae0ce0c",9507:"52dc3d33"}[e]+".chunk.min.css",d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r={},t="_wix_thunderbolt_app:",d.l=(e,o,a,i)=>{if(r[e])r[e].push(o);else{var n,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),p=0;p{n.onerror=n.onload=null,clearTimeout(u);var t=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),t&&t.forEach((e=>e(a))),o)return o(a)},u=setTimeout(b.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=b.bind(null,n.onerror),n.onload=b.bind(null,n.onload),s&&document.head.appendChild(n)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),d.p="https://static.parastorage.com/services/wix-thunderbolt/dist/",(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((o,a)=>{var r=d.miniCssF(e),t=d.p+r;if(((e,o)=>{for(var a=document.getElementsByTagName("link"),r=0;r{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=a=>{if(i.onerror=i.onload=null,"load"===a.type)r();else{var n=a&&("load"===a.type?"missing":a.type),d=a&&a.target&&a.target.href||o,s=new Error("Loading CSS chunk "+e+" failed.\n("+d+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=n,s.request=d,i.parentNode&&i.parentNode.removeChild(i),t(s)}},i.href=o,0!==i.href.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous"),a?a.parentNode.insertBefore(i,a.nextSibling):document.head.appendChild(i)})(e,t,null,o,a)})),o={7311:0};d.f.miniCss=(a,r)=>{o[a]?r.push(o[a]):0!==o[a]&[a]&&r.push(o[a]=e(a).then((()=>{o[a]=0}),(e=>{throw delete o[a],e})))}}})(),(()=>{var e={7311:0};d.f.j=(o,a)=>{var r=d.o(e,o)?e[o]:void 0;if(0!==r)if(r)a.push(r[2]);else if(7311!=o){var t=new Promise(((a,t)=>r=e[o]=[a,t]));a.push(r[2]=t);var i=d.p+d.u(o),n=new Error;d.l(i,(a=>{if(d.o(e,o)&&(0!==(r=e[o])&&(e[o]=void 0),r)){var t=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;n.message="Loading chunk "+o+" failed.\n("+t+": "+i+")",n.name="ChunkLoadError",n.type=t,n.request=i,r[1](n)}}),"chunk-"+o,o)}else e[o]=0},d.O.j=o=>0===e[o];var o=(o,a)=>{var r,t,[i,n,s]=a,c=0;if(i.some((o=>0!==e[o]))){for(r in n)d.o(n,r)&&(d.m[r]=n[r]);if(s)var p=s(d)}for(o&&o(a);c
{i.r(t),i.d(t,{STATIC_MEDIA_URL:()=>qe,alignTypes:()=>d,fileType:()=>v,fittingTypes:()=>h,getData:()=>$e,getFileExtension:()=>$,getPlaceholder:()=>He,getResponsiveImageProps:()=>Ve,htmlTag:()=>g,isWEBP:()=>G,populateGlobalFeatureSupport:()=>Q,sdk:()=>je,upscaleMethods:()=>p});const n="v1",r=2,o=1920,s=1920,a=1e3,c=1e3,h={SCALE_TO_FILL:"fill",SCALE_TO_FIT:"fit",STRETCH:"stretch",ORIGINAL_SIZE:"original_size",TILE:"tile",TILE_HORIZONTAL:"tile_horizontal",TILE_VERTICAL:"tile_vertical",FIT_AND_TILE:"fit_and_tile",LEGACY_STRIP_TILE:"legacy_strip_tile",LEGACY_STRIP_TILE_HORIZONTAL:"legacy_strip_tile_horizontal",LEGACY_STRIP_TILE_VERTICAL:"legacy_strip_tile_vertical",LEGACY_STRIP_SCALE_TO_FILL:"legacy_strip_fill",LEGACY_STRIP_SCALE_TO_FIT:"legacy_strip_fit",LEGACY_STRIP_FIT_AND_TILE:"legacy_strip_fit_and_tile",LEGACY_STRIP_ORIGINAL_SIZE:"legacy_strip_original_size",LEGACY_ORIGINAL_SIZE:"actual_size",LEGACY_FIT_WIDTH:"fitWidth",LEGACY_FIT_HEIGHT:"fitHeight",LEGACY_FULL:"full",LEGACY_BG_FIT_AND_TILE:"legacy_tile",LEGACY_BG_FIT_AND_TILE_HORIZONTAL:"legacy_tile_horizontal",LEGACY_BG_FIT_AND_TILE_VERTICAL:"legacy_tile_vertical",LEGACY_BG_NORMAL:"legacy_normal"},l={FIT:"fit",FILL:"fill",FILL_FOCAL:"fill_focal",CROP:"crop",LEGACY_CROP:"legacy_crop",LEGACY_FILL:"legacy_fill"},d={CENTER:"center",TOP:"top",TOP_LEFT:"top_left",TOP_RIGHT:"top_right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom_left",BOTTOM_RIGHT:"bottom_right",LEFT:"left",RIGHT:"right"},u={[d.CENTER]:{x:.5,y:.5},[d.TOP_LEFT]:{x:0,y:0},[d.TOP_RIGHT]:{x:1,y:0},[d.TOP]:{x:.5,y:0},[d.BOTTOM_LEFT]:{x:0,y:1},[d.BOTTOM_RIGHT]:{x:1,y:1},[d.BOTTOM]:{x:.5,y:1},[d.RIGHT]:{x:1,y:.5},[d.LEFT]:{x:0,y:.5}},m={center:"c",top:"t",top_left:"tl",top_right:"tr",bottom:"b",bottom_left:"bl",bottom_right:"br",left:"l",right:"r"},g={BG:"bg",IMG:"img",SVG:"svg"},p={AUTO:"auto",CLASSIC:"classic",SUPER:"super"},f={classic:1,super:2},b={radius:"0.66",amount:"1.00",threshold:"0.01"},_={uri:"",css:{img:{},container:{}},attr:{img:{},container:{}},transformed:!1},T=25e6,I=[1.5,2,4],E={HIGH:{size:196e4,quality:90,maxUpscale:1},MEDIUM:{size:36e4,quality:85,maxUpscale:1},LOW:{size:16e4,quality:80,maxUpscale:1.2},TINY:{size:0,quality:80,maxUpscale:1.4}},L={HIGH:"HIGH",MEDIUM:"MEDIUM",LOW:"LOW",TINY:"TINY"},w={CONTRAST:"contrast",BRIGHTNESS:"brightness",SATURATION:"saturation",HUE:"hue",BLUR:"blur"},v={JPG:"jpg",JPEG:"jpeg",JPE:"jpe",PNG:"png",WEBP:"webp",WIX_ICO_MP:"wix_ico_mp",WIX_MP:"wix_mp",GIF:"gif",SVG:"svg",AVIF:"avif",UNRECOGNIZED:"unrecognized"},A={AVIF:"AVIF",PAVIF:"PAVIF"};v.JPG,v.JPEG,v.JPE,v.PNG,v.GIF,v.WEBP;function O(e,...t){return function(...i){const n=i[i.length-1]||{},r=[e[0]];return t.forEach((function(t,o){const s=Number.isInteger(t)?i[t]:n[t];r.push(s,e[o+1])})),r.join("")}}function C(e){return e[e.length-1]}const R=[v.PNG,v.JPEG,v.JPG,v.JPE,v.WIX_ICO_MP,v.WIX_MP,v.WEBP,v.AVIF],y=[v.JPEG,v.JPG,v.JPE];function M(e,t,i){return i&&t&&!(!(n=t.id)||!n.trim()||"none"===n.toLowerCase())&&Object.values(h).includes(e);var n}function S(e,t,i){return function(e,t,i=!1){return!((G(e)||N(e))&&t&&!i)}(e,t,i)&&(function(e){return R.includes($(e))}(e)||function(e,t=!1){return F(e)&&t}(e,i))&&!/(^https?)|(^data)|(^\/\/)/.test(e)}function x(e){return $(e)===v.PNG}function G(e){return $(e)===v.WEBP}function F(e){return $(e)===v.GIF}function N(e){return $(e)===v.AVIF}const P=["/","\\","?","<",">","|","\u201c",":",'"'].map(encodeURIComponent),k=["\\.","\\*"],B="_";function H(e){return function(e){return y.includes($(e))}(e)?v.JPG:x(e)?v.PNG:G(e)?v.WEBP:F(e)?v.GIF:N(e)?v.AVIF:v.UNRECOGNIZED}function $(e){return(/[.]([^.]+)$/.exec(e)&&/[.]([^.]+)$/.exec(e)[1]||"").toLowerCase()}function U(e,t,i,n,r){let o;return o=r===l.FILL?function(e,t,i,n){return Math.max(i/e,n/t)}(e,t,i,n):r===l.FIT?function(e,t,i,n){return Math.min(i/e,n/t)}(e,t,i,n):1,o}function W(e,t,i,n,r,o){e=e||n.width,t=t||n.height;const{scaleFactor:s,width:a,height:c}=function(e,t,i,n,r){let o,s=i,a=n;if(o=U(e,t,i,n,r),r===l.FIT&&(s=e*o,a=t*o),s&&a&&s*a>T){const i=Math.sqrt(T/(s*a));s*=i,a*=i,o=U(e,t,s,a,r)}return{scaleFactor:o,width:s,height:a}}(e,t,n.width*r,n.height*r,i);return function(e,t,i,n,r,o,s){const{optimizedScaleFactor:a,upscaleMethodValue:c,forceUSM:h}=function(e,t,i,n){if("auto"===n)return function(e,t){const i=V(e,t);return{optimizedScaleFactor:E[i].maxUpscale,upscaleMethodValue:f.classic,forceUSM:!1}}(e,t);if("super"===n)return function(e){return{optimizedScaleFactor:C(I),upscaleMethodValue:f.super,forceUSM:!(I.includes(e)||e>C(I))}}(i);return function(e,t){const i=V(e,t);return{optimizedScaleFactor:E[i].maxUpscale,upscaleMethodValue:f.classic,forceUSM:!1}}(e,t)}(e,t,o,r);let d=i,u=n;if(o<=a)return{width:d,height:u,scaleFactor:o,upscaleMethodValue:c,forceUSM:h,cssUpscaleNeeded:!1};switch(s){case l.FILL:d=i*(a/o),u=n*(a/o);break;case l.FIT:d=e*a,u=t*a}return{width:d,height:u,scaleFactor:a,upscaleMethodValue:c,forceUSM:h,cssUpscaleNeeded:!0}}(e,t,a,c,o,s,i)}function z(e,t,i,n){const r=D(i)||function(e=d.CENTER){return u[e]}(n);return{x:Math.max(0,Math.min(e.width-t.width,r.x*e.width-t.width/2)),y:Math.max(0,Math.min(e.height-t.height,r.y*e.height-t.height/2)),width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}}function Y(e){return e.alignment&&m[e.alignment]||m[d.CENTER]}function D(e){let t;return!e||"number"!=typeof e.x||isNaN(e.x)||"number"!=typeof e.y||isNaN(e.y)||(t={x:j(Math.max(0,Math.min(100,e.x))/100,2),y:j(Math.max(0,Math.min(100,e.y))/100,2)}),t}function V(e,t){const i=e*t;return i>E[L.HIGH].size?L.HIGH:i>E[L.MEDIUM].size?L.MEDIUM:i>E[L.LOW].size?L.LOW:L.TINY}function j(e,t){const i=Math.pow(10,t||0);return(e*i/i).toFixed(t)}function q(e){return e&&e.upscaleMethod&&p[e.upscaleMethod.toUpperCase()]||p.AUTO}function Z(e,t){const i=G(e)||N(e);return $(e)===v.GIF||i&&t}const J={isMobile:!1},X=function(e){return J[e]},K=function(e,t){J[e]=t};function Q(){if("undefined"!=typeof window&&"undefined"!=typeof navigator){const e=window.matchMedia&&window.matchMedia("(max-width: 767px)").matches,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);K("isMobile",e&&t)}}function ee(e,t){const i={css:{container:{}}},{css:n}=i,{fittingType:r}=e;switch(r){case h.ORIGINAL_SIZE:case h.LEGACY_ORIGINAL_SIZE:case h.LEGACY_STRIP_ORIGINAL_SIZE:n.container.backgroundSize="auto",n.container.backgroundRepeat="no-repeat";break;case h.SCALE_TO_FIT:case h.LEGACY_STRIP_SCALE_TO_FIT:n.container.backgroundSize="contain",n.container.backgroundRepeat="no-repeat";break;case h.STRETCH:n.container.backgroundSize="100% 100%",n.container.backgroundRepeat="no-repeat";break;case h.SCALE_TO_FILL:case h.LEGACY_STRIP_SCALE_TO_FILL:n.container.backgroundSize="cover",n.container.backgroundRepeat="no-repeat";break;case h.TILE_HORIZONTAL:case h.LEGACY_STRIP_TILE_HORIZONTAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-x";break;case h.TILE_VERTICAL:case h.LEGACY_STRIP_TILE_VERTICAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-y";break;case h.TILE:case h.LEGACY_STRIP_TILE:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat";break;case h.LEGACY_STRIP_FIT_AND_TILE:n.container.backgroundSize="contain",n.container.backgroundRepeat="repeat";break;case h.FIT_AND_TILE:case h.LEGACY_BG_FIT_AND_TILE:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat";break;case h.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-x";break;case h.LEGACY_BG_FIT_AND_TILE_VERTICAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-y";break;case h.LEGACY_BG_NORMAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="no-repeat"}switch(t.alignment){case d.CENTER:n.container.backgroundPosition="center center";break;case d.LEFT:n.container.backgroundPosition="left center";break;case d.RIGHT:n.container.backgroundPosition="right center";break;case d.TOP:n.container.backgroundPosition="center top";break;case d.BOTTOM:n.container.backgroundPosition="center bottom";break;case d.TOP_RIGHT:n.container.backgroundPosition="right top";break;case d.TOP_LEFT:n.container.backgroundPosition="left top";break;case d.BOTTOM_RIGHT:n.container.backgroundPosition="right bottom";break;case d.BOTTOM_LEFT:n.container.backgroundPosition="left bottom"}return i}const te={[d.CENTER]:"center",[d.TOP]:"top",[d.TOP_LEFT]:"top left",[d.TOP_RIGHT]:"top right",[d.BOTTOM]:"bottom",[d.BOTTOM_LEFT]:"bottom left",[d.BOTTOM_RIGHT]:"bottom right",[d.LEFT]:"left",[d.RIGHT]:"right"},ie={position:"absolute",top:"auto",right:"auto",bottom:"auto",left:"auto"};function ne(e,t){const i={css:{container:{},img:{}}},{css:n}=i,{fittingType:r}=e,o=t.alignment;switch(n.container.position="relative",r){case h.ORIGINAL_SIZE:case h.LEGACY_ORIGINAL_SIZE:e.parts&&e.parts.length?(n.img.width=e.parts[0].width,n.img.height=e.parts[0].height):(n.img.width=e.src.width,n.img.height=e.src.height);break;case h.SCALE_TO_FIT:case h.LEGACY_FIT_WIDTH:case h.LEGACY_FIT_HEIGHT:case h.LEGACY_FULL:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="contain",n.img.objectPosition=te[o]||"unset";break;case h.LEGACY_BG_NORMAL:n.img.width="100%",n.img.height="100%",n.img.objectFit="none",n.img.objectPosition=te[o]||"unset";break;case h.STRETCH:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="fill";break;case h.SCALE_TO_FILL:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="cover"}if("number"==typeof n.img.width&&"number"==typeof n.img.height&&(n.img.width!==t.width||n.img.height!==t.height)){const e=Math.round((t.height-n.img.height)/2),i=Math.round((t.width-n.img.width)/2);Object.assign(n.img,ie,function(e,t,i){return{[d.TOP_LEFT]:{top:0,left:0},[d.TOP_RIGHT]:{top:0,right:0},[d.TOP]:{top:0,left:t},[d.BOTTOM_LEFT]:{bottom:0,left:0},[d.BOTTOM_RIGHT]:{bottom:0,right:0},[d.BOTTOM]:{bottom:0,left:t},[d.RIGHT]:{top:e,right:0},[d.LEFT]:{top:e,left:0},[d.CENTER]:{width:i.width,height:i.height,objectFit:"none"}}}(e,i,t)[o])}return i}function re(e,t){const i={css:{container:{}},attr:{container:{},img:{}}},{css:n,attr:r}=i,{fittingType:o}=e,s=t.alignment,{width:a,height:c}=e.src;let u;switch(n.container.position="relative",o){case h.ORIGINAL_SIZE:case h.LEGACY_ORIGINAL_SIZE:case h.TILE:e.parts&&e.parts.length?(r.img.width=e.parts[0].width,r.img.height=e.parts[0].height):(r.img.width=a,r.img.height=c),r.img.preserveAspectRatio="xMidYMid slice";break;case h.SCALE_TO_FIT:case h.LEGACY_FIT_WIDTH:case h.LEGACY_FIT_HEIGHT:case h.LEGACY_FULL:r.img.width="100%",r.img.height="100%",r.img.transform="",r.img.preserveAspectRatio="";break;case h.STRETCH:r.img.width=t.width,r.img.height=t.height,r.img.x=0,r.img.y=0,r.img.transform="",r.img.preserveAspectRatio="none";break;case h.SCALE_TO_FILL:S(e.src.id)?(r.img.width=t.width,r.img.height=t.height):(u=function(e,t,i,n,r){const o=U(e,t,i,n,r);return{width:Math.round(e*o),height:Math.round(t*o)}}(a,c,t.width,t.height,l.FILL),r.img.width=u.width,r.img.height=u.height),r.img.x=0,r.img.y=0,r.img.transform="",r.img.preserveAspectRatio="xMidYMid slice"}if("number"==typeof r.img.width&&"number"==typeof r.img.height&&(r.img.width!==t.width||r.img.height!==t.height)){let e,i,n=0,a=0;o===h.TILE?(e=t.width%r.img.width,i=t.height%r.img.height):(e=t.width-r.img.width,i=t.height-r.img.height);const c=Math.round(e/2),l=Math.round(i/2);switch(s){case d.TOP_LEFT:n=0,a=0;break;case d.TOP:n=c,a=0;break;case d.TOP_RIGHT:n=e,a=0;break;case d.LEFT:n=0,a=l;break;case d.CENTER:n=c,a=l;break;case d.RIGHT:n=e,a=l;break;case d.BOTTOM_LEFT:n=0,a=i;break;case d.BOTTOM:n=c,a=i;break;case d.BOTTOM_RIGHT:n=e,a=i}r.img.x=n,r.img.y=a}return r.container.width=t.width,r.container.height=t.height,r.container.viewBox=[0,0,t.width,t.height].join(" "),i}function oe(e,t,i){let n;switch(t.crop&&(n=function(e,t){const i=Math.max(0,Math.min(e.width,t.x+t.width)-Math.max(0,t.x)),n=Math.max(0,Math.min(e.height,t.y+t.height)-Math.max(0,t.y));return i&&n&&(e.width!==i||e.height!==n)?{x:Math.max(0,t.x),y:Math.max(0,t.y),width:i,height:n}:null}(t,t.crop),n&&(e.src.width=n.width,e.src.height=n.height,e.src.isCropped=!0,e.parts.push(ae(n)))),e.fittingType){case h.SCALE_TO_FIT:case h.LEGACY_FIT_WIDTH:case h.LEGACY_FIT_HEIGHT:case h.LEGACY_FULL:case h.FIT_AND_TILE:case h.LEGACY_BG_FIT_AND_TILE:case h.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case h.LEGACY_BG_FIT_AND_TILE_VERTICAL:case h.LEGACY_BG_NORMAL:e.parts.push(se(e,i));break;case h.SCALE_TO_FILL:e.parts.push(function(e,t){const i=W(e.src.width,e.src.height,l.FILL,t,e.devicePixelRatio,e.upscaleMethod),n=D(e.focalPoint);return{transformType:n?l.FILL_FOCAL:l.FILL,width:Math.round(i.width),height:Math.round(i.height),alignment:Y(t),focalPointX:n&&n.x,focalPointY:n&&n.y,upscale:i.scaleFactor>1,forceUSM:i.forceUSM,scaleFactor:i.scaleFactor,cssUpscaleNeeded:i.cssUpscaleNeeded,upscaleMethodValue:i.upscaleMethodValue}}(e,i));break;case h.STRETCH:e.parts.push(function(e,t){const i=U(e.src.width,e.src.height,t.width,t.height,l.FILL),n={...t};return n.width=e.src.width*i,n.height=e.src.height*i,se(e,n)}(e,i));break;case h.TILE_HORIZONTAL:case h.TILE_VERTICAL:case h.TILE:case h.LEGACY_ORIGINAL_SIZE:case h.ORIGINAL_SIZE:n=z(e.src,i,e.focalPoint,i.alignment),e.src.isCropped?(Object.assign(e.parts[0],n),e.src.width=n.width,e.src.height=n.height):e.parts.push(ae(n));break;case h.LEGACY_STRIP_TILE_HORIZONTAL:case h.LEGACY_STRIP_TILE_VERTICAL:case h.LEGACY_STRIP_TILE:case h.LEGACY_STRIP_ORIGINAL_SIZE:e.parts.push(function(e){return{transformType:l.LEGACY_CROP,width:Math.round(e.width),height:Math.round(e.height),alignment:Y(e),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}(i));break;case h.LEGACY_STRIP_SCALE_TO_FIT:case h.LEGACY_STRIP_FIT_AND_TILE:e.parts.push(function(e){return{transformType:l.FIT,width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(i));break;case h.LEGACY_STRIP_SCALE_TO_FILL:e.parts.push(function(e){return{transformType:l.LEGACY_FILL,width:Math.round(e.width),height:Math.round(e.height),alignment:Y(e),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(i))}}function se(e,t){const i=W(e.src.width,e.src.height,l.FIT,t,e.devicePixelRatio,e.upscaleMethod);return{transformType:!e.src.width||!e.src.height?l.FIT:l.FILL,width:Math.round(i.width),height:Math.round(i.height),alignment:m.center,upscale:i.scaleFactor>1,forceUSM:i.forceUSM,scaleFactor:i.scaleFactor,cssUpscaleNeeded:i.cssUpscaleNeeded,upscaleMethodValue:i.upscaleMethodValue}}function ae(e){return{transformType:l.CROP,x:Math.round(e.x),y:Math.round(e.y),width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}function ce(e,t){t=t||{},e.quality=function(e,t){const i=e.fileType===v.PNG,n=e.fileType===v.JPG,r=e.fileType===v.WEBP,o=e.fileType===v.AVIF,s=n||i||r||o;if(s){const n=C(e.parts),r=(a=n.width,c=n.height,E[V(a,c)].quality);let o=t.quality&&t.quality>=5&&t.quality<=90?t.quality:r;return o=i?o+5:o,o}var a,c;return 0}(e,t),e.progressive=function(e){return!1!==e.progressive}(t),e.watermark=function(e){return e.watermark}(t),e.autoEncode=t.autoEncode??!0,e.encoding=t?.encoding,e.unsharpMask=function(e,t){if(function(e){const t="number"==typeof(e=e||{}).radius&&!isNaN(e.radius)&&e.radius>=.1&&e.radius<=500,i="number"==typeof e.amount&&!isNaN(e.amount)&&e.amount>=0&&e.amount<=10,n="number"==typeof e.threshold&&!isNaN(e.threshold)&&e.threshold>=0&&e.threshold<=255;return t&&i&&n}(t.unsharpMask))return{radius:j(t.unsharpMask?.radius,2),amount:j(t.unsharpMask?.amount,2),threshold:j(t.unsharpMask?.threshold,2)};if(("number"!=typeof(i=(i=t.unsharpMask)||{}).radius||isNaN(i.radius)||0!==i.radius||"number"!=typeof i.amount||isNaN(i.amount)||0!==i.amount||"number"!=typeof i.threshold||isNaN(i.threshold)||0!==i.threshold)&&function(e){const t=C(e.parts);return!(t.scaleFactor>=1)||t.forceUSM||t.transformType===l.FIT}(e))return b;var i;return}(e,t),e.filters=function(e){const t=e.filters||{},i={};he(t[w.CONTRAST],-100,100)&&(i[w.CONTRAST]=t[w.CONTRAST]);he(t[w.BRIGHTNESS],-100,100)&&(i[w.BRIGHTNESS]=t[w.BRIGHTNESS]);he(t[w.SATURATION],-100,100)&&(i[w.SATURATION]=t[w.SATURATION]);he(t[w.HUE],-180,180)&&(i[w.HUE]=t[w.HUE]);he(t[w.BLUR],0,100)&&(i[w.BLUR]=t[w.BLUR]);return i}(t)}function he(e,t,i){return"number"==typeof e&&!isNaN(e)&&0!==e&&e>=t&&e<=i}function le(e,t,i,n){const o=function(e){return e?.isSEOBot??!1}(n),s=H(t.id),a=function(e,t){const i=/\.([^.]*)$/,n=new RegExp(`(${P.concat(k).join("|")})`,"g");if(t&&t.length){let e=t;const r=t.match(i);return r&&R.includes(r[1])&&(e=t.replace(i,"")),encodeURIComponent(e).replace(n,B)}const r=e.match(/\/(.*?)$/);return(r?r[1]:e).replace(i,"")}(t.id,t.name),c=o?1:function(e){return Math.min(e.pixelAspectRatio||1,r)}(i),h=$(t.id),l=h,d=S(t.id,n?.hasAnimation,n?.allowAnimatedTransform),u={fileName:a,fileExtension:h,fileType:s,fittingType:e,preferredExtension:l,src:{id:t.id,width:t.width,height:t.height,isCropped:!1,isAnimated:Z(t.id,n?.hasAnimation)},focalPoint:{x:t.focalPoint&&t.focalPoint.x,y:t.focalPoint&&t.focalPoint.y},parts:[],devicePixelRatio:c,quality:0,upscaleMethod:q(n),progressive:!0,watermark:"",unsharpMask:{},filters:{},transformed:d};return d&&(oe(u,t,i),ce(u,n)),u}function de(e,t,i){const n={...i},r=X("isMobile");switch(e){case h.LEGACY_BG_FIT_AND_TILE:case h.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case h.LEGACY_BG_FIT_AND_TILE_VERTICAL:case h.LEGACY_BG_NORMAL:const e=r?a:o,i=r?c:s;n.width=Math.min(e,t.width),n.height=Math.min(i,Math.round(n.width/(t.width/t.height))),n.pixelAspectRatio=1}return n}const ue=O`fit/w_${"width"},h_${"height"}`,me=O`fill/w_${"width"},h_${"height"},al_${"alignment"}`,ge=O`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`,pe=O`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`,fe=O`crop/w_${"width"},h_${"height"},al_${"alignment"}`,be=O`fill/w_${"width"},h_${"height"},al_${"alignment"}`,_e=O`,lg_${"upscaleMethodValue"}`,Te=O`,q_${"quality"}`,Ie=O`,quality_auto`,Ee=O`,usm_${"radius"}_${"amount"}_${"threshold"}`,Le=O`,bl`,we=O`,wm_${"watermark"}`,ve={[w.CONTRAST]:O`,con_${"contrast"}`,[w.BRIGHTNESS]:O`,br_${"brightness"}`,[w.SATURATION]:O`,sat_${"saturation"}`,[w.HUE]:O`,hue_${"hue"}`,[w.BLUR]:O`,blur_${"blur"}`},Ae=O`,enc_auto`,Oe=O`,enc_avif`,Ce=O`,enc_pavif`,Re=O`,pstr`;function ye(e,t,i,r={},o){if(S(t.id,r?.hasAnimation,r?.allowAnimatedTransform)){if(G(t.id)||N(t.id)){const{alignment:n,...s}=i;t.focalPoint={x:void 0,y:void 0},delete t?.crop,o=le(e,t,s,r)}else o=o||le(e,t,i,r);return function(e){const t=[];e.parts.forEach((e=>{switch(e.transformType){case l.CROP:t.push(pe(e));break;case l.LEGACY_CROP:t.push(fe(e));break;case l.LEGACY_FILL:let i=be(e);e.upscale&&(i+=_e(e)),t.push(i);break;case l.FIT:let n=ue(e);e.upscale&&(n+=_e(e)),t.push(n);break;case l.FILL:let r=me(e);e.upscale&&(r+=_e(e)),t.push(r);break;case l.FILL_FOCAL:let o=ge(e);e.upscale&&(o+=_e(e)),t.push(o)}}));let i=t.join("/");return e.quality&&(i+=Te(e)),e.unsharpMask&&(i+=Ee(e.unsharpMask)),e.progressive||(i+=Le(e)),e.watermark&&(i+=we(e)),e.filters&&(i+=Object.keys(e.filters).map((t=>ve[t](e.filters))).join("")),e.fileType!==v.GIF&&(e.encoding===A.AVIF?(i+=Oe(e),i+=Ie(e)):e.encoding===A.PAVIF?(i+=Ce(e),i+=Ie(e)):e.autoEncode&&(i+=Ae(e))),e.src?.isAnimated&&e.transformed&&(i+=Re(e)),`${e.src.id}/${n}/${i}/${e.fileName}.${e.preferredExtension}`}(o)}return t.id}const Me={[d.CENTER]:"50% 50%",[d.TOP_LEFT]:"0% 0%",[d.TOP_RIGHT]:"100% 0%",[d.TOP]:"50% 0%",[d.BOTTOM_LEFT]:"0% 100%",[d.BOTTOM_RIGHT]:"100% 100%",[d.BOTTOM]:"50% 100%",[d.RIGHT]:"100% 50%",[d.LEFT]:"0% 50%"},Se=Object.entries(Me).reduce(((e,[t,i])=>(e[i]=t,e)),{}),xe=[h.TILE,h.TILE_HORIZONTAL,h.TILE_VERTICAL,h.LEGACY_BG_FIT_AND_TILE,h.LEGACY_BG_FIT_AND_TILE_HORIZONTAL,h.LEGACY_BG_FIT_AND_TILE_VERTICAL],Ge=[h.LEGACY_ORIGINAL_SIZE,h.ORIGINAL_SIZE,h.LEGACY_BG_NORMAL];function Fe(e,t,{width:i,height:n}){return e===h.TILE&&t.width>i&&t.height>n}function Ne(e,{width:t,height:i}){if(!t||!i){const n=t||Math.min(980,e.width),r=n/e.width;return{width:n,height:i||e.height*r}}return{width:t,height:i}}function Pe(e,t,i,n="center"){const r={img:{},container:{}};if(e===h.SCALE_TO_FILL){const e=t.focalPoint&&function(e){const t=`${e.x}% ${e.y}%`;return Se[t]||""}(t.focalPoint),o=e||n;t.focalPoint&&!e?r.img={objectPosition:ke(t,i,t.focalPoint)}:r.img={objectPosition:Me[o]}}else[h.LEGACY_ORIGINAL_SIZE,h.ORIGINAL_SIZE].includes(e)?r.img={objectFit:"none",top:"auto",left:"auto",right:"auto",bottom:"auto"}:xe.includes(e)&&(r.container={backgroundSize:`${t.width}px ${t.height}px`});return r}function ke(e,t,i){const{width:n,height:r}=e,{width:o,height:s}=t,{x:a,y:c}=i;if(!o||!s)return`${a}% ${c}%`;const h=Math.max(o/n,s/r),l=n*h,d=r*h,u=Math.max(0,Math.min(l-o,l*(a/100)-o/2)),m=Math.max(0,Math.min(d-s,d*(c/100)-s/2));return`${u&&Math.floor(u/(l-o)*100)}% ${m&&Math.floor(m/(d-s)*100)}%`}const Be={width:"100%",height:"100%"};function He(e,t,i,n={}){const{autoEncode:r=!0,isSEOBot:o,shouldLoadHQImage:s,hasAnimation:a,allowAnimatedTransform:c,encoding:l}=n;if(!M(e,t,i))return _;const d=void 0===c||c,u=S(t.id,a,d);if(!u||s)return $e(e,t,i,{...n,autoEncode:r,useSrcset:u});const m={...i,...Ne(t,i)},{alignment:g,htmlTag:p}=m,f=Fe(e,t,m),b=function(e,t,{width:i,height:n},r=!1){if(r)return{width:i,height:n};const o=!Ge.includes(e),s=Fe(e,t,{width:i,height:n}),a=!s&&xe.includes(e),c=a?t.width:i,h=a?t.height:n,l=o?function(e,t){return e>900?t?.05:.15:e>500?t?.1:.18:e>200?.25:1}(c,x(t.id)):1;return{width:s?1920:c*l,height:h*l}}(e,t,m,o),T=function(e,t,i){return i?0:xe.includes(t)?1:e>200?2:3}(m.width,e,o),I=function(e,t){const i=xe.includes(e)&&!t;return e===h.SCALE_TO_FILL||i?h.SCALE_TO_FIT:e}(e,f),E=Pe(e,t,i,g),{uri:L}=$e(I,t,{...b,alignment:g,htmlTag:p},{autoEncode:r,filters:T?{blur:T}:{},hasAnimation:a,allowAnimatedTransform:d,encoding:l}),{attr:w={},css:v}=$e(e,t,{...m,alignment:g,htmlTag:p},{});return v.img=v.img||{},v.container=v.container||{},Object.assign(v.img,E.img,Be),Object.assign(v.container,E.container),{uri:L,css:v,attr:w,transformed:!0}}function $e(e,t,i,n){let r={};if(M(e,t,i)){const o=de(e,t,i),s=le(e,t,o,n);r.uri=ye(e,t,o,n,s),n?.useSrcset&&(r.srcset=function(e,t,i,n,r){const o=i.pixelAspectRatio||1;return{dpr:[`${1===o?r.uri:ye(e,t,{...i,pixelAspectRatio:1},n)} 1x`,`${2===o?r.uri:ye(e,t,{...i,pixelAspectRatio:2},n)} 2x`]}}(e,t,o,n,r)),Object.assign(r,function(e,t){let i;return i=t.htmlTag===g.BG?ee:t.htmlTag===g.SVG?re:ne,i(e,t)}(s,o),{transformed:s.transformed})}else r=_;return r}function Ue(e,t,i,n){if(M(e,t,i)){const r=de(e,t,i);return{uri:ye(e,t,r,n||{},le(e,t,r,n))}}return{uri:""}}const We="https://static.wixstatic.com/media/",ze=/^media\//i,Ye="undefined"!=typeof window?window.devicePixelRatio:1,De=(e,t)=>{const i=t&&t.baseHostURL;return i?`${i}${e}`:(e=>ze.test(e)?`https://static.wixstatic.com/${e}`:`${We}${e}`)(e)};Q();const Ve=(e,t,i)=>{const{displayMode:n,uri:r,width:o,height:s,name:a,crop:c,focalPoint:h,alignType:l,quality:d,upscaleMethod:u,hasAnimation:m,allowAnimatedTransform:g,encoding:p}=e,{srcset:f,css:b,uri:_}=$e(n,{id:r,width:o,height:s,name:a,crop:c,focalPoint:h},{width:t,height:i,alignment:l},{focalPoint:h,name:a,quality:d?.quality,upscaleMethod:u,hasAnimation:m,allowAnimatedTransform:g,useSrcset:!0,encoding:p}),T=f?.dpr?.map((e=>/^[a-z]+:/.test(e)?e:`${qe}${e}`)),I=`${qe}${_}`,E=T?.join(", ");return{fallbackSrc:I,srcset:E,css:b}};Q();const je={getScaleToFitImageURL:function(e,t,i,n,r,o){const s=Ue(h.SCALE_TO_FIT,{id:e,width:t,height:i,name:o&&o.name},{width:n,height:r,htmlTag:g.IMG,alignment:d.CENTER,pixelAspectRatio:o?.devicePixelRatio??Ye},o);return De(s.uri,o)},getScaleToFillImageURL:function(e,t,i,n,r,o){const s=Ue(h.SCALE_TO_FILL,{id:e,width:t,height:i,name:o&&o.name,focalPoint:{x:o&&o.focalPoint&&o.focalPoint.x,y:o&&o.focalPoint&&o.focalPoint.y}},{width:n,height:r,htmlTag:g.IMG,alignment:d.CENTER,pixelAspectRatio:o?.devicePixelRatio??Ye},o);return De(s.uri,o)},getCropImageURL:function(e,t,i,n,r,o,s,a,c,l){const u=Ue(h.SCALE_TO_FILL,{id:e,width:t,height:i,name:l&&l.name,crop:{x:n,y:r,width:o,height:s}},{width:a,height:c,htmlTag:g.IMG,alignment:d.CENTER,pixelAspectRatio:l?.devicePixelRatio??Ye},l);return De(u.uri,l)}},qe=We},72757:(e,t,i)=>{(0,i(30012).Rr)()},98700:(e,t,i)=>{var n=i(30012),r=i(20826);((e=window)=>{const{mediaServices:t,environmentConsts:i,requestUrl:o,staticVideoUrl:s}=e.customElementNamespace;(0,n.EH)(e,t,{...i,prefersReducedMotion:(0,r.O)(window,o),staticVideoUrl:s}),(0,n.jh)(e),(0,n.p7)(e,t,i)})(),window.resolveExternalsRegistryModule("imageClientApi")},30012:(e,t,i)=>{i.d(t,{Rr:()=>F,Aq:()=>h,p7:()=>R,jh:()=>P,EH:()=>U,KU:()=>c,_o:()=>a,vk:()=>l,NL:()=>y,yO:()=>A});var n=i(17709),r=i.n(n);const o=(e,t,i)=>{let n=1,r=0;for(let o=0;ot)return!1;if(r+=s,r>t&&(n++,r=s,n>i))return!1}return!0},s=(e,t,i)=>{let n=-1/0;const r=e.map((e=>(e.height+t>n&&(n=e.height+t),e.height+t)));let s=n,a=n*e.length,c=n;for(;s{this.mutationObserver?.observe(this,{childList:!0,subtree:!0}),this.containerWidthObserver?.observe(this),Array.from(this.children).forEach((e=>{this.handleItemAdded(e)}))},this.detachHeightCalcObservers=()=>{this.mutationObserver?.disconnect(),this.containerWidthObserver?.disconnect(),this.childResizeObserver?.disconnect()},this.recalcHeight=()=>{this.isActive&&r().measure((()=>{if(!this.isActive||this.isDuringCalc)return;this.isDuringCalc=!0;const e=getComputedStyle(this),t=s(this.itemsHeights,this.getRowGap(e),this.getColumnCount(e));this.isDuringCalc=!1,r().mutate((()=>{this.setContainerHeight(t),this.style.setProperty("visibility",null)}))}))},this.cleanUp=()=>{this.detachHeightCalcObservers(),this.removeContainerHeight(),this.isActiveObserver?.disconnect()},this.handleItemAdded=e=>{e instanceof window.HTMLElement&&this.childResizeObserver?.observe(e)},this.handleItemRemoved=e=>{e instanceof window.HTMLElement&&this.childResizeObserver?.unobserve(e)},this.createObservers=()=>{this.containerWidthObserver=new ResizeObserver((e=>{const t=e[0];if(t.contentRect.width!==this.containerWidth){if(0===this.containerWidth)return void(this.containerWidth=t.contentRect.width);this.containerWidth=t.contentRect.width,this.recalcHeight()}})),this.mutationObserver=new MutationObserver((e=>{e.forEach((e=>{Array.from(e.removedNodes).forEach(this.handleItemRemoved),Array.from(e.addedNodes).forEach(this.handleItemAdded)})),this.recalcHeight()})),this.childResizeObserver=new ResizeObserver((()=>{this.recalcHeight()})),this.isActiveObserver=new ResizeObserver((()=>{this.setIsActive()}))}}setContainerHeight(e){this.style.setProperty("--flex-columns-height",`${e}px`)}removeContainerHeight(){this.style.removeProperty("--flex-columns-height")}getColumnCount(e){const t=e.getPropertyValue("--flex-column-count");return parseInt(t,10)}getRowGap(e){const t=e.getPropertyValue("row-gap");return parseInt(t||"0",10)}activate(){this.isActive=!0,this.attachObservers(),this.recalcHeight()}deactivate(){this.isActive=!1,this.detachHeightCalcObservers(),this.removeContainerHeight()}calcActive(){return"multi-column-layout"===getComputedStyle(this).getPropertyValue("--container-layout-type")}get itemsHeights(){return Array.from(this.children).map((e=>{const t=getComputedStyle(e);let i=parseFloat(t.height||"0");return i+=parseFloat(t.marginTop||"0"),i+=parseFloat(t.marginBottom||"0"),{height:i}}))}setIsActive(){const e=this.calcActive();this.isActive!==e&&(e?this.activate():this.deactivate())}connectedCallback(){this.cleanUp(),this.createObservers(),this.setIsActive(),window.document.body&&this.isActiveObserver?.observe(window.document.body)}disconnectedCallback(){this.cleanUp()}}return e}const c="multi-column-layouter",h=()=>{const e={observedElementToRelayoutTarget:new Map,getLayoutTargets(t){const i=new Set;return t.forEach((t=>i.add(e.observedElementToRelayoutTarget.get(t)))),i},observe:i=>{e.observedElementToRelayoutTarget.set(i,i),t.observe(i)},unobserve:i=>{e.observedElementToRelayoutTarget.delete(i),t.unobserve(i)},observeChild:(i,n)=>{e.observedElementToRelayoutTarget.set(i,n),t.observe(i)},unobserveChild:i=>{e.observedElementToRelayoutTarget.delete(i),t.unobserve(i)}},t=new window.ResizeObserver((t=>{e.getLayoutTargets(t.map((e=>e.target))).forEach((e=>e.reLayout()))}));return e},l=(e,t=window)=>{let i=!1;return(...n)=>{i||(i=!0,t.requestAnimationFrame((()=>{i=!1,e(...n)})))}};function d(...e){let t=e[0];for(let i=1;i{if(/(^https?)|(^data)|(^blob)|(^\/\/)/.test(e))return e;let n=`${t}/`;return e&&(/^micons\//.test(e)?n=i:"ico"===/[^.]+$/.exec(e)[0]&&(n=n.replace("media","ficons"))),n+e},g=e=>{const t=window.location.search.split("&").map((e=>e.split("="))).find((e=>e[0].toLowerCase().includes("devicepixelratio")));return(t?Number(t[1]):null)||e||1};const p={columnCount:1,columns:1,fontWeight:1,lineHeight:1,opacity:1,zIndex:1,zoom:1},f=(e,t)=>e&&t&&Object.keys(t).forEach((i=>e.setAttribute(i,t[i]))),b=(e,t)=>e&&t&&Object.keys(t).forEach((i=>{const n=t[i];void 0!==n?e.style[i]=((e,t)=>"number"!=typeof t||p[e]?t:`${t}px`)(i,n):e.style.removeProperty(i)})),_=(e,t)=>e&&t&&Object.keys(t).forEach((i=>{e.style.setProperty(i,t[i])})),T=(e,t,i=!0)=>{return e&&i?(n=e.dataset[t])?"true"===n||"false"!==n&&("null"===n?null:""+ +n===n?+n:n):n:e.dataset[t];var n},I=(e,t)=>e&&t&&Object.assign(e.dataset,t),E=e=>e||document.documentElement.clientHeight||window.innerHeight||0,L={fit:"contain",fill:"cover"};const w=(e=window)=>({measure:function(e,t,i,{containerId:n,bgEffectName:r},o){const s=i[e],a=i[n],{width:c,height:h}=o.getMediaDimensionsByEffect(r,a.offsetWidth,a.offsetHeight,E(o.getScreenHeightOverride?.()));t.width=c,t.height=h,t.currentSrc=s.style.backgroundImage,t.bgEffectName=s.dataset.bgEffectName},patch:function(t,i,n,r,o){const s=n[t];r.targetWidth=i.width,r.targetHeight=i.height;const a=((e,t,i)=>{const{targetWidth:n,targetHeight:r,imageData:o,filters:s,displayMode:a=u.fittingTypes.SCALE_TO_FILL}=e;if(!n||!r||!o.uri)return{uri:"",css:{}};const{width:c,height:h,crop:l,name:d,focalPoint:p,upscaleMethod:f,quality:b,devicePixelRatio:_=t.devicePixelRatio}=o,T={filters:s,upscaleMethod:f,...b,hasAnimation:e?.hasAnimation||o?.hasAnimation},I=g(_),E={id:o.uri,width:c,height:h,...l&,...p&,...d&},L={width:n,height:r,htmlTag:i||"img",pixelAspectRatio:I,alignment:e.alignType||u.alignTypes.CENTER},w=(0,u.getData)(a,E,L,T);return w.uri=m(w.uri,t.staticMediaUrl,t.mediaRootUrl),w})(r,o,"bg");!function(e="",t){return!e.includes(t)||!!e!=!!t}(i.currentSrc,a.uri)?b(s,a.css.container):function(t,i){const n={backgroundImage:`url("${i.uri}")`,...i.css.container},r=new e.Image;r.onload=b.bind(null,t,n),r.src=i.uri}(s,a)}});const v=(e,t,i)=>{void 0===e.customElements.get(t)&&e.customElements.define(t,i)};function A(e,t=window){class i extends t.HTMLElement{constructor(){super()}reLayout(){}connectedCallback(){this.observeResize(),this.reLayout()}disconnectedCallback(){this.unobserveResize(),this.unobserveChildren()}observeResize(){e.resizeService.observe(this)}unobserveResize(){e.resizeService.unobserve(this)}observeChildren(e){this.childListObserver||(this.childListObserver=new t.MutationObserver((()=>this.reLayout()))),this.childListObserver.observe(e,{childList:!0})}observeChildAttributes(e,i=[]){this.childrenAttributesObservers||(this.childrenAttributesObservers=[]);const n=new t.MutationObserver((()=>this.reLayout()));n.observe(e,{attributeFilter:i}),this.childrenAttributesObservers.push(n)}observeChildResize(t){this.childrenResizeObservers||(this.childrenResizeObservers=[]),e.resizeService.observeChild(t,this),this.childrenResizeObservers.push(t)}unobserveChildrenResize(){this.childrenResizeObservers&&(this.childrenResizeObservers.forEach((t=>{e.resizeService.unobserveChild(t)})),this.childrenResizeObservers=null)}unobserveChildren(){if(this.childListObserver&&(this.childListObserver.disconnect(),this.childListObserver=null),this.childrenAttributesObservers){for(let e of this.childrenAttributesObservers)e.disconnect(),e=null;this.childrenAttributesObservers=null}this.unobserveChildrenResize()}}return i}const O=e=>{if(e.customElementNamespace||(e.customElementNamespace={}),void 0===e.customElementNamespace.WixElement){const t=A({resizeService:h()},e);return e.customElementNamespace.WixElement=t,t}return e.customElementNamespace.WixElement},C="wix-bg-image",R=(e=globalThis.window,t={},i={experiments:{}})=>{if(e&&void 0===e.customElements.get(C)){const n=function(e,t,i,n=window){const r=w(n);return class extends e{constructor(){super()}reLayout(){if(function(e){return e.isExperimentOpen("specs.thunderbolt.tb_stop_client_images")||e.isExperimentOpen("specs.thunderbolt.final_force_webp")||e.isExperimentOpen("specs.thunderbolt.final_force_no_webp")}(t))return;const e={},o={},s=this.getAttribute("id"),a=JSON.parse(this.dataset.tiledImageInfo),{bgEffectName:c}=this.dataset,{containerId:h}=a,l=n.document.getElementById(h);e[s]=this,e[h]=l,a.displayMode=a.imageData.displayMode,t.mutationService.measure((()=>{r.measure(s,o,e,{containerId:h,bgEffectName:c},t)})),t.mutationService.mutate((()=>{r.patch(s,o,e,a,i,t)}))}attributeChangedCallback(e,t){t&&this.reLayout()}disconnectedCallback(){super.disconnectedCallback()}static get observedAttributes(){return["data-tiled-image-info"]}}}(O(e),t,i,e);v(e,C,n)}};function y(e,t,i=window){const n={width:void 0,height:void 0,left:void 0};return class extends e{constructor(){super()}reLayout(){const{containerId:e,pageId:r,useCssVars:o,bgEffectName:s}=this.dataset,a=this.closest(`#${e}`)||i.document.getElementById(`${e}`),c=this.closest(`#${r}`)||i.document.getElementById(`${r}`),h={};t.mutationService.measure((()=>{const e="fixed"===i.getComputedStyle(this).position,n=E(t.getScreenHeightOverride?.()),r=a.getBoundingClientRect(),l=t.getMediaDimensionsByEffect(s,r.width,r.height,n),{hasParallax:d}=l,u=c&&(i.getComputedStyle(c).transition||"").includes("transform"),{width:m,height:g}=l,p=`${m}px`,f=`${g}px`;let b=(r.width-m)/2+"px";if(e){const e=i.document.documentElement.clientLeft;b=u?a.offsetLeft-e+"px":r.left-e+"px"}const _=e||d?0:(r.height-g)/2+"px",T=o?{"--containerW":p,"--containerH":f,"--containerL":b,"--screenH_val":`${n}`}:{width:p,height:f,left:b,top:_};Object.assign(h,T)})),t.mutationService.mutate((()=>{o?(b(this,n),_(this,h)):b(this,h)}))}connectedCallback(){super.connectedCallback(),t.windowResizeService.observe(this)}disconnectedCallback(){super.disconnectedCallback(),t.windowResizeService.unobserve(this)}attributeChangedCallback(e,t){t&&this.reLayout()}static get observedAttributes(){return["data-is-full-height","data-container-size"]}}}const M="__more__",S="moreContainer",x=(e=window)=>{const t=(e,t,i,n,r,o,s,a)=>{if(e-=r*(s?n.length:n.length-1),e-=a.left+a.right,t&&(n=n.map((()=>o))),n.some((e=>0===e)))return null;let c=0;const h=n.reduce(((e,t)=>e+t),0);if(h>e)return null;if(t){if(i){const t=Math.floor(e/n.length),i=n.map((()=>t));if(c=t*n.length,c{n<=t-1&&i[n]++}))}return i}return n}if(i){const t=Math.floor((e-h)/n.length);c=0;const i=n.map((e=>(c+=e+t,e+t)));if(c{n<=t-1&&i[n]++}))}return i}return n},i=e=>Math.round(e),n=e=>{const t=parseFloat(e);return isFinite(t)?t:0},r=t=>t.getBoundingClientRect().top>e.innerHeight/2,o=(e,t,i,n,r)=>{const{width:o,height:s,alignButtons:a,hoverListPosition:c,menuItemContainerExtraPixels:h}=t,l=t.absoluteLeft,d=((e,t,i,n,r,o,s,a,c,h)=>{let l="0px",d="auto";const u=o.left,m=o.width;if("left"===t?l="left"===r?0:`${u+e.left}px`:"right"===t?(d="right"===r?0:n-u-m-e.right+"px",l="auto"):"left"===r?l=`${u+(m+e.left-i)/2}px`:"right"===r?(l="auto",d=(m+e.right-(i+e.width))/2+"px"):l=`${e.left+u+(m-(i+e.width))/2}px`,"auto"!==l){const e=s+parseInt(l,10);e+h>c?(l="auto",d=0):l=e<0?0:l}"auto"!==d&&(d=a-parseInt(d,10)>c?0:d);return{moreContainerLeft:l,moreContainerRight:d}})(h,a,n,o,c,i,l,l+o,t.bodyClientWidth,r);return{left:d.moreContainerLeft,right:d.moreContainerRight,top:t.needToOpenMenuUp?"auto":`${s}px`,bottom:t.needToOpenMenuUp?`${s}px`:"auto"}},s=e=>!isNaN(parseFloat(e))&&isFinite(e);return{measure:(o,s)=>{const a={},c={};c[o]=s;let h=1;const l=s.getRootNode().querySelector("#site-root");l&&(h=l.getBoundingClientRect().width/l.offsetWidth);const d=(e=>{const t=+T(e,"numItems");return t<=0||t>Number.MAX_SAFE_INTEGER?[]:new Array(t).fill(0).map(((e,t)=>String(t)))})(c[o]),u=(e=>["moreContainer","itemsContainer","dropWrapper"].concat(e,[M]))(d);u.forEach((e=>{const t=`${o}${e}`;c[t]=s.getRootNode().getElementById(`${t}`)})),a.children=((e,t,n,r)=>{const o={};return n.forEach((n=>{const s=`${e}${n}`,a=t[s];a&&(o[s]={width:a.offsetWidth,boundingClientRectWidth:i(a.getBoundingClientRect().width/r),height:a.offsetHeight})})),o})(o,c,u,h);const m=c[o],g=c[`${o}itemsContainer`],p=g.childNodes,f=c[`${o}moreContainer`],b=f.childNodes,_=T(m,"stretchButtonsToMenuWidth"),I=T(m,"sameWidthButtons"),E=m.getBoundingClientRect();a.absoluteLeft=E.left,a.bodyClientWidth=e.document.body.clientWidth,a.alignButtons=T(m,"dropalign"),a.hoverListPosition=T(m,"drophposition"),a.menuBorderY=parseInt(T(m,"menuborderY"),10),a.ribbonExtra=parseInt(T(m,"ribbonExtra"),10),a.ribbonEls=parseInt(T(m,"ribbonEls"),10),a.labelPad=parseInt(T(m,"labelPad"),10),a.menuButtonBorder=parseInt(T(m,"menubtnBorder"),10),a.menuItemContainerMargins=(t=>{const i=t.lastChild,n=e.getComputedStyle(i);return(parseInt(n.marginLeft,10)||0)+(parseInt(n.marginRight,10)||0)})(g),a.menuItemContainerExtraPixels=((t,i)=>{const r=e.getComputedStyle(t);let o=n(r.borderTopWidth)+n(r.paddingTop),s=n(r.borderBottomWidth)+n(r.paddingBottom),a=n(r.borderLeftWidth)+n(r.paddingLeft),c=n(r.borderRightWidth)+n(r.paddingRight);return i&&(o+=n(r.marginTop),s+=n(r.marginBottom),a+=n(r.marginLeft),c+=n(r.marginRight)),{top:o,bottom:s,left:a,right:c,height:o+s,width:a+c}})(g,!0),a.needToOpenMenuUp=r(m),a.menuItemMarginForAllChildren=!_||"false"!==g.getAttribute("data-marginAllChildren"),a.moreSubItem=[],a.labelWidths={},a.linkIds={},a.parentId={},a.menuItems={},a.labels={},b.forEach(((t,i)=>{a.parentId[t.id]=T(t,"parentId");const n=T(t,"dataId");a.menuItems[n]={dataId:n,parentId:T(t,"parentId"),moreDOMid:t.id,moreIndex:i},c[t.id]=t;const r=t.querySelector("p");c[r.id]=r,a.labels[r.id]={width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,lineHeight:parseInt(e.getComputedStyle(r).fontSize,10)},a.moreSubItem.push(t.id)})),p.forEach(((e,t)=>{const n=T(e,"dataId");a.menuItems[n]=a.menuItems[n]||{},a.menuItems[n].menuIndex=t,a.menuItems[n].menuDOMid=e.id,a.children[e.id].left=e.offsetLeft;const r=e.querySelector("p");c[r.id]=r,a.labelWidths[r.id]=((e,t)=>i(e.getBoundingClientRect().width/t))(r,h);const o=e.querySelector("p");c[o.id]=o,a.linkIds[e.id]=o.id}));const L=m.offsetHeight;a.height=L,a.width=m.offsetWidth,a.lineHeight=((e,t)=>e-t.menuBorderY-t.labelPad-t.ribbonEls-t.menuButtonBorder-t.ribbonExtra+"px")(L,a);const w=((e,i,n,r,o)=>{const s=i.width;i.hasOriginalGapData={},i.originalGapBetweenTextAndBtn={};const a=o.map((t=>{const n=r[e+t];let o;const s=T(n,"originalGapBetweenTextAndBtn");return void 0===s?(i.hasOriginalGapData[t]=!1,o=i.children[e+t].boundingClientRectWidth-i.labelWidths[`${e+t}label`],i.originalGapBetweenTextAndBtn[e+t]=o):(i.hasOriginalGapData[t]=!0,o=parseFloat(s)),i.children[e+t].width>0?Math.floor(i.labelWidths[`${e+t}label`]+o):0})),c=a.pop(),h=n.sameWidthButtons,l=n.stretchButtonsToMenuWidth;let d=!1;const u=i.menuItemContainerMargins,m=i.menuItemMarginForAllChildren,g=i.menuItemContainerExtraPixels,p=(e=>e.reduce(((e,t)=>e>t?e:t),-1/0))(a);let f=t(s,h,l,a,u,p,m,g);if(!f){for(let e=1;e<=a.length;e++)if(f=t(s,h,l,a.slice(0,-1*e).concat(c),u,p,m,g),f){d=!0;break}f||(d=!0,f=[c])}if(d){const e=f[f.length-1];for(f=f.slice(0,-1);f.length{const n=i[e];b(n,{overflowX:"visible"});const{menuItemIds:r,needToOpenMenuUp:a}=t,c=r.concat(M);I(n,{dropmode:a?"dropUp":"dropDown"});let h=0;if(t.hoverState===M){const e=t.realWidths.indexOf(0),n=t.menuItems[(l=t.menuItems,d=t=>t.menuIndex===e,Object.keys(l).find((e=>d(l[e],e))))],o=n.moreIndex,s=o===r.length-1;n.moreDOMid&&f(i[n.moreDOMid],{"data-listposition":s?"dropLonely":"top"}),Object.values(t.menuItems).filter((e=>!!e.moreDOMid)).forEach((e=>{if(e.moreIndex{const r=`${e+S+n}label`;h=Math.max(t.labels[r].width,h)}));var l,d;((e,t,i,n)=>{const{hoverState:r}=t;if("-1"!==r){const{menuItemIds:a}=t,c=a.indexOf(r);if(s(t.hoverState)||r===M){if(!t.realWidths)return;const r=Math.max(n,t.children[-1!==c?e+c:e+M].width),a=Math.max(n,t.children[`${e}dropWrapper`].width),h=((e,t)=>e+15+t.menuBorderY+t.labelPad+t.menuButtonBorder)(0!==t.moreSubItem.length?t.labels[`${t.moreSubItem[0]}label`].lineHeight:0,t);t.moreSubItem.forEach((e=>{b(i[e],{minWidth:`${r}px`}),b(i[`${e}label`],{minWidth:"0px",lineHeight:`${h}px`})}));const l=s(t.hoverState)?t.hoverState:"__more__",d={width:t.children[e+l].width,left:t.children[e+l].left},u=o(0,t,d,r,a);b(i[`${e}${S}`],{left:u.left,right:u.right}),b(i[`${e}dropWrapper`],{left:u.left,right:u.right,top:u.top,bottom:u.bottom})}}})(e,t,i,h),t.originalGapBetweenTextAndBtn&&c.forEach((n=>{t.hasOriginalGapData[n]||I(i[`${e}${n}`],{originalGapBetweenTextAndBtn:t.originalGapBetweenTextAndBtn[`${e}${n}`]})})),((e,t,i,n)=>{const{realWidths:r,height:o,menuItemContainerExtraPixels:s}=i;let a=0,c=null,h=null;const l=i.lineHeight,d=o-s.height;for(let o=0;o0,m=e+n[o];h=i.linkIds[m],u?(a++,c=m,b(t[m],{width:`${s}px`,height:`${d}px`,position:"relative","box-sizing":"border-box",overflow:"visible",visibility:"inherit"}),b(t[`${m}label`],{"line-height":l}),f(t[m],{"aria-hidden":!1})):(b(t[m],{height:"0px",overflow:"hidden",position:"absolute",visibility:"hidden"}),f(t[m],{"aria-hidden":!0}),f(t[h],{tabIndex:-1}))}1===a&&(I(t[`${e}moreContainer`],{listposition:"lonely"}),I(t[c],{listposition:"lonely"}))})(e,i,t,c)}}};const G="wix-dropdown-menu",F=(e=globalThis.window)=>{if(e&&void 0===e.customElements.get(G)){const t=h(),i=function(e,t,i=window){const n=x(i);return class extends e{constructor(){super(...arguments),this._visible=!1,this._mutationIds={read:null,write:null},this._itemsContainer=null,this._dropContainer=null,this._labelItems=[]}static get observedAttributes(){return["data-hovered-item"]}attributeChangedCallback(){this._isVisible()&&this.reLayout()}connectedCallback(){this._id=this.getAttribute("id"),this._hideElement(),this._waitForDomLoad().then((()=>{super.observeResize(),this._observeChildrenResize(),this.reLayout()}))}disconnectedCallback(){t.mutationService.clear(this._mutationIds.read),t.mutationService.clear(this._mutationIds.write),super.disconnectedCallback()}_waitForDomLoad(){let e;const t=new Promise((t=>{e=t}));return this._isDomReady()?e():(this._waitForDomReadyObserver=new i.MutationObserver((()=>this._onRootMutate(e))),this._waitForDomReadyObserver.observe(this,{childList:!0,subtree:!0})),t}_isDomReady(){return this._itemsContainer=this.getRootNode().getElementById(`${this._id}itemsContainer`),this._dropContainer=this.getRootNode().getElementById(`${this._id}dropWrapper`),this._itemsContainer&&this._dropContainer}_onRootMutate(e){this._isDomReady()&&(this._waitForDomReadyObserver.disconnect(),e())}_observeChildrenResize(){const e=Array.from(this._itemsContainer.childNodes);this._labelItems=e.map((e=>this.getRootNode().getElementById(`${e.getAttribute("id")}label`))),this._labelItems.forEach((e=>super.observeChildResize(e)))}_setVisibility(e){this._visible=e,this.style.visibility=e?"inherit":"hidden"}_isVisible(){return this._visible}_hideElement(){this._setVisibility(!1)}_showElement(){this._setVisibility(!0)}reLayout(){let e,i;t.mutationService.clear(this._mutationIds.read),t.mutationService.clear(this._mutationIds.write),this._mutationIds.read=t.mutationService.measure((()=>{const t=n.measure(this._id,this);e=t.measures,i=t.domNodes})),this._mutationIds.write=t.mutationService.mutate((()=>{n.patch(this._id,e,i),this._showElement()}))}}}(O(e),{resizeService:t,mutationService:r()},e);e.customElements.define(G,i)}};const N="wix-iframe",P=(e=globalThis.window)=>{if(e&&void 0===e.customElements.get(N)){const t=function(e){return class extends e{constructor(){super()}reLayout(){const e=this.querySelector("iframe");if(e){const t=e.dataset.src;t&&e.src!==t&&(e.src=t,e.dataset.src="",this.dataset.src="")}}attributeChangedCallback(e,t,i){i&&this.reLayout()}static get observedAttributes(){return["data-src"]}}}(O(e));v(e,N,t)}},k={measure(e,t,{hasBgScrollEffect:i,videoWidth:n,videoHeight:r,fittingType:o,alignType:s="center",qualities:a,staticVideoUrl:c,videoId:h,videoFormat:l,focalPoint:m}){const g=i?t.offsetWidth:e.parentElement.offsetWidth,p=e.parentElement.offsetHeight,f=parseInt(n,10),b=parseInt(r,10),_=function(e,t,i,n){return{wScale:e/i,hScale:t/n}}(g,p,f,b),T=function(e,t,i,n){let r;r=e===u.fittingTypes.SCALE_TO_FIT?Math.min(t.wScale,t.hScale):Math.max(t.wScale,t.hScale);return{width:Math.round(i*r),height:Math.round(n*r)}}(o,_,f,b),I=function(e,{width:t,height:i}){const n=((e,t)=>{const i=e.reduce(((e,i)=>(e[t(i)]=i,e)),{});return Object.values(i)})(e,(e=>e.size)),r=n.find((e=>e.size>t*i));return r||e[e.length-1]}(a,T),E=function(e,t,i,n){if("mp4"===n)return e.url?d(t,e.url):d(t,i,e.quality,n,"file.mp4");return""}(I,c,h,l),w=function(e,t){const i=e.networkState===e.NETWORK_NO_SOURCE,n=!e.currentSrc.endsWith(t);return t&&(n||i)}(e,E),v=L[o]||"cover",A=m?function(e,t,i){const{width:n,height:r}=e,{width:o,height:s}=t,{x:a,y:c}=i;if(!o||!s)return`${a}% ${c}%`;const h=Math.max(o/n,s/r),l=n*h,d=r*h,u=Math.max(0,Math.min(l-o,l*(a/100)-o/2)),m=Math.max(0,Math.min(d-s,d*(c/100)-s/2)),g=u&&Math.floor(u/(l-o)*100),p=m&&Math.floor(m/(d-s)*100);return`${g}% ${p}%`}(T,{width:g,height:p},m):"",O=s.replace("_"," ");return{videoSourceUrl:E,needsSrcUpdate:w,videoStyle:{height:"100%",width:"100%",objectFit:v,objectPosition:A||O}}},mutate(e,t,i,n,r,o,s,a,c,h,l){r?i.setAttribute("autoplay",""):i.removeAttribute("autoplay"),t?b(t,n):(!function(e,t,i,n,r,o){o&&t.paused&&(i.style.opacity="1",t.style.opacity="0");const s=t.paused||""===t.currentSrc,a=e||o;if(a&&s)if(t.ontimeupdate=null,t.onseeked=null,t.onplay=null,!o&&r){const e=t.muted;t.muted=!0,t.ontimeupdate=()=>{t.currentTime>0&&(t.ontimeupdate=null,t.onseeked=()=>{t.onseeked=null,t.muted=e,B(t,i,n)},t.currentTime=0)}}else t.onplay=()=>{o||(t.onplay=null),B(t,i,n)}}(s,i,e,a,r,l),b(i,n)),function(e,t,i){e&&(t.src=i,t.load())}(s,i,o),i.playbackRate=h}};function B(e,t,i){"fade"===i&&(t.style.transition="opacity 1.6s ease-out"),t.style.opacity="0",e.style.opacity="1"}function H(e,t,i){return class extends e{constructor(){super()}connectedCallback(){t.isExperimentOpen("specs.thunderbolt.videoLazyLoading")?i.disableImagesLazyLoading?this.reLayout():t.intersectionObserver.observe(this):super.connectedCallback.call(this)}disconnectedCallback(){t.isExperimentOpen("specs.thunderbolt.videoLazyLoading")?(this.unobserveResize(),this.unobserveIntersect(),this.unobserveChildren()):super.disconnectedCallback.call(this)}unobserveIntersect(){t.intersectionObserver?.unobserve(this)}reLayout(){const{isVideoDataExists:e,videoWidth:n,videoHeight:r,qualities:o,videoId:s,videoFormat:a,alignType:c,fittingType:h,focalPoint:l,hasBgScrollEffect:d,autoPlay:u,animatePoster:m,containerId:g,isEditorMode:p,playbackRate:f,hasAlpha:b}=JSON.parse(this.dataset.videoInfo);if(!e)return;const _=!i.prefersReducedMotion&&u,T=this.querySelector(`video[id^="${g}"]`),I=this.querySelector(`.bgVideoposter[id^="${g}"]`);if(this.unobserveChildren(),!T||!I)return void this.observeChildren(this);const E=this.getRootNode().getElementById(`${g}`),L=E.querySelector(`.webglcanvas[id^="${g}"]`);!(b||"true"===E.dataset.hasAlpha)||L?t.mutationService.measure((()=>{const e=k.measure(T,E,{hasBgScrollEffect:d,videoWidth:n,videoHeight:r,fittingType:h,alignType:c,qualities:o,staticVideoUrl:i.staticVideoUrl,videoId:s,videoFormat:a,focalPoint:l}),{videoSourceUrl:u,needsSrcUpdate:g,videoStyle:b}=e;t.mutationService.mutate((()=>{k.mutate(I,L,T,b,_,u,g,m,a,f,p)}))})):requestAnimationFrame((()=>this.reLayout()))}attributeChangedCallback(e,t){t&&this.reLayout()}static get observedAttributes(){return["data-video-info"]}}}const $="wix-video",U=(e=globalThis.window,t,i={experiments:{}})=>{if(e&&void 0===e.customElements.get($)){const n=O(e);let r;if(t?.isExperimentOpen("specs.thunderbolt.videoLazyLoading")){const e=new IntersectionObserver((e=>e.map((e=>{if(e.isIntersecting){const t=e.target;t.unobserveIntersect(),t.observeResize()}return e}))),{rootMargin:"50% 100%"});r=H(n,{...t,intersectionObserver:e},i)}else r=H(n,t,i);v(e,$,r)}}},96567:(e,t,i)=>{var n=i(17709),r=i.n(n),o=i(33842),s=i(22538),a=i(30012);const c={imageClientApi:s,...{init:function(e,t=window){!
/**
* @license
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/function(e){if(void 0===e.Reflect||void 0===e.customElements||e.customElements.hasOwnProperty("polyfillWrapFlushCallback"))return;const t=e.HTMLElement;e.HTMLElement=function(){return e.Reflect.construct(t,[],this.constructor)},e.HTMLElement.prototype=t.prototype,e.HTMLElement.prototype.constructor=e.HTMLElement,e.Object.setPrototypeOf(e.HTMLElement,t),e.Object.defineProperty(e.HTMLElement,"name",{value:t.name})}(t);const i={registry:new Set,observe(e){i.registry.add(e)},unobserve(e){i.registry.delete(e)}};e.windowResizeService.init((0,a.vk)((()=>i.registry.forEach((e=>e.reLayout())))),t);const n=(0,a.Aq)(),r=(e,i)=>{void 0===t.customElements.get(e)&&t.customElements.define(e,i)},o=(0,a.yO)({resizeService:n},t);return t.customElementNamespace={WixElement:o},r("wix-element",o),{contextWindow:t,defineWixBgMedia:e=>{const n=(0,a.NL)(o,{windowResizeService:i,...e},t);r("wix-bg-media",n)},defineMultiColumnRepeaterElement:()=>{const e=(0,a._o)();r(a.KU,e)}}}}};var h=i(3412);const l=()=>({getSiteScale:()=>{const e=document.querySelector("#site-root");return e?e.getBoundingClientRect().width/e.offsetWidth:1}}),d=()=>{const e={init:e=>new ResizeObserver(e)},t={init:e=>window.addEventListener("resize",e)},i=l();return c.init({resizeService:e,windowResizeService:t,siteService:i})},u=(e,t,i,n)=>{const{getMediaDimensions:r,...s}=o[e]||{};return r?{...r(t,i,n),...s}:{width:t,height:i,...s}},{experiments:m,media:g,requestUrl:p}=window.viewerModel;((e,t,i,n)=>{const{environmentConsts:o,wixCustomElements:s,media:a,requestUrl:m,mediaServices:g}=((e,t,i,n)=>{const o={staticMediaUrl:e.media.staticMediaUrl,mediaRootUrl:e.media.mediaRootUrl,experiments:{},isViewerMode:!0,devicePixelRatio:/iemobile/i.test(navigator.userAgent)?Math.round(window.screen.availWidth/(window.screen.width||window.document.documentElement.clientWidth)):window.devicePixelRatio,...n},s={mutationService:r(),isExperimentOpen:t=>Boolean(e.experiments[t]),siteService:l()},a={getMediaDimensionsByEffect:u,...s,...i};return{...e,wixCustomElements:t||d(),services:s,environmentConsts:o,mediaServices:a}})(e,t,i,n),p=s?.contextWindow||window;p.wixCustomElements=s,Object.assign(p.customElementNamespace,{mediaServices:g,environmentConsts:o,requestUrl:m,staticVideoUrl:a.staticVideoUrl}),(0,h.g)({...g},s.contextWindow,o),s.defineWixBgMedia(g),s.defineMultiColumnRepeaterElement(),window.__imageClientApi__=c.imageClientApi})({experiments:m,media:g,requestUrl:p})}}]);
//# sourceMappingURL=https://static.parastorage.com/services/wix-thunderbolt/dist/custom-elem...
{i.r(t),i.d(t,{BackgroundParallax:()=>o,BackgroundParallaxZoom:()=>r,BackgroundReveal:()=>c,BgCloseUp:()=>d,BgExpand:()=>h,BgFabeBack:()=>l,BgFadeIn:()=>g,BgFadeOut:()=>u,BgFake3D:()=>m,BgPanLeft:()=>f,BgPanRight:()=>b,BgParallax:()=>p,BgPullBack:()=>v,BgReveal:()=>M,BgRotate:()=>w,BgShrink:()=>y,BgSkew:()=>x,BgUnwind:()=>D,BgZoomIn:()=>I,BgZoomOut:()=>S,ImageParallax:()=>E,ImageReveal:()=>P});var s=i(41217);const n=(e,t)=>({width:e,height:t}),a=(e,t,i)=>({width:e,height:Math.max(t,i)});const o={hasParallax:!0,getMediaDimensions:a},r={hasParallax:!0,getMediaDimensions:a},c={hasParallax:!0,getMediaDimensions:a},d={getMediaDimensions:n},h={getMediaDimensions:n},l={getMediaDimensions:n},g={getMediaDimensions:n},u={getMediaDimensions:n},m={hasParallax:!0,getMediaDimensions:a},f={getMediaDimensions:(e,t)=>({width:1.2*e,height:t})},b={getMediaDimensions:(e,t)=>({width:1.2*e,height:t})},p={hasParallax:!0,getMediaDimensions:a},v={getMediaDimensions:n},M={hasParallax:!0,getMediaDimensions:a},w={getMediaDimensions:(e,t)=>function(e,t,i){const n=(0,s.kU)(i),a=Math.hypot(e,t)/2,o=Math.acos(e/2/a),r=e*Math.abs(Math.cos(n))+t*Math.abs(Math.sin(n)),c=e*Math.abs(Math.sin(n))+t*Math.abs(Math.cos(n));return{width:Math.ceil(nfunction(e,t,i){const n=(0,s.kU)(i);return{width:e,height:e*Math.tan(n)+t}}(e,t,20)},D={getMediaDimensions:n},I={hasParallax:!0,getMediaDimensions:a},S={getMediaDimensions:(e,t)=>({width:1.15*e,height:1.15*t})},E={getMediaDimensions:(e,t)=>({width:e,height:1.5*t})},P={getMediaDimensions:(e,t,i)=>({width:e,height:i})}},3412:(e,t,i)=>{i.d(t,{g:()=>w});var s=i(22538);const n={columnCount:1,columns:1,fontWeight:1,lineHeight:1,opacity:1,zIndex:1,zoom:1},a=(e,t)=>(Array.isArray(t)?t:[t]).reduce(((t,i)=>{const s=e[i];return void 0!==s?Object.assign(t,{[i]:s}):t}),{}),o=(e,t)=>e&&t&&Object.keys(t).forEach((i=>{const s=i,a=t[s];void 0!==a?e.style[s]=((e,t)=>"number"!=typeof t||n[e]?t.toString():`${t}px`)(s,a):e.style.removeProperty(s)})),r=(e,t,i)=>{if(!e.targetWidth||!e.targetHeight||!e.imageData.uri)return{uri:"",css:{},transformed:!1};const{imageData:n}=e,o=e.displayMode||s.fittingTypes.SCALE_TO_FILL,r=Object.assign(a(n,["upscaleMethod"]),a(e,["filters","encoding"]),e.quality||n.quality,{hasAnimation:e?.hasAnimation||n?.hasAnimation}),h=e.imageData.devicePixelRatio||t.devicePixelRatio,l=d(h),g=Object.assign(a(n,["width","height","crop","name","focalPoint"]),{id:n.uri}),u={width:e.targetWidth,height:e.targetHeight,htmlTag:i||"img",pixelAspectRatio:l,alignment:e.alignType||s.alignTypes.CENTER},m=(0,s.getData)(o,g,u,r);return m.uri=c(m.uri,t.staticMediaUrl,t.mediaRootUrl),m},c=(e,t,i)=>{if(/(^https?)|(^data)|(^blob)|(^\/\/)/.test(e))return e;let s=`${t}/`;return e&&(/^micons\//.test(e)?s=i:"ico"===/[^.]+$/.exec(e)?.[0]&&(s=s.replace("media","ficons"))),s+e},d=e=>{const t=window.location.search.split("&").map((e=>e.split("="))).find((e=>e[0]?.toLowerCase().includes("devicepixelratio")));return(t?.[1]?Number(t[1]):null)||e||1},h=e=>e.getAttribute("src"),l=80;const g={measure:function(e,t,i,{containerElm:s,bgEffect:n="none",sourceSets:a},o){const r=i.image,c=i[e],d=(g=o.getScreenHeightOverride?.(),g||document.documentElement.clientHeight||window.innerHeight||0);var g;const u=s?.dataset.mediaHeightOverrideType,m=n&&"none"!==n||a&&a.some((e=>e.scrollEffect)),f=s&&m?s:c,b=window.getComputedStyle(c).getPropertyValue("--bg-scrub-effect"),{width:p,height:v}=o.getMediaDimensionsByEffect?.(b||n,f.offsetWidth,f.offsetHeight,d)||{width:c.offsetWidth,height:c.offsetHeight};if(a&&(t.sourceSetsTargetHeights=function(e,t,i,s,n){const a={};return e.forEach((({mediaQuery:e,scrollEffect:o})=>{a[e]=n.getMediaDimensionsByEffect(o,t,i,s).height})),a}(a,f.offsetWidth,f.offsetHeight,d,o)),!r)return;const M=h(r);b&&(t.top=.5*(c.offsetHeight-v),t.left=.5*(c.offsetWidth-p)),t.width=p,t.height=function(e,t){return"fixed"===t||"viewport"===t?document.documentElement.clientHeight+l:e}(v,u),t.screenHeight=d,t.imgSrc=M,t.boundingRect=c.getBoundingClientRect(),t.mediaHeightOverrideType=u,t.srcset=r.srcset},patch:function(e,t,i,n,a,c,d,h,l){if(!Object.keys(t).length)return;const{imageData:g}=n,u=i[e],m=i.image;h&&(g.devicePixelRatio=1);const f=n.targetScale||1,b={...n,...!n.skipMeasure&,displayMode:g.displayMode},p=r(b,a,"img"),v=p?.css?.img||{},M=function(e,t,i,s,n){const a=function(e,t=1){return 1!==t?{...e,width:"100%",height:"100%"}:e}(t,s);if(n&&(delete a.height,a.width="100%"),!e)return a;const o={...a};return"fill"===i?(o.position="absolute",o.top="0"):"fit"===i&&(o.height="100%"),"fixed"===e&&(o["will-change"]="transform"),o.objectPosition&&(o.objectPosition=t.objectPosition.replace(/(center|bottom)$/,"top")),o}(t.mediaHeightOverrideType,v,g.displayMode,f,d);o(m,M),(t.top||t.left)&&o(u,{top:`${t.top}px`,left:`${t.left}px`});const w=p?.uri||"",y=g?.hasAnimation||n?.hasAnimation,x=function(e,t,i){const{sourceSets:s}=t;if(!s||!s.length)return;const n={};return s.forEach((({mediaQuery:s,crop:a,focalPoint:o})=>{const c={...t,targetHeight:(e.sourceSetsTargetHeights||{})[s]||0,imageData:{...t.imageData,crop:a,focalPoint:o}},d=r(c,i,"img");n[s]=d.uri||""})),n}(t,b,a);if(l&&(m.dataset.ssrSrcDone="true"),n.isLQIP&&n.lqipTransition&&!("transitioned"in u.dataset)&&(u.dataset.transitioned="",m.complete?m.onload=function(){m.dataset.loadDone=""}:m.onload=function(){m.complete?m.dataset.loadDone="":m.onload=function(){m.dataset.loadDone=""}}),c){((e,t)=>(0,s.getFileExtension)(e)===s.fileType.GIF||(0,s.getFileExtension)(e)===s.fileType.WEBP&&t)(g.uri,y)?(m.setAttribute("fetchpriority","low"),m.setAttribute("loading","lazy"),m.setAttribute("decoding","async")):m.setAttribute("fetchpriority","high"),m.currentSrc!==w&&m.setAttribute("src",w);t.srcset&&!t.srcset.split(", ").some((e=>e.split(" ")[0]===w))&&m.setAttribute("srcset",w),i.picture&&b.sourceSets&&Array.from(i.picture.querySelectorAll("source")).forEach((e=>{const t=e.media||"",i=x?.[t];e.srcset!==i&&e.setAttribute("srcset",i||"")}))}}},u={parallax:"ImageParallax",fixed:"ImageReveal"};const m=function(e,t,i){return class extends i.HTMLElement{constructor(){super(),this.childListObserver=null,this.timeoutId=null}attributeChangedCallback(e,t){t&&this.reLayout()}connectedCallback(){t.disableImagesLazyLoading?this.reLayout():this.observeIntersect()}disconnectedCallback(){this.unobserveResize(),this.unobserveIntersect(),this.unobserveChildren()}static get observedAttributes(){return["data-image-info"]}reLayout(){const s={},n={},a=this.getAttribute("id"),o=JSON.parse(this.dataset.imageInfo||""),r="true"===this.dataset.isResponsive,{bgEffectName:c}=this.dataset,{scrollEffect:d}=o.imageData,{sourceSets:l}=o,m=c||d&&u[d];l&&l.length&&l.forEach((e=>{e.scrollEffect&&(e.scrollEffect=u[e.scrollEffect])})),s[a]=this,o.containerId&&(s[o.containerId]=i.document.getElementById(`${o.containerId}`));const f=o.containerId?s[o.containerId]:void 0;if(s.image=this.querySelector("img"),s.picture=this.querySelector("picture"),!s.image){const e=this;return void this.observeChildren(e)}this.unobserveChildren(),this.observeChildren(this),e.mutationService.measure((()=>{g.measure(a,n,s,{containerElm:f,bgEffect:m,sourceSets:l},e)}));const b=(i,c)=>{e.mutationService.mutate((()=>{g.patch(a,n,s,o,t,i,r,m,c)}))},p=s.image,v=this.dataset.hasSsrSrc&&!p.dataset.ssrSrcDone;!h(p)||v?b(!0,!0):this.debounceImageLoad(b)}debounceImageLoad(e){clearTimeout(this.timeoutId),this.timeoutId=i.setTimeout((()=>{e(!0)}),250),e(!1)}observeResize(){e.resizeService?.observe(this)}unobserveResize(){e.resizeService?.unobserve(this)}observeIntersect(){e.intersectionService?.observe(this)}unobserveIntersect(){e.intersectionService?.unobserve(this)}observeChildren(e){this.childListObserver||(this.childListObserver=new i.MutationObserver((()=>{this.reLayout()}))),this.childListObserver.observe(e,{childList:!0})}unobserveChildren(){this.childListObserver&&(this.childListObserver.disconnect(),this.childListObserver=null)}}};var f=i(17709),b=i.n(f);const p=()=>/iemobile/i.test(navigator.userAgent)?Math.round(window.screen.availWidth/(window.screen.width||window.document.documentElement.clientWidth)):window.devicePixelRatio,v="https://static.wixstatic.com/media",M="https://static.wixstatic.com";function w(e={},t=null,i={}){if("undefined"==typeof window)return;const s={staticMediaUrl:v,mediaRootUrl:M,experiments:{},devicePixelRatio:p(),...i},n=function(e,t){const i="wow-image";if(void 0===(e=e||window).customElements.get(i)){let s,n;return e.ResizeObserver&&(s=new e.ResizeObserver((e=>e.map((e=>e.target.reLayout()))))),e.IntersectionObserver&&(n=new IntersectionObserver((e=>e.map((e=>{if(e.isIntersecting){const t=e.target;t.unobserveIntersect(),t.observeResize()}return e}))),{rootMargin:"150% 100%"})),function(a){const o=m({resizeService:s,intersectionService:n,mutationService:b(),...t},a,e);e.customElements.define(i,o)}}}(t,e);n&&n(s)}},41217:(e,t,i)=>{i.d(t,{Io:()=>n,Rb:()=>o,_b:()=>s,kU:()=>a});function s(e,t,i,s,n){return(n-e)*(s-i)/(t-e)+i}function n(e,t){let[i,s]=e,[n,a]=t;return Math.sqrt((n-i)**2+(a-s)**2)}function a(e){return e*Math.PI/180}function o(e,t,i){void 0===e&&(e=[0,0]),void 0===t&&(t=[0,0]),void 0===i&&(i=0);return(360+i+180*Math.atan2(t[1]-e[1],t[0]-e[0])/Math.PI)%360}}},e=>{e.O(0,[592,8398],(()=>{return t=96567,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=https://static.parastorage.com/services/wix-thunderbolt/dist/initCustomE...
window.resolveExternalsRegistryPromise = r)
window.resolveExternalsRegistryModule = (name) => externalRegistryPromise.then(() => window.externalsRegistry[name].onload())
]]>
{window.__imageClientApi__=window.__imageClientApi__||{sdk:{}};const{lodash:e,react:o,reactDOM:a,imageClientApi:n,clientSdk:d}=window.externalsRegistry={lodash:{},react:{},reactDOM:{},imageClientApi:{},clientSdk:{}};n.loaded=new Promise((e=>{n.onload=e})),e.loaded=new Promise((o=>{e.onload=o})),d.loaded=new Promise((e=>{d.onload=e})),window.ReactDOM||(window.reactDOMReference=window.ReactDOM={loading:!0}),a.loaded=new Promise((e=>{a.onload=()=>{Object.assign(window.reactDOMReference||{},window.ReactDOM,{loading:!1}),e()}})),window.React||(window.reactReference=window.React={loading:!0}),o.loaded=new Promise((e=>{o.onload=()=>{Object.assign(window.reactReference||{},window.React,{loading:!1}),e()}})),window.reactAndReactDOMLoaded=Promise.all([o.loaded,a.loaded]),window.resolveExternalsRegistryPromise()}},e=>{var o;o=42243,e(e.s=o)}]);
//# sourceMappingURL=https://static.parastorage.com/services/wix-thunderbolt/dist/externals-r...
{p.O(0,[592,8398],(()=>{return e=72757,p(p.s=e);var e}));p.O()}]);]]>
{r.d(o,{O:()=>s});const s=(e,o="")=>o.toLowerCase().includes("forcereducedmotion")||Boolean(e?.matchMedia("(prefers-reduced-motion: reduce)").matches)}},e=>{e.O(0,[592,8398],(()=>{return o=98700,e(e.s=o);var o}));e.O()}]);
//# sourceMappingURL=https://static.parastorage.com/services/wix-thunderbolt/dist/lazyCustomE...
{r.r(t),r.d(t,{platformWorkerPromise:()=>i});const{viewerModel:{siteAssets:{clientTopology:s},siteFeatures:a,siteFeaturesConfigs:{platform:o},site:{externalBaseUrl:p}},usedPlatformApis:l}=window,c=Worker&&a.includes("platform"),i=c?(async()=>{const e="platform_create-worker started";performance.mark(e);const{clientWorkerUrl:t,appsScripts:r,bootstrapData:a,sdksStaticPaths:c}=o,{appsSpecData:i,appDefIdToIsMigratedToGetPlatformApi:n,forceEmptySdks:d}=a,m=t.startsWith("http://localhost:")||t.startsWith("https://bo.wix.com/suricate/")||document.baseURI!==location.href?(e=>{const t=new Blob([`importScripts('${e}');`],{type:"application/javascript"});return URL.createObjectURL(t)})(t):t.replace(s.fileRepoUrl,`${p}/_partials`),f=new Worker(m),u=Object.keys(r.urls).filter((e=>!i[e]?.isModuleFederated)).reduce(((e,t)=>(e[t]=r.urls[t],e)),{});if(c&&c.mainSdks&&c.nonMainSdks){Object.values(n).every((e=>e))||d?f.postMessage({type:"preloadNamespaces",namespaces:l}):f.postMessage({type:"preloadAllNamespaces",sdksStaticPaths:c})}f.postMessage({type:"platformScriptsToPreload",appScriptsUrls:u});const k="platform_create-worker ended";return performance.mark(k),performance.measure("Create Platform Web Worker",e,k),f})():Promise.resolve()}},e=>{var t;t=11682,e(e.s=t)}]);
//# sourceMappingURL=https://static.parastorage.com/services/wix-thunderbolt/dist/createPlatf...
{!function(e){const n=new Set,a=[],s=e=>{const a=[];n.forEach((n=>{e.canHandleEvent(n)&&a.push(n)})),a.forEach((a=>{n.delete(a),e.handleEvent(a)}))};e.addEventListener("message",(e=>{const t={source:e.source,data:e.data,origin:e.origin},d=a.find((e=>e.canHandleEvent(t)));d?(s(d),d.handleEvent(t)):n.add(t)})),e._addWindowMessageHandler=e=>{a.push(e),s(e)}}(window)}},e=>{var n;n=1643,e(e.s=n)}]);
//# sourceMappingURL=https://static.parastorage.com/services/wix-thunderbolt/dist/windowMessa...
{r.d(t,{h:()=>a});var s=r(65672);const o=({useBatch:e=!0,publishMethod:t=s.PublishMethods.Auto,endpoint:r,muteBi:o=!1,biStore:a,sessionManager:i,fetch:n,factory:d})=>d({useBatch:e,publishMethod:t,endpoint:r}).setMuted(o).withUoUContext({msid:a.msid}).withNonEssentialContext({visitorId:()=>i.getVisitorId(),siteMemberId:()=>i.getSiteMemberId()}).updateDefaults({vsi:a.viewerSessionId,_av:`thunderbolt-${a.viewerVersion}`,isb:a.is_headless,...a.is_headless&}),a={createBaseBiLoggerFactory:o,createBiLoggerFactoryForFedops:e=>{const{biStore:{session_id:t,initialTimestamp:r,initialRequestTimestamp:s,dc:a,microPop:i,is_headless:n,isCached:d,pageData:p,rolloutData:l,caching:c,checkVisibility:u=(()=>""),viewerVersion:m,requestUrl:h,st:I,isSuccessfulSSR:f},muteBi:S=!1}=e;return o({...e,muteBi:S}).updateDefaults({ts:()=>Date.now()-r,tsn:()=>function({initialRequestTimestamp:e}){return"undefined"==typeof window?Math.round(performance.now()+(performance.timeOrigin-e)):Math.round(performance.now())}({initialRequestTimestamp:s}),dc:a,microPop:i,caching:c,session_id:t,st:I,url:h||p.pageUrl,ish:n,pn:p.pageNumber,isFirstNavigation:1===p.pageNumber,pv:u,pageId:p.pageId,isServerSide:!1,isSuccessfulSSR:f,is_lightbox:p.isLightbox,is_cached:d,is_sav_rollout:l.siteAssetsVersionsRollout?1:0,is_dac_rollout:l.isDACRollout?1:0,v:m})}}},36451:(e,t,r)=>{r.d(t,{W:()=>l});var s=r(76022),o=r(5189),a=r(44029),i=r(75967),n=r(66715),d=r(76904),p=r(23184);const l=({biLoggerFactory:e,customParams:t={},phasesConfig:r="SEND_ON_FINISH",appName:l="thunderbolt",presetType:c=s.u.BOLT,reportBlackbox:u=!1,paramsOverrides:m={},factory:h,muteThunderboltEvents:I=!1,experiments:f={},monitoringData:S})=>{const g=h(l,{presetType:c,phasesConfig:r,isPersistent:!0,isServerSide:!1,reportBlackbox:u,customParams:t,biLoggerFactory:e,paramsOverrides:m,enableSampleRateForAppNames:(0,d.k)("specs.thunderbolt.fedops_enableSampleRateForAppNames",f)??("undefined"!=typeof window&&(0,d.k)("specs.thunderbolt.fedops_enableSampleRateForAppNames",window?.viewerModel?.experiments))}),{interactionStarted:A,interactionEnded:N,appLoadingPhaseStart:R,appLoadingPhaseFinish:_,appLoadStarted:b,appLoaded:E}=g,v=(0,d.k)("specs.thunderbolt.fedopsMuteErrors",f),w=()=>"undefined"==typeof window,D=e=>e?.evid&&26===parseInt(e.evid,10),T=(()=>{const e=(0,n.n)();S?.viewerSessionId&&e.setSessionId(S.viewerSessionId);const r=S?.metaSiteId??"",s=S?.dc??"",o=!!S?.isHeadless,d=!!S?.isCached,p=!!S?.rolloutData?.isTBRollout,u=!!S?.rolloutData?.isDACRollout,m=!!S?.rolloutData?.siteAssetsVersionsRollout;return(0,a.V)({baseParams:{platform:i.OD.Viewer,msid:r,fullArtifactId:"com.wixpress.html-client.wix-thunderbolt",componentId:l},pluginParams:{useBatch:!0},data:{dataCenter:s,isHeadless:o,isCached:d,isRollout:p,isDacRollout:u,isSavRollout:m,isSsr:!1,presetType:c,customParams:t},reporterOptions:w()?{fetchFn:fetch}:{}}).withGlobalConfig(e).client()})(),y=e=>{T&&!w()&&(e?T.reportLoadStart():T.reportLoadFinish())},O=(e,t,r)=>{if(!T)return;const s=e.replaceAll(" ","_");t?T.transaction(s).start(r):T.transaction(s).finish(r)},B=(e,t,r)=>"react-native"!==p.env.RENDERER_BUILD&&(D(r)?v:!((e,t,r)=>{const a=t?.siteAssetsModule??"";return!(c===s.u.BOLT)||o.EQ.has(e)||r&&["thunderbolt-css","thunderbolt-features","thunderbolt-platform"].includes(a)})(e,r,t)),C=(e,t,r,s)=>{if(o.iy.has(l))return!0;if(B(e,t,s))return!1;if(s?.siteAssetsModule)return!0;const a=!!r?.appId&&!o.S_.has(r.appId),i=o.S2.has(e),n=o.wV.has(e);return i||a||!n&&!I};return g.interactionStarted=(e,t)=>{if(D(t?.paramsOverrides)?((e={})=>{if(!T)return;const{errorInfo:t,errorType:r}=e,s=new Error(t);T?.errorMonitor().reportError(s,{errorName:r,environment:"Viewer"})})(t?.paramsOverrides):w()||O(e,!0),C(e,!0,void 0,t?.paramsOverrides))return A.call(g,e,t);try{performance.mark(`${e} started`)}catch{}return{timeoutId:0}},g.interactionEnded=(e,t)=>{if(w()||O(e,!1),C(e,!0,void 0,t?.paramsOverrides))N.call(g,e,t);else try{performance.mark(`${e} ended`)}catch{}},g.appLoadingPhaseStart=(e,t)=>{if(O(e,!0,{appDefId:t?.appId,componentId:t?.widgetId}),C(e,!1,t))R.call(g,e,t);else try{performance.mark(`${e} started`)}catch{}},g.appLoadingPhaseFinish=(e,t,r)=>{if(O(e,!1,{appDefId:t?.appId,componentId:t?.widgetId}),C(e,!1,t))_.call(g,e,t,r);else try{performance.mark(`${e} finished`)}catch{}},g.appLoadStarted=e=>{y(!0),b.call(g,e)},g.appLoaded=e=>{y(!1),E.call(g,e)},g}},58839:(e,t,r)=>{r.d(t,{c:()=>s});const s=e=>{const t="thunderbolt-commons";return{reportAsyncWithCustomKey:(r,s,o)=>e.reportAsyncWithCustomKey(r,t,s,o),runAsyncAndReport:(r,s)=>e.runAsyncAndReport(r,t,s),runAndReport:(r,s)=>e.runAndReport(r,t,s),reportError:r=>{e.captureError(r,{tags:{feature:t,clientMetricsReporterError:!0}})},meter:(t,r)=>{e.meter(t,r)},histogram:(e,t)=>{}}}},97056:(e,t,r)=>{r.r(t),r.d(t,{createBiReporter:()=>i,site:()=>n});var s=r(9492),o=r(63590);const a=(...e)=>console.log("[TB] ",...e);function i(e=a,t=a,r=(()=>{}),s=a,o=a){return{reportBI:e,sendBeat:t,setDynamicSessionData:r,reportPageNavigation:s,reportPageNavigationDone:o}}const n=({biReporter:e,wixBiSession:t,viewerModel:r})=>a=>{a(s.O$).toConstantValue(t),a(s.u6).toConstantValue(e),a(s.lR).toConstantValue((0,o.f)(r))}},25196:(e,t,r)=>{var s,o;r.d(t,{lF:()=>s,mY:()=>a,w4:()=>o}),function(e){e[e.START=1]="START",e[e.VISIBLE=2]="VISIBLE",e[e.PAGE_FINISH=33]="PAGE_FINISH",e[e.FIRST_CDN_RESPONSE=4]="FIRST_CDN_RESPONSE",e[e.TBD=-1]="TBD",e[e.PAGE_NAVIGATION=101]="PAGE_NAVIGATION",e[e.PAGE_NAVIGATION_DONE=103]="PAGE_NAVIGATION_DONE"}(s||(s={})),function(e){e[e.NAVIGATION=1]="NAVIGATION",e[e.DYNAMIC_REDIRECT=2]="DYNAMIC_REDIRECT",e[e.INNER_ROUTE=3]="INNER_ROUTE",e[e.NAVIGATION_ERROR=4]="NAVIGATION_ERROR",e[e.CANCELED=5]="CANCELED"}(o||(o={}));const a={1:"page-navigation",2:"page-navigation-redirect",3:"page-navigation-inner-route",4:"navigation-error",5:"navigation-canceled"}},9492:(e,t,r)=>{r.d(t,{O$:()=>o,lR:()=>a,u6:()=>s});const s=Symbol.for("BI"),o=Symbol.for("WixBiSessionSymbol"),a=Symbol.for("appName")}}]);
//# sourceMappingURL=https://static.parastorage.com/services/wix-thunderbolt/dist/bi-common.i...
{n.d(i,{K:()=>m});var t=n(25196);const r=e=>{let i=!1;if(!/\(iP(hone|ad|od);/i.test(window?.navigator?.userAgent))try{i=navigator.sendBeacon(e)}catch(e){}i||((new Image).src=e)},s=null;function o([e,i]){return i!==s&&`${e}=${i}`}function a(){const e=document.cookie.match(/_wixCIDX=([^;]*)/);return e&&e[1]}function c(e){if(!e)return s;const i=new URL(decodeURIComponent(e));return i.search="?",encodeURIComponent(i.href)}const d=function(e,{eventType:i,ts:n,tts:t,extra:r=""},d,l){const p=function(e){const i=e.split("&").reduce(((e,i)=>{const[n,t]=i.split("=");return{...e,[n]:t}}),{});return(e,n)=>void 0!==i[e]?i[e]:n}(r),u=(m=d,e=>void 0===m[e]?s:m[e]);var m;let w=!0;const f=window?.consentPolicyManager;if(f){const e=f.getCurrentConsentPolicy();if(e){const{policy:i}=e;w=!(i.functional&&i.analytics)}}const g=u("requestUrl"),h={src:"29",evid:"3",viewer_name:u("viewerName"),caching:u("caching"),client_id:w?s:a(),dc:u("dc"),microPop:u("microPop"),et:i,event_name:e?encodeURIComponent(e):s,is_cached:u("isCached"),is_platform_loaded:u("is_platform_loaded"),is_rollout:u("is_rollout"),ism:u("isMesh"),isp:0,isjp:u("isjp"),iss:u("isServerSide"),ssr_fb:u("fallbackReason"),ita:p("ita",d.checkVisibility()?"1":"0"),mid:w?s:l?.siteMemberId||s,msid:u("msId"),pid:p("pid",s),pn:p("pn","1"),ref:document.referrer&&!w?encodeURIComponent(document.referrer):s,sar:w?s:p("sar",screen.availWidth?`${screen.availWidth}x${screen.availHeight}`:s),sessionId:w&&f?s:u("sessionId"),siterev:d.siteRevision||d.siteCacheRevision?`${d.siteRevision}-${d.siteCacheRevision}`:s,sr:w?s:p("sr",screen.width?`${screen.width}x${screen.height}`:s),st:u("st"),ts:n,tts:t,url:w?c(g):g,v:window?.thunderboltVersion||"0.0.0",vid:w?s:l?.visitorId||s,bsi:w?s:l?.bsi||s,vsi:u("viewerSessionId"),wor:w||!window.outerWidth?s:`${window.outerWidth}x${window.outerHeight}`,wr:w?s:p("wr",window.innerWidth?`${window.innerWidth}x${window.innerHeight}`:s),_brandId:d.commonConfig?.brand||s,nt:p("nt",s)};return`https://frog.wix.com/bt?${Object.entries(h).map(o).filter(Boolean).join("&")}`},l=(e,i)=>{let n,t="none",r=e.match(/ssr-caching="?cache[,#]\s*desc=([\w-]+)(?:[,#]\s*varnish=(\w+))?(?:[,#]\s*dc[,#]\s*desc=([\w-]+))?(?:"|;|$)/);if(!r&&window.PerformanceServerTiming){const e=(e=>{let i,n;try{i=e()}catch(e){i=[]}const t=[];return i.forEach((e=>{switch(e.name){case"cache":t[1]=e.description;break;case"varnish":t[2]=e.description;break;case"dc":n=e.description}})),{microPop:n,matches:t}})(i);n=e.microPop,r=e.matches}if(r&&r.length&&(t=`${r[1]},${r[2]||"none"}`,n||(n=r[3])),"none"===t){const e="undefined"!=typeof performance?performance.timing:null;e&&e.responseStart-e.requestStart==0&&(t="browser")}return{caching:t,isCached:t.includes("hit"),...n?{microPop:n}:{}}},p={WixSite:1,UGC:2,Template:3},u=()=>{const{fedops:e,viewerModel:{siteFeaturesConfigs:i,requestUrl:n,site:t,fleetConfig:r,commonConfig:s,interactionSampleRatio:o},clientSideRender:a,santaRenderingError:c}=window,d=(({requestUrl:e,interactionSampleRatio:i})=>{const n=new URL(e).searchParams;return n.has("sampleEvents")?"true"===n.get("sampleEvents"):Math.random()<(i?1-i:.9)})({requestUrl:n,interactionSampleRatio:o}),u=(e=>{const{userAgent:i}=e.navigator;return/instagram.+google\/google/i.test(i)?"":/bot|google(?!play)|phantom|crawl|spider|headless|slurp|facebookexternal|Lighthouse|PTST|^mozilla\/4\.0$|^\s*$/i.test(i)?"ua":""})(window)||(()=>{try{if(window.self===window.top)return""}catch(e){}return"iframe"})()||(()=>{if(!Function.prototype.bind)return"bind";const{document:e,navigator:i}=window;if(!e||!i)return"document";const{webdriver:n,userAgent:t,plugins:r,languages:s}=i;if(n)return"webdriver";if(!r||Array.isArray(r))return"plugins";if(Object.getOwnPropertyDescriptor(r,"0")?.writable)return"plugins-extra";if(!t)return"userAgent";if(t.indexOf("Snapchat")>0&&e.hidden)return"Snapchat";if(!s||0===s.length||!Object.isFrozen(s))return"languages";try{throw Error()}catch(e){if(e instanceof Error){const{stack:i}=e;if(i&&/ (\(internal\/)|(\(?file:\/)/.test(i))return"stack"}}return""})()||(({seo:e})=>e?.isInSEO?"seo":"")(i);return{suppressbi:n.includes("suppressbi=true"),initialTimestamp:window.initialTimestamps.initialTimestamp,initialRequestTimestamp:window.initialTimestamps.initialRequestTimestamp,viewerSessionId:e.vsi,viewerName:t.appNameForBiEvents,siteRevision:String(t.siteRevision),msId:t.metaSiteId,is_rollout:0===r.code||1===r.code?r.code:null,is_platform_loaded:0,requestUrl:encodeURIComponent(n),sessionId:String(t.sessionId),btype:u,isjp:!!u,dc:t.dc,siteCacheRevision:"__siteCacheRevision__",checkVisibility:(()=>{let e=!0;function i(){e=e&&!0!==document.hidden}return document.addEventListener("visibilitychange",i,{passive:!0}),i(),()=>(i(),e)})(),...l(document.cookie,(()=>[...performance.getEntriesByType("navigation")[0].serverTiming||[]])),isMesh:1,st:p[t.siteType]||0,commonConfig:s,muteThunderboltEvents:d,isServerSide:a?0:1,isSuccessfulSSR:!a,fallbackReason:c?.errorInfo}};const m=function(){const e=u(),i={};let n=1;const s=(t,s,o={})=>{!function(e,i){if(i&&performance.mark){const n=`${i} (beat ${e})`;performance.mark(n)}}(t,s);const a=globalThis.window?.viewerModel;if(!a?.experiments["specs.thunderbolt.removeSendBeat"]){const a=Date.now(),c=Math.round(performance.now()),l=a-e.initialTimestamp;if(e.suppressbi||window.__browser_deprecation__)return;const{pageId:p,pageNumber:u=n,navigationType:m}=o;let w=`&pn=${u}`;p&&(w+=`&pid=${p}`),m&&(w+=`&nt=${m}`);const f=d(s,{eventType:t,ts:l,tts:c,extra:w},e,i);r(f)}};