1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5785],{5881:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/preview",function(){return r(4881)}])},982:function(e,t,r){"use strict";r.d(t,{Q:function(){return o}});var s=r(5893),n=r(7294);let o=e=>{let t=(0,n.useRef)(!1),r=!!(null==e?void 0:e.csr)&&!!(null==e?void 0:e.js)&&e.js.length>0;return((0,n.useEffect)(()=>{if(!r||t.current)return;t.current=!0;let e=document.createElement("script");return e.src="/js/external-scripts-loader-csr.js",document.body.appendChild(e),()=>{e.remove()}},[r]),r)?(0,s.jsx)("div",{id:"external-scripts-data","data-scripts":JSON.stringify(e.js),style:{display:"none"}}):null}},747:function(e,t,r){"use strict";r.d(t,{g:function(){return n}});var s=r(5893);let n=()=>(0,s.jsx)("div",{className:"section",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("p",{className:"heading06 heading06--center",children:"Loading..."})})})},8028:function(e,t,r){"use strict";r.d(t,{Z:function(){return _}});var s=r(5893),n=r(7294),o=r(1163),i=r(5819);async function p(e,t){if(!t)throw Error("No preview Token");try{return await i.U2(e,{preview_token:t}).then(e=>e.details)}catch(e){throw console.log(e),Error("Invalid Preview Token ".concat(t))}}var c=r(3002),l=r(747),a=r(1544),u=r(9008),d=r.n(u),f=r(982);function _(e,t,r){let[i,u]=(0,n.useReducer)((e,t)=>t||e,(0,s.jsx)(l.g,{}
1)),[_,y]=(0,n.useState)(!0),[x,v]=(0,n.useState)(""),j=(0,o.useRouter)();return(0,n.useEffect)(()=>{if(j.isReady&&_){let n=j.query;""==x&&v(n.preview_token&&!Array.isArray(n.preview_token)?n.preview_token:""),""!=x&&(async()=>{let n=await p(e,x);if(n){y(!1);let e=r.filter(e=>e.id==n.topics_group_id).reduce((e,t)=>t.component,null),i=await (null==e?void 0:e.convDataToProps(n,c.fU.some(e=>e.group_id==n.topics_group_id)?t:"".concat(t,"/").concat(n.slug?n.slug:n.topics_id)));if(i&&i.props){var o;u((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d(),{children:i&&i.props&&"object"==typeof i.props&&"external_style"in i.props&&i.props.external_style&&"object"==typeof i.props.external_style&&"css"in i.props.external_style?i.props.external_style.css.map(e=>(0,s.jsx)("link",{rel:"stylesheet",href:e},e)):(0,s.jsx)(s.Fragment,{})}),(0,s.jsx)(a.Z,{crumbs:i.props&&"object"==typeof i.props&&"crumbs"in i.props?i.props.crumbs:[],external_style:i.props&&"object"==typeof i.props&&"external_style"in i.props&&i.props.external_style&&"object"==typeof i.props.external_style&&"html"in i.props.external_style?{js:[],html:i.props.external_style.html}:void 0,children:null!==(o=null==e?void 0:e.Home(i.props))&&void 0!==o?o:"<>Failed to Render</>"}),i.props&&"object"==typeof i.props&&"external_style"in i.props&&i.props.external_style&&"object"==typeof i.props.external_style&&"js"in i.props.external_style?(0,s.jsx)(f.Q,{...i.props.external_style,csr:!0}):(0,s.jsx)(s.Fragment,{})]}))}}})().catch(e=>{console.log(e),y(!1),u((0,s.jsxs)("div",{children:[e.toString()," "]}))})}},[e,t,j,r,_,x]),i}},4881:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return i}});var s=r(8028),n=r(3423),o=r(3002);function i(){return(0,s.Z)("/rcms-api/3/docs/preview","/docs",[{id:o.c4,component:{convDataToProps:n.yL,Home:n.SK}},{id:o.Cn,component:{convDataToProps:n.F_,Home:n.SK}}])}}},function(e){e.O(0,[7066,7311,3423,9774,2888,179],function(){return e(e.s=5881)}),_N_E=e.O()}]);
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.