1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26577],{6022:(t,e,n)=>{n.d(e,{j:()=>a});var a=function(t){return t.ON="on",t.OFF="off",t.CONTROL="control",t.V1="v1",t.V2="v2",t}({})},26577:(t,e,n)=>{n.d(e,{LH:()=>d.L,jr:()=>u.j,cn:()=>o,PX:()=>s,E4:()=>l,_G:()=>c,TX:()=>i});var a=n(7805),r=n(44693);function o(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,r.QP)((0,a.$)(e))}async function i(t){try{let e=await t();return[null,e]}catch(t){return[t,null]}}function s(){return"prod"}let l=t=>{let{loggedIn:e,customerId:n}=t,a="ANONYMOUS-"+(n?n.slice(0,2):"1a");return e&&n||a};var u=n(6022);let c=t=>({core:{authorizationKey:t.authorizationKey,key:t.customerKey,trafficType:(null==t?void 0:t.trafficType)||"user",labelsEnabled:!1},userConsent:(null==t?void 0:t.userConsent)||"GRANTED",debug:(null==t?void 0:t.splitDebugModeEnabled)||!1,..."localhost"===t.authorizationKey&&{features:null==t?void 0:t.features}});n(66014),n(93537);var d=n(70426);n(45652)},45652:(t,e,n)=>{n.d(e,{CopyPasteGuard:()=>o});var a=n(12115);function r(t){return["[data-copy-paste-allow]",...(null!=t?t:[]).map(t=>t.trim()).filter(Boolean)].join(",")}function o(t){let{featureSlug:e,brand:n,message:o,endpoint:i="/api/decision-engine",sessionCookie:s="blaize_session",path:l="/",disabled:u=!1,allowedSelectors:c}=t,[d,p]=(0,a.useState)(null),T=(0,a.useRef)({canCopy:d,message:o,exemptionSelector:r(c)});return T.current={canCopy:d,message:o,exemptionSelector:r(c)},(0,a.useEffect)(()=>{if(u)return;if(!("undefined"!=typeof document&&document.cookie.split(";").some(t=>t.trim().startsWith("".concat(s,"=")))))return void p(!1);let t=!1;return(async()=>{try{let a=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({sdkFeatureSlug:e,path:l,brand:n,session:function(t){if("undefined"==typeof document)return"";let e=document.cookie.split(";").map(t=>t.trim()).find(e=>e.startsWith("".concat(t,"=")));return e?decodeURIComponent(e.slice(t.length+1)):""}(s)})});if(!a.ok)throw Error("Decision engine returned ".concat(a.status));let r=await a.json(),o=function(t){if(!t||"object"!=typeof t)return!1;let e=void 0!==t.outputValue?t:t.data,n=null==e?void 0:e.outputValue;if(null==n)return!1;if("string"==typeof n)try{let t=JSON.parse(n);return!0===t.canAccessContent}catch(t){return!1}return"object"==typeof n&&!0===n.canAccessContent}(r);if(t)return;p(o)}catch(e){t||p(!1)}})(),()=>{t=!0}},[e,n,i,s,l,u]),(0,a.useEffect)(()=>{if(u)return;let t=t=>{var e,n;let{canCopy:a,message:r,exemptionSelector:o}=T.current,i=(n=t.target)instanceof Element?n:n instanceof Node?n.parentElement:null;i&&i.closest(o)||!0!==a&&(t.preventDefault(),null==(e=t.clipboardData)||e.setData("text/plain",r))};return document.addEventListener("copy",t),document.addEventListener("cut",t),()=>{document.removeEventListener("copy",t),document.removeEventListener("cut",t)}},[u]),null}},66014:(t,e,n)=>{n.r(e),n.d(e,{getFeatureFlagValue:()=>o,getFeatureFlagWithConfig:()=>i});var a=n(76516),r=n(6022);let o=t=>{let e=r.j.CONTROL,{treatments:n,isReady:o}=(0,a.v)({names:[t]});if(!o)return e;{let a=n[t];return a?a.treatment:e}},i=t=>{let{treatments:e,isReady:n}=(0,a.v)({names:[t]}),o={treatment:r.j.CONTROL,config:null};if(!n)return o;{let n=e[t];return n||o}}},70426:(t,e,n)=>{n.d(e,{L:()=>a});class a{static async parseResponse(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{if(e)return{status:t.status,statusText:t.statusText,headers:t.headers,url:t.url,body:t};let a=t.headers.get("Content-Type")||"",r=null;if(r=a.includes("application/json")?await t.json():a.includes("text/")?await t.text():a.includes("application/octet-stream")||a.includes("application/pdf")?await t.blob():await t.text(),n)return{data:r,meta:{status:t.status,statusText:t.statusText,headers:t.headers,url:t.url}};return r}catch(t){throw t}}static async get(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=(null==e?void 0:e.headers)||{},i=await fetch(t,{method:"GET",...e,headers:{"Content-Type":o["Content-Type"]||"application/json",...o}});return await a.parseResponse(i,n,r)}static async post(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=(null==n?void 0:n.headers)||{},s=await fetch(t,{method:"POST",...n,headers:{"Content-Type":i["Content-Type"]||"application/json",...i},body:e});return await a.parseResponse(s,r,o)}static async put(t,e,n){let a=(null==n?void 0:n.headers)||{},r=await fetch(t,{...n,method:"PUT",headers:{"Content-Type":a["Content-Type"]||"application/json",...a},body:JSON.stringify(e)});if(!r.ok)throw Error(r.statusText);return await r.json()}static async head(t,e){let n=await fetch(t,{...e,method:"HEAD"});if(!n.ok)throw Error(n.statusText);return n.headers}static async patch(t,e,n){let a=(null==n?void 0:n.headers)||{},r=await fetch(t,{method:"PATCH",headers:{"Content-Type":a["Content-Type"]||"application/json",...a},body:JSON.stringify(e)});if(!r.ok)throw Error(r.statusText);return await r.json()}static async delete(t,e){let n=(null==e?void 0:e.headers)||{},a=await fetch(t,{...e,headers:{"Content-Type":n["Content-Type"]||"application/json",...n},method:"DELETE"});if(!a.ok)throw Error(a.statusText);return!0}}
1a.STATUS_CODES={OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,CONFLICT:409,UNPROCESSABLE_ENTITY:422,TOO_MANY_REQUESTS:429,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,MOVED_PERMANENTLY:301,FOUND:302,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308},a.CONTENT_TYPES={JSON:"application/json",TEXT:"text/plain",HTML:"text/html",FORM_URLENCODED:"application/x-www-form-urlencoded",MULTIPART_FORM_DATA:"multipart/form-data",XML:"application/xml",OCTET_STREAM:"application/octet-stream"},a.CHARSETS={UTF_8:"utf-8",ISO_8859_1:"iso-8859-1"}}}]);
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.