@zappway/embeds 1.0.136 → 1.0.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2874,7 +2874,7 @@ Acme Clothes 是一个以时尚高品质服饰著称的品牌。
2874
2874
  您还可以设置webhook或手动触发同步。`}]}},"ai-form":{name:"AI表单",title:"几分钟内创建AI表单",description:"创建AI表单,AI可以提出或回答问题,并与您的客户互动。",metadata:{title:"AI表单 - 几分钟内创建GPT驱动的表单 | ZappWay",description:"创建AI表单,AI可以提出或回答问题,并与您的客户互动。"},cta:{label:"免费开始"},keywords:["AI表单","ChatGPT表单","AI表单"],features:{label:"智能表单",title:"使用AI创建智能表单",description:"设置与客户互动并参与的表单。",items:[{name:"表单设置",description:"使用ZappWay的表单构建器设置您的表单。为您的AI赋予个性,并添加您希望收集的数据字段。"},{name:"发布",description:"只需点击发布按钮,即可获得一个公共链接,您可以与任何人分享。"},{name:"嵌入到您的网站",description:"通过简单的HTML代码轻松将表单嵌入到您的网站中。"},{name:"将您的表单连接到ZappWay的AI员工 'GPT'",description:"可选地,AI表单可以连接到ZappWay的AI员工 'GPT',以增强其功能。"}]}},"ai-email-support":{name:"AI邮件支持",title:"自动化您的邮件支持",description:"使用AI自动化您的邮件支持。获取10倍更快的回复!",metadata:{title:"邮件支持 - 使用AI自动化您的邮件支持 | ZappWay",description:"使用AI自动化您的邮件支持。获取10倍更快的回复!"},cta:{label:"免费开始"},keywords:["AI表单","ChatGPT表单","AI表单"],features:{label:"自动化支持",title:"AI邮件支持",description:"通过ZappWay仪表板管理您的所有邮件。邮件收件箱也使用AI - 它将帮助您更快地解决问题。",items:[{name:"2分钟内设置",description:"设置ZappWay以代表您接收和发送邮件 - 在不到2分钟内开始。"},{name:"AI邮件回复",description:"ZappWay的AI将学习 - 不仅来自您的知识库 - 还来自您之前的所有邮件对话。"},{name:"智能建议",description:"我们的AI将通过建议类似案例的解决方案,帮助您更快地管理邮件支持。"}]}},"shared-inbox":{name:"OmniChannel",title:"所有消息集中在一个地方!",description:"在一个地方管理您在WhatsApp或其他服务渠道上的对话。",metadata:{title:"共享收件箱 - 所有消息集中在一个地方 | ZappWay",description:"在一个地方管理您在WhatsApp或其他服务渠道上的对话。"},cta:{label:"免费开始"},keywords:["AI表单","ChatGPT表单","AI表单"],features:{label:"一切尽在掌握",title:"带AI的共享收件箱",description:"监控、管理、分配对话等。",items:[{name:"所有对话集中在一个地方",description:"在一个地方监控和管理与客户的所有对话。"},{name:"转接到人工",description:"在必要时控制您的AI员工 'GPT'。"},{name:"团队协作",description:"将对话分配给您的团队成员。"},{name:"AI回复",description:"即使您接管对话,我们的AI也会帮助撰写完美的回复。"}]}}},plans:{free:{label:"免费",description:"快速开始的基本功能。"},hobby:{label:"兴趣",description:"一个随着您的业务快速增长而扩展的计划。"},growth:{label:"增长",description:"一个随着您的业务快速增长而扩展的计划。"},pro:{label:"专业版",description:"适用于希望访问更强大功能的高级用户。"},enterprise:{label:"企业版",description:"为您的团队提供专门支持和功能。"},ultimate:{label:"终极版",description:"为您的团队提供专门支持和功能。"}},Partnerships:{seoTitle:"成为ZappWay合作伙伴",seoDescription:"加入ZappWay联盟计划,赚取重复佣金。",title:`加入我们的
