();\n\n useEffect(() => {\n async function highlight() {\n if (codeRef.current) {\n Prism.highlightElement(codeRef.current as Element);\n }\n }\n highlight();\n }, []);\n\n return (\n \n \n {title}\n \n \n {children}\n
\n
\n );\n};\n"],"names":["Promise","resolve","then","__webpack_require__","t","bind","StyledBreadcrumbContainer","styled","nav","_templateObject","StyledBreadcrumbItemWrapper","div","_templateObject4","$state","param","css","HEADER_NAME_PATTERN","clickOnEnter","e","target","currentTarget","key","dispatchEvent","MouseEvent","bubbles","HeadersContainer","screens","lg","HeaderDeleteButton","button","attrs","type","_templateObject1","validateClientHeaderNameChange","event","headerName","value","isForbiddenBrowserHeader","rawHeaderName","toLowerCase","startsWith","includes","setCustomValidity","concat","EditableHeaders","props","headers","onChange","autoFocus","onlyClientHeaders","focused","setFocused","React","jsx_runtime","jsx","Observer","flatMap","i","Input","required","pattern","spellCheck","action","reportValidity","onClick","splice","onKeyPress","SquareIcon","$size","icon","Trash","placeholder","push","ref","elem","focus","length","getOrigin","url","URL","origin","getHeaderPair","find","headerKey","getHeaderValue","getHeaderValues","separator","split","map","v","trim","filter","setHeader","headerPair","deleteHeader","remove","someHeaderValues","predicate","some","joinAnd","vals","initialSep","finalSep","slice","join","InlineCode","children","StyledInlineCode","fontSize","color","forwardedAs","className","dmCodeFont","BlockCode","title","content","language","jsxs","StyledBlockCodeWrapper","StyledBlockCodeTitleWrapper","Text","fontWeight","StyledBlockCodeContent","Code","StyledInputWrapper","checkbox_styles_templateObject","StyledInput","input","checkbox_styles_templateObject1","theme","fontSizes","text","s","$hasError","colors","cinnarbarRed","lightGrey","inkGrey","electricLightBlue","inkBlack","STyledLabel","label","_templateObject2","m","bold","darkGrey","Checkbox","forwardRef","id","name","htmlFor","displayName","Question","onNext","form","onSubmit","preventDefault","checkValidity","SourceUrlQuestion","observer","Stack","Heading","Button","$isFluid","TargetUrlQuestion","NotCorsResult","CheckCircle","aria-label","weight","size","strong","Link","href","MixedContentResult","sourceOrigin","targetOrigin","XCircle","MethodQuestion","fontStyle","method","toUpperCase","RequestExtrasQuestion","sendCredentials","onSendCredentials","useStreaming","onUseStreaming","onChangeHeaders","showHeaders","setShowHeaders","useState","isEmpty","checked","shouldShowHeaders","ContentTypeQuestion","SimpleCorsRequest","textAlign","ShippingFast","width","ServerResponseQuestion","isServerResponseReadable","undefined","ServerRejectsCorsRequest","serverResponseHeaders","allowedOrigin","allowCredentials","missingHeaders","h","failureReasons","r","ServerAllowsCorsRequest","responseHeaders","exposedHeadersHeader","timingInfo","corsSafelistedHeaders","Fragment","hasHeaderWildcard","explicitlyAllowedHeaders","credsWithWildcardWarning","exposedHeaders","varyOnOrigin","uselessSetCookie","as","TryHttpToolkit","ShowCode","code","PreflightRequest","PaperPlaneTilt","PreflightResponseQuestion","targetUrl","unsafeHeaders","isPreflightSuccessful","cacheDuration","parseInt","ServerRejectsPreflightRequest","preflightResponseHeaders","originAllowed","methodAllowed","headersAllowed","credentialsAllowed","incorrectHeaders","incompleteHeaders","partition","invalidWildcards","allowedHeaders","wildcardWithAuthorization","incompleteHeader","ServerAllowsPreflightRequest","SAFE_HEADERS","SAFE_CONTENT_TYPES","UNSAFE_HEADER_BYTES","WillItCorsStore","setSourceUrl","sourceUrl","setTargetUrl","setMethod","setCredentials","credentials","setUseStreaming","setRequestHeaders","requestHeaders","setServerResponseHeaders","setPreflightResponseHeaders","contentType","isCorsRequest","isMixedContentRequest","match","headerValue","b","test","isSendingUnsafeHeaders","isSimpleCorsRequest","doesPreflightResponseAllowOrigin","doesPreflightResponseAllowMethod","allowedMethods","doesPreflightResponseAllowHeaders","includesAllUnsafeHeaders","doesPreflightResponseAllowCredentials","exampleCode","JSON","stringify","Object","assign","mapValues","keyBy","constructor","makeAutoObservable","steps","Steps","currentStep","router","useRouter","newValue","StyledWillItCorsWrapper","section","shadow","hero","StyledWillItCorsContainer","lineHeightMap","xl","l","xs","StyledHeading","h1","heading","mobile","$textAlign","align","textGradient","desktop","toString","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","data-heading","Icon","$variant","StyledSquareIcon","SquareIconSizes","mini","small","medium","large","xLarge","_templateObject5","border","electricBlue","white","StyledLandingLayoutWrapper","codeRef","useEffect","highlight","current","Prism","pre","aria-labelledby","tabIndex","span"],"sourceRoot":""}