1"use strict";(self.webpackChunkmot_crm_react_theme_kidston=self.webpackChunkmot_crm_react_theme_kidston||[]).push([[6554],{21471:function(e,t,a){a(74212),a(60618),a(35853);var i=a(96540);t.A=e=>{let{id:t,data:n,auxData:l,dataFallback:c}=e;const s=[],{modules:r}=n.content;return Object.entries(r).map(e=>{let[c,r]=e;const o="0"===c,u=(0,i.lazy)(()=>a(6682)("./".concat(r.module)));return s.push(i.createElement(u,{key:"pb_".concat(t,"_").concat(c),options:r,firstModule:o,data:n,auxData:l})),!0}),i.createElement(i.Suspense,{fallback:c},s)}},29986:function(e,t,a){a.r(t);a(12162),a(60339),a(74212),a(82953),a(35853),a(17332);var i=a(96540),n=a(64810),l=a(5466),c=a(21471),s=a(51504),r=a(61225),o=a(22405),u=a(62668),d=a(17399),f=a(69387);t.default=(0,r.Ng)(function(e){return{isAuthenticated:e.Auth.isAuthenticated,isVerifying:e.Auth.isVerifying,verificationComplete:e.Auth.verificationComplete,previewID:e.Preview.id}})(e=>{let{data:t,dispatch:a,location:r,isAuthenticated:p,isVerifying:g,verificationComplete:m,params:h}=e;const v=i.createElement(s.A,null),[A,_]=(0,i.useState)(!1),b=new URLSearchParams(r.
1search),k=b.get("id"),y={collection:t.allCollection.edges,post:t.allPost.edges,page:t.allPage.edges};return(0,i.useEffect)(()=>{r.search&&"true"===b.get("preview")&&b.get("id")&&a((0,f.eE)(b.get("id")))},[r,g,p,m]),(0,i.useLayoutEffect)(()=>{let e=!1,t=!1,i=(0,o.P)((0,o.rJ)(u.db,"pages"),(0,o._M)("slug","==",h.slug),(0,o._M)("visibility","!=","draft"));return k&&(i=(0,o.H9)(u.db,"pages",k),t=!0),(0,o.aQ)(i,i=>{if(e)return;const l=[];if(t){if(i.exists()){const e=i.data();g||p||!m||"draft"!==e.visibility&&e.profileActive?l.push(e):a((0,d.qf)(JSON.stringify({open:!0,id:"LOGIN"})))}}else i.empty&&(0,n.navigate)("/404/"),i.forEach(e=>{l.push(e.data())});_(l[0])}),()=>{e=!0}},[k,m]),i.createElement(l.A,{location:r,pageTitle:null==A?void 0:A.title},A?i.createElement(c.A,{auxData:y,dataFallback:v,data:A,id:A.slug}):i.createElement(s.A,null))})}}]); 2//# sourceMappingURL=component---src-pages-[slug]-js-7473889ba51f584dc411.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.