2875
2875
  联盟计划`,description:"成为ZappWay的合作伙伴,开始赚取30%的重复月度佣金。只需将用户推荐到我们的平台,随着他们继续订阅,您将获得稳定的收入。",becomePartner:"成为合作伙伴",commissionInfo:"每推荐一次赚取30%的佣金。随着您的推荐用户继续订阅,您的收入将不断增长。"},WhatsAppIntegrationPage:{loading:"加载中...",accessDenied:"访问被拒绝",title:"WhatsApp 会话",updateButton:"更新",newSessionButton:"新会话",noSessionsTitle:"您尚未配置 WhatsApp 会话",noSessionsButton:"配置 WhatsApp",deniedText:"访问被拒绝",statusLabel:"状态:",deviceLabel:"设备:",lastUpdateLabel:"最后更新:",connected:"已连接",disconnected:"已断开",manageButton:"管理",connectButton:"连接",disconnectButton:"断开",manageSessionModalTitle:"管理会话:{sessionName}",connectSessionModalTitle:"连接 WhatsApp:{sessionName}",newSessionModalTitle:"新 WhatsApp 会话",newSessionPlaceholder:"会话名称",newDevicePlaceholder:"设备名称",cancelButton:"取消",createSessionButton:"创建会话"},QRCode:{titles:{error:"错误",connected:"WhatsApp 已连接!",connect:"连接您的 WhatsApp"},messages:{closeWindow:"您现在可以关闭此窗口。",expireWarning:"此二维码将在 1 分钟后过期。"},buttons:{tryAgain:"重试",disconnect:"断开 WhatsApp",generateNew:"生成新二维码"},steps:{step1:"1. 在手机上打开 WhatsApp",step2:"2. 点击菜单或设置,并选择已连接的设备",step3:"3. 点击连接设备",step4:"4. 将手机摄像头对准此二维码"},errors:{qrUnavailable:"二维码不可用",connectionCheck:"检查连接状态时出错",disconnect:"断开 WhatsApp 时出错",newQR:"生成新二维码时出错",default:"加载二维码时发生错误",unrecognizedAction:"无法识别的操作",invalidParams:"无效的参数",missingParams:"需要 organizationId 和 sessionId",internalError:"内部服务器错误",unauthorized:"未授权",sessionIdRequired:"需要会话 ID",sessionNotFound:"未找到会话",noPermission:"您无权访问此会话",sessionUpdateFailed:"会话更新失败"}},ConnectWhatsApp:{errors:{unauthorized:"未授权",methodNotAllowed:"不允许的方法",creationFailed:"创建 WhatsApp 会话失败",sessionIdMissing:"未提供会话 ID",sessionNotFound:"未找到会话",noPermissionToDisconnect:"无权断开此会话",disconnectFailed:"断开 WhatsApp 失败",sessionListFailed:"获取 WhatsApp 会话列表失败",internalServerError:"服务器内部错误",connection_in_progress:"连接已在进行中",operation_in_progress:"会话 {sessionId} 的操作 {operation} 已在进行中",session_not_found:"未找到会话 {sessionId}",invalid_transition:"无效的状态转换:{from} 到 {to}",max_reconnect_attempts:"已达到最大重连次数",circuit_breaker_active:"断路器已激活",credentials_save_error:"保存凭证时出错",fatal_connection_error:"连接处理器发生严重错误"},messages:{sessionCreated:"会话创建成功。请等待生成二维码。",imageSent:"图片已发送",cannotDownloadImage:"无法下载图片",errorProcessingImage:"处理图片时出错",videoSent:"视频已发送",documentSent:"文档已发送",voiceMessage:"语音消息",stickerSent:"贴纸已发送",unrecognizedMessage:"未识别的消息: {content}"}}};var sge={ar:YO,az:$O,bn:QO,bg:JO,ca:XO,zh:LV,cs:eV,da:aV,nl:AV,eo:oV,et:sV,fi:cV,fr:dV,de:tV,el:iV,he:mV,hi:pV,hu:gV,id:fV,it:hV,ja:kV,ko:bV,lv:yV,lt:vV,ms:_V,nb:zV,fa:lV,pl:wV,pt:IV,"pt-BR":TV,ro:PV,ru:SV,sk:jV,sl:xV,es:rV,sv:MV,th:CV,tl:DV,tr:EV,uk:GV,ur:RV,ga:uV,en:nV};wt.use(rf).use(d5).init({resources:sge,fallbackLng:"pt-BR",supportedLngs:["ar","az","bn","bg","ca","zh","cs","da","nl","eo","et","fi","fr","de","el","he","hi","hu","id","it","ja","ko","lv","lt","ms","nb","fa","pl","pt","pt-BR","ro","ru","sk","sl","es","sv","th","tl","tr","uk","ur","ga","en"],nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},detection:{order:["cookie","localStorage","sessionStorage","navigator"],caches:["cookie"]}});var Ca=wt;l();l();l();l();l();l();l();l();var lw=function(e,a){return lw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},lw(e,a)};function g5(e,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");lw(e,a);function t(){this.constructor=e}e.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)}var sa=function(){return sa=Object.assign||function(a){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(a[o]=t[o])}return a},sa.apply(this,arguments)};function WV(e,a){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&a.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)a.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(t[i[n]]=e[i[n]]);return t}function df(e,a,t){if(t||arguments.length===2)for(var i=0,n=a.length,o;i<n;i++)(o||!(i in a))&&(o||(o=Array.prototype.slice.call(a,0,i)),o[i]=a[i]);return e.concat(o||Array.prototype.slice.call(a))}l();function G0(e,a){var t=a&&a.cache?a.cache:gge,i=a&&a.serializer?a.serializer:mge,n=a&&a.strategy?a.strategy:cge;return n(e,{cache:t,serializer:i})}function lge(e){return e==null||typeof e=="number"||typeof e=="boolean"}function FV(e,a,t,i){var n=lge(i)?i:t(i),o=a.get(n);return typeof o>"u"&&(o=e.call(this,i),a.set(n,o)),o}function NV(e,a,t){var i=Array.prototype.slice.call(arguments,3),n=t(i),o=a.get(n);return typeof o>"u"&&(o=e.apply(this,i),a.set(n,o)),o}function cw(e,a,t,i,n){return t.bind(a,e,i,n)}function cge(e,a){var t=e.length===1?FV:NV;return cw(e,this,t,a.cache.create(),a.serializer)}function dge(e,a){return cw(e,this,NV,a.cache.create(),a.serializer)}function uge(e,a){return cw(e,this,FV,a.cache.create(),a.serializer)}var mge=function(){return JSON.stringify(arguments)},pge=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(a){return this.cache[a]},e.prototype.set=function(a,t){this.cache[a]=t},e}(),gge={create:function(){return new pge}},R0={variadic:dge,monadic:uge};l();l();var na;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(na||(na={}));l();l();var Da;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Da||(Da={}));var D3;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(D3||(D3={}));function dw(e){return e.type===Da.literal}function uw(e){return e.type===Da.argument}function f5(e){return e.type===Da.number}function h5(e){return e.type===Da.date}function k5(e){return e.type===Da.time}function b5(e){return e.type===Da.select}function v5(e){return e.type===Da.plural}function BV(e){return e.type===Da.pound}function y5(e){return e.type===Da.tag}function uf(e){return!!(e&&typeof e=="object"&&e.type===D3.number)}function _5(e){return!!(e&&typeof e=="object"&&e.type===D3.dateTime)}l();var mw=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;l();l();var fge=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ZV(e){var a={};return e.replace(fge,function(t){var i=t.length;switch(t[0]){case"G":a.era=i===4?"long":i===5?"narrow":"short";break;case"y":a.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":a.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":a.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":a.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][i-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][i-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][i-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][i-1];break;case"k":a.hourCycle="h24",a.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":a.minute=["numeric","2-digit"][i-1];break;case"s":a.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":a.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),a}l();l();var qV=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function KV(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var a=e.split(qV).filter(function(p){return p.length>0}),t=[],i=0,n=a;i<n.length;i++){var o=n[i],r=o.split("/");if(r.length===0)throw new Error("Invalid number skeleton");for(var s=r[0],c=r.slice(1),d=0,u=c;d<u.length;d++){var m=u[d];if(m.length===0)throw new Error("Invalid number skeleton")}t.push({stem:s,options:c})}return t}function hge(e){return e.replace(/^(.*?)-/,"")}var OV=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,HV=/^(@+)?(\+|#+)?[rs]?$/g,kge=/(\*)(0+)|(#+)(0+)|(0+)/g,YV=/^(0+)$/;function VV(e){var a={};return e[e.length-1]==="r"?a.roundingPriority="morePrecision":e[e.length-1]==="s"&&(a.roundingPriority="lessPrecision"),e.replace(HV,function(t,i,n){return typeof n!="string"?(a.minimumSignificantDigits=i.length,a.maximumSignificantDigits=i.length):n==="+"?a.minimumSignificantDigits=i.length:i[0]==="#"?a.maximumSignificantDigits=i.length:(a.minimumSignificantDigits=i.length,a.maximumSignificantDigits=i.length+(typeof n=="string"?n.length:0)),""}),a}function $V(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function bge(e){var a;if(e[0]==="E"&&e[1]==="E"?(a={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(a={notation:"scientific"},e=e.slice(1)),a){var t=e.slice(0,2);if(t==="+!"?(a.signDisplay="always",e=e.slice(2)):t==="+?"&&(a.signDisplay="exceptZero",e=e.slice(2)),!YV.test(e))throw new Error("Malformed concise eng/scientific notation");a.minimumIntegerDigits=e.length}return a}function UV(e){var a={},t=$V(e);return t||a}function JV(e){for(var a={},t=0,i=e;t<i.length;t++){var n=i[t];switch(n.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=n.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=hge(n.options[0]);continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=sa(sa(sa({},a),{notation:"scientific"}),n.options.reduce(function(c,d){return sa(sa({},c),UV(d))},{}));continue;case"engineering":a=sa(sa(sa({},a),{notation:"engineering"}),n.options.reduce(function(c,d){return sa(sa({},c),UV(d))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":a.roundingMode="floor";continue;case"rounding-mode-ceiling":a.roundingMode="ceil";continue;case"rounding-mode-down":a.roundingMode="trunc";continue;case"rounding-mode-up":a.roundingMode="expand";continue;case"rounding-mode-half-even":a.roundingMode="halfEven";continue;case"rounding-mode-half-down":a.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":a.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(kge,function(c,d,u,m,p,f){if(d)a.minimumIntegerDigits=u.length;else{if(m&&p)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(YV.test(n.stem)){a.minimumIntegerDigits=n.stem.length;continue}if(OV.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(OV,function(c,d,u,m,p,f){return u==="*"?a.minimumFractionDigits=d.length:m&&m[0]==="#"?a.maximumFractionDigits=m.length:p&&f?(a.minimumFractionDigits=p.length,a.maximumFractionDigits=p.length+f.length):(a.minimumFractionDigits=d.length,a.maximumFractionDigits=d.length),""});var o=n.options[0];o==="w"?a=sa(sa({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=sa(sa({},a),VV(o)));continue}if(HV.test(n.stem)){a=sa(sa({},a),VV(n.stem));continue}var r=$V(n.stem);r&&(a=sa(sa({},a),r));var s=bge(n.stem);s&&(a=sa(sa({},a),s))}return a}l();l();var z5={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function QV(e,a){for(var t="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===n;)o++,i++;var r=1+(o&1),s=o<2?1:3+(o>>1),c="a",d=vge(a);for((d=="H"||d=="k")&&(s=0);s-- >0;)t+=c;for(;r-- >0;)t=d+t}else n==="J"?t+="H":t+=n}return t}function vge(e){var a=e.hourCycle;if(a===void 0&&e.hourCycles&&e.hourCycles.length&&(a=e.hourCycles[0]),a)switch(a){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var t=e.language,i;t!=="root"&&(i=e.maximize().region);var n=z5[i||""]||z5[t||""]||z5["".concat(t,"-001")]||z5["001"];return n[0]}var pw,yge=new RegExp("^".concat(mw.source,"*")),_ge=new RegExp("".concat(mw.source,"*$"));function da(e,a){return{start:e,end:a}}var zge=!!String.prototype.startsWith&&"_a".startsWith("a",1),Age=!!String.fromCodePoint,wge=!!Object.fromEntries,Ige=!!String.prototype.codePointAt,Tge=!!String.prototype.trimStart,Pge=!!String.prototype.trimEnd,Sge=!!Number.isSafeInteger,jge=Sge?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},fw=!0;try{XV=iU("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),fw=((pw=XV.exec("a"))===null||pw===void 0?void 0:pw[0])==="a"}catch{fw=!1}var XV,eU=zge?function(a,t,i){return a.startsWith(t,i)}:function(a,t,i){return a.slice(i,i+t.length)===t},hw=Age?String.fromCodePoint:function(){for(var a=[],t=0;t<arguments.length;t++)a[t]=arguments[t];for(var i="",n=a.length,o=0,r;n>o;){if(r=a[o++],r>1114111)throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(((r-=65536)>>10)+55296,r%1024+56320)}return i},aU=wge?Object.fromEntries:function(a){for(var t={},i=0,n=a;i<n.length;i++){var o=n[i],r=o[0],s=o[1];t[r]=s}return t},tU=Ige?function(a,t){return a.codePointAt(t)}:function(a,t){var i=a.length;if(!(t<0||t>=i)){var n=a.charCodeAt(t),o;return n<55296||n>56319||t+1===i||(o=a.charCodeAt(t+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},xge=Tge?function(a){return a.trimStart()}:function(a){return a.replace(yge,"")},Mge=Pge?function(a){return a.trimEnd()}:function(a){return a.replace(_ge,"")};function iU(e,a){return new RegExp(e,a)}var kw;fw?(gw=iU("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),kw=function(a,t){var i;gw.lastIndex=t;var n=gw.exec(a);return(i=n[1])!==null&&i!==void 0?i:""}):kw=function(a,t){for(var i=[];;){var n=tU(a,t);if(n===void 0||oU(n)||Ege(n))break;i.push(n),t+=n>=65536?2:1}return hw.apply(void 0,i)};var gw,nU=function(){function e(a,t){t===void 0&&(t={}),this.message=a,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(a,t,i){for(var n=[];!this.isEOF();){var o=this.char();if(o===123){var r=this.parseArgument(a,i);if(r.err)return r;n.push(r.val)}else{if(o===125&&a>0)break;if(o===35&&(t==="plural"||t==="selectordinal")){var s=this.clonePosition();this.bump(),n.push({type:Da.pound,location:da(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(na.UNMATCHED_CLOSING_TAG,da(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&bw(this.peek()||0)){var r=this.parseTag(a,t);if(r.err)return r;n.push(r.val)}else{var r=this.parseLiteral(a,t);if(r.err)return r;n.push(r.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(a,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Da.literal,value:"<".concat(n,"/>"),location:da(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(a+1,t,!0);if(o.err)return o;var r=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!bw(this.char()))return this.error(na.INVALID_TAG,da(s,this.clonePosition()));var c=this.clonePosition(),d=this.parseTagName();return n!==d?this.error(na.UNMATCHED_CLOSING_TAG,da(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Da.tag,value:n,children:r,location:da(i,this.clonePosition())},err:null}:this.error(na.INVALID_TAG,da(s,this.clonePosition())))}else return this.error(na.UNCLOSED_TAG,da(i,this.clonePosition()))}else return this.error(na.INVALID_TAG,da(i,this.clonePosition()))},e.prototype.parseTagName=function(){var a=this.offset();for(this.bump();!this.isEOF()&&Dge(this.char());)this.bump();return this.message.slice(a,this.offset())},e.prototype.parseLiteral=function(a,t){for(var i=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o){n+=o;continue}var r=this.tryParseUnquoted(a,t);if(r){n+=r;continue}var s=this.tryParseLeftAngleBracket();if(s){n+=s;continue}break}var c=da(i,this.clonePosition());return{val:{type:Da.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Cge(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(a){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(a==="plural"||a==="selectordinal")break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(i);this.bump()}return hw.apply(void 0,t)},e.prototype.tryParseUnquoted=function(a,t){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(t==="plural"||t==="selectordinal")||i===125&&a>0?null:(this.bump(),hw(i))},e.prototype.parseArgument=function(a,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(na.EXPECT_ARGUMENT_CLOSING_BRACE,da(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(na.EMPTY_ARGUMENT,da(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(na.MALFORMED_ARGUMENT,da(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(na.EXPECT_ARGUMENT_CLOSING_BRACE,da(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Da.argument,value:n,location:da(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(na.EXPECT_ARGUMENT_CLOSING_BRACE,da(i,this.clonePosition())):this.parseArgumentOptions(a,t,n,i);default:return this.error(na.MALFORMED_ARGUMENT,da(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var a=this.clonePosition(),t=this.offset(),i=kw(this.message,t),n=t+i.length;this.bumpTo(n);var o=this.clonePosition(),r=da(a,o);return{value:i,location:r}},e.prototype.parseArgumentOptions=function(a,t,i,n){var o,r=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(na.EXPECT_ARGUMENT_TYPE,da(r,c));case"number":case"date":case"time":{this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=Mge(m.val);if(p.length===0)return this.error(na.EXPECT_ARGUMENT_STYLE,da(this.clonePosition(),this.clonePosition()));var f=da(u,this.clonePosition());d={style:p,styleLocation:f}}var k=this.tryParseArgumentClose(n);if(k.err)return k;var h=da(n,this.clonePosition());if(d&&eU(d?.style,"::",0)){var _=xge(d.style.slice(2));if(s==="number"){var m=this.parseNumberSkeletonFromString(_,d.styleLocation);return m.err?m:{val:{type:Da.number,value:i,location:h,style:m.val},err:null}}else{if(_.length===0)return this.error(na.EXPECT_DATE_TIME_SKELETON,h);var b=_;this.locale&&(b=QV(_,this.locale));var p={type:D3.dateTime,pattern:b,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?ZV(b):{}},v=s==="date"?Da.date:Da.time;return{val:{type:v,value:i,location:h,style:p},err:null}}}return{val:{type:s==="number"?Da.number:s==="date"?Da.date:Da.time,value:i,location:h,style:(o=d?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(na.EXPECT_SELECT_ARGUMENT_OPTIONS,da(y,sa({},y)));this.bumpSpace();var z=this.parseIdentifierIfPossible(),A=0;if(s!=="select"&&z.value==="offset"){if(!this.bumpIf(":"))return this.error(na.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,da(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(na.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,na.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),z=this.parseIdentifierIfPossible(),A=m.val}var I=this.tryParsePluralOrSelectOptions(a,s,t,z);if(I.err)return I;var k=this.tryParseArgumentClose(n);if(k.err)return k;var w=da(n,this.clonePosition());return s==="select"?{val:{type:Da.select,value:i,options:aU(I.val),location:w},err:null}:{val:{type:Da.plural,value:i,options:aU(I.val),offset:A,pluralType:s==="plural"?"cardinal":"ordinal",location:w},err:null}}default:return this.error(na.INVALID_ARGUMENT_TYPE,da(r,c))}},e.prototype.tryParseArgumentClose=function(a){return this.isEOF()||this.char()!==125?this.error(na.EXPECT_ARGUMENT_CLOSING_BRACE,da(a,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var a=0,t=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(na.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,da(n,this.clonePosition()));this.bump();break}case 123:{a+=1,this.bump();break}case 125:{if(a>0)a-=1;else return{val:this.message.slice(t.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(a,t){var i=[];try{i=KV(a)}catch{return this.error(na.INVALID_NUMBER_SKELETON,t)}return{val:{type:D3.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?JV(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(a,t,i,n){for(var o,r=!1,s=[],c=new Set,d=n.value,u=n.location;;){if(d.length===0){var m=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(na.EXPECT_PLURAL_ARGUMENT_SELECTOR,na.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=da(m,this.clonePosition()),d=this.message.slice(m.offset,this.offset())}else break}if(c.has(d))return this.error(t==="select"?na.DUPLICATE_SELECT_ARGUMENT_SELECTOR:na.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);d==="other"&&(r=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?na.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:na.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,da(this.clonePosition(),this.clonePosition()));var k=this.parseMessage(a+1,t,i);if(k.err)return k;var h=this.tryParseArgumentClose(f);if(h.err)return h;s.push([d,{value:k.val,location:da(f,this.clonePosition())}]),c.add(d),this.bumpSpace(),o=this.parseIdentifierIfPossible(),d=o.value,u=o.location}return s.length===0?this.error(t==="select"?na.EXPECT_SELECT_ARGUMENT_SELECTOR:na.EXPECT_PLURAL_ARGUMENT_SELECTOR,da(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(na.MISSING_OTHER_CLAUSE,da(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(a,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,r=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,r=r*10+(s-48),this.bump();else break}var c=da(n,this.clonePosition());return o?(r*=i,jge(r)?{val:r,err:null}:this.error(t,c)):this.error(a,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var a=this.position.offset;if(a>=this.message.length)throw Error("out of bound");var t=tU(this.message,a);if(t===void 0)throw Error("Offset ".concat(a," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(a,t){return{val:null,err:{kind:a,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var a=this.char();a===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=a<65536?1:2)}},e.prototype.bumpIf=function(a){if(eU(this.message,a,this.offset())){for(var t=0;t<a.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(a){var t=this.offset(),i=this.message.indexOf(a,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(a){if(this.offset()>a)throw Error("targetOffset ".concat(a," must be greater than or equal to the current offset ").concat(this.offset()));for(a=Math.min(a,this.message.length);;){var t=this.offset();if(t===a)break;if(t>a)throw Error("targetOffset ".concat(a," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&oU(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var a=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(a>=65536?2:1));return i??null},e}();function bw(e){return e>=97&&e<=122||e>=65&&e<=90}function Cge(e){return bw(e)||e===47}function Dge(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function oU(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ege(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}l();function vw(e){e.forEach(function(a){if(delete a.location,b5(a)||v5(a))for(var t in a.options)delete a.options[t].location,vw(a.options[t].value);else f5(a)&&uf(a.style)||(h5(a)||k5(a))&&_5(a.style)?delete a.style.location:y5(a)&&vw(a.children)})}function rU(e,a){a===void 0&&(a={}),a=sa({shouldParseSkeletons:!0,requiresOtherClause:!0},a);var t=new nU(e,a).parse();if(t.err){var i=SyntaxError(na[t.err.kind]);throw i.location=t.err.location,i.originalMessage=t.err.message,i}return a?.captureLocation||vw(t.val),t.val}l();l();var E3;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(E3||(E3={}));var A5=function(e){g5(a,e);function a(t,i,n){var o=e.call(this,t)||this;return o.code=i,o.originalMessage=n,o}return a.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},a}(Error);var yw=function(e){g5(a,e);function a(t,i,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),E3.INVALID_VALUE,o)||this}return a}(A5);var sU=function(e){g5(a,e);function a(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),E3.INVALID_VALUE,n)||this}return a}(A5);var lU=function(e){g5(a,e);function a(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),E3.MISSING_VALUE,i)||this}return a}(A5);var Ai;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Ai||(Ai={}));function Gge(e){return e.length<2?e:e.reduce(function(a,t){var i=a[a.length-1];return!i||i.type!==Ai.literal||t.type!==Ai.literal?a.push(t):i.value+=t.value,a},[])}function Rge(e){return typeof e=="function"}function w5(e,a,t,i,n,o,r){if(e.length===1&&dw(e[0]))return[{type:Ai.literal,value:e[0].value}];for(var s=[],c=0,d=e;c<d.length;c++){var u=d[c];if(dw(u)){s.push({type:Ai.literal,value:u.value});continue}if(BV(u)){typeof o=="number"&&s.push({type:Ai.literal,value:t.getNumberFormat(a).format(o)});continue}var m=u.value;if(!(n&&m in n))throw new lU(m,r);var p=n[m];if(uw(u)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),s.push({type:typeof p=="string"?Ai.literal:Ai.object,value:p});continue}if(h5(u)){var f=typeof u.style=="string"?i.date[u.style]:_5(u.style)?u.style.parsedOptions:void 0;s.push({type:Ai.literal,value:t.getDateTimeFormat(a,f).format(p)});continue}if(k5(u)){var f=typeof u.style=="string"?i.time[u.style]:_5(u.style)?u.style.parsedOptions:i.time.medium;s.push({type:Ai.literal,value:t.getDateTimeFormat(a,f).format(p)});continue}if(f5(u)){var f=typeof u.style=="string"?i.number[u.style]:uf(u.style)?u.style.parsedOptions:void 0;f&&f.scale&&(p=p*(f.scale||1)),s.push({type:Ai.literal,value:t.getNumberFormat(a,f).format(p)});continue}if(y5(u)){var k=u.children,h=u.value,_=n[h];if(!Rge(_))throw new sU(h,"function",r);var b=w5(k,a,t,i,n,o),v=_(b.map(function(A){return A.value}));Array.isArray(v)||(v=[v]),s.push.apply(s,v.map(function(A){return{type:typeof A=="string"?Ai.literal:Ai.object,value:A}}))}if(b5(u)){var y=u.options[p]||u.options.other;if(!y)throw new yw(u.value,p,Object.keys(u.options),r);s.push.apply(s,w5(y.value,a,t,i,n));continue}if(v5(u)){var y=u.options["=".concat(p)];if(!y){if(!Intl.PluralRules)throw new A5(`Intl.PluralRules is not available in this environment.
2876
2876
  Try polyfilling it using "@formatjs/intl-pluralrules"
