1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`93aed5d37b063259ae34ae7c2b21bf3b1ad3827f`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`760dec0f-bfd3-4aa0-8a3f-0b9632b7fa87`,e._sentryDebugIdIdentifier=`sentry-dbid-760dec0f-bfd3-4aa0-8a3f-0b9632b7fa87`)}catch{}})();import{E as e,Ht as t,On as n,Qn as r,Yt as i,_ as a,b as o,g as s,k as c,mt as l,nr as u,v as d,vn as f,y as p}from"./g7mw9Kwi.js";import{S as m}from"./C147WcSP.js";import{n as h}from"./CjfC4zSQ.js";import{t as g}from"./5jB8BYUS2.js";import{t as _}from"./CQjqpiq8.js";import{t as v}from"./D_X30vrX.js";import{t as y}from"./DeWQuuRC.js";var b={},x={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 8 8`,width:`20`,focusable:`false`,role:`img`,"aria-label":`Valid input`};function S(e,t){return l(),o(`svg`,x,[...t[0]||=[a(`path`,{fill:`#00a886`,d:`M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z`},null,-1)]])}var C=Object.assign(g(b,[[`render`,S]]),{__name:`IconValidInput`}),w={},T={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 36 36`,width:`20`,focusable:`false`,role:`img`,"aria-label":`Invalid input`};function E(e,t){return l(),o(`svg`,T,[...t[0]||=[a(`path`,{fill:`var(--semantic-color-primary)`,d:`M18 6a12 12 0 1 0 12 12A12 12 0 0 0 18 6Zm0 22a10 10 0 1 1 10-10a10 10 0 0 1-10 10Z`,class:`clr-i-outline clr-i-outline-path-1`},null,-1),a(`path`,{fill:`var(--semantic-color-primary)`,d:`M18 20.07a1.3 1.3 0 0 1-1.3-1.3v-6a1.3 1.3 0 1 1 2.6 0v6a1.3 1.3 0 0 1-1.3 1.3Z`,class:`clr-i-outline clr-i-outline-path-2`},null,-1),a(`circle`,{cx:`17.95`,cy:`23.02`,r:`1.5`,fill:`var(--semantic-color-primary)`,class:`clr-i-outline clr-i-outline-path-3`},null,-1),a(`path`,{fill:`none`,d:`M0 0h36v36H0z`},null,-1)]])}var D=Object.assign(g(w,[[`render`,E]]),{__name:`IconInvalidInput`});function O(e,n=!1,r=!1){let i=f(),a=e=>e.split(`,`).map(e=>e.trim())||e.split(`,`)||[],o=e=>y(e);return t(()=>e.initial,e=>{if(e!==void 0&&e!==i.value){if(n){i.value=a(e);return}if(r){i.value=o(e);return}i.value=e}},{immediate:!0}),{inputValue:i}}function k(e){let t=f(!1);return!e||e.length<1?(t.value=!0,t.value):(t.value=e.every(e=>e.resolved),t.value)}var A={class:`input-group`},j={class:`input--wrapper`},M=[`id`,`name`,`placeholder`,`required`,`type`,`autocomplete`,`value`,`readonly`],N=[`for`],P={key:0},F={key:2,class:`error-message`},I=Object.assign(g(c({__name:`TextInput`,props:{autocomplete:{},errorMessage:{},headline:{},headlineOptions:{},id:{},inputConditions:{},inputParagraph:{},label:{},type:{default:`text`},readonly:{type:Boolean,default:!1},required:{default:`false`},updatedCondition:{},initial:{}},emits:[`inputChange`],setup(c,{expose:g,emit:y}){let b=c,{t:x}=h(),S=y,w=e=>{T.value=e.target.value},{inputValue:T}=O(b),E=f(!1),I=f(!1),L=f(!b.errorMessage&&b.errorMessage===``?x(`form-required-input`):b.errorMessage),R=f(b.inputConditions),z=f(!1),B=s(()=>b.type===`email`?`email`:b?.autocomplete?.trim()&&b.type===`text`&&b?.autocomplete||`off`),V=()=>{S(`inputChange`,T),W()},H=()=>{E.value=!1,I.value=!1},U=()=>{T.value?.length<8&&(E.value=!0,I.value=!1)},W=()=>{if(!z.value){E.value=!1,I.value=!0;return}if(b.required===`true`&&b.type===`email`)if(G(T.value))E.value=!1,I.value=!0;else{E.value=!0,I.value=!1,L.value=`Invalid email address`;return}b.required===`true`&&(!T.value||T.value===``)?(E.value=!0,I.value=!1):(E.value=!1,I.value=!0)},G=e=>String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),K=e=>{e.forEach(e=>{b.id===e.targetInput&&R.value?.forEach(t=>{t.if===e.condition&&(t.resolved=e.result)})}),z.value=k(R.value)};return z.value=k(R.value),g({validateInput:W,resetValidation:H,validateStrength:U,inputValue:T,isInvalid:E,id:b.id,isAllowed:z}),t(()=>b.updatedCondition,e=>{K(e)},{deep:!0}),(t,s)=>{let f=_,h=v,g=C,y=D;return i((l(),o(`div`,A,[c.headline&&c.headline!==``?(l(),d(f,{key:0,class:`input-headline`,appearance:c.headlineOptions?.appearance,semantic:c.headlineOptions?.semantic,headline:c.headline},null,8,[`appearance`,`semantic`,`headline`])):p(``,!0),c.inputParagraph&&c.inputParagraph!==``?(l(),d(h,{key:1,class:`input-paragraph mb-1`,content:{text:c.inputParagraph}},null,8,[`content`])):p(``,!0),a(`div`,j,[a(`input`,{class:r([{"input-error":E.value,"input-validated":I.value}]),id:c.id,name:c.id,placeholder:c.label,required:c.required===`true`&&z.value,type:c.type,autocomplete:n(B),value:n(T),onInput:w,onChange:V,readonly:c.readonly},null,42,M),I.value?(l(),d(g,{key:0,class:`input-icon`}
1)):p(``,!0),E.value?(l(),d(y,{key:1,class:`input-icon invalid-icon`})):p(``,!0),a(`label`,{for:c.id},[e(u(c.label)+` `,1),!c.required||c.required===`false`?(l(),o(`span`,P,`- `+u(n(x)(`form-optional-input`)),1)):p(``,!0)],8,N)]),E.value?(l(),o(`span`,F,u(L.value),1)):p(``,!0)],512)),[[m,z.value]])}}}),[[`__scopeId`,`data-v-462e2928`]]),{__name:`TextInput`});export{C as a,D as i,k as n,O as r,I as t};
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.