1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1699,8311,9824,7755,2212],{29245:function(e,t,n){Promise.resolve().then(n.bind(n,49280)),Promise.resolve().then(n.bind(n,5424)),Promise.resolve().then(n.bind(n,44088)),Promise.resolve().then(n.bind(n,97370)),Promise.resolve().then(n.bind(n,1866)),Promise.resolve().then(n.bind(n,24723)),Promise.resolve().then(n.bind(n,57347)),Promise.resolve().then(n.bind(n,93772)),Promise.resolve().then(n.bind(n,84769)),Promise.resolve().then(n.bind(n,45225)),Promise.resolve().then(n.bind(n,38184))},49280:function(e,t,n){"use strict";n.r(t),n.d(t,{alertClasses:function(){return i.Z},default:function(){return r.Z},getAlertUtilityClass:function(){return i.t}});var r=n(73126),i=n(67809)},5424:function(e,t,n){"use strict";n.r(t),n.d(t,{boxClasses:function(){return i.Z},default:function(){return r.Z}});var r=n(78693),i=n(31194)},44088:function(e,t,n){"use strict";n.r(t),n.d(t,{circularProgressClasses:function(){return i.Z},default:function(){return r.Z},getCircularProgressUtilityClass:function(){return i.C}});var r=n(73053),i=n(84964)},97370:function(e,t,n){"use strict";n.r(t),n.d(t,{containerClasses:function(){return u},default:function(){return r.Z},getContainerUtilityClass:function(){return o}});var r=n(19978),i=n(94143),s=n(50738);function o(e){return(0,s.ZP)("MuiContainer",e)}var u=(0,i.Z)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"])},24723:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},stackClasses:function(){return i}});var r=n(19643),i=(0,n(94143).Z)("MuiStack",["root"])},57347:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},getTypographyUtilityClass:function(){return i.f},typographyClasses:function(){return i.Z}});var r=n(46387),i=n(56200)},39627:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(83464),i=n(25891);let s=r.Z.create({baseURL:"https://app.termageddon.com"}),o=async e=>{try{return(await s.get("/api/policy/".concat(e))).data}catch(e){throw i.Am.error("Error loading policy!"),e}}},84769:function(e,t,n){"use strict";n.r(t),n.d(t,{EmbeddedTermageddon:function(){return h}});var r=n(57437),i=n(2265),s=n(19643),o=n(19978),u=n(46387),a=n(78693),c=n(73053),l=n(73126),d=n(98107),f=n(39627);function h(e){let{title:t,policyKey:n,sx:h}=e,m=(0,d.k)(!0),v=(0,d.k)(!0),[p,b]=(0,i.useState)(""),[x,g]=(0,i.useState)(""),y=()=>{m.onTrue(),g("https://app.termageddon.com/api/policy/".concat(n)),(0,f.S)(n).then(e=>{b(e),m.onFalse(),v.onFalse()}).catch(()=>{m.onFalse(),v.onTrue()})};return(0,i.useEffect)(()=>{y()},[n]),(0,r.jsx)(s.Z,{sx:{position:"relative",bgcolor:"background.default"},children:(0,r.jsxs)(o.Z,{sx:{py:5},children:[(0,r.jsx)(u.Z,{component:"h1",className:"visually-hidden",children:t}),m.value?(0,r.jsx)(a.Z,{sx:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",py:10},children:(0,r.jsx)(c.Z,{color:"primary"})}):v.value?(0,r.jsxs)(l.Z,{severity:"error",children:["An error occurred while loading ",(0,r.jsx)("b",{children:t}),". To view it, please"," ",(0,r.jsx)("b",{children:(0,r.jsx)("a",{href:x,target:"_blank",rel:"noopener noreferrer",children:"click here"})}),"."]}):(0,r.jsx)(a.Z,{children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:p}})})]})})}},98107:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(2265);function i(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[t,n]=(0,r.useState)(e),i=(0,r.useCallback)(()=>{n(!0)},[]),s=(0,r.useCallback)(()=>{n(!1)},[]),o=(0,r.useCallback)(()=>{n(e=>!e)},[]);return(0,r.useMemo)(()=>({value:t,onTrue:i,onFalse:s,onToggle:o,setValue:n}),[t,i,s,o,n])}}},function(e){e.O(0,[6454,9643,5031,334,7046,6252,3464,3126,9754,2971,2117,1744],function(){return e(e.s=29245)}),_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.