PageSourceSearch

https://book.unseenfields.com/_next/static/chunks/f88fb60c5c27d8a4.js

js unseenfields.com collected 2026-10-04 08:09:42 UTC 40,753 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,398778,e=>{"use strict";var t=e.i(843476),n=e.i(522016),a=e.i(271645),r=e.i(12346),i=e.i(255889),o=e.i(898921);function l(e){return(0,t.jsx)("ul",{"data-testid":"list",...e,className:(0,i.default)("mx-0 rounded-sm sm:overflow-hidden ",e.roundContainer&&"[&>*:first-child]:rounded-t-md [&>*:last-child]:rounded-b-md ",!e.noBorderTreatment&&"border-subtle divide-subtle divide-y rounded-md border border-l border-r ",e.className),children:e.children})}function s(e){let{href:r,expanded:o,rounded:l=!0,...s}=e,c=r?"a":"li",u=(0,a.createElement)(c,{...s,className:(0,i.default)("items-center bg-default min-w-0 flex-1 flex border-neutral-200 p-4 sm:mx-0 md:border md:p-4 xl:mt-0 border-subtle",o?"my-2 border":"border -mb-px last:mb-0",l?"rounded-md":"rounded-none",e.className,(e.onClick||r)&&"hover:bg-cal-muted"),"data-testid":"list-item"},e.children);return r?(0,t.jsx)(n.default,{href:r,children:u}):u}function c(e){let{href:a,heading:l="",children:s,disabled:c=!1,readOnly:u=!1,actions:E=(0,t.jsx)("div",{}),className:d=""}=e,{t:m}=(0,r.useLocale)(),_=e.subHeading;return _||(_=""),(0,t.jsxs)("li",{"data-testid":"list-link-item",className:(0,i.default)("group flex w-full items-center justify-between p-5 pb-4",d,c?"hover:bg-cal-muted":""),children:[(0,t.jsxs)(n.default,{passHref:!0,href:a,className:(0,i.default)("text-default grow truncate text-sm",c?"pointer-events-none cursor-not-allowed opacity-30":""),children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("h1",{className:"text-sm font-semibold leading-none",children:l}),u&&(0,t.jsx)(o.Badge,{"data-testid":"badge",variant:"gray",className:"ml-2",children:m("readonly")})]}),(0,t.jsxs)("h2",{className:"min-h-4 mt-2 text-sm font-normal leading-none text-neutral-600",children:[_.substring(0,100),_.length>100&&"..."]}),(0,t.jsx)("div",{className:"mt-2",children:s})]}),E]})}
1function u(e){let{component:t="span",...n}=e;return(0,a.createElement)(t,{...n,className:(0,i.default)("text-sm font-medium text-emphasis truncate",e.className),"data-testid":"list-item-title"},e.children)}function E(e){let{component:t="span",...n}=e;return(0,a.createElement)(t,{...n,className:(0,i.default)("text-sm text-subtle truncate prose",e.className),"data-testid":"list-item-text"},e.children)}e.s(["List",()=>l,"ListItem",()=>s,"ListItemText",()=>E,"ListItemTitle",()=>u,"ListLinkItem",()=>c])},194752,257547,e=>{"use strict";var t=e.i(315138);let n=e=>!!e;function a(e,a){return e.map(e=>{let n=(0,t.getEventLocationType)(e.type),r=(0,t.locationKeyToString)(e);if("string"!=typeof r||!n)return null;let i=n.type;return{label:e.customLabel||(0,t.getTranslatedLocation)(e,n,a)||r,value:i,inputPlaceholder:a(n?.attendeeInputPlaceholder||"")}}).filter(n)}e.s(["default",()=>a],194752);var r=e.i(843476),i=e.i(271645),o=e.i(833875),l=e.i(875744),s=e.i(622030),c=e.i(12346),u=e.i(857739),E=e.i(676468),d=e.i(973895),m=e.i(144232),_=e.i(320937);e.s(["VerifyCodeDialog",0,({isOpenDialog:e,setIsOpenDialog:t,email:n,isUserSessionRequiredToVerify:a=!0,verifyCodeWithSessionNotRequired:p,verifyCodeWithSessionRequired:f,resetErrors:T,setIsPending:A,isPending:R,error:h})=>{let{t:g}=(0,c.useLocale)(),[N,O]=(0,i.useState)(""),[I,S]=(0,i.useState)(!1),D=(0,l.useBookerStoreContext)(e=>e.setVerificationCode),C=(0,o.default)({acceptedCharacters:/^[0-9]$/,length:6,value:N,onChange:(0,i.useCallback)(e=>{T(),O(e)},[])}),L=(0,i.useCallback)(()=>{T(),A(!0),a?f(N,n):p(N,n),D(N),S(!0)},[T,A,a,f,N,n,p,D]);(0,i.useEffect)(()=>{!I&&!h&&!R&&/^\d{6}$/.test(N.trim())&&L()},[h,R,N,I]),(0,i.useEffect)(()=>O(""),[e]);let y="h-12 w-12 text-xl! text-center";return(0,r.jsx)(s.Dialog,{open:e,onOpenChange:()=>{T()},children:(0,r.jsx)(E.DialogContent,{className:"sm:max-w-md",children:(0,r.jsx)("div",{className:"flex flex-row",children:(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsx)(E.DialogHeader,{title:g("verify_your_email"),subtitle:g("enter_digit_code",{email:n})}),(0,r.jsx)(m.Label,{htmlFor:"code",children:g("code")}),(0,r.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,r.jsx)(d.Input,{className:y,name:"2fa1",inputMode:"decimal",...C[0],autoFocus:!0,autoComplete:"one-time-code"}),(0,r.jsx)(d.Input,{className:y,name:"2fa2",inputMode:"decimal",...C[1]}),(0,r.jsx)(d.Input,{className:y,name:"2fa3",inputMode:"decimal",...C[2]}),(0,r.jsx)(d.Input,{className:y,name:"2fa4",inputMode:"decimal",...C[3]}),(0,r.jsx)(d.Input,{className:y,name:"2fa5",inputMode:"decimal",...C[4]}),(0,r.jsx)(d.Input,{className:y,name:"2fa6",inputMode:"decimal",...C[5]})]}),h&&(0,r.jsxs)("div",{className:"mt-2 flex items-center gap-x-2 text-sm text-red-700",children:[(0,r.jsx)("div",{children:(0,r.jsx)(_.InfoIcon,{className:"h-3 w-3"})}),(0,r.jsx)("p",{children:h})]}),(0,r.jsxs)(E.DialogFooter,{noSticky:!0,children:[(0,r.jsx)(E.DialogClose,{onClick:()=>t(!1)}),(0,r.jsx)(u.Button,{type:"submit",onClick:L,loading:R,children:g("submit")})]})]})})})})}],257547)},162234,615251,e=>{"use strict";let t={name:"variants",email:"text",phone:"text",address:"text",text:"text",number:"text",textarea:"text",select:"select",multiselect:"multiselect",multiemail:"textList",radioInput:"objectiveWithInput",checkbox:"multiselect",radio:"select",boolean:"boolean",url:"text"};e.s(["propsTypes",0,t],615251);let n={name:{label:"Name",value:"name",isTextType:!0,systemOnly:!0,variantsConfig:{toggleLabel:'Split "Full name" into "First name" and "Last name"',defaultVariant:"fullName",variants:{firstAndLastName:{label:"first_last_name",fieldsMap:{firstName:{defaultLabel:"first_name",canChangeRequirability:!1},lastName:{defaultLabel:"last_name",canChangeRequirability:!0}}},fullName:{label:"your_name",fieldsMap:{fullName:{defaultLabel:"your_name",defaultPlaceholder:"example_name",canChangeRequirability:!1}}}},defaultValue:{variants:{firstAndLastName:{fields:[{name:"firstName",type:"text",required:!0},{name:"lastName",type:"text",required:!1}]},fullName:{fields:[{name:"fullName",type:"text",label:"",required:!0}]}}}}},email:{label:"Email",value:"email",isTextType:!0},phone:{label:"Phone",value:"phone",isTextType:!0},address:{label:"Address",value:"address",isTextType:!0},text:{label:"Short Text",value:"text",isTextType:!0},number:{label:"Number",value:"number",isTextType:!0,supportsPricing:!0},textarea:{label:"Long Text",value:"textarea",isTextType:!0,supportsLengthCheck:{maxLength:1e3}},select:{label:"Select",value:"select",needsOptions:!0,isTextType:!0,optionsSupportPricing:!0},multiselect:{label:"MultiSelect",value:"multiselect",needsOptions:!0,isTextType:!1,optionsSupportPricing:!0},multiemail:{label:"Multiple Emails",value:"multiemail",isTextType:!0},radioInput:{label:"Radio Input",value:"radioInput",isTextType:!1,systemOnly:!0},checkbox:{label:"Checkbox Group",value:"checkbox",needsOptions:!0,isTextType:!1,optionsSupportPricing:!0},radio:{label:"Radio Group",value:"radio",needsOptions:!0,isTextType:!1,optionsSupportPricing:!0},boolean:{label:"Checkbox",value:"boolean",isTextType:!1,supportsPricing:!0},url:{label:"URL",value:"url",isTextType:!0}};
1Object.entries(n).forEach(([e,n])=>{n.propsType=t[e]}),e.s(["fieldTypesConfigMap",0,n],162234)},69692,e=>{"use strict";var t=e.i(162234);let n=e=>{let n=e.variantsConfig,a=t.fieldTypesConfigMap[e.type];if(!a)throw Error(`Invalid field.type ${e.type}}`);let r=a?.variantsConfig?.defaultValue,i=n||r;if("variants"===a.propsType&&!i)throw Error("propsType variants must have variantsConfig");return i};e.s(["getConfig",0,n,"getTranslatedConfig",0,(e,a)=>{var r,i;let o,l=n(e);if(!l)return l;let s=(r=l.variants,i=e.type,o=t.fieldTypesConfigMap[i]?.variantsConfig?.variants,Object.entries(r).reduce((e,[t,n])=>{let r=o?.[t]?.fieldsMap,i=n.fields.map(e=>{let t=r?.[e.name]?.defaultLabel??"",n=(e.label?.trim()?e.label:t)??"",i=e.placeholder??"";return{...e,label:a(n),placeholder:a(i)}});return e[t]={...n,fields:i},e},{}));return{...l,variants:s}}])},232591,e=>{"use strict";e.s(["fieldsThatSupportLabelAsSafeHtml",0,["boolean","radio"]])},22507,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.SUPPORTED_LOCALES=n.MAX_SEATS_PER_TIME_SLOT=n.CAL_API_VERSION_HEADER=n.API_VERSIONS=n.VERSION_2024_09_04=n.VERSION_2024_08_13=n.VERSION_2024_04_15=n.VERSION_2024_06_11=n.VERSION_2024_06_14=n.HTTP_CODE_TOKEN_EXPIRED=n.X_CAL_PLATFORM_EMBED=n.X_CAL_CLIENT_ID=n.X_CAL_SECRET_KEY=n.API_ERROR_CODES=n.DUPLICATE_RESOURCE=n.RESOURCE_NOT_FOUND=n.INVALID_API_KEY=n.MISSING_PARAMETER=n.INVALID_PARAMETER=n.INTERNAL_SERVER_ERROR=n.CONFLICT=n.INVALID_ACCESS_TOKEN=n.ACCESS_TOKEN_EXPIRED=n.UNPROCESSABLE_ENTITY=n.METHOD_NOT_ALLOWED=n.NOT_FOUND=n.FORBIDDEN=n.UNAUTHORIZED=n.BAD_REQUEST=n.REDIRECT_STATUS=n.ERROR_STATUS=n.SUCCESS_STATUS=n.V2_ENDPOINTS=n.BASE_URL=void 0,n.BASE_URL="http://localhost:5555",n.V2_ENDPOINTS={me:"me",availability:"schedules",eventTypes:"event-types",bookings:"bookings"},n.SUCCESS_STATUS="success",n.ERROR_STATUS="error",n.REDIRECT_STATUS="redirect",n.BAD_REQUEST="BAD_REQUEST",n.UNAUTHORIZED="UNAUTHORIZED",n.FORBIDDEN="FORBIDDEN",n.NOT_FOUND="NOT_FOUND",n.METHOD_NOT_ALLOWED="METHOD_NOT_ALLOWED",n.UNPROCESSABLE_ENTITY="UNPROCESSABLE_ENTITY",n.ACCESS_TOKEN_EXPIRED="ACCESS_TOKEN_IS_EXPIRED",n.INVALID_ACCESS_TOKEN="Invalid Access Token.",n.CONFLICT="CONFLICT",n.INTERNAL_SERVER_ERROR="INTERNAL_SERVER_ERROR",n.INVALID_PARAMETER="INVALID_PARAMETER",n.MISSING_PARAMETER="MISSING_PARAMETER",n.INVALID_API_KEY="INVALID_API_KEY",n.RESOURCE_NOT_FOUND="RESOURCE_NOT_FOUND",n.DUPLICATE_RESOURCE="DUPLICATE_RESOURCE",n.API_ERROR_CODES=[n.BAD_REQUEST,n.UNAUTHORIZED,n.FORBIDDEN,n.NOT_FOUND,n.METHOD_NOT_ALLOWED,n.UNPROCESSABLE_ENTITY,n.INTERNAL_SERVER_ERROR,n.INVALID_PARAMETER,n.MISSING_PARAMETER,n.INVALID_API_KEY,n.RESOURCE_NOT_FOUND,n.DUPLICATE_RESOURCE],n.X_CAL_SECRET_KEY="x-cal-secret-key",n.X_CAL_CLIENT_ID="x-cal-client-id",n.X_CAL_PLATFORM_EMBED="x-cal-platform-embed",n.HTTP_CODE_TOKEN_EXPIRED=498,n.VERSION_2024_06_14="2024-06-14",n.VERSION_2024_06_11="2024-06-11",n.VERSION_2024_04_15="2024-04-15",n.VERSION_2024_08_13="2024-08-13",n.VERSION_2024_09_04="2024-09-04",n.API_VERSIONS=[n.VERSION_2024_06_14,n.VERSION_2024_06_11,n.VERSION_2024_04_15,n.VERSION_2024_08_13,n.VERSION_2024_09_04],n.CAL_API_VERSION_HEADER="cal-api-version",n.MAX_SEATS_PER_TIME_SLOT=1e3,n.SUPPORTED_LO
1CALES=["","en","ar","az","bg","bn","ca","cs","da","de","el","es","es-419","eu","et","fi","fr","he","hu","it","ja","km","ko","nl","no","pl","pt-BR","pt","ro","ru","sk-SK","sr","sv","tr","uk","vi","zh-CN","zh-TW"]},265388,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.APPS_TYPE_ID_MAPPING=n.CONFERENCING_APPS=n.CAL_VIDEO_TYPE=n.CAL_VIDEO=n.OFFICE_365_VIDEO_TYPE=n.OFFICE_365_VIDEO=n.ZOOM_TYPE=n.ZOOM=n.GOOGLE_MEET_ID=n.GOOGLE_MEET_TYPE=n.GOOGLE_MEET=n.CREDENTIAL_CALENDARS=n.CALENDARS=n.APPLE_CALENDAR_ID=n.ICS_CALENDAR_TYPE=n.APPLE_CALENDAR_TYPE=n.ICS_CALENDAR_ID=n.ICS_CALENDAR=n.APPLE_CALENDAR=n.OFFICE_365_CALENDAR=n.GOOGLE_CALENDAR=n.OFFICE_365_CALENDAR_ID=n.OFFICE_365_CALENDAR_TYPE=n.GOOGLE_CALENDAR_ID=n.GOOGLE_CALENDAR_TYPE=void 0,n.GOOGLE_CALENDAR_TYPE="google_calendar",n.GOOGLE_CALENDAR_ID="google-calendar",n.OFFICE_365_CALENDAR_TYPE="office365_calendar",n.OFFICE_365_CALENDAR_ID="office365-calendar",n.GOOGLE_CALENDAR="google",n.OFFICE_365_CALENDAR="office365",n.APPLE_CALENDAR="apple",n.ICS_CALENDAR="ics-feed",n.ICS_CALENDAR_ID="ics-feed",n.APPLE_CALENDAR_TYPE="apple_calendar",n.ICS_CALENDAR_TYPE="ics-feed_calendar",n.APPLE_CALENDAR_ID="apple-calendar",n.CALENDARS=[n.GOOGLE_CALENDAR,n.OFFICE_365_CALENDAR,n.APPLE_CALENDAR],n.CREDENTIAL_CALENDARS=[n.APPLE_CALENDAR],n.GOOGLE_MEET="google-meet",n.GOOGLE_MEET_TYPE="google_video",n.GOOGLE_MEET_ID="google-meet",n.ZOOM="zoom",n.ZOOM_TYPE="zoom_video",n.OFFICE_365_VIDEO="msteams",n.OFFICE_365_VIDEO_TYPE="office365_video",n.CAL_VIDEO="daily-video",n.CAL_VIDEO_TYPE="daily_video",n.CONFERENCING_APPS=[n.GOOGLE_MEET,n.ZOOM,n.OFFICE_365_VIDEO],(a={})[n.GOOGLE_CALENDAR_TYPE]=n.GOOGLE_CALENDAR_ID,a[n.OFFICE_365_CALENDAR_TYPE]=n.OFFICE_365_CALENDAR_ID,a[n.APPLE_CALENDAR_TYPE]=n.APPLE_CALENDAR_ID,a[n.ICS_CALENDAR_TYPE]=n.ICS_CALENDAR_ID,a[n.GOOGLE_MEET_TYPE]=n.GOOGLE_MEET_ID,n.APPS_TYPE_ID_MAPPING=a},956423,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.PERMISSIONS_GROUPED_MAP=n.PERMISSION_MAP=n.PERMISSIONS=n.PROFILE_WRITE=n.PROFILE_READ=n.APPS_WRITE=n.APPS_READ=n.SCHEDULE_WRITE=n.SCHEDULE_READ=n.BOOKING_WRITE=n.BOOKING_READ=n.EVENT_TYPE_WRITE=n.EVENT_TYPE_READ=void 0,n.EVENT_TYPE_READ=1,n.EVENT_TYPE_WRITE=2,n.BOOKING_READ=4,n.BOOKING_WRITE=8,n.SCHEDULE_READ=16,n.SCHEDULE_WRITE=32,n.APPS_READ=64,n.APPS_WRITE=128,n.PROFILE_READ=256,n.PROFILE_WRITE=512,n.PERMISSIONS=[n.EVENT_TYPE_READ,n.EVENT_TYPE_WRITE,n.BOOKING_READ,n.BOOKING_WRITE,n.SCHEDULE_READ,n.SCHEDULE_WRITE,n.APPS_READ,n.APPS_WRITE,n.PROFILE_READ,n.PROFILE_WRITE],n.PERMISSION_MAP={EVENT_TYPE_READ:n.EVENT_TYPE_READ,EVENT_TYPE_WRITE:n.EVENT_TYPE_WRITE,BOOKING_READ:n.BOOKING_READ,BOOKING_WRITE:n.BOOKING_WRITE,SCHEDULE_READ:n.SCHEDULE_READ,SCHEDULE_WRITE:n.SCHEDULE_WRITE,APPS_READ:n.APPS_READ,APPS_WRITE:n.APPS_WRITE,PROFILE_READ:n.PROFILE_READ,PROFILE_WRITE:n.PROFILE_WRITE},n.PERMISSIONS_GROUPED_MAP={EVENT_TYPE:{read:n.EVENT_TYPE_READ,write:n.EVENT_TYPE_WRITE,key:"eventType",label:"Event Type"},BOOKING:{read:n.BOOKING_READ,write:n.BOOKING_WRITE,key:"booking",label:"Booking"},SCHEDULE:{read:n.SCHEDULE_READ,write:n.SCHEDULE_WRITE,key:"schedule",label:"Schedule"},APPS:{read:n.APPS_READ,write:n.APPS_WRITE,key:"apps",label:"Apps"},PROFILE:{read:n.PROFILE_READ,write:n.PROFILE_WRITE,key:"profile",label:"Profile"}}},873485,(e,t,n)=>{"use strict";var a=e.e&&e.e.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);
1(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=e.e&&e.e.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),r(e.r(22507),n),r(e.r(265388),n),r(e.r(956423),n)},81822,e=>{"use strict";let t,n;var a=e.i(581949),r=e.i(873485);let i=(t=a.default.create({timeout:1e4,headers:{}}),n="",{instance:t,get:t.get,post:t.post,put:t.put,patch:t.patch,delete:t.delete,responseInterceptor:t.interceptors.response,setRefreshUrl:e=>{n=e},getRefreshUrl:()=>n,setUrl:e=>{t.defaults.baseURL=e},getUrl:()=>t.defaults.baseURL,setAuthorizationHeader:e=>{t.defaults.headers.common.Authorization=`Bearer ${e}`},getAuthorizationHeader:()=>t.defaults.headers.common?.Authorization?.toString()??"",setClientIdHeader:e=>{t.defaults.headers.common[r.X_CAL_CLIENT_ID]=e},getClientIdHeader:()=>t.defaults.headers.common?.[r.X_CAL_CLIENT_ID]?.toString()??"",setPlatformEmbedHeader:e=>{t.defaults.headers.common[r.X_CAL_PLATFORM_EMBED]=e.toString()},getPlatformEmbedHeader:()=>t.defaults.headers.common?.[r.X_CAL_PLATFORM_EMBED]?.toString()??"",setVersionHeader:e=>{t.defaults.headers.common[r.CAL_API_VERSION_HEADER]=e},getVersionHeader:()=>t.defaults.headers.common?.[r.X_CAL_CLIENT_ID]?.toString()??"",refreshTokens:async e=>{let t=await fetch(`${e}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:i.getAuthorizationHeader()}}),n=await t.json();return n.accessToken?(i.setAuthorizationHeader(n.accessToken),n.accessToken):""}});e.s(["default",0,i])},67643,e=>{"use strict";var t=e.i(843476),n=e.i(271645),a=e.i(772990),r=e.i(266027),i=e.i(873485),o=e.i(81822);let l=e=>e.map(({city:e,timezone:t})=>({label:e,timezone:t}));function s(e){let{isLoading:s,data:c}=(()=>{let{isLoading:e,data:t}=(0,r.useQuery)({queryKey:["city-timezones"],queryFn:()=>o.default?.get("/timezones").then(e=>{if(e.data.status===i.SUCCESS_STATUS)return e.data.data;throw Error(e.data.error.message)})});return{isLoading:e,data:t}})(),u=(0,n.useMemo)(()=>{if(e.timeZones){let t;return l((t=e.timeZones,(c??[]).filter(e=>t.includes(e.timezone))))}return c&&!s?l(c):[]},[c,e.timeZones,s]);return(0,t.jsx)(a.TimezoneSelectComponent,{...e,data:u,isPending:s,isWebTimezoneSelect:!1})}e.s(["Timezone",()=>s],67643)},833875,(e,t,n)=>{"use strict";n.__esModule=!0;var a=e.r(271645);n.default=function(e){for(var t=e.acceptedCharacters,n=e.length,r=e.value,i=e.onChange,o=function(e,t){for(;e.length<t;)e+=" ";return e.substr(0,t)}(r,n),l=a.useRef(Array.from({length:n})),s=a.useRef(Array.from({length:n})),c=[],u=function(e){var a=s.current[e]=s.current[e]||function(t){l.current[e]=t||void 0},r=" "===o[e]?"":o[e];c.push({ref:a,value:r,onClick:function(e){var t=e.currentTarget;window.requestAnimationFrame(function(){t.setSelectionRange(0,1)})},onFocus:function(e){e.currentTarget.setSelectionRange(0,1)},onKeyDown:function(a){switch(a.key){case"Backspace":if(a.preventDefault(),r)i(o.substring(0,e)+" "+o.substring(e+1));else if(e>0){i(o.substring(0,e-1)+" "+o.substring(e));var s=l.current[e-1];s&&s.focus()}break;case"ArrowUp":case"ArrowLeft":if(a.preventDefault(),e>0){var c=l.current[e-1];c&&(c.focus(),window.requestAnimationFrame(function(){c.setSelectionRange(0,1)}))}break;case"ArrowDown":case"ArrowRight":if(a.preventDefault(),e+1<n){var u=l.current[e+1];
1u&&(u.focus(),window.requestAnimationFrame(function(){u.setSelectionRange(0,1)}))}break;default:if(1===a.key.length&&!(a.metaKey||a.altKey||a.ctrlKey)&&(a.preventDefault(),t.test(a.key)))if(i(o.substring(0,e)+a.key+o.substring(e+1)),e+1<n){var E=l.current[e+1];E&&(E.focus(),window.requestAnimationFrame(function(){E.setSelectionRange(0,1)}))}else{var d=a.currentTarget;window.requestAnimationFrame(function(){d.setSelectionRange(0,1)})}}},onChange:function(a){var r=a.target.value.split("").filter(function(e){return t.test(e)}).join("");if(i((o.substring(0,e)+r+o.substring(e+r.length)).substr(0,n)),e<n-1){var s=l.current[e+r.length<n?e+r.length:n-1];s&&(s.focus(),window.requestAnimationFrame(function(){s.setSelectionRange(0,1)}))}}})},E=0;E<n;E++)u(E);return c}},528187,e=>{"use strict";let{entries:t,setPrototypeOf:n,isFrozen:a,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object,{freeze:o,seal:l,create:s}=Object,{apply:c,construct:u}="u">typeof Reflect&&Reflect;o||(o=function(e){return e}),l||(l=function(e){return e}),c||(c=function(e,t){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];return e.apply(t,a)}),u||(u=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return new e(...n)});let E=S(Array.prototype.forEach),d=S(Array.prototype.lastIndexOf),m=S(Array.prototype.pop),_=S(Array.prototype.push),p=S(Array.prototype.splice),f=S(String.prototype.toLowerCase),T=S(String.prototype.toString),A=S(String.prototype.match),R=S(String.prototype.replace),h=S(String.prototype.indexOf),g=S(String.prototype.trim),N=S(Object.prototype.hasOwnProperty),O=S(RegExp.prototype.test),I=(q=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(q,t)});function S(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,a=Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return c(e,t,a)}}function D(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;n&&n(e,null);let i=t.length;for(;i--;){let n=t[i];if("string"==typeof n){let e=r(n);e!==n&&(a(t)||(t[i]=e),n=e)}e[n]=!0}return e}function C(e){let n=s(null);for(let[a,r]of t(e))N(e,a)&&(Array.isArray(r)?n[a]=function(e){for(let t=0;t<e.length;t++)N(e,t)||(e[t]=null);return e}(r):r&&"object"==typeof r&&r.constructor===Object?n[a]=C(r):n[a]=r);return n}function L(e,t){for(;null!==e;){let n=i(e,t);if(n){if(n.get)return S(n.get);if("function"==typeof n.value)return S(n.value)}e=r(e)}return function(){return null}}let y=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),b=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),x=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),v=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),M=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),w=o(["#text"]),k=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=o(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),F=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=l(/<%[\w\W]*|[\w\W]*%>/gm),B=l(/\$\{[\w\W]*/gm),j=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=l(/^aria-[\-\w]+$/),z=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=l(/^(?:\w+script|data):/i),K=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=l(/^html$/i);var q,Z=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:K,CUSTOM_ELEMENT:l(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:j,DOCTYPE_NAME:X,ERB_EXPR:V,IS_ALLOWED_URI:z,IS_SCRIPT_OR_DATA:W,MUSTACHE_EXPR:H,TMPLIT_EXPR:B});let $=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,a="data-tt-policy-suffix";t&&t.hasAttribute(a)&&(n=t.getAttribute(a));let r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}},Q=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var J=function e(){let n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"<typeof window?null:window,r=t=>e(t);if(r.version="3.3.1",r.removed=[],!a||!a.document||9!==a.document.nodeType||!a.Element)return r.isSupported=!1,r;let{document:i}=a,l=i,c=l.currentScript,{DocumentFragment:u,HTMLTemplateElement:S,Node:H,Element:V,NodeFilter:B,NamedNodeMap:j=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:Y,DOMParser:W,trustedTypes:K}=a,q=V.prototype,J=L(q,"cloneNode"),ee=L(q,"remove"),et=L(q,"nextSibling"),en=L(q,"childNodes"),ea=L(q,"parentNode");if("function"==typeof S){let e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let er="",{implementation:ei,createNodeIterator:eo,createDocumentFragment:el,getElementsByTagName:es}=i,{importNode:ec}=l,eu=Q();r.isSupported="function"==typeof t&&"function"==typeof ea&&ei&&void 0!==ei.createHTMLDocument;let{MUSTACHE_EXPR:eE,ERB_EXPR:ed,TMPLIT_EXPR:em,DATA_ATTR:e_,ARIA_ATTR:ep,IS_SCRIPT_OR_DATA:ef,ATTR_WHITESPACE:eT,CUSTOM_ELEMENT:eA}=Z,{IS_ALLOWED_URI:eR}=Z,eh=null,eg=D({},[...y,...b,...P,...v,...w]),eN=null,eO=D({}
1,[...k,...U,...F,...G]),eI=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eS=null,eD=null,eC=Object.seal(s(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eL=!0,ey=!0,eb=!1,eP=!0,ex=!1,ev=!0,eM=!1,ew=!1,ek=!1,eU=!1,eF=!1,eG=!1,eH=!0,eV=!1,eB=!0,ej=!1,eY={},ez=null,eW=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eK=null,eX=D({},["audio","video","img","source","image","track"]),eq=null,eZ=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),e$="http://www.w3.org/1998/Math/MathML",eQ="http://www.w3.org/2000/svg",eJ="http://www.w3.org/1999/xhtml",e0=eJ,e1=!1,e2=null,e4=D({},[e$,eQ,eJ],T),e3=D({},["mi","mo","mn","ms","mtext"]),e5=D({},["annotation-xml"]),e6=D({},["title","style","font","a","script"]),e8=null,e7=["application/xhtml+xml","text/html"],e9=null,te=null,tt=i.createElement("form"),tn=function(e){return e instanceof RegExp||e instanceof Function},ta=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=C(e),e9="application/xhtml+xml"===(e8=-1===e7.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?T:f,eh=N(e,"ALLOWED_TAGS")?D({},e.ALLOWED_TAGS,e9):eg,eN=N(e,"ALLOWED_ATTR")?D({},e.ALLOWED_ATTR,e9):eO,e2=N(e,"ALLOWED_NAMESPACES")?D({},e.ALLOWED_NAMESPACES,T):e4,eq=N(e,"ADD_URI_SAFE_ATTR")?D(C(eZ),e.ADD_URI_SAFE_ATTR,e9):eZ,eK=N(e,"ADD_DATA_URI_TAGS")?D(C(eX),e.ADD_DATA_URI_TAGS,e9):eX,ez=N(e,"FORBID_CONTENTS")?D({},e.FORBID_CONTENTS,e9):eW,eS=N(e,"FORBID_TAGS")?D({},e.FORBID_TAGS,e9):C({}),eD=N(e,"FORBID_ATTR")?D({},e.FORBID_ATTR,e9):C({}),eY=!!N(e,"USE_PROFILES")&&e.USE_PROFILES,eL=!1!==e.ALLOW_ARIA_ATTR,ey=!1!==e.ALLOW_DATA_ATTR,eb=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eP=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ex=e.SAFE_FOR_TEMPLATES||!1,ev=!1!==e.SAFE_FOR_XML,eM=e.WHOLE_DOCUMENT||!1,eU=e.RETURN_DOM||!1,eF=e.RETURN_DOM_FRAGMENT||!1,eG=e.RETURN_TRUSTED_TYPE||!1,ek=e.FORCE_BODY||!1,eH=!1!==e.SANITIZE_DOM,eV=e.SANITIZE_NAMED_PROPS||!1,eB=!1!==e.KEEP_CONTENT,ej=e.IN_PLACE||!1,eR=e.ALLOWED_URI_REGEXP||z,e0=e.NAMESPACE||eJ,e3=e.MATHML_TEXT_INTEGRATION_POINTS||e3,e5=e.HTML_INTEGRATION_POINTS||e5,eI=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eI.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eI.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eI.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ex&&(ey=!1),eF&&(eU=!0),eY&&(eh=D({},w),eN=[],!0===eY.html&&(D(eh,y),D(eN,k)),!0===eY.svg&&(D(eh,b),D(eN,U),D(eN,G)),!0===eY.svgFilters&&(D(eh,P),D(eN,U),D(eN,G)),!0===eY.mathMl&&(D(eh,v),D(eN,F),D(eN,G))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?eC.tagCheck=e.ADD_TAGS:(eh===eg&&(eh=C(eh)),D(eh,e.ADD_TAGS,e9))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?eC.attributeCheck=e.ADD_ATTR:(eN===eO&&(eN=C(eN)),D(eN,e.ADD_ATTR,e9))),e.ADD_URI_SAFE_ATTR&&D(eq,e.ADD_URI_SAFE_ATTR,e9),e.FORBID_CONTENTS&&(ez===eW&&(ez=C(ez)),D(ez,e.FORBID_CONTENTS,e9)),e.ADD_FORBID_CONTENTS&&(ez===eW&&(ez=C(ez)),D(ez,e.ADD_FORBID_CONTENTS,e9)),eB&&(eh["#text"]=!0),eM&&D(eh,["html","head","body"]),eh.table&&(D(eh,["tbody"]),delete eS.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw I('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw I('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');er=(n=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=$(K,c)),null!==n&&"string"==typeof er&&(er=n.createHTML(""));o&&o(e),te=e}},tr=D({},[...b,...P,...x]),ti=D({},[...v,...M]),to=function(e){let t=ea(e);t&&t.tagName||(t={namespaceURI:e0,tagName:"template"});let n=f(e.tagName),a=f(t.tagName);return!!e2[e.namespaceURI]&&(e.namespaceURI===eQ?t.namespaceURI===eJ?"svg"===n:t.namespaceURI===e$?"svg"===n&&("annotation-xml"===a||e3[a]):!!tr[n]:e.namespaceURI===e$?t.n
1amespaceURI===eJ?"math"===n:t.namespaceURI===eQ?"math"===n&&e5[a]:!!ti[n]:e.namespaceURI===eJ?(t.namespaceURI!==eQ||!!e5[a])&&(t.namespaceURI!==e$||!!e3[a])&&!ti[n]&&(e6[n]||!tr[n]):"application/xhtml+xml"===e8&&!!e2[e.namespaceURI])},tl=function(e){_(r.removed,{element:e});try{ea(e).removeChild(e)}catch(t){ee(e)}},ts=function(e,t){try{_(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){_(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(eU||eF)try{tl(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tc=function(e){let t=null,a=null;if(ek)e="<remove></remove>"+e;else{let t=A(e,/^[\r\n\t ]+/);a=t&&t[0]}"application/xhtml+xml"===e8&&e0===eJ&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let r=n?n.createHTML(e):e;if(e0===eJ)try{t=new W().parseFromString(r,e8)}catch(e){}if(!t||!t.documentElement){t=ei.createDocument(e0,"template",null);try{t.documentElement.innerHTML=e1?er:r}catch(e){}}let o=t.body||t.documentElement;return(e&&a&&o.insertBefore(i.createTextNode(a),o.childNodes[0]||null),e0===eJ)?es.call(t,eM?"html":"body")[0]:eM?t.documentElement:o},tu=function(e){return eo.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},tE=function(e){return e instanceof Y&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof j)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},td=function(e){return"function"==typeof H&&e instanceof H};function tm(e,t,n){E(e,e=>{e.call(r,t,n,te)})}let t_=function(e){let t=null;if(tm(eu.beforeSanitizeElements,e,null),tE(e))return tl(e),!0;let n=e9(e.nodeName);if(tm(eu.uponSanitizeElement,e,{tagName:n,allowedTags:eh}),ev&&e.hasChildNodes()&&!td(e.firstElementChild)&&O(/<[/\w!]/g,e.innerHTML)&&O(/<[/\w!]/g,e.textContent)||7===e.nodeType||ev&&8===e.nodeType&&O(/<[/\w]/g,e.data))return tl(e),!0;if(!(eC.tagCheck instanceof Function&&eC.tagCheck(n))&&(!eh[n]||eS[n])){if(!eS[n]&&tf(n)&&(eI.tagNameCheck instanceof RegExp&&O(eI.tagNameCheck,n)||eI.tagNameCheck instanceof Function&&eI.tagNameCheck(n)))return!1;if(eB&&!ez[n]){let t=ea(e)||e.parentNode,n=en(e)||e.childNodes;if(n&&t){let a=n.length;for(let r=a-1;r>=0;--r){let a=J(n[r],!0);a.__removalCount=(e.__removalCount||0)+1,t.insertBefore(a,et(e))}}}return tl(e),!0}return e instanceof V&&!to(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&O(/<\/no(script|embed|frames)/i,e.innerHTML)?(tl(e),!0):(ex&&3===e.n
1odeType&&(t=e.textContent,E([eE,ed,em],e=>{t=R(t,e," ")}),e.textContent!==t&&(_(r.removed,{element:e.cloneNode()}),e.textContent=t)),tm(eu.afterSanitizeElements,e,null),!1)},tp=function(e,t,n){if(eH&&("id"===t||"name"===t)&&(n in i||n in tt))return!1;if(ey&&!eD[t]&&O(e_,t));else if(eL&&O(ep,t));else if(eC.attributeCheck instanceof Function&&eC.attributeCheck(t,e));else if(!eN[t]||eD[t]){if(!(tf(e)&&(eI.tagNameCheck instanceof RegExp&&O(eI.tagNameCheck,e)||eI.tagNameCheck instanceof Function&&eI.tagNameCheck(e))&&(eI.attributeNameCheck instanceof RegExp&&O(eI.attributeNameCheck,t)||eI.attributeNameCheck instanceof Function&&eI.attributeNameCheck(t,e))||"is"===t&&eI.allowCustomizedBuiltInElements&&(eI.tagNameCheck instanceof RegExp&&O(eI.tagNameCheck,n)||eI.tagNameCheck instanceof Function&&eI.tagNameCheck(n))))return!1}else if(eq[t]);else if(O(eR,R(n,eT,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===h(n,"data:")&&eK[e]);else if(eb&&!O(ef,R(n,eT,"")));else if(n)return!1;return!0},tf=function(e){return"annotation-xml"!==e&&A(e,eA)},tT=function(e){tm(eu.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||tE(e))return;let a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eN,forceKeepAttr:void 0},i=t.length;for(;i--;){let{name:o,namespaceURI:l,value:s}=t[i],c=e9(o),u="value"===o?s:g(s);if(a.attrName=c,a.attrValue=u,a.keepAttr=!0,a.forceKeepAttr=void 0,tm(eu.uponSanitizeAttribute,e,a),u=a.attrValue,eV&&("id"===c||"name"===c)&&(ts(o,e),u="user-content-"+u),ev&&O(/((--!?|])>)|<\/(style|title|textarea)/i,u)||"attributename"===c&&A(u,"href")){ts(o,e);continue}if(a.forceKeepAttr)continue;if(!a.keepAttr||!eP&&O(/\/>/i,u)){ts(o,e);continue}ex&&E([eE,ed,em],e=>{u=R(u,e," ")});let d=e9(e.nodeName);if(!tp(d,c,u)){ts(o,e);continue}if(n&&"object"==typeof K&&"function"==typeof K.getAttributeType)if(l);else switch(K.getAttributeType(d,c)){case"TrustedHTML":u=n.createHTML(u);break;case"TrustedScriptURL":u=n.createScriptURL(u)}if(u!==s)try{l?e.setAttributeNS(l,o,u):e.setAttribute(o,u),tE(e)?tl(e):m(r.removed)}catch(t){ts(o,e)}}tm(eu.afterSanitizeAttributes,e,null)},tA=function e(t){let n=null,a=tu(t);for(tm(eu.beforeSanitizeShadowDOM,t,null);n=a.nextNode();)tm(eu.uponSanitizeShadowNode,n,null),t_(n),tT(n),n.content instanceof u&&e(n.content);tm(eu.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null,i=null,o=null,s=null;if((e1=!e)&&(e="<!-->"),"string"!=typeof e&&!td(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw I("dirty is not a string, aborting")}else throw I("toString is not a function");if(!r.isSupported)return e;if(ew||ta(t),r.removed=[],"string"==typeof e&&(ej=!1),ej){if(e.nodeName){let t=e9(e.nodeName);if(!eh[t]||eS[t])throw I("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof H)1===(i=(a=tc("<!---->")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!eU&&!ex&&!eM&&-1===e.indexOf("<"))return n&&eG?n.createHTML(e):e;if(!(a=tc(e)))return eU?null:eG?er:""}a&&ek&&tl(a.firstChild);let c=tu(ej?e:a);for(;o=c.nextNode();)t_(o),tT(o),o.content instanceof u&&tA(o.content);if(ej)return e;if(eU){if(eF)for(s=el.call(a.ownerDocument);a.firstChild;)s.appendChild(a.firstChild);else s=a;return(eN.shadowroot||eN.shadowrootmode)&&(s=ec.call(l,s,!0)),s}let d=eM?a.outerHTML:a.innerHTML;return eM&&eh["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&O(X,a.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+d),ex&&E([eE,ed,em],e=>{d=R(d,e," ")}),n&&eG?n.createHTML(d):d},r.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ta(e),ew=!0},r.clearConfig=function(){te=null,ew=!1},r.isValidAttribute=function(e,t,n){return te||ta({}),tp(e9(e),e9(t),n)},r.addHook=function(e,t){"function"==typeof t&&_(eu[e],t)},r.removeHook=function(e,t){if(void 0!==t){let n=d(eu[e],t);return -1===n?void 0:p(eu[e],n,1)[0]}return m(eu[e])},r.removeHooks=function(e){eu[e]=[]},r.removeAllHooks=function(){eu=Q()},r}(),ee=e.i(58417);function et(e){if(!e)return"";let t=ee.md.render(e),n=J.sanitize(t).replace(/<ul>/g,"<ul style='list-style-type: disc; list-style-position: inside; margin-left: 12px; margin-bottom: 4px'>").replace(/<ol>/g,"<ol style='list-style-type: decimal; list-style-position: inside; margin-left: 12px; margin-bottom: 4px'>").replace(/<a\s+href=/g,"<a target='_blank' class='text-blue-500 hover:text-blue-600' href=");return n.replace(/<li>([^<]+|<strong>.*?<\/strong>)<\/li>\s*<li>\s*<ul([^>]*)>([\s\S]*?)<\/ul>\s*<\/li>/g,"<li>$1<ul$2>$3</ul></li>")}e.s(["markdownToSafeHTMLClient",()=>et],528187)}]);
2
3//# sourceMappingURL=37db6636fce0c54b.js.map

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.