2877
- `,E3.MISSING_INTL_API,r);var z=t.getPluralRules(a,{type:u.pluralType}).select(p-(u.offset||0));y=u.options[z]||u.options.other}if(!y)throw new yw(u.value,p,Object.keys(u.options),r);s.push.apply(s,w5(y.value,a,t,i,n,p-(u.offset||0)));continue}}return Gge(s)}function Lge(e,a){return a?sa(sa(sa({},e||{}),a||{}),Object.keys(e).reduce(function(t,i){return t[i]=sa(sa({},e[i]),a[i]||{}),t},{})):e}function Wge(e,a){return a?Object.keys(e).reduce(function(t,i){return t[i]=Lge(e[i],a[i]),t},sa({},e)):e}function _w(e){return{create:function(){return{get:function(a){return e[a]},set:function(a,t){e[a]=t}}}}}function Fge(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:G0(function(){for(var a,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((a=Intl.NumberFormat).bind.apply(a,df([void 0],t,!1)))},{cache:_w(e.number),strategy:R0.variadic}),getDateTimeFormat:G0(function(){for(var a,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((a=Intl.DateTimeFormat).bind.apply(a,df([void 0],t,!1)))},{cache:_w(e.dateTime),strategy:R0.variadic}),getPluralRules:G0(function(){for(var a,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((a=Intl.PluralRules).bind.apply(a,df([void 0],t,!1)))},{cache:_w(e.pluralRules),strategy:R0.variadic})}}var I5=function(){function e(a,t,i,n){t===void 0&&(t=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(d){var u=o.formatToParts(d);if(u.length===1)return u[0].value;var m=u.reduce(function(p,f){return!p.length||f.type!==Ai.literal||typeof p[p.length-1]!="string"?p.push(f.value):p[p.length-1]+=f.value,p},[]);return m.length<=1?m[0]||"":m},this.formatToParts=function(d){return w5(o.ast,o.locales,o.formatters,o.formats,d,void 0,o.message)},this.resolvedOptions=function(){var d;return{locale:((d=o.resolvedLocale)===null||d===void 0?void 0:d.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=e.resolveLocale(t),typeof a=="string"){if(this.message=a,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var r=n||{},s=r.formatters,c=WV(r,["formatters"]);this.ast=e.__parse(a,sa(sa({},c),{locale:this.resolvedLocale}))}else this.ast=a;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Wge(e.formats,i),this.formatters=n&&n.formatters||Fge(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(a){if(!(typeof Intl.Locale>"u")){var t=Intl.NumberFormat.supportedLocalesOf(a);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof a=="string"?a:a[0])}},e.__parse=rU,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();var T5=j(F(),1);var lo=class extends Error{constructor(a,t){let i=a;t&&(i+=": "+t),super(i),this.code=a,t&&(this.originalMessage=t)}},wi=function(e){return e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e}(wi||{});function dU(...e){return e.filter(Boolean).join(".")}function Nge(e){return dU(e.namespace,e.key)}function uU(e){console.error(e)}function mU(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function pU(e,a){return G0(e,{cache:(t=a,{create:()=>({get:i=>t[i],set(i,n){t[i]=n}})}),strategy:R0.variadic});var t}function L0(e,a){return pU((...t)=>new e(...t),a)}function gU(e){return{getDateTimeFormat:L0(Intl.DateTimeFormat,e.dateTime),getNumberFormat:L0(Intl.NumberFormat,e.number),getPluralRules:L0(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:L0(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:L0(Intl.ListFormat,e.list),getDisplayNames:L0(Intl.DisplayNames,e.displayNames)}}function mf(e,a,t,i){let n=dU(i,t);if(!a)throw new Error(n);let o=a;return t.split(".").forEach(r=>{let s=o[r];if(r==null||s==null)throw new Error(n+` (${e})`);o=s}),o}function fU(e){let a=function(t,i,n,o=uU){try{if(!i)throw new Error(void 0);let r=n?mf(t,i,n):i;if(!r)throw new Error(n);return r}catch(r){let s=new lo(wi.MISSING_MESSAGE,r.message);return o(s),s}}(e.locale,e.messages,e.namespace,e.onError);return function({cache:t,formats:i,formatters:n,getMessageFallback:o=Nge,locale:r,messagesOrError:s,namespace:c,onError:d,timeZone:u}){let m=s instanceof lo;function p(h,_,b){let v=new lo(_,b);return d(v),o({error:v,key:h,namespace:c})}function f(h,_,b){if(m)return o({error:s,key:h,namespace:c});let v=s,y,z;try{y=mf(r,v,h,c)}catch(I){return p(h,wi.MISSING_MESSAGE,I.message)}if(typeof y=="object"){let I;return I=Array.isArray(y)?wi.INVALID_MESSAGE:wi.INSUFFICIENT_PATH,p(h,I,void 0)}let A=function(I,w){return w||/'[{}]/.test(I)?void 0:I}(y,_);if(A)return A;n.getMessageFormat||(n.getMessageFormat=function(I,w){return pU((...T)=>new I5(T[0],T[1],T[2],{formatters:w,...T[3]}),I.message)}(t,n));try{z=n.getMessageFormat(y,r,function(I,w,T){let x=I5.formats.date,M=I5.formats.time,W={...I?.dateTime,...w?.dateTime},G={date:{...x,...W},time:{...M,...W},number:{...I?.number,...w?.number}};return T&&["date","time"].forEach(R=>{let L=G[R];for(let[C,D]of Object.entries(L))L[C]={timeZone:T,...D}}),G}(i,b,u),{formatters:{...n,getDateTimeFormat:(I,w)=>n.getDateTimeFormat(I,{timeZone:u,...w})}})}catch(I){let w=I;return p(h,wi.INVALID_MESSAGE,w.message)}try{let I=z.format(_&&function(w){let T={};return Object.keys(w).forEach(x=>{let M=0,W=w[x],G;G=typeof W=="function"?R=>{let L=W(R);return(0,T5.isValidElement)(L)?(0,T5.cloneElement)(L,{key:x+M++}):L}:W,T[x]=G}),T}(_));if(I==null)throw new Error(void 0);return(0,T5.isValidElement)(I)||Array.isArray(I)||typeof I=="string"?I:String(I)}catch(I){return p(h,wi.FORMATTING_ERROR,I.message)}}function k(h,_,b){let v=f(h,_,b);return typeof v!="string"?p(h,wi.INVALID_MESSAGE,void 0):v}return k.rich=f,k.markup=(h,_,b)=>f(h,_,b),k.raw=h=>{if(m)return o({error:s,key:h,namespace:c});let _=s;try{return mf(r,_,h,c)}catch(b){return p(h,wi.MISSING_MESSAGE,b.message)}},k.has=h=>{if(m)return!1;try{return mf(r,s,h,c),!0}catch{return!1}},k}({...e,messagesOrError:a})}function hU(e,a){return e===a?void 0:e.slice((a+".").length)}var zw=3600,P5=86400,Aw=7*P5,ww=2628e3,cU=7884e3,Iw=365*P5,Bge={second:1,seconds:1,minute:60,minutes:60,hour:zw,hours:zw,day:P5,days:P5,week:Aw,weeks:Aw,month:ww,months:ww,quarter:cU,quarters:cU,year:Iw,years:Iw};function kU(e){let{_cache:a=mU(),_formatters:t=gU(a),formats:i,locale:n,onError:o=uU,timeZone:r}=e;function s(m){return m?.timeZone||(r?m={...m,timeZone:r}:o(new lo(wi.ENVIRONMENT_FALLBACK,void 0))),m}function c(m,p,f,k,h){let _;try{_=function(b,v,y){let z;if(typeof v=="string"){if(z=b?.[v],!z){let I=new lo(wi.MISSING_FORMAT,void 0);throw o(I),I}}else z=v;return y&&(z={...z,...y}),z}(f,m,p)}catch{return h()}try{return k(_)}catch(b){return o(new lo(wi.FORMATTING_ERROR,b.message)),h()}}function d(m,p,f){return c(p,f,i?.dateTime,k=>(k=s(k),t.getDateTimeFormat(n,k).format(m)),()=>String(m))}function u(){return e.now?e.now:(o(new lo(wi.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:d,number:function(m,p,f){return c(p,f,i?.number,k=>t.getNumberFormat(n,k).format(m),()=>String(m))},relativeTime:function(m,p){try{let f,k,h={};p instanceof Date||typeof p=="number"?f=new Date(p):p&&(f=p.now!=null?new Date(p.now):u(),k=p.unit,h.style=p.style,h.numberingSystem=p.numberingSystem),f||(f=u());let _=(new Date(m).getTime()-f.getTime())/1e3;k||(k=function(v){let y=Math.abs(v);return y<60?"second":y<zw?"minute":y<P5?"hour":y<Aw?"day":y<ww?"week":y<Iw?"month":"year"}(_)),h.numeric=k==="second"?"auto":"always";let b=function(v,y){return Math.round(v/Bge[y])}(_,k);return t.getRelativeTimeFormat(n,h).format(b,k)}catch(f){return o(new lo(wi.FORMATTING_ERROR,f.message)),String(m)}},list:function(m,p,f){let k=[],h=new Map,_=0;for(let b of m){let v;typeof b=="object"?(v=String(_),h.set(v,b)):v=String(b),k.push(v),_++}return c(p,f,i?.list,b=>{let v=t.getListFormat(n,b).formatToParts(k).map(y=>y.type==="literal"?y.value:h.get(y.value)||y.value);return h.size>0?v:v.join("")},()=>String(m))},dateTimeRange:function(m,p,f,k){return c(f,k,i?.dateTime,h=>(h=s(h),t.getDateTimeFormat(n,h).formatRange(m,p)),()=>[d(m),d(p)].join(" – "))}}}l();var o1=j(F(),1);var Zge=j(ae(),1),qge=(0,o1.createContext)(void 0);function Tw(){let e=(0,o1.useContext)(qge);if(!e)throw new Error(void 0);return e}var bU=!1,Oge=typeof window>"u";function Pw(e){return function(a,t,i){let{cache:n,formats:o,formatters:r,getMessageFallback:s,locale:c,onError:d,timeZone:u}=Tw(),m=a[i],p=hU(t,i);return u||bU||!Oge||(bU=!0,d(new lo(wi.ENVIRONMENT_FALLBACK,void 0))),(0,o1.useMemo)(()=>fU({cache:n,formatters:r,getMessageFallback:s,messages:m,namespace:p,onError:d,formats:o,locale:c,timeZone:u}),[n,r,s,m,p,d,o,c,u])}({"!":Tw().messages},e?`!.${e}`:"!","!")}function Sw(){let{formats:e,formatters:a,locale:t,now:i,onError:n,timeZone:o}=Tw();return(0,o1.useMemo)(()=>kU({formats:e,locale:t,now:i,onError:n,timeZone:o,_formatters:a}),[e,a,i,t,n,o])}function vU(e,a){return(...t)=>{try{return a(...t)}catch{throw new Error(void 0)}}}var S5=vU(0,Pw),Vge=vU(0,Sw);var _U=j(F()),yU={email:"email",phonenumber:"phone",comment:"comment",text:"text",textarea:"textArea",leadselect:"leadSelect",multiplechoice:"select",select:"select",file:"file",number:"number",type:"type",files:"files",industry:"industry",companysize:"companySize",referral:"referral",firstname:"firstName",interestedin:"interestedIn",modelpurchased:"modelPurchased",sizefitting:"sizeFitting",pricevalue:"priceValue",overallsatisfaction:"overallSatisfaction",contacttype:"ContactType",enterprise:"Enterprise",recommendationlikelihood:"recommendationLikelihood",usagecontext:"usageContext",leadform:"leadForm",productfeedbackform:"productFeedbackForm",onboardingform:"onboardingForm",inboundlead:"inboundLead",contactsales:"contactSales",feedback:"feedback",fromscratch:"fromScratch"};function tn(e){let a=e.toLowerCase();return a in yU?yU[a]:e}var zU={fromScratch:{select:"select"},leadForm:{select:"select"},productFeedbackForm:{type:"type"},onboardingForm:{Enterprise:"Enterprise",companySize:"companySize",referral:"referral"},inboundLead:{interestedIn:"interestedIn",firstName:"firstName"},contactSales:{interestedIn:"interestedIn",firstName:"firstName"},feedback:{usageContext:"usageContext",recommendationLikelihood:"recommendationLikelihood",priceValue:"priceValue",overallSatisfaction:"overallSatisfaction"}};function W0(e,a,t){if(t.startsWith("templates."))return t;let i=tn(a),n=e,r=zU[n]?.[i]??i;return`templates.${n}.fields.${r}.options.${t}.name`}var jw=new Set;function F0(){let e,a,t;try{let n=S5("FormsPage.templates"),o=S5("FormsPage"),r=S5("form");e=s=>n(s),a=s=>o(s),t=s=>r(s)}catch{e=n=>af(`FormsPage.templates.${n}`,{defaultValue:n}),a=n=>af(`FormsPage.${n}`,{defaultValue:n}),t=n=>af(`form.${n}`,{defaultValue:n})}function i(n,o){if(jw.has(o))return null;try{let r=n(o);return r===o?(jw.add(o),null):r}catch{return jw.add(o),null}}return(0,_U.useMemo)(()=>(n="",o="name",r)=>{if(n=n.replace(/^(?:templates\.)+/,"templates."),n=n.replace(/(\.options\.)templates\.[^.]+\.fields\.[^.]+\.options\./g,"$1"),n=n.replace(/(^templates\.[^\.]+\.fields\.)phoneNumber(\.)/g,"$1phone$2"),n.startsWith("templates.")&&/\.fields\.([^\.]+)\.name$/.test(n)){let f=n.match(/^templates\.([^\.]+)\.fields\.([^\.]+)\.name$/);if(f){let k=tn(f[1]),h=tn(f[2]),_=Object.entries(zU).find(([,b])=>b[h])?.[0];_&&_!==k&&(n=`templates.${_}.fields.${h}.name`)}}n==="templates.feedback.fields.email.name"&&(n="templates.fromScratch.fields.email.name");let s=n.match(/^templates\.([^\.]+)\.(.+)$/);if(s){let f=s[1],k=s[2],_=`${tn(f)}.${k}`,b=i(e,_);if(b)return b}let c=n.match(/^templates\.([^\.]+)\.(.+)$/);if(!c)return n;let d=r||c[1],u=tn(d),m=c[2],p=m.split(".");if(p.length===1){if(p[0]==="name")return i(e,`${u}.name`)||n;if(p[0]==="overview")return i(e,`${u}.overview`)||n;if(p[0]==="description")return i(e,`${u}.description`)||n}if(p[0]==="startScreen"&&p.length===2)return i(e,`${u}.startScreen.${p[1]}`)||n;if(p[0]==="fields"&&p.length>=3){if(p[2]==="options"&&p.length>=4){let f=p[1],k=tn(f),h=p[p.length-1],_=h==="name"||h==="placeholder"?p[p.length-2]:h;if(_.startsWith("templates.")){let b=i(e,_);return b||_}if(o==="name"||o==="placeholder"){let b=`${u}.fields.${k}.options.${_}.${o}`,v=i(e,b);if(v)return v}if(o==="name"){let b=`${u}.fields.${k}.options.${_}`,v=i(e,b);if(v)return v}return n}if((p[2]==="name"||p[2]==="placeholder")&&p.length===3){let f=tn(p[1]),k=`${u}.fields.${f}.${p[2]}`,h=i(e,k);if(h)return h}}if(!m.startsWith("fields.")){let f=i(a,m);if(f)return f}if(["name","placeholder"].includes(o)&&p[0]==="fields"&&p.length===3){let f=tn(p[1]);if(["email","phone","text","textArea","leadSelect","file","number","select"].includes(f))return i(t,`fieldTypes.${f}.${o}`)||n}if(o==="placeholder"&&p[0]==="fields"&&p.length===3){let f=tn(p[1]);return i(t,`fieldTypes.${f}.placeholder`)||n}return n},[e,a,t])}l();var IU=j(AU()),TU=j(wU());var xw=j(F()),j5=j(ae());function ff(e){let{mode:a,setMode:t}=o4(),[i,n]=xw.default.useState(!1);return xw.default.useEffect(()=>{n(!0)},[]),i?(0,j5.jsx)(i3,{id:"toggle-mode",size:"sm",variant:"plain",color:"neutral",sx:{"@media (max-width: 768px)":{display:"block"},display:"block"},onClick:()=>{t(a==="light"?"dark":"light")},...e,children:a==="light"?(0,j5.jsx)(IU.default,{}):(0,j5.jsx)(TU.default,{})}):(0,j5.jsx)(i3,{size:"sm",variant:"outlined",color:"primary"})}l();l();l();l();l();var PU=j(F(),1),x5=typeof document<"u"?PU.default.useLayoutEffect:()=>{};l();var hf=j(F(),1);function Mw(e){let a=(0,hf.useRef)(null);return x5(()=>{a.current=e},[e]),(0,hf.useCallback)((...t)=>{let i=a.current;return i?.(...t)},[])}l();l();var xn=e=>{var a;return(a=e?.ownerDocument)!==null&&a!==void 0?a:document},Xr=e=>e&&"window"in e&&e.window===e?e:xn(e).defaultView||window;function Qge(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Cw(e){return Qge(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}l();var Xge=!1;function kf(){return Xge}function M5(e,a){if(!kf())return a&&e?e.contains(a):!1;if(!e||!a)return!1;let t=a;for(;t!==null;){if(t===e)return!0;t.tagName==="SLOT"&&t.assignedSlot?t=t.assignedSlot.parentNode:Cw(t)?t=t.host:t=t.parentNode}return!1}var N0=(e=document)=>{var a;if(!kf())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&(!((a=t.shadowRoot)===null||a===void 0)&&a.activeElement);)t=t.shadowRoot.activeElement;return t};function C5(e){return kf()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}l();function bf(e){var a;return typeof window>"u"||window.navigator==null?!1:((a=window.navigator.userAgentData)===null||a===void 0?void 0:a.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent)}function Dw(e){var a;return typeof window<"u"&&window.navigator!=null?e.test(((a=window.navigator.userAgentData)===null||a===void 0?void 0:a.platform)||window.navigator.platform):!1}function r1(e){let a=null;return()=>(a==null&&(a=e()),a)}var D5=r1(function(){return Dw(/^Mac/i)}),SU=r1(function(){return Dw(/^iPhone/i)}),jU=r1(function(){return Dw(/^iPad/i)||D5()&&navigator.maxTouchPoints>1}),xU=r1(function(){return SU()||jU()}),efe=r1(function(){return D5()||xU()}),afe=r1(function(){return bf(/AppleWebKit/i)&&!MU()}),MU=r1(function(){return bf(/Chrome/i)}),Ew=r1(function(){return bf(/Android/i)}),tfe=r1(function(){return bf(/Firefox/i)});l();var Ml=j(F(),1);function E5(){let e=(0,Ml.useRef)(new Map),a=(0,Ml.useCallback)((n,o,r,s)=>{let c=s?.once?(...d)=>{e.current.delete(r),r(...d)}:r;e.current.set(r,{type:o,eventTarget:n,fn:c,options:s}),n.addEventListener(o,c,s)},[]),t=(0,Ml.useCallback)((n,o,r,s)=>{var c;let d=((c=e.current.get(r))===null||c===void 0?void 0:c.fn)||r;n.removeEventListener(o,d,s),e.current.delete(r)},[]),i=(0,Ml.useCallback)(()=>{e.current.forEach((n,o)=>{t(n.eventTarget,n.type,o,n.options)})},[t]);return(0,Ml.useEffect)(()=>i,[i]),{addGlobalListener:a,removeGlobalListener:t,removeAllGlobalListeners:i}}l();function Gw(e){return e.mozInputSource===0&&e.isTrusted?!0:Ew()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}l();l();var vf=j(F(),1);function Rw(e){let a=e;return a.nativeEvent=e,a.isDefaultPrevented=()=>a.defaultPrevented,a.isPropagationStopped=()=>a.cancelBubble,a.persist=()=>{},a}function CU(e,a){Object.defineProperty(e,"target",{value:a}),Object.defineProperty(e,"currentTarget",{value:a})}function yf(e){let a=(0,vf.useRef)({isFocused:!1,observer:null});x5(()=>{let i=a.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let t=Mw(i=>{e?.(i)});return(0,vf.useCallback)(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){a.current.isFocused=!0;let n=i.target,o=r=>{if(a.current.isFocused=!1,n.disabled){let s=Rw(r);t(s)}a.current.observer&&(a.current.observer.disconnect(),a.current.observer=null)};n.addEventListener("focusout",o,{once:!0}),a.current.observer=new MutationObserver(()=>{if(a.current.isFocused&&n.disabled){var r;(r=a.current.observer)===null||r===void 0||r.disconnect();let s=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),a.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[t])}var Lw=!1;l();var Bw=j(F(),1);var R5=null,Ww=new Set,G5=new Map,G3=!1,Fw=!1,ife={Tab:!0,Escape:!0};function Zw(e,a){for(let t of Ww)t(e,a)}function nfe(e){return!(e.metaKey||!D5()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function _f(e){G3=!0,nfe(e)&&(R5="keyboard",Zw("keyboard",e))}function B0(e){R5="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(G3=!0,Zw("pointer",e))}function DU(e){Gw(e)&&(G3=!0,R5="virtual")}function EU(e){e.target===window||e.target===document||Lw||!e.isTrusted||(!G3&&!Fw&&(R5="virtual",Zw("virtual",e)),G3=!1,Fw=!1)}function GU(){Lw||(G3=!1,Fw=!0)}function Nw(e){if(typeof window>"u"||typeof document>"u"||G5.get(Xr(e)))return;let a=Xr(e),t=xn(e),i=a.HTMLElement.prototype.focus;a.HTMLElement.prototype.focus=function(){G3=!0,i.apply(this,arguments)},t.addEventListener("keydown",_f,!0),t.addEventListener("keyup",_f,!0),t.addEventListener("click",DU,!0),a.addEventListener("focus",EU,!0),a.addEventListener("blur",GU,!1),typeof PointerEvent<"u"&&(t.addEventListener("pointerdown",B0,!0),t.addEventListener("pointermove",B0,!0),t.addEventListener("pointerup",B0,!0)),a.addEventListener("beforeunload",()=>{RU(e)},{once:!0}),G5.set(a,{focus:i})}var RU=(e,a)=>{let t=Xr(e),i=xn(e);a&&i.removeEventListener("DOMContentLoaded",a),G5.has(t)&&(t.HTMLElement.prototype.focus=G5.get(t).focus,i.removeEventListener("keydown",_f,!0),i.removeEventListener("keyup",_f,!0),i.removeEventListener("click",DU,!0),t.removeEventListener("focus",EU,!0),t.removeEventListener("blur",GU,!1),typeof PointerEvent<"u"&&(i.removeEventListener("pointerdown",B0,!0),i.removeEventListener("pointermove",B0,!0),i.removeEventListener("pointerup",B0,!0)),G5.delete(t))};function LU(e){let a=xn(e),t;return a.readyState!=="loading"?Nw(e):(t=()=>{Nw(e)},a.addEventListener("DOMContentLoaded",t)),()=>RU(e,t)}typeof document<"u"&&LU();function zf(){return R5!=="pointer"}var ofe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function rfe(e,a,t){let i=xn(t?.target),n=typeof window<"u"?Xr(t?.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Xr(t?.target).HTMLTextAreaElement:HTMLTextAreaElement,r=typeof window<"u"?Xr(t?.target).HTMLElement:HTMLElement,s=typeof window<"u"?Xr(t?.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof n&&!ofe.has(i.activeElement.type)||i.activeElement instanceof o||i.activeElement instanceof r&&i.activeElement.isContentEditable,!(e&&a==="keyboard"&&t instanceof s&&!ife[t.key])}function qw(e,a,t){Nw(),(0,Bw.useEffect)(()=>{let i=(n,o)=>{rfe(!!t?.isTextInput,n,o)&&e(zf())};return Ww.add(i),()=>{Ww.delete(i)}},a)}l();var Ow=j(F(),1);function Vw(e){let{isDisabled:a,onFocus:t,onBlur:i,onFocusChange:n}=e,o=(0,Ow.useCallback)(c=>{if(c.target===c.currentTarget)return i&&i(c),n&&n(!1),!0},[i,n]),r=yf(o),s=(0,Ow.useCallback)(c=>{let d=xn(c.target),u=d?N0(d):N0();c.target===c.currentTarget&&u===C5(c.nativeEvent)&&(t&&t(c),n&&n(!0),r(c))},[n,t,r]);return{focusProps:{onFocus:!a&&(t||n||i)?s:void 0,onBlur:!a&&(i||n)?o:void 0}}}l();var L5=j(F(),1);function Uw(e){let{isDisabled:a,onBlurWithin:t,onFocusWithin:i,onFocusWithinChange:n}=e,o=(0,L5.useRef)({isFocusWithin:!1}),{addGlobalListener:r,removeAllGlobalListeners:s}=E5(),c=(0,L5.useCallback)(m=>{m.currentTarget.contains(m.target)&&o.current.isFocusWithin&&!m.currentTarget.contains(m.relatedTarget)&&(o.current.isFocusWithin=!1,s(),t&&t(m),n&&n(!1))},[t,n,o,s]),d=yf(c),u=(0,L5.useCallback)(m=>{if(!m.currentTarget.contains(m.target))return;let p=xn(m.target),f=N0(p);if(!o.current.isFocusWithin&&f===C5(m.nativeEvent)){i&&i(m),n&&n(!0),o.current.isFocusWithin=!0,d(m);let k=m.currentTarget;r(p,"focus",h=>{if(o.current.isFocusWithin&&!M5(k,h.target)){let _=new p.defaultView.FocusEvent("blur",{relatedTarget:h.target});CU(_,k);let b=Rw(_);c(b)}},{capture:!0})}},[i,n,d,r,c]);return a?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:c}}}l();var s1=j(F(),1),Hw=!1,Kw=0;function sfe(){Hw=!0,setTimeout(()=>{Hw=!1},50)}function WU(e){e.pointerType==="touch"&&sfe()}function lfe(){if(!(typeof document>"u"))return typeof PointerEvent<"u"&&document.addEventListener("pointerup",WU),Kw++,()=>{Kw--,!(Kw>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",WU)}}function Yw(e){let{onHoverStart:a,onHoverChange:t,onHoverEnd:i,isDisabled:n}=e,[o,r]=(0,s1.useState)(!1),s=(0,s1.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,s1.useEffect)(lfe,[]);let{addGlobalListener:c,removeAllGlobalListeners:d}=E5(),{hoverProps:u,triggerHoverEnd:m}=(0,s1.useMemo)(()=>{let p=(h,_)=>{if(s.pointerType=_,n||_==="touch"||s.isHovered||!h.currentTarget.contains(h.target))return;s.isHovered=!0;let b=h.currentTarget;s.target=b,c(xn(h.target),"pointerover",v=>{s.isHovered&&s.target&&!M5(s.target,v.target)&&f(v,v.pointerType)},{capture:!0}),a&&a({type:"hoverstart",target:b,pointerType:_}),t&&t(!0),r(!0)},f=(h,_)=>{let b=s.target;s.pointerType="",s.target=null,!(_==="touch"||!s.isHovered||!b)&&(s.isHovered=!1,d(),i&&i({type:"hoverend",target:b,pointerType:_}),t&&t(!1),r(!1))},k={};return typeof PointerEvent<"u"&&(k.onPointerEnter=h=>{Hw&&h.pointerType==="mouse"||p(h,h.pointerType)},k.onPointerLeave=h=>{!n&&h.currentTarget.contains(h.target)&&f(h,h.pointerType)}),{hoverProps:k,triggerHoverEnd:f}},[a,t,i,n,s,c,d]);return(0,s1.useEffect)(()=>{n&&m({currentTarget:s.target},s.pointerType)},[n]),{hoverProps:u,isHovered:o}}l();var Cl=j(F(),1);function $w(e={}){let{autoFocus:a=!1,isTextInput:t,within:i}=e,n=(0,Cl.useRef)({isFocused:!1,isFocusVisible:a||zf()}),[o,r]=(0,Cl.useState)(!1),[s,c]=(0,Cl.useState)(()=>n.current.isFocused&&n.current.isFocusVisible),d=(0,Cl.useCallback)(()=>c(n.current.isFocused&&n.current.isFocusVisible),[]),u=(0,Cl.useCallback)(f=>{n.current.isFocused=f,r(f),d()},[d]);qw(f=>{n.current.isFocusVisible=f,d()},[],{isTextInput:t});let{focusProps:m}=Vw({isDisabled:i,onFocusChange:u}),{focusWithinProps:p}=Uw({isDisabled:!i,onFocusWithinChange:u});return{isFocused:o,isFocusVisible:s,focusProps:i?p:m}}l();var Tf=j(F(),1);l();l();var cfe=Object.defineProperty,dfe=(e,a,t)=>a in e?cfe(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,Jw=(e,a,t)=>(dfe(e,typeof a!="symbol"?a+"":a,t),t),Qw=class{constructor(){Jw(this,"current",this.detect()),Jw(this,"handoffState","pending"),Jw(this,"currentId",0)}set(a){this.current!==a&&(this.handoffState="pending",this.currentId=0,this.current=a)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Oo=new Qw;function es(e){var a,t;return Oo.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(t=(a=e.current)==null?void 0:a.ownerDocument)!=null?t:document:null:document}l();var wf=j(F(),1);l();l();function Af(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(a=>setTimeout(()=>{throw a}))}function nn(){let e=[],a={addEventListener(t,i,n,o){return t.addEventListener(i,n,o),a.add(()=>t.removeEventListener(i,n,o))},requestAnimationFrame(...t){let i=requestAnimationFrame(...t);return a.add(()=>cancelAnimationFrame(i))},nextFrame(...t){return a.requestAnimationFrame(()=>a.requestAnimationFrame(...t))},setTimeout(...t){let i=setTimeout(...t);return a.add(()=>clearTimeout(i))},microTask(...t){let i={current:!0};return Af(()=>{i.current&&t[0]()}),a.add(()=>{i.current=!1})},style(t,i,n){let o=t.style.getPropertyValue(i);return Object.assign(t.style,{[i]:n}),this.add(()=>{Object.assign(t.style,{[i]:o})})},group(t){let i=nn();return t(i),this.add(()=>i.dispose())},add(t){return e.includes(t)||e.push(t),()=>{let i=e.indexOf(t);if(i>=0)for(let n of e.splice(i,1))n()}},dispose(){for(let t of e.splice(0))t()}};return a}function Dl(){let[e]=(0,wf.useState)(nn);return(0,wf.useEffect)(()=>()=>e.dispose(),[e]),e}l();var NU=j(F(),1);l();var FU=j(F(),1);l();var If=j(F(),1);var Aa=(e,a)=>{Oo.isServer?(0,If.useEffect)(e,a):(0,If.useLayoutEffect)(e,a)};function ri(e){let a=(0,FU.useRef)(e);return Aa(()=>{a.current=e},[e]),a}var Ue=function(e){let a=ri(e);return NU.default.useCallback((...t)=>a.current(...t),[a])};function ufe(e){let a=e.width/2,t=e.height/2;return{top:e.clientY-t,right:e.clientX+a,bottom:e.clientY+t,left:e.clientX-a}}function mfe(e,a){return!(!e||!a||e.right<a.left||e.left>a.right||e.bottom<a.top||e.top>a.bottom)}function BU({disabled:e=!1}={}){let a=(0,Tf.useRef)(null),[t,i]=(0,Tf.useState)(!1),n=Dl(),o=Ue(()=>{a.current=null,i(!1),n.dispose()}),r=Ue(s=>{if(n.dispose(),a.current===null){a.current=s.currentTarget,i(!0);{let c=es(s.currentTarget);n.addEventListener(c,"pointerup",o,!1),n.addEventListener(c,"pointermove",d=>{if(a.current){let u=ufe(d);i(mfe(u,a.current.getBoundingClientRect()))}},!1),n.addEventListener(c,"pointercancel",o,!1)}}});return{pressed:t,pressProps:e?{}:{onPointerDown:r,onPointerUp:o,onClick:o}}}l();var Rt=j(F(),1);l();function W5(...e){return Array.from(new Set(e.flatMap(a=>typeof a=="string"?a.split(" "):[]))).filter(Boolean).join(" ")}l();function Yt(e,a,...t){if(e in a){let n=a[e];return typeof n=="function"?n(...t):n}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(a).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Yt),i}var Gl=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Gl||{}),l1=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(l1||{});function Fi(){let e=gfe();return(0,Rt.useCallback)(a=>pfe({mergeRefs:e,...a}),[e])}function pfe({ourProps:e,theirProps:a,slot:t,defaultTag:i,features:n,visible:o=!0,name:r,mergeRefs:s}){s=s??ffe;let c=ZU(a,e);if(o)return Pf(c,t,i,r,s);let d=n??0;if(d&2){let{static:u=!1,...m}=c;if(u)return Pf(m,t,i,r,s)}if(d&1){let{unmount:u=!0,...m}=c;return Yt(u?0:1,{0(){return null},1(){return Pf({...m,hidden:!0,style:{display:"none"}},t,i,r,s)}})}return Pf(c,t,i,r,s)}function Pf(e,a={},t,i,n){let{as:o=t,children:r,refName:s="ref",...c}=Xw(e,["unmount","static"]),d=e.ref!==void 0?{[s]:e.ref}:{},u=typeof r=="function"?r(a):r;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(a)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let m={};if(a){let p=!1,f=[];for(let[k,h]of Object.entries(a))typeof h=="boolean"&&(p=!0),h===!0&&f.push(k.replace(/([A-Z])/g,_=>`-${_.toLowerCase()}`));if(p){m["data-headlessui-state"]=f.join(" ");for(let k of f)m[`data-${k}`]=""}}if(o===Rt.Fragment&&(Object.keys(El(c)).length>0||Object.keys(El(m)).length>0))if(!(0,Rt.isValidElement)(u)||Array.isArray(u)&&u.length>1){if(Object.keys(El(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(El(c)).concat(Object.keys(El(m))).map(p=>` - ${p}`).join(`
2877
+ `,E3.MISSING_INTL_API,r);var z=t.getPluralRules(a,{type:u.pluralType}).select(p-(u.offset||0));y=u.options[z]||u.options.other}if(!y)throw new yw(u.value,p,Object.keys(u.options),r);s.push.apply(s,w5(y.value,a,t,i,n,p-(u.offset||0)));continue}}return Gge(s)}function Lge(e,a){return a?sa(sa(sa({},e||{}),a||{}),Object.keys(e).reduce(function(t,i){return t[i]=sa(sa({},e[i]),a[i]||{}),t},{})):e}function Wge(e,a){return a?Object.keys(e).reduce(function(t,i){return t[i]=Lge(e[i],a[i]),t},sa({},e)):e}function _w(e){return{create:function(){return{get:function(a){return e[a]},set:function(a,t){e[a]=t}}}}}function Fge(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:G0(function(){for(var a,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((a=Intl.NumberFormat).bind.apply(a,df([void 0],t,!1)))},{cache:_w(e.number),strategy:R0.variadic}),getDateTimeFormat:G0(function(){for(var a,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((a=Intl.DateTimeFormat).bind.apply(a,df([void 0],t,!1)))},{cache:_w(e.dateTime),strategy:R0.variadic}),getPluralRules:G0(function(){for(var a,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((a=Intl.PluralRules).bind.apply(a,df([void 0],t,!1)))},{cache:_w(e.pluralRules),strategy:R0.variadic})}}var I5=function(){function e(a,t,i,n){t===void 0&&(t=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(d){var u=o.formatToParts(d);if(u.length===1)return u[0].value;var m=u.reduce(function(p,f){return!p.length||f.type!==Ai.literal||typeof p[p.length-1]!="string"?p.push(f.value):p[p.length-1]+=f.value,p},[]);return m.length<=1?m[0]||"":m},this.formatToParts=function(d){return w5(o.ast,o.locales,o.formatters,o.formats,d,void 0,o.message)},this.resolvedOptions=function(){var d;return{locale:((d=o.resolvedLocale)===null||d===void 0?void 0:d.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=e.resolveLocale(t),typeof a=="string"){if(this.message=a,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var r=n||{},s=r.formatters,c=WV(r,["formatters"]);this.ast=e.__parse(a,sa(sa({},c),{locale:this.resolvedLocale}))}else this.ast=a;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Wge(e.formats,i),this.formatters=n&&n.formatters||Fge(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(a){if(!(typeof Intl.Locale>"u")){var t=Intl.NumberFormat.supportedLocalesOf(a);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof a=="string"?a:a[0])}},e.__parse=rU,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();var T5=j(F(),1);var lo=class extends Error{constructor(a,t){let i=a;t&&(i+=": "+t),super(i),this.code=a,t&&(this.originalMessage=t)}},wi=function(e){return e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e}(wi||{});function dU(...e){return e.filter(Boolean).join(".")}function Nge(e){return dU(e.namespace,e.key)}function uU(e){console.error(e)}function mU(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function pU(e,a){return G0(e,{cache:(t=a,{create:()=>({get:i=>t[i],set(i,n){t[i]=n}})}),strategy:R0.variadic});var t}function L0(e,a){return pU((...t)=>new e(...t),a)}function gU(e){return{getDateTimeFormat:L0(Intl.DateTimeFormat,e.dateTime),getNumberFormat:L0(Intl.NumberFormat,e.number),getPluralRules:L0(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:L0(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:L0(Intl.ListFormat,e.list),getDisplayNames:L0(Intl.DisplayNames,e.displayNames)}}function mf(e,a,t,i){let n=dU(i,t);if(!a)throw new Error(n);let o=a;return t.split(".").forEach(r=>{let s=o[r];if(r==null||s==null)throw new Error(n+` (${e})`);o=s}),o}function fU(e){let a=function(t,i,n,o=uU){try{if(!i)throw new Error(void 0);let r=n?mf(t,i,n):i;if(!r)throw new Error(n);return r}catch(r){let s=new lo(wi.MISSING_MESSAGE,r.message);return o(s),s}}(e.locale,e.messages,e.namespace,e.onError);return function({cache:t,formats:i,formatters:n,getMessageFallback:o=Nge,locale:r,messagesOrError:s,namespace:c,onError:d,timeZone:u}){let m=s instanceof lo;function p(h,_,b){let v=new lo(_,b);return d(v),o({error:v,key:h,namespace:c})}function f(h,_,b){if(m)return o({error:s,key:h,namespace:c});let v=s,y,z;try{y=mf(r,v,h,c)}catch(I){return p(h,wi.MISSING_MESSAGE,I.message)}if(typeof y=="object"){let I;return I=Array.isArray(y)?wi.INVALID_MESSAGE:wi.INSUFFICIENT_PATH,p(h,I,void 0)}let A=function(I,w){return w||/'[{}]/.test(I)?void 0:I}(y,_);if(A)return A;n.getMessageFormat||(n.getMessageFormat=function(I,w){return pU((...T)=>new I5(T[0],T[1],T[2],{formatters:w,...T[3]}),I.message)}(t,n));try{z=n.getMessageFormat(y,r,function(I,w,T){let x=I5.formats.date,M=I5.formats.time,W={...I?.dateTime,...w?.dateTime},G={date:{...x,...W},time:{...M,...W},number:{...I?.number,...w?.number}};return T&&["date","time"].forEach(R=>{let L=G[R];for(let[C,D]of Object.entries(L))L[C]={timeZone:T,...D}}),G}(i,b,u),{formatters:{...n,getDateTimeFormat:(I,w)=>n.getDateTimeFormat(I,{timeZone:u,...w})}})}catch(I){let w=I;return p(h,wi.INVALID_MESSAGE,w.message)}try{let I=z.format(_&&function(w){let T={};return Object.keys(w).forEach(x=>{let M=0,W=w[x],G;G=typeof W=="function"?R=>{let L=W(R);return(0,T5.isValidElement)(L)?(0,T5.cloneElement)(L,{key:x+M++}):L}:W,T[x]=G}),T}(_));if(I==null)throw new Error(void 0);return(0,T5.isValidElement)(I)||Array.isArray(I)||typeof I=="string"?I:String(I)}catch(I){return p(h,wi.FORMATTING_ERROR,I.message)}}function k(h,_,b){let v=f(h,_,b);return typeof v!="string"?p(h,wi.INVALID_MESSAGE,void 0):v}return k.rich=f,k.markup=(h,_,b)=>f(h,_,b),k.raw=h=>{if(m)return o({error:s,key:h,namespace:c});let _=s;try{return mf(r,_,h,c)}catch(b){return p(h,wi.MISSING_MESSAGE,b.message)}},k.has=h=>{if(m)return!1;try{return mf(r,s,h,c),!0}catch{return!1}},k}({...e,messagesOrError:a})}function hU(e,a){return e===a?void 0:e.slice((a+".").length)}var zw=3600,P5=86400,Aw=7*P5,ww=2628e3,cU=7884e3,Iw=365*P5,Bge={second:1,seconds:1,minute:60,minutes:60,hour:zw,hours:zw,day:P5,days:P5,week:Aw,weeks:Aw,month:ww,months:ww,quarter:cU,quarters:cU,year:Iw,years:Iw};function kU(e){let{_cache:a=mU(),_formatters:t=gU(a),formats:i,locale:n,onError:o=uU,timeZone:r}=e;function s(m){return m?.timeZone||(r?m={...m,timeZone:r}:o(new lo(wi.ENVIRONMENT_FALLBACK,void 0))),m}function c(m,p,f,k,h){let _;try{_=function(b,v,y){let z;if(typeof v=="string"){if(z=b?.[v],!z){let I=new lo(wi.MISSING_FORMAT,void 0);throw o(I),I}}else z=v;return y&&(z={...z,...y}),z}(f,m,p)}catch{return h()}try{return k(_)}catch(b){return o(new lo(wi.FORMATTING_ERROR,b.message)),h()}}function d(m,p,f){return c(p,f,i?.dateTime,k=>(k=s(k),t.getDateTimeFormat(n,k).format(m)),()=>String(m))}function u(){return e.now?e.now:(o(new lo(wi.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:d,number:function(m,p,f){return c(p,f,i?.number,k=>t.getNumberFormat(n,k).format(m),()=>String(m))},relativeTime:function(m,p){try{let f,k,h={};p instanceof Date||typeof p=="number"?f=new Date(p):p&&(f=p.now!=null?new Date(p.now):u(),k=p.unit,h.style=p.style,h.numberingSystem=p.numberingSystem),f||(f=u());let _=(new Date(m).getTime()-f.getTime())/1e3;k||(k=function(v){let y=Math.abs(v);return y<60?"second":y<zw?"minute":y<P5?"hour":y<Aw?"day":y<ww?"week":y<Iw?"month":"year"}(_)),h.numeric=k==="second"?"auto":"always";let b=function(v,y){return Math.round(v/Bge[y])}(_,k);return t.getRelativeTimeFormat(n,h).format(b,k)}catch(f){return o(new lo(wi.FORMATTING_ERROR,f.message)),String(m)}},list:function(m,p,f){let k=[],h=new Map,_=0;for(let b of m){let v;typeof b=="object"?(v=String(_),h.set(v,b)):v=String(b),k.push(v),_++}return c(p,f,i?.list,b=>{let v=t.getListFormat(n,b).formatToParts(k).map(y=>y.type==="literal"?y.value:h.get(y.value)||y.value);return h.size>0?v:v.join("")},()=>String(m))},dateTimeRange:function(m,p,f,k){return c(f,k,i?.dateTime,h=>(h=s(h),t.getDateTimeFormat(n,h).formatRange(m,p)),()=>[d(m),d(p)].join(" – "))}}}l();var o1=j(F(),1);var Zge=j(ae(),1),qge=(0,o1.createContext)(void 0);function Tw(){let e=(0,o1.useContext)(qge);if(!e)throw new Error(void 0);return e}var bU=!1,Oge=typeof window>"u";function Pw(e){return function(a,t,i){let{cache:n,formats:o,formatters:r,getMessageFallback:s,locale:c,onError:d,timeZone:u}=Tw(),m=a[i],p=hU(t,i);return u||bU||!Oge||(bU=!0,d(new lo(wi.ENVIRONMENT_FALLBACK,void 0))),(0,o1.useMemo)(()=>fU({cache:n,formatters:r,getMessageFallback:s,messages:m,namespace:p,onError:d,formats:o,locale:c,timeZone:u}),[n,r,s,m,p,d,o,c,u])}({"!":Tw().messages},e?`!.${e}`:"!","!")}function Sw(){let{formats:e,formatters:a,locale:t,now:i,onError:n,timeZone:o}=Tw();return(0,o1.useMemo)(()=>kU({formats:e,locale:t,now:i,onError:n,timeZone:o,_formatters:a}),[e,a,i,t,n,o])}function vU(e,a){return(...t)=>{try{return a(...t)}catch{throw new Error(void 0)}}}var S5=vU(0,Pw),Vge=vU(0,Sw);var _U=j(F()),yU={email:"email",phonenumber:"phone",comment:"comment",text:"text",textarea:"textArea",leadselect:"leadSelect",multiplechoice:"select",select:"select",file:"file",number:"number",type:"type",files:"files",industry:"industry",companysize:"companySize",referral:"referral",firstname:"firstName",interestedin:"interestedIn",modelpurchased:"modelPurchased",sizefitting:"sizeFitting",pricevalue:"priceValue",overallsatisfaction:"overallSatisfaction",contacttype:"ContactType",enterprise:"Enterprise",recommendationlikelihood:"recommendationLikelihood",usagecontext:"usageContext",leadform:"leadForm",productfeedbackform:"productFeedbackForm",onboardingform:"onboardingForm",inboundlead:"inboundLead",contactsales:"contactSales",feedback:"feedback",fromscratch:"fromScratch"};function tn(e){let a=e.toLowerCase();return a in yU?yU[a]:e}var zU={fromScratch:{select:"select"},leadForm:{select:"select"},productFeedbackForm:{type:"type"},onboardingForm:{Enterprise:"Enterprise",companySize:"companySize",referral:"referral"},inboundLead:{interestedIn:"interestedIn",firstName:"firstName"},contactSales:{interestedIn:"interestedIn",firstName:"firstName"},feedback:{usageContext:"usageContext",recommendationLikelihood:"recommendationLikelihood",priceValue:"priceValue",overallSatisfaction:"overallSatisfaction"}};function W0(e,a,t){if(t.startsWith("templates."))return t;let i=tn(a),n=e,r=zU[n]?.[i]??i;return`templates.${n}.fields.${r}.options.${t}.name`}var jw=new Set;function F0(){let e,a,t;try{let n=S5("FormsPage.templates"),o=S5("FormsPage"),r=S5("form");e=s=>n(s),a=s=>o(s),t=s=>r(s)}catch{e=n=>af(`FormsPage.templates.${n}`,{defaultValue:n}),a=n=>af(`FormsPage.${n}`,{defaultValue:n}),t=n=>af(`form.${n}`,{defaultValue:n})}function i(n,o){if(jw.has(o))return null;try{let r=n(o);return r===o?(jw.add(o),null):r}catch{return jw.add(o),null}}return(0,_U.useMemo)(()=>(n="",o="name",r)=>{if(n=n.replace(/^(?:templates\.)+/,"templates."),n=n.replace(/(\.options\.)templates\.[^.]+\.fields\.[^.]+\.options\./g,"$1"),n=n.replace(/(^templates\.[^\.]+\.fields\.)phoneNumber(\.)/g,"$1phone$2"),n.startsWith("templates.")&&/\.fields\.([^\.]+)\.name$/.test(n)){let f=n.match(/^templates\.([^\.]+)\.fields\.([^\.]+)\.name$/);if(f){let k=tn(f[1]),h=tn(f[2]),_=Object.entries(zU).find(([,b])=>b[h])?.[0];_&&_!==k&&(n=`templates.${_}.fields.${h}.name`)}}n==="templates.feedback.fields.email.name"&&(n="templates.fromScratch.fields.email.name");let s=n.match(/^templates\.([^\.]+)\.(.+)$/);if(s){let f=s[1],k=s[2],_=`${tn(f)}.${k}`,b=i(e,_);if(b)return b}let c=n.match(/^templates\.([^\.]+)\.(.+)$/);if(!c)return n;let d=r||c[1],u=tn(d),m=c[2],p=m.split(".");if(p.length===1){if(p[0]==="name")return i(e,`${u}.name`)||n;if(p[0]==="overview")return i(e,`${u}.overview`)||n;if(p[0]==="description")return i(e,`${u}.description`)||n}if(p[0]==="startScreen"&&p.length===2)return i(e,`${u}.startScreen.${p[1]}`)||n;if(p[0]==="fields"&&p.length>=3){if(p[2]==="options"&&p.length>=4){let f=p[1],k=tn(f),h=p[p.length-1],_=h==="name"||h==="placeholder"?p[p.length-2]:h;if(_.startsWith("templates.")){let b=i(e,_);return b||_}if(o==="name"||o==="placeholder"){let b=`${u}.fields.${k}.options.${_}.${o}`,v=i(e,b);if(v)return v}if(o==="name"){let b=`${u}.fields.${k}.options.${_}`,v=i(e,b);if(v)return v}return n}if((p[2]==="name"||p[2]==="placeholder")&&p.length===3){let f=tn(p[1]),k=`${u}.fields.${f}.${p[2]}`,h=i(e,k);if(h)return h}}if(!m.startsWith("fields.")){let f=i(a,m);if(f)return f}if(["name","placeholder"].includes(o)&&p[0]==="fields"&&p.length===3){let f=tn(p[1]);if(["email","phone","text","textArea","leadSelect","file","number","select"].includes(f))return i(t,`fieldTypes.${f}.${o}`)||n}if(o==="placeholder"&&p[0]==="fields"&&p.length===3){let f=tn(p[1]);return i(t,`fieldTypes.${f}.placeholder`)||n}return n},[e,a,t])}l();var IU=j(AU()),TU=j(wU());var xw=j(F()),j5=j(ae());function ff(e){let{mode:a,setMode:t}=o4(),[i,n]=xw.default.useState(!1);return xw.default.useEffect(()=>{n(!0)},[]),i?(0,j5.jsx)(i3,{id:"toggle-mode",size:"sm",variant:"plain",color:"neutral",sx:{"@media (max-width: 768px)":{display:"block"},display:"block","&:focus-visible":{outline:"none",boxShadow:"none"}},onClick:o=>{t(a==="light"?"dark":"light"),o.currentTarget.blur()},...e,children:a==="light"?(0,j5.jsx)(IU.default,{}):(0,j5.jsx)(TU.default,{})}):(0,j5.jsx)(i3,{size:"sm",variant:"plain",color:"neutral"})}l();l();l();l();l();var PU=j(F(),1),x5=typeof document<"u"?PU.default.useLayoutEffect:()=>{};l();var hf=j(F(),1);function Mw(e){let a=(0,hf.useRef)(null);return x5(()=>{a.current=e},[e]),(0,hf.useCallback)((...t)=>{let i=a.current;return i?.(...t)},[])}l();l();var xn=e=>{var a;return(a=e?.ownerDocument)!==null&&a!==void 0?a:document},Xr=e=>e&&"window"in e&&e.window===e?e:xn(e).defaultView||window;function Qge(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Cw(e){return Qge(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}l();var Xge=!1;function kf(){return Xge}function M5(e,a){if(!kf())return a&&e?e.contains(a):!1;if(!e||!a)return!1;let t=a;for(;t!==null;){if(t===e)return!0;t.tagName==="SLOT"&&t.assignedSlot?t=t.assignedSlot.parentNode:Cw(t)?t=t.host:t=t.parentNode}return!1}var N0=(e=document)=>{var a;if(!kf())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&(!((a=t.shadowRoot)===null||a===void 0)&&a.activeElement);)t=t.shadowRoot.activeElement;return t};function C5(e){return kf()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}l();function bf(e){var a;return typeof window>"u"||window.navigator==null?!1:((a=window.navigator.userAgentData)===null||a===void 0?void 0:a.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent)}function Dw(e){var a;return typeof window<"u"&&window.navigator!=null?e.test(((a=window.navigator.userAgentData)===null||a===void 0?void 0:a.platform)||window.navigator.platform):!1}function r1(e){let a=null;return()=>(a==null&&(a=e()),a)}var D5=r1(function(){return Dw(/^Mac/i)}),SU=r1(function(){return Dw(/^iPhone/i)}),jU=r1(function(){return Dw(/^iPad/i)||D5()&&navigator.maxTouchPoints>1}),xU=r1(function(){return SU()||jU()}),efe=r1(function(){return D5()||xU()}),afe=r1(function(){return bf(/AppleWebKit/i)&&!MU()}),MU=r1(function(){return bf(/Chrome/i)}),Ew=r1(function(){return bf(/Android/i)}),tfe=r1(function(){return bf(/Firefox/i)});l();var Ml=j(F(),1);function E5(){let e=(0,Ml.useRef)(new Map),a=(0,Ml.useCallback)((n,o,r,s)=>{let c=s?.once?(...d)=>{e.current.delete(r),r(...d)}:r;e.current.set(r,{type:o,eventTarget:n,fn:c,options:s}),n.addEventListener(o,c,s)},[]),t=(0,Ml.useCallback)((n,o,r,s)=>{var c;let d=((c=e.current.get(r))===null||c===void 0?void 0:c.fn)||r;n.removeEventListener(o,d,s),e.current.delete(r)},[]),i=(0,Ml.useCallback)(()=>{e.current.forEach((n,o)=>{t(n.eventTarget,n.type,o,n.options)})},[t]);return(0,Ml.useEffect)(()=>i,[i]),{addGlobalListener:a,removeGlobalListener:t,removeAllGlobalListeners:i}}l();function Gw(e){return e.mozInputSource===0&&e.isTrusted?!0:Ew()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}l();l();var vf=j(F(),1);function Rw(e){let a=e;return a.nativeEvent=e,a.isDefaultPrevented=()=>a.defaultPrevented,a.isPropagationStopped=()=>a.cancelBubble,a.persist=()=>{},a}function CU(e,a){Object.defineProperty(e,"target",{value:a}),Object.defineProperty(e,"currentTarget",{value:a})}function yf(e){let a=(0,vf.useRef)({isFocused:!1,observer:null});x5(()=>{let i=a.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let t=Mw(i=>{e?.(i)});return(0,vf.useCallback)(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){a.current.isFocused=!0;let n=i.target,o=r=>{if(a.current.isFocused=!1,n.disabled){let s=Rw(r);t(s)}a.current.observer&&(a.current.observer.disconnect(),a.current.observer=null)};n.addEventListener("focusout",o,{once:!0}),a.current.observer=new MutationObserver(()=>{if(a.current.isFocused&&n.disabled){var r;(r=a.current.observer)===null||r===void 0||r.disconnect();let s=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),a.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[t])}var Lw=!1;l();var Bw=j(F(),1);var R5=null,Ww=new Set,G5=new Map,G3=!1,Fw=!1,ife={Tab:!0,Escape:!0};function Zw(e,a){for(let t of Ww)t(e,a)}function nfe(e){return!(e.metaKey||!D5()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function _f(e){G3=!0,nfe(e)&&(R5="keyboard",Zw("keyboard",e))}function B0(e){R5="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(G3=!0,Zw("pointer",e))}function DU(e){Gw(e)&&(G3=!0,R5="virtual")}function EU(e){e.target===window||e.target===document||Lw||!e.isTrusted||(!G3&&!Fw&&(R5="virtual",Zw("virtual",e)),G3=!1,Fw=!1)}function GU(){Lw||(G3=!1,Fw=!0)}function Nw(e){if(typeof window>"u"||typeof document>"u"||G5.get(Xr(e)))return;let a=Xr(e),t=xn(e),i=a.HTMLElement.prototype.focus;a.HTMLElement.prototype.focus=function(){G3=!0,i.apply(this,arguments)},t.addEventListener("keydown",_f,!0),t.addEventListener("keyup",_f,!0),t.addEventListener("click",DU,!0),a.addEventListener("focus",EU,!0),a.addEventListener("blur",GU,!1),typeof PointerEvent<"u"&&(t.addEventListener("pointerdown",B0,!0),t.addEventListener("pointermove",B0,!0),t.addEventListener("pointerup",B0,!0)),a.addEventListener("beforeunload",()=>{RU(e)},{once:!0}),G5.set(a,{focus:i})}var RU=(e,a)=>{let t=Xr(e),i=xn(e);a&&i.removeEventListener("DOMContentLoaded",a),G5.has(t)&&(t.HTMLElement.prototype.focus=G5.get(t).focus,i.removeEventListener("keydown",_f,!0),i.removeEventListener("keyup",_f,!0),i.removeEventListener("click",DU,!0),t.removeEventListener("focus",EU,!0),t.removeEventListener("blur",GU,!1),typeof PointerEvent<"u"&&(i.removeEventListener("pointerdown",B0,!0),i.removeEventListener("pointermove",B0,!0),i.removeEventListener("pointerup",B0,!0)),G5.delete(t))};function LU(e){let a=xn(e),t;return a.readyState!=="loading"?Nw(e):(t=()=>{Nw(e)},a.addEventListener("DOMContentLoaded",t)),()=>RU(e,t)}typeof document<"u"&&LU();function zf(){return R5!=="pointer"}var ofe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function rfe(e,a,t){let i=xn(t?.target),n=typeof window<"u"?Xr(t?.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Xr(t?.target).HTMLTextAreaElement:HTMLTextAreaElement,r=typeof window<"u"?Xr(t?.target).HTMLElement:HTMLElement,s=typeof window<"u"?Xr(t?.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof n&&!ofe.has(i.activeElement.type)||i.activeElement instanceof o||i.activeElement instanceof r&&i.activeElement.isContentEditable,!(e&&a==="keyboard"&&t instanceof s&&!ife[t.key])}function qw(e,a,t){Nw(),(0,Bw.useEffect)(()=>{let i=(n,o)=>{rfe(!!t?.isTextInput,n,o)&&e(zf())};return Ww.add(i),()=>{Ww.delete(i)}},a)}l();var Ow=j(F(),1);function Vw(e){let{isDisabled:a,onFocus:t,onBlur:i,onFocusChange:n}=e,o=(0,Ow.useCallback)(c=>{if(c.target===c.currentTarget)return i&&i(c),n&&n(!1),!0},[i,n]),r=yf(o),s=(0,Ow.useCallback)(c=>{let d=xn(c.target),u=d?N0(d):N0();c.target===c.currentTarget&&u===C5(c.nativeEvent)&&(t&&t(c),n&&n(!0),r(c))},[n,t,r]);return{focusProps:{onFocus:!a&&(t||n||i)?s:void 0,onBlur:!a&&(i||n)?o:void 0}}}l();var L5=j(F(),1);function Uw(e){let{isDisabled:a,onBlurWithin:t,onFocusWithin:i,onFocusWithinChange:n}=e,o=(0,L5.useRef)({isFocusWithin:!1}),{addGlobalListener:r,removeAllGlobalListeners:s}=E5(),c=(0,L5.useCallback)(m=>{m.currentTarget.contains(m.target)&&o.current.isFocusWithin&&!m.currentTarget.contains(m.relatedTarget)&&(o.current.isFocusWithin=!1,s(),t&&t(m),n&&n(!1))},[t,n,o,s]),d=yf(c),u=(0,L5.useCallback)(m=>{if(!m.currentTarget.contains(m.target))return;let p=xn(m.target),f=N0(p);if(!o.current.isFocusWithin&&f===C5(m.nativeEvent)){i&&i(m),n&&n(!0),o.current.isFocusWithin=!0,d(m);let k=m.currentTarget;r(p,"focus",h=>{if(o.current.isFocusWithin&&!M5(k,h.target)){let _=new p.defaultView.FocusEvent("blur",{relatedTarget:h.target});CU(_,k);let b=Rw(_);c(b)}},{capture:!0})}},[i,n,d,r,c]);return a?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:c}}}l();var s1=j(F(),1),Hw=!1,Kw=0;function sfe(){Hw=!0,setTimeout(()=>{Hw=!1},50)}function WU(e){e.pointerType==="touch"&&sfe()}function lfe(){if(!(typeof document>"u"))return typeof PointerEvent<"u"&&document.addEventListener("pointerup",WU),Kw++,()=>{Kw--,!(Kw>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",WU)}}function Yw(e){let{onHoverStart:a,onHoverChange:t,onHoverEnd:i,isDisabled:n}=e,[o,r]=(0,s1.useState)(!1),s=(0,s1.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,s1.useEffect)(lfe,[]);let{addGlobalListener:c,removeAllGlobalListeners:d}=E5(),{hoverProps:u,triggerHoverEnd:m}=(0,s1.useMemo)(()=>{let p=(h,_)=>{if(s.pointerType=_,n||_==="touch"||s.isHovered||!h.currentTarget.contains(h.target))return;s.isHovered=!0;let b=h.currentTarget;s.target=b,c(xn(h.target),"pointerover",v=>{s.isHovered&&s.target&&!M5(s.target,v.target)&&f(v,v.pointerType)},{capture:!0}),a&&a({type:"hoverstart",target:b,pointerType:_}),t&&t(!0),r(!0)},f=(h,_)=>{let b=s.target;s.pointerType="",s.target=null,!(_==="touch"||!s.isHovered||!b)&&(s.isHovered=!1,d(),i&&i({type:"hoverend",target:b,pointerType:_}),t&&t(!1),r(!1))},k={};return typeof PointerEvent<"u"&&(k.onPointerEnter=h=>{Hw&&h.pointerType==="mouse"||p(h,h.pointerType)},k.onPointerLeave=h=>{!n&&h.currentTarget.contains(h.target)&&f(h,h.pointerType)}),{hoverProps:k,triggerHoverEnd:f}},[a,t,i,n,s,c,d]);return(0,s1.useEffect)(()=>{n&&m({currentTarget:s.target},s.pointerType)},[n]),{hoverProps:u,isHovered:o}}l();var Cl=j(F(),1);function $w(e={}){let{autoFocus:a=!1,isTextInput:t,within:i}=e,n=(0,Cl.useRef)({isFocused:!1,isFocusVisible:a||zf()}),[o,r]=(0,Cl.useState)(!1),[s,c]=(0,Cl.useState)(()=>n.current.isFocused&&n.current.isFocusVisible),d=(0,Cl.useCallback)(()=>c(n.current.isFocused&&n.current.isFocusVisible),[]),u=(0,Cl.useCallback)(f=>{n.current.isFocused=f,r(f),d()},[d]);qw(f=>{n.current.isFocusVisible=f,d()},[],{isTextInput:t});let{focusProps:m}=Vw({isDisabled:i,onFocusChange:u}),{focusWithinProps:p}=Uw({isDisabled:!i,onFocusWithinChange:u});return{isFocused:o,isFocusVisible:s,focusProps:i?p:m}}l();var Tf=j(F(),1);l();l();var cfe=Object.defineProperty,dfe=(e,a,t)=>a in e?cfe(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,Jw=(e,a,t)=>(dfe(e,typeof a!="symbol"?a+"":a,t),t),Qw=class{constructor(){Jw(this,"current",this.detect()),Jw(this,"handoffState","pending"),Jw(this,"currentId",0)}set(a){this.current!==a&&(this.handoffState="pending",this.currentId=0,this.current=a)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Oo=new Qw;function es(e){var a,t;return Oo.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(t=(a=e.current)==null?void 0:a.ownerDocument)!=null?t:document:null:document}l();var wf=j(F(),1);l();l();function Af(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(a=>setTimeout(()=>{throw a}))}function nn(){let e=[],a={addEventListener(t,i,n,o){return t.addEventListener(i,n,o),a.add(()=>t.removeEventListener(i,n,o))},requestAnimationFrame(...t){let i=requestAnimationFrame(...t);return a.add(()=>cancelAnimationFrame(i))},nextFrame(...t){return a.requestAnimationFrame(()=>a.requestAnimationFrame(...t))},setTimeout(...t){let i=setTimeout(...t);return a.add(()=>clearTimeout(i))},microTask(...t){let i={current:!0};return Af(()=>{i.current&&t[0]()}),a.add(()=>{i.current=!1})},style(t,i,n){let o=t.style.getPropertyValue(i);return Object.assign(t.style,{[i]:n}),this.add(()=>{Object.assign(t.style,{[i]:o})})},group(t){let i=nn();return t(i),this.add(()=>i.dispose())},add(t){return e.includes(t)||e.push(t),()=>{let i=e.indexOf(t);if(i>=0)for(let n of e.splice(i,1))n()}},dispose(){for(let t of e.splice(0))t()}};return a}function Dl(){let[e]=(0,wf.useState)(nn);return(0,wf.useEffect)(()=>()=>e.dispose(),[e]),e}l();var NU=j(F(),1);l();var FU=j(F(),1);l();var If=j(F(),1);var Aa=(e,a)=>{Oo.isServer?(0,If.useEffect)(e,a):(0,If.useLayoutEffect)(e,a)};function ri(e){let a=(0,FU.useRef)(e);return Aa(()=>{a.current=e},[e]),a}var Ue=function(e){let a=ri(e);return NU.default.useCallback((...t)=>a.current(...t),[a])};function ufe(e){let a=e.width/2,t=e.height/2;return{top:e.clientY-t,right:e.clientX+a,bottom:e.clientY+t,left:e.clientX-a}}function mfe(e,a){return!(!e||!a||e.right<a.left||e.left>a.right||e.bottom<a.top||e.top>a.bottom)}function BU({disabled:e=!1}={}){let a=(0,Tf.useRef)(null),[t,i]=(0,Tf.useState)(!1),n=Dl(),o=Ue(()=>{a.current=null,i(!1),n.dispose()}),r=Ue(s=>{if(n.dispose(),a.current===null){a.current=s.currentTarget,i(!0);{let c=es(s.currentTarget);n.addEventListener(c,"pointerup",o,!1),n.addEventListener(c,"pointermove",d=>{if(a.current){let u=ufe(d);i(mfe(u,a.current.getBoundingClientRect()))}},!1),n.addEventListener(c,"pointercancel",o,!1)}}});return{pressed:t,pressProps:e?{}:{onPointerDown:r,onPointerUp:o,onClick:o}}}l();var Rt=j(F(),1);l();function W5(...e){return Array.from(new Set(e.flatMap(a=>typeof a=="string"?a.split(" "):[]))).filter(Boolean).join(" ")}l();function Yt(e,a,...t){if(e in a){let n=a[e];return typeof n=="function"?n(...t):n}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(a).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Yt),i}var Gl=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Gl||{}),l1=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(l1||{});function Fi(){let e=gfe();return(0,Rt.useCallback)(a=>pfe({mergeRefs:e,...a}),[e])}function pfe({ourProps:e,theirProps:a,slot:t,defaultTag:i,features:n,visible:o=!0,name:r,mergeRefs:s}){s=s??ffe;let c=ZU(a,e);if(o)return Pf(c,t,i,r,s);let d=n??0;if(d&2){let{static:u=!1,...m}=c;if(u)return Pf(m,t,i,r,s)}if(d&1){let{unmount:u=!0,...m}=c;return Yt(u?0:1,{0(){return null},1(){return Pf({...m,hidden:!0,style:{display:"none"}},t,i,r,s)}})}return Pf(c,t,i,r,s)}function Pf(e,a={},t,i,n){let{as:o=t,children:r,refName:s="ref",...c}=Xw(e,["unmount","static"]),d=e.ref!==void 0?{[s]:e.ref}:{},u=typeof r=="function"?r(a):r;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(a)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let m={};if(a){let p=!1,f=[];for(let[k,h]of Object.entries(a))typeof h=="boolean"&&(p=!0),h===!0&&f.push(k.replace(/([A-Z])/g,_=>`-${_.toLowerCase()}`));if(p){m["data-headlessui-state"]=f.join(" ");for(let k of f)m[`data-${k}`]=""}}if(o===Rt.Fragment&&(Object.keys(El(c)).length>0||Object.keys(El(m)).length>0))if(!(0,Rt.isValidElement)(u)||Array.isArray(u)&&u.length>1){if(Object.keys(El(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(El(c)).concat(Object.keys(El(m))).map(p=>` - ${p}`).join(`
2878
2878
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(p=>` - ${p}`).join(`
2879
2879
  `)].join(`
2880
2880
  `))}else{let p=u.props,f=p?.className,k=typeof f=="function"?(...b)=>W5(f(...b),c.className):W5(f,c.className),h=k?{className:k}:{},_=ZU(u.props,El(Xw(c,["ref"])));for(let b in m)b in _&&delete m[b];return(0,Rt.cloneElement)(u,Object.assign({},_,m,d,{ref:n(hfe(u),d.ref)},h))}return(0,Rt.createElement)(o,Object.assign({},Xw(c,["ref"]),o!==Rt.Fragment&&d,o!==Rt.Fragment&&m),u)}function gfe(){let e=(0,Rt.useRef)([]),a=(0,Rt.useCallback)(t=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(t):i.current=t)},[]);return(...t)=>{if(!t.every(i=>i==null))return e.current=t,a}}function ffe(...e){return e.every(a=>a==null)?void 0:a=>{for(let t of e)t!=null&&(typeof t=="function"?t(a):t.current=a)}}function ZU(...e){var a;if(e.length===0)return{};if(e.length===1)return e[0];let t={},i={};for(let n of e)for(let o in n)o.startsWith("on")&&typeof n[o]=="function"?((a=i[o])!=null||(i[o]=[]),i[o].push(n[o])):t[o]=n[o];if(t.disabled||t["aria-disabled"])for(let n in i)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(n)&&(i[n]=[o=>{var r;return(r=o?.preventDefault)==null?void 0:r.call(o)}]);for(let n in i)Object.assign(t,{[n](o,...r){let s=i[n];for(let c of s){if((o instanceof Event||o?.nativeEvent instanceof Event)&&o.defaultPrevented)return;c(o,...r)}}});return t}function Sf(...e){var a;if(e.length===0)return{};if(e.length===1)return e[0];let t={},i={};for(let n of e)for(let o in n)o.startsWith("on")&&typeof n[o]=="function"?((a=i[o])!=null||(i[o]=[]),i[o].push(n[o])):t[o]=n[o];for(let n in i)Object.assign(t,{[n](...o){let r=i[n];for(let s of r)s?.(...o)}});return t}function si(e){var a;return Object.assign((0,Rt.forwardRef)(e),{displayName:(a=e.displayName)!=null?a:e.name})}function El(e){let a=Object.assign({},e);for(let t in a)a[t]===void 0&&delete a[t];return a}function Xw(e,a=[]){let t=Object.assign({},e);for(let i of a)i in t&&delete t[i];return t}function hfe(e){return Rt.default.version.split(".")[0]>="19"?e.props.ref:e.ref}l();var R3=j(F(),1);l();var kfe="span",L3=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(L3||{});function bfe(e,a){var t;let{features:i=1,...n}=e,o={ref:a,"aria-hidden":(i&2)===2?!0:(t=n["aria-hidden"])!=null?t:void 0,hidden:(i&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return Fi()({ourProps:o,theirProps:n,slot:{},defaultTag:kfe,name:"Hidden"})}var Z0=si(bfe);l();l();function eI(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Rl(e){return eI(e)&&"tagName"in e}function Mn(e){return Rl(e)&&"accessKey"in e}function c1(e){return Rl(e)&&"tabIndex"in e}function qU(e){return Rl(e)&&"style"in e}function OU(e){return Mn(e)&&e.nodeName==="IFRAME"}function VU(e){return Mn(e)&&e.nodeName==="INPUT"}function UU(e){return Mn(e)&&e.nodeName==="FIELDSET"}function aI(e){return Mn(e)&&e.nodeName==="LEGEND"}function tI(e){let a=e.parentElement,t=null;for(;a&&!UU(a);)aI(a)&&(t=a),a=a.parentElement;let i=a?.getAttribute("disabled")==="";return i&&vfe(t)?!1:i}function vfe(e){if(!e)return!1;let a=e.previousElementSibling;for(;a!==null;){if(aI(a))return!1;a=a.previousElementSibling}return!0}l();var jf=j(F(),1);var KU=Symbol();function xf(e,a=!0){return Object.assign(e,{[KU]:a})}function on(...e){let a=(0,jf.useRef)(e);(0,jf.useEffect)(()=>{a.current=e},[e]);let t=Ue(i=>{for(let n of a.current)n!=null&&(typeof n=="function"?n(i):n.current=i)});return e.every(i=>i==null||i?.[KU])?void 0:t}l();var u1=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(u1||{});l();var F5=j(F(),1),yfe=(0,F5.createContext)(()=>{});function iI({value:e,children:a}){return F5.default.createElement(yfe.Provider,{value:e},a)}l();var Mf=j(F(),1);function _fe(e){if(e===null)return{width:0,height:0};let{width:a,height:t}=e.getBoundingClientRect();return{width:a,height:t}}function HU(e,a=!1){let[t,i]=(0,Mf.useReducer)(()=>({}),{}),n=(0,Mf.useMemo)(()=>_fe(e),[e,t]);return Aa(()=>{if(!e)return;let o=new ResizeObserver(i);return o.observe(e),()=>{o.disconnect()}},[e]),a?{width:`${n.width}px`,height:`${n.height}px`}:n}l();var Df=j(F(),1);l();l();l();var q0=class extends Map{constructor(a){super(),this.factory=a}get(a){let t=super.get(a);return t===void 0&&(t=this.factory(a),this.set(a,t)),t}};var zfe=Object.defineProperty,Afe=(e,a,t)=>a in e?zfe(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,wfe=(e,a,t)=>(Afe(e,typeof a!="symbol"?a+"":a,t),t),JU=(e,a,t)=>{if(!a.has(e))throw TypeError("Cannot "+t)},co=(e,a,t)=>(JU(e,a,"read from private field"),t?t.call(e):a.get(e)),nI=(e,a,t)=>{if(a.has(e))throw TypeError("Cannot add the same private member more than once");a instanceof WeakSet?a.add(e):a.set(e,t)},YU=(e,a,t,i)=>(JU(e,a,"write to private field"),i?i.call(e,t):a.set(e,t),t),as,N5,B5,O0=class{constructor(a){nI(this,as,{}),nI(this,N5,new q0(()=>new Set)),nI(this,B5,new Set),wfe(this,"disposables",nn()),YU(this,as,a)}dispose(){this.disposables.dispose()}get state(){return co(this,as)}subscribe(a,t){let i={selector:a,callback:t,current:a(co(this,as))};return co(this,B5).add(i),this.disposables.add(()=>{co(this,B5).delete(i)})}on(a,t){return co(this,N5).get(a).add(t),this.disposables.add(()=>{co(this,N5).get(a).delete(t)})}send(a){let t=this.reduce(co(this,as),a);if(t!==co(this,as)){YU(this,as,t);for(let i of co(this,B5)){let n=i.selector(co(this,as));rI(i.current,n)||(i.current=n,i.callback(n))}for(let i of co(this,N5).get(a.type))i(co(this,as),a)}}};as=new WeakMap,N5=new WeakMap,B5=new WeakMap;function rI(e,a){return Object.is(e,a)?!0:typeof e!="object"||e===null||typeof a!="object"||a===null?!1:Array.isArray(e)&&Array.isArray(a)?e.length!==a.length?!1:oI(e[Symbol.iterator](),a[Symbol.iterator]()):e instanceof Map&&a instanceof Map||e instanceof Set&&a instanceof Set?e.size!==a.size?!1:oI(e.entries(),a.entries()):$U(e)&&$U(a)?oI(Object.entries(e)[Symbol.iterator](),Object.entries(a)[Symbol.iterator]()):!1}function oI(e,a){do{let t=e.next(),i=a.next();if(t.done&&i.done)return!0;if(t.done||i.done||!Object.is(t.value,i.value))return!1}while(!0)}function $U(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let a=Object.getPrototypeOf(e);return a===null||Object.getPrototypeOf(a)===null}var Ife=Object.defineProperty,Tfe=(e,a,t)=>a in e?Ife(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,QU=(e,a,t)=>(Tfe(e,typeof a!="symbol"?a+"":a,t),t),Pfe=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(Pfe||{}),Sfe={0(e,a){let t=a.id,i=e.stack,n=e.stack.indexOf(t);if(n!==-1){let o=e.stack.slice();return o.splice(n,1),o.push(t),i=o,{...e,stack:i}}return{...e,stack:[...e.stack,t]}},1(e,a){let t=a.id,i=e.stack.indexOf(t);if(i===-1)return e;let n=e.stack.slice();return n.splice(i,1),{...e,stack:n}}},sI=class e extends O0{constructor(){super(...arguments),QU(this,"actions",{push:a=>this.send({type:0,id:a}),pop:a=>this.send({type:1,id:a})}),QU(this,"selectors",{isTop:(a,t)=>a.stack[a.stack.length-1]===t,inStack:(a,t)=>a.stack.includes(t)})}static new(){return new e({stack:[]})}reduce(a,t){return Yt(t.type,Sfe,a,t)}},Cf=new q0(()=>sI.new());l();var iK=j(tK(),1);function m1(e,a,t=rI){return(0,iK.useSyncExternalStoreWithSelector)(Ue(i=>e.subscribe(Rfe,i)),Ue(()=>e.state),Ue(()=>e.state),Ue(a),t)}function Rfe(e){return e}function nK(e,a){let t=(0,Df.useId)(),i=Cf.get(a),[n,o]=m1(i,(0,Df.useCallback)(r=>[i.selectors.isTop(r,t),i.selectors.inStack(r,t)],[i,t]));return Aa(()=>{if(e)return i.actions.push(t),()=>i.actions.pop(t)},[i,e,t]),e?o?n:!0:!1}l();var oK=j(F(),1);function rK(e,a,t){let i=ri(n=>{let o=n.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&t()});(0,oK.useEffect)(()=>{if(!e)return;let n=a===null?null:Mn(a)?a:a.current;if(!n)return;let o=nn();if(typeof ResizeObserver<"u"){let r=new ResizeObserver(()=>i.current(n));r.observe(n),o.add(()=>r.disconnect())}if(typeof IntersectionObserver<"u"){let r=new IntersectionObserver(()=>i.current(n));r.observe(n),o.add(()=>r.disconnect())}return()=>o.dispose()},[a,i,e])}l();var U5=j(F(),1);l();var lI=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Lfe=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(","),ts=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(ts||{}),q5=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(q5||{}),Wfe=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Wfe||{});function V0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(lI)).sort((a,t)=>Math.sign((a.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}function Ffe(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Lfe)).sort((a,t)=>Math.sign((a.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var O5=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(O5||{});function Ef(e,a=0){var t;return e===((t=es(e))==null?void 0:t.body)?!1:Yt(a,{0(){return e.matches(lI)},1(){let i=e;for(;i!==null;){if(i.matches(lI))return!0;i=i.parentElement}return!1}})}var Nfe=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Nfe||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));var Bfe=["textarea","input"].join(",");function Zfe(e){var a,t;return(t=(a=e?.matches)==null?void 0:a.call(e,Bfe))!=null?t:!1}function qfe(e,a=t=>t){return e.slice().sort((t,i)=>{let n=a(t),o=a(i);if(n===null||o===null)return 0;let r=n.compareDocumentPosition(o);return r&Node.DOCUMENT_POSITION_FOLLOWING?-1:r&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ll(e,a,{sorted:t=!0,relativeTo:i=null,skipElements:n=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,r=Array.isArray(e)?t?qfe(e):e:a&64?Ffe(e):V0(e);n.length>0&&r.length>1&&(r=r.filter(f=>!n.some(k=>k!=null&&"current"in k?k?.current===f:k===f))),i=i??o.activeElement;let s=(()=>{if(a&5)return 1;if(a&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(a&1)return 0;if(a&2)return Math.max(0,r.indexOf(i))-1;if(a&4)return Math.max(0,r.indexOf(i))+1;if(a&8)return r.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=a&32?{preventScroll:!0}:{},u=0,m=r.length,p;do{if(u>=m||u+m<=0)return 0;let f=c+u;if(a&16)f=(f+m)%m;else{if(f<0)return 3;if(f>=m)return 1}p=r[f],p?.focus(d),u+=s}while(p!==o.activeElement);return a&6&&Zfe(p)&&p.select(),2}l();function cI(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Ofe(){return/Android/gi.test(window.navigator.userAgent)}function dI(){return cI()||Ofe()}l();var sK=j(F(),1);function V5(e,a,t,i){let n=ri(t);(0,sK.useEffect)(()=>{if(!e)return;function o(r){n.current(r)}return document.addEventListener(a,o,i),()=>document.removeEventListener(a,o,i)},[e,a,i])}l();var lK=j(F(),1);function Gf(e,a,t,i){let n=ri(t);(0,lK.useEffect)(()=>{if(!e)return;function o(r){n.current(r)}return window.addEventListener(a,o,i),()=>window.removeEventListener(a,o,i)},[e,a,i])}var cK=30;function dK(e,a,t){let i=ri(t),n=(0,U5.useCallback)(function(s,c){if(s.defaultPrevented)return;let d=c(s);if(d===null||!d.getRootNode().contains(d)||!d.isConnected)return;let u=function m(p){return typeof p=="function"?m(p()):Array.isArray(p)||p instanceof Set?p:[p]}(a);for(let m of u)if(m!==null&&(m.contains(d)||s.composed&&s.composedPath().includes(m)))return;return!Ef(d,O5.Loose)&&d.tabIndex!==-1&&s.preventDefault(),i.current(s,d)},[i,a]),o=(0,U5.useRef)(null);V5(e,"pointerdown",s=>{var c,d;dI()||(o.current=((d=(c=s.composedPath)==null?void 0:c.call(s))==null?void 0:d[0])||s.target)},!0),V5(e,"pointerup",s=>{if(dI()||!o.current)return;let c=o.current;return o.current=null,n(s,()=>c)},!0);let r=(0,U5.useRef)({x:0,y:0});V5(e,"touchstart",s=>{r.current.x=s.touches[0].clientX,r.current.y=s.touches[0].clientY},!0),V5(e,"touchend",s=>{let c={x:s.changedTouches[0].clientX,y:s.changedTouches[0].clientY};if(!(Math.abs(c.x-r.current.x)>=cK||Math.abs(c.y-r.current.y)>=cK))return n(s,()=>c1(s.target)?s.target:null)},!0),Gf(e,"blur",s=>n(s,()=>OU(window.document.activeElement)?window.document.activeElement:null),!0)}l();var uK=j(F(),1);function p1(...e){return(0,uK.useMemo)(()=>es(...e),[...e])}l();var mK=j(F(),1);function pK(e,a,t,i){let n=ri(t);(0,mK.useEffect)(()=>{e=e??window;function o(r){n.current(r)}return e.addEventListener(a,o,i),()=>e.removeEventListener(a,o,i)},[e,a,i])}l();var gK=j(F(),1);function fK(e,a){return(0,gK.useMemo)(()=>{var t;if(e.type)return e.type;let i=(t=e.as)!=null?t:"button";if(typeof i=="string"&&i.toLowerCase()==="button"||a?.tagName==="BUTTON"&&!a.hasAttribute("type"))return"button"},[e.type,e.as,a])}l();l();l();var hK=j(F(),1);function kK(e){return(0,hK.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}l();l();function bK(e,a){let t=e(),i=new Set;return{getSnapshot(){return t},subscribe(n){return i.add(n),()=>i.delete(n)},dispatch(n,...o){let r=a[n].call(t,...o);r&&(t=r,i.forEach(s=>s()))}}}l();function vK(){let e;return{before({doc:a}){var t;let i=a.documentElement,n=(t=a.defaultView)!=null?t:window;e=Math.max(0,n.innerWidth-i.clientWidth)},after({doc:a,d:t}){let i=a.documentElement,n=Math.max(0,i.clientWidth-i.offsetWidth),o=Math.max(0,e-n);t.style(i,"paddingRight",`${o}px`)}}}l();function yK(){return cI()?{before({doc:e,d:a,meta:t}){function i(n){return t.containers.flatMap(o=>o()).some(o=>o.contains(n))}a.microTask(()=>{var n;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let s=nn();s.style(e.documentElement,"scrollBehavior","auto"),a.add(()=>a.microTask(()=>s.dispose()))}let o=(n=window.scrollY)!=null?n:window.pageYOffset,r=null;a.addEventListener(e,"click",s=>{if(c1(s.target))try{let c=s.target.closest("a");if(!c)return;let{hash:d}=new URL(c.href),u=e.querySelector(d);c1(u)&&!i(u)&&(r=u)}catch{}},!0),a.addEventListener(e,"touchstart",s=>{if(c1(s.target)&&qU(s.target))if(i(s.target)){let c=s.target;for(;c.parentElement&&i(c.parentElement);)c=c.parentElement;a.style(c,"overscrollBehavior","contain")}else a.style(s.target,"touchAction","none")}),a.addEventListener(e,"touchmove",s=>{if(c1(s.target)){if(VU(s.target))return;if(i(s.target)){let c=s.target;for(;c.parentElement&&c.dataset.headlessuiPortal!==""&&!(c.scrollHeight>c.clientHeight||c.scrollWidth>c.clientWidth);)c=c.parentElement;c.dataset.headlessuiPortal===""&&s.preventDefault()}else s.preventDefault()}},{passive:!1}),a.add(()=>{var s;let c=(s=window.scrollY)!=null?s:window.pageYOffset;o!==c&&window.scrollTo(0,o),r&&r.isConnected&&(r.scrollIntoView({block:"nearest"}),r=null)})})}}:{}}l();function _K(){return{before({doc:e,d:a}){a.style(e.documentElement,"overflow","hidden")}}}function Vfe(e){let a={};for(let t of e)Object.assign(a,t(a));return a}var Wl=bK(()=>new Map,{PUSH(e,a){var t;let i=(t=this.get(e))!=null?t:{doc:e,count:0,d:nn(),meta:new Set};return i.count++,i.meta.add(a),this.set(e,i),this},POP(e,a){let t=this.get(e);return t&&(t.count--,t.meta.delete(a)),this},SCROLL_PREVENT({doc:e,d:a,meta:t}){let i={doc:e,d:a,meta:Vfe(t)},n=[yK(),vK(),_K()];n.forEach(({before:o})=>o?.(i)),n.forEach(({after:o})=>o?.(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Wl.subscribe(()=>{let e=Wl.getSnapshot(),a=new Map;for(let[t]of e)a.set(t,t.documentElement.style.overflow);for(let t of e.values()){let i=a.get(t.doc)==="hidden",n=t.count!==0;(n&&!i||!n&&i)&&Wl.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&Wl.dispatch("TEARDOWN",t)}});function zK(e,a,t=()=>({containers:[]})){let i=kK(Wl),n=a?i.get(a):void 0,o=n?n.count>0:!1;return Aa(()=>{if(!(!a||!e))return Wl.dispatch("PUSH",a,t),()=>Wl.dispatch("POP",a,t)},[e,a]),o}function AK(e,a,t=()=>[document.body]){let i=nK(e,"scroll-lock");zK(i,a,n=>{var o;return{containers:[...(o=n.containers)!=null?o:[],t]}})}l();var K5=j(F(),1);l();var Fl=j(F(),1);function wK(e=0){let[a,t]=(0,Fl.useState)(e),i=(0,Fl.useCallback)(c=>t(c),[a]),n=(0,Fl.useCallback)(c=>t(d=>d|c),[a]),o=(0,Fl.useCallback)(c=>(a&c)===c,[a]),r=(0,Fl.useCallback)(c=>t(d=>d&~c),[t]),s=(0,Fl.useCallback)(c=>t(d=>d^c),[t]);return{flags:a,setFlag:i,addFlag:n,hasFlag:o,removeFlag:r,toggleFlag:s}}var IK,TK;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((IK=process==null?void 0:g)==null?void 0:IK.NODE_ENV)==="test"&&typeof((TK=Element?.prototype)==null?void 0:TK.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zappway/embeds",
3
- "version": "1.0.136",
3
+ "version": "1.0.138",
4
4
  "description": "ZappWay",
5
5
  "main": "dist/chatbox/index.js",
6
6
  "scripts": {