1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8617],{3717:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},68617:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>l});var r=s(3576),n=s(62701),a=s(37876),o=s(14232),i=s(95062),c=s.n(i),p=s(24291),u=s(45596);let d=e=>{let{restrictionId:t,pageId:s,csrfToken:i}=e,[c,d]=(0,o.useState)({password:""}),[l,h]=(0,o.useState)(null),[f,y]=(0,o.useState)(null),b=async e=>{e.preventDefault();try{let{json:e}=await (0,p.dJ)(t,s,(0,r._)({},c),{headers:{"X-CSRFToken":i}});y(e)}catch(e){if(!(e instanceof p.h9))throw e;switch(e.response.status){case 403:h("Forbidden");break;case 401:h("Invalid password");break;default:h("Technical issues")}}};if(f){let{componentName:e,componentProps:t}=f,s=u.A[e];return s?(0,a.jsx)(s,(0,r._)({},t)):(0,a.jsxs)("h1",{children:["Component ",e," not found"]})}return(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{children:"Password is required"}),(0,a.jsx)("p",{children:"You need a password to access this website"}),!!l&&(0,a.jsx)("p",{children:l}),(0,a.jsx)("p",{children:(0,a.jsx)("input",{type:"password",name:"password",onChange:e=>{let{name:t,value:s}=e.target;d((0,n._)((0,r._)({},c),{[t]:s}))},placeholder:"Password"})}),(0,a.jsx)("button",{type:"button",onClick:b,children:"Continue"})]})};d.propTypes={restrictionId:c().number.isRequired,pageId:c().number.isRequired,csrfToken:c().string.isRequired};let l=d},79706:(e,t,s)=>{"use strict";var r=s(3717);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,s,n,a,o){if(o!==r){var i=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var s={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return s.PropTypes=s,s}},95062:(e,t,s)=>{e.exports=s(79706)()}}]); 2//# sourceMappingURL=8617.deeea17070b0f157.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.