PageSourceSearch

https://sendabroad.co.uk/_next/static/chunks/8808.425c6615677de32c.js

js sendabroad.co.uk collected 2026-10-08 07:16:26 UTC 2,092 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8808],{8808:(e,r,t)=>{t.r(r),t.d(r,{default:()=>s});var a=t(95155),o=t(87177);let s=e=>{let{fieldKey:r="",label:t="",value:s,options:n=[],multiple:i=!1,disabled:m=!1,otherInputPlaceholder:l="",otherInputLabel:d="",translationPrefix:y="",translationSeparator:c=".",onChange:x,className:h="",isInvalid:p=!1,showErrors:u=!0,translations:k,tagsTranslations:f}=e;if(!n||n?.length===0)return(0,a.jsx)(a.Fragment,{});let b=Array.isArray(s)?s.some(e=>e?.key==="other"):s?.key==="other",g=e=>{m||(i?Array.isArray(s)?s.some(r=>r?.key===e)?x(s.filter(r=>r?.key!==e)):x([...s,{key:e}]):x([{key:e}]):Array.isArray(s)||s?.key!==e?x({key:e}):x({key:""}))};return(0,a.jsxs)("div",{className:(0,o.c)("",h),children:[(0,a.jsx)("div",{className:"mb-1 font-body-medium text-heading",children:t}),(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-1",children:n?.map(e=>{let r=i?Array.isArray(s)&&s.some(r=>r?.key===e):!Array.isArray(s)&&s?.key===e,t=`${y}${c}${e}`;return"dontKnow"===e?t="common.dontKnow":"yes"===e?t="common.yes":"no"===e&&(t="common.no"),a.jsx("div",{className:o.c("select-none px-[10px] py-[6px] flex items-center justify-center text-primary text-sm font-body-medium hover:cursor-pointer hover:bg-primary border rounded border-primary hover:text-white transition-colors duration-200 ease-in-out normal-case tracking-normal",{"bg-primary text-white hover:opacity-90":r}),onClick:()=>g(e),children:f?.[t]||k?.[t]},e)})}),u&&p&&(0,a.jsx)("div",{className:"w-full text-xs text-right text-rating-poor",children:k?.["common.commonFieldRequiredError"]}),b&&(0,a.jsxs)("div",{className:"w-full mt-2 max-w-[500px]",children:[(0,a.jsx)("label",{htmlFor:r,className:"font-body-medium text-heading text-md",children:d}),(0,a.jsx)("input",{type:"text",id:r,name:r,placeholder:l,className:"text-md mt-1 p-1 border border-border-form-input rounded flex-1 w-full mb-[5px]",disabled:m,onChange:e=>{let r=e.target.value;Array.isArray(s)?x(s.map(e=>e?.key==="other"?{...e,other:r}:e)):x({...s,other:r})},maxLength:45})]})]},r)}}}]);

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.