var wc;(()=>{var e,t,r,o={1429:(e,t,r)=>{"use strict";var o=r(6087),s=r(7723);const n=window.wc.wcSettings,a=(0,n.getSetting)("wcBlocksConfig",{pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),i=a.pluginUrl+"assets/images/",c=(a.pluginUrl,n.STORE_PAGES.shop,n.STORE_PAGES.checkout,n.STORE_PAGES.checkout,n.STORE_PAGES.privacy,n.STORE_PAGES.privacy,n.STORE_PAGES.terms,n.STORE_PAGES.terms,n.STORE_PAGES.cart,n.STORE_PAGES.cart,n.STORE_PAGES.myaccount?.permalink?n.STORE_PAGES.myaccount.permalink:(0,n.getSetting)("wpLoginUrl","/wp-login.php"),(0,n.getSetting)("localPickupEnabled",!1),(0,n.getSetting)("shippingMethodsExist",!1),(0,n.getSetting)("shippingEnabled",!0),(0,n.getSetting)("countries",{})),l=(0,n.getSetting)("countryData",{}),u={...Object.fromEntries(Object.keys(l).filter(e=>!0===l[e].allowBilling).map(e=>[e,c[e]||""])),...Object.fromEntries(Object.keys(l).filter(e=>!0===l[e].allowShipping).map(e=>[e,c[e]||""]))},d=(Object.fromEntries(Object.keys(u).map(e=>[e,l[e].states||{}])),Object.fromEntries(Object.keys(u).map(e=>[e,l[e].locale||{}])),{address:["first_name","last_name","company","address_1","address_2","city","postcode","country","state","phone"],contact:["email"],order:[]});(0,n.getSetting)("addressFieldsLocations",d).address,(0,n.getSetting)("addressFieldsLocations",d).contact,(0,n.getSetting)("addressFieldsLocations",d).order,(0,n.getSetting)("additionalOrderFields",{}),(0,n.getSetting)("additionalContactFields",{}),(0,n.getSetting)("additionalAddressFields",{});var p=r(790);const m=({imageUrl:e=`${i}/block-error.svg`,header:t=(0,s.__)("Oops!","woocommerce"),text:r=(0,s.__)("There was an error loading the content.","woocommerce"),errorMessage:o,errorMessagePrefix:n=(0,s.__)("Error:","woocommerce"),button:a,showErrorBlock:c=!0})=>c?(0,p.jsxs)("div",{className:"wc-block-error wc-block-components-error",children:[e&&(0,p.jsx)("img",{className:"wc-block-error__image wc-block-components-error__image",src:e,alt:""}),(0,p.jsxs)("div",{className:"wc-block-error__content wc-block-components-error__content",children:[t&&(0,p.jsx)("p",{className:"wc-block-error__header wc-block-components-error__header",children:t}),r&&(0,p.jsx)("p",{className:"wc-block-error__text wc-block-components-error__text",children:r}),o&&(0,p.jsxs)("p",{className:"wc-block-error__message wc-block-components-error__message",children:[n?n+" ":"",o]}),a&&(0,p.jsx)("p",{className:"wc-block-error__button wc-block-components-error__button",children:a})]})]}):null;r(5893);class g extends o.Component{state={errorMessage:"",hasError:!1};static getDerivedStateFromError(e){return void 0!==e.statusText&&void 0!==e.status?{errorMessage:(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("strong",{children:e.status}),": ",e.statusText]}),hasError:!0}:{errorMessage:e.message,hasError:!0}}render(){const{header:e,imageUrl:t,showErrorMessage:r=!0,showErrorBlock:o=!0,text:s,errorMessagePrefix:n,renderError:a,button:i}=this.props,{errorMessage:c,hasError:l}=this.state;return l?"function"==typeof a?a({errorMessage:c}):(0,p.jsx)(m,{showErrorBlock:o,errorMessage:r?c:null,header:e,imageUrl:t,text:s,errorMessagePrefix:n,button:i}):this.props.children}}const b=g,w=[".wp-block-woocommerce-cart"],h=({Block:e,container:t,attributes:r={},props:s={},errorBoundaryProps:n={}})=>{const a=()=>{(0,o.useEffect)(()=>{t.classList&&t.classList.remove("is-loading")},[]);const a=t.classList.contains("wp-block-woocommerce-checkout"),i=t.classList.contains("wp-block-woocommerce-cart");return a||i?(0,p.jsx)(b,{...n,children:(0,p.jsx)(e,{...s,attributes:r})}):(0,p.jsx)(b,{...n,children:(0,p.jsx)(o.Suspense,{fallback:(0,p.jsx)("div",{className:"wc-block-placeholder",children:"Loading..."}),children:e&&(0,p.jsx)(e,{...s,attributes:r})})})},i=(0,o.createRoot)(t);return i.render((0,p.jsx)(a,{})),i},f=({Block:e,containers:t,getProps:r=()=>({}),getErrorBoundaryProps:o=()=>({})})=>{if(0===t.length)return[];const s=[];return t.forEach((t,n)=>{const a=r(t,n),i=o(t,n),c={...t.dataset,...a.attributes||{}};s.push({container:t,root:h({Block:e,container:t,props:a,attributes:c,errorBoundaryProps:i})})}),s};var y=r(923),_=r.n(y);function x(e){const t=(0,o.useRef)(e);return _()(e,t.current)||(t.current=e),t.current}const v=window.wc.wcBlocksData,E=window.wp.data,S=(0,o.createContext)("page"),k=()=>(0,o.useContext)(S),j=(S.Provider,e=>{const t=k();e=e||t;const r=(0,E.useSelect)(t=>t(v.QUERY_STATE_STORE_KEY).getValueForQueryContext(e,void 0),[e]),{setValueForQueryContext:s}=(0,E.useDispatch)(v.QUERY_STATE_STORE_KEY);return[r,(0,o.useCallback)(t=>{s(e,t)},[e,s])]}),A=(e,t,r)=>{const s=k();r=r||s;const n=(0,E.useSelect)(o=>o(v.QUERY_STATE_STORE_KEY).getValueForQueryKey(r,e,t),[r,e]),{setQueryValue:a}=(0,E.useDispatch)(v.QUERY_STATE_STORE_KEY);return[n,(0,o.useCallback)(t=>{a(r,e,t)},[r,e,a])]},O=window.wc.wcTypes,P=e=>{const{namespace:t,resourceName:r,resourceValues:s=[],query:n={},shouldSelect:a=!0}=e;if(!t||!r)throw new Error("The options object must have valid values for the namespace and the resource properties.");const i=(0,o.useRef)({results:[],isLoading:!0}),c=x(n),l=x(s),u=(()=>{const[,e]=(0,o.useState)();return(0,o.useCallback)(t=>{e(()=>{throw t})},[])})(),d=(0,E.useSelect)(e=>{if(!a)return null;const o=e(v.COLLECTIONS_STORE_KEY),s=[t,r,c,l],n=o.getCollectionError(...s);if(n){if(!(0,O.isError)(n))throw new Error("TypeError: `error` object is not an instance of Error constructor");u(n)}return{results:o.getCollection(...s),isLoading:!o.hasFinishedResolution("getCollection",s)}},[t,r,l,c,a,u]);return null!==d&&(i.current=d),i.current};var T=r(4347),C=r(1303);const L=window.wc.blocksComponents;r(8502);const R=({name:e,count:t})=>(0,p.jsxs)(p.Fragment,{children:[e,null!==t&&Number.isFinite(t)&&(0,p.jsx)(L.Label,{label:t.toString(),screenReaderLabel:(0,s.sprintf)( 
(0,s._n)("%s product","%s products",t,"woocommerce"),t),wrapperElement:"span",wrapperProps:{className:"wc-filter-element-label-list-count"}})]});var B=r(4921);r(7165);const F=({className:e,
label:t=(0,s.__)("Reset","woocommerce"),onClick:r,screenReaderLabel:o=(0,s.__)("Reset filter","woocommerce")})=>(0,p.jsx)("button",{className:(0,B.A)("wc-block-components-filter-reset-button",e),onClick:r,children:(0,p.jsx)(L.Label,{label:t,screenReaderLabel:o})});r(874);const N=({className:e,isLoading:t,disabled:r,
label:o=(0,s.__)("Apply","woocommerce"),onClick:n,screenReaderLabel:a=(0,s.__)("Apply filter","woocommerce")})=>(0,p.jsx)("button",{type:"submit",className:(0,B.A)("wp-block-button__link","wc-block-filter-submit-button","wc-block-components-filter-submit-button",{"is-loading":t},e),disabled:r,onClick:n,children:(0,p.jsx)(L.Label,{label:o,screenReaderLabel:a})}),q=window.wp.htmlEntities,M=window.wp.url;var I=r(7871),U=r(4971);function Q(){return Math.floor(Math.random()*Date.now())}const G=(0,n.getSettingWithCoercion)("isRenderingPhpTemplate",!1,O.isBoolean),V="query_type_",D="filter_";function $(e){if(G){const t=new URL(e);t.pathname=t.pathname.replace(/\/page\/[0-9]+/i,""),t.searchParams.delete("paged"),t.searchParams.forEach((e,r)=>{r.match(/^query(?:-[0-9]+)?-page$/)&&t.searchParams.delete(r)}),window.location.href=t.href}else window.history.replaceState({},"",e)}var K=r(9238);r(4357);const Y=({className:e,style:t,suggestions:r,multiple:o=!0,saveTransform:s=e=>e.trim().replace(/\s/g,"-"),messages:n={},validateInput:a=e=>r.includes(e),label:i="",...c})=>(0,p.jsx)("div",{className:(0,B.A)("wc-blocks-components-form-token-field-wrapper",e,{"single-selection":!o}),style:t,children:(0,p.jsx)(K.A,{label:i,__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1,__experimentalValidateInput:a,saveTransform:s,maxLength:o?void 0:1,suggestions:r,messages:n,...c})});r(9300);const W=({children:e})=>(0,p.jsx)("div",{className:"wc-block-filter-title-placeholder",children:e}),J=(0,n.getSetting)("attributes",[]).reduce((e,t)=>{const r=(o=t)&&o.attribute_name?{id:parseInt(o.attribute_id,10),name:o.attribute_name,taxonomy:"pa_"+o.attribute_name,label:o.attribute_label,orderby:o.attribute_orderby}:null;var o;return r&&r.id&&e.push(r),e},[]),H=(e=[],t,r,o=[],s="in")=>{if(!r||!r.taxonomy)return[];const n=e.filter(e=>e.attribute!==r.taxonomy);return 0===o.length?t(n):(n.push({attribute:r.taxonomy,operator:s,slug:o.map(({slug:e})=>e).sort()}),t((0,C.di)(n).asc("attribute"))),n},z=[{value:"preview-1",formattedValue:"preview-1",name:"Blue",label:(0,p.jsx)(R,{name:"Blue",count:3}),textLabel:"Blue (3)"},{value:"preview-2",formattedValue:"preview-2",name:"Green",label:(0,p.jsx)(R,{name:"Green",count:3}),textLabel:"Green (3)"},{value:"preview-3",formattedValue:"preview-3",name:"Red",label:(0,p.jsx)(R,{name:"Red",count:2}),textLabel:"Red (2)"}],X={count:0,has_archives:!0,id:0,label:"Preview",name:"preview",order:"menu_order",parent:0,taxonomy:"preview",type:""};r(2145);const Z=JSON.parse('{"uK":{"Do":{"A":"or"},"F8":{"A":3},"Ox":{"A":"list"},"dc":{"A":"multiple"}}}'),ee=e=>e.replace("pa_",""),te=(e,t=[])=>{const r={};t.forEach(e=>{const{attribute:t,slug:o,operator:s}=e,n=ee(t),a=o.join(","),i=`${V}${n}`,c="in"===s?"or":"and";r[`${D}${n}`]=a,r[i]=c});const o=(0,M.removeQueryArgs)(e,...Object.keys(r));return(0,M.addQueryArgs)(o,r)},re=e=>{if(e){const r=(t=`filter_${e.name}`,window?(0,M.getQueryArg)(window.location.href,t):null);return("string"==typeof r?r.split(","):[]).map(e=>encodeURIComponent(e).toLowerCase())}var t;return[]},oe=e=>e.trim().replace(/\s/g,"-").replace(/_/g,"-").replace(/-+/g,"-").replace(/[^a-zA-Z0-9-]/g,""),se=({isLoading:e=!1,options:t,checked:r,onChange:o})=>e?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:"is-loading"}),(0,p.jsx)("span",{className:"is-loading"})]}):(0,p.jsx)(L.CheckboxList,{className:"wc-block-attribute-filter-list",options:t,checked:r,onChange:o,isLoading:e,isDisabled:e}),ne=(0,o.createContext)({});(e=>{const t=Array.from(document.body.querySelectorAll(w.join(","))),{Block:r,getProps:o,getErrorBoundaryProps:s,selector:n,options:a={multiple:!0}}=e,i=(({Block:e,getProps:t,getErrorBoundaryProps:r,selector:o,wrappers:s,options:n})=>{let a=Array.from(document.body.querySelectorAll(o));return s&&s.length>0&&(a=a.filter(e=>!((e,t)=>t.some(t=>t.contains(e)&&!t.isSameNode(e)))(e,s))),!1===n?.multiple&&(a=a.slice(0,1)),f({Block:e,containers:a,getProps:t,getErrorBoundaryProps:r})})({Block:r,getProps:o,getErrorBoundaryProps:s,selector:n,options:a,wrappers:t});t.forEach(t=>{t.addEventListener("wc-blocks_render_blocks_frontend",()=>{(({Block:e,getProps:t,getErrorBoundaryProps:r,selector:o,wrapper:s,options:n})=>{let a=Array.from(s.querySelectorAll(o));!1===n?.multiple&&(a=a.slice(0,1)),f({Block:e,containers:a,getProps:t,getErrorBoundaryProps:r})})({...e,wrapper:t})})})})({selector:".wp-block-woocommerce-attribute-filter:not(.wp-block-woocommerce-filter-wrapper .wp-block-woocommerce-attribute-filter)",Block:({attributes:e,isEditor:t=!1,getNotice:r=()=>null})=>{const a=(0,n.getSettingWithCoercion)("hasFilterableProducts",!1,O.isBoolean),i=(0,n.getSettingWithCoercion)("isRenderingPhpTemplate",!1,O.isBoolean),c=(0,n.getSettingWithCoercion)("pageUrl",window.location.href,O.isString),[l,u]=(0,o.useState)(!1),d=e.isPreview&&!e.attributeId?X:(e=>{if(e)return J.find(t=>t.id===e)})(e.attributeId),m=(0,o.useMemo)(()=>re(d),[d]),[g,b]=(0,o.useState)(m),[w,h]=(0,o.useState)(Q()),[f,y]=(0,o.useState)(e.isPreview&&!e.attributeId?z:[]),[v]=j(),[E,S]=A("attributes",[]),{results:L,isLoading:G}=P({namespace:"/wc/store/v1",resourceName:"products/attributes/terms",resourceValues:[d?.id||0],shouldSelect:e.attributeId>0,query:{orderby:d?.orderby||"menu_order"}}),K=(0,n.getSettingWithCoercion)("queryState",{},O.isObject),{data:Z,isLoading:ae}=(({queryAttribute:e,queryTaxonomy:t,queryPrices:r,queryStock:s,queryRating:n,queryState:a,isEditor:i=!1})=>{let c=k();c=`${c}-collection-data`;const[l]=j(c),[u,d]=A("calculate_attribute_counts",[],c),[p,m]=A("calculate_taxonomy_counts",[],c),[g,b]=A("calculate_price_range",null,c),[w,h]=A("calculate_stock_status_counts",null,c),[f,y]=A("calculate_rating_counts",null,c),_=x(e||{}),v=x(t),E=x(r),S=x(s),L=x(n);(0,o.useEffect)(()=>{"object"==typeof _&&Object.keys(_).length&&(u.find(e=>(0,O.objectHasProp)(_,"taxonomy")&&e.taxonomy===_.taxonomy)||d([...u,_]))},[_,u,d]),(0,o.useEffect)(()=>{v&&!p.includes(v)&&m([...p,v])},[v,p,m]),(0,o.useEffect)(()=>{g!==E&&void 0!==E&&b(E)},[E,b,g]),(0,o.useEffect)(()=>{w!==S&&void 0!==S&&h(S)},[S,h,w]),(0,o.useEffect)(()=>{f!==L&&void 0!==L&&y(L)},[L,y,f]);const[R,B]=(0,o.useState)(i),[F]=(0,T.d7)(R,200);R||B(!0);const N=(0,o.useMemo)(()=>(e=>{const t=e;return Array.isArray(e.calculate_attribute_counts)&&(t.calculate_attribute_counts=(0,C.di)(e.calculate_attribute_counts.map(({taxonomy:e,queryType:t})=>({taxonomy:e,query_type:t}))).asc(["taxonomy","query_type"])),Array.isArray(e.calculate_taxonomy_counts)&&(t.calculate_taxonomy_counts=e.calculate_taxonomy_counts),t})(l),[l]),{results:q,isLoading:M}=P({namespace:"/wc/store/v1",resourceName:"products/collection-data",query:{...a,page:void 0,per_page:void 0,orderby:void 0,order:void 0,...N},shouldSelect:F});return{data:q,isLoading:M}})({queryAttribute:{taxonomy:d?.taxonomy||"",queryType:e.queryType},queryState:{...K,...v},isEditor:t}),ie=(0,o.useCallback)(e=>(0,O.objectHasProp)(Z,"attribute_counts")&&Array.isArray(Z.attribute_counts)?Z.attribute_counts.find(({term:t})=>t===e):null,[Z]);(0,o.useEffect)(()=>{if(G||ae)return;if(!Array.isArray(L))return;const t=L.map(t=>{const r=ie(t.id);if(!(r||g.includes(t.slug)||(o=t.slug,v?.attributes&&v.attributes.some(({attribute:e,slug:t=[]})=>e===d?.taxonomy&&t.includes(o)))))return null;var o;const s=r?r.count:0;return{formattedValue:oe(t.slug),value:t.slug,name:(0,q.decodeEntities)(t.name),label:(0,p.jsx)(R,{name:(0,q.decodeEntities)(t.name),count:e.showCounts?s:null}),textLabel:e.showCounts?`${(0,q.decodeEntities)(t.name)} (${s})`:(0,q.decodeEntities)(t.name)}}).filter(e=>!!e);y(t),h(Q())},[d?.taxonomy,L,G,e.showCounts,ae,ie,g,v.attributes]);const ce=(0,o.useCallback)(e=>Array.isArray(L)?L.reduce((t,r)=>(e.includes(r.slug)&&t.push(r),t),[]):[],[L]),le=(0,o.useCallback)((e,t=!1)=>{if(e=e.map(e=>({...e,slug:e.slug.map(e=>decodeURIComponent(e))})),t){if(!d?.taxonomy)return;const t=Object.keys((0,M.getQueryArgs)(window.location.href)),r=ee(d.taxonomy),o=t.reduce((e,t)=>t.includes(V+r)||t.includes(D+r)?(0,M.removeQueryArgs)(e,t):e,window.location.href);$(te(o,e))}else{const t=te(c,e);((e,t)=>{const r=Object.entries(t).reduce((e,[t,r])=>t.includes("query_type")?e:{...e,[t]:r},{});return Object.entries(r).reduce((t,[r,o])=>e[r]===o&&t,!0)})((0,M.getQueryArgs)(window.location.href),(0,M.getQueryArgs)(t))||$(t)}},[c,d?.taxonomy]),ue=t=>{const r=H(E,S,d,ce(t),"or"===e.queryType?"in":"and");le(r,0===t.length)},de=(0,o.useCallback)((r,o=!1)=>{t||(b(r),!o&&e.showFilterButton||H(E,S,d,ce(r),"or"===e.queryType?"in":"and"))},[t,b,E,S,d,ce,e.queryType,e.showFilterButton]),pe=x((0,o.useMemo)(()=>(0,O.isAttributeQueryCollection)(E)?E.filter(({attribute:e})=>e===d?.taxonomy).flatMap(({slug:e})=>e):[],[E,d?.taxonomy])),me=function(e,t){const r=(0,o.useRef)();return(0,o.useEffect)(()=>{r.current===e||(r.current=e)},[e,t]),r.current}(pe);(0,o.useEffect)(()=>{!me||_()(me,pe)||_()(g,pe)||de(pe)},[g,pe,me,de]);const ge="single"!==e.selectType,be=(0,o.useCallback)(e=>{const t=g.includes(e);let r;ge?(r=g.filter(t=>t!==e),t||(r.push(e),r.sort())):r=t?[]:[e],de(r)},[g,ge,de]);(0,o.useEffect)(()=>{d&&!e.showFilterButton&&((({currentCheckedFilters:e,hasSetFilterDefaultsFromUrl:t})=>t&&0===e.length)({currentCheckedFilters:g,hasSetFilterDefaultsFromUrl:l})?le(E,!0):le(E,!1))},[l,le,E,d,g,e.showFilterButton]),(0,o.useEffect)(()=>{if(!l&&!G)return m.length>0?(u(!0),void de(m,!0)):void(i||u(!0))},[d,l,G,de,m,i]);const we=(()=>{const{wrapper:e}=(0,o.useContext)(ne);return t=>{e&&e.current&&(e.current.hidden=!t)}})();if(!a)return we(!1),null;if(!d)return t?r("noAttributes"):(we(!1),null);if(0===f.length&&!G&&t)return r("noProducts");const he=`h${e.headingLevel}`,fe=!e.isPreview&&G,ye=!e.isPreview&&ae,_e=(fe||ye)&&0===f.length;if(!_e&&0===f.length)return we(!1),null;const xe=ge?!_e&&g.length<f.length:!_e&&0===g.length,ve=(0,p.jsx)(he,{className:"wc-block-attribute-filter__title",children:e.heading}),Ee=_e?(0,p.jsx)(W,{children:ve}):ve;return we(!0),(0,p.jsxs)(p.Fragment,{children:[!t&&e.heading&&Ee,(0,p.jsx)("div",{className:(0,B.A)("wc-block-attribute-filter",`style-${e.displayStyle}`),children:"dropdown"===e.displayStyle?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(Y,{label:d.label,className:(0,B.A)({"single-selection":!ge,"is-loading":_e}),suggestions:f.filter(e=>!g.includes(e.value)).map(e=>e.formattedValue),disabled:_e,placeholder:(0,s.sprintf)( 
(0,s.__)("Select %s","woocommerce"),d.label),onChange:e=>{!ge&&e.length>1&&(e=[e[e.length-1]]);const t=[e=e.map(e=>{const t=f.find(t=>t.formattedValue===e);return t?t.value:e}),g].reduce((e,t)=>e.filter(e=>!t.includes(e)));if(1===t.length)return be(t[0]);const r=[g,e].reduce((e,t)=>e.filter(e=>!t.includes(e)));1===r.length&&be(r[0])},value:g,displayTransform:e=>{const t=f.find(t=>[t.value,t.formattedValue].includes(e));return t?t.textLabel:e},saveTransform:oe,messages:{added:(0,s.sprintf)( 
(0,s.__)("%s filter added.","woocommerce"),d.label),removed:(0,s.sprintf)( 
(0,s.__)("%s filter removed.","woocommerce"),d.label),remove:(0,s.sprintf)( 
(0,s.__)("Remove %s filter.","woocommerce"),d.label.toLocaleLowerCase()),__experimentalInvalid:(0,s.sprintf)( 
(0,s.__)("Invalid %s filter.","woocommerce"),d.label.toLocaleLowerCase())}},w),xe&&(0,p.jsx)(I.A,{icon:U.A,size:30})]}):(0,p.jsx)(se,{options:f,checked:g,onChange:be,isLoading:_e,isDisabled:_e})}),(0,p.jsxs)("div",{className:"wc-block-attribute-filter__actions",children:[(g.length>0||t)&&!_e&&(0,p.jsx)(F,{onClick:()=>{b([]),h(Q()),l&&ue([])},screenReaderLabel:(0,s.__)("Reset attribute filter","woocommerce")}),e.showFilterButton&&(0,p.jsx)(N,{className:"wc-block-attribute-filter__button",isLoading:_e,disabled:(()=>{if(fe||ye)return!0;const e=re(d);return e.length===g.length&&g.every(t=>e.includes(t))})(),onClick:()=>ue(g),screenReaderLabel:(0,s.sprintf)( 
(0,s.__)("Apply attribute filter: %s","woocommerce"),d.label)})]})]})},getProps:e=>{return{isEditor:!1,attributes:(t=e.dataset,{className:(0,O.isString)(t?.className)?t.className:"",attributeId:parseInt((0,O.isString)(t?.attributeId)?t.attributeId:"0",10),showCounts:"true"===t?.showCounts,queryType:(0,O.isString)(t?.queryType)&&t.queryType||Z.uK.Do.A,heading:(0,O.isString)(t?.heading)?t.heading:"",headingLevel:(0,O.isString)(t?.headingLevel)&&parseInt(t.headingLevel,10)||Z.uK.F8.A,displayStyle:(0,O.isString)(t?.displayStyle)&&t.displayStyle||Z.uK.Ox.A,showFilterButton:"true"===t?.showFilterButton,selectType:(0,O.isString)(t?.selectType)&&t.selectType||Z.uK.dc.A,isPreview:!1})};var t}})},5893:()=>{},8502:()=>{},9300:()=>{},7165:()=>{},874:()=>{},4357:()=>{},2145:()=>{},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},8468:e=>{"use strict";e.exports=window.lodash},195:e=>{"use strict";e.exports=window.wp.a11y},9491:e=>{"use strict";e.exports=window.wp.compose},4040:e=>{"use strict";e.exports=window.wp.deprecated},8107:e=>{"use strict";e.exports=window.wp.dom},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},923:e=>{"use strict";e.exports=window.wp.isShallowEqual},8558:e=>{"use strict";e.exports=window.wp.keycodes},5573:e=>{"use strict";e.exports=window.wp.primitives},979:e=>{"use strict";e.exports=window.wp.warning}},s={};function n(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return o[e].call(r.exports,r,r.exports,n),r.exports}n.m=o,e=[],n.O=(t,r,o,s)=>{if(!r){var a=1/0;for(u=0;u<e.length;u++){for(var[r,o,s]=e[u],i=!0,c=0;c<r.length;c++)(!1&s||a>=s)&&Object.keys(n.O).every(e=>n.O[e](r[c]))?r.splice(c--,1):(i=!1,s<a&&(a=s));if(i){e.splice(u--,1);var l=o();void 0!==l&&(t=l)}}return t}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[r,o,s]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var s=Object.create(null);n.r(s);var a={};t=t||[null,r({}),r([]),r(r)];for(var i=2&o&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,n.d(s,a),s},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=432,(()=>{var e={432:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,s,[a,i,c]=r,l=0;if(a.some(t=>0!==e[t])){for(o in i)n.o(i,o)&&(n.m[o]=i[o]);if(c)var u=c(n)}for(t&&t(r);l<a.length;l++)s=a[l],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(u)},r=globalThis.webpackChunkwebpackWcBlocksFrontendJsonp=globalThis.webpackChunkwebpackWcBlocksFrontendJsonp||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var a=n.O(void 0,[763],()=>n(1429));a=n.O(a),(wc=void 0===wc?{}:wc)["attribute-filter"]=a})();
document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t<e.length;t++)e[t]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")})(),(c=>{"function"!=typeof window.vc_js&&(window.vc_js=function(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),i=e.attr("data-flex_fx"),o=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:i,slideshow:o,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0<jQuery(".wpb_googleplus").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://apis.google.com/js/plusone.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){var e,t;0<jQuery(".wpb_pinterest").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://assets.pinterest.com/js/pinit.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.find(".vc_single_bar").each(function(e){var t=jQuery(this).find(".vc_bar"),i=t.data("percentage-value");setTimeout(function(){t.css({width:i+"%"})},200*e)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(e){function t(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).closest(".vc_toggle"),e=t.find(".vc_toggle_content");t.hasClass("vc_toggle_active")?e.slideUp({duration:300,complete:function(){t.removeClass("vc_toggle_active")}}):e.slideDown({duration:300,complete:function(){t.addClass("vc_toggle_active")}})}(e?e.hasClass("vc_toggle_title")?e.unbind("click"):e.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",t)}),"function"!=typeof window.vc_ttaToggleBehaviour&&(window.vc_ttaToggleBehaviour=function(e){function t(){var e=jQuery(this);e.toggleClass("wpb-tta-toggle-active"),e.parent().parent().parent().find(".vc_pagination-item").each(function(){if(!c(this).hasClass("vc_active"))return c(this).find("a").click(),!1})}(e?e.find(".wpb-tta-toggle"):jQuery(".wpb-tta-toggle")).off("click").on("click",t),setTimeout(function(){jQuery(".wpb-tta-toggle").each(function(){var e=jQuery(this);e.parent().parent().parent().find(".vc_tta-panels-container .vc_pagination li:first").hasClass("vc_active")||e.addClass("wpb-tta-toggle-active")})},1e3)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(e){var t,o;jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"),t=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",o=1===parseInt(t[0],10)&&parseInt(t[1],10)<9,e.each(function(){var e=jQuery(this).attr("data-interval"),t=[],i=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(e&&0<e)try{i.tabs("rotate",1e3*e)}catch(e){window.console&&window.console.warn&&console.warn("tabs behaviours error",e)}jQuery(this).find(".wpb_tab").each(function(){t.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),o?i.tabs("select",jQuery("a",this).attr("href")):i.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(e){var t;e&&e.preventDefault&&e.preventDefault(),o?(t=i.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?t++:t--,t<0?t=i.tabs("length")-1:t>=i.tabs("length")&&(t=0),i.tabs("select",t)):(t=i.tabs("option","active"),e=i.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,i.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt(e.data("active-tab"),10)&&parseInt(e.data("active-tab"),10)-1),i=!1===t||"yes"===e.data("collapsible"),t=e.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:i,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var o={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),t=e.find(".wpb_thumbnails"),i=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===o[i]?"fitRows":o[i]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var e,t,i=jQuery(this);i.hasClass("wpb_slider_nivo")?(0===(t=1e3*i.attr("data-interval"))&&(t=9999999999),jQuery.fn.nivoSlider&&!i.data("nivo-initialized")&&(i.data("nivo-initialized",!0),i.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:t,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"}))):i.hasClass("wpb_image_grid")&&i.find(".wpb_image_grid_ul")&&i.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded?e=i.find(".wpb_image_grid_ul").imagesLoaded(function(){e.isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0})}):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(e){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",e)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var s=window.jQuery;function e(){var e;void 0!==window.wpb_disable_full_width_row_js&&window.wpb_disable_full_width_row_js||(e=s('[data-vc-full-width="true"]'),s.each(e,function(){var e,t,i,o,n,a,r,c=s(this),d=(c.addClass("vc_hidden"),c.next(".vc_row-full-width"));(d=d.length?d:c.parent().next(".vc_row-full-width")).length&&(c.removeAttr("data-vc-full-width-temp"),e=parseInt(c.css("margin-left"),10),t=parseInt(c.css("margin-right"),10),i=0-d.offset().left-e,o=s(window).width(),n={position:"relative",left:i="rtl"===c.css("direction")?(i=i-d.width()+o)+e+t:i,"box-sizing":"border-box",width:o,"max-width":o},c.css(n),c.data("vcStretchContent")||("rtl"===c.css("direction")?((a=i)<0&&(a=0),(r=i)<0&&(r=0)):(r=o-(a=(a=-1*i)<0?0:a)-d.width()+e+t)<0&&(r=0),c.css({"padding-left":a+"px","padding-right":r+"px"})),c.attr("data-vc-full-width-init","true"),c.removeClass("vc_hidden"),s(document).trigger("vc-full-width-row-single",{el:c,offset:i,marginLeft:e,marginRight:t,elFull:d,width:o,maxWidth:o}))}),s(document).trigger("vc-full-width-row",e))}function t(){var e,t,i=s(".vc_row-o-full-height:first");i.length&&(e=s(window).height(),(t=i.offset().top)<e)&&i.css("min-height",100-t/(e/100)+"vh"),s(document).trigger("vc-full-height-row",i)}s(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",e).on("resize.vcRowBehaviour",t),e(),t(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&s(".vc_row-o-full-height").each(function(){"flex"===s(this).css("display")&&s(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),s(".vc_parallax-inner").remove(),s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),s("[data-vc-parallax]").each(function(){var e,t,i,o;n=!0,"on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*s(this).data("vcParallax"),(t=s("<div />").addClass("vc_parallax-inner").appendTo(s(this))).height(e+"%"),i=s(this).data("vcParallaxImage"),(o=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(t,o):void 0!==i&&t.css("background-image","url("+i+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr)window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,i=1;!1===t;){if(e.hasClass("columns_count_"+i))return t=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var i=t.panel||t.newPanel,o=i.find(".vc_pie_chart:not(.vc_ready)"),n=i.find(".vc_round-chart"),a=i.find(".vc_line-chart"),r=i.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(i),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&i.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.length&&jQuery.fn.vcChat&&o.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=i.find(".isotope, .wpb_image_grid_ul"),o=i.find(".wpb_gmaps_widget"),0<t.length&&t.isotope("layout"),o.length&&!o.is(".map_ready")&&((n=o.find("iframe")).attr("src",n.attr("src")),o.addClass("map_ready")),i.parents(".isotope").length&&i.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),c(document).trigger("wpb_prepare_tab_content",i)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var t=window.jQuery,i={};i.newPanel=t(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,i)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e,t){var i,o,n,a;t.newPanel.length&&t.newHeader.length&&(i=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"),o=t.newPanel.find(".vc_round-chart"),n=t.newPanel.find(".vc_line-chart"),a=t.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&t.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),vc_carouselBehaviour(t.newPanel),vc_plugin_flexslider(t.newPanel),i.length&&jQuery.fn.vcChat&&i.vcChat(),o.length&&jQuery.fn.vcRoundChart&&o.vcRoundChart({reload:!1}),n.length&&jQuery.fn.vcLineChart&&n.vcLineChart({reload:!1}),a.length&&jQuery.fn.carousel&&a.carousel("resizeAction"),t.newPanel.parents(".isotope").length)&&t.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgrounds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){c(".vc_video-bg").remove(),c("[data-vc-video-bg]").each(function(){var e,i=jQuery(this);i.data("vcVideoBg")?(e=i.data("vcVideoBg"),(e=vcExtractYoutubeId(e))&&(i.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground(i,e)),jQuery(window).on("grid:items:added",function(e,t){i.has(t).length&&vcResizeVideoBackground(i)})):i.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e,t,i){if("undefined"==typeof YT||void 0===YT.Player)return 100<(i=void 0===i?0:i)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground(e,t,i++)},100);var o=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(o[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,mute:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,i,o,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),i=r,o=-Math.round((t-a)/2)+"px",n=-Math.round((i-r)/2)+"px"):(i=(t=a)*(9/16),n=-Math.round((i-r)/2)+"px",o=-Math.round((t-a)/2)+"px"),t+="px",i+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:o,marginTop:n,width:t,height:i})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),i=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),i=e<i?i:e;t.css("min-height",(i=i<250?250:i)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var e=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(e),vc_setHoverBoxPerspective(e)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function(){window.vc_js()})})(window.jQuery);