| 1 |
var us=Object.defineProperty,ps=Object.defineProperties;var bs=Object.getOwnPropertyDescriptors;var wa=Object.getOwnPropertySymbols;var Ci=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable;var Di=(e,r,t)=>r in e?us(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,G=(e,r)=>{for(var t in r||(r={}))Ci.call(r,t)&&Di(e,t,r[t]);if(wa)for(var t of wa(r))Oi.call(r,t)&&Di(e,t,r[t]);return e},Ye=(e,r)=>ps(e,bs(r));var Ti=(e,r)=>{var t={};for(var n in e)Ci.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&wa)for(var n of wa(e))r.indexOf(n)<0&&Oi.call(e,n)&&(t[n]=e[n]);return t};var ct=(e,r,t)=>new Promise((n,a)=>{var i=d=>{try{s(t.next(d))}catch(f){a(f)}},l=d=>{try{s(t.throw(d))}catch(f){a(f)}},s=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,l);s((t=t.apply(e,r)).next())});import{a5 as Un,a6 as Yn,a7 as Ka,a8 as Qa,a9 as mt,aa as ms,ab as hs,c as Ae,ac as gs,W as Al,ad as _s,ae as vs,af as $s,ag as ys,ah as xs,ai as ws,aj as ks,ak as Ss,al as Ds,j as o,a as Ge,g as Dt,u as Z,i as je,U as St,_ as g,h as kt,$ as rt,am as Fl,r as S,an as ql,V as ht,ao as Gn,ap as Cs,F as Vn,aq as _e,ar as Wl,f as Cr,as as Pi,at as ji,au as Ni,av as Mi,aw as Os,ax as Ts,ay as Hr,az as Ps,aA as zl,aB as js,aC as Ns,aD as Ms,aE as Rs,aF as Es,L as Mr,aG as Hl,aH as Rr,aI as Bl,aJ as Kn,aK as Is,aL as Er,aM as la,aN as da,aO as ca,aP as Ja,aQ as Ul,aR as Qn,aS as Yl,aT as Xa,aU as Gl,aV as Vl,aW as Kl,aX as Ls,aY as As,aZ as Jn,a_ as Ql,a$ as Jl,b0 as Xl,b1 as Zl,b2 as Fs,b3 as eo,b4 as to,b5 as ro,b6 as ao,b7 as no,b8 as qs,b9 as On,ba as Ws,bb as Xn,bc as zs,bd as Hs,M as jr,b as At,e as Ft,be as io,J as Zn,d as Za,bf as ot,bg as fa,X as ua,R as lo,C as Bs,N as oo,s as Ri,bh as so,S as ei,G as en,bi as oa,a4 as Us,bj as co,bk as Tn,bl as Pn,bm as fo,bn as De,bo as Wt,bp as Ys,bq as V,br as Gs,bs as bt,z as Ve,bt as Vs,E as Ks,o as Qs,bu as Js,bv as Ei,A as Xs,B as Zs,D as ed,bw as td,bx as ti,by as rd,q as Ii,bz as ad,a2 as nd,bA as id,bB as ld,bC as od,bD as sd,bE as dd,bF as cd,bG as mn,bH as Ne}from"./main-294.js";import{e as Pr,g as fd,R as ud,f as pd,d as bd,P as md,T as hd,a as gd,b as Br,c as Ur,C as _d,h as uo,i as Jr,j as po,k as Lt,S as vd,B as $d}from"./bf-176-80.js";import{M as yd}from"./bf-867-113.js";var xd=""+new URL("logo-black.svg",import.meta.url).href;const wd=Un({}),kd=Un("bitformDefault"),tn=Un({allThemeVars:{},allThemeColors:{},allStyles:{}}),n0=Yn(e=>{const r=e(Ka),{lightThemeColors:t,darkThemeColors:n}=e(tn).allThemeColors;return r==="dark"?G(G({},t),n):t}),i0=Yn(e=>{const r=e(Ka)==="dark",t=e(Qa),{lgLightThemeVars:n,lgDarkThemeVars:a,mdLightThemeVars:i,mdDarkThemeVars:l,smLightThemeVars:s,smDarkThemeVars:d}=e(tn).allThemeVars;if(t==="lg")return r?G(G({},n),a):n;if(t==="md")return G(G(G(G({},n),r&&a),i),r&&l);if(t==="sm")return G(G(G(G(G(G({},n),r&&a),i),r&&l),s),r&&d)}),l0=Yn(e=>{const r=e(Ka)==="dark",t=e(Qa),{lgLightStyles:n,lgDarkStyles:a,mdLightStyles:i,mdDarkStyles:l,smLightStyles:s,smDarkStyles:d}=e(tn).allStyles;if(t==="lg")return r?mt(n,a):n;if(t==="md")return r?mt(n,a,i,l):mt(n,i);if(t==="sm")return r?mt(n,a,i,l,s,d):mt(n,i,s)});var Sd={name:"Academic Advisor Meeting Form",theme:"bitformDefault",formInfo:{formName:"Academic Advisor Meeting Form"},layouts:{lg:[{w:60,h:28,x:0,y:0,i:"fld_key-5",moved:!1,static:!1},{w:30,h:77,x:0,y:28,i:"fld_key-2",moved:!1,static:!1},{w:30,h:77,x:30,y:28,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:105,i:"fld_key-4",moved:!1,static:!1},{w:60,h:28,x:0,y:182,i:"fld_key-6",moved:!1,static:!1},{w:30,h:77,x:0,y:210,i:"fld_key-7",moved:!1,static:!1},{w:30,h:77,x:30,y:210,i:"fld_key-8",moved:!1,static:!1},{w:60,h:77,x:0,y:287,i:"fld_key-9",moved:!1,static:!1},{w:60,h:31,x:0,y:364,i:"fld_key-14",moved:!1,static:!1},{w:60,h:103,x:0,y:395,i:"fld_key-10",moved:!1,static:!1},{w:60,h:65,x:0,y:498,i:"fld_key-11",moved:!1,static:!1},{w:60,h:65,x:0,y:563,i:"fld_key-12",moved:!1,static:!1},{w:60,h:98,x:0,y:628,i:"fld_key-13",minW:9,moved:!1,static:!1,resizeHandles:["se","e"]},{w:60,h:54,x:0,y:726,i:"fld_key-1",moved:!1,static:!1}]},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"text",lbl:"Last Name",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-3"},"fld_key-4":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Student Information",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Advisor Information",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"text",lbl:"First Name",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-7"},"fld_key-8":{typ:"text",lbl:"Last Name",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-9"},"fld_key-10":{typ:"radio",lbl:"Reason For Meetting",round:!0,opt:[{lbl:"Scheduling Courses"},{lbl:"Drop/Add Courses"},{lbl:"Discuss Academic Progress"},{lbl:"Interest in Transferring"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},optionCol:"2",customClasses:{},customAttributes:{},fieldName:"fld_key-10"},"fld_key-11":{typ:"check",lbl:"Best Days to Meet (check all that apply) ",opt:[{lbl:"Monday"},{lbl:"Tuesday"},{lbl:"Wednesday"},{lbl:"Thursday"},{lbl:"Friday"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},optionCol:"5",customClasses:{},customAttributes:{},fieldName:"fld_key-11"},"fld_key-12":{typ:"check",lbl:"Best Times to Meet (check all that apply)",opt:[{lbl:"Morning"},{lbl:"Mid-morning"},{lbl:"Afternoon"},{lbl:"Mid-afternoon"},{lbl:"Evening"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},optionCol:"5",customClasses:{},customAttributes:{},fieldName:"fld_key-12"},"fld_key-13":{typ:"textarea",lbl:"Comment or Message",ph:"Placeholder...",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"textarea-157-13"},"fld_key-14":{typ:"divider",adminLbl:"Divider",adminLblHide:!0,valid:{},divider:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-14"}}},Dd={name:"Conference Room Registration Form",theme:"bitformDefault",formInfo:{formName:"Conference Room Registration Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"text",lbl:"Firstname",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"text",lbl:"Lastname",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3"},"fld_key-4":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"radio",lbl:"Which access pass would you like to purchase?",round:!0,opt:[{lbl:"Bronze-$100.00",check:!0,val:"100"},{lbl:"Sliver-$200.00",val:"200"},{lbl:"Gold-$300",val:"300"},{lbl:"Diamond-$400",val:"400"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,msg:'<p style="margin:0">This field is required</p>'}},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"check",lbl:"Which sessions do you plan on attending?",opt:[{lbl:"Session 1"},{lbl:"Session 2"},{lbl:"Session 3"},{lbl:"Session 4"},{lbl:"Session 5"}],valid:{},err:{},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"radio",lbl:"Will you be staying overnight?",round:!0,opt:[{lbl:"Yes"},{lbl:"No"}],valid:{},err:{},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-7"},"fld_key-8":{typ:"decision-box",adminLbl:"Decision Box",adminLblHide:!0,lbl:`<p style="margin: 0;"><span style="color: rgba(0, 0, 0, 0.85); font-family: GeneralSans-Variable, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;">I would like to receive email updates regarding future conferences</span></p>`,msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"textarea",lbl:"Comments or Questions",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-9"}},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2",moved:!1,static:!1},{w:30,h:77,x:30,y:0,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:77,i:"fld_key-4"},{w:60,h:164,x:0,y:154,i:"fld_key-5"},{w:60,h:197,x:0,y:318,i:"fld_key-6"},{w:60,h:98,x:0,y:515,i:"fld_key-7"},{w:60,h:153,x:0,y:651,i:"fld_key-9",minW:9,resizeHandles:["se","e"]},{w:60,h:38,x:0,y:613,i:"fld_key-8"},{w:60,h:54,x:0,y:804,i:"fld_key-1"}],md:[],sm:[]}},Cd={name:"Contact Form",theme:"bitformDefault",formInfo:{formName:"Contact Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0},"fld_key-2":{typ:"text",lbl:"Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-3":{typ:"textarea",lbl:"Message",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Message can not be empty.</p>'}},customClasses:{},customAttributes:{},fieldName:"textarea-44-3",ph:"Write your message..."},"fld_key-5":{typ:"email",lbl:"Email",ph:"example@mail.com",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email",acHide:!0,ac:"email"}},layouts:{lg:[{w:60,h:77,x:0,y:0,i:"fld_key-2"},{w:60,h:77,x:0,y:77,i:"fld_key-5"},{w:60,h:98,x:0,y:154,i:"fld_key-3",minW:9},{w:60,h:50,x:0,y:252,i:"fld_key-1"}],md:[],sm:[]}},Od={themeColors:{lightThemeColors:{"--btn-sh":"0 2px 4px -2px hsla(0, 0%, 0%, 40%)","--req-smbl-c":"hsla(0, 100%, 50%, 100%)"}},themeVars:{lgLightThemeVars:{"--btn-fs":"16px","--fld-lbl-fs":"1.1rem","--fld-wrp-bdr-width":"5px","--lbl-font-w":"600","--sub-titl-fs":"16px"}},layouts:{lg:[{w:30,h:79,x:0,y:0,i:"fld_key-2",moved:!1,static:!1},{w:30,h:79,x:30,y:0,i:"fld_key-12",moved:!1,static:!1},{w:30,h:79,x:0,y:79,i:"fld_key-5",moved:!1,static:!1},{w:30,h:79,x:30,y:79,i:"fld_key-6",moved:!1,static:!1},{w:30,h:79,x:0,y:158,i:"fld_key-7",moved:!1,static:!1},{w:30,h:79,x:30,y:158,i:"fld_key-8",moved:!1,static:!1},{w:30,h:79,x:0,y:237,i:"fld_key-9",moved:!1,static:!1},{w:30,h:79,x:30,y:237,i:"fld_key-11",moved:!1,static:!1},{w:60,h:100,x:0,y:316,i:"fld_key-3",minW:9,moved:!1,static:!1},{w:60,h:107,x:0,y:416,i:"fld_key-10",minW:20,moved:!1,static:!1},{w:60,h:40,x:0,y:523,i:"fld_key-13",moved:!1,static:!1},{w:60,h:56,x:0,y:563,i:"fld_key-1",moved:!1,static:!1}]},name:"Customer Complaint Form",formInfo:{formName:"Customer Complaint Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0,fieldName:"button-fld_key-1"},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"text-fld_key-2",acHide:!0,ac:"name",ph:"John"},"fld_key-3":{typ:"textarea",lbl:"Complaint Description",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Message can not be empty.</p>'}},customClasses:{},customAttributes:{},fieldName:"textarea-fld_key-3",ph:"Write your complaint..."},"fld_key-5":{typ:"email",lbl:"Email",ph:"example@mail.com",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email-fld_key-5",acHide:!0,ac:"email"},"fld_key-6":{typ:"phone-number",lbl:"Phone Number",ph:"Enter Phone Number",phHide:!0,config:{selectedFlagImage:!0,selectedCountryClearable:!0,searchClearable:!0,optionFlagImage:!0,defaultCountryKey:"",showSearchPh:!0,searchPlaceholder:"Search for countries",noCountryFoundText:"No Country Found",inputFormat:"+c #### ### ###",valueFormat:"+c #### ### ###"},options:[{i:"AD",lbl:"Andorra",img:"ad.png",code:"+376",ex:"312345",frmt:"+c ## ### ### ##",ptrn:"690$_bf_$d{6}|[356]$_bf_$d{5}"},{i:"AE",lbl:"United Arab Emirates (the)",img:"ae.png",code:"+971",ex:"501234567",ptrn:"5[024-68]$_bf_$d{7}"},{i:"AF",lbl:"Afghanistan",img:"af.png",code:"+93",ex:"701234567",ptrn:"7$_bf_$d{8}"},{i:"AG",lbl:"Antigua and Barbuda",img:"ag.png",code:"+1",ex:"2684641234",ptrn:"268(?:464|7(?:1[3-9]|[28]$_bf_$d|3[0246]|64|7[0-689]))$_bf_$d{4}"},{i:"AI",lbl:"Anguilla",img:"ai.png",code:"+1",ex:"2642351234",ptrn:"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))$_bf_$d{4}"},{i:"AL",lbl:"Albania",img:"al.png",code:"+355",ex:"672123456",ptrn:"6(?:[78][2-9]|9$_bf_$d)$_bf_$d{6}"},{i:"AM",lbl:"Armenia",img:"am.png",code:"+374",ex:"77123456",ptrn:"(?:33|4[1349]|55|77|88|9[13-9])$_bf_$d{6}"},{i:"AO",lbl:"Angola",img:"ao.png",code:"+244",ex:"923123456",ptrn:"9[1-49]$_bf_$d{7}"},{i:"AR",lbl:"Argentina",img:"ar.png",code:"+54",ex:"91123456789",ptrn:"93888[013-9]$_bf_$d{5}|9(?:29(?:54|66)|3(?:777|865))[2-8]$_bf_$d{5}|93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]$_bf_$d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]$_bf_$d{5}|9(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]$_bf_$d{5}|9(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]$_bf_$d{5}|(?:675$_bf_$d|9(?:11[1-8]$_bf_$d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6]))))$_bf_$d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4$_bf_$d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]$_bf_$d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]$_bf_$d{5}"},{i:"AS",lbl:"American Samoa",img:"as.png",code:"+1",ex:"6847331234",ptrn:"684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))$_bf_$d{4}"},{i:"AT",lbl:"Austria",img:"at.png",code:"+43",ex:"664123456",ptrn:"6(?:5[0-3579]|6[013-9]|[7-9]$_bf_$d)$_bf_$d{4,10}"},{i:"AU",lbl:"Australia",img:"au.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"AW",lbl:"Aruba",img:"aw.png",code:"+297",ex:"5601234",ptrn:"(?:290|5[69]$_bf_$d|6(?:[03]0|22|4[0-2]|[69]$_bf_$d)|7(?:[34]$_bf_$d|7[07])|9(?:6[45]|9[4-8]))$_bf_$d{4}"},{i:"AX",lbl:"Åland Islands",img:"ax.png",code:"+358",ex:"412345678",ptrn:"4946$_bf_$d{2,6}|(?:4[0-8]|50)$_bf_$d{4,8}"},{i:"AZ",lbl:"Azerbaijan",img:"az.png",code:"+994",ex:"401234567",ptrn:"36554$_bf_$d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)$_bf_$d{7}"},{i:"BA",lbl:"Bosnia and Herzegovina",img:"ba.png",code:"+387",ex:"61123456",ptrn:"6040$_bf_$d{5}|6(?:03|[1-356]|44|7$_bf_$d)$_bf_$d{6}"},{i:"BB",lbl:"Barbados",img:"bb.png",code:"+1",ex:"2462501234",ptrn:"246(?:2(?:[3568]$_bf_$d|4[0-57-9])|45$_bf_$d|69[5-7]|8(?:[2-5]$_bf_$d|83))$_bf_$d{4}"},{i:"BD",lbl:"Bangladesh",img:"bd.png",code:"+880",ex:"1812345678",ptrn:"(?:1[13-9]$_bf_$d|644)$_bf_$d{7}|(?:3[78]|44|66)[02-9]$_bf_$d{7}"},{i:"BE",lbl:"Belgium",img:"be.png",code:"+32",ex:"470123456",ptrn:"4[5-9]$_bf_$d{7}"},{i:"BF",lbl:"Burkina Faso",img:"bf.png",code:"+226",ex:"70123456",ptrn:"(?:0[1267]|5[1-8]|[67]$_bf_$d)$_bf_$d{6}"},{i:"BG",lbl:"Bulgaria",img:"bg.png",code:"+359",ex:"48123456",ptrn:"43[07-9]$_bf_$d{5}|(?:48|8[7-9]$_bf_$d|9(?:8$_bf_$d|9[69]))$_bf_$d{6}"},{i:"BH",lbl:"Bahrain",img:"bh.png",code:"+973",ex:"36001234",ptrn:"(?:3(?:[1-79]$_bf_$d|8[0-47-9])$_bf_$d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]$_bf_$d|7[0-6])))$_bf_$d{4}"},{i:"BI",lbl:"Burundi",img:"bi.png",code:"+257",ex:"79561234",ptrn:"(?:29|31|6[1289]|7[125-9])$_bf_$d{6}"},{i:"BJ",lbl:"Benin",img:"bj.png",code:"+229",ex:"90011234",ptrn:"(?:5[1-35-8]|6$_bf_$d|9[013-9])$_bf_$d{6}"},{i:"BL",lbl:"Saint Barthélemy",img:"bl.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"BM",lbl:"Bermuda",img:"bm.png",code:"+1",ex:"4413701234",ptrn:"441(?:[2378]$_bf_$d|5[0-39])$_bf_$d{5}"},{i:"BN",lbl:"Brunei Darussalam",img:"bn.png",code:"+673",ex:"7123456",ptrn:"(?:22[89]|[78]$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"BO",lbl:"Bolivia (Plurinational State of)",img:"bo.png",code:"+591",ex:"71234567",ptrn:"[67]$_bf_$d{7}"},{i:"BQ",lbl:"Bonaire, Sint Eustatius and Saba",img:"bq.png",code:"+599",ex:"3181234",ptrn:"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8$_bf_$d|9[056])$_bf_$d)$_bf_$d{3}"},{i:"BR",lbl:"Brazil",img:"br.png",code:"+55",ex:"11961234567",ptrn:"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9$_bf_$d)$_bf_$d{7}"},{i:"BS",lbl:"Bahamas (the)",img:"bs.png",code:"+1",ex:"2423591234",ptrn:"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7$_bf_$d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2$_bf_$d|[89]9))$_bf_$d{4}"},{i:"BT",lbl:"Bhutan",img:"bt.png",code:"+975",ex:"17123456",ptrn:"(?:1[67]|77)$_bf_$d{6}"},{i:"BW",lbl:"Botswana",img:"bw.png",code:"+267",ex:"71123456",ptrn:"(?:321|7(?:[1-7]$_bf_$d|8[01]))$_bf_$d{5}"},{i:"BY",lbl:"Belarus",img:"by.png",code:"+375",ex:"294911911",ptrn:"(?:2(?:5[5-79]|9[1-9])|(?:33|44)$_bf_$d)$_bf_$d{6}"},{i:"BZ",lbl:"Belize",img:"bz.png",code:"+501",ex:"6221234",ptrn:"6[0-35-7]$_bf_$d{5}"},{i:"CA",lbl:"Canada",img:"ca.png",code:"+1",ex:"5062345678",ptrn:"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]$_bf_$d{6}"},{i:"CC",lbl:"Cocos (Keeling) Islands (the)",img:"cc.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"CD",lbl:"Congo (the Democratic Republic of the)",img:"cd.png",code:"+243",ex:"991234567",ptrn:"88$_bf_$d{5}|(?:8[0-59]|9[017-9])$_bf_$d{7}"},{i:"CF",lbl:"Central African Republic (the)",img:"cf.png",code:"+236",ex:"70012345",ptrn:"7[0257]$_bf_$d{6}"},{i:"CG",lbl:"Congo (the)",img:"cg.png",code:"+242",ex:"061234567",ptrn:"026(?:1[0-5]|6[6-9])$_bf_$d{4}|0(?:[14-6]$_bf_$d$_bf_$d|2(?:40|5[5-8]|6[07-9]))$_bf_$d{5}"},{i:"CH",lbl:"Switzerland",img:"ch.png",code:"+41",ex:"781234567",ptrn:"7[35-9]$_bf_$d{7}"},{i:"CI",lbl:"Côte d'Ivoire",img:"ci.png",code:"+225",ex:"0123456789",ptrn:"0704[0-7]$_bf_$d{5}|0(?:[15]$_bf_$d$_bf_$d|7(?:0[0-37-9]|[4-9][7-9]))$_bf_$d{6}"},{i:"CK",lbl:"Cook Islands (the)",img:"ck.png",code:"+682",ex:"71234",ptrn:"[578]$_bf_$d{4}"},{i:"CL",lbl:"Chile",img:"cl.png",code:"+56",ex:"221234567",ptrn:"2(?:1982[0-6]|3314[05-9])$_bf_$d{3}|(?:2(?:1(?:160|962)|3(?:2$_bf_$d$_bf_$d|3(?:[03467]$_bf_$d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]$_bf_$d$_bf_$d|9(?:3(?:[0-57-9]$_bf_$d$_bf_$d|6(?:0[02-9]|[1-9]$_bf_$d))|6(?:[0-8]$_bf_$d$_bf_$d|9(?:[02-79]$_bf_$d|1[05-9]))|7[1-9]$_bf_$d$_bf_$d|9(?:[03-9]$_bf_$d$_bf_$d|1(?:[0235-9]$_bf_$d|4[0-24-9])|2(?:[0-79]$_bf_$d|8[0-46-9]))))$_bf_$d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])$_bf_$d{7}"},{i:"CM",lbl:"Cameroon",img:"cm.png",code:"+237",ex:"671234567",ptrn:"(?:24[23]|6[5-9]$_bf_$d)$_bf_$d{6}"},{i:"CN",lbl:"China",img:"cn.png",code:"+86",ex:"13123456789",ptrn:"1740[0-5]$_bf_$d{6}|1(?:[38]$_bf_$d|4[57]|5[0-35-9]|6[25-7]|7[0-35-8]|9[0135-9])$_bf_$d{8}"},{i:"CO",lbl:"Colombia",img:"co.png",code:"+57",ex:"3211234567",ptrn:"3333(?:0(?:0$_bf_$d|1[0-5])|[4-9]$_bf_$d$_bf_$d)$_bf_$d{3}|(?:3(?:24[2-6]|3(?:00|3[0-24-9]))|9101)$_bf_$d{6}|3(?:0[0-5]|1$_bf_$d|2[0-3]|5[01]|70)$_bf_$d{7}"},{i:"CR",lbl:"Costa Rica",img:"cr.png",code:"+506",ex:"83123456",ptrn:"(?:3005$_bf_$d|6500[01])$_bf_$d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])$_bf_$d{6}"},{i:"CU",lbl:"Cuba",img:"cu.png",code:"+53",ex:"51234567",ptrn:"5$_bf_$d{7}"},{i:"CV",lbl:"Cabo Verde",img:"cv.png",code:"+238",ex:"9911234",ptrn:"(?:[34][36]|5[1-389]|9$_bf_$d)$_bf_$d{5}"},{i:"CW",lbl:"Curaçao",img:"cw.png",code:"+599",ex:"95181234",ptrn:"953[01]$_bf_$d{4}|9(?:5[12467]|6[5-9])$_bf_$d{5}"},{i:"CX",lbl:"Christmas Island",img:"cx.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"CY",lbl:"Cyprus",img:"cy.png",code:"+357",ex:"96123456",ptrn:"9[4-79]$_bf_$d{6}"},{i:"CZ",lbl:"Czechia",img:"cz.png",code:"+420",ex:"601123456",ptrn:"(?:60[1-8]|7(?:0[2-5]|[2379]$_bf_$d))$_bf_$d{6}"},{i:"DE",lbl:"Germany",img:"de.png",code:"+49",ex:"15123456789",ptrn:"15[0-25-9]$_bf_$d{8}|1(?:6[023]|7$_bf_$d)$_bf_$d{7,8}"},{i:"DJ",lbl:"Djibouti",img:"dj.png",code:"+253",ex:"77831001",ptrn:"77$_bf_$d{6}"},{i:"DK",lbl:"Denmark",img:"dk.png",code:"+45",ex:"32123456",ptrn:"(?:[2-7]$_bf_$d|8[126-9]|9[1-46-9])$_bf_$d{6}"},{i:"DM",lbl:"Dominica",img:"dm.png",code:"+1",ex:"7672251234",ptrn:"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])$_bf_$d{4}"},{i:"DO",lbl:"Dominican Republic (the)",img:"do.png",code:"+1",ex:"8092345678",ptrn:"8[024]9[2-9]$_bf_$d{6}"},{i:"DZ",lbl:"Algeria",img:"dz.png",code:"+213",ex:"551234567",ptrn:"(?:5(?:4[0-29]|5$_bf_$d|6[0-2])|6(?:[569]$_bf_$d|7[0-6])|7[7-9]$_bf_$d)$_bf_$d{6}"},{i:"EC",lbl:"Ecuador",img:"ec.png",code:"+593",ex:"991234567",ptrn:"964[0-2]$_bf_$d{5}|9(?:39|[57][89]|6[0-36-9]|[89]$_bf_$d)$_bf_$d{6}"},{i:"EE",lbl:"Estonia",img:"ee.png",code:"+372",ex:"51234567",ptrn:"5(?:[0-35-9]$_bf_$d{6}|4(?:[0-57-9]$_bf_$d{5}|6(?:[0-24-9]$_bf_$d{4}|3(?:[0-35-9]$_bf_$d{3}|4000))))|8(?:1(?:0(?:000|[3-9]$_bf_$d$_bf_$d)|(?:1(?:0[236]|1$_bf_$d)|(?:23|[3-79]$_bf_$d)$_bf_$d)$_bf_$d)|2(?:0(?:000|(?:19|[24-7]$_bf_$d)$_bf_$d)|(?:(?:[124-6]$_bf_$d|3[5-9])$_bf_$d|7(?:[679]$_bf_$d|8[13-9])|8(?:[2-6]$_bf_$d|7[01]))$_bf_$d)|[349]$_bf_$d{4})$_bf_$d$_bf_$d|5(?:(?:[02]$_bf_$d|5[0-478])$_bf_$d|1(?:[0-8]$_bf_$d|95)|6(?:4[0-4]|5[1-589]))$_bf_$d{3}"},{i:"EG",lbl:"Egypt",img:"eg.png",code:"+20",ex:"1001234567",ptrn:"1[0-25]$_bf_$d{8}"},{i:"EH",lbl:"Western Sahara",img:"eh.png",code:"+212",ex:"650123456",ptrn:"(?:6(?:[0-79]$_bf_$d|8[0-247-9])|7(?:0$_bf_$d|1[0-5]|6[1267]|7[0-57]))$_bf_$d{6}"},{i:"ER",lbl:"Eritrea",img:"er.png",code:"+291",ex:"7123456",ptrn:"(?:17[1-3]|7$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"ES",lbl:"Spain",img:"es.png",code:"+34",ex:"612345678",ptrn:"(?:590[16]00$_bf_$d|9(?:6906(?:09|10)|7390$_bf_$d$_bf_$d))$_bf_$d$_bf_$d|(?:6$_bf_$d|7[1-48])$_bf_$d{7}"},{i:"ET",lbl:"Ethiopia",img:"et.png",code:"+251",ex:"911234567",ptrn:"9$_bf_$d{8}"},{i:"FI",lbl:"Finland",img:"fi.png",code:"+358",ex:"412345678",ptrn:"4946$_bf_$d{2,6}|(?:4[0-8]|50)$_bf_$d{4,8}"},{i:"FJ",lbl:"Fiji",img:"fj.png",code:"+679",ex:"7012345",ptrn:"(?:[279]$_bf_$d|45|5[01568]|8[034679])$_bf_$d{5}"},{i:"FK",lbl:"Falkland Islands (the) [Malvinas]",img:"fk.png",code:"+500",ex:"51234",ptrn:"[56]$_bf_$d{4}"},{i:"FM",lbl:"Micronesia (Federated States of)",img:"fm.png",code:"+691",ex:"3501234",ptrn:"31(?:00[67]|208|309)$_bf_$d$_bf_$d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]$_bf_$d)$_bf_$d)$_bf_$d{3}"},{i:"FO",lbl:"Faroe Islands (the)",img:"fo.png",code:"+298",ex:"211234",ptrn:"(?:[27][1-9]|5$_bf_$d|91)$_bf_$d{4}"},{i:"FR",lbl:"France",img:"fr.png",code:"+33",ex:"612345678",ptrn:"(?:6(?:[0-24-8]$_bf_$d|3[0-8]|9[589])|7(?:00|[3-9]$_bf_$d))$_bf_$d{6}"},{i:"GA",lbl:"Gabon",img:"ga.png",code:"+241",ex:"06031234",ptrn:"(?:0[2-7]|6[256]|7[47])$_bf_$d{6}|[2-7]$_bf_$d{6}"},{i:"GB",lbl:"United Kingdom of Great Britain and Northern Ireland (the)",img:"gb.png",code:"+44",ex:"7400123456",ptrn:"7(?:457[0-57-9]|700[01]|911[028])$_bf_$d{5}|7(?:[1-3]$_bf_$d$_bf_$d|4(?:[0-46-9]$_bf_$d|5[0-689])|5(?:0[0-8]|[13-9]$_bf_$d|2[0-35-9])|7(?:0[1-9]|[1-7]$_bf_$d|8[02-9]|9[0-689])|8(?:[014-9]$_bf_$d|[23][0-8])|9(?:[024-9]$_bf_$d|1[02-9]|3[0-689]))$_bf_$d{6}"},{i:"GD",lbl:"Grenada",img:"gd.png",code:"+1",ex:"4734031234",ptrn:"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)$_bf_$d{4}"},{i:"GE",lbl:"Georgia",img:"ge.png",code:"+995",ex:"555123456",ptrn:"5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))$_bf_$d{3}|5(?:0070|(?:11|33)33|[25]222)[0-4]$_bf_$d{3}|5(?:00(?:0$_bf_$d|50)|11(?:00|1$_bf_$d|2[0-4])|5200|75(?:00|[57]5)|8(?:0(?:[01]$_bf_$d|2[0-4])|58[89]|8(?:55|88)))$_bf_$d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)$_bf_$d{6}"},{i:"GF",lbl:"French Guiana",img:"gf.png",code:"+594",ex:"694201234",ptrn:"694(?:[0-249]$_bf_$d|3[0-48])$_bf_$d{4}"},{i:"GG",lbl:"Guernsey",img:"gg.png",code:"+44",ex:"7781123456",ptrn:"7(?:(?:781|839)$_bf_$d|911[17])$_bf_$d{5}"},{i:"GH",lbl:"Ghana",img:"gh.png",code:"+233",ex:"231234567",ptrn:"(?:2(?:[0346-8]$_bf_$d|5[67])|5(?:[0457]$_bf_$d|6[01]|9[1-9]))$_bf_$d{6}"},{i:"GI",lbl:"Gibraltar",img:"gi.png",code:"+350",ex:"57123456",ptrn:"(?:5[146-8]$_bf_$d|606)$_bf_$d{5}"},{i:"GL",lbl:"Greenland",img:"gl.png",code:"+299",ex:"221234",ptrn:"[245]$_bf_$d{5}"},{i:"GM",lbl:"Gambia (the)",img:"gm.png",code:"+220",ex:"3012345",ptrn:"(?:[23679]$_bf_$d|5[0-389])$_bf_$d{5}"},{i:"GN",lbl:"Guinea",img:"gn.png",code:"+224",ex:"601123456",ptrn:"6[0-356]$_bf_$d{7}"},{i:"GP",lbl:"Guadeloupe",img:"gp.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"GQ",lbl:"Equatorial Guinea",img:"gq.png",code:"+240",ex:"222123456",ptrn:"(?:222|55$_bf_$d)$_bf_$d{6}"},{i:"GR",lbl:"Greece",img:"gr.png",code:"+30",ex:"6912345678",ptrn:"68[57-9]$_bf_$d{7}|(?:69|94)$_bf_$d{8}"},{i:"GT",lbl:"Guatemala",img:"gt.png",code:"+502",ex:"51234567",ptrn:"[3-5]$_bf_$d{7}"},{i:"GU",lbl:"Guam",img:"gu.png",code:"+1",ex:"6713001234",ptrn:"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))$_bf_$d{4}"},{i:"GW",lbl:"Guinea-Bissau",img:"gw.png",code:"+245",ex:"955012345",ptrn:"9(?:5$_bf_$d|6[569]|77)$_bf_$d{6}"},{i:"GY",lbl:"Guyana",img:"gy.png",code:"+592",ex:"6091234",ptrn:"6$_bf_$d{6}"},{i:"HK",lbl:"Hong Kong",img:"hk.png",code:"+852",ex:"51234567",ptrn:"(?:46(?:[07][0-7]|1[0-6]|4[0-57-9]|5[0-8]|6[0-4])|5730|6(?:26[013-7]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|929[03-9])$_bf_$d{4}|(?:46[238]|5(?:[1-59][0-46-9]|6[0-4689]|7[0-2469])|6(?:0[1-9]|[13-59]$_bf_$d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]$_bf_$d))$_bf_$d{5}"},{i:"HN",lbl:"Honduras",img:"hn.png",code:"+504",ex:"91234567",ptrn:"[37-9]$_bf_$d{7}"},{i:"HR",lbl:"Croatia",img:"hr.png",code:"+385",ex:"921234567",ptrn:"9(?:751$_bf_$d{5}|8$_bf_$d{6,7})|9(?:0[1-9]|[1259]$_bf_$d|7[0679])$_bf_$d{6}"},{i:"HT",lbl:"Haiti",img:"ht.png",code:"+509",ex:"34101234",ptrn:"[34]$_bf_$d{7}"},{i:"HU",lbl:"Hungary",img:"hu.png",code:"+36",ex:"201234567",ptrn:"(?:[257]0|3[01])$_bf_$d{7}"},{i:"ID",lbl:"Indonesia",img:"id.png",code:"+62",ex:"812345678",ptrn:"8[1-35-9]$_bf_$d{7,10}"},{i:"IE",lbl:"Ireland",img:"ie.png",code:"+353",ex:"850123456",ptrn:"8(?:22|[35-9]$_bf_$d)$_bf_$d{6}"},{i:"IL",lbl:"Israel",img:"il.png",code:"+972",ex:"502345678",ptrn:"5(?:(?:[02368]$_bf_$d|[19][2-9]|4[1-9])$_bf_$d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))$_bf_$d{5}"},{i:"IM",lbl:"Isle of Man",img:"im.png",code:"+44",ex:"7924123456",ptrn:"76245[06]$_bf_$d{4}|7(?:4576|[59]24$_bf_$d|624[0-4689])$_bf_$d{5}"},{i:"IN",lbl:"India",img:"in.png",code:"+91",ex:"8123456789",ptrn:"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))$_bf_$d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))$_bf_$d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]$_bf_$d|7[02-8])$_bf_$d{5}|(?:6(?:[09]$_bf_$d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0$_bf_$d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]$_bf_$d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9$_bf_$d$_bf_$d)$_bf_$d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])$_bf_$d|7(?:[235689]$_bf_$d|4[0189]))|7(?:1(?:[013-8]$_bf_$d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]$_bf_$d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4$_bf_$d|5[0-367])|70[13-7]|881))[0189]$_bf_$d{5}"},{i:"IO",lbl:"British Indian Ocean Territory (the)",img:"io.png",code:"+246",ex:"3801234",ptrn:"38$_bf_$d{5}"},{i:"IQ",lbl:"Iraq",img:"iq.png",code:"+964",ex:"7912345678",ptrn:"7[3-9]$_bf_$d{8}"},{i:"IR",lbl:"Iran (Islamic Republic of)",img:"ir.png",code:"+98",ex:"9123456789",ptrn:"9(?:(?:0(?:[0-35]$_bf_$d|4[4-6])|(?:[13]$_bf_$d|2[0-3])$_bf_$d)$_bf_$d|9(?:(?:[0-3]$_bf_$d|4[0145])$_bf_$d|5[15]0|8(?:1$_bf_$d|88)|9(?:0[013]|[19]$_bf_$d|21|77|8[7-9])))$_bf_$d{5}"},{i:"IS",lbl:"Iceland",img:"is.png",code:"+354",ex:"6111234",ptrn:"(?:38[589]$_bf_$d$_bf_$d|6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9$_bf_$d)|7(?:5[057]|[6-9]$_bf_$d)|8(?:2[0-59]|[3-69]$_bf_$d|8[28]))$_bf_$d{4}"},{i:"IT",lbl:"Italy",img:"it.png",code:"+39",ex:"3123456789",ptrn:"3[1-9]$_bf_$d{8}|3[2-9]$_bf_$d{7}"},{i:"JE",lbl:"Jersey",img:"je.png",code:"+44",ex:"7797712345",ptrn:"7(?:(?:(?:50|82)9|937)$_bf_$d|7(?:00[378]|97[7-9]))$_bf_$d{5}"},{i:"JM",lbl:"Jamaica",img:"jm.png",code:"+1",ex:"8762101234",ptrn:"(?:658295|876(?:2(?:0[6-9]|[14-9]$_bf_$d|2[013-9]|3[7-9])|[348]$_bf_$d$_bf_$d|5(?:0[1-9]|[1-9]$_bf_$d)|6(?:4[89]|6[67])|7(?:0[07]|7$_bf_$d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))$_bf_$d{4}"},{i:"JO",lbl:"Jordan",img:"jo.png",code:"+962",ex:"790123456",ptrn:"7(?:[78][0-25-9]|9$_bf_$d)$_bf_$d{6}"},{i:"JP",lbl:"Japan",img:"jp.png",code:"+81",ex:"9012345678",ptrn:"[7-9]0[1-9]$_bf_$d{7}"},{i:"KE",lbl:"Kenya",img:"ke.png",code:"+254",ex:"712123456",ptrn:"(?:1(?:0[0-6]|1[0-5]|2[014])|7$_bf_$d$_bf_$d)$_bf_$d{6}"},{i:"KG",lbl:"Kyrgyzstan",img:"kg.png",code:"+996",ex:"700123456",ptrn:"312(?:58$_bf_$d|973)$_bf_$d{3}|(?:2(?:0[0-35]|2$_bf_$d)|5[0-24-7]$_bf_$d|7(?:[07]$_bf_$d|55)|880|99[05-9])$_bf_$d{6}"},{i:"KH",lbl:"Cambodia",img:"kh.png",code:"+855",ex:"91234567",ptrn:"(?:(?:1[28]|3[18]|9[67])$_bf_$d|6[016-9]|7(?:[07-9]|[16]$_bf_$d)|8(?:[013-79]|8$_bf_$d))$_bf_$d{6}|(?:1$_bf_$d|9[0-57-9])$_bf_$d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48$_bf_$d{5}"},{i:"KI",lbl:"Kiribati",img:"ki.png",code:"+686",ex:"72001234",ptrn:"(?:63$_bf_$d{3}|73(?:0[0-5]$_bf_$d|140))$_bf_$d{3}|[67]200[01]$_bf_$d{3}"},{i:"KM",lbl:"Comoros (the)",img:"km.png",code:"+269",ex:"3212345",ptrn:"[34]$_bf_$d{6}"},{i:"KN",lbl:"Saint Kitts and Nevis",img:"kn.png",code:"+1",ex:"8697652917",ptrn:"869(?:48[89]|55[6-8]|66$_bf_$d|76[02-7])$_bf_$d{4}"},{i:"KP",lbl:"Korea (the Democratic People's Republic of)",img:"kp.png",code:"+850",ex:"1921234567",ptrn:"19[1-3]$_bf_$d{7}"},{i:"KR",lbl:"Korea (the Republic of)",img:"kr.png",code:"+82",ex:"1020000000",ptrn:"1(?:05(?:[0-8]$_bf_$d|9[0-6])|22[13]$_bf_$d)$_bf_$d{4,5}|1(?:0[1-46-9]|[16-9]$_bf_$d|2[013-9])$_bf_$d{6,7}"},{i:"KW",lbl:"Kuwait",img:"kw.png",code:"+965",ex:"50012345",ptrn:"(?:5(?:2(?:22|5[25])|7(?:55|77)|88[58])|6(?:222|333|444|70[013-9]|888|93[039])|9(?:11[01]|3(?:00|33)|500))$_bf_$d{4}|(?:5(?:[05]$_bf_$d|1[0-7]|6[56])|6(?:0[034679]|5[015-9]|6$_bf_$d|7[67]|9[069])|9(?:0[09]|22|[4679]$_bf_$d|55|8[057-9]))$_bf_$d{5}"},{i:"KY",lbl:"Cayman Islands (the)",img:"ky.png",code:"+1",ex:"3453231234",ptrn:"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[679]|2[2-9]|3[06-9]|90))$_bf_$d{4}"},{i:"KZ",lbl:"Kazakhstan",img:"kz.png",code:"+7",ex:"7710009998",ptrn:"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)$_bf_$d{7}"},{i:"LA",lbl:"Lao People's Democratic Republic (the)",img:"la.png",code:"+856",ex:"2023123456",ptrn:"(?:20(?:[239]$_bf_$d|5[24-9]|7[6-8])|302$_bf_$d)$_bf_$d{6}"},{i:"LB",lbl:"Lebanon",img:"lb.png",code:"+961",ex:"71123456",ptrn:"793(?:[01]$_bf_$d|2[0-4])$_bf_$d{3}|(?:(?:3|81)$_bf_$d|7(?:[01]$_bf_$d|6[013-9]|8[89]|9[12]))$_bf_$d{5}"},{i:"LC",lbl:"Saint Lucia",img:"lc.png",code:"+1",ex:"7582845678",ptrn:"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2$_bf_$d|3[0-3])|812)$_bf_$d{4}"},{i:"LI",lbl:"Liechtenstein",img:"li.png",code:"+423",ex:"660234567",ptrn:"(?:6(?:4(?:69|[7-9]$_bf_$d)|5[0-4]$_bf_$d|6(?:[024]$_bf_$d|[17]0|3[7-9]))$_bf_$d|7(?:[37-9]$_bf_$d|42|56))$_bf_$d{4}"},{i:"LK",lbl:"Sri Lanka",img:"lk.png",code:"+94",ex:"712345678",ptrn:"7(?:[0-25-8]$_bf_$d|4[01])$_bf_$d{6}"},{i:"LR",lbl:"Liberia",img:"lr.png",code:"+231",ex:"770123456",ptrn:"(?:(?:330|555|(?:77|88)$_bf_$d)$_bf_$d|4[67])$_bf_$d{5}|[56]$_bf_$d{6}"},{i:"LS",lbl:"Lesotho",img:"ls.png",code:"+266",ex:"50123456",ptrn:"[56]$_bf_$d{7}"},{i:"LT",lbl:"Lithuania",img:"lt.png",code:"+370",ex:"61234567",ptrn:"6$_bf_$d{7}"},{i:"LU",lbl:"Luxembourg",img:"lu.png",code:"+352",ex:"628123456",ptrn:"6(?:[269][18]|5[1568]|7[189]|81)$_bf_$d{6}"},{i:"LV",lbl:"Latvia",img:"lv.png",code:"+371",ex:"21234567",ptrn:"2$_bf_$d{7}"},{i:"LY",lbl:"Libya",img:"ly.png",code:"+218",ex:"912345678",ptrn:"9[1-6]$_bf_$d{7}"},{i:"MA",lbl:"Morocco",img:"ma.png",code:"+212",ex:"650123456",ptrn:"(?:6(?:[0-79]$_bf_$d|8[0-247-9])|7(?:0$_bf_$d|1[0-5]|6[1267]|7[0-57]))$_bf_$d{6}"},{i:"MC",lbl:"Monaco",img:"mc.png",code:"+377",ex:"612345678",ptrn:"4(?:[46]$_bf_$d|5[1-9])$_bf_$d{5}|(?:3|6$_bf_$d)$_bf_$d{7}"},{i:"MD",lbl:"Moldova (the Republic of)",img:"md.png",code:"+373",ex:"62112345",ptrn:"562$_bf_$d{5}|(?:6$_bf_$d|7[16-9])$_bf_$d{6}"},{i:"ME",lbl:"Montenegro",img:"me.png",code:"+382",ex:"67622901",ptrn:"6(?:[07-9]$_bf_$d|3[024]|6[0-25])$_bf_$d{5}"},{i:"MF",lbl:"Saint Martin (French part)",img:"mf.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"MG",lbl:"Madagascar",img:"mg.png",code:"+261",ex:"321234567",ptrn:"3[2-489]$_bf_$d{7}"},{i:"MH",lbl:"Marshall Islands (the)",img:"mh.png",code:"+692",ex:"2351234",ptrn:"(?:(?:23|54)5|329|45[56])$_bf_$d{4}"},{i:"MK",lbl:"Republic of North Macedonia",img:"mk.png",code:"+389",ex:"72345678",ptrn:"7(?:3555|4(?:60$_bf_$d|747)|94(?:[01]$_bf_$d|2[0-4]))$_bf_$d{3}|7(?:[0-25-8]$_bf_$d|3[2-4]|42|9[23])$_bf_$d{5}"},{i:"ML",lbl:"Mali",img:"ml.png",code:"+223",ex:"65012345",ptrn:"2(?:0(?:01|79)|17$_bf_$d)$_bf_$d{4}|(?:5[01]|[679]$_bf_$d|8[239])$_bf_$d{6}"},{i:"MM",lbl:"Myanmar",img:"mm.png",code:"+95",ex:"92123456",ptrn:"(?:17[01]|9(?:2(?:[0-4]|[56]$_bf_$d$_bf_$d)|(?:3(?:[0-36]|4$_bf_$d)|(?:6$_bf_$d|8[89]|9[4-8])$_bf_$d|7(?:3|40|[5-9]$_bf_$d))$_bf_$d|4(?:(?:[0245]$_bf_$d|[1379])$_bf_$d|88)|5[0-6])$_bf_$d)$_bf_$d{4}|9[69]1$_bf_$d{6}|9(?:[68]$_bf_$d|9[089])$_bf_$d{5}"},{i:"MN",lbl:"Mongolia",img:"mn.png",code:"+976",ex:"88123456",ptrn:"(?:83[01]|920)$_bf_$d{5}|(?:5[05]|8[05689]|9[013-9])$_bf_$d{6}"},{i:"MO",lbl:"Macao",img:"mo.png",code:"+853",ex:"66123456",ptrn:"6800[0-79]$_bf_$d{3}|6(?:[235]$_bf_$d$_bf_$d|6(?:0[0-5]|[1-9]$_bf_$d)|8(?:0[1-9]|[14-8]$_bf_$d|2[5-9]|[39][0-4]))$_bf_$d{4}"},{i:"MP",lbl:"Northern Mariana Islands (the)",img:"mp.png",code:"+1",ex:"6702345678",ptrn:"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)$_bf_$d{4}"},{i:"MQ",lbl:"Martinique",img:"mq.png",code:"+596",ex:"696201234",ptrn:"69(?:6(?:[0-46-9]$_bf_$d|5[0-6])|727)$_bf_$d{4}"},{i:"MR",lbl:"Mauritania",img:"mr.png",code:"+222",ex:"22123456",ptrn:"[2-4][0-46-9]$_bf_$d{6}"},{i:"MS",lbl:"Montserrat",img:"ms.png",code:"+1",ex:"6644923456",ptrn:"664(?:3(?:49|9[1-6])|49[2-6])$_bf_$d{4}"},{i:"MT",lbl:"Malta",img:"mt.png",code:"+356",ex:"96961234",ptrn:"(?:7(?:210|[79]$_bf_$d$_bf_$d)|9(?:[29]$_bf_$d$_bf_$d|69[67]|8(?:1[1-3]|89|97)))$_bf_$d{4}"},{i:"MU",lbl:"Mauritius",img:"mu.png",code:"+230",ex:"52512345",ptrn:"5(?:4(?:2[1-389]|7[1-9])|87[15-8])$_bf_$d{4}|5(?:2[5-9]|4[3-589]|[57]$_bf_$d|8[0-689]|9[0-8])$_bf_$d{5}"},{i:"MV",lbl:"Maldives",img:"mv.png",code:"+960",ex:"7712345",ptrn:"46[46]$_bf_$d{4}|(?:7$_bf_$d|9[13-9])$_bf_$d{5}"},{i:"MW",lbl:"Malawi",img:"mw.png",code:"+265",ex:"991234567",ptrn:"111$_bf_$d{6}|(?:31|77|88|9[89])$_bf_$d{7}"},{i:"MX",lbl:"Mexico",img:"mx.png",code:"+52",ex:"12221234567",ptrn:"6571$_bf_$d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3$_bf_$d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]$_bf_$d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1$_bf_$d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3$_bf_$d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4$_bf_$d|8[1-35-9]|9[2-689])|5(?:[56]$_bf_$d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1$_bf_$d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9$_bf_$d))$_bf_$d{7}"},{i:"MY",lbl:"Malaysia",img:"my.png",code:"+60",ex:"123456789",ptrn:"1(?:1888[69]|4400|8(?:47|8[27])[0-4])$_bf_$d{4}|1(?:0(?:[23568]$_bf_$d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]$_bf_$d$_bf_$d|6(?:0[5-9]|[1-9]$_bf_$d)|7(?:[0134]$_bf_$d|2[1-9]|5[0-6]))|(?:(?:[269]|59)$_bf_$d|[37][1-9]|4[235-9])$_bf_$d|8(?:1[23]|[236]$_bf_$d|4[06]|5[7-9]|7[016-9]|8[01]|9[0-8]))$_bf_$d{5}"},{i:"MZ",lbl:"Mozambique",img:"mz.png",code:"+258",ex:"821234567",ptrn:"8[2-79]$_bf_$d{7}"},{i:"NA",lbl:"Namibia",img:"na.png",code:"+264",ex:"811234567",ptrn:"(?:60|8[1245])$_bf_$d{7}"},{i:"NC",lbl:"New Caledonia",img:"nc.png",code:"+687",ex:"751234",ptrn:"(?:5[0-4]|[79]$_bf_$d|8[0-79])$_bf_$d{4}"},{i:"NE",lbl:"Niger (the)",img:"ne.png",code:"+227",ex:"93123456",ptrn:"(?:23|7[04]|[89]$_bf_$d)$_bf_$d{6}"},{i:"NF",lbl:"Norfolk Island",img:"nf.png",code:"+672",ex:"381234",ptrn:"(?:14|3[58])$_bf_$d{4}"},{i:"NG",lbl:"Nigeria",img:"ng.png",code:"+234",ex:"8021234567",ptrn:"(?:702[0-24-9]|8(?:01|19)[01])$_bf_$d{6}|(?:70[13-689]|8(?:0[2-9]|1[0-8])|9(?:0[1-9]|1[2356]))$_bf_$d{7}"},{i:"NI",lbl:"Nicaragua",img:"ni.png",code:"+505",ex:"81234567",ptrn:"(?:5(?:5[0-7]|[78]$_bf_$d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8$_bf_$d)$_bf_$d)$_bf_$d{5}"},{i:"NL",lbl:"Netherlands (the)",img:"nl.png",code:"+31",ex:"612345678",ptrn:"6[1-58]$_bf_$d{7}"},{i:"NO",lbl:"Norway",img:"no.png",code:"+47",ex:"40612345",ptrn:"(?:4[015-8]|59|9$_bf_$d)$_bf_$d{6}"},{i:"NP",lbl:"Nepal",img:"np.png",code:"+977",ex:"9841234567",ptrn:"9(?:6[0-3]|7[245]|8[0-24-68])$_bf_$d{7}"},{i:"NR",lbl:"Nauru",img:"nr.png",code:"+674",ex:"5551234",ptrn:"(?:55[3-9]|666|8$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"NU",lbl:"Niue",img:"nu.png",code:"+683",ex:"8884012",ptrn:"888[4-9]$_bf_$d{3}"},{i:"NZ",lbl:"New Zealand",img:"nz.png",code:"+64",ex:"211234567",ptrn:"2[0-27-9]$_bf_$d{7,8}|21$_bf_$d{6}"},{i:"OM",lbl:"Oman",img:"om.png",code:"+968",ex:"92123456",ptrn:"1505$_bf_$d{4}|(?:7(?:[1289]$_bf_$d|70)|9(?:0[1-9]|[1-9]$_bf_$d))$_bf_$d{5}"},{i:"PA",lbl:"Panama",img:"pa.png",code:"+507",ex:"61234567",ptrn:"(?:1[16]1|21[89]|6(?:[02-9]$_bf_$d|1[0-8])$_bf_$d|8(?:1[01]|7[23]))$_bf_$d{4}"},{i:"PE",lbl:"Peru",img:"pe.png",code:"+51",ex:"912345678",ptrn:"9$_bf_$d{8}"},{i:"PF",lbl:"French Polynesia",img:"pf.png",code:"+689",ex:"87123456",ptrn:"8[7-9]$_bf_$d{6}"},{i:"PG",lbl:"Papua New Guinea",img:"pg.png",code:"+675",ex:"70123456",ptrn:"(?:7$_bf_$d|8[18])$_bf_$d{6}"},{i:"PH",lbl:"Philippines (the)",img:"ph.png",code:"+63",ex:"9051234567",ptrn:"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[2357]$_bf_$d|4[2-9]|6[0-35-9]|8[135-9]|9[1-9]))$_bf_$d{7}"},{i:"PK",lbl:"Pakistan",img:"pk.png",code:"+92",ex:"3012345678",ptrn:"3(?:[014]$_bf_$d|2[0-5]|3[0-7]|55|64)$_bf_$d{7}"},{i:"PL",lbl:"Poland",img:"pl.png",code:"+48",ex:"512345678",ptrn:"211(?:1$_bf_$d|3[1-5])$_bf_$d{4}|(?:45|5[0137]|6[069]|7[2389]|88)$_bf_$d{7}"},{i:"PM",lbl:"Saint Pierre and Miquelon",img:"pm.png",code:"+508",ex:"551234",ptrn:"(?:4[02-4]|5[05])$_bf_$d{4}"},{i:"PR",lbl:"Puerto Rico",img:"pr.png",code:"+1",ex:"7872345678",ptrn:"(?:787|939)[2-9]$_bf_$d{6}"},{i:"PS",lbl:"Palestine, State of",img:"ps.png",code:"+970",ex:"599123456",ptrn:"5[69]$_bf_$d{7}"},{i:"PT",lbl:"Portugal",img:"pt.png",code:"+351",ex:"912345678",ptrn:"6[0356]92(?:30|9$_bf_$d)$_bf_$d{3}|(?:(?:16|6[0356])93|9(?:[1-36]$_bf_$d$_bf_$d|480))$_bf_$d{5}"},{i:"PW",lbl:"Palau",img:"pw.png",code:"+680",ex:"6201234",ptrn:"(?:46[0-5]|6[2-4689]0)$_bf_$d{4}|(?:45|77|88)$_bf_$d{5}"},{i:"PY",lbl:"Paraguay",img:"py.png",code:"+595",ex:"961456789",ptrn:"9(?:51|6[129]|[78][1-6]|9[1-5])$_bf_$d{6}"},{i:"QA",lbl:"Qatar",img:"qa.png",code:"+974",ex:"33123456",ptrn:"(?:28|[35-7]$_bf_$d)$_bf_$d{6}"},{i:"RE",lbl:"Réunion",img:"re.png",code:"+262",ex:"692123456",ptrn:"(?:69(?:2$_bf_$d$_bf_$d|3(?:[06][0-46]|1[013]|2[0-2]|3[0-39]|4$_bf_$d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))|9769$_bf_$d)$_bf_$d{4}"},{i:"RO",lbl:"Romania",img:"ro.png",code:"+40",ex:"712034567",ptrn:"7020$_bf_$d{5}|7(?:0[013-9]|1[0-2]|[2-7]$_bf_$d|8[03-8]|9[019])$_bf_$d{6}"},{i:"RS",lbl:"Serbia",img:"rs.png",code:"+381",ex:"601234567",ptrn:"6(?:[0-689]|7$_bf_$d)$_bf_$d{6,7}"},{i:"RU",lbl:"Russian Federation (the)",img:"ru.png",code:"+7",ex:"9123456789",ptrn:"9$_bf_$d{9}"},{i:"RW",lbl:"Rwanda",img:"rw.png",code:"+250",ex:"720123456",ptrn:"7[2389]$_bf_$d{7}"},{i:"SA",lbl:"Saudi Arabia",img:"sa.png",code:"+966",ex:"512345678",ptrn:"579[01]$_bf_$d{5}|5(?:[013-689]$_bf_$d|7[0-36-8])$_bf_$d{6}"},{i:"SB",lbl:"Solomon Islands",img:"sb.png",code:"+677",ex:"7421234",ptrn:"48$_bf_$d{3}|(?:(?:7[1-9]|8[4-9])$_bf_$d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]$_bf_$d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))$_bf_$d{4}"},{i:"SC",lbl:"Seychelles",img:"sc.png",code:"+248",ex:"2510123",ptrn:"2[5-8]$_bf_$d{5}"},{i:"SD",lbl:"Sudan (the)",img:"sd.png",code:"+249",ex:"911231234",ptrn:"(?:1[0-2]|9[0-3569])$_bf_$d{7}"},{i:"SE",lbl:"Sweden",img:"se.png",code:"+46",ex:"701234567",ptrn:"7[02369]$_bf_$d{7}"},{i:"SG",lbl:"Singapore",img:"sg.png",code:"+65",ex:"81234567",ptrn:"(?:8(?:0(?:[13]$_bf_$d|2[013-9]|4[0-35-7])|[1-8]$_bf_$d$_bf_$d|9(?:[0-4]$_bf_$d|5[0-2]))|9[0-8]$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"SH",lbl:"Saint Helena, Ascension and Tristan da Cunha",img:"sh.png",code:"+290",ex:"51234",ptrn:"[56]$_bf_$d{4}"},{i:"SI",lbl:"Slovenia",img:"si.png",code:"+386",ex:"31234567",ptrn:"65(?:1$_bf_$d|55|[67]0)$_bf_$d{4}|(?:[37][01]|4[0139]|51|6[489])$_bf_$d{6}"},{i:"SJ",lbl:"Svalbard and Jan Mayen",img:"sj.png",code:"+47",ex:"41234567",ptrn:"(?:4[015-8]|59|9$_bf_$d)$_bf_$d{6}"},{i:"SK",lbl:"Slovakia",img:"sk.png",code:"+421",ex:"912123456",ptrn:"909[1-9]$_bf_$d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5$_bf_$d)$_bf_$d{6}"},{i:"SL",lbl:"Sierra Leone",img:"sl.png",code:"+232",ex:"25123456",ptrn:"(?:25|3[0-5]|66|7[3-9]|8[08]|9[09])$_bf_$d{6}"},{i:"SM",lbl:"San Marino",img:"sm.png",code:"+378",ex:"66661212",ptrn:"6[16]$_bf_$d{6}"},{i:"SN",lbl:"Senegal",img:"sn.png",code:"+221",ex:"701234567",ptrn:"75(?:01|[38]3)$_bf_$d{5}|7(?:[06-8]$_bf_$d|21|5[4-7]|90)$_bf_$d{6}"},{i:"SO",lbl:"Somalia",img:"so.png",code:"+252",ex:"71123456",ptrn:"(?:(?:15|(?:3[59]|4[89]|79|8[08])$_bf_$d|6(?:0[5-7]|[1-9]$_bf_$d)|9(?:0$_bf_$d|[2-9]))$_bf_$d|2(?:4$_bf_$d|8))$_bf_$d{5}|(?:6$_bf_$d|7[1-9])$_bf_$d{6}"},{i:"SR",lbl:"Suriname",img:"sr.png",code:"+597",ex:"7412345",ptrn:"(?:7[124-7]|8[124-9])$_bf_$d{5}"},{i:"SS",lbl:"South Sudan",img:"ss.png",code:"+211",ex:"977123456",ptrn:"(?:12|9[1257-9])$_bf_$d{7}"},{i:"ST",lbl:"Sao Tome and Principe",img:"st.png",code:"+239",ex:"9812345",ptrn:"900[5-9]$_bf_$d{3}|9(?:0[1-9]|[89]$_bf_$d)$_bf_$d{4}"},{i:"SV",lbl:"El Salvador",img:"sv.png",code:"+503",ex:"70123456",ptrn:"66(?:[02-9]$_bf_$d$_bf_$d|1(?:[02-9]$_bf_$d|16))$_bf_$d{3}|(?:6[0-57-9]|7$_bf_$d)$_bf_$d{6}"},{i:"SX",lbl:"Sint Maarten (Dutch part)",img:"sx.png",code:"+1",ex:"7215205678",ptrn:"7215(?:1[02]|2$_bf_$d|5[034679]|8[014-8])$_bf_$d{4}"},{i:"SY",lbl:"Syrian Arab Republic",img:"sy.png",code:"+963",ex:"944567890",ptrn:"9(?:22|[3-689]$_bf_$d)$_bf_$d{6}"},{i:"SZ",lbl:"Eswatini",img:"sz.png",code:"+268",ex:"76123456",ptrn:"7[6-9]$_bf_$d{6}"},{i:"TC",lbl:"Turks and Caicos Islands (the)",img:"tc.png",code:"+1",ex:"6492311234",ptrn:"649(?:2(?:3[129]|4[1-79])|3$_bf_$d$_bf_$d|4[34][1-3])$_bf_$d{4}"},{i:"TD",lbl:"Chad",img:"td.png",code:"+235",ex:"63012345",ptrn:"(?:6[023568]|77|9$_bf_$d)$_bf_$d{6}"},{i:"TG",lbl:"Togo",img:"tg.png",code:"+228",ex:"90112345",ptrn:"(?:7[09]|9[0-36-9])$_bf_$d{6}"},{i:"TH",lbl:"Thailand",img:"th.png",code:"+66",ex:"812345678",ptrn:"671[0-3]$_bf_$d{5}|(?:14|6[1-6]|[89]$_bf_$d)$_bf_$d{7}"},{i:"TJ",lbl:"Tajikistan",img:"tj.png",code:"+992",ex:"917123456",ptrn:"41[18]$_bf_$d{6}|(?:[034]0|11|2[02]|5[05]|7[07]|8[08]|9$_bf_$d)$_bf_$d{7}"},{i:"TK",lbl:"Tokelau",img:"tk.png",code:"+690",ex:"7290",ptrn:"7[2-4]$_bf_$d{2,5}"},{i:"TL",lbl:"Timor-Leste",img:"tl.png",code:"+670",ex:"77212345",ptrn:"7[2-8]$_bf_$d{6}"},{i:"TM",lbl:"Turkmenistan",img:"tm.png",code:"+993",ex:"66123456",ptrn:"6$_bf_$d{7}"},{i:"TN",lbl:"Tunisia",img:"tn.png",code:"+216",ex:"20123456",ptrn:"3(?:001|[12]40)$_bf_$d{4}|(?:(?:[259]$_bf_$d|4[0-7])$_bf_$d|3(?:1[1-35]|6[0-4]|91))$_bf_$d{5}"},{i:"TO",lbl:"Tonga",img:"to.png",code:"+676",ex:"7715123",ptrn:"(?:55[4-6]|6(?:[09]$_bf_$d|3[02]|8[15-9])|(?:7$_bf_$d|8[46-9])$_bf_$d|999)$_bf_$d{4}"},{i:"TR",lbl:"Turkey",img:"tr.png",code:"+90",ex:"5012345678",ptrn:"56161$_bf_$d{5}|5(?:0[15-7]|1[06]|24|[34]$_bf_$d|5[1-59]|9[46])$_bf_$d{7}"},{i:"TT",lbl:"Trinidad and Tobago",img:"tt.png",code:"+1",ex:"8682911234",ptrn:"868(?:(?:2[5-9]|3$_bf_$d)$_bf_$d|4(?:3[0-6]|[6-9]$_bf_$d)|6(?:20|78|8$_bf_$d)|7(?:0[1-9]|1[02-9]|[2-9]$_bf_$d))$_bf_$d{4}"},{i:"TV",lbl:"Tuvalu",img:"tv.png",code:"+688",ex:"901234",ptrn:"(?:7[01]$_bf_$d|90)$_bf_$d{4}"},{i:"TW",lbl:"Taiwan (Province of China)",img:"tw.png",code:"+886",ex:"912345678",ptrn:"(?:40001[0-2]|9[0-8]$_bf_$d{4})$_bf_$d{3}"},{i:"TZ",lbl:"Tanzania, United Republic of",img:"tz.png",code:"+255",ex:"621234567",ptrn:"77[2-9]$_bf_$d{6}|(?:6[1-9]|7[1-689])$_bf_$d{7}"},{i:"UA",lbl:"Ukraine",img:"ua.png",code:"+380",ex:"501234567",ptrn:"(?:50|6[36-8]|7[1-3]|9[1-9])$_bf_$d{7}"},{i:"UG",lbl:"Uganda",img:"ug.png",code:"+256",ex:"712345678",ptrn:"726[01]$_bf_$d{5}|7(?:[0157-9]$_bf_$d|20|36|[46][0-4])$_bf_$d{6}"},{i:"US",lbl:"United States of America (the)",img:"us.png",code:"+1",ex:"2015550123",ptrn:"5056(?:[0-35-9]$_bf_$d|4[46])$_bf_$d{4}|(?:4722|505[2-57-9])$_bf_$d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]$_bf_$d{6}"},{i:"UY",lbl:"Uruguay",img:"uy.png",code:"+598",ex:"94231234",ptrn:"9[1-9]$_bf_$d{6}"},{i:"UZ",lbl:"Uzbekistan",img:"uz.png",code:"+998",ex:"912345678",ptrn:"(?:(?:33|88|9[0-57-9])$_bf_$d{3}|55(?:50[013]|90$_bf_$d)|6(?:1(?:2(?:2[01]|98)|35[0-4]|50$_bf_$d|61[23]|7(?:[01][017]|4$_bf_$d|55|9[5-9]))|2(?:(?:11|7$_bf_$d)$_bf_$d|2(?:[12]1|9[01379])|5(?:[126]$_bf_$d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7$_bf_$d)$_bf_$d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])$_bf_$d|4(?:56|83)|7(?:[07]$_bf_$d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0$_bf_$d|[39][07])|9(?:0$_bf_$d|7[079]))|9(?:2(?:1[1267]|3[01]|5$_bf_$d|7[0-4])|(?:5[67]|7$_bf_$d)$_bf_$d|6(?:2[0-26]|8$_bf_$d)))|7(?:[07]$_bf_$d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98$_bf_$d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57$_bf_$d|7(?:0$_bf_$d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])$_bf_$d|5(?:0[0-4]|5[579]|9$_bf_$d)|7(?:[0-3579]$_bf_$d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8$_bf_$d|9[5-9])|7(?:0$_bf_$d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]$_bf_$d))|5(?:112|2(?:0$_bf_$d|2[29]|[49]4)|3[1568]$_bf_$d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]$_bf_$d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39$_bf_$d|41[179]|5(?:[349]$_bf_$d|5[0-2])|7(?:0[017]|[13]$_bf_$d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7$_bf_$d)|57[02569]|7(?:2[05-9]|3[37]|4$_bf_$d|60|7[2579]|87|9[07]))))$_bf_$d{4}"},{i:"VA",lbl:"Holy See (the)",img:"va.png",code:"+39",ex:"3123456789",ptrn:"3[1-9]$_bf_$d{8}|3[2-9]$_bf_$d{7}"},{i:"VC",lbl:"Saint Vincent and the Grenadines",img:"vc.png",code:"+1",ex:"7844301234",ptrn:"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)$_bf_$d{4}"},{i:"VE",lbl:"Venezuela (Bolivarian Republic of)",img:"ve.png",code:"+58",ex:"4121234567",ptrn:"4(?:1[24-8]|2[46])$_bf_$d{7}"},{i:"VG",lbl:"Virgin Islands (British)",img:"vg.png",code:"+1",ex:"2843001234",ptrn:"284496[6-9]$_bf_$d{3}|284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|5(?:4[0-7]|68|9[69]))$_bf_$d{4}"},{i:"VI",lbl:"Virgin Islands (U.S.)",img:"vi.png",code:"+1",ex:"3406421234",ptrn:"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7$_bf_$d)|884|998)$_bf_$d{4}"},{i:"VN",lbl:"Viet Nam",img:"vn.png",code:"+84",ex:"912345678",ptrn:"(?:5(?:2[238]|59)|89[689]|99[013-9])$_bf_$d{6}|(?:3$_bf_$d|5[689]|7[06-9]|8[1-8]|9[0-8])$_bf_$d{7}"},{i:"VU",lbl:"Vanuatu",img:"vu.png",code:"+678",ex:"5912345",ptrn:"(?:[58]$_bf_$d|7[013-7])$_bf_$d{5}"},{i:"WF",lbl:"Wallis and Futuna",img:"wf.png",code:"+681",ex:"821234",ptrn:"(?:72|8[23])$_bf_$d{4}"},{i:"WS",lbl:"Samoa",img:"ws.png",code:"+685",ex:"7212345",ptrn:"(?:7[1-35-7]|8(?:[3-7]|9$_bf_$d{3}))$_bf_$d{5}"},{i:"YE",lbl:"Yemen",img:"ye.png",code:"+967",ex:"712345678",ptrn:"7[0137]$_bf_$d{7}"},{i:"YT",lbl:"Mayotte",img:"yt.png",code:"+262",ex:"639012345",ptrn:"639(?:0[0-79]|1[019]|[267]$_bf_$d|3[09]|40|5[05-9]|9[04-79])$_bf_$d{4}"},{i:"ZA",lbl:"South Africa",img:"za.png",code:"+27",ex:"711234567",ptrn:"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])$_bf_$d{3}|8[1-4]$_bf_$d{3,7}|(?:2[27]|47|54)4950$_bf_$d{3}|(?:1(?:049[2-4]|9[12]$_bf_$d$_bf_$d)|(?:6$_bf_$d|7[0-46-9])$_bf_$d{3}|8(?:5$_bf_$d{3}|7(?:08[67]|158|28[5-9]|310)))$_bf_$d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920$_bf_$d{3}|(?:12|[2-5]1)492$_bf_$d{4}"},{i:"ZM",lbl:"Zambia",img:"zm.png",code:"+260",ex:"955123456",ptrn:"(?:7[679]|9[5-8])$_bf_$d{7}"},{i:"ZW",lbl:"Zimbabwe",img:"zw.png",code:"+263",ex:"712345678",ptrn:"7(?:[178]$_bf_$d|3[1-9])$_bf_$d{6}"}],valid:{},err:{invalid:{dflt:'<p style="margin:0">Please enter a valid phone number</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"phone-number-19-6"},"fld_key-7":{typ:"select",lbl:"Complaint Type",phHide:!0,ph:"Select an Option",optionsList:[{"List-1":[{lbl:"Product"},{lbl:"Service"},{lbl:"Billing"},{lbl:"Shipping"},{lbl:"Other"}]}],config:{selectedOptImage:!1,selectedOptClearable:!0,searchClearable:!0,optionIcon:!1,placeholder:"Select an option",showSearchPh:!0,searchPlaceholder:"Search options..",maxHeight:400,multipleSelect:!1,showChip:!1,selectedOptImgSrc:"test.png",closeOnSelect:!0,activeList:0,allowCustomOption:!1,defaultValue:""},valid:{req:!0,reqShow:!0,reqPos:"after"},err:{mn:{dflt:'<p style="margin:0">Minimum 0 file required</p>',show:!0},mx:{dflt:'<p style="margin:0">Maximum 0 file can uploaded</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"select-19-7"},"fld_key-8":{typ:"date",lbl:"Date of Incident",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"date-19-8"},"fld_key-9":{typ:"number",lbl:"Order Number/Transaction ID",ph:"e.g. 675",phHide:!0,valid:{},err:{invalid:{dflt:'<p style="margin:0">Number is invalid</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"number-19-9"},"fld_key-10":{typ:"file-up",lbl:"Attachments ",btnTxt:"Attach File",valid:{},prefixIcn:"https://bitapps.pro/wp-content/plugins/bit-form/assets/../static/file-upload/paperclip.svg",err:{maxSize:{dflt:'<p style="margin:0">File Size is Exceeded</p>',show:!0},minFile:{dflt:'<p style="margin:0">Minimum 0 file required</p>',show:!0},maxFile:{dflt:'<p style="margin:0">Maximum 0 file can uploaded</p>',show:!0}},customClasses:{},customAttributes:{},config:{multiple:!0,allowMaxSize:!0,showMaxSize:!0,maxSize:2,sizeUnit:"MB",isItTotalMax:!1,showSelectStatus:!0,fileSelectStatus:"No File Selected",allowedFileType:"",showFileList:!0,fileExistMsg:"A file allready exist",showFilePreview:!0,showFileSize:!0,duplicateAllow:!1,accept:"",minFile:0,maxFile:0},fieldName:"file-up-19-10",subtitle:"supporting documents such as receipts, screenshots, or photos.",subtitleHide:!0},"fld_key-11":{typ:"select",lbl:"Urgency of the Complaint",phHide:!0,ph:"Select an Option",optionsList:[{"List-1":[{lbl:"Low"},{lbl:"Medium"},{lbl:"High"}]}],config:{selectedOptImage:!1,selectedOptClearable:!0,searchClearable:!0,optionIcon:!1,placeholder:"Select an option",showSearchPh:!0,searchPlaceholder:"Search options..",maxHeight:400,multipleSelect:!1,showChip:!1,selectedOptImgSrc:"test.png",closeOnSelect:!0,activeList:0,allowCustomOption:!1,defaultValue:""},valid:{},err:{mn:{dflt:'<p style="margin:0">Minimum 0 file required</p>',show:!0},mx:{dflt:'<p style="margin:0">Maximum 0 file can uploaded</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"select-19-11"},"fld_key-12":{typ:"text",lbl:"Last Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"text-fld_key-12",acHide:!0,ac:"name",ph:"Doe"},"fld_key-13":{typ:"decision-box",adminLbl:"Decision Box",adminLblHide:!0,lbl:'<p style="margin: 0;">I agree to the <a href="#" rel="noopener">Terms & Conditions</a> and consent to the use of my data for resolving this complaint.</p>',msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"decision-box-19-13"}},additionalSettings:{enabled:{empty_submission:!0},settings:{empty_submission:{message:"Empty form cannot be submitted."}}}},Td={name:"Disaster Relief Donation",formInfo:{formName:"Disaster Relief Donation"},themeVars:{lgDarkThemeVars:{},lgLightThemeVars:{"--btn-bdr":"none","--btn-bdr-rad":"var(--g-bdr-rad)","--btn-bdr-width":"0","--btn-f-style":"","--btn-fs":"var(--fld-fs)","--btn-fw":700,"--btn-m":"0px 0px","--btn-p":"12px 15px","--dir":"ltr","--err-bdr":"solid","--err-bdr-rad":"3px","--err-bdr-width":"1px","--err-h":"","--err-m":"4px 0 0 0","--err-p":"7px","--err-txt-al":"","--err-txt-font-style":"","--err-txt-font-w":400,"--err-txt-fs":"12px","--err-txt-pre-i-bdr":"","--err-txt-pre-i-bdr-rad":"8px","--err-txt-pre-i-bdr-width":"","--err-txt-pre-i-h":"15px","--err-txt-pre-i-m":"0px 5px 0px 0px","--err-txt-pre-i-p":"","--err-txt-pre-i-w":"15px","--err-txt-suf-i-bdr":"","--err-txt-suf-i-bdr-rad":"8px","--err-txt-suf-i-bdr-width":"","--err-txt-suf-i-h":"15px","--err-txt-suf-i-m":"0px 0px 0px 5px","--err-txt-suf-i-p":"","--err-txt-suf-i-w":"15px","--fld-f-style":"normal","--fld-f-w":500,"--fld-fs":"14px","--fld-lbl-bdr":"","--fld-lbl-bdr-rad":"","--fld-lbl-bdr-width":"","--fld-lbl-fs":"14px","--fld-lbl-m":"","--fld-lbl-p":"","--fld-lbl-pn":"","--fld-m":"","--fld-p":"10px","--fld-wrp-bdr":"","--fld-wrp-bdr-rad":"","--fld-wrp-bdr-width":"","--fld-wrp-dis":"block","--fld-wrp-fdir":"","--fld-wrp-justify":"center","--fld-wrp-m":"","--fld-wrp-p":"7px 5px 7px 5px","--fld-wrp-width":"","--g-bdr-rad":"3px","--g-bdr-width":"2px","--g-font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif","--g-o-offset":"1px","--g-o-s":"solid","--g-o-w":"1px","--global-fld-bdr":"solid","--global-outline":"1px solid var(--global-accent-color)","--global-outline-offset":"1px","--hlp-txt-al":"","--hlp-txt-bdr":"","--hlp-txt-bdr-rad":"","--hlp-txt-bdr-width":"","--hlp-txt-font-style":"","--hlp-txt-font-w":400,"--hlp-txt-fs":"12px","--hlp-txt-m":"2px 0px 0px 0px","--hlp-txt-p":"3px 0","--hlp-txt-pre-i-bdr":"","--hlp-txt-pre-i-bdr-rad":"8px","--hlp-txt-pre-i-bdr-width":"","--hlp-txt-pre-i-h":"15px","--hlp-txt-pre-i-m":"0px 5px 0px 0px","--hlp-txt-pre-i-p":"","--hlp-txt-pre-i-w":"15px","--hlp-txt-suf-i-bdr":"","--hlp-txt-suf-i-bdr-rad":"8px","--hlp-txt-suf-i-bdr-width":"","--hlp-txt-suf-i-h":"15px","--hlp-txt-suf-i-m":"0px 0px 0px 5px","--hlp-txt-suf-i-p":"","--hlp-txt-suf-i-w":"15px","--inp-wrp-width":"","--lbl-al":"","--lbl-font-style":"","--lbl-font-w":600,"--lbl-pre-i-bdr":"","--lbl-pre-i-bdr-rad":"8px","--lbl-pre-i-bdr-width":"","--lbl-pre-i-h":"20px","--lbl-pre-i-m":"0px 5px 0px 0px","--lbl-pre-i-p":"","--lbl-pre-i-w":"20px","--lbl-suf-i-bdr":"","--lbl-suf-i-bdr-rad":"8px","--lbl-suf-i-bdr-width":"","--lbl-suf-i-h":"20px","--lbl-suf-i-m":"0px 0px 0px 5px","--lbl-suf-i-p":"","--lbl-suf-i-w":"20px","--lbl-wrp-bdr":"","--lbl-wrp-bdr-rad":"","--lbl-wrp-bdr-width":"","--lbl-wrp-m":"0 0 4px 0","--lbl-wrp-p":"","--lbl-wrp-sa":"","--lbl-wrp-width":"100%","--pre-i-bdr":"","--pre-i-bdr-rad":"8px","--pre-i-bdr-width":"","--pre-i-h":"25px","--pre-i-m":"0px 0px 0px 3px","--pre-i-p":"","--pre-i-w":"25px","--req-smbl-fs":"","--req-smbl-fw":"","--req-smbl-lh":"","--req-smbl-lt":"","--req-smbl-m":"","--req-smbl-p":"","--req-smbl-pn":"","--req-smbl-rt":"","--sub-titl-al":"","--sub-titl-bdr":"","--sub-titl-bdr-rad":"","--sub-titl-bdr-width":"","--sub-titl-font-style":"","--sub-titl-font-w":500,"--sub-titl-fs":"12px","--sub-titl-m":"2px 0px 0px 0px","--sub-titl-p":"3px 0","--sub-titl-pre-i-bdr":"","--sub-titl-pre-i-bdr-rad":"8px","--sub-titl-pre-i-bdr-width":"","--sub-titl-pre-i-h":"15px","--sub-titl-pre-i-m":"0px 5px 0px 0px","--sub-titl-pre-i-p":"","--sub-titl-pre-i-w":"15px","--sub-titl-suf-i-bdr":"","--sub-titl-suf-i-bdr-rad":"8px","--sub-titl-suf-i-bdr-width":"","--sub-titl-suf-i-h":"15px","--sub-titl-suf-i-m":"0px 0px 0px 5px","--sub-titl-suf-i-p":"","--sub-titl-suf-i-w":"15px","--suf-i-bdr":"","--suf-i-bdr-rad":"8px","--suf-i-bdr-width":"","--suf-i-h":"25px","--suf-i-m":"0px 3px 0px 0px","--suf-i-p":"","--suf-i-w":"25px"},mdDarkThemeVars:{},mdLightThemeVars:{},smDarkThemeVars:{},smLightThemeVars:{}},themeColors:{darkThemeColors:{"--bg-0":"hsl(213, 32%, 14%)","--bg-10":"hsl(213, 32%, 24%)","--bg-100":"hsl(213, 32%, 100%)","--bg-15":"hsl(213, 32%, 29%)","--bg-20":"hsl(213, 32%, 34%)","--bg-25":"hsl(213, 32%, 39%)","--bg-30":"hsl(213, 32%, 44%)","--bg-35":"hsl(213, 32%, 49%)","--bg-40":"hsl(213, 32%, 54%)","--bg-45":"hsl(213, 32%, 59%)","--bg-5":"hsl(213, 32%, 19%)","--bg-50":"hsl(213, 32%, 64%)","--bg-55":"hsl(213, 32%, 69%)","--bg-60":"hsl(213, 32%, 74%)","--bg-65":"hsl(213, 32%, 79%)","--bg-70":"hsl(213, 32%, 84%)","--bg-75":"hsl(213, 32%, 89%)","--bg-80":"hsl(213, 32%, 94%)","--bg-85":"hsl(213, 32%, 99%)","--bg-90":"hsl(213, 32%, 100%)","--bg-95":"hsl(213, 32%, 100%)","--gah":215,"--gal":"67%","--gas":"100%","--gbg-h":206,"--gbg-l":"10%","--gbg-s":"14%","--gfbc-a":"16%","--gfbc-h":209,"--gfbc-l":"77%","--gfbc-s":"51%","--gfbg-l":"13%","--gfbg-s":"12%","--gfh":215,"--gfl":"91%","--gfs":"35%","--global-accent-color":"hsla(215, 100%, 67%, 100%)","--global-bg-color":"hsla(206, 14%, 10%, 100%)","--global-fld-bdr-clr":"hsla(209, 51%, 77%, 16%)","--global-fld-bg-color":"hsla(210, 12%, 13%, 100%)","--global-font-color":"hsla(215, 35%, 91%, 100%)"},lightThemeColors:{"--bf-lower-track-clr":"var(--global-accent-color)","--bf-upper-track-clr":"#ffffff","--bg-0":"hsl(0, 0%, 100%)","--bg-10":"hsl(0, 0%, 90%)","--bg-100":"hsl(0, 0%, 0%)","--bg-15":"hsl(0, 0%, 85%)","--bg-20":"hsl(0, 0%, 80%)","--bg-25":"hsl(0, 0%, 75%)","--bg-30":"hsl(0, 0%, 70%)","--bg-35":"hsl(0, 0%, 65%)","--bg-40":"hsl(0, 0%, 60%)","--bg-45":"hsl(0, 0%, 55%)","--bg-5":"hsl(0, 0%, 95%)","--bg-50":"hsl(0, 0%, 50%)","--bg-55":"hsl(0, 0%, 45%)","--bg-60":"hsl(0, 0%, 40%)","--bg-65":"hsl(0, 0%, 35%)","--bg-70":"hsl(0, 0%, 30%)","--bg-75":"hsl(0, 0%, 25%)","--bg-80":"hsl(0, 0%, 20%)","--bg-85":"hsl(0, 0%, 15%)","--bg-90":"hsl(0, 0%, 10%)","--bg-95":"hsl(0, 0%, 5%)","--btn-bdr-clr":"none","--btn-bg":"var(--global-accent-color)","--btn-bgc":"var(--global-accent-color)","--btn-c":"hsla(0, 0%, 100%, 100%)","--btn-sh":"","--ck-bdr-c":"hsla(210, 78%, 96%, 100%)","--err-bdr-clr":"hsla(0, 55%, 78%, 100%)","--err-bg":"hsla(0, 100%, 96%, 100%)","--err-c":"hsla(0, 100%, 11%, 100%)","--err-sh":"","--err-txt-pre-i-bdr-clr":"","--err-txt-pre-i-clr":"","--err-txt-pre-i-fltr":"","--err-txt-pre-i-sh":"","--err-txt-suf-i-bdr-clr":"","--err-txt-suf-i-clr":"","--err-txt-suf-i-fltr":"","--err-txt-suf-i-sh":"","--fld-focs-i-fltr":"invert(16%) sepia(8%) saturate(288%) hue-rotate(181deg) brightness(92%) contrast(84%);","--fld-inp-c":"var(--global-font-color)","--fld-lbl-bdr-clr":"","--fld-lbl-bg":"","--fld-lbl-c":"var(--global-font-color)","--fld-lbl-sh":"","--fld-wrp-bdr-clr":"","--fld-wrp-bg":"","--fld-wrp-sh":"","--g-o-c":"hsla(217, 100%, 50%, 100%)","--gaa":"100%","--gah":216,"--gal":"21%","--gas":"2%","--gbg-a":"100%","--gbg-h":0,"--gbg-l":"100%","--gbg-s":"0%","--gfa":"100%","--gfbc-a":"100%","--gfbc-h":223,"--gfbc-l":"89%","--gfbc-s":"12%","--gfbg-a":"100%","--gfbg-h":210,"--gfbg-l":"98%","--gfbg-s":"25%","--gfh":218,"--gfl":"15%","--gfs":"76%","--global-accent-color":"hsla(216, 2%, 21%, 100%)","--global-bg-color":"hsla(0, 0%, 100%, 100%)","--global-fld-bdr-clr":"hsla(223, 12%, 89%, 100%)","--global-fld-bg-color":"hsla(210, 25%, 98%, 100%)","--global-font-color":"hsla(218, 76%, 15%, 100%)","--hlp-txt-bdr-clr":"","--hlp-txt-bg":"","--hlp-txt-c":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)","--hlp-txt-pre-i-bdr-clr":"","--hlp-txt-pre-i-clr":"","--hlp-txt-pre-i-fltr":"","--hlp-txt-pre-i-sh":"","--hlp-txt-sh":"","--hlp-txt-suf-i-bdr-clr":"","--hlp-txt-suf-i-clr":"","--hlp-txt-suf-i-fltr":"","--hlp-txt-suf-i-sh":"","--lbl-pre-i-bdr-clr":"","--lbl-pre-i-clr":"","--lbl-pre-i-fltr":"invert(99%) sepia(1%) saturate(2%) hue-rotate(213deg) brightness(115%) contrast(100%);","--lbl-pre-i-sh":"","--lbl-suf-i-bdr-clr":"","--lbl-suf-i-clr":"","--lbl-suf-i-fltr":"","--lbl-suf-i-sh":"","--lbl-wrp-bdr-clr":"","--lbl-wrp-bg":"","--lbl-wrp-sh":"","--pre-i-bdr-clr":"","--pre-i-clr":"","--pre-i-fltr":"","--pre-i-sh":"","--req-smbl-c":"var(--global-font-color)","--sub-titl-bdr-clr":"","--sub-titl-bg":"","--sub-titl-c":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)","--sub-titl-pre-i-bdr-clr":"","--sub-titl-pre-i-clr":"","--sub-titl-pre-i-fltr":"","--sub-titl-pre-i-sh":"","--sub-titl-sh":"","--sub-titl-suf-i-bdr-clr":"","--sub-titl-suf-i-clr":"","--sub-titl-suf-i-fltr":"","--sub-titl-suf-i-sh":"","--suf-i-bdr-clr":"","--suf-i-clr":"","--suf-i-fltr":"","--suf-i-sh":""}},layouts:{lg:[{w:60,h:69,x:0,y:0,i:"fld_key-9",moved:!1,static:!1},{w:60,h:77,x:0,y:69,i:"fld_key-2",moved:!1,static:!1},{w:60,h:77,x:0,y:146,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:223,i:"fld_key-4",moved:!1,static:!1},{w:30,h:77,x:0,y:300,i:"fld_key-5",moved:!1,static:!1},{w:30,h:77,x:30,y:300,i:"fld_key-10",moved:!1,static:!1},{w:60,h:105,x:0,y:377,i:"fld_key-7",moved:!1,static:!1},{w:60,h:41,x:0,y:482,i:"fld_key-6",moved:!1,static:!1},{w:60,h:109,x:0,y:523,i:"fld_key-8",minW:20,moved:!1,static:!1},{w:60,h:58,x:0,y:632,i:"fld_key-1",moved:!1,static:!1}],md:[{w:60,h:69,x:0,y:0,i:"fld_key-9",moved:!1,static:!1},{w:60,h:77,x:0,y:69,i:"fld_key-2",moved:!1,static:!1},{w:60,h:77,x:0,y:146,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:223,i:"fld_key-4",moved:!1,static:!1},{w:60,h:77,x:0,y:300,i:"fld_key-5",moved:!1,static:!1},{w:60,h:77,x:0,y:377,i:"fld_key-10",moved:!1,static:!1},{w:60,h:105,x:0,y:454,i:"fld_key-7",moved:!1,static:!1},{w:60,h:41,x:0,y:559,i:"fld_key-6",moved:!1,static:!1},{w:60,h:109,x:0,y:600,i:"fld_key-8",minW:20,moved:!1,static:!1},{w:60,h:58,x:0,y:709,i:"fld_key-1",moved:!1,static:!1}],sm:[{w:60,h:69,x:0,y:0,i:"fld_key-9",moved:!1,static:!1},{w:60,h:77,x:0,y:69,i:"fld_key-2",moved:!1,static:!1},{w:60,h:77,x:0,y:146,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:223,i:"fld_key-4",moved:!1,static:!1},{w:60,h:77,x:0,y:300,i:"fld_key-5",moved:!1,static:!1},{w:60,h:77,x:0,y:377,i:"fld_key-10",moved:!1,static:!1},{w:60,h:105,x:0,y:454,i:"fld_key-7",moved:!1,static:!1},{w:60,h:41,x:0,y:559,i:"fld_key-6",moved:!1,static:!1},{w:60,h:109,x:0,y:600,i:"fld_key-8",minW:20,moved:!1,static:!1},{w:60,h:58,x:0,y:709,i:"fld_key-1",moved:!1,static:!1}]},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit Your Donation",icn:{pos:"",url:""},valid:{hide:!0},customClasses:{},customAttributes:{},fieldName:"fld_key-1",fulW:!0,btnSufIcn:"${bf_main_domain}/wp-content/uploads/bitforms/icons/font-awesome-donate.svg"},"fld_key-2":{typ:"text",lbl:"Name",ph:"Enter your full name here",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"email",lbl:"Email",ph:"example@mail.com",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-3"},"fld_key-4":{typ:"phone-number",lbl:"Phone Number",ph:"Enter Phone Number",phHide:!0,config:{selectedFlagImage:!0,selectedCountryClearable:!0,searchClearable:!0,optionFlagImage:!0,defaultCountryKey:"",showSearchPh:!0,searchPlaceholder:"Search for countries",noCountryFoundText:"No Country Found",inputFormat:"+c #### ### ###",valueFormat:"+c #### ### ###"},options:[{i:"AD",lbl:"Andorra",img:"ad.png",code:"+376",ex:"312345",frmt:"+c ## ### ### ##",ptrn:"690$_bf_$d{6}|[356]$_bf_$d{5}"},{i:"AE",lbl:"United Arab Emirates (the)",img:"ae.png",code:"+971",ex:"501234567",ptrn:"5[024-68]$_bf_$d{7}"},{i:"AF",lbl:"Afghanistan",img:"af.png",code:"+93",ex:"701234567",ptrn:"7$_bf_$d{8}"},{i:"AG",lbl:"Antigua and Barbuda",img:"ag.png",code:"+1",ex:"2684641234",ptrn:"268(?:464|7(?:1[3-9]|[28]$_bf_$d|3[0246]|64|7[0-689]))$_bf_$d{4}"},{i:"AI",lbl:"Anguilla",img:"ai.png",code:"+1",ex:"2642351234",ptrn:"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))$_bf_$d{4}"},{i:"AL",lbl:"Albania",img:"al.png",code:"+355",ex:"672123456",ptrn:"6(?:[78][2-9]|9$_bf_$d)$_bf_$d{6}"},{i:"AM",lbl:"Armenia",img:"am.png",code:"+374",ex:"77123456",ptrn:"(?:33|4[1349]|55|77|88|9[13-9])$_bf_$d{6}"},{i:"AO",lbl:"Angola",img:"ao.png",code:"+244",ex:"923123456",ptrn:"9[1-49]$_bf_$d{7}"},{i:"AR",lbl:"Argentina",img:"ar.png",code:"+54",ex:"91123456789",ptrn:"93888[013-9]$_bf_$d{5}|9(?:29(?:54|66)|3(?:777|865))[2-8]$_bf_$d{5}|93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]$_bf_$d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]$_bf_$d{5}|9(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]$_bf_$d{5}|9(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]$_bf_$d{5}|(?:675$_bf_$d|9(?:11[1-8]$_bf_$d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6]))))$_bf_$d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4$_bf_$d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]$_bf_$d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]$_bf_$d{5}"},{i:"AS",lbl:"American Samoa",img:"as.png",code:"+1",ex:"6847331234",ptrn:"684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))$_bf_$d{4}"},{i:"AT",lbl:"Austria",img:"at.png",code:"+43",ex:"664123456",ptrn:"6(?:5[0-3579]|6[013-9]|[7-9]$_bf_$d)$_bf_$d{4,10}"},{i:"AU",lbl:"Australia",img:"au.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"AW",lbl:"Aruba",img:"aw.png",code:"+297",ex:"5601234",ptrn:"(?:290|5[69]$_bf_$d|6(?:[03]0|22|4[0-2]|[69]$_bf_$d)|7(?:[34]$_bf_$d|7[07])|9(?:6[45]|9[4-8]))$_bf_$d{4}"},{i:"AX",lbl:"Åland Islands",img:"ax.png",code:"+358",ex:"412345678",ptrn:"4946$_bf_$d{2,6}|(?:4[0-8]|50)$_bf_$d{4,8}"},{i:"AZ",lbl:"Azerbaijan",img:"az.png",code:"+994",ex:"401234567",ptrn:"36554$_bf_$d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)$_bf_$d{7}"},{i:"BA",lbl:"Bosnia and Herzegovina",img:"ba.png",code:"+387",ex:"61123456",ptrn:"6040$_bf_$d{5}|6(?:03|[1-356]|44|7$_bf_$d)$_bf_$d{6}"},{i:"BB",lbl:"Barbados",img:"bb.png",code:"+1",ex:"2462501234",ptrn:"246(?:2(?:[3568]$_bf_$d|4[0-57-9])|45$_bf_$d|69[5-7]|8(?:[2-5]$_bf_$d|83))$_bf_$d{4}"},{i:"BD",lbl:"Bangladesh",img:"bd.png",code:"+880",ex:"1812345678",ptrn:"(?:1[13-9]$_bf_$d|644)$_bf_$d{7}|(?:3[78]|44|66)[02-9]$_bf_$d{7}"},{i:"BE",lbl:"Belgium",img:"be.png",code:"+32",ex:"470123456",ptrn:"4[5-9]$_bf_$d{7}"},{i:"BF",lbl:"Burkina Faso",img:"bf.png",code:"+226",ex:"70123456",ptrn:"(?:0[1267]|5[1-8]|[67]$_bf_$d)$_bf_$d{6}"},{i:"BG",lbl:"Bulgaria",img:"bg.png",code:"+359",ex:"48123456",ptrn:"43[07-9]$_bf_$d{5}|(?:48|8[7-9]$_bf_$d|9(?:8$_bf_$d|9[69]))$_bf_$d{6}"},{i:"BH",lbl:"Bahrain",img:"bh.png",code:"+973",ex:"36001234",ptrn:"(?:3(?:[1-79]$_bf_$d|8[0-47-9])$_bf_$d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]$_bf_$d|7[0-6])))$_bf_$d{4}"},{i:"BI",lbl:"Burundi",img:"bi.png",code:"+257",ex:"79561234",ptrn:"(?:29|31|6[1289]|7[125-9])$_bf_$d{6}"},{i:"BJ",lbl:"Benin",img:"bj.png",code:"+229",ex:"90011234",ptrn:"(?:5[1-35-8]|6$_bf_$d|9[013-9])$_bf_$d{6}"},{i:"BL",lbl:"Saint Barthélemy",img:"bl.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"BM",lbl:"Bermuda",img:"bm.png",code:"+1",ex:"4413701234",ptrn:"441(?:[2378]$_bf_$d|5[0-39])$_bf_$d{5}"},{i:"BN",lbl:"Brunei Darussalam",img:"bn.png",code:"+673",ex:"7123456",ptrn:"(?:22[89]|[78]$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"BO",lbl:"Bolivia (Plurinational State of)",img:"bo.png",code:"+591",ex:"71234567",ptrn:"[67]$_bf_$d{7}"},{i:"BQ",lbl:"Bonaire, Sint Eustatius and Saba",img:"bq.png",code:"+599",ex:"3181234",ptrn:"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8$_bf_$d|9[056])$_bf_$d)$_bf_$d{3}"},{i:"BR",lbl:"Brazil",img:"br.png",code:"+55",ex:"11961234567",ptrn:"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9$_bf_$d)$_bf_$d{7}"},{i:"BS",lbl:"Bahamas (the)",img:"bs.png",code:"+1",ex:"2423591234",ptrn:"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7$_bf_$d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2$_bf_$d|[89]9))$_bf_$d{4}"},{i:"BT",lbl:"Bhutan",img:"bt.png",code:"+975",ex:"17123456",ptrn:"(?:1[67]|77)$_bf_$d{6}"},{i:"BW",lbl:"Botswana",img:"bw.png",code:"+267",ex:"71123456",ptrn:"(?:321|7(?:[1-7]$_bf_$d|8[01]))$_bf_$d{5}"},{i:"BY",lbl:"Belarus",img:"by.png",code:"+375",ex:"294911911",ptrn:"(?:2(?:5[5-79]|9[1-9])|(?:33|44)$_bf_$d)$_bf_$d{6}"},{i:"BZ",lbl:"Belize",img:"bz.png",code:"+501",ex:"6221234",ptrn:"6[0-35-7]$_bf_$d{5}"},{i:"CA",lbl:"Canada",img:"ca.png",code:"+1",ex:"5062345678",ptrn:"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]$_bf_$d{6}"},{i:"CC",lbl:"Cocos (Keeling) Islands (the)",img:"cc.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"CD",lbl:"Congo (the Democratic Republic of the)",img:"cd.png",code:"+243",ex:"991234567",ptrn:"88$_bf_$d{5}|(?:8[0-59]|9[017-9])$_bf_$d{7}"},{i:"CF",lbl:"Central African Republic (the)",img:"cf.png",code:"+236",ex:"70012345",ptrn:"7[0257]$_bf_$d{6}"},{i:"CG",lbl:"Congo (the)",img:"cg.png",code:"+242",ex:"061234567",ptrn:"026(?:1[0-5]|6[6-9])$_bf_$d{4}|0(?:[14-6]$_bf_$d$_bf_$d|2(?:40|5[5-8]|6[07-9]))$_bf_$d{5}"},{i:"CH",lbl:"Switzerland",img:"ch.png",code:"+41",ex:"781234567",ptrn:"7[35-9]$_bf_$d{7}"},{i:"CI",lbl:"Côte d'Ivoire",img:"ci.png",code:"+225",ex:"0123456789",ptrn:"0704[0-7]$_bf_$d{5}|0(?:[15]$_bf_$d$_bf_$d|7(?:0[0-37-9]|[4-9][7-9]))$_bf_$d{6}"},{i:"CK",lbl:"Cook Islands (the)",img:"ck.png",code:"+682",ex:"71234",ptrn:"[578]$_bf_$d{4}"},{i:"CL",lbl:"Chile",img:"cl.png",code:"+56",ex:"221234567",ptrn:"2(?:1982[0-6]|3314[05-9])$_bf_$d{3}|(?:2(?:1(?:160|962)|3(?:2$_bf_$d$_bf_$d|3(?:[03467]$_bf_$d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]$_bf_$d$_bf_$d|9(?:3(?:[0-57-9]$_bf_$d$_bf_$d|6(?:0[02-9]|[1-9]$_bf_$d))|6(?:[0-8]$_bf_$d$_bf_$d|9(?:[02-79]$_bf_$d|1[05-9]))|7[1-9]$_bf_$d$_bf_$d|9(?:[03-9]$_bf_$d$_bf_$d|1(?:[0235-9]$_bf_$d|4[0-24-9])|2(?:[0-79]$_bf_$d|8[0-46-9]))))$_bf_$d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])$_bf_$d{7}"},{i:"CM",lbl:"Cameroon",img:"cm.png",code:"+237",ex:"671234567",ptrn:"(?:24[23]|6[5-9]$_bf_$d)$_bf_$d{6}"},{i:"CN",lbl:"China",img:"cn.png",code:"+86",ex:"13123456789",ptrn:"1740[0-5]$_bf_$d{6}|1(?:[38]$_bf_$d|4[57]|5[0-35-9]|6[25-7]|7[0-35-8]|9[0135-9])$_bf_$d{8}"},{i:"CO",lbl:"Colombia",img:"co.png",code:"+57",ex:"3211234567",ptrn:"3333(?:0(?:0$_bf_$d|1[0-5])|[4-9]$_bf_$d$_bf_$d)$_bf_$d{3}|(?:3(?:24[2-6]|3(?:00|3[0-24-9]))|9101)$_bf_$d{6}|3(?:0[0-5]|1$_bf_$d|2[0-3]|5[01]|70)$_bf_$d{7}"},{i:"CR",lbl:"Costa Rica",img:"cr.png",code:"+506",ex:"83123456",ptrn:"(?:3005$_bf_$d|6500[01])$_bf_$d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])$_bf_$d{6}"},{i:"CU",lbl:"Cuba",img:"cu.png",code:"+53",ex:"51234567",ptrn:"5$_bf_$d{7}"},{i:"CV",lbl:"Cabo Verde",img:"cv.png",code:"+238",ex:"9911234",ptrn:"(?:[34][36]|5[1-389]|9$_bf_$d)$_bf_$d{5}"},{i:"CW",lbl:"Curaçao",img:"cw.png",code:"+599",ex:"95181234",ptrn:"953[01]$_bf_$d{4}|9(?:5[12467]|6[5-9])$_bf_$d{5}"},{i:"CX",lbl:"Christmas Island",img:"cx.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"CY",lbl:"Cyprus",img:"cy.png",code:"+357",ex:"96123456",ptrn:"9[4-79]$_bf_$d{6}"},{i:"CZ",lbl:"Czechia",img:"cz.png",code:"+420",ex:"601123456",ptrn:"(?:60[1-8]|7(?:0[2-5]|[2379]$_bf_$d))$_bf_$d{6}"},{i:"DE",lbl:"Germany",img:"de.png",code:"+49",ex:"15123456789",ptrn:"15[0-25-9]$_bf_$d{8}|1(?:6[023]|7$_bf_$d)$_bf_$d{7,8}"},{i:"DJ",lbl:"Djibouti",img:"dj.png",code:"+253",ex:"77831001",ptrn:"77$_bf_$d{6}"},{i:"DK",lbl:"Denmark",img:"dk.png",code:"+45",ex:"32123456",ptrn:"(?:[2-7]$_bf_$d|8[126-9]|9[1-46-9])$_bf_$d{6}"},{i:"DM",lbl:"Dominica",img:"dm.png",code:"+1",ex:"7672251234",ptrn:"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])$_bf_$d{4}"},{i:"DO",lbl:"Dominican Republic (the)",img:"do.png",code:"+1",ex:"8092345678",ptrn:"8[024]9[2-9]$_bf_$d{6}"},{i:"DZ",lbl:"Algeria",img:"dz.png",code:"+213",ex:"551234567",ptrn:"(?:5(?:4[0-29]|5$_bf_$d|6[0-2])|6(?:[569]$_bf_$d|7[0-6])|7[7-9]$_bf_$d)$_bf_$d{6}"},{i:"EC",lbl:"Ecuador",img:"ec.png",code:"+593",ex:"991234567",ptrn:"964[0-2]$_bf_$d{5}|9(?:39|[57][89]|6[0-36-9]|[89]$_bf_$d)$_bf_$d{6}"},{i:"EE",lbl:"Estonia",img:"ee.png",code:"+372",ex:"51234567",ptrn:"5(?:[0-35-9]$_bf_$d{6}|4(?:[0-57-9]$_bf_$d{5}|6(?:[0-24-9]$_bf_$d{4}|3(?:[0-35-9]$_bf_$d{3}|4000))))|8(?:1(?:0(?:000|[3-9]$_bf_$d$_bf_$d)|(?:1(?:0[236]|1$_bf_$d)|(?:23|[3-79]$_bf_$d)$_bf_$d)$_bf_$d)|2(?:0(?:000|(?:19|[24-7]$_bf_$d)$_bf_$d)|(?:(?:[124-6]$_bf_$d|3[5-9])$_bf_$d|7(?:[679]$_bf_$d|8[13-9])|8(?:[2-6]$_bf_$d|7[01]))$_bf_$d)|[349]$_bf_$d{4})$_bf_$d$_bf_$d|5(?:(?:[02]$_bf_$d|5[0-478])$_bf_$d|1(?:[0-8]$_bf_$d|95)|6(?:4[0-4]|5[1-589]))$_bf_$d{3}"},{i:"EG",lbl:"Egypt",img:"eg.png",code:"+20",ex:"1001234567",ptrn:"1[0-25]$_bf_$d{8}"},{i:"EH",lbl:"Western Sahara",img:"eh.png",code:"+212",ex:"650123456",ptrn:"(?:6(?:[0-79]$_bf_$d|8[0-247-9])|7(?:0$_bf_$d|1[0-5]|6[1267]|7[0-57]))$_bf_$d{6}"},{i:"ER",lbl:"Eritrea",img:"er.png",code:"+291",ex:"7123456",ptrn:"(?:17[1-3]|7$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"ES",lbl:"Spain",img:"es.png",code:"+34",ex:"612345678",ptrn:"(?:590[16]00$_bf_$d|9(?:6906(?:09|10)|7390$_bf_$d$_bf_$d))$_bf_$d$_bf_$d|(?:6$_bf_$d|7[1-48])$_bf_$d{7}"},{i:"ET",lbl:"Ethiopia",img:"et.png",code:"+251",ex:"911234567",ptrn:"9$_bf_$d{8}"},{i:"FI",lbl:"Finland",img:"fi.png",code:"+358",ex:"412345678",ptrn:"4946$_bf_$d{2,6}|(?:4[0-8]|50)$_bf_$d{4,8}"},{i:"FJ",lbl:"Fiji",img:"fj.png",code:"+679",ex:"7012345",ptrn:"(?:[279]$_bf_$d|45|5[01568]|8[034679])$_bf_$d{5}"},{i:"FK",lbl:"Falkland Islands (the) [Malvinas]",img:"fk.png",code:"+500",ex:"51234",ptrn:"[56]$_bf_$d{4}"},{i:"FM",lbl:"Micronesia (Federated States of)",img:"fm.png",code:"+691",ex:"3501234",ptrn:"31(?:00[67]|208|309)$_bf_$d$_bf_$d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]$_bf_$d)$_bf_$d)$_bf_$d{3}"},{i:"FO",lbl:"Faroe Islands (the)",img:"fo.png",code:"+298",ex:"211234",ptrn:"(?:[27][1-9]|5$_bf_$d|91)$_bf_$d{4}"},{i:"FR",lbl:"France",img:"fr.png",code:"+33",ex:"612345678",ptrn:"(?:6(?:[0-24-8]$_bf_$d|3[0-8]|9[589])|7(?:00|[3-9]$_bf_$d))$_bf_$d{6}"},{i:"GA",lbl:"Gabon",img:"ga.png",code:"+241",ex:"06031234",ptrn:"(?:0[2-7]|6[256]|7[47])$_bf_$d{6}|[2-7]$_bf_$d{6}"},{i:"GB",lbl:"United Kingdom of Great Britain and Northern Ireland (the)",img:"gb.png",code:"+44",ex:"7400123456",ptrn:"7(?:457[0-57-9]|700[01]|911[028])$_bf_$d{5}|7(?:[1-3]$_bf_$d$_bf_$d|4(?:[0-46-9]$_bf_$d|5[0-689])|5(?:0[0-8]|[13-9]$_bf_$d|2[0-35-9])|7(?:0[1-9]|[1-7]$_bf_$d|8[02-9]|9[0-689])|8(?:[014-9]$_bf_$d|[23][0-8])|9(?:[024-9]$_bf_$d|1[02-9]|3[0-689]))$_bf_$d{6}"},{i:"GD",lbl:"Grenada",img:"gd.png",code:"+1",ex:"4734031234",ptrn:"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)$_bf_$d{4}"},{i:"GE",lbl:"Georgia",img:"ge.png",code:"+995",ex:"555123456",ptrn:"5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))$_bf_$d{3}|5(?:0070|(?:11|33)33|[25]222)[0-4]$_bf_$d{3}|5(?:00(?:0$_bf_$d|50)|11(?:00|1$_bf_$d|2[0-4])|5200|75(?:00|[57]5)|8(?:0(?:[01]$_bf_$d|2[0-4])|58[89]|8(?:55|88)))$_bf_$d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)$_bf_$d{6}"},{i:"GF",lbl:"French Guiana",img:"gf.png",code:"+594",ex:"694201234",ptrn:"694(?:[0-249]$_bf_$d|3[0-48])$_bf_$d{4}"},{i:"GG",lbl:"Guernsey",img:"gg.png",code:"+44",ex:"7781123456",ptrn:"7(?:(?:781|839)$_bf_$d|911[17])$_bf_$d{5}"},{i:"GH",lbl:"Ghana",img:"gh.png",code:"+233",ex:"231234567",ptrn:"(?:2(?:[0346-8]$_bf_$d|5[67])|5(?:[0457]$_bf_$d|6[01]|9[1-9]))$_bf_$d{6}"},{i:"GI",lbl:"Gibraltar",img:"gi.png",code:"+350",ex:"57123456",ptrn:"(?:5[146-8]$_bf_$d|606)$_bf_$d{5}"},{i:"GL",lbl:"Greenland",img:"gl.png",code:"+299",ex:"221234",ptrn:"[245]$_bf_$d{5}"},{i:"GM",lbl:"Gambia (the)",img:"gm.png",code:"+220",ex:"3012345",ptrn:"(?:[23679]$_bf_$d|5[0-389])$_bf_$d{5}"},{i:"GN",lbl:"Guinea",img:"gn.png",code:"+224",ex:"601123456",ptrn:"6[0-356]$_bf_$d{7}"},{i:"GP",lbl:"Guadeloupe",img:"gp.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"GQ",lbl:"Equatorial Guinea",img:"gq.png",code:"+240",ex:"222123456",ptrn:"(?:222|55$_bf_$d)$_bf_$d{6}"},{i:"GR",lbl:"Greece",img:"gr.png",code:"+30",ex:"6912345678",ptrn:"68[57-9]$_bf_$d{7}|(?:69|94)$_bf_$d{8}"},{i:"GT",lbl:"Guatemala",img:"gt.png",code:"+502",ex:"51234567",ptrn:"[3-5]$_bf_$d{7}"},{i:"GU",lbl:"Guam",img:"gu.png",code:"+1",ex:"6713001234",ptrn:"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))$_bf_$d{4}"},{i:"GW",lbl:"Guinea-Bissau",img:"gw.png",code:"+245",ex:"955012345",ptrn:"9(?:5$_bf_$d|6[569]|77)$_bf_$d{6}"},{i:"GY",lbl:"Guyana",img:"gy.png",code:"+592",ex:"6091234",ptrn:"6$_bf_$d{6}"},{i:"HK",lbl:"Hong Kong",img:"hk.png",code:"+852",ex:"51234567",ptrn:"(?:46(?:[07][0-7]|1[0-6]|4[0-57-9]|5[0-8]|6[0-4])|5730|6(?:26[013-7]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|929[03-9])$_bf_$d{4}|(?:46[238]|5(?:[1-59][0-46-9]|6[0-4689]|7[0-2469])|6(?:0[1-9]|[13-59]$_bf_$d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]$_bf_$d))$_bf_$d{5}"},{i:"HN",lbl:"Honduras",img:"hn.png",code:"+504",ex:"91234567",ptrn:"[37-9]$_bf_$d{7}"},{i:"HR",lbl:"Croatia",img:"hr.png",code:"+385",ex:"921234567",ptrn:"9(?:751$_bf_$d{5}|8$_bf_$d{6,7})|9(?:0[1-9]|[1259]$_bf_$d|7[0679])$_bf_$d{6}"},{i:"HT",lbl:"Haiti",img:"ht.png",code:"+509",ex:"34101234",ptrn:"[34]$_bf_$d{7}"},{i:"HU",lbl:"Hungary",img:"hu.png",code:"+36",ex:"201234567",ptrn:"(?:[257]0|3[01])$_bf_$d{7}"},{i:"ID",lbl:"Indonesia",img:"id.png",code:"+62",ex:"812345678",ptrn:"8[1-35-9]$_bf_$d{7,10}"},{i:"IE",lbl:"Ireland",img:"ie.png",code:"+353",ex:"850123456",ptrn:"8(?:22|[35-9]$_bf_$d)$_bf_$d{6}"},{i:"IL",lbl:"Israel",img:"il.png",code:"+972",ex:"502345678",ptrn:"5(?:(?:[02368]$_bf_$d|[19][2-9]|4[1-9])$_bf_$d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))$_bf_$d{5}"},{i:"IM",lbl:"Isle of Man",img:"im.png",code:"+44",ex:"7924123456",ptrn:"76245[06]$_bf_$d{4}|7(?:4576|[59]24$_bf_$d|624[0-4689])$_bf_$d{5}"},{i:"IN",lbl:"India",img:"in.png",code:"+91",ex:"8123456789",ptrn:"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))$_bf_$d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))$_bf_$d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]$_bf_$d|7[02-8])$_bf_$d{5}|(?:6(?:[09]$_bf_$d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0$_bf_$d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]$_bf_$d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9$_bf_$d$_bf_$d)$_bf_$d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])$_bf_$d|7(?:[235689]$_bf_$d|4[0189]))|7(?:1(?:[013-8]$_bf_$d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]$_bf_$d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4$_bf_$d|5[0-367])|70[13-7]|881))[0189]$_bf_$d{5}"},{i:"IO",lbl:"British Indian Ocean Territory (the)",img:"io.png",code:"+246",ex:"3801234",ptrn:"38$_bf_$d{5}"},{i:"IQ",lbl:"Iraq",img:"iq.png",code:"+964",ex:"7912345678",ptrn:"7[3-9]$_bf_$d{8}"},{i:"IR",lbl:"Iran (Islamic Republic of)",img:"ir.png",code:"+98",ex:"9123456789",ptrn:"9(?:(?:0(?:[0-35]$_bf_$d|4[4-6])|(?:[13]$_bf_$d|2[0-3])$_bf_$d)$_bf_$d|9(?:(?:[0-3]$_bf_$d|4[0145])$_bf_$d|5[15]0|8(?:1$_bf_$d|88)|9(?:0[013]|[19]$_bf_$d|21|77|8[7-9])))$_bf_$d{5}"},{i:"IS",lbl:"Iceland",img:"is.png",code:"+354",ex:"6111234",ptrn:"(?:38[589]$_bf_$d$_bf_$d|6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9$_bf_$d)|7(?:5[057]|[6-9]$_bf_$d)|8(?:2[0-59]|[3-69]$_bf_$d|8[28]))$_bf_$d{4}"},{i:"IT",lbl:"Italy",img:"it.png",code:"+39",ex:"3123456789",ptrn:"3[1-9]$_bf_$d{8}|3[2-9]$_bf_$d{7}"},{i:"JE",lbl:"Jersey",img:"je.png",code:"+44",ex:"7797712345",ptrn:"7(?:(?:(?:50|82)9|937)$_bf_$d|7(?:00[378]|97[7-9]))$_bf_$d{5}"},{i:"JM",lbl:"Jamaica",img:"jm.png",code:"+1",ex:"8762101234",ptrn:"(?:658295|876(?:2(?:0[6-9]|[14-9]$_bf_$d|2[013-9]|3[7-9])|[348]$_bf_$d$_bf_$d|5(?:0[1-9]|[1-9]$_bf_$d)|6(?:4[89]|6[67])|7(?:0[07]|7$_bf_$d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))$_bf_$d{4}"},{i:"JO",lbl:"Jordan",img:"jo.png",code:"+962",ex:"790123456",ptrn:"7(?:[78][0-25-9]|9$_bf_$d)$_bf_$d{6}"},{i:"JP",lbl:"Japan",img:"jp.png",code:"+81",ex:"9012345678",ptrn:"[7-9]0[1-9]$_bf_$d{7}"},{i:"KE",lbl:"Kenya",img:"ke.png",code:"+254",ex:"712123456",ptrn:"(?:1(?:0[0-6]|1[0-5]|2[014])|7$_bf_$d$_bf_$d)$_bf_$d{6}"},{i:"KG",lbl:"Kyrgyzstan",img:"kg.png",code:"+996",ex:"700123456",ptrn:"312(?:58$_bf_$d|973)$_bf_$d{3}|(?:2(?:0[0-35]|2$_bf_$d)|5[0-24-7]$_bf_$d|7(?:[07]$_bf_$d|55)|880|99[05-9])$_bf_$d{6}"},{i:"KH",lbl:"Cambodia",img:"kh.png",code:"+855",ex:"91234567",ptrn:"(?:(?:1[28]|3[18]|9[67])$_bf_$d|6[016-9]|7(?:[07-9]|[16]$_bf_$d)|8(?:[013-79]|8$_bf_$d))$_bf_$d{6}|(?:1$_bf_$d|9[0-57-9])$_bf_$d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48$_bf_$d{5}"},{i:"KI",lbl:"Kiribati",img:"ki.png",code:"+686",ex:"72001234",ptrn:"(?:63$_bf_$d{3}|73(?:0[0-5]$_bf_$d|140))$_bf_$d{3}|[67]200[01]$_bf_$d{3}"},{i:"KM",lbl:"Comoros (the)",img:"km.png",code:"+269",ex:"3212345",ptrn:"[34]$_bf_$d{6}"},{i:"KN",lbl:"Saint Kitts and Nevis",img:"kn.png",code:"+1",ex:"8697652917",ptrn:"869(?:48[89]|55[6-8]|66$_bf_$d|76[02-7])$_bf_$d{4}"},{i:"KP",lbl:"Korea (the Democratic People's Republic of)",img:"kp.png",code:"+850",ex:"1921234567",ptrn:"19[1-3]$_bf_$d{7}"},{i:"KR",lbl:"Korea (the Republic of)",img:"kr.png",code:"+82",ex:"1020000000",ptrn:"1(?:05(?:[0-8]$_bf_$d|9[0-6])|22[13]$_bf_$d)$_bf_$d{4,5}|1(?:0[1-46-9]|[16-9]$_bf_$d|2[013-9])$_bf_$d{6,7}"},{i:"KW",lbl:"Kuwait",img:"kw.png",code:"+965",ex:"50012345",ptrn:"(?:5(?:2(?:22|5[25])|7(?:55|77)|88[58])|6(?:222|333|444|70[013-9]|888|93[039])|9(?:11[01]|3(?:00|33)|500))$_bf_$d{4}|(?:5(?:[05]$_bf_$d|1[0-7]|6[56])|6(?:0[034679]|5[015-9]|6$_bf_$d|7[67]|9[069])|9(?:0[09]|22|[4679]$_bf_$d|55|8[057-9]))$_bf_$d{5}"},{i:"KY",lbl:"Cayman Islands (the)",img:"ky.png",code:"+1",ex:"3453231234",ptrn:"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[679]|2[2-9]|3[06-9]|90))$_bf_$d{4}"},{i:"KZ",lbl:"Kazakhstan",img:"kz.png",code:"+7",ex:"7710009998",ptrn:"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)$_bf_$d{7}"},{i:"LA",lbl:"Lao People's Democratic Republic (the)",img:"la.png",code:"+856",ex:"2023123456",ptrn:"(?:20(?:[239]$_bf_$d|5[24-9]|7[6-8])|302$_bf_$d)$_bf_$d{6}"},{i:"LB",lbl:"Lebanon",img:"lb.png",code:"+961",ex:"71123456",ptrn:"793(?:[01]$_bf_$d|2[0-4])$_bf_$d{3}|(?:(?:3|81)$_bf_$d|7(?:[01]$_bf_$d|6[013-9]|8[89]|9[12]))$_bf_$d{5}"},{i:"LC",lbl:"Saint Lucia",img:"lc.png",code:"+1",ex:"7582845678",ptrn:"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2$_bf_$d|3[0-3])|812)$_bf_$d{4}"},{i:"LI",lbl:"Liechtenstein",img:"li.png",code:"+423",ex:"660234567",ptrn:"(?:6(?:4(?:69|[7-9]$_bf_$d)|5[0-4]$_bf_$d|6(?:[024]$_bf_$d|[17]0|3[7-9]))$_bf_$d|7(?:[37-9]$_bf_$d|42|56))$_bf_$d{4}"},{i:"LK",lbl:"Sri Lanka",img:"lk.png",code:"+94",ex:"712345678",ptrn:"7(?:[0-25-8]$_bf_$d|4[01])$_bf_$d{6}"},{i:"LR",lbl:"Liberia",img:"lr.png",code:"+231",ex:"770123456",ptrn:"(?:(?:330|555|(?:77|88)$_bf_$d)$_bf_$d|4[67])$_bf_$d{5}|[56]$_bf_$d{6}"},{i:"LS",lbl:"Lesotho",img:"ls.png",code:"+266",ex:"50123456",ptrn:"[56]$_bf_$d{7}"},{i:"LT",lbl:"Lithuania",img:"lt.png",code:"+370",ex:"61234567",ptrn:"6$_bf_$d{7}"},{i:"LU",lbl:"Luxembourg",img:"lu.png",code:"+352",ex:"628123456",ptrn:"6(?:[269][18]|5[1568]|7[189]|81)$_bf_$d{6}"},{i:"LV",lbl:"Latvia",img:"lv.png",code:"+371",ex:"21234567",ptrn:"2$_bf_$d{7}"},{i:"LY",lbl:"Libya",img:"ly.png",code:"+218",ex:"912345678",ptrn:"9[1-6]$_bf_$d{7}"},{i:"MA",lbl:"Morocco",img:"ma.png",code:"+212",ex:"650123456",ptrn:"(?:6(?:[0-79]$_bf_$d|8[0-247-9])|7(?:0$_bf_$d|1[0-5]|6[1267]|7[0-57]))$_bf_$d{6}"},{i:"MC",lbl:"Monaco",img:"mc.png",code:"+377",ex:"612345678",ptrn:"4(?:[46]$_bf_$d|5[1-9])$_bf_$d{5}|(?:3|6$_bf_$d)$_bf_$d{7}"},{i:"MD",lbl:"Moldova (the Republic of)",img:"md.png",code:"+373",ex:"62112345",ptrn:"562$_bf_$d{5}|(?:6$_bf_$d|7[16-9])$_bf_$d{6}"},{i:"ME",lbl:"Montenegro",img:"me.png",code:"+382",ex:"67622901",ptrn:"6(?:[07-9]$_bf_$d|3[024]|6[0-25])$_bf_$d{5}"},{i:"MF",lbl:"Saint Martin (French part)",img:"mf.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"MG",lbl:"Madagascar",img:"mg.png",code:"+261",ex:"321234567",ptrn:"3[2-489]$_bf_$d{7}"},{i:"MH",lbl:"Marshall Islands (the)",img:"mh.png",code:"+692",ex:"2351234",ptrn:"(?:(?:23|54)5|329|45[56])$_bf_$d{4}"},{i:"MK",lbl:"Republic of North Macedonia",img:"mk.png",code:"+389",ex:"72345678",ptrn:"7(?:3555|4(?:60$_bf_$d|747)|94(?:[01]$_bf_$d|2[0-4]))$_bf_$d{3}|7(?:[0-25-8]$_bf_$d|3[2-4]|42|9[23])$_bf_$d{5}"},{i:"ML",lbl:"Mali",img:"ml.png",code:"+223",ex:"65012345",ptrn:"2(?:0(?:01|79)|17$_bf_$d)$_bf_$d{4}|(?:5[01]|[679]$_bf_$d|8[239])$_bf_$d{6}"},{i:"MM",lbl:"Myanmar",img:"mm.png",code:"+95",ex:"92123456",ptrn:"(?:17[01]|9(?:2(?:[0-4]|[56]$_bf_$d$_bf_$d)|(?:3(?:[0-36]|4$_bf_$d)|(?:6$_bf_$d|8[89]|9[4-8])$_bf_$d|7(?:3|40|[5-9]$_bf_$d))$_bf_$d|4(?:(?:[0245]$_bf_$d|[1379])$_bf_$d|88)|5[0-6])$_bf_$d)$_bf_$d{4}|9[69]1$_bf_$d{6}|9(?:[68]$_bf_$d|9[089])$_bf_$d{5}"},{i:"MN",lbl:"Mongolia",img:"mn.png",code:"+976",ex:"88123456",ptrn:"(?:83[01]|920)$_bf_$d{5}|(?:5[05]|8[05689]|9[013-9])$_bf_$d{6}"},{i:"MO",lbl:"Macao",img:"mo.png",code:"+853",ex:"66123456",ptrn:"6800[0-79]$_bf_$d{3}|6(?:[235]$_bf_$d$_bf_$d|6(?:0[0-5]|[1-9]$_bf_$d)|8(?:0[1-9]|[14-8]$_bf_$d|2[5-9]|[39][0-4]))$_bf_$d{4}"},{i:"MP",lbl:"Northern Mariana Islands (the)",img:"mp.png",code:"+1",ex:"6702345678",ptrn:"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)$_bf_$d{4}"},{i:"MQ",lbl:"Martinique",img:"mq.png",code:"+596",ex:"696201234",ptrn:"69(?:6(?:[0-46-9]$_bf_$d|5[0-6])|727)$_bf_$d{4}"},{i:"MR",lbl:"Mauritania",img:"mr.png",code:"+222",ex:"22123456",ptrn:"[2-4][0-46-9]$_bf_$d{6}"},{i:"MS",lbl:"Montserrat",img:"ms.png",code:"+1",ex:"6644923456",ptrn:"664(?:3(?:49|9[1-6])|49[2-6])$_bf_$d{4}"},{i:"MT",lbl:"Malta",img:"mt.png",code:"+356",ex:"96961234",ptrn:"(?:7(?:210|[79]$_bf_$d$_bf_$d)|9(?:[29]$_bf_$d$_bf_$d|69[67]|8(?:1[1-3]|89|97)))$_bf_$d{4}"},{i:"MU",lbl:"Mauritius",img:"mu.png",code:"+230",ex:"52512345",ptrn:"5(?:4(?:2[1-389]|7[1-9])|87[15-8])$_bf_$d{4}|5(?:2[5-9]|4[3-589]|[57]$_bf_$d|8[0-689]|9[0-8])$_bf_$d{5}"},{i:"MV",lbl:"Maldives",img:"mv.png",code:"+960",ex:"7712345",ptrn:"46[46]$_bf_$d{4}|(?:7$_bf_$d|9[13-9])$_bf_$d{5}"},{i:"MW",lbl:"Malawi",img:"mw.png",code:"+265",ex:"991234567",ptrn:"111$_bf_$d{6}|(?:31|77|88|9[89])$_bf_$d{7}"},{i:"MX",lbl:"Mexico",img:"mx.png",code:"+52",ex:"12221234567",ptrn:"6571$_bf_$d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3$_bf_$d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]$_bf_$d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1$_bf_$d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3$_bf_$d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4$_bf_$d|8[1-35-9]|9[2-689])|5(?:[56]$_bf_$d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1$_bf_$d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9$_bf_$d))$_bf_$d{7}"},{i:"MY",lbl:"Malaysia",img:"my.png",code:"+60",ex:"123456789",ptrn:"1(?:1888[69]|4400|8(?:47|8[27])[0-4])$_bf_$d{4}|1(?:0(?:[23568]$_bf_$d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]$_bf_$d$_bf_$d|6(?:0[5-9]|[1-9]$_bf_$d)|7(?:[0134]$_bf_$d|2[1-9]|5[0-6]))|(?:(?:[269]|59)$_bf_$d|[37][1-9]|4[235-9])$_bf_$d|8(?:1[23]|[236]$_bf_$d|4[06]|5[7-9]|7[016-9]|8[01]|9[0-8]))$_bf_$d{5}"},{i:"MZ",lbl:"Mozambique",img:"mz.png",code:"+258",ex:"821234567",ptrn:"8[2-79]$_bf_$d{7}"},{i:"NA",lbl:"Namibia",img:"na.png",code:"+264",ex:"811234567",ptrn:"(?:60|8[1245])$_bf_$d{7}"},{i:"NC",lbl:"New Caledonia",img:"nc.png",code:"+687",ex:"751234",ptrn:"(?:5[0-4]|[79]$_bf_$d|8[0-79])$_bf_$d{4}"},{i:"NE",lbl:"Niger (the)",img:"ne.png",code:"+227",ex:"93123456",ptrn:"(?:23|7[04]|[89]$_bf_$d)$_bf_$d{6}"},{i:"NF",lbl:"Norfolk Island",img:"nf.png",code:"+672",ex:"381234",ptrn:"(?:14|3[58])$_bf_$d{4}"},{i:"NG",lbl:"Nigeria",img:"ng.png",code:"+234",ex:"8021234567",ptrn:"(?:702[0-24-9]|8(?:01|19)[01])$_bf_$d{6}|(?:70[13-689]|8(?:0[2-9]|1[0-8])|9(?:0[1-9]|1[2356]))$_bf_$d{7}"},{i:"NI",lbl:"Nicaragua",img:"ni.png",code:"+505",ex:"81234567",ptrn:"(?:5(?:5[0-7]|[78]$_bf_$d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8$_bf_$d)$_bf_$d)$_bf_$d{5}"},{i:"NL",lbl:"Netherlands (the)",img:"nl.png",code:"+31",ex:"612345678",ptrn:"6[1-58]$_bf_$d{7}"},{i:"NO",lbl:"Norway",img:"no.png",code:"+47",ex:"40612345",ptrn:"(?:4[015-8]|59|9$_bf_$d)$_bf_$d{6}"},{i:"NP",lbl:"Nepal",img:"np.png",code:"+977",ex:"9841234567",ptrn:"9(?:6[0-3]|7[245]|8[0-24-68])$_bf_$d{7}"},{i:"NR",lbl:"Nauru",img:"nr.png",code:"+674",ex:"5551234",ptrn:"(?:55[3-9]|666|8$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"NU",lbl:"Niue",img:"nu.png",code:"+683",ex:"8884012",ptrn:"888[4-9]$_bf_$d{3}"},{i:"NZ",lbl:"New Zealand",img:"nz.png",code:"+64",ex:"211234567",ptrn:"2[0-27-9]$_bf_$d{7,8}|21$_bf_$d{6}"},{i:"OM",lbl:"Oman",img:"om.png",code:"+968",ex:"92123456",ptrn:"1505$_bf_$d{4}|(?:7(?:[1289]$_bf_$d|70)|9(?:0[1-9]|[1-9]$_bf_$d))$_bf_$d{5}"},{i:"PA",lbl:"Panama",img:"pa.png",code:"+507",ex:"61234567",ptrn:"(?:1[16]1|21[89]|6(?:[02-9]$_bf_$d|1[0-8])$_bf_$d|8(?:1[01]|7[23]))$_bf_$d{4}"},{i:"PE",lbl:"Peru",img:"pe.png",code:"+51",ex:"912345678",ptrn:"9$_bf_$d{8}"},{i:"PF",lbl:"French Polynesia",img:"pf.png",code:"+689",ex:"87123456",ptrn:"8[7-9]$_bf_$d{6}"},{i:"PG",lbl:"Papua New Guinea",img:"pg.png",code:"+675",ex:"70123456",ptrn:"(?:7$_bf_$d|8[18])$_bf_$d{6}"},{i:"PH",lbl:"Philippines (the)",img:"ph.png",code:"+63",ex:"9051234567",ptrn:"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[2357]$_bf_$d|4[2-9]|6[0-35-9]|8[135-9]|9[1-9]))$_bf_$d{7}"},{i:"PK",lbl:"Pakistan",img:"pk.png",code:"+92",ex:"3012345678",ptrn:"3(?:[014]$_bf_$d|2[0-5]|3[0-7]|55|64)$_bf_$d{7}"},{i:"PL",lbl:"Poland",img:"pl.png",code:"+48",ex:"512345678",ptrn:"211(?:1$_bf_$d|3[1-5])$_bf_$d{4}|(?:45|5[0137]|6[069]|7[2389]|88)$_bf_$d{7}"},{i:"PM",lbl:"Saint Pierre and Miquelon",img:"pm.png",code:"+508",ex:"551234",ptrn:"(?:4[02-4]|5[05])$_bf_$d{4}"},{i:"PR",lbl:"Puerto Rico",img:"pr.png",code:"+1",ex:"7872345678",ptrn:"(?:787|939)[2-9]$_bf_$d{6}"},{i:"PS",lbl:"Palestine, State of",img:"ps.png",code:"+970",ex:"599123456",ptrn:"5[69]$_bf_$d{7}"},{i:"PT",lbl:"Portugal",img:"pt.png",code:"+351",ex:"912345678",ptrn:"6[0356]92(?:30|9$_bf_$d)$_bf_$d{3}|(?:(?:16|6[0356])93|9(?:[1-36]$_bf_$d$_bf_$d|480))$_bf_$d{5}"},{i:"PW",lbl:"Palau",img:"pw.png",code:"+680",ex:"6201234",ptrn:"(?:46[0-5]|6[2-4689]0)$_bf_$d{4}|(?:45|77|88)$_bf_$d{5}"},{i:"PY",lbl:"Paraguay",img:"py.png",code:"+595",ex:"961456789",ptrn:"9(?:51|6[129]|[78][1-6]|9[1-5])$_bf_$d{6}"},{i:"QA",lbl:"Qatar",img:"qa.png",code:"+974",ex:"33123456",ptrn:"(?:28|[35-7]$_bf_$d)$_bf_$d{6}"},{i:"RE",lbl:"Réunion",img:"re.png",code:"+262",ex:"692123456",ptrn:"(?:69(?:2$_bf_$d$_bf_$d|3(?:[06][0-46]|1[013]|2[0-2]|3[0-39]|4$_bf_$d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))|9769$_bf_$d)$_bf_$d{4}"},{i:"RO",lbl:"Romania",img:"ro.png",code:"+40",ex:"712034567",ptrn:"7020$_bf_$d{5}|7(?:0[013-9]|1[0-2]|[2-7]$_bf_$d|8[03-8]|9[019])$_bf_$d{6}"},{i:"RS",lbl:"Serbia",img:"rs.png",code:"+381",ex:"601234567",ptrn:"6(?:[0-689]|7$_bf_$d)$_bf_$d{6,7}"},{i:"RU",lbl:"Russian Federation (the)",img:"ru.png",code:"+7",ex:"9123456789",ptrn:"9$_bf_$d{9}"},{i:"RW",lbl:"Rwanda",img:"rw.png",code:"+250",ex:"720123456",ptrn:"7[2389]$_bf_$d{7}"},{i:"SA",lbl:"Saudi Arabia",img:"sa.png",code:"+966",ex:"512345678",ptrn:"579[01]$_bf_$d{5}|5(?:[013-689]$_bf_$d|7[0-36-8])$_bf_$d{6}"},{i:"SB",lbl:"Solomon Islands",img:"sb.png",code:"+677",ex:"7421234",ptrn:"48$_bf_$d{3}|(?:(?:7[1-9]|8[4-9])$_bf_$d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]$_bf_$d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))$_bf_$d{4}"},{i:"SC",lbl:"Seychelles",img:"sc.png",code:"+248",ex:"2510123",ptrn:"2[5-8]$_bf_$d{5}"},{i:"SD",lbl:"Sudan (the)",img:"sd.png",code:"+249",ex:"911231234",ptrn:"(?:1[0-2]|9[0-3569])$_bf_$d{7}"},{i:"SE",lbl:"Sweden",img:"se.png",code:"+46",ex:"701234567",ptrn:"7[02369]$_bf_$d{7}"},{i:"SG",lbl:"Singapore",img:"sg.png",code:"+65",ex:"81234567",ptrn:"(?:8(?:0(?:[13]$_bf_$d|2[013-9]|4[0-35-7])|[1-8]$_bf_$d$_bf_$d|9(?:[0-4]$_bf_$d|5[0-2]))|9[0-8]$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"SH",lbl:"Saint Helena, Ascension and Tristan da Cunha",img:"sh.png",code:"+290",ex:"51234",ptrn:"[56]$_bf_$d{4}"},{i:"SI",lbl:"Slovenia",img:"si.png",code:"+386",ex:"31234567",ptrn:"65(?:1$_bf_$d|55|[67]0)$_bf_$d{4}|(?:[37][01]|4[0139]|51|6[489])$_bf_$d{6}"},{i:"SJ",lbl:"Svalbard and Jan Mayen",img:"sj.png",code:"+47",ex:"41234567",ptrn:"(?:4[015-8]|59|9$_bf_$d)$_bf_$d{6}"},{i:"SK",lbl:"Slovakia",img:"sk.png",code:"+421",ex:"912123456",ptrn:"909[1-9]$_bf_$d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5$_bf_$d)$_bf_$d{6}"},{i:"SL",lbl:"Sierra Leone",img:"sl.png",code:"+232",ex:"25123456",ptrn:"(?:25|3[0-5]|66|7[3-9]|8[08]|9[09])$_bf_$d{6}"},{i:"SM",lbl:"San Marino",img:"sm.png",code:"+378",ex:"66661212",ptrn:"6[16]$_bf_$d{6}"},{i:"SN",lbl:"Senegal",img:"sn.png",code:"+221",ex:"701234567",ptrn:"75(?:01|[38]3)$_bf_$d{5}|7(?:[06-8]$_bf_$d|21|5[4-7]|90)$_bf_$d{6}"},{i:"SO",lbl:"Somalia",img:"so.png",code:"+252",ex:"71123456",ptrn:"(?:(?:15|(?:3[59]|4[89]|79|8[08])$_bf_$d|6(?:0[5-7]|[1-9]$_bf_$d)|9(?:0$_bf_$d|[2-9]))$_bf_$d|2(?:4$_bf_$d|8))$_bf_$d{5}|(?:6$_bf_$d|7[1-9])$_bf_$d{6}"},{i:"SR",lbl:"Suriname",img:"sr.png",code:"+597",ex:"7412345",ptrn:"(?:7[124-7]|8[124-9])$_bf_$d{5}"},{i:"SS",lbl:"South Sudan",img:"ss.png",code:"+211",ex:"977123456",ptrn:"(?:12|9[1257-9])$_bf_$d{7}"},{i:"ST",lbl:"Sao Tome and Principe",img:"st.png",code:"+239",ex:"9812345",ptrn:"900[5-9]$_bf_$d{3}|9(?:0[1-9]|[89]$_bf_$d)$_bf_$d{4}"},{i:"SV",lbl:"El Salvador",img:"sv.png",code:"+503",ex:"70123456",ptrn:"66(?:[02-9]$_bf_$d$_bf_$d|1(?:[02-9]$_bf_$d|16))$_bf_$d{3}|(?:6[0-57-9]|7$_bf_$d)$_bf_$d{6}"},{i:"SX",lbl:"Sint Maarten (Dutch part)",img:"sx.png",code:"+1",ex:"7215205678",ptrn:"7215(?:1[02]|2$_bf_$d|5[034679]|8[014-8])$_bf_$d{4}"},{i:"SY",lbl:"Syrian Arab Republic",img:"sy.png",code:"+963",ex:"944567890",ptrn:"9(?:22|[3-689]$_bf_$d)$_bf_$d{6}"},{i:"SZ",lbl:"Eswatini",img:"sz.png",code:"+268",ex:"76123456",ptrn:"7[6-9]$_bf_$d{6}"},{i:"TC",lbl:"Turks and Caicos Islands (the)",img:"tc.png",code:"+1",ex:"6492311234",ptrn:"649(?:2(?:3[129]|4[1-79])|3$_bf_$d$_bf_$d|4[34][1-3])$_bf_$d{4}"},{i:"TD",lbl:"Chad",img:"td.png",code:"+235",ex:"63012345",ptrn:"(?:6[023568]|77|9$_bf_$d)$_bf_$d{6}"},{i:"TG",lbl:"Togo",img:"tg.png",code:"+228",ex:"90112345",ptrn:"(?:7[09]|9[0-36-9])$_bf_$d{6}"},{i:"TH",lbl:"Thailand",img:"th.png",code:"+66",ex:"812345678",ptrn:"671[0-3]$_bf_$d{5}|(?:14|6[1-6]|[89]$_bf_$d)$_bf_$d{7}"},{i:"TJ",lbl:"Tajikistan",img:"tj.png",code:"+992",ex:"917123456",ptrn:"41[18]$_bf_$d{6}|(?:[034]0|11|2[02]|5[05]|7[07]|8[08]|9$_bf_$d)$_bf_$d{7}"},{i:"TK",lbl:"Tokelau",img:"tk.png",code:"+690",ex:"7290",ptrn:"7[2-4]$_bf_$d{2,5}"},{i:"TL",lbl:"Timor-Leste",img:"tl.png",code:"+670",ex:"77212345",ptrn:"7[2-8]$_bf_$d{6}"},{i:"TM",lbl:"Turkmenistan",img:"tm.png",code:"+993",ex:"66123456",ptrn:"6$_bf_$d{7}"},{i:"TN",lbl:"Tunisia",img:"tn.png",code:"+216",ex:"20123456",ptrn:"3(?:001|[12]40)$_bf_$d{4}|(?:(?:[259]$_bf_$d|4[0-7])$_bf_$d|3(?:1[1-35]|6[0-4]|91))$_bf_$d{5}"},{i:"TO",lbl:"Tonga",img:"to.png",code:"+676",ex:"7715123",ptrn:"(?:55[4-6]|6(?:[09]$_bf_$d|3[02]|8[15-9])|(?:7$_bf_$d|8[46-9])$_bf_$d|999)$_bf_$d{4}"},{i:"TR",lbl:"Turkey",img:"tr.png",code:"+90",ex:"5012345678",ptrn:"56161$_bf_$d{5}|5(?:0[15-7]|1[06]|24|[34]$_bf_$d|5[1-59]|9[46])$_bf_$d{7}"},{i:"TT",lbl:"Trinidad and Tobago",img:"tt.png",code:"+1",ex:"8682911234",ptrn:"868(?:(?:2[5-9]|3$_bf_$d)$_bf_$d|4(?:3[0-6]|[6-9]$_bf_$d)|6(?:20|78|8$_bf_$d)|7(?:0[1-9]|1[02-9]|[2-9]$_bf_$d))$_bf_$d{4}"},{i:"TV",lbl:"Tuvalu",img:"tv.png",code:"+688",ex:"901234",ptrn:"(?:7[01]$_bf_$d|90)$_bf_$d{4}"},{i:"TW",lbl:"Taiwan (Province of China)",img:"tw.png",code:"+886",ex:"912345678",ptrn:"(?:40001[0-2]|9[0-8]$_bf_$d{4})$_bf_$d{3}"},{i:"TZ",lbl:"Tanzania, United Republic of",img:"tz.png",code:"+255",ex:"621234567",ptrn:"77[2-9]$_bf_$d{6}|(?:6[1-9]|7[1-689])$_bf_$d{7}"},{i:"UA",lbl:"Ukraine",img:"ua.png",code:"+380",ex:"501234567",ptrn:"(?:50|6[36-8]|7[1-3]|9[1-9])$_bf_$d{7}"},{i:"UG",lbl:"Uganda",img:"ug.png",code:"+256",ex:"712345678",ptrn:"726[01]$_bf_$d{5}|7(?:[0157-9]$_bf_$d|20|36|[46][0-4])$_bf_$d{6}"},{i:"US",lbl:"United States of America (the)",img:"us.png",code:"+1",ex:"2015550123",ptrn:"5056(?:[0-35-9]$_bf_$d|4[46])$_bf_$d{4}|(?:4722|505[2-57-9])$_bf_$d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]$_bf_$d{6}"},{i:"UY",lbl:"Uruguay",img:"uy.png",code:"+598",ex:"94231234",ptrn:"9[1-9]$_bf_$d{6}"},{i:"UZ",lbl:"Uzbekistan",img:"uz.png",code:"+998",ex:"912345678",ptrn:"(?:(?:33|88|9[0-57-9])$_bf_$d{3}|55(?:50[013]|90$_bf_$d)|6(?:1(?:2(?:2[01]|98)|35[0-4]|50$_bf_$d|61[23]|7(?:[01][017]|4$_bf_$d|55|9[5-9]))|2(?:(?:11|7$_bf_$d)$_bf_$d|2(?:[12]1|9[01379])|5(?:[126]$_bf_$d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7$_bf_$d)$_bf_$d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])$_bf_$d|4(?:56|83)|7(?:[07]$_bf_$d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0$_bf_$d|[39][07])|9(?:0$_bf_$d|7[079]))|9(?:2(?:1[1267]|3[01]|5$_bf_$d|7[0-4])|(?:5[67]|7$_bf_$d)$_bf_$d|6(?:2[0-26]|8$_bf_$d)))|7(?:[07]$_bf_$d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98$_bf_$d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57$_bf_$d|7(?:0$_bf_$d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])$_bf_$d|5(?:0[0-4]|5[579]|9$_bf_$d)|7(?:[0-3579]$_bf_$d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8$_bf_$d|9[5-9])|7(?:0$_bf_$d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]$_bf_$d))|5(?:112|2(?:0$_bf_$d|2[29]|[49]4)|3[1568]$_bf_$d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]$_bf_$d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39$_bf_$d|41[179]|5(?:[349]$_bf_$d|5[0-2])|7(?:0[017]|[13]$_bf_$d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7$_bf_$d)|57[02569]|7(?:2[05-9]|3[37]|4$_bf_$d|60|7[2579]|87|9[07]))))$_bf_$d{4}"},{i:"VA",lbl:"Holy See (the)",img:"va.png",code:"+39",ex:"3123456789",ptrn:"3[1-9]$_bf_$d{8}|3[2-9]$_bf_$d{7}"},{i:"VC",lbl:"Saint Vincent and the Grenadines",img:"vc.png",code:"+1",ex:"7844301234",ptrn:"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)$_bf_$d{4}"},{i:"VE",lbl:"Venezuela (Bolivarian Republic of)",img:"ve.png",code:"+58",ex:"4121234567",ptrn:"4(?:1[24-8]|2[46])$_bf_$d{7}"},{i:"VG",lbl:"Virgin Islands (British)",img:"vg.png",code:"+1",ex:"2843001234",ptrn:"284496[6-9]$_bf_$d{3}|284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|5(?:4[0-7]|68|9[69]))$_bf_$d{4}"},{i:"VI",lbl:"Virgin Islands (U.S.)",img:"vi.png",code:"+1",ex:"3406421234",ptrn:"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7$_bf_$d)|884|998)$_bf_$d{4}"},{i:"VN",lbl:"Viet Nam",img:"vn.png",code:"+84",ex:"912345678",ptrn:"(?:5(?:2[238]|59)|89[689]|99[013-9])$_bf_$d{6}|(?:3$_bf_$d|5[689]|7[06-9]|8[1-8]|9[0-8])$_bf_$d{7}"},{i:"VU",lbl:"Vanuatu",img:"vu.png",code:"+678",ex:"5912345",ptrn:"(?:[58]$_bf_$d|7[013-7])$_bf_$d{5}"},{i:"WF",lbl:"Wallis and Futuna",img:"wf.png",code:"+681",ex:"821234",ptrn:"(?:72|8[23])$_bf_$d{4}"},{i:"WS",lbl:"Samoa",img:"ws.png",code:"+685",ex:"7212345",ptrn:"(?:7[1-35-7]|8(?:[3-7]|9$_bf_$d{3}))$_bf_$d{5}"},{i:"YE",lbl:"Yemen",img:"ye.png",code:"+967",ex:"712345678",ptrn:"7[0137]$_bf_$d{7}"},{i:"YT",lbl:"Mayotte",img:"yt.png",code:"+262",ex:"639012345",ptrn:"639(?:0[0-79]|1[019]|[267]$_bf_$d|3[09]|40|5[05-9]|9[04-79])$_bf_$d{4}"},{i:"ZA",lbl:"South Africa",img:"za.png",code:"+27",ex:"711234567",ptrn:"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])$_bf_$d{3}|8[1-4]$_bf_$d{3,7}|(?:2[27]|47|54)4950$_bf_$d{3}|(?:1(?:049[2-4]|9[12]$_bf_$d$_bf_$d)|(?:6$_bf_$d|7[0-46-9])$_bf_$d{3}|8(?:5$_bf_$d{3}|7(?:08[67]|158|28[5-9]|310)))$_bf_$d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920$_bf_$d{3}|(?:12|[2-5]1)492$_bf_$d{4}"},{i:"ZM",lbl:"Zambia",img:"zm.png",code:"+260",ex:"955123456",ptrn:"(?:7[679]|9[5-8])$_bf_$d{7}"},{i:"ZW",lbl:"Zimbabwe",img:"zw.png",code:"+263",ex:"712345678",ptrn:"7(?:[178]$_bf_$d|3[1-9])$_bf_$d{6}"}],valid:{},err:{invalid:{dflt:'<p style="margin:0">Please enter a valid phone number</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"select",lbl:"Choose Your Area of Support",phHide:!0,ph:"Select an Option",optionsList:[{"List-1":[{lbl:"Emergency Relief"},{lbl:"Food Aid"},{lbl:"Medical Supplies"},{lbl:"Shelter"},{lbl:"Long-term Recovery"}]}],config:{selectedOptImage:!1,selectedOptClearable:!0,searchClearable:!1,optionIcon:!1,placeholder:"Select an option",showSearchPh:!0,searchPlaceholder:"Search Options...",maxHeight:400,multipleSelect:!0,showChip:!0,selectedOptImgSrc:"test.png",closeOnSelect:!0,activeList:0,allowCustomOption:!1,defaultValue:""},valid:{},err:{mn:{dflt:'<p style="margin:0">You must select the minimum required options.</p>',show:!0},mx:{dflt:'<p style="margin:0">You can select up to the maximum allowed options.</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"decision-box",adminLbl:"I prefer to remain anonymous.",adminLblHide:!0,lbl:'<p style="margin: 0;"><span style="font-size: 12pt;">I prefer to remain anonymous.</span></p>',msg:{checked:"Accepted",unchecked:"Rejected"},valid:{},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"radio",lbl:"How Much Would You Like to Donate?",round:!0,opt:[{lbl:"50 USD"},{lbl:"100 USD"},{lbl:"200 USD"},{lbl:"500 USD",val:""},{lbl:"1000 USD",val:""}],valid:{otherOptReq:!0},err:{otherOptReq:{dflt:'<p style="margin:0">Custom Option Required</p>',show:!0,custom:!0,msg:'<p style="margin: 0;">Custom Amount Required</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-7",otherPhShow:!0,addOtherOpt:!0,otherInpPh:"Write Custom Amount...",optionCol:"3"},"fld_key-8":{typ:"stripe",adminLbl:"Stripe",err:{},txt:"Pay with Stripe",layout:{autoHeight:1},config:{payBtnTxt:"Pay now",layout:{type:"tabs",defaultCollapsed:!1},options:{mode:"payment",currency:"usd",locale:"en",payment_method_types:["card"]},theme:{name:"stripe",style:{theme:"stripe"}},amountType:"dynamic",amountFld:"b12-7"},payIntegID:"26",fieldName:"fld_key-8"},"fld_key-9":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Disaster Relief Donation",titleHide:!1,subtitleHide:!0,titleTag:"h1",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-9"},"fld_key-10":{typ:"select",lbl:"How often would you like to donate?",phHide:!0,ph:"Select an Option",optionsList:[{"List-1":[{lbl:"One-time"},{lbl:"Monthly"},{lbl:"Yearly"}]}],config:{selectedOptImage:!1,selectedOptClearable:!0,searchClearable:!0,optionIcon:!1,placeholder:"Select an option",showSearchPh:!0,searchPlaceholder:"Search options..",maxHeight:400,multipleSelect:!1,showChip:!1,selectedOptImgSrc:"test.png",closeOnSelect:!0,activeList:0,allowCustomOption:!1,defaultValue:""},valid:{},err:{mn:{dflt:'<p style="margin:0">You must select the minimum required options.</p>',show:!0},mx:{dflt:'<p style="margin:0">You can select up to the maximum allowed options.</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-10"}},styles:{lgDarkStyles:{},lgLightStyles:{confirmations:[{confMsgId:"12",style:{".close-12":{background:"transparent",border:"none","border-radius":"50%",color:"var(--bg-40)",cursor:"pointer",display:"grid",height:"25px",padding:0,"place-content":"center",position:"absolute",right:"7px",top:"50%",transform:"translateY(-50%)",width:"25px"},".close-12:focus":{color:"var(--bg-50)"},".close-12:hover":{background:"var(--bg-10)",color:"var(--bg-50)"},".close-icn-12":{height:"15px","pointer-events":"none","stroke-width":2,width:"15px"},".msg-background-12":{"align-items":"center",background:"rgba(0, 0, 0, 0.0)",display:"flex",height:"100%","justify-content":"center",width:"100%"},".msg-container-12":{"align-items":"center",display:"flex",height:"0","justify-content":"center",opacity:0,transition:"opacity 0.4s",visibility:"hidden",width:"inherit","z-index":999},".msg-container-12.active":{height:"auto","margin-top":"10px",opacity:1,visibility:"visible"},".msg-container-12.deactive":{height:"0","margin-top":"0",opacity:0,transition:"opacity 0.4s, visibility 0s ease-out 0.4s",visibility:"hidden"},".msg-content-12":{background:"#bdffd4e8","border-color":"#a9ffa3","border-radius":"var(--g-bdr-rad)","border-style":"solid","border-width":"1px","box-shadow":"0px 0px 0px 0px rgb(0 0 0 / 6%) ",color:"var(--global-font-color)",margin:"auto",padding:"5px 35px 5px 20px",position:"relative",width:"100%","word-break":"break-all"}}}],fields:{"b12-1":{classes:{".b12-1-btn":{"align-items":"center",background:"var(--btn-bg)","border-color":"var(--btn-bdr-clr)","border-radius":"var(--btn-bdr-rad) !important","border-style":"var(--btn-bdr)","border-width":"var(--btn-bdr-width)","box-shadow":"var(--btn-sh)",color:"var(--btn-c)",cursor:"pointer",display:"flex","font-family":"inherit","font-size":"var(--btn-fs)!important","font-style":"var(--btn-f-style)","font-weight":"var(--btn-fw)","justify-content":"center","line-height":"1",margin:"var(--btn-m)",outline:"none",padding:"var(--btn-p)!important",transition:"",width:"100%"},".b12-1-btn-suf-i":{"color(filter)":"",filter:"invert(99%) sepia(1%) saturate(2%) hue-rotate(213deg) brightness(115%) contrast(100%);",height:"20px","icon-color":"hsla(0, 0%, 100%, 100%)",margin:"0px 0px 0px 5px",width:"20px"},".b12-1-btn:active":{transform:""},".b12-1-btn:active:focus-visible":{"outline-offset":0},".b12-1-btn:disabled":{cursor:"not-allowed",opacity:"0.5","pointer-events":"none"},".b12-1-btn:focus-visible":{outline:"2px solid var(--global-accent-color)","outline-offset":"2px",transition:"outline-offset 0.2s ease"},".b12-1-btn:hover":{"background-color":"hsl(var(--gah), var(--gas), calc(var(--gal) - 5%)) !important"},".b12-1-err-inner":{overflow:"hidden"},".b12-1-err-txt":{display:"block"},".b12-1-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-1-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-1-inp-fld-wrp":{display:"flex"},".b12-1-inp-wrp":{width:"var(--inp-wrp-width, auto)"}},fieldSize:"medium",fieldType:"button",overrideGlobalTheme:["btn-suf-i"],theme:"atlassian"},"b12-10":{classes:{".b12-10-custom-opt-btn":{background:"transparent",border:"0.5px solid hsla(var(--gfbg-h), var(--gfbg-s), 70%, var(--gfbg-a)) ","border-radius":"5px",color:"var(--global-font-color)",cursor:"pointer",display:"none",height:"25px",margin:"0",outline:"0",padding:"5px","place-content":"center",right:"30px"},".b12-10-dpd-btn-wrp":{"align-items":"center",display:"flex"},".b12-10-dpd-down-btn":{display:"grid","place-content":"center",transition:"transform 0.2s",width:"15px"},".b12-10-dpd-fld-container":{display:"inline-block",height:"40px",position:"relative",width:"100%"},".b12-10-dpd-fld-wrp":{"background-color":"","border-color":"","border-radius":"","border-style":"","border-width":"",color:"var(--fld-inp-c) !important",display:"flex","flex-direction":"column","font-size":"var(--fld-fs) !important",overflow:"",position:"absolute",transition:"box-shadow 200ms",width:"100%"},".b12-10-dpd-fld-wrp .placeholder-img":{"background-color":"var(--bg-15)",outline:"1px solid var(--bg-10)"},".b12-10-dpd-fld-wrp.disabled .b12-5-dpd-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))",cursor:"not-allowed","pointer-events":"none"},".b12-10-dpd-fld-wrp.menu-open":{"background-color":"","border-color":"","box-shadow":"","z-index":"999"},".b12-10-dpd-fld-wrp.menu-open .b12-5-dpd-down-btn":{transform:"rotate(180deg)"},".b12-10-dpd-fld-wrp.menu-open .b12-5-dpd-wrp":{"background-color":"var(--global-bg-color)","border-color":"var(--global-accent-color)!important"},".b12-10-dpd-fld-wrp.menu-open .b12-5-option-wrp":{"box-shadow":"0px 8px 12px hsla(var(--gah), var(--gas), 10%, .15), 0px 0px 1px #091e424f, 0 4px 11px var(--bg-5)",margin:"5px 0"},".b12-10-dpd-fld-wrp.readonly .b12-5-dpd-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))","pointer-events":"none"},".b12-10-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color)!important","box-shadow":""},".b12-10-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled) .b12-5-dpd-wrp":{"border-color":"var(--global-accent-color)!important"},".b12-10-dpd-fld-wrp:hover:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color)!important"},".b12-10-dpd-wrp":{"align-items":"center","background-color":"var(--global-fld-bg-color)","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important","box-sizing":"border-box",cursor:"pointer",display:"flex","font-weight":"500","justify-content":"space-between","min-height":"40px",outline:"none",overflow:"hidden",padding:"4px 10px",position:"relative"},".b12-10-err-inner":{overflow:"hidden"},".b12-10-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-10-err-txt":{display:"block"},".b12-10-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-10-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"7px 30px 7px 0px",position:"relative",width:"var(--fld-wrp-width)"},".b12-10-icn":{position:"absolute",top:"50%",transform:"translateY(-50%)"},".b12-10-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-10-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-10-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-10-opt-search-icn":{"border-left":"1px solid var(--bg-20)",height:"22px",left:"auto",padding:"2px",right:"5px",width:"30px"},".b12-10-opt-search-input":{"background-color":"var(--bg-5)",border:"none !important","border-radius":"var(--g-bdr-rad) !important","box-shadow":"none",color:"var(--global-font-color) !important","font-family":"inherit","font-size":"var(--fld-fs)",height:"35px",outline:"none",padding:"0px 58px 0 10px !important","padding-left":"","padding-right":"",width:"100%"},".b12-10-opt-search-input::-webkit-search-cancel-button":{display:"none"},".b12-10-opt-search-input::-webkit-search-decoration":{display:"none"},".b12-10-opt-search-input::-webkit-search-results-button":{display:"none"},".b12-10-opt-search-input::-webkit-search-results-decoration":{display:"none"},".b12-10-opt-search-input::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 0.5)"},".b12-10-opt-search-input:focus":{"background-color":"var(--bg-0)","box-shadow":"0 0 0 2px var(--global-accent-color) inset"},".b12-10-opt-search-input:focus~svg":{color:"var(--global-accent-color)"},".b12-10-option-inner-wrp":{display:"flex","flex-direction":"column",overflow:"hidden"},".b12-10-option-list":{height:"100%",margin:"0 0 2px 0 !important","overflow-y":"auto",padding:"0","scrollbar-color":"var(--bg-15) transparent !important","scrollbar-width":"thin !important"},".b12-10-option-list .disable-on-max":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.8","pointer-events":"none"},".b12-10-option-list .disabled-opt":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.5","pointer-events":"none"},".b12-10-option-list .opt-group-child":{"padding-left":"15px !important"},".b12-10-option-list .opt-group-title":{cursor:"default","font-size":"calc(var(--fld-fs) - 2px)","font-weight":600,opacity:".7"},".b12-10-option-list .opt-icn":{"-webkit-user-select":"none","border-radius":"3px",height:"17px","margin-right":"5px","user-select":"none",width:"25px"},".b12-10-option-list .opt-lbl":{},".b12-10-option-list .opt-lbl-wrp":{"align-items":"center",display:"flex",gap:"5px"},".b12-10-option-list .opt-not-found":{"list-style":"none",margin:"5px","text-align":"center"},".b12-10-option-list .option":{"align-items":"center","border-color":"transparent","border-radius":"","border-style":"solid","border-width":"0 0 0 3px",cursor:"pointer",display:"flex","font-size":"calc(var(--fld-fs) - 2px)","justify-content":"space-between",margin:"0 !important",padding:"8px 7px","text-align":"left",transition:""},".b12-10-option-list .option:focus-visible":{"background-color":"var(--bg-10)",outline:"2px solid var(--global-accent-color)"},".b12-10-option-list .option:hover:not(.selected-opt):not(.opt-group-title)":{"background-color":"var(--bg-10)","border-color":"var(--global-accent-color)"},".b12-10-option-list .selected-opt":{"background-color":"hsla(var(--gah), var(--gas), var(--gal), 0.2)","border-color":"var(--global-accent-color)",color:"var(--global-accent-color)","font-weight":500},".b12-10-option-list .selected-opt:focus-visible":{"background-color":"var(--global-accent-color)"},".b12-10-option-list::-webkit-scrollbar":{width:"8px"},".b12-10-option-list::-webkit-scrollbar-thumb":{"background-color":"var(--bg-15)","border-radius":"var(--g-bdr-rad)"},".b12-10-option-list:not(.active-list)":{display:"none !important"},".b12-10-option-search-wrp":{margin:"5px",position:"relative"},".b12-10-option-wrp":{background:"var(--global-bg-color)","border-color":"","border-radius":"var(--g-bdr-rad)","border-style":"","border-width":"",display:"flex","flex-direction":"column",margin:"auto","max-height":"0px","min-height":"auto",overflow:"hidden",transition:"",width:"100%"},".b12-10-search-clear-btn":{background:"hsla(var(--gah), var(--gas), 20%, 100%) !important",border:"0","border-radius":"50% !important",color:"var(--bg-0)",cursor:"pointer",display:"none",height:"16px",margin:"0",outline:"0",padding:"0px !important","place-content":"center",right:"40px",width:"16px"},".b12-10-search-clear-btn:focus-visible":{"box-shadow":"0 0 0 2px var(--global-accent-color)",outline:"none"},".b12-10-search-clear-btn:hover":{background:"hsla(var(--gah), var(--gas), 30%, 100%) !important"},".b12-10-selected-opt-clear-btn":{background:"transparent !important",border:"0","border-radius":"50% !important",color:"var(--fld-inp-c) !important",cursor:"pointer",display:"none",height:"16px",margin:"0","margin-right":"5px",outline:"0",padding:"0px !important","place-content":"center",right:"6px",width:"16px"},".b12-10-selected-opt-clear-btn:focus-visible":{outline:"1.5px solid var(--global-accent-color)"},".b12-10-selected-opt-clear-btn:hover":{"background-color":"var(--bg-15) !important"},".b12-10-selected-opt-img":{"-webkit-user-select":"none","border-radius":"3px",height:"17px","user-select":"none",width:"25px"},".b12-10-selected-opt-lbl":{},".b12-10-selected-opt-lbl .chip-clear-btn":{"background-color":"transparent !important",border:"none","border-radius":"50%","box-shadow":"none",color:"var(--fld-inp-c) !important",cursor:"pointer",display:"grid",height:"17px",outline:"none",padding:"0px","place-content":"center",width:"17px"},".b12-10-selected-opt-lbl .chip-clear-btn:focus-visible":{outline:"1.5px solid var(--global-accent-color)"},".b12-10-selected-opt-lbl .chip-clear-btn:hover":{"background-color":"var(--bg-20) !important"},".b12-10-selected-opt-lbl .chip-icn":{height:"13px",width:"13px"},".b12-10-selected-opt-lbl .chip-lbl":{color:"var(--fld-inp-c)","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important"},".b12-10-selected-opt-lbl .chip-wrp":{"align-items":"center","background-color":"var(--bg-10)","border-radius":"var(--g-bdr-rad)",display:"flex",gap:"5px",padding:"5px 8px"},".b12-10-selected-opt-lbl.multi-chip":{display:"flex","flex-wrap":"wrap",gap:"5px"},".b12-10-selected-opt-wrp":{"align-items":"center",display:"flex",gap:"10px",height:"100%"}},fieldSize:"medium",fieldType:"select",overrideGlobalTheme:["fld-wrp"],theme:"atlassian"},"b12-2":{classes:{".b12-2-err-inner":{overflow:"hidden"},".b12-2-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-2-err-txt":{display:"block"},".b12-2-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-2-fld":{"background-color":"var(--global-fld-bg-color) !important","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important",color:"var(--fld-inp-c) !important",direction:"inherit !important",display:"inline-block!important","font-family":"inherit","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important",height:"40px","line-height":"1.4 !important",margin:"var(--fld-m)!important",outline:"none !important",padding:"var(--fld-p)!important",transition:"background 0.2s ease",width:"100% !important"},".b12-2-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-2-fld::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 40%) !important","font-family":"inherit"},".b12-2-fld:disabled":{"background-color":"var(--bg-5)!important","border-color":"var(--bg-5) !important",color:"hsla(var(--gfh), var(--gfs), var(--gfl), .5) !important",cursor:"default"},".b12-2-fld:focus":{background:"var(--global-bg-color)!important","border-color":"var(--global-accent-color) !important","box-shadow":"none !important"},".b12-2-fld:hover":{background:"hsla(var(--gfbc-h), var(--gfbc-s), var(--gfbc-l), 0.6)","border-color":"none !important"},".b12-2-fld:hover:not(:focus)":{background:"hsla(var(--gfbc-h), var(--gfbc-s), var(--gfbc-l), 0.6) !important"},".b12-2-fld:read-only":{cursor:"default"},".b12-2-inp-fld-wrp":{margin:"0px",position:"relative"},".b12-2-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-2-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-2-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"}},fieldSize:"medium",fieldType:"text",overrideGlobalTheme:[],theme:"atlassian"},"b12-3":{classes:{".b12-3-err-inner":{overflow:"hidden"},".b12-3-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-3-err-txt":{display:"block"},".b12-3-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-3-fld":{"background-color":"var(--global-fld-bg-color) !important","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important",color:"var(--fld-inp-c) !important",direction:"inherit !important",display:"inline-block!important","font-family":"inherit","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important",height:"40px","line-height":"1.4 !important",margin:"var(--fld-m)!important",outline:"none !important",padding:"var(--fld-p)!important",transition:"background 0.2s ease",width:"100% !important"},".b12-3-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-3-fld::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 40%) !important","font-family":"inherit"},".b12-3-fld:disabled":{"background-color":"var(--bg-5)!important","border-color":"var(--bg-5) !important",color:"hsla(var(--gfh), var(--gfs), var(--gfl), .5) !important",cursor:"default"},".b12-3-fld:focus":{background:"var(--global-bg-color)!important","border-color":"var(--global-accent-color) !important","box-shadow":"none !important"},".b12-3-fld:hover":{background:"hsla(var(--gfbc-h), var(--gfbc-s), var(--gfbc-l), 0.6)","border-color":"none !important"},".b12-3-fld:hover:not(:focus)":{background:"hsla(var(--gfbc-h), var(--gfbc-s), var(--gfbc-l), 0.6) !important"},".b12-3-fld:read-only":{cursor:"default"},".b12-3-inp-fld-wrp":{margin:"0px",position:"relative"},".b12-3-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-3-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-3-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-3-req-smbl":{color:"var(--req-smbl-c, inherit)","font-size":"var(--req-smbl-fs)","font-weight":"var(--req-smbl-fw)",left:"var(--req-smbl-lt,unset)","line-height":"var(--req-smbl-lh, 12px)",margin:"var(--req-smbl-m, 0)",padding:"var(--req-smbl-p, 0)",position:"var(--req-smbl-pn,unset)",right:"var(--req-smbl-rt,unset)"}},fieldSize:"medium",fieldType:"email",overrideGlobalTheme:[],theme:"atlassian"},"b12-4":{classes:{".b12-4-dpd-down-btn":{display:"grid","place-content":"center",transition:"transform 0.2s",width:"15px"},".b12-4-dpd-wrp":{"align-items":"center","background-color":"transparent","border-radius":"var(--g-bdr-rad)",cursor:"pointer",display:"flex","font-size":"12px","font-weight":"500",height:"30px","justify-content":"space-between",margin:"3px",outline:"none",overflow:"hidden",padding:"10px",position:"relative"},".b12-4-dpd-wrp:focus-visible":{outline:"2px solid var(--global-accent-color)"},".b12-4-dpd-wrp:hover":{"background-color":"var(--bg-5)"},".b12-4-err-inner":{overflow:"hidden"},".b12-4-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-4-err-txt":{display:"block"},".b12-4-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-4-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-4-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-4-input-clear-btn":{background:"hsla(var(--gah), var(--gas), 20%, 100%) !important",border:"none","border-radius":"50% !important",color:"var(--bg-5) !important",cursor:"pointer",display:"none",height:"16px",margin:"0px 5px 0px 0px",outline:0,padding:"0px !important","place-content":"center",position:"absolute",right:"6px",top:"50%",transform:"translateY(-50%)",width:"16px"},".b12-4-input-clear-btn:focus-visible":{"box-shadow":"0 0 0 1.5px var(--global-accent-color)",outline:"none"},".b12-4-input-clear-btn:hover":{background:"hsla(var(--gah), var(--gas), 30%, 100%) !important"},".b12-4-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-4-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-4-opt-lbl":{},".b12-4-opt-search-icn":{"border-left":"1px solid var(--bg-20)",color:"var(--fld-inp-c)",height:"22px",left:"",padding:"2px",position:"absolute",right:"5px",top:"50%",transform:"translateY(-50%)",width:"30px"},".b12-4-opt-search-input":{"background-color":"var(--bg-5)",border:"none !important","border-radius":"var(--g-bdr-rad) !important","box-shadow":"none",color:"var(--fld-inp-c) !important","font-family":"inherit","font-size":"1rem",height:"35px",outline:"none",padding:"0px 58px 0 10px !important",width:"100%"},".b12-4-opt-search-input::-webkit-search-cancel-button":{display:"none"},".b12-4-opt-search-input::-webkit-search-decoration":{display:"none"},".b12-4-opt-search-input::-webkit-search-results-button":{display:"none"},".b12-4-opt-search-input::-webkit-search-results-decoration":{display:"none"},".b12-4-opt-search-input::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 0.5)"},".b12-4-opt-search-input:focus":{"background-color":"var(--bg-0)","box-shadow":"0 0 0 2px var(--global-accent-color) inset"},".b12-4-opt-search-input:focus~svg":{color:"var(--global-accent-color)"},".b12-4-option-inner-wrp":{display:"flex","flex-direction":"column",overflow:"hidden",position:"relative"},".b12-4-option-list":{height:"100%",margin:"0px !important","overflow-y":"auto",padding:0,"scrollbar-color":"var(--bg-15) transparent !important","scrollbar-width":"thin !important"},".b12-4-option-list .disabled-opt":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.5","pointer-events":"none"},".b12-4-option-list .opt-icn":{"-webkit-user-select":"none","border-radius":"3px","box-shadow":" 0 0 0 1px var(--bg-5)",height:"17px",margin:"0 10px 0 0","user-select":"none",width:"25px"},".b12-4-option-list .opt-lbl-wrp":{"align-items":"center",display:"flex","margin-right":"5px"},".b12-4-option-list .opt-not-found":{"font-size":"calc(var(--fld-fs) - 2px)","list-style":"none",margin:"5px","text-align":"center"},".b12-4-option-list .opt-suffix":{background:"var(--bg-10)","border-radius":"5px","font-size":"calc(var(--fld-fs) - 3px)",padding:"3px"},".b12-4-option-list .option":{"align-items":"center",border:"none","border-color":"transparent","border-radius":"","border-style":"solid","border-width":"0 0 0 3px",cursor:"pointer",display:"flex","font-size":"calc(var(--fld-fs) - 2px)",margin:"0 !important",padding:"8px 7px","text-align":"left",transition:""},".b12-4-option-list .option.selected-opt:focus-visible":{"background-color":"var(--global-accent-color)"},".b12-4-option-list .option:focus-visible":{"background-color":"var(--bg-10)",outline:"2px solid var(--global-accent-color)"},".b12-4-option-list .option:hover:not(.selected-opt)":{"background-color":"var(--bg-10)","border-color":"var(--global-accent-color)"},".b12-4-option-list .selected-opt":{"background-color":"hsla(var(--gah), var(--gas), var(--gal), 0.2)","border-color":"var(--global-accent-color)",color:"var(--global-accent-color)","font-weight":500},".b12-4-option-list .selected-opt .opt-suffix":{background:"hsla(var(--gah), var(--gas), var(--gal), .2)"},".b12-4-option-list::-webkit-scrollbar":{width:"8px"},".b12-4-option-list::-webkit-scrollbar-thumb":{"background-color":"var(--bg-15)","border-radius":"var(--g-bdr-rad)"},".b12-4-option-search-wrp":{margin:"5px",position:"relative"},".b12-4-option-wrp":{background:"var(--global-bg-color)","border-color":"","border-radius":"var(--g-bdr-rad)","border-style":"","border-width":"",display:"flex","flex-direction":"column",margin:"auto","max-height":"0px","min-height":"auto",overflow:"hidden",transition:"",width:"100%"},".b12-4-phone-fld-container":{display:"inline-block",height:"40px",position:"relative",width:"100%"},".b12-4-phone-fld-wrp":{"background-color":"","border-color":"","border-radius":"","border-style":"","border-width":"",color:"var(--global-font-color) !important",display:"flex","flex-direction":"column","font-size":"var(--fld-fs) !important",overflow:"",position:"absolute",transition:"box-shadow .2s",width:"100%","z-index":"1"},".b12-4-phone-fld-wrp.disabled .b12-4-phone-inner-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))",cursor:"not-allowed","pointer-events":"none"},".b12-4-phone-fld-wrp.disabled .b12-4-phone-number-input":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa)) !important",cursor:"not-allowed","pointer-events":"none"},".b12-4-phone-fld-wrp.menu-open":{"background-color":"","border-color":"","border-style":"","border-width":"","box-shadow":"","z-index":"999"},".b12-4-phone-fld-wrp.menu-open .b12-4-dpd-down-btn":{transform:"rotate(180deg)"},".b12-4-phone-fld-wrp.menu-open .b12-4-option-wrp":{"box-shadow":"0px 8px 12px hsla(var(--gah), var(--gas), 10%, .15), 0px 0px 1px #091e424f, 0 4px 11px var(--bg-5)",margin:"5px 0"},".b12-4-phone-fld-wrp.menu-open .b12-4-phone-inner-wrp":{"background-color":"var(--global-bg-color)","border-color":"var(--global-accent-color)!important"},".b12-4-phone-fld-wrp.readonly .b12-4-phone-inner-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))","pointer-events":"none"},".b12-4-phone-fld-wrp.readonly .b12-4-phone-number-input":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa)) !important",cursor:"not-allowed","pointer-events":"none"},".b12-4-phone-fld-wrp:focus-within:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color) !important","box-shadow":""},".b12-4-phone-fld-wrp:focus-within:not(.menu-open):not(.disabled) .b12-4-phone-inner-wrp":{"background-color":"var(--global-bg-color)","border-color":"var(--global-accent-color)!important"},".b12-4-phone-fld-wrp:hover:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color) !important"},".b12-4-phone-inner-wrp":{"background-color":"var(--global-fld-bg-color)","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important",display:"flex",height:"100%","min-height":"40px",position:"relative"},".b12-4-phone-number-input":{"background-color":"transparent","border-width":"0 !important",color:"var(--fld-inp-c) !important","font-family":"inherit","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important","line-height":"1.4 !important",outline:"0",padding:"8px 26px 8px 8px !important",width:"calc(100% - 50px)"},".b12-4-phone-number-input::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 40%) !important"},".b12-4-search-clear-btn":{background:"hsla(var(--gah), var(--gas), 20%, 100%) !important",border:"none","border-radius":"50% !important",color:"var(--bg-5)",cursor:"pointer",display:"none",height:"16px",margin:"0px","margin-right":"5px !important",outline:0,padding:"0px !important","place-content":"center",position:"absolute",right:"40px",top:"50%",transform:"translateY(-50%)",width:"16px"},".b12-4-search-clear-btn:focus-visible":{"box-shadow":"0 0 0 1.5px var(--global-accent-color)",outline:"none"},".b12-4-search-clear-btn:hover":{background:"hsla(var(--gah), var(--gas), 30%, 100%) !important","background-color":"var(--bg-60)!important"},".b12-4-selected-country-img":{"-webkit-user-select":"none","background-color":"var(--bg-10)","border-radius":"3px !important","box-shadow":"0 0 0 1px var(--bg-5)",height:"17px !important",margin:"0 10px 0 0","user-select":"none",width:"25px"},".b12-4-selected-country-lbl":{},".b12-4-selected-country-wrp":{"align-items":"center",display:"flex",height:"100%"}},fieldSize:"medium",fieldType:"phone-number",overrideGlobalTheme:[],theme:"atlassian"},"b12-5":{classes:{".b12-5-custom-opt-btn":{background:"transparent",border:"0.5px solid hsla(var(--gfbg-h), var(--gfbg-s), 70%, var(--gfbg-a)) ","border-radius":"5px",color:"var(--global-font-color)",cursor:"pointer",display:"none",height:"25px",margin:"0",outline:"0",padding:"5px","place-content":"center",right:"30px"},".b12-5-dpd-btn-wrp":{"align-items":"center",display:"flex"},".b12-5-dpd-down-btn":{display:"grid","place-content":"center",transition:"transform 0.2s",width:"15px"},".b12-5-dpd-fld-container":{display:"inline-block",height:"40px",position:"relative",width:"100%"},".b12-5-dpd-fld-wrp":{"background-color":"","border-color":"","border-radius":"","border-style":"","border-width":"",color:"var(--fld-inp-c) !important",display:"flex","flex-direction":"column","font-size":"var(--fld-fs) !important",overflow:"",position:"absolute",transition:"box-shadow 200ms",width:"100%"},".b12-5-dpd-fld-wrp .placeholder-img":{"background-color":"var(--bg-15)",outline:"1px solid var(--bg-10)"},".b12-5-dpd-fld-wrp.disabled .b12-5-dpd-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))",cursor:"not-allowed","pointer-events":"none"},".b12-5-dpd-fld-wrp.menu-open":{"background-color":"","border-color":"","box-shadow":"","z-index":"999"},".b12-5-dpd-fld-wrp.menu-open .b12-5-dpd-down-btn":{transform:"rotate(180deg)"},".b12-5-dpd-fld-wrp.menu-open .b12-5-dpd-wrp":{"background-color":"var(--global-bg-color)","border-color":"var(--global-accent-color)!important"},".b12-5-dpd-fld-wrp.menu-open .b12-5-option-wrp":{"box-shadow":"0px 8px 12px hsla(var(--gah), var(--gas), 10%, .15), 0px 0px 1px #091e424f, 0 4px 11px var(--bg-5)",margin:"5px 0"},".b12-5-dpd-fld-wrp.readonly .b12-5-dpd-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))","pointer-events":"none"},".b12-5-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color)!important","box-shadow":""},".b12-5-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled) .b12-5-dpd-wrp":{"border-color":"var(--global-accent-color)!important"},".b12-5-dpd-fld-wrp:hover:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color)!important"},".b12-5-dpd-wrp":{"align-items":"center","background-color":"var(--global-fld-bg-color)","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important","box-sizing":"border-box",cursor:"pointer",display:"flex","font-weight":"500","justify-content":"space-between","min-height":"40px",outline:"none",overflow:"hidden",padding:"4px 10px",position:"relative"},".b12-5-err-inner":{overflow:"hidden"},".b12-5-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-5-err-txt":{display:"block"},".b12-5-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-5-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-5-icn":{position:"absolute",top:"50%",transform:"translateY(-50%)"},".b12-5-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-5-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-5-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-5-opt-search-icn":{"border-left":"1px solid var(--bg-20)",height:"22px",left:"auto",padding:"2px",right:"5px",width:"30px"},".b12-5-opt-search-input":{"background-color":"var(--bg-5)",border:"none !important","border-radius":"var(--g-bdr-rad) !important","box-shadow":"none",color:"var(--global-font-color) !important","font-family":"inherit","font-size":"var(--fld-fs)",height:"35px",outline:"none",padding:"0px 58px 0 10px !important","padding-left":"","padding-right":"",width:"100%"},".b12-5-opt-search-input::-webkit-search-cancel-button":{display:"none"},".b12-5-opt-search-input::-webkit-search-decoration":{display:"none"},".b12-5-opt-search-input::-webkit-search-results-button":{display:"none"},".b12-5-opt-search-input::-webkit-search-results-decoration":{display:"none"},".b12-5-opt-search-input::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 0.5)"},".b12-5-opt-search-input:focus":{"background-color":"var(--bg-0)","box-shadow":"0 0 0 2px var(--global-accent-color) inset"},".b12-5-opt-search-input:focus~svg":{color:"var(--global-accent-color)"},".b12-5-option-inner-wrp":{display:"flex","flex-direction":"column",overflow:"hidden"},".b12-5-option-list":{height:"100%",margin:"0 0 2px 0 !important","overflow-y":"auto",padding:"0","scrollbar-color":"var(--bg-15) transparent !important","scrollbar-width":"thin !important"},".b12-5-option-list .disable-on-max":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.8","pointer-events":"none"},".b12-5-option-list .disabled-opt":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.5","pointer-events":"none"},".b12-5-option-list .opt-group-child":{"padding-left":"15px !important"},".b12-5-option-list .opt-group-title":{cursor:"default","font-size":"calc(var(--fld-fs) - 2px)","font-weight":600,opacity:".7"},".b12-5-option-list .opt-icn":{"-webkit-user-select":"none","border-radius":"3px",height:"17px","margin-right":"5px","user-select":"none",width:"25px"},".b12-5-option-list .opt-lbl":{},".b12-5-option-list .opt-lbl-wrp":{"align-items":"center",display:"flex",gap:"5px"},".b12-5-option-list .opt-not-found":{"list-style":"none",margin:"5px","text-align":"center"},".b12-5-option-list .option":{"align-items":"center","border-color":"transparent","border-radius":"","border-style":"solid","border-width":"0 0 0 3px",cursor:"pointer",display:"flex","font-size":"calc(var(--fld-fs) - 2px)","justify-content":"space-between",margin:"0 !important",padding:"8px 7px","text-align":"left",transition:""},".b12-5-option-list .option:focus-visible":{"background-color":"var(--bg-10)",outline:"2px solid var(--global-accent-color)"},".b12-5-option-list .option:hover:not(.selected-opt):not(.opt-group-title)":{"background-color":"var(--bg-10)","border-color":"var(--global-accent-color)"},".b12-5-option-list .selected-opt":{"background-color":"hsla(var(--gah), var(--gas), var(--gal), 0.2)","border-color":"var(--global-accent-color)",color:"var(--global-accent-color)","font-weight":500},".b12-5-option-list .selected-opt:focus-visible":{"background-color":"var(--global-accent-color)"},".b12-5-option-list::-webkit-scrollbar":{width:"8px"},".b12-5-option-list::-webkit-scrollbar-thumb":{"background-color":"var(--bg-15)","border-radius":"var(--g-bdr-rad)"},".b12-5-option-list:not(.active-list)":{display:"none !important"},".b12-5-option-search-wrp":{margin:"5px",position:"relative"},".b12-5-option-wrp":{background:"var(--global-bg-color)","border-color":"","border-radius":"var(--g-bdr-rad)","border-style":"","border-width":"",display:"flex","flex-direction":"column",margin:"auto","max-height":"0px","min-height":"auto",overflow:"hidden",transition:"",width:"100%"},".b12-5-search-clear-btn":{background:"hsla(var(--gah), var(--gas), 20%, 100%) !important",border:"0","border-radius":"50% !important",color:"var(--bg-0)",cursor:"pointer",display:"none",height:"16px",margin:"0",outline:"0",padding:"0px !important","place-content":"center",right:"40px",width:"16px"},".b12-5-search-clear-btn:focus-visible":{"box-shadow":"0 0 0 2px var(--global-accent-color)",outline:"none"},".b12-5-search-clear-btn:hover":{background:"hsla(var(--gah), var(--gas), 30%, 100%) !important"},".b12-5-selected-opt-clear-btn":{background:"transparent !important",border:"0","border-radius":"50% !important",color:"var(--fld-inp-c) !important",cursor:"pointer",display:"none",height:"16px",margin:"0","margin-right":"5px",outline:"0",padding:"0px !important","place-content":"center",right:"6px",width:"16px"},".b12-5-selected-opt-clear-btn:focus-visible":{outline:"1.5px solid var(--global-accent-color)"},".b12-5-selected-opt-clear-btn:hover":{"background-color":"var(--bg-15) !important"},".b12-5-selected-opt-img":{"-webkit-user-select":"none","border-radius":"3px",height:"17px","user-select":"none",width:"25px"},".b12-5-selected-opt-lbl":{},".b12-5-selected-opt-lbl .chip-clear-btn":{"background-color":"transparent !important",border:"none","border-radius":"50%","box-shadow":"none",color:"var(--fld-inp-c) !important",cursor:"pointer",display:"grid",height:"17px",outline:"none",padding:"0px","place-content":"center",width:"17px"},".b12-5-selected-opt-lbl .chip-clear-btn:focus-visible":{outline:"1.5px solid var(--global-accent-color)"},".b12-5-selected-opt-lbl .chip-clear-btn:hover":{"background-color":"var(--bg-20) !important"},".b12-5-selected-opt-lbl .chip-icn":{height:"13px",width:"13px"},".b12-5-selected-opt-lbl .chip-lbl":{color:"var(--fld-inp-c)","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important"},".b12-5-selected-opt-lbl .chip-wrp":{"align-items":"center","background-color":"var(--bg-10)","border-radius":"var(--g-bdr-rad)",display:"flex",gap:"5px",padding:"5px 8px"},".b12-5-selected-opt-lbl.multi-chip":{display:"flex","flex-wrap":"wrap",gap:"5px"},".b12-5-selected-opt-wrp":{"align-items":"center",display:"flex",gap:"10px",height:"100%"}},fieldSize:"medium",fieldType:"select",overrideGlobalTheme:[],theme:"atlassian"},"b12-6":{classes:{".b12-6-bx":{"align-items":"center","border-color":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.3)","border-radius":"4px","border-style":"solid","border-width":"3px",display:"inline-flex","flex-shrink":0,height:"16px","justify-content":"center",margin:"0 10px 0 0",position:"relative",transition:"all 0.2s",width:"16px"},".b12-6-cc":{display:"flex","flex-wrap":"wrap"},".b12-6-ci":{opacity:"0 !important",position:"absolute"},".b12-6-ci:active ~ [data-cl] [data-bx]":{transform:"scale(0.9)"},".b12-6-ci:checked ~ [data-cl] [data-bx]":{background:"var(--global-accent-color) !important","border-color":"var(--global-accent-color) !important"},".b12-6-ci:checked ~ [data-cl] [data-ck-icn]":{"stroke-dashoffset":0},".b12-6-ci:disabled ~ [data-cl]":{cursor:"not-allowed",opacity:.6,"pointer-events":"none"},".b12-6-ci:focus ~ [data-cl] [data-bx]":{"box-shadow":""},".b12-6-ci:focus-visible ~ [data-cl] [data-bx]":{"box-shadow":"0 0 0 2px var(--global-fld-bg-color),0 0 0 4px var(--global-accent-color)"},".b12-6-ci:hover ~ [data-cl] [data-bx]":{"background-color":"var(--bg-5)","border-color":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.4)"},".b12-6-ck-icn":{"stroke-dashoffset":"16px"},".b12-6-ck-svgline":{fill:"none",stroke:"white","stroke-dasharray":"16px","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2px"},".b12-6-cks":{height:0,"pointer-events":"none",position:"absolute","user-select":"none",width:0},".b12-6-cl":{"align-items":"center",color:"var(--global-font-color)",cursor:"pointer",display:"flex",padding:"3px"},".b12-6-ct":{"font-size":"23px","font-weight":"400","line-height":"initial"},".b12-6-cw":{},".b12-6-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-6-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-6-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-6-svgwrp":{filter:"drop-shadow(0px 1px 1px hsl(var(--gah), var(--gas), 13%))",height:"12px",width:"10px"}},fieldSize:"medium",fieldType:"decision-box",overrideGlobalTheme:["bx","ct"],theme:"atlassian"},"b12-7":{classes:{".b12-7-bx":{"align-items":"center","border-color":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.3)","border-radius":"50%","border-style":"solid","border-width":"3px",display:"inline-flex","flex-shrink":0,height:"13px","justify-content":"center",margin:"0 10px 0 0",position:"relative",transition:"all 0.2s",width:"13px"},".b12-7-bx::before":{background:"white","border-radius":"50%","box-shadow":"0 1px 3px 0px grey",content:'""',height:0,left:"50%",position:"absolute",top:"50%",transform:"translate(-50%, -50%)",transition:"all 0.2s cubic-bezier(0.25, 0.1, 0.59, 1.82)",width:0},".b12-7-cc":{"column-gap":"10px",display:"grid","grid-row-gap":"10px","grid-template-columns":"repeat(3, 1fr)",width:"100%"},".b12-7-ci":{opacity:"0!important",position:"absolute"},".b12-7-ci:active ~ [data-cl] [data-bx]":{transform:"scale(0.9)"},".b12-7-ci:active:focus-visible ~ [data-cl] [data-bx]":{"outline-offset":0},".b12-7-ci:checked ~ [data-cl] [data-bx]":{background:"var(--global-accent-color) !important","border-color":"var(--global-accent-color) !important"},".b12-7-ci:checked ~ [data-cl] [data-bx]::before":{height:"50%",width:"50%"},".b12-7-ci:checked ~ [data-oinp-wrp]":{display:"block !important"},".b12-7-ci:disabled ~ [data-cl]":{cursor:"not-allowed",opacity:.6,"pointer-events":"none"},".b12-7-ci:focus ~ [data-cl] [data-bx]":{"box-shadow":""},".b12-7-ci:focus-visible ~ [data-cl] [data-bx]":{outline:"2px solid var(--global-accent-color)","outline-offset":"2px",transition:"outline-offset 0.2s ease"},".b12-7-ci:hover ~ [data-cl] [data-bx]":{"background-color":"var(--bg-5)","border-color":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.4)"},".b12-7-cks":{height:0,"pointer-events":"none",position:"absolute","user-select":"none",width:0},".b12-7-cl":{"align-items":"center",color:"var(--fld-inp-c)",cursor:"pointer",display:"flex",padding:"5px"},".b12-7-ct":{"font-size":"var(--fld-fs)","font-style":"var(--fld-f-style)","font-weight":"var(--fld-f-w)"},".b12-7-cw":{},".b12-7-err-inner":{overflow:"hidden"},".b12-7-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-7-err-txt":{display:"block"},".b12-7-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-7-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-7-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-7-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-7-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-7-other-inp":{"background-color":"var(--global-fld-bg-color) !important","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important",color:"var(--fld-inp-c) !important",direction:"inherit !important",display:"inline-block !important","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important",height:"40px","line-height":"1.4 !important",margin:"0px 0px 0px 33px",outline:"none !important",padding:"10px 8px !important",width:"calc(100% - 33px) !important"},".b12-7-other-inp-wrp":{display:"none"},".b12-7-other-inp:focus":{"border-color":"var(--global-accent-color) !important","box-shadow":"0 0 0 3px hsla(var(--gah), var(--gas), var(--gal), 0.30) !important"},".b12-7-other-inp:hover":{"border-color":"var(--global-accent-color) !important"}},fieldSize:"medium",fieldType:"radio",overrideGlobalTheme:[],theme:"atlassian"},"b12-8":{classes:{".b12-8-err-inner":{overflow:"hidden"},".b12-8-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-8-err-txt":{display:"block"},".b12-8-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-8-fld-wrp":{"background-color":"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative"},".b12-8-inp-wrp":{margin:"0px",position:"relative"},".b12-8-stripe-btn":{"align-items":"center",background:"var(--btn-bg)","border-color":"var(--btn-bdr-clr)","border-radius":"var(--btn-bdr-rad) !important","border-style":"var(--btn-bdr)","border-width":"var(--btn-bdr-width)","box-shadow":"var(--btn-sh)",color:"var(--btn-c)",cursor:"pointer",display:"flex","font-family":"inherit","font-size":"var(--btn-fs)!important","font-style":"var(--btn-f-style)","font-weight":"var(--btn-fw)","justify-content":"center","line-height":"1",margin:"var(--btn-m)",outline:"none",padding:"var(--btn-p)!important",transition:"",width:"100%"},".b12-8-stripe-btn:active":{transform:""},".b12-8-stripe-btn:active:focus-visible":{"outline-offset":0},".b12-8-stripe-btn:disabled":{background:"#7ca5e7",transform:"none"},".b12-8-stripe-btn:focus-visible":{outline:"2px solid var(--global-accent-color)","outline-offset":"2px",transition:"outline-offset 0.2s ease"},".b12-8-stripe-btn:hover":{"background-color":"hsl(var(--gah), var(--gas), calc(var(--gal) - 5%)) !important"},".b12-8-stripe-icn":{height:"18px",width:"18px"},".b12-8-stripe-wrp":{width:"100%"},".b12-8-stripe-wrp .StripeElement":{margin:"10px 0px"},".b12-8-stripe-wrp .stripe-pay-btn":{"align-items":"center",background:"var(--btn-bg)","border-color":"var(--btn-bdr-clr)","border-radius":"20px !important","border-style":"var(--btn-bdr)","border-width":"var(--btn-bdr-width)","box-shadow":"var(--btn-sh)",color:"var(--btn-c)",cursor:"pointer",display:"flex","font-family":"inherit","font-size":"var(--btn-fs)!important","font-style":"var(--btn-f-style)","font-weight":"var(--btn-fw)","justify-content":"center","line-height":"1","margin-top":"15px",outline:"none",padding:"var(--btn-p)!important",transition:"background-color 0.2s, transform 0.2s",width:"100%"},".b12-8-stripe-wrp .stripe-pay-btn:active":{transform:"scale(0.95)"},".b12-8-stripe-wrp .stripe-pay-btn:active:focus-visible":{"outline-offset":0},".b12-8-stripe-wrp .stripe-pay-btn:disabled":{background:"#7ca5e7",transform:"none"},".b12-8-stripe-wrp .stripe-pay-btn:focus-visible":{outline:"2px solid var(--global-accent-color)","outline-offset":"2px",transition:"outline-offset 0.2s ease"},".b12-8-stripe-wrp .stripe-pay-btn:hover":{"background-color":"hsl(var(--gah), var(--gas), calc(var(--gal) - 5%)) !important"}},fieldSize:"medium",fieldType:"stripe",overrideGlobalTheme:[],theme:"atlassian"},"b12-9":{classes:{".b12-9-fld-wrp":{"align-items":"center",background:"hsla(0, 100%, 98%, 100%)","background-image":"","background-position":"","background-repeat":"","background-size":"",display:"flex","flex-direction":"row","justify-content":"center",padding:"8px"},".b12-9-logo":{height:"50px",margin:"5px",width:"50px"},".b12-9-titl-wrp":{padding:"0px 5px"},".b12-9-title":{"align-items":"center",color:"var(--global-font-color) !important",display:"flex",margin:"5px","text-align":"center","word-break":"break-word"}},fieldSize:"medium",fieldType:"title",overrideGlobalTheme:["fld-wrp"],theme:"atlassian"}},fieldsSize:"medium",font:{fontStyle:[],fontType:"",fontURL:"",fontWeightVariants:[]},form:{"._frm-b12":{direction:"var(--dir)",padding:"0px"},"._frm-b12 p":{margin:"0"},"._frm-bg-b12":{background:"hsla(0, 0%, 100%, 100%)","background-image":"",border:"","border-color":"hsla(0, 100%, 97%, 100%)","border-style":"solid","border-width":"5px",padding:"0px"},"._frm-bg-b12 *":{"box-sizing":"border-box !important","font-family":"var(--g-font-family)"}},theme:"atlassian"},mdDarkStyles:{},mdLightStyles:{},smDarkStyles:{},smLightStyles:{}}},Pd={name:"Constant Contact GDPR Form Template",theme:"bitformDefault",formInfo:{formName:"Constant Contact GDPR Form Template"},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2",moved:!1,static:!1},{w:30,h:77,x:30,y:0,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:77,i:"fld_key-4",moved:!1,static:!1},{w:60,h:98,x:0,y:154,i:"fld_key-5",minW:9,moved:!1,static:!1,resizeHandles:["se","e"]},{w:60,h:28,x:0,y:252,i:"fld_key-6",moved:!1,static:!1},{w:60,h:38,x:0,y:280,i:"fld_key-7",moved:!1,static:!1},{w:60,h:28,x:0,y:318,i:"fld_key-8",moved:!1,static:!1},{w:60,h:38,x:0,y:346,i:"fld_key-9",moved:!1,static:!1},{w:60,h:54,x:0,y:384,i:"fld_key-1",moved:!1,static:!1}]},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"text",lbl:"Last Name",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3"},"fld_key-4":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"textarea",lbl:"Message",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"GDPR Agreement",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"decision-box",adminLblHide:!0,lbl:'<p style="margin: 0;"><span style="font-size: 12pt;">I consent to having this website store my submitted information so they can respond to my inquiry.</span></p>',msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-7",adminLbl:"Decision box"},"fld_key-8":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Newsletter",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"decision-box",adminLbl:"Decision Box",adminLblHide:!0,lbl:`<p style="margin: 0;"><span style="color: rgba(0, 0, 0, 0.85); font-family: GeneralSans-Variable, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;">Yes, sign me up to the newsletter</span></p>`,msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-9"}}},jd={name:"Grade Book Form Template",theme:"bitformDefault",formInfo:{formName:"Grade Book Form Template"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"text",phHide:!1,valid:{hideLbl:!1,req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-2",hlpTxtHide:!1,lbl:"Firstname"},"fld_key-3":{typ:"text",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-3",lbl:"Lastname"},"fld_key-4":{typ:"text",lbl:"Student ID",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"text",lbl:"Assignment name",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"html-select",lbl:"Status",opt:[{lbl:"--Select Option--",disabled:!0,check:!0},{lbl:"Late"},{lbl:"Complete"}],ph:"Select an option...",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"html-select",lbl:"Grade",opt:[{lbl:"A"},{lbl:"B"},{lbl:"C"},{lbl:"D"},{lbl:"F"}],ph:"Select an option...",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-7"},"fld_key-8":{typ:"textarea",lbl:"Comments",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"divider",adminLbl:"Divider",adminLblHide:!0,valid:{},divider:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-9"},"fld_key-10":{typ:"text",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after",hideLbl:!1},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-10",hlpTxtHide:!1,lbl:"Firstname"},"fld_key-11":{typ:"text",phHide:!1,valid:{hideLbl:!1},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-11",hlpTxtHide:!1,lbl:"Lastname"},"fld_key-12":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-12"},"fld_key-13":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Student Information",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-13"},"fld_key-14":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Teacher Information",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-14"}},layouts:{lg:[{w:60,h:28,x:0,y:0,i:"fld_key-13",moved:!1,static:!1},{w:30,h:77,x:0,y:28,i:"fld_key-2",moved:!1,static:!1},{w:30,h:77,x:30,y:28,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:105,i:"fld_key-4",moved:!1,static:!1},{w:60,h:77,x:0,y:182,i:"fld_key-5",moved:!1,static:!1},{w:60,h:77,x:0,y:259,i:"fld_key-6",moved:!1,static:!1},{w:60,h:77,x:0,y:336,i:"fld_key-7",moved:!1,static:!1},{w:60,h:98,x:0,y:413,i:"fld_key-8",minW:9,moved:!1,static:!1,resizeHandles:["se","e"]},{w:60,h:31,x:0,y:511,i:"fld_key-9",moved:!1,static:!1},{w:60,h:28,x:0,y:542,i:"fld_key-14",moved:!1,static:!1},{w:30,h:77,x:0,y:570,i:"fld_key-10",moved:!1,static:!1},{w:30,h:77,x:30,y:570,i:"fld_key-11",moved:!1,static:!1},{w:60,h:77,x:0,y:647,i:"fld_key-12",moved:!1,static:!1},{w:60,h:54,x:0,y:724,i:"fld_key-1",moved:!1,static:!1}]}},Nd={name:"Login Form",theme:"bitformDefault",formInfo:{formName:"Login Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1",fulW:!0},"fld_key-2":{typ:"email",lbl:"Email",ph:"Enter your email",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-2",acHide:!0,ac:"email"},"fld_key-3":{typ:"password",lbl:"Password",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3",ph:"Enter your password"},"fld_key-4":{typ:"decision-box",adminLbl:"Decision Box",adminLblHide:!0,lbl:'<p style="margin: 0;"><span style="font-size: 12pt;">Remember me</span></p>',msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"}},layouts:{lg:[{w:60,h:77,x:0,y:0,i:"fld_key-2"},{w:60,h:77,x:0,y:77,i:"fld_key-3"},{w:60,h:38,x:0,y:154,i:"fld_key-4"},{w:60,h:54,x:0,y:192,i:"fld_key-1"}],md:[],sm:[]}},Md={name:"Meeting Room Registration Form",theme:"bitformDefault",formInfo:{formName:"Meeting Room Registration Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"section",lbl:"Name",layout:{autoHeight:1},valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"text",phHide:!1,valid:{hideLbl:!0},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3",helperTxt:"Last",hlpTxtHide:!0},"fld_key-4":{typ:"text",phHide:!1,valid:{hideLbl:!0},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-4",helperTxt:"First",hlpTxtHide:!0},"fld_key-5":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"text",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-6",lbl:"Department"},"fld_key-7":{typ:"radio",lbl:"Which room would you like to reserve?",round:!0,opt:[{lbl:"Option 1"},{lbl:"Option 2"},{lbl:"Option 3"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-7"},"fld_key-8":{typ:"check",lbl:"Check Boxs",opt:[{lbl:"8:00-9:00 am"},{lbl:"9:00-10:00 am"},{lbl:"10:00-11:00 am"},{lbl:"11:00-12:00 pm"},{lbl:"12:00-01:00 pm"},{lbl:"01:00-02:00 pm"},{lbl:"02:00-03:00 pm"},{lbl:"03:00-04:00 pm"},{lbl:"04:00-05:00 pm"}],valid:{},err:{},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"textarea",lbl:"Questions or Comments",ph:"Placeholder...",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-9"}},layouts:{lg:[{w:60,h:121,x:0,y:0,i:"fld_key-2",moved:!1,static:!1},{w:60,h:77,x:0,y:121,i:"fld_key-5",moved:!1,static:!1},{w:60,h:77,x:0,y:198,i:"fld_key-6",moved:!1,static:!1},{w:60,h:131,x:0,y:275,i:"fld_key-7",moved:!1,static:!1},{w:60,h:329,x:0,y:406,i:"fld_key-8",moved:!1,static:!1},{w:60,h:98,x:0,y:735,i:"fld_key-9",minW:9,moved:!1,static:!1,resizeHandles:["se","e"]},{w:60,h:54,x:0,y:833,i:"fld_key-1",moved:!1,static:!1}],md:[],sm:[]},nestedLayouts:{"fld_key-2":{lg:[{w:30,h:76,x:0,y:0,i:"fld_key-4",moved:!1,static:!1},{w:30,h:76,x:30,y:0,i:"fld_key-3",moved:!1,static:!1}],md:[],sm:[]}}},Rd={name:"News Letter Form",theme:"bitformDefault",formInfo:{formName:"News Letter Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Subscribe",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1",fulW:!0},"fld_key-2":{typ:"email",ph:"Enter your email here",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{hideLbl:!0,req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-2",acHide:!0,ac:"email"}},layouts:{lg:[{w:45,h:54,x:0,y:0,i:"fld_key-2"},{w:13,h:54,x:45,y:0,i:"fld_key-1"}],md:[],sm:[]}},Ed={name:"Newsletter Signup Form",theme:"bitformDefault",formInfo:{formName:"Newsletter Signup Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-3":{typ:"text",lbl:"Last Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-4":{typ:"email",lbl:"Email",ph:"example@mail.com",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email",acHide:!0,ac:"email"}},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2"},{w:30,h:77,x:30,y:0,i:"fld_key-3"},{w:60,h:77,x:0,y:77,i:"fld_key-4",minW:9},{w:6,h:54,x:0,y:154,i:"fld_key-1"}],md:[],sm:[]}},Id={name:"Repeater Field Test Form",theme:"bitformDefault",formInfo:{formName:"Repeater Field Test Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"repeater",lbl:"Repeater",layout:{autoHeight:1},valid:{},err:{},customClasses:{},customAttributes:{},addBtn:{show:!0,btnTyp:"button",btnSiz:"md",txt:"",icn:{pos:"",url:""}},addBtnPreIcn:"http://bitform.xyz/wp-content/plugins/bitform/assets/../static/repeater/plusicon.svg",removeBtn:{show:!0,btnTyp:"button",btnSiz:"md",txt:"",icn:{pos:"",url:""}},removeBtnPreIcn:"http://bitform.xyz/wp-content/plugins/bitform/assets/../static/repeater/minusicon.svg",addToEndBtn:{btnAlignment:"start",show:!1,btnTyp:"button",btnSiz:"md",txt:"Add New",icn:{pos:"",url:""}},addToEndBtnPreIcn:"http://bitform.xyz/wp-content/plugins/bitform/assets/../static/repeater/plusicon.svg",btnPosition:"row",btnAlignment:"center",btnView:"row",repeatDirecton:"column",fieldName:"fld_key-2"},"fld_key-3":{typ:"text",ph:"Placeholder...",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3",lbl:"Name"},"fld_key-4":{typ:"number",lbl:"ID",ph:"e.g. 123",phHide:!0,valid:{},err:{invalid:{dflt:'<p style="margin:0">Number is invalid</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"email",lbl:"Email",ph:"example@mail.com",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-5"}},layouts:{lg:[{w:60,h:77,x:0,y:0,i:"fld_key-5",moved:!1,static:!1},{w:60,h:122,x:0,y:77,i:"fld_key-2",moved:!1,static:!1},{w:60,h:54,x:0,y:199,i:"fld_key-1",moved:!1,static:!1}],md:[],sm:[]},nestedLayouts:{"fld_key-2":{lg:[{w:25,h:77,x:0,y:0,i:"fld_key-3",moved:!1,static:!1},{w:25,h:77,x:30,y:0,i:"fld_key-4",moved:!1,static:!1}],md:[],sm:[]}}},Ld={name:"SignUp Form",theme:"bitformDefault",formInfo:{formName:"SignUp Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0},"fld_key-2":{typ:"text",ph:"Enter your firstname",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2",lbl:"Firstname",acHide:!0,ac:"name"},"fld_key-3":{typ:"text",lbl:"Lastname",ph:"Enter your lastname",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3",acHide:!0,ac:"name"},"fld_key-4":{typ:"email",lbl:"Email",ph:"example@mail.com",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email",acHide:!0,ac:"email"},"fld_key-5":{typ:"password",lbl:"Password",ph:"Placeholder...",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-5"}},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2"},{w:30,h:77,x:30,y:0,i:"fld_key-3"},{w:60,h:77,x:0,y:77,i:"fld_key-4",minW:9},{w:60,h:77,x:0,y:154,i:"fld_key-5",minW:9},{w:60,h:54,x:0,y:231,i:"fld_key-1"}],md:[],sm:[]}},Ad={name:"Simple Contact Form",theme:"bitformDefault",formInfo:{formName:"Simple Contact Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-3":{typ:"text",lbl:"Last Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-4":{typ:"email",lbl:"Email",ph:"example@mail.com",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email",acHide:!0,ac:"email"},"fld_key-5":{typ:"textarea",lbl:"Message",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Message can not be empty.</p>'}},customClasses:{},customAttributes:{fld:[{key:"rows",value:"4"}]},fieldName:"textarea-44-3",ph:"Write your message..."}},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2"},{w:30,h:77,x:30,y:0,i:"fld_key-3"},{w:60,h:98,x:0,y:154,i:"fld_key-4",minW:9},{w:60,h:145,x:0,y:154,i:"fld_key-5",minW:9},{w:60,h:50,x:0,y:252,i:"fld_key-1"}],md:[],sm:[]}},Fd=e=>{switch(e){case"contact_form":case"contact_form_atlassian":return Cd;case"newsletter_sing_up_form":case"newsletter_sing_up_form_atlassian":return Ed;case"simple_contact_form":case"simple_contact_form_atlassian":return Ad;case"signup_form":case"signup_form_atlassian":return Ld;case"newsletter_form":case"newsletter_form_atlassian":return Rd;case"login_form":case"login_form_atlassian":return Nd;case"meeting_room_reg":case"meeting_room_reg_atlassian":return Md;case"conference_reg_form":case"conference_reg_form_atlassian":return Dd;case"repeater_field_test_form":case"repeater_field_test_form_atlassian":return Id;case"grade_book_form":case"grade_book_form_atlassian":return jd;case"gdpf_form":case"gdpf_form_atlassian":return Pd;case"academic_advisor_meeting_form":case"academic_advisor_meeting_form_atlassian":return Sd;case"customer_complain_form":case"customer_complain_form_atlassian":return Od;case"disaster_relief_donation_form_atlassian":return Td;default:return ms}};function qd(e,r,t){return new Promise((n,a)=>{let i={};const l=window.location.href.split("#")[0],s=hs.find(d=>d.slug===e);if(!s){window.open(l,"_self");return}if(s!=null&&s.isPro&&!(t!=null&&t.isPro)){window.open(l,"_self");return}s!=null&&s.isPro&&(t!=null&&t.isPro)?Ae({templateSlug:e},"bitforms_get_form_template").then(d=>{if(d.success){if(i=JSON.parse(d.data),i.theme=(s==null?void 0:s.theme)||"bitformDefault",s!=null&&s.paymentType){const{fields:f}=i,c=s.paymentType.map(b=>b.toLowerCase());Wd(c,f)}i=Li(i,r,!1),n(i)}}).catch(d=>a(d)):(i=Fd(e),i.theme=(s==null?void 0:s.theme)||"bitformDefault",i=Li(i,r),n(i))})}const Wd=(e,r)=>{const n=gs(Al).reduce((i,l)=>(i[l.type.toLowerCase()]=l.id,i),{});Object.keys(r).forEach(i=>{const l=r[i].typ.toLowerCase();e.includes(l)&&n[l]&&(r[i].payIntegID=n[l])})},zd={cond_type:"if",logics:[{field:"",logic:"",val:""},"or",{field:"",logic:"",val:""}],actions:{fields:[{field:"",action:"value"}],success:[{type:"successMsg",details:{id:'{"index":0}'}}]}},o0=e=>[{cond_type:"if",logics:[{field:"",logic:"",val:""}],actions:{fields:[{field:e,action:"show",val:""}],success:[]}},{cond_type:"else",actions:{fields:[{field:e,action:"hide",val:""}]}}];function Hd(){return[{title:"Show Success Message",action_type:"onsubmit",action_run:"create_edit",action_behaviour:"always",conditions:[zd],info:{type:"advanced"}}]}function Li(e,r,t=!0){const n={},{name:a,fields:i,layouts:l,conditions:s,confirmations:d,theme:f,additionalSettings:c,formInfo:b}=e,u=_s(i),p=Object.keys(u),h={};let x={},v,y;t?(v=mt(vs(),d||{}),y=[...Hd(),...s||[]]):(v=d,y=$s(s,r)),p.forEach(N=>{const L=N.replace("fld_key",`b${r}`),R=G({},u[N]);R.fieldName=`${R.typ}-${L}`,h[L]=R});const _=`b${r}`,D=ys(l,/fld_key/,_);if(e!=null&&e.nestedLayouts){const N=e.nestedLayouts;xs(N,/fld_key/,_),Object.keys(N).forEach(L=>{const R=N[L].lg;n[L]={lg:R,md:R,sm:R}})}const w=Object.entries(h);let{themeColors:m,themeVars:$,styles:O}=ws(f,w,r);if(e!=null&&e.themeColors&&(m=mt(m,e.themeColors)),e!=null&&e.themeVars&&($=mt($,e.themeVars)),e!=null&&e.styles){const N=ks(e==null?void 0:e.styles,r);O=mt(O,N)}return Array.isArray(l)&&(O.lgLightStyles.form=mt(O.lgLightStyles.form,Ss({formID:r,themeSlug:O.lgLightStyles.theme})),x=Ds(r)),{name:a,fields:h,layouts:D,confirmations:v,conditions:y,allThemeColors:m,allThemeVars:$,allStyles:O,additionalSettings:c,nestedLayouts:n,formInfo:b||{formName:a},staticStyles:x}}function Bd({size:e,stroke:r=2,className:t=""}){return o.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,className:t,children:[o.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),o.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function Ud(){const{css:e}=Ge(),{formID:r}=Dt(),t=Z(rt),[n,a]=je(Fl),i=()=>{const l=`${t.siteURL}/?bitform-form-view=${r}`;if(!n||n.closed){const s=window.open(l,"_blank");s&&a(s);return}try{n.location.href.includes(`bitform-form-view=${r}`)||(n.location.href=l),n.focus(),n.location.reload(!0)}catch(s){const d=window.open(l,"_blank");a(d)}};return o.jsxs(St,{type:"button",title:g("Preview Form"),"aria-label":"Preview Form",onClick:i,variant:"secondary-outline",className:e({h:42}),children:[o.jsx(Bd,{size:18,className:e(kt.mr1)}),o.jsx("span",{children:g("Preview")})]})}function Yd({size:e,stroke:r=2,classNames:t}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,className:t,viewBox:"0 0 20 20",children:o.jsx("path",{strokeWidth:r,fill:"currentColor",d:"M6 14H4V6h2V4H2v12h4zm1.1 3h2.1l3.7-14h-2.1zM14 4v2h2v8h-2v2h4V4z"})})}function hn({id:e,className:r,cls:t,value:n,inpWidth:a=100,readOnly:i=!0,copyOnInputClick:l=!1,title:s=""}){const{css:d}=Ge(),f=S.useRef(null),c=()=>navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(n):(f.current.focus(),f.current.select(),new Promise((u,p)=>{document.execCommand("copy")?u():p()})),b=()=>{c().then(()=>ht.success(g("Copied on clipboard."))).catch(()=>ht.error(g("Failed to Copy, Try Again.")))};return o.jsxs("div",{className:`${d(gn.wrapper)} ${r}`,title:s,children:[o.jsx("input",{"aria-label":"Copy field key",ref:f,style:{width:parseInt(a,10)},className:`${d(gn.input)} ${t}`,id:"text-copy",type:"text",value:n,readOnly:i,onClick:l?b:void 0}),o.jsx(Pr,{msg:"Copy",children:o.jsx("button",{"data-testid":`${e}-col-cpy-btn`,onClick:b,className:`${d(gn.btn)}`,type:"button","aria-label":"Copy field key",children:o.jsx(ql,{w:"20"})})})]})}const gn={wrapper:{pn:"relative",b:"1px solid var(--bf-stroke-clr) !important",brs:"var(--bf-bdr-radius-sm) !important"},input:{oe:"none",b:"none !important",bd:"var(--bf-bg-white) !important",p:"2px 40px 2px 10px !important",lh:"1 !important",fw:"500 !important",bs:"none !important",":focus-visible":{bs:"0 0 0 2px var(--bf-tertiary) !important"},h:"inherit"},btn:{pn:"absolute !important",b:"none",bl:"1px solid var(--bf-stroke-clr) !important",oe:"none",bd:"var(--bf-bg-offwhite)",tp:"50%",tm:"translateY(-50%)",rt:0,cur:"pointer",tn:"color 0.2s",cr:"var(--white-0-61)",flx:"center-between",brs:"0 var(--bf-bdr-radius-sm) var(--bf-bdr-radius-sm) 0",h:"calc(100% - 2px)","&:hover":{cr:"var(--b-50)"}}};function ri(b){var u=b,{children:e,instance:r=null,width:t="auto",place:n="bottom",onShow:a,onHide:i,arrow:l=!0,trigger:s="click",offset:d=[0,10],hideOnClick:f=!0}=u,c=Ti(u,["children","instance","width","place","onShow","onHide","arrow","trigger","offset","hideOnClick"]);return o.jsx(fd,Ye(G(Ye(G(G({ref:r,inertia:!0,trigger:s,placement:n,duration:350,interactiveBorder:20},a&&{onShow:a}),i&&{onHide:i}),{theme:"light-border",animation:"shift-away-extreme",interactive:!0,maxWidth:t,offset:d,arrow:l&&ud,content:e[1],hideOnClick:f}),c),{children:o.jsx("span",{children:e[0]})}))}function Gd(){const{css:e}=Ge(),{formID:r}=Dt(),t=Z(Gn),{conversationalSettings:n={}}=t;return n.enable?o.jsxs(ri,{children:[o.jsxs(St,{type:"button",variant:"secondary-outline",className:e(Qt.publishBtn),children:[g("Embed"),o.jsx(Yd,{size:20,stroke:1,classNames:e({ml:5})})]}),o.jsxs("div",{className:e(Qt.downmenu),children:[o.jsxs("div",{children:[o.jsx("div",{className:e(Qt.title),children:"Shortcode"}),o.jsx(hn,{cls:e(Qt.downmenuinput),value:`[bitform id='${r}']`})]}),n.enable&&o.jsxs("div",{children:[o.jsx("div",{className:e(Qt.title),children:"Conversational Form Shortcode"}),o.jsx(hn,{cls:e(Qt.downmenuinput),value:`[bitform id='${r}' type='conversational']`})]})]})]}):o.jsx("div",{className:e(Qt.shorcodeWrapper),children:o.jsx(hn,{cls:e(Qt.shorcodeInput),inpWidth:150,value:`[bitform id='${r}']`,copyOnInputClick:!0,title:g("Copy Shortcode")})})}const Qt={title:{fs:14,mb:5,fw:600},publishBtn:{bd:"none",px:15,py:7,oe:"none",h:42,b:"var(--bf-bdr-width) solid var(--bf-stroke-clr) !important",cr:"var(--bf-text-clr-darkgray)",flx:"align-center",fw:"500 !important",tn:"background 0.2s",my:5,mr:10,brs:"var(--bf-bdr-radius-sm)",curp:1,":hover":{bd:"var(--b-35-33)",cr:"var(--white-100)"}},shorcodeWrapper:{mr:10},shorcodeInput:{w:"100%",mnh:"42px !important",h:42,fw:"var(--bf-font-normal) !important",bd:"var(--bf-bg-white) !important",cr:"var(--bf-text-clr-darkgray) !important"},downmenu:{w:260,px:5,py:8,dy:"flex",fd:"column",gp:10},downmenuinput:{w:"100% !important",fs:12}};function ka(e){const r=Dt(),t=Object.keys(e);let n=!0;return t.forEach(a=>{e[a]!=="?"&&a!=="render"&&r[a]!==e[a]&&(e[a]===!0&&r[a]===void 0||e[a]!==!0)&&(n=!1)}),n&&e.render}const Ai="bit-form-config",Fi=0,Vd=8,qi=28,Kd=450,bo=225,Qd=400,Wi={leftPanelCollapsed:!1,rightPanelCollapsed:!1,leftPanelWidth:Kd,leftPanelWidthOnStyleMode:bo,rightPanelWidth:Qd},Jd=()=>{const[e,r]=S.useState(()=>{try{const u=localStorage.getItem(Ai);if(u){const p=JSON.parse(u);return p.toolbarOff!==void 0&&(p.leftPanelCollapsed=p.toolbarOff),G(G({},Wi),p)}}catch(u){}return Wi},[]),t=S.useCallback(u=>{r(p=>{const h=G(G({},p),u);try{localStorage.setItem(Ai,JSON.stringify(h))}catch(x){}return h})},[]),n=S.useCallback(()=>{t({leftPanelCollapsed:!e.leftPanelCollapsed})},[e.leftPanelCollapsed,t]),a=S.useCallback(()=>{t({rightPanelCollapsed:!e.rightPanelCollapsed})},[e.rightPanelCollapsed,t]),i=S.useCallback((u,p=!1)=>{t(p?{leftPanelWidthOnStyleMode:u}:{leftPanelWidth:u})},[t]),l=S.useCallback(u=>{t({rightPanelWidth:u})},[t]),s=S.useCallback((u=!1,p=window.innerWidth)=>e.leftPanelCollapsed?Fi:u&&e.leftPanelWidthOnStyleMode!==void 0?e.leftPanelWidthOnStyleMode:p<1200?e.leftPanelWidthOnStyleMode||bo:e.leftPanelWidth,[e.leftPanelCollapsed,e.leftPanelWidth]),d=S.useCallback((u=!1,p=window.innerWidth)=>u?e.rightPanelCollapsed?Fi:e.rightPanelWidth:0,[e.rightPanelCollapsed,e.rightPanelWidth]),f=S.useCallback(({referenceWidth:u,leftWidth:p,rightWidth:h,splitBarWidth:x=Vd,gridPadding:v=qi,styleMode:y=!1})=>{const _=x*2,D=v*2;return u-p-h-_-D},[]),c=S.useCallback((u=window.innerWidth,p=!1)=>f({referenceWidth:u,leftWidth:s(p,u),rightWidth:d(p,u),styleMode:p}),[f,s,d]),b=S.useCallback((u=window.innerWidth,p=!1)=>{const h=s(p,u),x=d(p,u);return u-h-x},[c]);return{config:e,GRID_PADDING:qi,updateConfig:t,toggleLeftPanel:n,toggleRightPanel:a,setLeftPanelWidth:i,setRightPanelWidth:l,getLeftPanelWidth:s,getRightPanelWidth:d,calculateGridWidth:f,getCenterWidth:b,getCalculatedGridWidth:c,isLeftCollapsed:e.leftPanelCollapsed,isRightCollapsed:e.rightPanelCollapsed}};function Xd({value:e,onChange:r,onSelect:t,optionList:n,currentSelectedValue:a,mainPlaceherText:i=g("Please write form name"),searchPlaceholder:l=g("Search forms here..."),onSearch:s,noSearchResultsText:d=g("No forms found"),classNames:f=""}){const{css:c}=Ge(),[b,u]=S.useState(!1),[p,h]=S.useState(""),[x,v]=S.useState(-1),y=S.useRef(null),_=S.useRef(null),D=S.useRef(null),w=n.filter(C=>C.label.toLowerCase().includes(p.toLowerCase()));S.useEffect(()=>{const C=N=>{y.current&&!y.current.contains(N.target)&&u(!1)};if(b)return document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[b]),S.useEffect(()=>{b&&_.current&&_.current.focus()},[b]),S.useEffect(()=>(D.current&&clearTimeout(D.current),s&&p&&(D.current=setTimeout(()=>{s(p)},300)),()=>{D.current&&clearTimeout(D.current)}),[p,s]);const m=()=>{u(!b),v(-1)},$=C=>{t(C.value),u(!1),h(""),v(-1)},O=C=>{if(!b){(C.key==="ArrowDown"||C.key==="Enter")&&(C.preventDefault(),u(!0));return}switch(C.key){case"ArrowDown":C.preventDefault(),v(N=>N<w.length-1?N+1:N);break;case"ArrowUp":C.preventDefault(),v(N=>N>0?N-1:-1);break;case"Enter":C.preventDefault(),x>=0&&w[x]&&$(w[x]);break;case"Escape":C.preventDefault(),u(!1),h(""),v(-1);break}},E=C=>{switch(C.key){case"ArrowDown":C.preventDefault(),v(N=>N<w.length-1?N+1:0);break;case"ArrowUp":C.preventDefault(),v(N=>N>0?N-1:w.length-1);break;case"Enter":C.preventDefault(),x>=0&&w[x]&&$(w[x]);break;case"Tab":w.length>0&&(C.preventDefault(),C.shiftKey?v(N=>N>0?N-1:w.length-1):v(N=>N<w.length-1?N+1:0));break;case"Escape":C.preventDefault(),u(!1),h(""),v(-1);break}};return o.jsxs("div",{className:`${c(et.container)} ${f} editable-select-container`,ref:y,children:[o.jsxs("div",{className:`${c(et.inputWrapper)} input-wrapper`,children:[o.jsx("input",{type:"text",value:e,title:e,onChange:C=>r(C.target.value),onKeyDown:O,className:`${c(et.mainInput)} main-input`,"aria-label":"Form name",placeholder:i,"aria-expanded":b,"aria-haspopup":"listbox","aria-controls":"form-switcher-listbox"}),o.jsx("div",{className:`${c(et.toggleButtonWrapper)} toggle-button-wrapper`,children:o.jsx("button",{type:"button",onClick:m,className:`${c(et.toggleButton)} toggle-button`,"aria-label":b?"Close form list":"Open form list","aria-expanded":b,children:o.jsx(pd,{size:16,className:c(et.chevronIcon,...b?[et.chevronIconOpen]:[])})})})]}),b&&o.jsxs("div",{className:`${c(et.dropdown)} dropdown`,id:"form-switcher-listbox",role:"listbox",children:[o.jsxs("div",{className:`${c(et.searchWrapper)} search-wrapper`,children:[o.jsx("input",{ref:_,type:"text",value:p,onChange:C=>h(C.target.value),onKeyDown:E,placeholder:l,className:`${c(et.searchInput)} search-input`,"aria-label":"Search forms"}),o.jsx(Cs,{size:16,className:c(et.searchIcon)})]}),o.jsx("div",{className:`${c(et.optionsList)} options-list`,children:w.length>0?w.map((C,N)=>{const L=C.value===a,R=x===N;return o.jsxs("div",{role:"option","aria-selected":R||L,className:`${c(et.option,...R?[et.optionHighlighted]:[],...L?[et.optionSelected]:[])} option`,onClick:()=>$(C),onMouseEnter:()=>v(N),children:[o.jsx("span",{children:C.label}),L&&o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:c(et.checkIcon),children:o.jsx("path",{d:"M13.3332 4L5.99984 11.3333L2.6665 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]},C.value)}):o.jsxs("div",{className:c(et.noResults),children:[" ",d]})})]})]})}const et={container:{position:"relative",display:"inline-block",width:"100%",border:"1px solid var(--bf-stroke-clr) !important",brs:"var(--bf-bdr-radius-sm) !important",":focus-within":{bcr:"var(--bf-tertiary) !important"}},inputWrapper:{position:"relative",display:"flex",alignItems:"center"},mainInput:{width:"calc(100% - 32px)",padding:"5px 10px !important",fontSize:"16px",fontWeight:"400",color:"var(--bf-text-clr-dark) !important",backgroundColor:"transparent",b:"none !important",outline:"none",brs:"var(--bf-bdr-radius-sm) !important",transition:"background-color 0.2s ease",":hover":{backgroundColor:"var(--bf-bg-hover, rgba(0, 0, 0, 0.02))"},":focus":{bcr:"var(--bf-tertiary) !important"},"::placeholder":{color:"var(--bf-text-clr-secondary) !important",opacity:".7"},textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},toggleButtonWrapper:{display:"flex",alignItems:"center",justifyContent:"center",w:"32px",bl:"1px solid var(--bf-stroke-clr)"},toggleButton:{display:"flex",alignItems:"center",justifyContent:"center",width:"24px",height:"24px",p:"0",backgroundColor:"transparent",b:"none",brs:"var(--bf-bdr-radius-sm) !important",cursor:"pointer",transition:"background-color 0.2s ease",":hover":{backgroundColor:"var(--bf-bg-hover, rgba(0, 0, 0, 0.1))"},":focus":{outline:"2px solid var(--bf-tertiary, #0066ff)",outlineOffset:"2px"}},chevronIcon:{transition:"transform 0.2s ease",color:"var(--bf-font-secondary, #6b7280)"},chevronIconOpen:{transform:"rotate(180deg) !important"},dropdown:{position:"absolute",top:"calc(100% + 4px)",left:"0",zIndex:"1000",width:"100%",minWidth:"250px",maxWidth:"400px",backgroundColor:"#fff",border:"1px solid var(--bf-border, #e5e7eb)",borderRadius:"var(--bf-bdr-radius-md)",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",overflow:"hidden"},searchWrapper:{position:"relative",padding:"8px",borderBottom:"1px solid var(--bf-stroke-clr, #e5e7eb)"},searchInput:{width:"100%",padding:"8px 22px 8px 10px !important",fontSize:"14px",color:"var(--bf-font-primary)",backgroundColor:"var(--bf-bg-offwhite, #f9fafb)",border:"1px solid var(--bf-stroke-clr, #e5e7eb) !important",borderRadius:"6px",outline:"none",lineHeight:"1 !important",transition:"border-color 0.2s ease",":focus":{borderColor:"var(--bf-tertiary, #0066ff) !important"}},searchIcon:{position:"absolute",right:"12px",top:"50%",transform:"translateY(-50%)",color:"var(--bf-font-secondary, #6b7280)"},optionsList:{maxHeight:"300px",overflowY:"auto",overflowX:"hidden",padding:"4px"},option:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",fontSize:"14px",color:"var(--bf-font-primary)",cursor:"pointer",borderRadius:"6px",transition:"background-color 0.15s ease",":hover":{backgroundColor:"var(--bf-bg-hover, #f3f4f6)"}},optionHighlighted:{backgroundColor:"var(--bf-bg-hover, #f3f4f6)"},optionSelected:{backgroundColor:"var(--bf-bg-selected, #e0f2fe)",fontWeight:"500",":hover":{backgroundColor:"var(--bf-bg-selected-hover, #bae6fd)"}},checkIcon:{color:"var(--bf-primary, #0066ff)",flexShrink:"0"},noResults:{padding:"12px",fontSize:"14px",color:"var(--bf-font-secondary, #6b7280)",textAlign:"center"}},Jt=(n,...a)=>ct(void 0,[n,...a],function*(e,r={},t=null){try{const i=yield Ae(r,e,null,t);if(!i.success)throw new Error(i.data||"Request failed");return i.data}catch(i){throw i}}),Zd={getCustomThemes(){return ct(this,null,function*(){return Jt("bitform_get_custom_themes")})},saveTheme(e){return ct(this,null,function*(){return Jt("bitform_save_custom_theme",e)})},deleteTheme(e){return ct(this,null,function*(){return Jt("bitform_delete_custom_theme",{theme_slug:e})})},duplicateTheme(e,r){return ct(this,null,function*(){return Jt("bitform_duplicate_theme",{source_slug:e,new_name:r})})},setDefaultTheme(e){return ct(this,null,function*(){return Jt("bitform_set_default_theme",{theme_slug:e})})},renameTheme(e,r){return ct(this,null,function*(){return Jt("bitform_rename_theme",{theme_slug:e,new_name:r})})},exportTheme(e){return ct(this,null,function*(){const r=yield Jt("bitform_export_theme",{theme_slug:e}),t=new Blob([r.json],{type:"application/json"}),n=URL.createObjectURL(t),a=document.createElement("a");return a.href=n,a.download=`${e}-theme.json`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(n),r})},importTheme(e,r=null){return ct(this,null,function*(){return Jt("bitform_import_theme",{json_data:e,new_name:r})})}},ft={btct_bld_nav:{flx:"center-between",bd:"var(--bf-bg-white)",pn:"fixed",h:"var(--bf-nav-height)",w:"100%",zx:999,inset:0,bb:"1px solid var(--bf-stroke-clr)"},builder_routes:{mt:"var(--bf-nav-height)",pn:"relative"},btcd_bld_title:{flx:"align-center"},nav_back_icn:{se:42,flx:"center",ow:"hidden",py:4,cr:"var(--bf-secondary-500)",pr:15,pl:25,mx:5,brs:"var(--bf-bdr-radius-sm)",":hover":{cr:"var(--bf-white-100)",bd:"var(--bf-bg-tertiary)"}},nav_menu_wrapper:{"& .tabs":{grayBorder:"1px",h:42}},bit_icn:{flx:"center",se:"2.625rem",b:"var(--bf-bdr-width-xs) solid var(--bf-bdr-clr-light)",brs:"var(--bf-bdr-radius-lg)",ow:"hidden",curp:1,"& img":{w:"100%"}},btcd_form_title_inp:{tn:"background 0.3s !important",w:"250px !important",ml:8,"& .main-input":{h:42,"&:focus":{bs:"none"}},"& .toggle-button-wrapper":{h:42}},btcd_bld_lnk:{w:"auto"},btcd_bld_btn:{flx:"align-center",jc:"end"},cls_btn:{cr:"var(--bf-secondary-500)",se:30,mr:15,flx:"center",p:0,ta:"center",tn:"color 0.5s !important","&:hover":{cr:"var(--red-100-61) !important"}},btn:{fw:500,oe:"none",cr:"var(--b-63-18-67)",brs:"var(--bf-bdr-radius-sm) !important",b:"1px solid var(--g-89-7)",td:"none",my:5,mx:10,py:7,px:15,pn:"relative",fs:14,curp:1,flx:"align-center",w:"auto","&:disabled":{bd:"var(--b-100-50-5) !important"}},visDisable:{bd:"var(--bf-primary) !important",cr:"var(--bf-white-100) !important",b:"none",fw:600}};function ec({componentMounted:e,modal:r,setModal:t}){const n=Vn(),{page:a,formType:i,formID:l,"*":s}=Dt(),d=Z(Qa),{css:f}=Ge(),[c,b]=S.useState(i==="edit"?`${g("Update Form")}`:`${g("Save Form")}`),[u,p]=S.useState(i==="edit"?l:0),[h,x]=S.useState(!1),[v,y]=je(Hl),[_,D]=je(Rr),w=Z(Gn),{formName:m,multiStepSettings:$}=w,O=Z(Bl),E=_e(Kn),C=_e(Is),N=_e(Er),L=Wl(la),R=_e(da),H=Z(ca),[te,re]=je(Ja),[de,ke]=je(Ul),[We,Ue]=je(Qn),[be,J]=je(la),[z,P]=je(Yl),[T,k]=je(Xa),[A,q]=je(Gl),[F,I]=je(Vl),[Q,ie]=je(Kl),ce=Z(Ls),[se,fe]=je(As),[Te,Ie]=je(Jn),Ke=Z(Ql),dt=_e(Jl),pt=_e(Xl),Ht=_e(Zl),_t=_e(Fs),Tt=Z(eo),Bt=Z(to),Pt=Z(ro),Ut=Z(ao),Ar=Z(no),ar=Z(qs),jt=Z(Fl),{staticStyles:_r}=Bt;S.useEffect(()=>{var M,K;if((M=T[T.length-1])!=null&&M.newItegration||(K=T[T.length-1])!=null&&K.editItegration){const X=Cr(T,W=>{W.pop()});k(X),he("integrations",X)}},[T]),S.useEffect(()=>{var M;if((M=de[de.length-1])!=null&&M.updateTem){const K=Cr(de,X=>{X.pop()});ke(K),he("email-template",K)}},[de]),S.useEffect(()=>{var M;if((M=We[We.length-1])!=null&&M.updateTem){const K=Cr(We,X=>{X.pop()});Ue(K),he("pdf-template",K)}},[We]);const Nt=M=>{if((M.key==="s"||M.key==="S")&&M.ctrlKey)return M.preventDefault(),!be.disabled&&!h&&j(),!1},nr=M=>{if(be.unsaved){const K=M;return K.preventDefault(),K.returnValue="Are you sure you want to exit?",K.returnValue}};S.useEffect(()=>{var K;document.addEventListener("keydown",Nt);const M=(K=document.getElementById("bit-grid-layout"))==null?void 0:K.contentDocument;return M==null||M.addEventListener("keydown",Nt),window.addEventListener("beforeunload",nr),()=>{document.removeEventListener("keydown",Nt),M==null||M.removeEventListener("keydown",Nt),window.removeEventListener("beforeunload",nr)}},[]),S.useEffect(()=>{i==="edit"&&l&&(p(l),b(g("Update Form")))},[l,i]);const vr=()=>{if(be.errors){const M=be.errors[be.errors.length-1];if(M.errorMsg?ht.error(M.errorMsg):ht.error(g("Please fix the errors")),M.errorUrl){const K=zs();n(`${K}/${M.errorUrl}`)}return M.fieldKey&&(_t(M.fieldKey),setTimeout(()=>{var K;(K=Hs(`[data-key="${M.fieldKey}"]`))==null||K.focus()},500)),!0}return!1},j=M=>{const K=On("#secondary-update-btn");if(Ar.styleMode&&Ws(),K)K.click();else if(M==="update-btn"){if(vr())return;he()}else On("#update-btn").click()};S.useEffect(()=>{be.unsaved&&h&&x(!1)},[be]);const oe=()=>{const M=Object.values(_).filter(X=>X.typ==="button"&&X.btnTyp==="submit");return(_?Object.values(_).filter(X=>Xn.includes(X.typ)):[]).length>0||M.length>0},he=(M,K)=>ct(this,null,function*(){u&&x(!0),setTimeout(()=>{let X=de,W=We,ue=A,ge=T;if(M==="email-template"?X=K:M==="pdf-template"?W=K:M==="additional"?ue=K:M==="integrations"&&(ge=K),!oe()){const pe=G({},r);pe.show=!0,pe.title=g("Sorry"),pe.btnTxt=g("Close"),pe.msg=g("Please add a submit button"),pe.cancelBtn=!1,t(pe),x(!1);return}const me=Pi(ce)||ce===void 0;if(Ke.respectLGLayoutOrder)try{const pe=d||"lg",$t=se[pe]||se.lg,lr=ji(pe,$t,se,!0,Ni);fe(lr);const or=Cr(Te,Et=>{Object.keys(Et).forEach(Gt=>{const nt=Et[Gt],Vt=(nt==null?void 0:nt[pe])||(nt==null?void 0:nt.lg)||[];if(nt&&Vt.length>0)try{const Kt=ji(pe,Vt,nt,!0,Ni);Et[Gt]=Kt}catch(Kt){}})});Ie(or)}catch(pe){ht.error(g("Could not sync layouts before save. Form will be saved with current layout state"))}const{layouts:ne,nestedLayouts:Je,lightThemeColors:tt,darkThemeColors:Xe,lgLightThemeVars:Mt,lgDarkThemeVars:Rt,mdLightThemeVars:Yt,mdDarkThemeVars:Ze,smLightThemeVars:vt,smDarkThemeVars:Fr,lgLightStyles:bn,lgDarkStyles:ga,mdLightStyles:_a,mdDarkStyles:va,smLightStyles:$a,smDarkStyles:ya}=Mi(u),qr={lightThemeColors:tt,darkThemeColors:Xe},Wr={lgLightThemeVars:Mt,lgDarkThemeVars:Rt,mdLightThemeVars:Yt,mdDarkThemeVars:Ze,smLightThemeVars:vt,smDarkThemeVars:Fr};let $r={lgLightStyles:bn,lgDarkStyles:ga,mdLightStyles:_a,mdDarkStyles:va,smLightStyles:$a,smDarkStyles:ya};$r=Os($r);let ir=sessionStorage.getItem("btcd-fs");ir=ir&&Ts(ir);const zr=Ye(G(Ye(G(G(G(G(Ye(G(G(G({},u&&{id:u}),!u&&{form_id:O}),u&&{currentReport:H}),{layout:ne,nestedLayouts:Je,formInfo:w,fields:_,form_name:m,report_id:te.id,additional:ue,workFlows:z,formStyle:ir}),!me&&{style:Hr.stringify($r)}),!me&&{staticStyles:Hr.stringify(Bt)}),!me&&{themeColors:Hr.stringify(qr)}),!me&&{themeVars:Hr.stringify(Wr)}),{breakpointSize:Pt}),Ut.isFetched&&{customCodes:Ut}),{layoutChanged:sessionStorage.getItem("btcd-lc"),rowHeight:sessionStorage.getItem("btcd-rh"),formSettings:G({formName:m,confirmation:F,formPermissions:Q,mailTem:X,pdfTem:W,integrations:ge},!Pi(ar)&&{formAbandonment:ar}),builderSettings:Tt});u&&v.length!==0&&(zr.deletedFldKey=v);const yr=u?"bitforms_update_form":"bitforms_create_new_form",xa=Ae(zr,yr).then(pe=>{var $t,lr,or,Et,Gt,nt,Vt,Kt;if(pe!=null&&pe.success&&e){let{data:Y}=pe;typeof Y!="object"&&(Y=JSON.parse(Y)),C(sr=>Ye(G({},sr),{reRenderGridLayoutByRootLay:sr.reRenderGridLayoutByRootLay+1})),($t=Y==null?void 0:Y.form_content)!=null&&$t.fields&&D(Y.form_content.fields),(lr=Y==null?void 0:Y.formSettings)!=null&&lr.confirmation&&I(Y.formSettings.confirmation),Y!=null&&Y.workFlows&&P(Y.workFlows),(or=Y==null?void 0:Y.formSettings)!=null&&or.integrations&&k(Y.formSettings.integrations),(Et=Y==null?void 0:Y.formSettings)!=null&&Et.mailTem&&ke(Y.formSettings.mailTem),(Gt=Y==null?void 0:Y.formSettings)!=null&&Gt.pdfTem&&Ue(Y.formSettings.pdfTem),Y!=null&&Y.additional&&q(Y.additional),Y!=null&&Y.Labels&&N(Y.Labels),Y!=null&&Y.reports&&R((Y==null?void 0:Y.reports)||[]),!(te!=null&&te.id)&&((nt=Y==null?void 0:Y.form_content)!=null&&nt.report_id)&&re({id:(Vt=Y==null?void 0:Y.form_content)==null?void 0:Vt.report_id,isDefault:((Kt=Y==null?void 0:Y.form_content)==null?void 0:Kt.is_default)||0}),me||(dt(qr),pt(Wr),Ht(Hr.parse(Y==null?void 0:Y.style)),Ps()),E(sr=>zl(sr,{type:yr==="bitforms_create_new_form"?"add":"update",data:{formID:Y.id,status:Y.status!=="0",formName:Y.form_name,shortcode:`bitform id='${Y.id}'`,entries:Y.entries,views:Y.views,conversion:Y.entries===0?0:(Y.entries/(Y.views==="0"?1:Y.views)*100).toPrecision(3),created_at:Y.created_at}})),L(),y([]),yr==="bitforms_create_new_form"&&u===0&&c===g("Save Form")&&(p(Y.id),b(g("Update Form")),n(`/form/${a}/edit/${Y.id}/${s}`,{replace:!0})),setTimeout(()=>Mi(Y.id),100),sessionStorage.removeItem("btcd-lc"),sessionStorage.removeItem("btcd-fs"),sessionStorage.removeItem("btcd-rh")}else!(pe!=null&&pe.success)&&(pe==null?void 0:pe.data)==="Token expired"?window.location.reload():pe!=null&&pe.success||setTimeout(()=>{window.location.reload()},2e3);return pe}).catch(pe=>{}).finally(()=>{jt&&!jt.closed&&setTimeout(()=>{jt.postMessage("REFRESH_PREVIEW",window.location.origin),jt.location.reload()},100)});u&&ht.promise(xa,{loading:g("Updating..."),success:pe=>{var $t;return x(!1),(($t=pe==null?void 0:pe.data)==null?void 0:$t.message)||(pe==null?void 0:pe.data)},error:()=>(x(!1),g("Error occurred, Please try again."))}),Re(),B()},0)}),Re=()=>{var K;if(!((K=w.standaloneSettings)!=null&&K.styles))return;const M=js(w.standaloneSettings.styles);Ae({css:M,formID:l},"bitforms_save_standalone_css")},B=()=>{var X;if(!((X=w.conversationalSettings)!=null&&X.enable))return;let M=Ns(G(G({},_r),Ms(u)));const{nestedLayoutStyleText:K}=Rs();K.lg&&(M+=K.lg),K.md&&(M+=K.md),K.sm&&(M+=K.sm),M+=Es(),Ae({css:M,formID:l},"bitforms_save_conversational_css")};return o.jsxs(St,{id:"update-btn",className:`${f([ft.btn,{h:42}])} tooltip ${be.unsaved?f(ft.visDisable):""}`,type:"button",onClick:()=>j("update-btn"),disabled:be.disabled||h,style:{"--tooltip-txt":`'${g("ctrl + s")}'`},variant:"primary-outline",children:[c,(be.loading||h)&&o.jsx(Mr,{size:20,clr:"white",className:"ml-1"})]})}function tc({defaultActive:e,options:r,size:t=100,component:n="a",onChange:a,variant:i="white",show:l,activeShow:s,square:d,classNames:f=""}){const{css:c}=Ge(),b=Number(t),u=O=>Math.floor(b/O),p={};i==="white"&&(p.tabBg="var(--white-0-95)",p.selectorBg="var(--white-100)",p.active="var(--b-50) !important"),i==="tertiary"&&(p.tabBg="var(--white-100)",p.selectorBg="var(--bf-tertiary)",p.active="var(--bf-white-100) !important",p.tabClr="var(--bf-text-clr-gray)"),i==="blue"&&(p.selectorBg="var(--b-50)",p.tabBg="#454A65",p.tabClr="var(--b-44-87)",p.active="var(--white-100) !important"),i==="lightgray"&&(p.selectorBg="var(--white-100)",p.tabBg="var(--white-0-95)",p.tabClr="var(--b-44-87)",p.active="var(--b-50) !important");const h={wrapper:{ta:"center"},tabs:{fs:u(6.67),py:u(33.34),px:u(20),bd:p.tabBg,ls:"none",dy:"inline-block",brs:"var(--bf-bdr-radius-sm)",pn:"relative","& .active":{cr:p.active},"& button":{bd:"none",oe:"none",b:"none"}},selector:{w:0,h:"80%",dy:"inline-block",pn:"absolute",lt:u(20),tp:"50%",tm:"translatey(-50%)",zx:1,brs:"var(--bf-bdr-radius-sm)",tdn:"0.3s",ttf:"cubic-bezier(0.42, 0.44, 0.57, 1.35)",bd:p.selectorBg,willChange:"transform",bs:i==="blue"&&"0 2px 7px -2px rgb(0 11 49 / 79%)"},tab_link:Ye(G({curp:1,td:"none",fw:500,flxi:"align-center",pn:"relative",py:d?0:u(10),px:d?0:u(5),textShadow:i==="blue"&&"0 1px 1px #6e6e6e70",zx:1},d&&{aspectRatio:"1/1",w:30,h:30,flxi:"center"}),{tdy:i==="tertiary"?"0s":"0.3s",tdn:"0.6s",cr:p.tabClr,"transition-property":"color",":hover:not(.active)":{cr:i==="tertiary"?"var(--bf-text-clr-tertiary)":"var(--white-0-100-90)",fw:i==="tertiary"?600:500,tdy:"0s",tdn:"300ms"},":focus-visible":{oe:"2px solid var(--b-50)"},"& .icn":{mr:l!=null&&l.includes("label")?u(20):0,lh:"75%",dy:"block"}})},x=S.useRef(null),v=S.useRef(null),y=S.useRef(null),[_,D]=S.useState(e||r[0].label),w=n;S.useEffect(()=>{_!==e&&D(e)},[e]),S.useLayoutEffect(()=>{var E;const O=(E=y==null?void 0:y.current)==null?void 0:E.querySelector(`[data-label="${_}"]`);if(O){const{width:C}=O.getBoundingClientRect()||{width:0};if(!x.current)return;x.current.style.width===""?(v.transition=x.current.style.transition,x.current.style.transition="all 0s"):x.current.style.transition=v.transition,x.current.style.width=`${C}px`,x.current.style.transform=`translate(${O.offsetLeft-5}px, -50%)`}});const m=(O,E)=>{var L;if(O.preventDefault(),O.type==="keypress"&&O.code!=="Space"||O.type==="keypress"&&O.code!=="Enter")return;const C=O.currentTarget;if(!O.type==="keypress"||!O.type==="click")return;const N=(L=y==null?void 0:y.current)==null?void 0:L.querySelector(`.tabs ${n}.active`);C!==N&&(N==null||N.classList.remove("active"),D(r[E].label),a(r[E].label))},$=(O,E)=>!!(O[E]&&(s&&_===O.label&&s.includes(E)||l&&l.includes(E)||!l&&!s));return o.jsx("div",{className:`${c(h.wrapper)} ${f}`,children:o.jsxs("div",{ref:y,className:`${c(h.tabs)} tabs`,children:[o.jsx("div",{ref:x,className:`selector ${c(h.selector)}`}),r==null?void 0:r.map((O,E)=>o.jsxs(w,Ye(G(G({className:`${c(h.tab_link)} tab-link ${_===O.label?" active":""}`,onClick:C=>m(C,E),onKeyDown:C=>m(C,E),"data-label":O.label,"data-testid":`${O.label}-tab`},n==="button"&&{type:"button"}),n==="a"&&{href:`#${O.label}`}),{href:`#${O.label}`,type:"button",children:[$(O,"icn")&&o.jsx("span",{className:`icn ${_===O.label?c(h.segment_img):""}`,children:O.icn}),$(O,"label")&&g(O.label)]}),`segment-option-${E*10}`))]})})}function rc(){const{css:e}=Ge();return o.jsxs("div",{className:e(Sa.wrp),children:[o.jsx("div",{className:`${e(Sa.titl)} loader`}),Array(7).fill(0).map((r,t)=>o.jsx("div",{className:`${e(Sa.t_wrp)} flx`,children:o.jsx("div",{className:`${e(Sa.mnu)} loader`})},`tb-${t+3}`))]})}const Sa={wrp:{mx:10,my:10},titl:{w:170,h:28,brs:6},t_wrp:{my:10},mnu:{h:50,w:"70%",brs:8}};function ac({size:e=20,stroke:r=2,className:t}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round",className:`lucide lucide-chart-column-big-icon lucide-chart-column-big ${t}`,children:[o.jsx("path",{d:"M3 3v16a2 2 0 0 0 2 2h16"}),o.jsx("rect",{x:"15",y:"5",width:"4",height:"12",rx:"1"}),o.jsx("rect",{x:"7",y:"8",width:"4",height:"9",rx:"1"})]})}function nc({size:e=32,stroke:r=2,className:t=""}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",className:t,children:o.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:r,d:"M12 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7M3 10h18M10 3v18m7.001-2a2 2 0 1 0 4 0a2 2 0 1 0-4 0m2-3.5V17m0 4v1.5m3.031-5.25l-1.299.75m-3.463 2l-1.3.75m0-3.5l1.3.75m3.463 2l1.3.75"})})}function ic(e){const{formID:r,entryID:t,setAllResp:n,setSnackbar:a}=e,i=Z(rt),[l,s]=S.useState(!1),[d,f]=S.useState(!1),[c,b]=S.useState(!0),[u,p]=S.useState(null),h=S.useRef(null),{css:x}=Ge();S.useEffect(()=>{s(!0)},[t,r]);const v=D=>{D.preventDefault(),f(!0);const w=h.current.contentWindow,m=w.document,$=m==null?void 0:m.querySelector("form"),O=$.id.slice($.id.indexOf("-")+1);let E=new FormData($);const C={formID:r,entryID:e.entryID},N=[],L=w.bf_globals[O];typeof w.advancedFileHandle!="undefined"&&(E=w.advancedFileHandle(L,E)),typeof w.decisionFldHandle!="undefined"&&(E=w.decisionFldHandle(L,E)),Object.entries((L==null?void 0:L.fields)||{}).forEach(R=>{var H,te;(te=(H=R[1])==null?void 0:H.valid)!=null&&te.hide&&N.push(R[0])}),N.length&&E.append("hidden_fields",N),Ae(E,"bitforms_update_form_entry",void 0,C).then(R=>{if(R!==void 0&&R.success){if(R.data.cron||R.data.cronNotOk){const H=R.data.cron||R.data.cronNotOk;if(typeof H=="string"){const te=new URL(H);te.protocol!==window.location.protocol&&(te.protocol=window.location.protocol),fetch(te)}else{const te=new URL(i.ajaxURL);te.searchParams.append("action","bitforms_trigger_workflow");const re={cronNotOk:H,id:`bitforms_${r}`};fetch(te,{method:"POST",body:JSON.stringify(re),headers:{"Content-Type":"application/json"}}).then(de=>de.json())}}a({show:!0,msg:R.data.message}),n(H=>Cr(H,te=>{const re=te.findIndex(de=>de.entry_id===e.entryID);te[re]=G(G({},te[re]),R.data.updatedData)})),e.close(!1)}else R.data&&p(R.data)}).finally(()=>f(!1))},y=document.querySelector(".btcd-modal-wrp"),_=y!=null&&y.offsetHeight?y.offsetHeight-150:0;return o.jsxs(jr,{hdrActn:o.jsxs("button",{onClick:v,disabled:d,type:"button",className:`${x(At.btn,At.blueGrd)} btn-md blue btcd-mdl-hdr-btn`,children:["Update",d&&o.jsx(Mr,{size:20,clr:"#fff",className:"ml-2"})]}),lg:!0,show:l,setModal:e.close,title:g("Edit"),children:[c&&o.jsx(Ft,{className:x({ta:"center"})}),o.jsx(io,{autoHide:!0,autoHeight:!0,autoHeightMin:_,autoHeightMax:_,children:o.jsx("iframe",{ref:h,title:"Form Entry Edit",src:`${window.location.origin}?bitform-form-entry-edit=1&formId=${r}&entryId=${t}`,className:x(zi.iframe,zi.body),onLoad:()=>b(!1)})})]})}const zi={iframe:{width:"100%",height:"80vh"},body:{"> body":{height:"80vh"},"> html":{height:"80vh"}}};var Ir=""+new URL("bf-450-63.svg",import.meta.url).href;function lc({formID:e,entryID:r,allLabels:t,showForm:n,setShowForm:a,setFetchData:i,data:l,setData:s}){const d=!!l.noteID,{css:f}=Ge(),[c,b]=S.useState(!1),[u,p]=S.useState(l.title),[h,x]=S.useState(l.content),v=Z(Zn),y=m=>{p(m)},_=m=>{x(m)},D=m=>{if(m.preventDefault(),!!h)if(b(!0),d){const $={noteID:l.noteID,formID:e,entryID:r,title:u,content:h};Ae({},"bitforms_form_entry_update_note","multipart/form-data",$).then(O=>{O!==void 0&&O.success&&(ht.success(g("Note Updated Successfully")),w(),i(!0)),b(!1)})}else Ae({},"bitforms_form_entry_create_note","multipart/form-data",{formID:e,entryID:r,title:u,content:h}).then(O=>{O!==void 0&&O.success&&(ht.success(g("Note Added Successfully")),w(),i(!0)),b(!1)})},w=()=>{a(!1),s({title:"",content:""})};return o.jsxs("div",{className:"mt-2 w-7",children:[o.jsxs("b",{children:[d?g("Edit Note "):g("Create New Note "),o.jsx("button",{type:"button",className:f(At.btn),onClick:()=>d?w():a(!1),style:{fontSize:16},children:"x"})]}),o.jsx("br",{}),o.jsxs("form",{method:"POST",onSubmit:D,onKeyDown:m=>{m.key==="Enter"&&m.target.tagName!=="TEXTAREA"&&m.preventDefault()},children:[o.jsx("input",{type:"text",name:"title",className:"btcd-paper-inp mt-2",placeholder:"Note Title",value:u,onChange:m=>y(m.target.value)}),o.jsx(bd,{id:"body-content",value:h,onChangeHandler:_,formFields:v}),d&&o.jsx("button",{type:"button",className:`${f(At.btn)} btn-md mr-2`,onClick:w,children:g("Cancel")}),o.jsxs("button",{type:"submit",className:`${f(At.btn)} btn-md blue`,disabled:c,children:[d?g("Edit"):g("Add")," ",g("Note"),c&&o.jsx(Mr,{size:20,clr:"#fff",className:"ml-2"})]})]})]})}function oc({formID:e,entryID:r,allLabels:t,rowDtl:n}){const a=Z(rt),{isPro:i}=a,{css:l}=Ge(),s=`${a.dateFormat} ${a.timeFormat}`,[d,f]=S.useState(!1),[c,b]=S.useState({show:!1}),[u,p]=S.useState(!1),[h,x]=S.useState([]),[v,y]=S.useState(!1),[_,D]=S.useState(!1),[w,m]=S.useState({title:"",content:""});S.useEffect(()=>{i&&f("allNotes"),y(!0)},[]),S.useEffect(()=>{if(i&&f("allNotes"),_){D(!1);return}i&&Ae({formID:e,entryID:r},"bitforms_form_entry_get_notes").then(H=>{H!==void 0&&H.success&&x(H.data),f(!1)})},[_,r]),S.useEffect(()=>{w.content&&p(!0)},[w]);const $=H=>{p(!1);const te=h.find(ke=>ke.id===H),{title:re,content:de}=JSON.parse(te.info_details);m({noteID:H,title:re,content:de}),p(!0)},O=H=>{c.noteID=H,c.show=!0,b(G({},c))},E=()=>{c.show=!1,b(G({},c))},C=()=>{f("delete"),E(),Ae({noteID:c.noteID,formID:e,entryID:r},"bitforms_form_entry_delete_note").then(H=>{H!==void 0&&H.success&&(ht.success(g("Note Deleted Successfully")),D(!0)),f(!1)})},N=H=>{var We,Ue;const te=/\${\w[^ ${}]*}/g,re=((We=H==null?void 0:H.match)==null?void 0:We.call(H,te))||"",de=((Ue=re==null?void 0:re.filter)==null?void 0:Ue.call(re,(be,J)=>re.indexOf(be)===J))||[];let ke=H;for(let be=0;be<de.length;be+=1){const J=de[be].slice(2,-1);ke=ke.replace(new RegExp(`\\${de[be]}`,"gi"),J in n?n[J]:"[Field Deleted]")}return ke},L=H=>{const te=JSON.parse(H.info_details),re=d==="delete"&&c.noteID===H.id;return o.jsxs("div",{children:[o.jsxs("div",{children:[H.updated_at?o.jsxs("small",{children:[g("updated on:"),` ${ot(H.updated_at,s)}`]}):o.jsxs("small",{children:[g("created at:"),` ${ot(H.created_at,s)}`]}),o.jsx("button",{type:"button",className:"icn-btn ml-1 tooltip pos-rel",style:{"--tooltip-txt":`'${g("Edit")}'`,fontSize:16},onClick:()=>$(H.id),children:o.jsx(fa,{size:"15"})}),o.jsxs("button",{type:"button",onClick:()=>O(H.id),className:`${re?l(At.btn):"icn-btn"} ml-1 tooltip pos-rel`,style:{"--tooltip-txt":`'${g("Delete")}'`,fontSize:16},disabled:re,children:[o.jsx(ua,{size:"15"}),re&&o.jsx(Mr,{size:20,clr:"#000",className:"ml-2"})]})]}),o.jsxs("div",{children:[te.title&&o.jsx("h3",{children:te.title}),o.jsx("div",{children:o.jsx(lo,{html:N(te.content)})})]}),o.jsx("hr",{className:"btcd-hr"})]},H.id)},R=()=>h.length?h.map(H=>L(H)):v&&o.jsx("img",{src:Ir,alt:"no data found",style:{height:150,width:"100%"}});return o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"pos-rel",children:[!i&&o.jsx(md,{className:"mt-4",style:{marginTop:0}}),u?o.jsx(lc,{formID:e,entryID:r,allLabels:t,showForm:u,setShowForm:p,setFetchData:D,data:w,setData:m}):o.jsx("button",{type:"button",className:l(At.btn),onClick:()=>p(!0),children:g("create new note")}),d==="allNotes"?o.jsx(Ft,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):R()]}),o.jsxs(Za,{className:"custom-conf-mdl",mainMdlCls:"o-v",btnClass:"red",btnTxt:"Ok",show:c.show,close:E,action:C,title:g("Confirmation"),children:[o.jsx("div",{className:"txt-center mt-5 mb-4",children:g("Are you sure to delete this note")}),d&&o.jsx(Ft,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:45,transform:"scale(0.5)"}})]})]})}const sc=e=>e!=null&&e.payment_response?JSON.parse(e.payment_response):e!=null&&e.create_time?e:{};function dc({paymentInfo:e,payInfoFound:r}){var f,c,b,u,p,h,x,v,y,_;const t=Z(rt),n=`${t.dateFormat} ${t.timeFormat}`,a=sc(e),i="subscriber"in a,l=i?a.subscriber:a.payer,s=i?(c=(f=a==null?void 0:a.billing_info)==null?void 0:f.last_payment)==null?void 0:c.amount:(u=(b=a==null?void 0:a.purchase_units)==null?void 0:b[0])==null?void 0:u.amount,d=(v=(x=(h=(p=a==null?void 0:a.purchase_units)==null?void 0:p[0])==null?void 0:h.payments)==null?void 0:x.captures[0])==null?void 0:v.id;return o.jsx("div",{children:r.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:g("PayPal")}),o.jsxs("div",{children:[o.jsx("small",{children:ot(a.create_time,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Type")}: ${i?g("Subscription"):g("Order")}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${g("Transaction ID")}: ${d}`})}),o.jsx("h3",{children:`${(y=l==null?void 0:l.name)==null?void 0:y.given_name} ${(_=l==null?void 0:l.name)==null?void 0:_.surname}`}),o.jsx("small",{children:l.email_address}),i&&o.jsx("h4",{children:`${g("Plan ID")}: ${a.plan_id}`}),i&&o.jsxs("small",{children:[g("Next Billing Time"),":"," ",ot(a.billing_info.next_billing_time,n)]}),o.jsxs("p",{children:[g("Total Paid"),":"," ",s.value," ",s.currency_code]})]},a.id)]}):o.jsx("img",{src:Ir,alt:g("no data found"),style:{height:150,width:"100%"}})})}const cc=e=>e!=null&&e.payment_response?JSON.parse(e.payment_response):e!=null&&e.created_at?e:{};function fc({paymentInfo:e,payInfoFound:r,fldKey:t,transactionID:n}){const a=Z(rt),{formID:i}=Dt(),l=Z(Al),d=Z(Rr)[t],{payIntegID:f}=d.options,c=l.find(_=>_.id===f),b=`${a.dateFormat} ${a.timeFormat}`,[u,p]=S.useState(e),[h,x]=S.useState(!1),v=cc(u),y=v.created_at*1e3;return S.useEffect(()=>{r.current===2&&(x(!0),Ae({formID:i,transactionID:n,razorpaySettings:c},"bitforms_payment_details").then(_=>{_.success&&(p(_.data),r.current=1)}).finally(()=>{x(!1)}))},[]),o.jsxs("div",{children:[h&&o.jsx(Ft,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}),r.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:g("Razorpay")}),o.jsxs("div",{children:[o.jsx("small",{children:ot(y,b)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Status")}: ${v.status}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${g("Transaction ID")}: ${v.id}`})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Email")}: ${v.email}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Contact")}: ${v.contact}`}),o.jsx("br",{}),o.jsxs("p",{children:[g("Total Paid"),":"," ",v.amount/100," ",v.currency]})]})]}):!h&&o.jsx("img",{src:Ir,alt:g("no data found"),style:{height:150,width:"100%"}})]})}const uc=e=>e!=null&&e.payment_response?JSON.parse(e.payment_response):{};function pc({paymentInfo:e,payInfoFound:r}){const t=Z(rt),n=`${t.dateFormat} ${t.timeFormat}`,a=uc(e);return o.jsx("div",{children:r.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:g("Stripe")}),o.jsxs("div",{children:[o.jsx("small",{children:ot(a.created*1e3,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${g("Transaction ID")}: ${a.id}`})}),o.jsxs("p",{children:[g("Total Paid"),":"," ",a.amount/100," ",a.currency]})]},a.id)]}):o.jsx("img",{src:Ir,alt:g("no data found"),style:{height:150,width:"100%"}})})}const bc=e=>e!=null&&e.payment_response?JSON.parse(e.payment_response):{};function mc({paymentInfo:e,payInfoFound:r}){const t=Z(rt),n=`${t.dateFormat} ${t.timeFormat}`,a=bc(e);return o.jsx("div",{children:r.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:g("Mollie")}),o.jsxs("div",{children:[o.jsx("small",{children:ot(a.createdAt,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Status")}: ${a.status}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Payment Method")}: ${a.method}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${g("Transaction ID")}: ${a.id}`})}),o.jsxs("p",{children:[g("Total Paid"),":"," ",a.amount.value," ",a.amount.currency]})]},a.id)]}):o.jsx("img",{src:Ir,alt:g("no data found"),style:{height:150,width:"100%"}})})}function hc({formID:e,rowDtl:r}){const t=Z(Er),n=Z(rt),{isPro:a}=n,[i,l]=S.useState({}),[s,d]=S.useState(!1),c=t.filter(h=>Xn.includes(h.type)).find(h=>r[h.key])||{},b=S.useRef(0),{css:u}=Ge();S.useEffect(()=>{var h;if(a){d(!0);const x=r==null?void 0:r[c==null?void 0:c.key],v=(h=x==null?void 0:x.split(","))==null?void 0:h[0];Ae({formID:e,transactionID:v},"bitforms_payment_details").then(y=>{y.success&&y.data.length?(l(y.data[0]),b.current=1):b.current=2}).finally(()=>{d(!1)})}return()=>l({})},[r]);const p=()=>{switch(c==null?void 0:c.type){case"paypal":return o.jsx(dc,{paymentInfo:i,payInfoFound:b});case"razorpay":return o.jsx(fc,{paymentInfo:i,payInfoFound:b,fldKey:c==null?void 0:c.key,transactionID:r==null?void 0:r[c==null?void 0:c.key]});case"stripe":return o.jsx(pc,{paymentInfo:i,payInfoFound:b,fldKey:c==null?void 0:c.key,transactionID:r==null?void 0:r[c==null?void 0:c.key]});case"mollie":return o.jsx(mc,{paymentInfo:i,payInfoFound:b});default:return o.jsx("h2",{className:u({fs:14,cr:"red",mt:20,ml:10,fw:"normal"}),children:g("No Payment Info Found!")})}};return o.jsxs("div",{className:"pos-rel",children:[!a&&o.jsx("div",{className:"pro-blur mt-4 flx",children:o.jsxs("div",{className:"pro",children:[g("Available On"),o.jsx("a",{href:"https://www.bitapps.pro/bit-form",target:"_blank",rel:"noreferrer",children:o.jsxs("span",{className:"txt-pro",children:[" ",g("Premium")]})})]})}),s?o.jsx(Ft,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):p()]})}function gc({formID:e,entryID:r,integrations:t}){const n=Z(rt),a=Z(Er),i=`${n.dateFormat} ${n.timeFormat}`,[l,s]=S.useState([]),[d,f]=S.useState([]),[c,b]=S.useState([]),[u,p]=S.useState(!1);S.useEffect(()=>(p(!0),Ae({formID:e,entryID:r},"bitforms_form_log_history").then(m=>{m!==void 0&&m.success&&(s(m.data),f(m.integrations)),p(!1)}),()=>s([])),[r]);const h=m=>{var R;const $=/\${\w[^ ${}]*}/g,O=/[\]["]/g,E=((R=m.match($))==null?void 0:R[0])||m,C=E?a.find(H=>`\${${H.key}}`===E||H.key===E):"",N=C?C.adminLbl:"",L=N?m.replace($,N):"";return L?L.replace(O,""):"Field Deleted"},x=(m,$)=>(m==null?void 0:m.length)>$?`${m.substr(0,$-1)}…`:m,v=m=>{c.push(m),b([...c])},y=m=>{const $=[...c];$.splice($.indexOf(m),1),b([...$])},_=m=>{var C;const $=c.find(N=>N===m.id),O={};d.map(N=>{var R;let L=(R=t.find(H=>H.id===N.integration_id))==null?void 0:R.name;if(L)O[L]||(O[L]=[]),m.id===N.log_id&&O[L].push(N);else if(Number(N.integration_id)&&m.id===N.log_id){const H=JSON.parse(N.api_type);L=`${H.type_name} ${H.type}`,L==="ReCaptcha v3"&&(O[L]=[N])}});const E=()=>m.content===null&&m.action_type==="update"?o.jsx("p",{children:g("No field data change")}):m.content===null&&m.action_type==="create"?o.jsx("p",{children:g("Form Submitted")}):m.content.split("b::f").map(N=>o.jsxs("p",{children:[" ",o.jsx(fa,{size:"15"}),h(N)]},N));return o.jsxs("div",{children:[E(),!!((C=Object.keys(O))!=null&&C.length)&&o.jsxs(o.Fragment,{children:[!$&&m.integration&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>v(m.id),onKeyDown:()=>v(m.id),children:g("Show Integration Logs")}),$&&m.integration&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>y(m.id),onKeyDown:()=>y(m.id),children:g("Hide Integration Logs")}),$&&m.integration&&D(O)]})]})},D=m=>Object.keys(m).map($=>o.jsxs("div",{children:[o.jsx("h5",{children:`${$} - `}),o.jsx("div",{className:"m-0 ml-6",children:m[$].map(O=>{const E=JSON.parse(O.api_type);return o.jsxs("div",{className:"flx",children:[o.jsx("p",{className:"mr-2",children:`${E.type_name} ${E.type} ${O.response_type}`}),o.jsx(Bs,{value:O.response_obj,className:"field-key-cpy w-0 ml-0",readOnly:!0})]})})})]})),w=m=>{const $=c.find(E=>E===m.id),O=JSON.parse(m.content);if(m.content!==null)return o.jsxs(o.Fragment,{children:[o.jsxs("p",{children:[g("Note")," ",m.action_type==="create"&&g("Added"),m.action_type==="update"&&g("Updated"),m.action_type==="delete"&&g("Deleted"),":"]}),O.title&&o.jsx("h4",{children:O.title}),o.jsx("div",{children:o.jsx(lo,{html:$?O.content||"":x(O.content||"",20)})}),!$&&(O.content||"").length>20&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>v(m.id),onKeyDown:()=>v(m.id),children:g("Read More")}),$&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>y(m.id),onKeyDown:()=>y(m.id),children:g("Show Less")})]});if(m.content===null&&m.action_type==="update")return o.jsx("p",{children:g("Note no change")})};return o.jsx(o.Fragment,{children:u?o.jsx(Ft,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):l.map(m=>o.jsxs("div",{children:[o.jsx("br",{}),o.jsx("span",{children:ot(m.created_at,i)}),o.jsx("div",{children:m.log_type==="entry"?_(m):w(m)})]},m.id))})}var _c=S.memo(gc);function vc({rowDtl:e}){var i,l,s,d,f,c,b,u,p,h,x,v,y,_,D,w;const[r,t]=S.useState([]),[n,a]=S.useState(!1);return S.useEffect(()=>{a(!0),Ae({gclid:e==null?void 0:e.GCLID},"bitforms_get_gclid_info").then(m=>{m!==void 0&&m.success&&m.data[0]&&t(JSON.parse(m.data[0].gclid_response)),a(!1)})},[]),o.jsx(o.Fragment,{children:n?o.jsx(Ft,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):o.jsx("div",{children:o.jsx("table",{className:"btcd-row-detail-tbl",children:o.jsxs("tbody",{children:[o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Account"}),o.jsx("td",{className:"td",children:(i=r["@attributes"])==null?void 0:i.account})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Campaign ID"}),o.jsx("td",{className:"td",children:(l=r["@attributes"])==null?void 0:l.campaignID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"AdGroup Id"}),o.jsx("td",{className:"td",children:(s=r["@attributes"])==null?void 0:s.adGroupID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Id"}),o.jsx("td",{className:"td",children:(d=r["@attributes"])==null?void 0:d.adID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Keyword Id"}),o.jsx("td",{className:"td",children:(f=r["@attributes"])==null?void 0:f.keywordID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Keyword"}),o.jsx("td",{className:"td",children:(c=r["@attributes"])==null?void 0:c.CriteriaParameters})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Match type"}),o.jsx("td",{className:"td",children:(b=r["@attributes"])==null?void 0:b.KeywordMatchType})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Click type"}),o.jsx("td",{className:"td",children:(u=r["@attributes"])==null?void 0:u.clickType})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Device Type"}),o.jsx("td",{className:"td",children:(p=r["@attributes"])==null?void 0:p.device})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Search Partner Network"}),o.jsx("td",{className:"td",children:(h=r["@attributes"])==null?void 0:h.networkWithSearchPartners})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Campaign Name"}),o.jsx("td",{className:"td",children:(x=r["@attributes"])==null?void 0:x.campaign})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad group Name"}),o.jsx("td",{className:"td",children:(v=r["@attributes"])==null?void 0:v.adGroup})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Network"}),o.jsx("td",{className:"td",children:(y=r["@attributes"])==null?void 0:y.network})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Click Date"}),o.jsx("td",{className:"td",children:(_=r["@attributes"])==null?void 0:_.day})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Customer ID"}),o.jsx("td",{className:"td",children:(D=r["@attributes"])==null?void 0:D.customerID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"GCLID"}),o.jsx("td",{className:"td",children:(w=r["@attributes"])==null?void 0:w.googleClickID})]})]})})})})}function $c({entryID:e,rowDtl:r,setSnackbar:t,close:n}){const a=Z(oo),{formType:i}=Dt(),l=Z(Er),s=Z(Xa),d=l.filter(p=>Xn.includes(p.type)),{css:f}=Ge(),c=Z(rt),b=Z(Qn),u=`/form/settings/${i}/${a}/pdf-templates`;return o.jsxs(hd,{selectedTabClassName:"s-t-l-active",children:[o.jsxs(gd,{className:"flx m-0",children:[!!(d!=null&&d.length)&&o.jsx(Br,{className:"btcd-s-tab-link",children:g("Payment")}),o.jsx(Br,{className:"btcd-s-tab-link",children:g("Timeline")}),o.jsx(Br,{className:"btcd-s-tab-link",children:g("Notes")}),(c==null?void 0:c.isPro)&&o.jsx(Br,{className:"btcd-s-tab-link",children:g("PDF Downloads")}),!!(r!=null&&r.GCLID)&&o.jsx(Br,{className:"btcd-s-tab-link",children:g("Google Ads Information")})]}),!!(d!=null&&d.length)&&o.jsx(Ur,{children:o.jsx(hc,{formID:a,rowDtl:r})}),o.jsx(Ur,{children:o.jsx(_c,{formID:a,entryID:e,integrations:s})}),o.jsx(Ur,{children:o.jsx(oc,{formID:a,entryID:e,allLabels:l,setSnackbar:t,rowDtl:r})}),o.jsx(Ur,{children:o.jsxs("div",{className:f({ml:10,fs:14,mt:10}),children:[o.jsx(Ri,{to:u,children:o.jsx("button",{type:"button",className:f(At.btn),children:"Create new template"})}),b.length===0?o.jsx("div",{className:f({mt:20,cr:"red"}),children:g("No PDF templates available")}):b.map((p,h)=>o.jsxs("div",{className:f(Hi.pdfTemplateContainer),children:[o.jsxs("a",{target:"_blank",href:`${window.origin}?bitform-download-pdf=1&formID=${a}&pdftemp=${p.id}&entryId=${e}`,rel:"noreferrer",children:[o.jsx(so,{size:14}),o.jsx("span",{className:f({ml:5}),children:p==null?void 0:p.title})]}),o.jsx(Ri,{to:`${u}/${h}`,className:`pdf-edit-btn icn-btn ml-1 tooltip pos-rel ${f(Hi.editPdfButton)}`,style:{"--tooltip-txt":`'${g("Edit")}'`,fontSize:16},children:o.jsx(fa,{size:"15"})})]},p.id))]})}),!!(r!=null&&r.GCLID)&&o.jsx(Ur,{children:o.jsx(vc,{rowDtl:r})})]})}var mo=S.memo($c);const Hi={pdfTemplateContainer:{mt:20,display:"flex",alignItems:"center",gap:"5rem",width:"fit-content","&:hover .pdf-edit-btn":{opacity:1,visibility:"visible"}},editPdfButton:{opacity:0,visibility:"hidden",transition:"0.3s ease",display:"flex",alignItems:"center",justifyContent:"center"}};function yc({entryID:e,rowDtl:r,setSnackbar:t,close:n}){return o.jsx(jr,{lg:!0,show:!0,setModal:n,title:g("Related Info"),children:o.jsx(mo,{entryID:e,rowDtl:r,setSnackbar:t,close:n})})}function xc({size:e}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",children:o.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m9 6l3-3m0 0l3 3m-3-3v10m-5-3c-.932 0-1.398 0-1.765.152a2 2 0 0 0-1.083 1.083C4 11.602 4 12.068 4 13v4.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h9.607c1.118 0 1.677 0 2.104-.218c.376-.192.682-.498.874-.874c.218-.428.218-.987.218-2.105V13c0-.932 0-1.398-.152-1.765a2 2 0 0 0-1.083-1.083C18.398 10 17.932 10 17 10"})})}function ho({options:e,placeholder:r,action:t,className:n,isMultiple:a,allowCustomOpt:i,value:l,addable:s,titleClassName:d,title:f,jsonValue:c,disabled:b=!1,tip:u}){const{css:p}=Ge(),[h,x]=S.useState(l);return S.useEffect(()=>{x(""),setTimeout(()=>{x(l)},1)},[l,e,c]),o.jsxs("div",{className:d,children:[o.jsx("span",{children:f}),u?o.jsx(_d,{icnSize:14,children:u}):"",o.jsx(uo,{width:"100%",defaultValue:h,className:`${p(wc.multiselectInput)} ${n}`,onChange:t,singleSelect:!a,customValue:i||s,placeholder:r,jsonValue:c,options:e||[],disabled:b})]})}const wc={multiselectInput:{fs:14,fw:500,mt:10,"& .msl":{bd:"var(--bf-bg-white)",b:0,"&.msl-active-up":{"border-bottom-left-radius":0,"border-bottom-right-radius":0,"border-top-left-radius":"8px","border-top-right-radius":"8px",background:"#fff !important"},"& .msl-input":{p:3,cr:"#2c3338"}},"& .msl-active-up~.msl-options":{"max-height":"300px","-webkit-clip-path":"inset(0px -10px 0 -10px)","clip-path":"inset(0px -10px 0 -10px)"},"&.msl-vars":{w:"99% !important","--font-size":"12px","--border-radius":"var(--bf-bdr-radius-sm)"},"&.msl-wrp > .msl-options":{pn:"absolute !important","border-top-left-radius":0,"border-top-right-radius":0,"& div > .msl-option":{p:"4px 4px",brs:"var(--bf-bdr-radius-sm)"}},"& > .msl-wrp > .msl-active-up":{brs:"var(--bf-bdr-radius-sm)",bblr:"0 !important",bbrr:"0 !important"},b:"1px solid #e6e6e6 !important","::placeholder":{cr:"hsl(215deg 16% 57%)",fs:12},":focus":{bs:"0 0 0 1px var(--b-50) !important",bcr:"var(--b-50)!important"}}};function kc({showExportMdl:e,close:r,cols:t,formID:n,report:a}){const[i,l]=S.useState({show:!1}),[s,d]=S.useState(!1),{css:f}=Ge(),[c,b]=S.useState({fileFormate:"csv",sort:"ASC",sortField:"bitforms_form_entry_id",limit:null,custom:"all",formId:n,filter:"All Entries",selectedField:""}),[u,p]=S.useState([]),h=S.useRef(),{order:x,hidden:v}=S.useMemo(()=>{var $,O,E,C;return{order:a?(O=($=a[a.length-1])==null?void 0:$.details)==null?void 0:O.order:["bf3-1-"],hidden:a?(C=(E=a[a.length-1])==null?void 0:E.details)==null?void 0:C.hiddenColumns:[]}},[a]),y=S.useMemo(()=>t.filter($=>$.Header!=="#"&&typeof $.Header!="object"),[t]),_=S.useMemo(()=>{const $=[];let O=0;return y.map(E=>{v!=null&&v.includes(E.accessor)||($[O]={key:E.accessor,val:E.Header},O+=1)}),$},[y,v]);S.useEffect(()=>{var E;const $=((E=a.find(C=>C.details.report_name===c.filter))==null?void 0:E.details.hiddenColumns)||[],O=y.filter(C=>!($!=null&&$.includes(C.accessor))).map(C=>({label:C.Header,value:C.accessor}));p(O),h.current=JSON.stringify(O.map(C=>C.value))},[a,t,c.filter]);const D=$=>{h.current=$.split(",");const O=y.filter(E=>$.split(",").includes(E.accessor)).map(E=>({label:E.Header,value:E.accessor}));p(O)},w=$=>ct(this,null,function*(){var C,N;$.preventDefault();const O=G({},c),E=a.find(L=>L.details.report_name===c.filter);if(O.filter=E?E.details.conditions||[]:[],O.selectedField=JSON.stringify(u.map(L=>L.value)),u.length<1)return l({show:!0,msg:g("Please select at least one column")});d(!0);try{const L=yield Ae({data:O},"bitforms_filter_export_data");if(L!==void 0&&L.success&&((C=L.data)==null?void 0:C.count)!==0){const R=yield en(()=>import("./bf-109-109.js"),[],import.meta.url),H=["Entry ID",...u.map(de=>de.label)],te=R.utils.json_to_sheet(L.data),re=R.utils.book_new();R.utils.sheet_add_aoa(te,[H]),R.utils.book_append_sheet(re,te),R.writeFile(re,`bitform ${n}.${O==null?void 0:O.fileFormate}`)}else L!==void 0&&L.success&&((N=L.data)==null?void 0:N.count)===0&&l({show:!0,msg:g("no response found")})}finally{d(!1)}}),m=($,O)=>{b(E=>Ye(G({},E),{[$]:typeof O=="number"?Number(O):O}))};return o.jsxs("div",{children:[o.jsx(ei,{snack:i,setSnackbar:l}),o.jsx(jr,{md:!0,show:e,setModal:r,title:"Export Data",style:{overflow:"auto"},children:o.jsxs("div",{children:[o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("How many rows to export")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"custom",style:{width:250},onChange:$=>m($.target.name,$.target.value),value:c.custom||"",children:[o.jsx("option",{disabled:!0,value:"0",children:"Choose option"}),o.jsx("option",{value:"all",children:"All"}),o.jsx("option",{value:"custom",children:"Custom"})]})]}),c.custom==="custom"&&o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Enter row number")}),o.jsx("input",{"aria-label":"Export Row Number",type:"text",style:{width:250},name:"limit",onChange:$=>m($.target.name,$.target.value),className:"btcd-paper-inp mt-2",placeholder:"Export Row Number",value:c.limit||""})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Select filter")}),o.jsx("select",{className:"btcd-paper-inp ml-2",name:"filter",style:{width:250},onChange:$=>m($.target.name,$.target.value),value:c.filter,children:a==null?void 0:a.map($=>o.jsx("option",{value:$.details.report_name,children:$.details.report_name},$.id))})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Select columns")}),o.jsx("div",{className:"w-4 ",style:{paddingRight:"14px"},children:o.jsx(ho,{placeholder:"Select column",className:f({"&.msl-wrp":{margin:"0 0 0 10px!important",transition:"all 0.2s ease!important","&:hover":{borderColor:"black!important"}},"&.msl-wrp > .msl":{"background-color":"#fff!important"}}),isMultiple:!0,action:D,options:y.map($=>({label:$.Header,value:$.accessor})),value:u})})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Sort Order")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"sort",style:{width:250},value:c.sort||"ASC",onChange:$=>m($.target.name,$.target.value),children:[o.jsx("option",{value:"ASC",children:"Ascending"}),o.jsx("option",{value:"DESC",children:"Descending"})]})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Sort by")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"sortField",value:c.sortField||"bitforms_form_entry_id",onChange:$=>m($.target.name,$.target.value),style:{width:250},children:[o.jsx("option",{value:"bitforms_form_entry_id",children:"ID"}),_.map($=>o.jsx("option",{value:$.key,children:$.val},$.key))]})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Export File Format")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"fileFormate",value:c.fileFormate||"csv",style:{width:250},onChange:$=>m($.target.name,$.target.value),children:[o.jsx("option",{value:"csv",children:"CSV"}),o.jsx("option",{value:"xlsx",children:"Xlsx"}),o.jsx("option",{value:"xls",children:"Xls"}),o.jsx("option",{value:"fods",children:"Fods"}),o.jsx("option",{value:"ods",children:"Ods"}),o.jsx("option",{value:"prn",children:"Prn"}),o.jsx("option",{value:"txt",children:"Text"}),o.jsx("option",{value:"html",children:"Html"}),o.jsx("option",{value:"eth",children:"Eth"})]})]}),o.jsxs(St,{onClick:$=>w($),disabled:s,className:f(kt.mt1),size:"sm",children:[g("Export"),s&&o.jsx(Mr,{size:20,clr:"#fff",className:"ml-2"})]})]})})]})}function Sc({formID:e,cols:r,report:t}){const[n,a]=S.useState(!1),{css:i}=Ge(),l=()=>{a(!0)};return o.jsxs("div",{children:[o.jsx(kc,{showExportMdl:n,close:a,formID:e,cols:r,report:t}),o.jsx(Pr,{msg:g("Export Form Data"),children:o.jsx("button",{onClick:l,className:i(oa.tableActionBtn),type:"button",children:o.jsx(xc,{size:"18"})})})]})}function Ma(e){return o.jsxs("div",{className:"btcd-t-link flx mr-2 prevent-drawer",children:[o.jsx("div",{className:"tooltip",style:{"--tooltip-txt":`"${e.fname}"`,width:`${e.width?e.width:"80"}px`},children:o.jsxs("a",{href:`${e.link}`,rel:"noopener noreferrer",target:"_blank",className:"prevent-drawer",children:[o.jsx(Us,{size:"30"})," ",e.fname]})}),o.jsx("a",{title:"Download",target:"_blank",href:`${e.link}&download`,download:!0,rel:"noopener noreferrer","aria-label":"Download",className:"icn-btn icn-btn-sm flx prevent-drawer",children:o.jsx(so,{size:"15"})})]})}function Dc(e){const{formID:r}=Dt(),t=Z(rt),n=Z(Rr),{title:a,rptData:i,entryId:l}=e,s=co(i)?JSON.parse(i):[],c=[...s.reduce((p,h)=>(Object.keys(h||{}).forEach(x=>p.add(x)),p),new Set)].filter(p=>{var h,x;return!["divider","spacer","image","title"].includes((h=n[p])==null?void 0:h.typ)&&!((x=n[p])!=null&&x.parentFieldKey)}).map(p=>{var x;const h=n[p]||{};return G({Header:h.adminLbl||h.lbl||h.fieldName||p,accessor:p,fieldType:h.typ,minWidth:50},((x=h.typ)==null?void 0:x.match(/^(file-up|check|select|image-select|signature|name|address)$/))&&{Cell:v=>{if(v.cell.value!==null&&v.cell.value!==void 0&&v.cell.value!==""){if(h.typ==="file-up")return o.jsx(o.Fragment,{children:Tn(v.cell.value).map((y,_)=>o.jsx(Ma,{fname:y,link:`${t.baseDLURL}formID=${r}&entryID=${l}&fileID=${y}`},`file-n-${v.cell.row.index+_}`))});if(h.typ==="signature")return o.jsx(Ma,{fname:v.cell.value,link:`${t.baseDLURL}formID=${r}&entryID=${l}&fileID=${v.cell.value}`});if(h.typ==="check"||h.typ==="select"||h.typ==="image-select")try{if(Array.isArray(v.cell.value))return v.cell.value.join(", ");const y=typeof v.cell.value=="string"&&v.cell.value.length>0&&v.cell.value[0]==="["?JSON.parse(v.cell.value):v.cell.value!==void 0&&v.cell.value.split(",");return y.map((_,D)=>D<y.length-1?`${_},`:_)}catch(y){return v.cell.value}return h.typ==="name"||h.typ==="address"?Pn(v.cell.value,h.typ==="address"?", ":" "):v.cell.value}return null}})})||[],b=!1,u=s.length;return o.jsx(jr,{lg:!0,show:!0,setModal:e.close,title:g(`${a} Data List`),children:o.jsx(fo,{className:"f-table btcd-entries-f",height:"76vh",columns:c,data:s,loading:b,countEntries:u,resizable:!0})})}var go={},pa={},ba={},qt={},_o={exports:{}};/*! |
| 7 |
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,l=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var f=t.next();return l=f.done,f},e:function(f){s=!0,i=f},f:function(){try{l||t.return==null||t.return()}finally{if(s)throw i}}}}function op(e,r){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e}function xe(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&Ys(e,r)}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function Ho(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(Ho=function(){return!!e})()}function sp(e,r){if(r&&(gt(r)=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return V(e)}function we(e){var r=Ho();return function(){var t,n=Aa(e);if(r){var a=Aa(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return sp(this,t)}}function ve(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function dp(e,r){if(gt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r||"default");if(gt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Bo(e){var r=dp(e,"string");return gt(r)=="symbol"?r:r+""}function al(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Bo(n.key),n)}}function $e(e,r,t){return r&&al(e.prototype,r),t&&al(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function U(e,r,t){return(r=Bo(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var cp=10,Uo=function(){function e(){ve(this,e),U(this,"priority",void 0),U(this,"subPriority",0)}return $e(e,[{key:"validate",value:function(t,n){return!0}}]),e}(),fp=function(e){xe(t,e);var r=we(t);function t(n,a,i,l,s){var d;return ve(this,t),d=r.call(this),d.value=n,d.validateValue=a,d.setValue=i,d.priority=l,s&&(d.subPriority=s),d}return $e(t,[{key:"validate",value:function(a,i){return this.validateValue(a,this.value,i)}},{key:"set",value:function(a,i,l){return this.setValue(a,i,this.value,l)}}]),t}(Uo),up=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",cp),U(V(n),"subPriority",-1),n}return $e(t,[{key:"set",value:function(a,i){if(i.timestampIsSet)return a;var l=new Date(0);return l.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),l.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),l}}]),t}(Uo),Se=function(){function e(){ve(this,e),U(this,"incompatibleTokens",void 0),U(this,"priority",void 0),U(this,"subPriority",void 0)}return $e(e,[{key:"run",value:function(t,n,a,i){var l=this.parse(t,n,a,i);return l?{setter:new fp(l.value,this.validate,this.set,this.priority,this.subPriority),rest:l.rest}:null}},{key:"validate",value:function(t,n,a){return!0}}]),e}(),pp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",140),U(V(n),"incompatibleTokens",["R","u","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"G":case"GG":case"GGG":return l.era(a,{width:"abbreviated"})||l.era(a,{width:"narrow"});case"GGGGG":return l.era(a,{width:"narrow"});case"GGGG":default:return l.era(a,{width:"wide"})||l.era(a,{width:"abbreviated"})||l.era(a,{width:"narrow"})}}},{key:"set",value:function(a,i,l){return i.era=l,a.setUTCFullYear(l,0,1),a.setUTCHours(0,0,0,0),a}}]),t}(Se),bp=6e4,mp=36e5,hp=1e3,He={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},xt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Be(e,r){return e&&{value:r(e.value),rest:e.rest}}function Ee(e,r){var t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function wt(e,r){var t=r.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:r.slice(1)};var n=t[1]==="+"?1:-1,a=t[2]?parseInt(t[2],10):0,i=t[3]?parseInt(t[3],10):0,l=t[5]?parseInt(t[5],10):0;return{value:n*(a*mp+i*bp+l*hp),rest:r.slice(t[0].length)}}function Yo(e){return Ee(He.anyDigitsSigned,e)}function qe(e,r){switch(e){case 1:return Ee(He.singleDigit,r);case 2:return Ee(He.twoDigits,r);case 3:return Ee(He.threeDigits,r);case 4:return Ee(He.fourDigits,r);default:return Ee(new RegExp("^\\d{1,"+e+"}"),r)}}function Fa(e,r){switch(e){case 1:return Ee(He.singleDigitSigned,r);case 2:return Ee(He.twoDigitsSigned,r);case 3:return Ee(He.threeDigitsSigned,r);case 4:return Ee(He.fourDigitsSigned,r);default:return Ee(new RegExp("^-?\\d{1,"+e+"}"),r)}}function pi(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Go(e,r){var t=r>0,n=t?r:1-r,a;if(n<=50)a=e||100;else{var i=n+50,l=Math.floor(i/100)*100,s=e>=i%100;a=e+l-(s?100:0)}return t?a:1-a}function Vo(e){return e%400===0||e%4===0&&e%100!==0}var gp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",130),U(V(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){var s=function(f){return{year:f,isTwoDigitYear:i==="yy"}};switch(i){case"y":return Be(qe(4,a),s);case"yo":return Be(l.ordinalNumber(a,{unit:"year"}),s);default:return Be(qe(i.length,a),s)}}},{key:"validate",value:function(a,i){return i.isTwoDigitYear||i.year>0}},{key:"set",value:function(a,i,l){var s=a.getUTCFullYear();if(l.isTwoDigitYear){var d=Go(l.year,s);return a.setUTCFullYear(d,0,1),a.setUTCHours(0,0,0,0),a}var f=!("era"in i)||i.era===1?l.year:1-l.year;return a.setUTCFullYear(f,0,1),a.setUTCHours(0,0,0,0),a}}]),t}(Se),_p=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",130),U(V(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){var s=function(f){return{year:f,isTwoDigitYear:i==="YY"}};switch(i){case"Y":return Be(qe(4,a),s);case"Yo":return Be(l.ordinalNumber(a,{unit:"year"}),s);default:return Be(qe(i.length,a),s)}}},{key:"validate",value:function(a,i){return i.isTwoDigitYear||i.year>0}},{key:"set",value:function(a,i,l,s){var d=ii(a,s);if(l.isTwoDigitYear){var f=Go(l.year,d);return a.setUTCFullYear(f,0,s.firstWeekContainsDate),a.setUTCHours(0,0,0,0),mr(a,s)}var c=!("era"in i)||i.era===1?l.year:1-l.year;return a.setUTCFullYear(c,0,s.firstWeekContainsDate),a.setUTCHours(0,0,0,0),mr(a,s)}}]),t}(Se),vp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",130),U(V(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i){return Fa(i==="R"?4:i.length,a)}},{key:"set",value:function(a,i,l){var s=new Date(0);return s.setUTCFullYear(l,0,4),s.setUTCHours(0,0,0,0),Nr(s)}}]),t}(Se),$p=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",130),U(V(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i){return Fa(i==="u"?4:i.length,a)}},{key:"set",value:function(a,i,l){return a.setUTCFullYear(l,0,1),a.setUTCHours(0,0,0,0),a}}]),t}(Se),yp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",120),U(V(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"Q":case"QQ":return qe(i.length,a);case"Qo":return l.ordinalNumber(a,{unit:"quarter"});case"QQQ":return l.quarter(a,{width:"abbreviated",context:"formatting"})||l.quarter(a,{width:"narrow",context:"formatting"});case"QQQQQ":return l.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return l.quarter(a,{width:"wide",context:"formatting"})||l.quarter(a,{width:"abbreviated",context:"formatting"})||l.quarter(a,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(a,i){return i>=1&&i<=4}},{key:"set",value:function(a,i,l){return a.setUTCMonth((l-1)*3,1),a.setUTCHours(0,0,0,0),a}}]),t}(Se),xp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",120),U(V(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"q":case"qq":return qe(i.length,a);case"qo":return l.ordinalNumber(a,{unit:"quarter"});case"qqq":return l.quarter(a,{width:"abbreviated",context:"standalone"})||l.quarter(a,{width:"narrow",context:"standalone"});case"qqqqq":return l.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return l.quarter(a,{width:"wide",context:"standalone"})||l.quarter(a,{width:"abbreviated",context:"standalone"})||l.quarter(a,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(a,i){return i>=1&&i<=4}},{key:"set",value:function(a,i,l){return a.setUTCMonth((l-1)*3,1),a.setUTCHours(0,0,0,0),a}}]),t}(Se),wp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),U(V(n),"priority",110),n}return $e(t,[{key:"parse",value:function(a,i,l){var s=function(f){return f-1};switch(i){case"M":return Be(Ee(He.month,a),s);case"MM":return Be(qe(2,a),s);case"Mo":return Be(l.ordinalNumber(a,{unit:"month"}),s);case"MMM":return l.month(a,{width:"abbreviated",context:"formatting"})||l.month(a,{width:"narrow",context:"formatting"});case"MMMMM":return l.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return l.month(a,{width:"wide",context:"formatting"})||l.month(a,{width:"abbreviated",context:"formatting"})||l.month(a,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=11}},{key:"set",value:function(a,i,l){return a.setUTCMonth(l,1),a.setUTCHours(0,0,0,0),a}}]),t}(Se),kp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",110),U(V(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){var s=function(f){return f-1};switch(i){case"L":return Be(Ee(He.month,a),s);case"LL":return Be(qe(2,a),s);case"Lo":return Be(l.ordinalNumber(a,{unit:"month"}),s);case"LLL":return l.month(a,{width:"abbreviated",context:"standalone"})||l.month(a,{width:"narrow",context:"standalone"});case"LLLLL":return l.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return l.month(a,{width:"wide",context:"standalone"})||l.month(a,{width:"abbreviated",context:"standalone"})||l.month(a,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=11}},{key:"set",value:function(a,i,l){return a.setUTCMonth(l,1),a.setUTCHours(0,0,0,0),a}}]),t}(Se);function Sp(e,r,t){le(2,arguments);var n=ae(e),a=Fe(r),i=ko(n,t)-a;return n.setUTCDate(n.getUTCDate()-i*7),n}var Dp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",100),U(V(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"w":return Ee(He.week,a);case"wo":return l.ordinalNumber(a,{unit:"week"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){return i>=1&&i<=53}},{key:"set",value:function(a,i,l,s){return mr(Sp(a,l,s),s)}}]),t}(Se);function Cp(e,r){le(2,arguments);var t=ae(e),n=Fe(r),a=wo(t)-n;return t.setUTCDate(t.getUTCDate()-a*7),t}var Op=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",100),U(V(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"I":return Ee(He.week,a);case"Io":return l.ordinalNumber(a,{unit:"week"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){return i>=1&&i<=53}},{key:"set",value:function(a,i,l){return Nr(Cp(a,l))}}]),t}(Se),Tp=[31,28,31,30,31,30,31,31,30,31,30,31],Pp=[31,29,31,30,31,30,31,31,30,31,30,31],jp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",90),U(V(n),"subPriority",1),U(V(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"d":return Ee(He.date,a);case"do":return l.ordinalNumber(a,{unit:"date"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){var l=a.getUTCFullYear(),s=Vo(l),d=a.getUTCMonth();return s?i>=1&&i<=Pp[d]:i>=1&&i<=Tp[d]}},{key:"set",value:function(a,i,l){return a.setUTCDate(l),a.setUTCHours(0,0,0,0),a}}]),t}(Se),Np=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",90),U(V(n),"subpriority",1),U(V(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"D":case"DD":return Ee(He.dayOfYear,a);case"Do":return l.ordinalNumber(a,{unit:"date"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){var l=a.getUTCFullYear(),s=Vo(l);return s?i>=1&&i<=366:i>=1&&i<=365}},{key:"set",value:function(a,i,l){return a.setUTCMonth(0,l),a.setUTCHours(0,0,0,0),a}}]),t}(Se);function bi(e,r,t){var n,a,i,l,s,d,f,c;le(2,arguments);var b=er(),u=Fe((n=(a=(i=(l=t==null?void 0:t.weekStartsOn)!==null&&l!==void 0?l:t==null||(s=t.locale)===null||s===void 0||(d=s.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&i!==void 0?i:b.weekStartsOn)!==null&&a!==void 0?a:(f=b.locale)===null||f===void 0||(c=f.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=ae(e),h=Fe(r),x=p.getUTCDay(),v=h%7,y=(v+7)%7,_=(y<u?7:0)+h-x;return p.setUTCDate(p.getUTCDate()+_),p}var Mp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",90),U(V(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"E":case"EE":case"EEE":return l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"});case"EEEEE":return l.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"});case"EEEE":default:return l.day(a,{width:"wide",context:"formatting"})||l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=6}},{key:"set",value:function(a,i,l,s){return a=bi(a,l,s),a.setUTCHours(0,0,0,0),a}}]),t}(Se),Rp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",90),U(V(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l,s){var d=function(c){var b=Math.floor((c-1)/7)*7;return(c+s.weekStartsOn+6)%7+b};switch(i){case"e":case"ee":return Be(qe(i.length,a),d);case"eo":return Be(l.ordinalNumber(a,{unit:"day"}),d);case"eee":return l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"});case"eeeee":return l.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"});case"eeee":default:return l.day(a,{width:"wide",context:"formatting"})||l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=6}},{key:"set",value:function(a,i,l,s){return a=bi(a,l,s),a.setUTCHours(0,0,0,0),a}}]),t}(Se),Ep=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",90),U(V(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l,s){var d=function(c){var b=Math.floor((c-1)/7)*7;return(c+s.weekStartsOn+6)%7+b};switch(i){case"c":case"cc":return Be(qe(i.length,a),d);case"co":return Be(l.ordinalNumber(a,{unit:"day"}),d);case"ccc":return l.day(a,{width:"abbreviated",context:"standalone"})||l.day(a,{width:"short",context:"standalone"})||l.day(a,{width:"narrow",context:"standalone"});case"ccccc":return l.day(a,{width:"narrow",context:"standalone"});case"cccccc":return l.day(a,{width:"short",context:"standalone"})||l.day(a,{width:"narrow",context:"standalone"});case"cccc":default:return l.day(a,{width:"wide",context:"standalone"})||l.day(a,{width:"abbreviated",context:"standalone"})||l.day(a,{width:"short",context:"standalone"})||l.day(a,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=6}},{key:"set",value:function(a,i,l,s){return a=bi(a,l,s),a.setUTCHours(0,0,0,0),a}}]),t}(Se);function Ip(e,r){le(2,arguments);var t=Fe(r);t%7===0&&(t=t-7);var n=1,a=ae(e),i=a.getUTCDay(),l=t%7,s=(l+7)%7,d=(s<n?7:0)+t-i;return a.setUTCDate(a.getUTCDate()+d),a}var Lp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",90),U(V(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){var s=function(f){return f===0?7:f};switch(i){case"i":case"ii":return qe(i.length,a);case"io":return l.ordinalNumber(a,{unit:"day"});case"iii":return Be(l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"}),s);case"iiiii":return Be(l.day(a,{width:"narrow",context:"formatting"}),s);case"iiiiii":return Be(l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"}),s);case"iiii":default:return Be(l.day(a,{width:"wide",context:"formatting"})||l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(a,i){return i>=1&&i<=7}},{key:"set",value:function(a,i,l){return a=Ip(a,l),a.setUTCHours(0,0,0,0),a}}]),t}(Se),Ap=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",80),U(V(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"a":case"aa":case"aaa":return l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaaa":return l.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return l.dayPeriod(a,{width:"wide",context:"formatting"})||l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(a,i,l){return a.setUTCHours(pi(l),0,0,0),a}}]),t}(Se),Fp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",80),U(V(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"b":case"bb":case"bbb":return l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbbb":return l.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return l.dayPeriod(a,{width:"wide",context:"formatting"})||l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(a,i,l){return a.setUTCHours(pi(l),0,0,0),a}}]),t}(Se),qp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",80),U(V(n),"incompatibleTokens",["a","b","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"B":case"BB":case"BBB":return l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBBB":return l.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return l.dayPeriod(a,{width:"wide",context:"formatting"})||l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(a,i,l){return a.setUTCHours(pi(l),0,0,0),a}}]),t}(Se),Wp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",70),U(V(n),"incompatibleTokens",["H","K","k","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"h":return Ee(He.hour12h,a);case"ho":return l.ordinalNumber(a,{unit:"hour"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){return i>=1&&i<=12}},{key:"set",value:function(a,i,l){var s=a.getUTCHours()>=12;return s&&l<12?a.setUTCHours(l+12,0,0,0):!s&&l===12?a.setUTCHours(0,0,0,0):a.setUTCHours(l,0,0,0),a}}]),t}(Se),zp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",70),U(V(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"H":return Ee(He.hour23h,a);case"Ho":return l.ordinalNumber(a,{unit:"hour"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){return i>=0&&i<=23}},{key:"set",value:function(a,i,l){return a.setUTCHours(l,0,0,0),a}}]),t}(Se),Hp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",70),U(V(n),"incompatibleTokens",["h","H","k","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"K":return Ee(He.hour11h,a);case"Ko":return l.ordinalNumber(a,{unit:"hour"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){return i>=0&&i<=11}},{key:"set",value:function(a,i,l){var s=a.getUTCHours()>=12;return s&&l<12?a.setUTCHours(l+12,0,0,0):a.setUTCHours(l,0,0,0),a}}]),t}(Se),Bp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",70),U(V(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"k":return Ee(He.hour24h,a);case"ko":return l.ordinalNumber(a,{unit:"hour"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){return i>=1&&i<=24}},{key:"set",value:function(a,i,l){var s=l<=24?l%24:l;return a.setUTCHours(s,0,0,0),a}}]),t}(Se),Up=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",60),U(V(n),"incompatibleTokens",["t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"m":return Ee(He.minute,a);case"mo":return l.ordinalNumber(a,{unit:"minute"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){return i>=0&&i<=59}},{key:"set",value:function(a,i,l){return a.setUTCMinutes(l,0,0),a}}]),t}(Se),Yp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",50),U(V(n),"incompatibleTokens",["t","T"]),n}return $e(t,[{key:"parse",value:function(a,i,l){switch(i){case"s":return Ee(He.second,a);case"so":return l.ordinalNumber(a,{unit:"second"});default:return qe(i.length,a)}}},{key:"validate",value:function(a,i){return i>=0&&i<=59}},{key:"set",value:function(a,i,l){return a.setUTCSeconds(l,0),a}}]),t}(Se),Gp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",30),U(V(n),"incompatibleTokens",["t","T"]),n}return $e(t,[{key:"parse",value:function(a,i){var l=function(d){return Math.floor(d*Math.pow(10,-i.length+3))};return Be(qe(i.length,a),l)}},{key:"set",value:function(a,i,l){return a.setUTCMilliseconds(l),a}}]),t}(Se),Vp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",10),U(V(n),"incompatibleTokens",["t","T","x"]),n}return $e(t,[{key:"parse",value:function(a,i){switch(i){case"X":return wt(xt.basicOptionalMinutes,a);case"XX":return wt(xt.basic,a);case"XXXX":return wt(xt.basicOptionalSeconds,a);case"XXXXX":return wt(xt.extendedOptionalSeconds,a);case"XXX":default:return wt(xt.extended,a)}}},{key:"set",value:function(a,i,l){return i.timestampIsSet?a:new Date(a.getTime()-l)}}]),t}(Se),Kp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",10),U(V(n),"incompatibleTokens",["t","T","X"]),n}return $e(t,[{key:"parse",value:function(a,i){switch(i){case"x":return wt(xt.basicOptionalMinutes,a);case"xx":return wt(xt.basic,a);case"xxxx":return wt(xt.basicOptionalSeconds,a);case"xxxxx":return wt(xt.extendedOptionalSeconds,a);case"xxx":default:return wt(xt.extended,a)}}},{key:"set",value:function(a,i,l){return i.timestampIsSet?a:new Date(a.getTime()-l)}}]),t}(Se),Qp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",40),U(V(n),"incompatibleTokens","*"),n}return $e(t,[{key:"parse",value:function(a){return Yo(a)}},{key:"set",value:function(a,i,l){return[new Date(l*1e3),{timestampIsSet:!0}]}}]),t}(Se),Jp=function(e){xe(t,e);var r=we(t);function t(){var n;ve(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),U(V(n),"priority",20),U(V(n),"incompatibleTokens","*"),n}return $e(t,[{key:"parse",value:function(a){return Yo(a)}},{key:"set",value:function(a,i,l){return[new Date(l),{timestampIsSet:!0}]}}]),t}(Se),Xp={G:new pp,y:new gp,Y:new _p,R:new vp,u:new $p,Q:new yp,q:new xp,M:new wp,L:new kp,w:new Dp,I:new Op,d:new jp,D:new Np,E:new Mp,e:new Rp,c:new Ep,i:new Lp,a:new Ap,b:new Fp,B:new qp,h:new Wp,H:new zp,K:new Hp,k:new Bp,m:new Up,s:new Yp,S:new Gp,X:new Vp,x:new Kp,t:new Qp,T:new Jp},Zp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eb=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,tb=/^'([^]*?)'?$/,rb=/''/g,ab=/\S/,nb=/[a-zA-Z]/;function ib(e,r,t,n){var a,i,l,s,d,f,c,b,u,p,h,x,v,y,_,D,w,m;le(3,arguments);var $=String(e),O=String(r),E=er(),C=(a=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:E.locale)!==null&&a!==void 0?a:li;if(!C.match)throw new RangeError("locale must contain match property");var N=Fe((l=(s=(d=(f=n==null?void 0:n.firstWeekContainsDate)!==null&&f!==void 0?f:n==null||(c=n.locale)===null||c===void 0||(b=c.options)===null||b===void 0?void 0:b.firstWeekContainsDate)!==null&&d!==void 0?d:E.firstWeekContainsDate)!==null&&s!==void 0?s:(u=E.locale)===null||u===void 0||(p=u.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&l!==void 0?l:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=Fe((h=(x=(v=(y=n==null?void 0:n.weekStartsOn)!==null&&y!==void 0?y:n==null||(_=n.locale)===null||_===void 0||(D=_.options)===null||D===void 0?void 0:D.weekStartsOn)!==null&&v!==void 0?v:E.weekStartsOn)!==null&&x!==void 0?x:(w=E.locale)===null||w===void 0||(m=w.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&h!==void 0?h:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(O==="")return $===""?ae(t):new Date(NaN);var R={firstWeekContainsDate:N,weekStartsOn:L,locale:C},H=[new up],te=O.match(eb).map(function(F){var I=F[0];if(I in jn){var Q=jn[I];return Q(F,C.formatLong)}return F}).join("").match(Zp),re=[],de=rl(te),ke;try{var We=function(){var I=ke.value;!(n!=null&&n.useAdditionalWeekYearTokens)&&Co(I)&&Ea(I,O,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Do(I)&&Ea(I,O,e);var Q=I[0],ie=Xp[Q];if(ie){var ce=ie.incompatibleTokens;if(Array.isArray(ce)){var se=re.find(function(Te){return ce.includes(Te.token)||Te.token===Q});if(se)throw new RangeError("The format string mustn't contain `".concat(se.fullToken,"` and `").concat(I,"` at the same time"))}else if(ie.incompatibleTokens==="*"&&re.length>0)throw new RangeError("The format string mustn't contain `".concat(I,"` and any other token at the same time"));re.push({token:Q,fullToken:I});var fe=ie.run($,I,C.match,R);if(!fe)return{v:new Date(NaN)};H.push(fe.setter),$=fe.rest}else{if(Q.match(nb))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Q+"`");if(I==="''"?I="'":Q==="'"&&(I=lb(I)),$.indexOf(I)===0)$=$.slice(I.length);else return{v:new Date(NaN)}}};for(de.s();!(ke=de.n()).done;){var Ue=We();if(gt(Ue)==="object")return Ue.v}}catch(F){de.e(F)}finally{de.f()}if($.length>0&&ab.test($))return new Date(NaN);var be=H.map(function(F){return F.priority}).sort(function(F,I){return I-F}).filter(function(F,I,Q){return Q.indexOf(F)===I}).map(function(F){return H.filter(function(I){return I.priority===F}).sort(function(I,Q){return Q.subPriority-I.subPriority})}).map(function(F){return F[0]}),J=ae(t);if(isNaN(J.getTime()))return new Date(NaN);var z=yo(J,Ra(J)),P={},T=rl(be),k;try{for(T.s();!(k=T.n()).done;){var A=k.value;if(!A.validate(z,R))return new Date(NaN);var q=A.set(z,P,R);Array.isArray(q)?(z=q[0],op(P,q[1])):z=q}}catch(F){T.e(F)}finally{T.f()}return z}function lb(e){return e.match(tb)[1].replace(rb,"'")}var ob=Object.freeze({__proto__:null,default:ib}),sb=De(ob);function ea(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ea=function(t){return typeof t}:ea=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ea(e)}Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var Da=pb(S),yt=Lr(Wt),db=Lr(hr),cb=Lr(np),nl=Lr(ip),fb=Lr(sb),ub=Lr(an);function Lr(e){return e&&e.__esModule?e:{default:e}}function Ko(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(Ko=function(a){return a?t:r})(e)}function pb(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||ea(e)!=="object"&&typeof e!="function")return{default:e};var t=Ko(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function bb(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function il(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mb(e,r,t){return r&&il(e.prototype,r),t&&il(e,t),e}function hb(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Ln(e,r)}function Ln(e,r){return Ln=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Ln(e,r)}function gb(e){var r=vb();return function(){var n=qa(e),a;if(r){var i=qa(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return _b(this,a)}}function _b(e,r){return r&&(ea(r)==="object"||typeof r=="function")?r:ja(e)}function ja(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},qa(e)}function yn(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var mi=function(e){hb(t,e);var r=gb(t);function t(n,a){var i;return bb(this,t),i=r.call(this,n,a),yn(ja(i),"onKeyDown",function(l){var s=i.state.value;l.key==="Enter"&&i.update(s)}),yn(ja(i),"onChange",function(l){i.setState({value:l.target.value,changed:!0,invalid:!1})}),yn(ja(i),"onBlur",function(){var l=i.state.value;i.update(l)}),i.state={invalid:!1,changed:!1,value:i.formatDate(n)},i}return mb(t,[{key:"componentDidUpdate",value:function(a){var i=a.value;(0,cb.default)(i,this.props.value)||this.setState({value:this.formatDate(this.props)})}},{key:"formatDate",value:function(a){var i=a.value,l=a.dateDisplayFormat,s=a.dateOptions;return i&&(0,nl.default)(i)?(0,ub.default)(i,l,s):""}},{key:"update",value:function(a){var i=this.state,l=i.invalid,s=i.changed;if(!(l||!s||!a)){var d=this.props,f=d.onChange,c=d.dateDisplayFormat,b=d.dateOptions,u=(0,fb.default)(a,c,new Date,b);(0,nl.default)(u)?this.setState({changed:!1},function(){return f(u)}):this.setState({invalid:!0})}}},{key:"render",value:function(){var a=this.props,i=a.className,l=a.readOnly,s=a.placeholder,d=a.ariaLabel,f=a.disabled,c=a.onFocus,b=this.state,u=b.value,p=b.invalid;return Da.default.createElement("span",{className:(0,db.default)("rdrDateInput",i)},Da.default.createElement("input",{readOnly:l,disabled:f,value:u,placeholder:s,"aria-label":d,onKeyDown:this.onKeyDown,onChange:this.onChange,onBlur:this.onBlur,onFocus:c}),p&&Da.default.createElement("span",{className:"rdrWarning"},"⚠"))}}]),t}(Da.PureComponent);mi.propTypes={value:yt.default.object,placeholder:yt.default.string,disabled:yt.default.bool,readOnly:yt.default.bool,dateOptions:yt.default.object,dateDisplayFormat:yt.default.string,ariaLabel:yt.default.string,className:yt.default.string,onFocus:yt.default.func.isRequired,onChange:yt.default.func.isRequired};mi.defaultProps={readOnly:!0,disabled:!1,dateDisplayFormat:"MMM D, YYYY"};var $b=mi;dn.default=$b;var Qo={};(function(e){(function(r,t){t(e,S,o)})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:Gs,function(r,t,n){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;function a(z){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},a(z)}function i(z,P){if(!(z instanceof P))throw new TypeError("Cannot call a class as a function")}function l(z,P){for(var T=0;T<P.length;T++){var k=P[T];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(z,_(k.key),k)}}function s(z,P,T){return P&&l(z.prototype,P),T&&l(z,T),Object.defineProperty(z,"prototype",{writable:!1}),z}function d(z,P,T){return P=u(P),f(z,b()?Reflect.construct(P,T||[],u(z).constructor):P.apply(z,T))}function f(z,P){if(P&&(a(P)=="object"||typeof P=="function"))return P;if(P!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return c(z)}function c(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function b(){try{var z=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(P){}return(b=function(){return!!z})()}function u(z){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)},u(z)}function p(z,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function");z.prototype=Object.create(P&&P.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),Object.defineProperty(z,"prototype",{writable:!1}),P&&h(z,P)}function h(z,P){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,k){return T.__proto__=k,T},h(z,P)}function x(z,P){var T=Object.keys(z);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(z);P&&(k=k.filter(function(A){return Object.getOwnPropertyDescriptor(z,A).enumerable})),T.push.apply(T,k)}return T}function v(z){for(var P=1;P<arguments.length;P++){var T=arguments[P]!=null?arguments[P]:{};P%2?x(Object(T),!0).forEach(function(k){y(z,k,T[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(T)):x(Object(T)).forEach(function(k){Object.defineProperty(z,k,Object.getOwnPropertyDescriptor(T,k))})}return z}function y(z,P,T){return(P=_(P))in z?Object.defineProperty(z,P,{value:T,enumerable:!0,configurable:!0,writable:!0}):z[P]=T,z}function _(z){var P=D(z,"string");return a(P)=="symbol"?P:P+""}function D(z,P){if(a(z)!="object"||!z)return z;var T=z[Symbol.toPrimitive];if(T!==void 0){var k=T.call(z,P||"default");if(a(k)!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(P==="string"?String:Number)(z)}var w={x:"clientWidth",y:"clientHeight"},m={x:"clientTop",y:"clientLeft"},$={x:"innerWidth",y:"innerHeight"},O={x:"offsetWidth",y:"offsetHeight"},E={x:"offsetLeft",y:"offsetTop"},C={x:"overflowX",y:"overflowY"},N={x:"scrollWidth",y:"scrollHeight"},L={x:"scrollLeft",y:"scrollTop"},R={x:"width",y:"height"},H=function(){},te=function(){if(typeof window=="undefined")return!1;var z=!1;try{document.createElement("div").addEventListener("test",H,{get passive(){return z=!0,!1}})}catch(P){}return z}()?{passive:!0}:!1,re="ReactList failed to reach a stable state.",de=40,ke=function(P,T){for(var k in T)if(P[k]!==T[k])return!1;return!0},We=function(P){for(var T=P.props.axis,k=P.getEl(),A=C[T];k=k.parentElement;)switch(window.getComputedStyle(k)[A]){case"auto":case"scroll":case"overlay":return k}return window},Ue=function(P){var T=P.props.axis,k=P.scrollParent;return k===window?window[$[T]]:k[w[T]]},be=function(P,T){var k=P.length,A=P.minSize,q=P.type,F=T.from,I=T.size,Q=T.itemsPerRow;I=Math.max(I,A);var ie=I%Q;return ie&&(I+=Q-ie),I>k&&(I=k),F=q==="simple"||!F?0:Math.max(Math.min(F,k-I),0),(ie=F%Q)&&(F-=ie,I+=ie),F===T.from&&I===T.size?T:v(v({},T),{},{from:F,size:I})},J=r.default=function(z){function P(T){var k;return i(this,P),k=d(this,P,[T]),k.state=be(T,{itemsPerRow:1,from:T.initialIndex,size:0}),k.cache={},k.cachedScrollPosition=null,k.prevPrevState={},k.unstable=!1,k.updateCounter=0,k}return p(P,z),s(P,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(k){var A=this;if(this.props.axis!==k.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>de){this.unstable=!0;return}this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){A.updateCounter=0,delete A.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(k,A){if(ke(this.state,k))return A();this.setState(k,A)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,te),this.scrollParent.removeEventListener("mousewheel",H,te)}},{key:"getOffset",value:function(k){var A=this.props.axis,q=k[m[A]]||0,F=E[A];do q+=k[F]||0;while(k=k.offsetParent);return q}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var k=this.scrollParent,A=this.props.axis,q=L[A],F=k===window?document.body[q]||document.documentElement[q]:k[q],I=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),Q=Math.max(0,Math.min(F,I)),ie=this.getEl();return this.cachedScrollPosition=this.getOffset(k)+Q-this.getOffset(ie),this.cachedScrollPosition}},{key:"setScroll",value:function(k){var A=this.scrollParent,q=this.props.axis;if(k+=this.getOffset(this.getEl()),A===window)return window.scrollTo(0,k);k-=this.getOffset(this.scrollParent),A[L[q]]=k}},{key:"getScrollSize",value:function(){var k=this.scrollParent,A=document,q=A.body,F=A.documentElement,I=N[this.props.axis];return k===window?Math.max(q[I],F[I]):k[I]}},{key:"hasDeterminateSize",value:function(){var k=this.props,A=k.itemSizeGetter,q=k.type;return q==="uniform"||A}},{key:"getStartAndEnd",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,A=this.getScrollPosition(),q=Math.max(0,A-k),F=A+this.props.scrollParentViewportSizeGetter(this)+k;return this.hasDeterminateSize()&&(F=Math.min(F,this.getSpaceBefore(this.props.length))),{start:q,end:F}}},{key:"getItemSizeAndItemsPerRow",value:function(){var k=this.props,A=k.axis,q=k.useStaticSize,F=this.state,I=F.itemSize,Q=F.itemsPerRow;if(q&&I&&Q)return{itemSize:I,itemsPerRow:Q};var ie=this.items.children;if(!ie.length)return{};var ce=ie[0],se=ce[O[A]],fe=Math.abs(se-I);if((isNaN(fe)||fe>=1)&&(I=se),!I)return{};var Te=E[A],Ie=ce[Te];Q=1;for(var Ke=ie[Q];Ke&&Ke[Te]===Ie;Ke=ie[Q])++Q;return{itemSize:I,itemsPerRow:Q}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(k){return this.clearSizeCache(),this.updateFrame(k)}},{key:"updateFrame",value:function(k){switch(this.updateScrollParent(),typeof k!="function"&&(k=H),this.props.type){case"simple":return this.updateSimpleFrame(k);case"variable":return this.updateVariableFrame(k);case"uniform":return this.updateUniformFrame(k)}}},{key:"updateScrollParent",value:function(){var k=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),k!==this.scrollParent&&(k&&(k.removeEventListener("scroll",this.updateFrameAndClearCache),k.removeEventListener("mousewheel",H)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,te),this.scrollParent.addEventListener("mousewheel",H,te))}},{key:"updateSimpleFrame",value:function(k){var A=this.getStartAndEnd(),q=A.end,F=this.items.children,I=0;if(F.length){var Q=this.props.axis,ie=F[0],ce=F[F.length-1];I=this.getOffset(ce)+ce[O[Q]]-this.getOffset(ie)}if(I>q)return k();var se=this.props,fe=se.pageSize,Te=se.length,Ie=Math.min(this.state.size+fe,Te);this.maybeSetState({size:Ie},k)}},{key:"updateVariableFrame",value:function(k){this.props.itemSizeGetter||this.cacheSizes();for(var A=this.getStartAndEnd(),q=A.start,F=A.end,I=this.props,Q=I.length,ie=I.pageSize,ce=0,se=0,fe=0,Te=Q-1;se<Te;){var Ie=this.getSizeOfItem(se);if(Ie==null||ce+Ie>q)break;ce+=Ie,++se}for(var Ke=Q-se;fe<Ke&&ce<F;){var dt=this.getSizeOfItem(se+fe);if(dt==null){fe=Math.min(fe+ie,Ke);break}ce+=dt,++fe}this.maybeSetState(be(this.props,{from:se,itemsPerRow:1,size:fe}),k)}},{key:"updateUniformFrame",value:function(k){var A=this.getItemSizeAndItemsPerRow(),q=A.itemSize,F=A.itemsPerRow;if(!q||!F)return k();var I=this.getStartAndEnd(),Q=I.start,ie=I.end,ce=be(this.props,{from:Math.floor(Q/q)*F,size:(Math.ceil((ie-Q)/q)+1)*F,itemsPerRow:F}),se=ce.from,fe=ce.size;return this.maybeSetState({itemsPerRow:F,from:se,itemSize:q,size:fe},k)}},{key:"getSpaceBefore",value:function(k){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(A[k]!=null)return A[k];var q=this.state,F=q.itemSize,I=q.itemsPerRow;if(F)return A[k]=Math.floor(k/I)*F;for(var Q=k;Q>0&&A[--Q]==null;);for(var ie=A[Q]||0,ce=Q;ce<k;++ce){A[ce]=ie;var se=this.getSizeOfItem(ce);if(se==null)break;ie+=se}return A[k]=ie}},{key:"cacheSizes",value:function(){for(var k=this.cache,A=this.state.from,q=this.items.children,F=O[this.props.axis],I=0,Q=q.length;I<Q;++I)k[A+I]=q[I][F]}},{key:"getSizeOfItem",value:function(k){var A=this.cache,q=this.items,F=this.props,I=F.axis,Q=F.itemSizeGetter,ie=F.itemSizeEstimator,ce=F.type,se=this.state,fe=se.from,Te=se.itemSize,Ie=se.size;if(Te)return Te;if(Q)return Q(k);if(k in A)return A[k];if(ce==="simple"&&k>=fe&&k<fe+Ie&&q){var Ke=q.children[k-fe];if(Ke)return Ke[O[I]]}if(ie)return ie(k,A)}},{key:"scrollTo",value:function(k){k!=null&&this.setScroll(this.getSpaceBefore(k))}},{key:"scrollAround",value:function(k){var A=this.getScrollPosition(),q=this.getSpaceBefore(k),F=q-this.props.scrollParentViewportSizeGetter(this)+this.getSizeOfItem(k),I=Math.min(F,q),Q=Math.max(F,q);if(A<=I)return this.setScroll(I);if(A>Q)return this.setScroll(Q)}},{key:"getVisibleRange",value:function(){for(var k=this.state,A=k.from,q=k.size,F=this.getStartAndEnd(0),I=F.start,Q=F.end,ie={},ce,se,fe=A;fe<A+q;++fe){var Te=this.getSpaceBefore(fe,ie),Ie=Te+this.getSizeOfItem(fe);ce==null&&Ie>I&&(ce=fe),ce!=null&&Te<Q&&(se=fe)}return[ce,se]}},{key:"renderItems",value:function(){for(var k=this,A=this.props,q=A.itemRenderer,F=A.itemsRenderer,I=this.state,Q=I.from,ie=I.size,ce=[],se=0;se<ie;++se)ce.push(q(Q+se,se));return F(ce,function(fe){return k.items=fe})}},{key:"render",value:function(){var k=this,A=this.props,q=A.axis,F=A.length,I=A.type,Q=A.useTranslate3d,ie=this.state,ce=ie.from,se=ie.itemsPerRow,fe=this.renderItems();if(I==="simple")return fe;var Te={position:"relative"},Ie={},Ke=Math.ceil(F/se)*se,dt=this.getSpaceBefore(Ke,Ie);dt&&(Te[R[q]]=dt,q==="x"&&(Te.overflowX="hidden"));var pt=this.getSpaceBefore(ce,Ie),Ht=q==="x"?pt:0,_t=q==="y"?pt:0,Tt=Q?"translate3d(".concat(Ht,"px, ").concat(_t,"px, 0)"):"translate(".concat(Ht,"px, ").concat(_t,"px)"),Bt={msTransform:Tt,WebkitTransform:Tt,transform:Tt};return(0,n.jsx)("div",{style:Te,ref:function(Ut){return k.el=Ut},children:(0,n.jsx)("div",{style:Bt,children:fe})})}}],[{key:"getDerivedStateFromProps",value:function(k,A){var q=be(k,A);return q===A?null:q}}])}(t.Component);y(J,"displayName","ReactList"),y(J,"defaultProps",{axis:"y",itemRenderer:function(P,T){return(0,n.jsx)("div",{children:P},T)},itemsRenderer:function(P,T){return(0,n.jsx)("div",{ref:T,children:P})},length:0,minSize:1,pageSize:10,scrollParentGetter:We,scrollParentViewportSizeGetter:Ue,threshold:100,type:"simple",useStaticSize:!1,useTranslate3d:!1})})})(Qo);function yb(e,r){if(e===r)return!0;if(!e||!r)return!1;var t=Object.keys(e),n=Object.keys(r),a=t.length;if(n.length!==a)return!1;for(var i=0;i<a;i++){var l=t[i];if(e[l]!==r[l]||!Object.prototype.hasOwnProperty.call(r,l))return!1}return!0}function xb(e,r){if(e===r)return!0;if(!e||!r)return!1;var t=e.length;if(r.length!==t)return!1;for(var n=0;n<t;n++)if(e[n]!==r[n])return!1;return!0}var wb=Object.freeze({__proto__:null,shallowEqualArrays:xb,shallowEqualObjects:yb}),kb=De(wb);function Sb(e){le(1,arguments);var r;if(e&&typeof e.forEach=="function")r=e;else if(gt(e)==="object"&&e!==null)r=Array.prototype.slice.call(e);else return new Date(NaN);var t;return r.forEach(function(n){var a=ae(n);(t===void 0||t<a||isNaN(Number(a)))&&(t=a)}),t||new Date(NaN)}var Db=Object.freeze({__proto__:null,default:Sb}),Jo=De(Db);function Cb(e){le(1,arguments);var r;if(e&&typeof e.forEach=="function")r=e;else if(gt(e)==="object"&&e!==null)r=Array.prototype.slice.call(e);else return new Date(NaN);var t;return r.forEach(function(n){var a=ae(n);(t===void 0||t>a||isNaN(a.getDate()))&&(t=a)}),t||new Date(NaN)}var Ob=Object.freeze({__proto__:null,default:Cb}),Xo=De(Ob);function ll(e,r){var t=e.getFullYear()-r.getFullYear()||e.getMonth()-r.getMonth()||e.getDate()-r.getDate()||e.getHours()-r.getHours()||e.getMinutes()-r.getMinutes()||e.getSeconds()-r.getSeconds()||e.getMilliseconds()-r.getMilliseconds();return t<0?-1:t>0?1:t}function Tb(e,r){le(2,arguments);var t=ae(e),n=ae(r),a=ll(t,n),i=Math.abs(Mo(t,n));t.setDate(t.getDate()-a*i);var l=+(ll(t,n)===-a),s=a*(i-l);return s===0?0:s}var Pb=Object.freeze({__proto__:null,default:Tb}),jb=De(Pb);function Nb(e,r){le(2,arguments);var t=ae(e),n=ae(r);return t.getFullYear()===n.getFullYear()&&t.getMonth()===n.getMonth()}var Mb=Object.freeze({__proto__:null,default:Nb}),Rb=De(Mb);function Eb(e){le(1,arguments);var r=ae(e),t=r.getFullYear(),n=r.getMonth(),a=new Date(0);return a.setFullYear(t,n+1,0),a.setHours(0,0,0,0),a.getDate()}function Ib(e,r){le(2,arguments);var t=ae(e),n=Fe(r),a=t.getFullYear(),i=t.getDate(),l=new Date(0);l.setFullYear(a,n,15),l.setHours(0,0,0,0);var s=Eb(l);return t.setMonth(n,Math.min(i,s)),t}var Lb=Object.freeze({__proto__:null,default:Ib}),Ab=De(Lb);function Fb(e,r){le(2,arguments);var t=ae(e),n=Fe(r);return isNaN(t.getTime())?new Date(NaN):(t.setFullYear(n),t)}var qb=Object.freeze({__proto__:null,default:Fb}),Wb=De(qb);function hi(e,r){le(2,arguments);var t=ae(e),n=Fe(r);if(isNaN(n))return new Date(NaN);if(!n)return t;var a=t.getDate(),i=new Date(t.getTime());i.setMonth(t.getMonth()+n+1,0);var l=i.getDate();return a>=l?i:(t.setFullYear(i.getFullYear(),i.getMonth(),a),t)}var zb=Object.freeze({__proto__:null,default:hi});function Hb(e,r){le(2,arguments);var t=Fe(r);return hi(e,t*12)}var Bb=Object.freeze({__proto__:null,default:Hb}),Ub=De(Bb);function Yb(e,r){le(2,arguments);var t=Fe(r);return hi(e,-t)}var Gb=Object.freeze({__proto__:null,default:Yb}),Vb=De(Gb),Zo=De(zb),Kb=De(Af),gr={};Object.defineProperty(gr,"__esModule",{value:!0});gr.default=void 0;var Qb={dateRangeWrapper:"rdrDateRangeWrapper",calendarWrapper:"rdrCalendarWrapper",dateDisplay:"rdrDateDisplay",dateDisplayItem:"rdrDateDisplayItem",dateDisplayItemActive:"rdrDateDisplayItemActive",monthAndYearWrapper:"rdrMonthAndYearWrapper",monthAndYearPickers:"rdrMonthAndYearPickers",nextPrevButton:"rdrNextPrevButton",month:"rdrMonth",weekDays:"rdrWeekDays",weekDay:"rdrWeekDay",days:"rdrDays",day:"rdrDay",dayNumber:"rdrDayNumber",dayPassive:"rdrDayPassive",dayToday:"rdrDayToday",dayStartOfWeek:"rdrDayStartOfWeek",dayEndOfWeek:"rdrDayEndOfWeek",daySelected:"rdrDaySelected",dayDisabled:"rdrDayDisabled",dayStartOfMonth:"rdrDayStartOfMonth",dayEndOfMonth:"rdrDayEndOfMonth",dayWeekend:"rdrDayWeekend",dayStartPreview:"rdrDayStartPreview",dayInPreview:"rdrDayInPreview",dayEndPreview:"rdrDayEndPreview",dayHovered:"rdrDayHovered",dayActive:"rdrDayActive",inRange:"rdrInRange",endEdge:"rdrEndEdge",startEdge:"rdrStartEdge",prevButton:"rdrPprevButton",nextButton:"rdrNextButton",selected:"rdrSelected",months:"rdrMonths",monthPicker:"rdrMonthPicker",yearPicker:"rdrYearPicker",dateDisplayWrapper:"rdrDateDisplayWrapper",definedRangesWrapper:"rdrDefinedRangesWrapper",staticRanges:"rdrStaticRanges",staticRange:"rdrStaticRange",inputRanges:"rdrInputRanges",inputRange:"rdrInputRange",inputRangeInput:"rdrInputRangeInput",dateRangePickerWrapper:"rdrDateRangePickerWrapper",staticRangeLabel:"rdrStaticRangeLabel",staticRangeSelected:"rdrStaticRangeSelected",monthName:"rdrMonthName",infiniteMonths:"rdrInfiniteMonths",monthsVertical:"rdrMonthsVertical",monthsHorizontal:"rdrMonthsHorizontal"};gr.default=Qb;var cn={};Object.defineProperty(cn,"__esModule",{value:!0});cn.ariaLabelsShape=void 0;var It=Jb(Wt);function Jb(e){return e&&e.__esModule?e:{default:e}}var Xb=It.default.shape({dateInput:It.default.objectOf(It.default.shape({startDate:It.default.string,endDate:It.default.string})),monthPicker:It.default.string,yearPicker:It.default.string,prevButton:It.default.string,nextButton:It.default.string});cn.ariaLabelsShape=Xb;function ta(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ta=function(t){return typeof t}:ta=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ta(e)}Object.defineProperty(ba,"__esModule",{value:!0});ba.default=void 0;var Oe=$m(S),ee=Me(Wt),Zb=qt,ol=Me(nn),sl=Me(dn),Ca=zt,cr=Me(hr),em=Me(Qo),tm=kb,rm=Me(Jo),am=Me(Xo),nm=Me(jb),im=Me(Rb),lm=Me(sn),om=Me(ci),sm=Me(fi),xn=Me(No),dm=Me(Ab),cm=Me(Wb),dl=Me(Ub),fm=Me(rn),um=Me(ln),pm=Me(on),bm=Me(Po),mm=Me(an),hm=Me(Vb),Kr=Me(Zo),gm=Me(Kb),_m=Me(gr),vm=cn;function Me(e){return e&&e.__esModule?e:{default:e}}function es(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(es=function(a){return a?t:r})(e)}function $m(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||ta(e)!=="object"&&typeof e!="function")return{default:e};var t=es(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Wa(){return Wa=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Wa.apply(this,arguments)}function ym(e){return Sm(e)||km(e)||wm(e)||xm()}function xm(){throw new TypeError(`Invalid attempt to spread non-iterable instance. |
| 8 |
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wm(e,r){if(e){if(typeof e=="string")return An(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return An(e,r)}}function km(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Sm(e){if(Array.isArray(e))return An(e)}function An(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function cl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Oa(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?cl(Object(t),!0).forEach(function(n){at(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Dm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function fl(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cm(e,r,t){return r&&fl(e.prototype,r),t&&fl(e,t),e}function Om(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Fn(e,r)}function Fn(e,r){return Fn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Fn(e,r)}function Tm(e){var r=jm();return function(){var n=za(e),a;if(r){var i=za(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Pm(this,a)}}function Pm(e,r){return r&&(ta(r)==="object"||typeof r=="function")?r:lt(e)}function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},za(e)}function at(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var gi=function(e){Om(t,e);var r=Tm(t);function t(n,a){var i;return Dm(this,t),i=r.call(this,n,a),at(lt(i),"focusToDate",function(l){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.props,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!s.scroll.enabled){if(d&&s.preventSnapRefocus){var f=(0,xn.default)(l,i.state.focusedDate),c=s.calendarFocus==="forwards"&&f>=0,b=s.calendarFocus==="backwards"&&f<=0;if((c||b)&&Math.abs(f)<s.months)return}i.setState({focusedDate:l});return}var u=(0,xn.default)(l,s.minDate,i.dateOptions),p=i.list.getVisibleRange();d&&p.includes(u)||(i.isFirstRender=!0,i.list.scrollTo(u),i.setState({focusedDate:l}))}),at(lt(i),"updateShownDate",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i.props,s=l.scroll.enabled?Oa(Oa({},l),{},{months:i.list.getVisibleRange().length}):l,d=(0,Ca.calcFocusDate)(i.state.focusedDate,s);i.focusToDate(d,s)}),at(lt(i),"updatePreview",function(l){if(!l){i.setState({preview:null});return}var s={startDate:l,endDate:l,color:i.props.color};i.setState({preview:s})}),at(lt(i),"changeShownDate",function(l){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set",d=i.state.focusedDate,f=i.props,c=f.onShownDateChange,b=f.minDate,u=f.maxDate,p={monthOffset:function(){return(0,Kr.default)(d,l)},setMonth:function(x){function v(){return x.apply(this,arguments)}return v.toString=function(){return x.toString()},v}(function(){return(0,dm.default)(d,l)}),setYear:function(x){function v(){return x.apply(this,arguments)}return v.toString=function(){return x.toString()},v}(function(){return(0,cm.default)(d,l)}),set:function(){return l}},h=(0,am.default)([(0,rm.default)([p[s](),b]),u]);i.focusToDate(h,i.props,!1),c&&c(h)}),at(lt(i),"handleRangeFocusChange",function(l,s){i.props.onRangeFocusChange&&i.props.onRangeFocusChange([l,s])}),at(lt(i),"handleScroll",function(){var l=i.props,s=l.onShownDateChange,d=l.minDate,f=i.state.focusedDate,c=lt(i),b=c.isFirstRender,u=i.list.getVisibleRange();if(u[0]!==void 0){var p=(0,Kr.default)(d,u[0]||0),h=!(0,im.default)(p,f);h&&!b&&(i.setState({focusedDate:p}),s&&s(p)),i.isFirstRender=!1}}),at(lt(i),"renderMonthAndYear",function(l,s,d){var f=d.showMonthArrow,c=d.minDate,b=d.maxDate,u=d.showMonthAndYearPickers,p=d.ariaLabels,h=(b||t.defaultProps.maxDate).getFullYear(),x=(c||t.defaultProps.minDate).getFullYear(),v=i.styles;return Oe.default.createElement("div",{onMouseUp:function(_){return _.stopPropagation()},className:v.monthAndYearWrapper},f?Oe.default.createElement("button",{type:"button",className:(0,cr.default)(v.nextPrevButton,v.prevButton),onClick:function(){return s(-1,"monthOffset")},"aria-label":p.prevButton},Oe.default.createElement("i",null)):null,u?Oe.default.createElement("span",{className:v.monthAndYearPickers},Oe.default.createElement("span",{className:v.monthPicker},Oe.default.createElement("select",{value:l.getMonth(),onChange:function(_){return s(_.target.value,"setMonth")},"aria-label":p.monthPicker},i.state.monthNames.map(function(y,_){return Oe.default.createElement("option",{key:_,value:_},y)}))),Oe.default.createElement("span",{className:v.monthAndYearDivider}),Oe.default.createElement("span",{className:v.yearPicker},Oe.default.createElement("select",{value:l.getFullYear(),onChange:function(_){return s(_.target.value,"setYear")},"aria-label":p.yearPicker},new Array(h-x+1).fill(h).map(function(y,_){var D=y-_;return Oe.default.createElement("option",{key:D,value:D},D)})))):Oe.default.createElement("span",{className:v.monthAndYearPickers},i.state.monthNames[l.getMonth()]," ",l.getFullYear()),f?Oe.default.createElement("button",{type:"button",className:(0,cr.default)(v.nextPrevButton,v.nextButton),onClick:function(){return s(1,"monthOffset")},"aria-label":p.nextButton},Oe.default.createElement("i",null)):null)}),at(lt(i),"renderDateDisplay",function(){var l=i.props,s=l.focusedRange,d=l.color,f=l.ranges,c=l.rangeColors,b=l.dateDisplayFormat,u=l.editableDateInputs,p=l.startDatePlaceholder,h=l.endDatePlaceholder,x=l.ariaLabels,v=c[s[0]]||d,y=i.styles;return Oe.default.createElement("div",{className:y.dateDisplayWrapper},f.map(function(_,D){return _.showDateDisplay===!1||_.disabled&&!_.showDateDisplay?null:Oe.default.createElement("div",{className:y.dateDisplay,key:D,style:{color:_.color||v}},Oe.default.createElement(sl.default,{className:(0,cr.default)(y.dateDisplayItem,at({},y.dateDisplayItemActive,s[0]===D&&s[1]===0)),readOnly:!u,disabled:_.disabled,value:_.startDate,placeholder:p,dateOptions:i.dateOptions,dateDisplayFormat:b,ariaLabel:x.dateInput&&x.dateInput[_.key]&&x.dateInput[_.key].startDate,onChange:i.onDragSelectionEnd,onFocus:function(){return i.handleRangeFocusChange(D,0)}}),Oe.default.createElement(sl.default,{className:(0,cr.default)(y.dateDisplayItem,at({},y.dateDisplayItemActive,s[0]===D&&s[1]===1)),readOnly:!u,disabled:_.disabled,value:_.endDate,placeholder:h,dateOptions:i.dateOptions,dateDisplayFormat:b,ariaLabel:x.dateInput&&x.dateInput[_.key]&&x.dateInput[_.key].endDate,onChange:i.onDragSelectionEnd,onFocus:function(){return i.handleRangeFocusChange(D,1)}}))}))}),at(lt(i),"onDragSelectionStart",function(l){var s=i.props,d=s.onChange,f=s.dragSelectionEnabled;f?i.setState({drag:{status:!0,range:{startDate:l,endDate:l},disablePreview:!0}}):d&&d(l)}),at(lt(i),"onDragSelectionEnd",function(l){var s=i.props,d=s.updateRange,f=s.displayMode,c=s.onChange,b=s.dragSelectionEnabled;if(b){if(f==="date"||!i.state.drag.status){c&&c(l);return}var u={startDate:i.state.drag.range.startDate,endDate:l};f!=="dateRange"||(0,fm.default)(u.startDate,l)?i.setState({drag:{status:!1,range:{}}},function(){return c&&c(l)}):i.setState({drag:{status:!1,range:{}}},function(){d&&d(u)})}}),at(lt(i),"onDragSelectionMove",function(l){var s=i.state.drag;!s.status||!i.props.dragSelectionEnabled||i.setState({drag:{status:s.status,range:{startDate:s.range.startDate,endDate:l},disablePreview:!0}})}),at(lt(i),"estimateMonthSize",function(l,s){var d=i.props,f=d.direction,c=d.minDate,b=i.state.scrollArea;if(s&&(i.listSizeCache=s,s[l]))return s[l];if(f==="horizontal")return b.monthWidth;var u=(0,Kr.default)(c,l),p=(0,Ca.getMonthDisplayRange)(u,i.dateOptions),h=p.start,x=p.end,v=(0,nm.default)(x,h,i.dateOptions)+1>7*5;return v?b.longMonthHeight:b.monthHeight}),i.dateOptions={locale:n.locale},n.weekStartsOn!==void 0&&(i.dateOptions.weekStartsOn=n.weekStartsOn),i.styles=(0,Ca.generateStyles)([_m.default,n.classNames]),i.listSizeCache={},i.isFirstRender=!0,i.state={monthNames:i.getMonthNames(),focusedDate:(0,Ca.calcFocusDate)(null,n),drag:{status:!1,range:{startDate:null,endDate:null},disablePreview:!1},scrollArea:i.calcScrollArea(n)},i}return Cm(t,[{key:"getMonthNames",value:function(){var a=this;return ym(Array(12).keys()).map(function(i){return a.props.locale.localize.month(i)})}},{key:"calcScrollArea",value:function(a){var i=a.direction,l=a.months,s=a.scroll;if(!s.enabled)return{enabled:!1};var d=s.longMonthHeight||s.monthHeight;return i==="vertical"?{enabled:!0,monthHeight:s.monthHeight||220,longMonthHeight:d||260,calendarWidth:"auto",calendarHeight:(s.calendarHeight||d||240)*l}:{enabled:!0,monthWidth:s.monthWidth||332,calendarWidth:(s.calendarWidth||s.monthWidth||332)*l,monthHeight:d||300,calendarHeight:d||300}}},{key:"componentDidMount",value:function(){var a=this;this.props.scroll.enabled&&setTimeout(function(){return a.focusToDate(a.state.focusedDate)})}},{key:"componentDidUpdate",value:function(a){var i={dateRange:"ranges",date:"date"},l=i[this.props.displayMode];this.props[l]!==a[l]&&this.updateShownDate(this.props),(a.locale!==this.props.locale||a.weekStartsOn!==this.props.weekStartsOn)&&(this.dateOptions={locale:this.props.locale},this.props.weekStartsOn!==void 0&&(this.dateOptions.weekStartsOn=this.props.weekStartsOn),this.setState({monthNames:this.getMonthNames()})),(0,tm.shallowEqualObjects)(a.scroll,this.props.scroll)||this.setState({scrollArea:this.calcScrollArea(this.props)})}},{key:"renderWeekdays",value:function(){var a=this,i=new Date;return Oe.default.createElement("div",{className:this.styles.weekDays},(0,bm.default)({start:(0,pm.default)(i,this.dateOptions),end:(0,um.default)(i,this.dateOptions)}).map(function(l,s){return Oe.default.createElement("span",{className:a.styles.weekDay,key:s},(0,mm.default)(l,a.props.weekdayDisplayFormat,a.dateOptions))}))}},{key:"render",value:function(){var a=this,i=this.props,l=i.showDateDisplay,s=i.onPreviewChange,d=i.scroll,f=i.direction,c=i.disabledDates,b=i.disabledDay,u=i.maxDate,p=i.minDate,h=i.rangeColors,x=i.color,v=i.navigatorRenderer,y=i.className,_=i.preview,D=this.state,w=D.scrollArea,m=D.focusedDate,$=f==="vertical",O=v||this.renderMonthAndYear,E=this.props.ranges.map(function(C,N){return Oa(Oa({},C),{},{color:C.color||h[N]||x})});return Oe.default.createElement("div",{className:(0,cr.default)(this.styles.calendarWrapper,y),onMouseUp:function(){return a.setState({drag:{status:!1,range:{}}})},onMouseLeave:function(){a.setState({drag:{status:!1,range:{}}})}},l&&this.renderDateDisplay(),O(m,this.changeShownDate,this.props),d.enabled?Oe.default.createElement("div",null,$&&this.renderWeekdays(this.dateOptions),Oe.default.createElement("div",{className:(0,cr.default)(this.styles.infiniteMonths,$?this.styles.monthsVertical:this.styles.monthsHorizontal),onMouseLeave:function(){return s&&s()},style:{width:w.calendarWidth+11,height:w.calendarHeight+11},onScroll:this.handleScroll},Oe.default.createElement(em.default,{length:(0,xn.default)((0,om.default)(u),(0,lm.default)((0,sm.default)(p),-1),this.dateOptions),treshold:500,type:"variable",ref:function(N){return a.list=N},itemSizeEstimator:this.estimateMonthSize,axis:$?"y":"x",itemRenderer:function(N,L){var R=(0,Kr.default)(p,N);return Oe.default.createElement(ol.default,Wa({},a.props,{onPreviewChange:s||a.updatePreview,preview:_||a.state.preview,ranges:E,key:L,drag:a.state.drag,dateOptions:a.dateOptions,disabledDates:c,disabledDay:b,month:R,onDragSelectionStart:a.onDragSelectionStart,onDragSelectionEnd:a.onDragSelectionEnd,onDragSelectionMove:a.onDragSelectionMove,onMouseLeave:function(){return s&&s()},styles:a.styles,style:$?{height:a.estimateMonthSize(N)}:{height:w.monthHeight,width:a.estimateMonthSize(N)},showMonthName:!0,showWeekDays:!$}))}}))):Oe.default.createElement("div",{className:(0,cr.default)(this.styles.months,$?this.styles.monthsVertical:this.styles.monthsHorizontal)},new Array(this.props.months).fill(null).map(function(C,N){var L=(0,Kr.default)(a.state.focusedDate,N);return a.props.calendarFocus==="backwards"&&(L=(0,hm.default)(a.state.focusedDate,a.props.months-1-N)),Oe.default.createElement(ol.default,Wa({},a.props,{onPreviewChange:s||a.updatePreview,preview:_||a.state.preview,ranges:E,key:N,drag:a.state.drag,dateOptions:a.dateOptions,disabledDates:c,disabledDay:b,month:L,onDragSelectionStart:a.onDragSelectionStart,onDragSelectionEnd:a.onDragSelectionEnd,onDragSelectionMove:a.onDragSelectionMove,onMouseLeave:function(){return s&&s()},styles:a.styles,showWeekDays:!$||N===0,showMonthName:!$||N>0}))})))}}]),t}(Oe.PureComponent);gi.defaultProps={showMonthArrow:!0,showMonthAndYearPickers:!0,disabledDates:[],disabledDay:function(){},classNames:{},locale:gm.default,ranges:[],focusedRange:[0,0],dateDisplayFormat:"MMM d, yyyy",monthDisplayFormat:"MMM yyyy",weekdayDisplayFormat:"E",dayDisplayFormat:"d",showDateDisplay:!0,showPreview:!0,displayMode:"date",months:1,color:"#3d91ff",scroll:{enabled:!1},direction:"vertical",maxDate:(0,dl.default)(new Date,20),minDate:(0,dl.default)(new Date,-100),rangeColors:["#3d91ff","#3ecf8e","#fed14c"],startDatePlaceholder:"Early",endDatePlaceholder:"Continuous",editableDateInputs:!1,dragSelectionEnabled:!0,fixedHeight:!1,calendarFocus:"forwards",preventSnapRefocus:!1,ariaLabels:{}};gi.propTypes={showMonthArrow:ee.default.bool,showMonthAndYearPickers:ee.default.bool,disabledDates:ee.default.array,disabledDay:ee.default.func,minDate:ee.default.object,maxDate:ee.default.object,date:ee.default.object,onChange:ee.default.func,onPreviewChange:ee.default.func,onRangeFocusChange:ee.default.func,classNames:ee.default.object,locale:ee.default.object,shownDate:ee.default.object,onShownDateChange:ee.default.func,ranges:ee.default.arrayOf(Zb.rangeShape),preview:ee.default.shape({startDate:ee.default.object,endDate:ee.default.object,color:ee.default.string}),dateDisplayFormat:ee.default.string,monthDisplayFormat:ee.default.string,weekdayDisplayFormat:ee.default.string,weekStartsOn:ee.default.number,dayDisplayFormat:ee.default.string,focusedRange:ee.default.arrayOf(ee.default.number),initialFocusedRange:ee.default.arrayOf(ee.default.number),months:ee.default.number,className:ee.default.string,showDateDisplay:ee.default.bool,showPreview:ee.default.bool,displayMode:ee.default.oneOf(["dateRange","date"]),color:ee.default.string,updateRange:ee.default.func,scroll:ee.default.shape({enabled:ee.default.bool,monthHeight:ee.default.number,longMonthHeight:ee.default.number,monthWidth:ee.default.number,calendarWidth:ee.default.number,calendarHeight:ee.default.number}),direction:ee.default.oneOf(["vertical","horizontal"]),startDatePlaceholder:ee.default.string,endDatePlaceholder:ee.default.string,navigatorRenderer:ee.default.func,rangeColors:ee.default.arrayOf(ee.default.string),editableDateInputs:ee.default.bool,dragSelectionEnabled:ee.default.bool,fixedHeight:ee.default.bool,calendarFocus:ee.default.string,preventSnapRefocus:ee.default.bool,ariaLabels:vm.ariaLabelsShape};var Nm=gi;ba.default=Nm;function ra(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ra=function(t){return typeof t}:ra=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ra(e)}Object.defineProperty(pa,"__esModule",{value:!0});pa.default=void 0;var ul=Fm(S),kr=Ct(Wt),ts=Ct(ba),Mm=qt,wn=zt,Rm=Ct(Jo),Em=Ct(jo),pl=Ct(Xo),kn=Ct(sn),Im=Ct(di),bl=Ct(ni),Lm=Ct(hr),Am=Ct(gr);function Ct(e){return e&&e.__esModule?e:{default:e}}function rs(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(rs=function(a){return a?t:r})(e)}function Fm(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||ra(e)!=="object"&&typeof e!="function")return{default:e};var t=rs(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function qn(){return qn=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},qn.apply(this,arguments)}function ml(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Or(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ml(Object(t),!0).forEach(function(n){Dr(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ml(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function qm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function hl(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wm(e,r,t){return r&&hl(e.prototype,r),t&&hl(e,t),e}function zm(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Wn(e,r)}function Wn(e,r){return Wn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Wn(e,r)}function Hm(e){var r=Um();return function(){var n=Ha(e),a;if(r){var i=Ha(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Bm(this,a)}}function Bm(e,r){return r&&(ra(r)==="object"||typeof r=="function")?r:Qr(e)}function Qr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Um(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ha(e)}function Dr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var _i=function(e){zm(t,e);var r=Hm(t);function t(n,a){var i;return qm(this,t),i=r.call(this,n,a),Dr(Qr(i),"calcNewSelection",function(l){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=i.props.focusedRange||i.state.focusedRange,f=i.props,c=f.ranges,b=f.onChange,u=f.maxDate,p=f.moveRangeOnFirstSelection,h=f.retainEndDateOnFirstSelection,x=f.disabledDates,v=d[0],y=c[v];if(!y||!b)return{};var _=y.startDate,D=y.endDate,w=new Date,m;if(!s)_=l.startDate,D=l.endDate;else if(d[1]===0){var $=(0,Im.default)(D||w,_),O=function(){return p?(0,kn.default)(l,$):h?!D||(0,bl.default)(l,D)?D:l:l||w};_=l,D=O(),u&&(D=(0,pl.default)([D,u])),m=[d[0],1]}else D=l;var E=d[1]===0;if((0,bl.default)(D,_)){E=!E;var C=[D,_];_=C[0],D=C[1]}var N=x.filter(function(R){return(0,Em.default)(R,{start:_,end:D})});if(N.length>0&&(E?_=(0,kn.default)((0,Rm.default)(N),1):D=(0,kn.default)((0,pl.default)(N),-1)),!m){var L=(0,wn.findNextRangeIndex)(i.props.ranges,d[0]);m=[L,0]}return{wasValid:!(N.length>0),range:{startDate:_,endDate:D},nextFocusRange:m}}),Dr(Qr(i),"setSelection",function(l,s){var d=i.props,f=d.onChange,c=d.ranges,b=d.onRangeFocusChange,u=i.props.focusedRange||i.state.focusedRange,p=u[0],h=c[p];if(h){var x=i.calcNewSelection(l,s);f(Dr({},h.key||"range".concat(p+1),Or(Or({},h),x.range))),i.setState({focusedRange:x.nextFocusRange,preview:null}),b&&b(x.nextFocusRange)}}),Dr(Qr(i),"handleRangeFocusChange",function(l){i.setState({focusedRange:l}),i.props.onRangeFocusChange&&i.props.onRangeFocusChange(l)}),Dr(Qr(i),"updatePreview",function(l){var s;if(!l){i.setState({preview:null});return}var d=i.props,f=d.rangeColors,c=d.ranges,b=i.props.focusedRange||i.state.focusedRange,u=((s=c[b[0]])===null||s===void 0?void 0:s.color)||f[b[0]]||u;i.setState({preview:Or(Or({},l.range),{},{color:u})})}),i.state={focusedRange:n.initialFocusedRange||[(0,wn.findNextRangeIndex)(n.ranges),0],preview:null},i.styles=(0,wn.generateStyles)([Am.default,n.classNames]),i}return Wm(t,[{key:"render",value:function(){var a=this;return ul.default.createElement(ts.default,qn({focusedRange:this.state.focusedRange,onRangeFocusChange:this.handleRangeFocusChange,preview:this.state.preview,onPreviewChange:function(l){a.updatePreview(l?a.calcNewSelection(l):null)}},this.props,{displayMode:"dateRange",className:(0,Lm.default)(this.styles.dateRangeWrapper,this.props.className),onChange:this.setSelection,updateRange:function(l){return a.setSelection(l,!1)},ref:function(l){a.calendar=l}}))}}]),t}(ul.Component);_i.defaultProps={classNames:{},ranges:[],moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1,rangeColors:["#3d91ff","#3ecf8e","#fed14c"],disabledDates:[]};_i.propTypes=Or(Or({},ts.default.propTypes),{},{onChange:kr.default.func,onRangeFocusChange:kr.default.func,className:kr.default.string,ranges:kr.default.arrayOf(Mm.rangeShape),moveRangeOnFirstSelection:kr.default.bool,retainEndDateOnFirstSelection:kr.default.bool});var Ym=_i;pa.default=Ym;var fn={},ma={},Zt={};Object.defineProperty(Zt,"__esModule",{value:!0});Zt.createStaticRanges=as;Zt.defaultInputRanges=Zt.defaultStaticRanges=void 0;var gl=Ot(di),Ba=Ot(rn),_l=Ot(ln),vl=Ot(on),$l=Ot(Zo),yl=Ot(ci),xl=Ot(fi),wl=Ot(oi),kl=Ot(ai),Tr=Ot(sn);function Ot(e){return e&&e.__esModule?e:{default:e}}function Sl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Dl(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Sl(Object(t),!0).forEach(function(n){Gm(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Gm(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Qe={startOfWeek:(0,vl.default)(new Date),endOfWeek:(0,_l.default)(new Date),startOfLastWeek:(0,vl.default)((0,Tr.default)(new Date,-7)),endOfLastWeek:(0,_l.default)((0,Tr.default)(new Date,-7)),startOfToday:(0,wl.default)(new Date),endOfToday:(0,kl.default)(new Date),startOfYesterday:(0,wl.default)((0,Tr.default)(new Date,-1)),endOfYesterday:(0,kl.default)((0,Tr.default)(new Date,-1)),startOfMonth:(0,xl.default)(new Date),endOfMonth:(0,yl.default)(new Date),startOfLastMonth:(0,xl.default)((0,$l.default)(new Date,-1)),endOfLastMonth:(0,yl.default)((0,$l.default)(new Date,-1))},Vm={range:{},isSelected:function(r){var t=this.range();return(0,Ba.default)(r.startDate,t.startDate)&&(0,Ba.default)(r.endDate,t.endDate)}};function as(e){return e.map(function(r){return Dl(Dl({},Vm),r)})}var Km=as([{label:"Today",range:function(){return{startDate:Qe.startOfToday,endDate:Qe.endOfToday}}},{label:"Yesterday",range:function(){return{startDate:Qe.startOfYesterday,endDate:Qe.endOfYesterday}}},{label:"This Week",range:function(){return{startDate:Qe.startOfWeek,endDate:Qe.endOfWeek}}},{label:"Last Week",range:function(){return{startDate:Qe.startOfLastWeek,endDate:Qe.endOfLastWeek}}},{label:"This Month",range:function(){return{startDate:Qe.startOfMonth,endDate:Qe.endOfMonth}}},{label:"Last Month",range:function(){return{startDate:Qe.startOfLastMonth,endDate:Qe.endOfLastMonth}}}]);Zt.defaultStaticRanges=Km;var Qm=[{label:"days up to today",range:function(r){return{startDate:(0,Tr.default)(Qe.startOfToday,(Math.max(Number(r),1)-1)*-1),endDate:Qe.endOfToday}},getCurrentValue:function(r){return(0,Ba.default)(r.endDate,Qe.endOfToday)?r.startDate?(0,gl.default)(Qe.endOfToday,r.startDate)+1:"∞":"-"}},{label:"days starting today",range:function(r){var t=new Date;return{startDate:t,endDate:(0,Tr.default)(t,Math.max(Number(r),1)-1)}},getCurrentValue:function(r){return(0,Ba.default)(r.startDate,Qe.startOfToday)?r.endDate?(0,gl.default)(r.endDate,Qe.startOfToday)+1:"∞":"-"}}];Zt.defaultInputRanges=Qm;var un={};function aa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?aa=function(t){return typeof t}:aa=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},aa(e)}Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var Ta=Xm(S),it=Jm(Wt);function Jm(e){return e&&e.__esModule?e:{default:e}}function ns(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(ns=function(a){return a?t:r})(e)}function Xm(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||aa(e)!=="object"&&typeof e!="function")return{default:e};var t=ns(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Zm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Cl(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eh(e,r,t){return r&&Cl(e.prototype,r),t&&Cl(e,t),e}function th(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&zn(e,r)}function zn(e,r){return zn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},zn(e,r)}function rh(e){var r=nh();return function(){var n=Ua(e),a;if(r){var i=Ua(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return ah(this,a)}}function ah(e,r){return r&&(aa(r)==="object"||typeof r=="function")?r:is(e)}function is(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ua(e)}function ih(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Ol=0,Tl=99999,vi=function(e){th(t,e);var r=rh(t);function t(n,a){var i;return Zm(this,t),i=r.call(this,n,a),ih(is(i),"onChange",function(l){var s=i.props.onChange,d=parseInt(l.target.value,10);d=isNaN(d)?0:Math.max(Math.min(Tl,d),Ol),s(d)}),i}return eh(t,[{key:"shouldComponentUpdate",value:function(a){var i=this.props,l=i.value,s=i.label,d=i.placeholder;return l!==a.value||s!==a.label||d!==a.placeholder}},{key:"render",value:function(){var a=this.props,i=a.label,l=a.placeholder,s=a.value,d=a.styles,f=a.onBlur,c=a.onFocus;return Ta.default.createElement("div",{className:d.inputRange},Ta.default.createElement("input",{className:d.inputRangeInput,placeholder:l,value:s,min:Ol,max:Tl,onChange:this.onChange,onFocus:c,onBlur:f}),Ta.default.createElement("span",{className:d.inputRangeLabel},i))}}]),t}(Ta.Component);vi.propTypes={value:it.default.oneOfType([it.default.string,it.default.number]),label:it.default.oneOfType([it.default.element,it.default.node]).isRequired,placeholder:it.default.string,styles:it.default.shape({inputRange:it.default.string,inputRangeInput:it.default.string,inputRangeLabel:it.default.string}).isRequired,onBlur:it.default.func.isRequired,onFocus:it.default.func.isRequired,onChange:it.default.func.isRequired};vi.defaultProps={value:"",placeholder:"-"};var lh=vi;un.default=lh;function na(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?na=function(t){return typeof t}:na=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},na(e)}Object.defineProperty(ma,"__esModule",{value:!0});ma.default=void 0;var fr=dh(S),st=pn(Wt),ur=pn(gr),Pl=Zt,oh=qt,sh=pn(un),jl=pn(hr);function pn(e){return e&&e.__esModule?e:{default:e}}function ls(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(ls=function(a){return a?t:r})(e)}function dh(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||na(e)!=="object"&&typeof e!="function")return{default:e};var t=ls(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Nl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Ml(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Nl(Object(t),!0).forEach(function(n){Na(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function ch(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Rl(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fh(e,r,t){return r&&Rl(e.prototype,r),t&&Rl(e,t),e}function uh(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Hn(e,r)}function Hn(e,r){return Hn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Hn(e,r)}function ph(e){var r=mh();return function(){var n=Ya(e),a;if(r){var i=Ya(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return bh(this,a)}}function bh(e,r){return r&&(na(r)==="object"||typeof r=="function")?r:os(e)}function os(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ya(e)}function Na(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var $i=function(e){uh(t,e);var r=ph(t);function t(n){var a;return ch(this,t),a=r.call(this,n),Na(os(a),"handleRangeChange",function(i){var l=a.props,s=l.onChange,d=l.ranges,f=l.focusedRange,c=d[f[0]];!s||!c||s(Na({},c.key||"range".concat(f[0]+1),Ml(Ml({},c),i)))}),a.state={rangeOffset:0,focusedInput:-1},a}return fh(t,[{key:"getRangeOptionValue",value:function(a){var i=this.props,l=i.ranges,s=l===void 0?[]:l,d=i.focusedRange,f=d===void 0?[]:d;if(typeof a.getCurrentValue!="function")return"";var c=s[f[0]]||{};return a.getCurrentValue(c)||""}},{key:"getSelectedRange",value:function(a,i){var l=a.findIndex(function(d){return!d.startDate||!d.endDate||d.disabled?!1:i.isSelected(d)}),s=a[l];return{selectedRange:s,focusedRangeIndex:l}}},{key:"render",value:function(){var a=this,i=this.props,l=i.headerContent,s=i.footerContent,d=i.onPreviewChange,f=i.inputRanges,c=i.staticRanges,b=i.ranges,u=i.renderStaticRangeLabel,p=i.rangeColors,h=i.className;return fr.default.createElement("div",{className:(0,jl.default)(ur.default.definedRangesWrapper,h)},l,fr.default.createElement("div",{className:ur.default.staticRanges},c.map(function(x,v){var y=a.getSelectedRange(b,x),_=y.selectedRange,D=y.focusedRangeIndex,w;return x.hasCustomRendering?w=u(x):w=x.label,fr.default.createElement("button",{type:"button",className:(0,jl.default)(ur.default.staticRange,Na({},ur.default.staticRangeSelected,!!_)),style:{color:_?_.color||p[D]:null},key:v,onClick:function(){return a.handleRangeChange(x.range(a.props))},onFocus:function(){return d&&d(x.range(a.props))},onMouseOver:function(){return d&&d(x.range(a.props))},onMouseLeave:function(){d&&d()}},fr.default.createElement("span",{tabIndex:-1,className:ur.default.staticRangeLabel},w))})),fr.default.createElement("div",{className:ur.default.inputRanges},f.map(function(x,v){return fr.default.createElement(sh.default,{key:v,styles:ur.default,label:x.label,onFocus:function(){return a.setState({focusedInput:v,rangeOffset:0})},onBlur:function(){return a.setState({rangeOffset:0})},onChange:function(_){return a.handleRangeChange(x.range(_,a.props))},value:a.getRangeOptionValue(x)})})),s)}}]),t}(fr.Component);$i.propTypes={inputRanges:st.default.array,staticRanges:st.default.array,ranges:st.default.arrayOf(oh.rangeShape),focusedRange:st.default.arrayOf(st.default.number),onPreviewChange:st.default.func,onChange:st.default.func,footerContent:st.default.any,headerContent:st.default.any,rangeColors:st.default.arrayOf(st.default.string),className:st.default.string,renderStaticRangeLabel:st.default.func};$i.defaultProps={inputRanges:Pl.defaultInputRanges,staticRanges:Pl.defaultStaticRanges,ranges:[],rangeColors:["#3d91ff","#3ecf8e","#fed14c"],focusedRange:[0,0]};var hh=$i;ma.default=hh;function ia(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ia=function(t){return typeof t}:ia=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ia(e)}Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var Pa=$h(S),gh=ha(Wt),ss=ha(pa),ds=ha(ma),El=zt,_h=ha(hr),vh=ha(gr);function ha(e){return e&&e.__esModule?e:{default:e}}function cs(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(cs=function(a){return a?t:r})(e)}function $h(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||ia(e)!=="object"&&typeof e!="function")return{default:e};var t=cs(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Il(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Sn(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Il(Object(t),!0).forEach(function(n){yh(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Il(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function yh(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ga(){return Ga=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ga.apply(this,arguments)}function xh(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Ll(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wh(e,r,t){return r&&Ll(e.prototype,r),t&&Ll(e,t),e}function kh(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Bn(e,r)}function Bn(e,r){return Bn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Bn(e,r)}function Sh(e){var r=Oh();return function(){var n=Va(e),a;if(r){var i=Va(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Dh(this,a)}}function Dh(e,r){return r&&(ia(r)==="object"||typeof r=="function")?r:Ch(e)}function Ch(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Va(e)}var yi=function(e){kh(t,e);var r=Sh(t);function t(n){var a;return xh(this,t),a=r.call(this,n),a.state={focusedRange:[(0,El.findNextRangeIndex)(n.ranges),0]},a.styles=(0,El.generateStyles)([vh.default,n.classNames]),a}return wh(t,[{key:"render",value:function(){var a=this,i=this.state.focusedRange;return Pa.default.createElement("div",{className:(0,_h.default)(this.styles.dateRangePickerWrapper,this.props.className)},Pa.default.createElement(ds.default,Ga({focusedRange:i,onPreviewChange:function(s){return a.dateRange.updatePreview(s?a.dateRange.calcNewSelection(s,typeof s=="string"):null)}},this.props,{range:this.props.ranges[i[0]],className:void 0})),Pa.default.createElement(ss.default,Ga({onRangeFocusChange:function(s){return a.setState({focusedRange:s})},focusedRange:i},this.props,{ref:function(s){return a.dateRange=s},className:void 0})))}}]),t}(Pa.Component);yi.defaultProps={};yi.propTypes=Sn(Sn(Sn({},ss.default.propTypes),ds.default.propTypes),{},{className:gh.default.string});var Th=yi;fn.default=Th;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DateRange",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Calendar",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"DateRangePicker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"DefinedRange",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"defaultInputRanges",{enumerable:!0,get:function(){return i.defaultInputRanges}}),Object.defineProperty(e,"defaultStaticRanges",{enumerable:!0,get:function(){return i.defaultStaticRanges}}),Object.defineProperty(e,"createStaticRanges",{enumerable:!0,get:function(){return i.createStaticRanges}});var r=l(pa),t=l(ba),n=l(fn),a=l(ma),i=Zt;function l(s){return s&&s.__esModule?s:{default:s}}})(go);function Ph({size:e=32}){return o.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",children:o.jsx("path",{fill:"currentColor",d:"M5 22q-.825 0-1.413-.587Q3 20.825 3 20V6q0-.825.587-1.412Q4.175 4 5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588Q21 5.175 21 6v14q0 .825-.587 1.413Q19.825 22 19 22Zm0-2h14V10H5v10ZM5 8h14V6H5Zm0 0V6v2Zm7 6q-.425 0-.712-.288Q11 13.425 11 13t.288-.713Q11.575 12 12 12t.713.287Q13 12.575 13 13t-.287.712Q12.425 14 12 14Zm-4 0q-.425 0-.713-.288Q7 13.425 7 13t.287-.713Q7.575 12 8 12t.713.287Q9 12.575 9 13t-.287.712Q8.425 14 8 14Zm8 0q-.425 0-.712-.288Q15 13.425 15 13t.288-.713Q15.575 12 16 12t.712.287Q17 12.575 17 13t-.288.712Q16.425 14 16 14Zm-4 4q-.425 0-.712-.288Q11 17.425 11 17t.288-.712Q11.575 16 12 16t.713.288Q13 16.575 13 17t-.287.712Q12.425 18 12 18Zm-4 0q-.425 0-.713-.288Q7 17.425 7 17t.287-.712Q7.575 16 8 16t.713.288Q9 16.575 9 17t-.287.712Q8.425 18 8 18Zm8 0q-.425 0-.712-.288Q15 17.425 15 17t.288-.712Q15.575 16 16 16t.712.288Q17 16.575 17 17t-.288.712Q16.425 18 16 18Z"})})}function jh({fetchData:e}){const r=Z(ca),t={startDate:null,endDate:null,key:"date"},[n,a]=S.useState(t),{css:i}=Ge(),l=S.useRef(!1),s=u=>u instanceof Date&&!Number.isNaN(u.getTime()),d=()=>{l.current=!0,f(n),Jr()},f=u=>{const{startDate:p,endDate:h}=u,x=p?ot(p,"Y-m-d"):"",v=h?ot(h,"Y-m-d"):"",y={start_date:x,end_date:v},{pageIndex:_,pageSize:D,sortBy:w,filters:m,globalFilter:$,conditions:O}=r.details;e({pageIndex:_,pageSize:D,sortBy:w,filters:m,globalFilter:$,conditions:O,entriesFilterByDate:y})},c=()=>{a(t),f(t),l.current=!1,Jr()},b=Ye(G({},n),{startDate:s(n.startDate)?n.startDate:new Date,endDate:s(n.endDate)?n.endDate:new Date});return o.jsx("div",{className:"mr-2",children:o.jsxs(ri,{children:[o.jsxs("div",{className:"flx",children:[l.current&&s(n.startDate)&&s(n.endDate)&&o.jsxs("div",{className:"btcd-custom-date-range white ml-2",children:[o.jsxs("span",{className:"m-a",children:[" ",`${ot(n.startDate,"Y-m-d")} - ${ot(n.endDate,"Y-m-d")}`]}),o.jsx("button",{"aria-label":"Close",type:"button",className:"icn-btn",onClick:c,children:o.jsx(bt,{size:"12"})})]}),o.jsx(Pr,{msg:g("Filter Entries between Dates"),children:o.jsx("button",{"aria-label":"Fitler",className:i(oa.tableActionBtn,kt.ml2),style:{"--tooltip-txt":`'${g("Filter")}'`},type:"button",children:o.jsx(Ph,{size:"16"})})})]}),o.jsxs("div",{style:{minHeight:"200px !important"},className:i(oa.dataRange),children:[o.jsx(go.DateRange,{onChange:u=>a(u.date),moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!0,editableDateInputs:!0,ranges:[b],maxDate:new Date,showSelectionPreview:!1,showDateDisplay:!0,startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",direction:"horizontal"}),o.jsxs("div",{className:i({flx:"",jc:"end",pt:8,pb:6}),children:[o.jsx(St,{className:i(kt.mr1),size:"sm",onClick:d,children:g("Search")}),o.jsx(St,{variant:"primary-outline",size:"sm",onClick:c,children:g("Clear")})]})]})]})})}function Nh({size:e=30,stroke:r=2,cls:t=""}){return o.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 30 30",children:[o.jsx("ellipse",{className:"svg-icn",strokeWidth:r,cx:"15",cy:"15",rx:"11.95",ry:"11.87"}),o.jsx("polyline",{className:"svg-icn",strokeWidth:r,points:"11.07 14.88 14.39 18.26 20.93 11.74"})]})}function Mh({size:e=24,stroke:r="2"}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-list-filter-icon lucide-list-filter",children:[o.jsx("path",{d:"M2 5h20"}),o.jsx("path",{d:"M6 12h12"}),o.jsx("path",{d:"M9 19h6"})]})}function Rh({size:e=24,stroke:r="2"}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-list-filter-plus-icon lucide-list-filter-plus",children:[o.jsx("path",{d:"M12 5H2"}),o.jsx("path",{d:"M6 12h12"}),o.jsx("path",{d:"M9 19h6"}),o.jsx("path",{d:"M16 5h6"}),o.jsx("path",{d:"M19 8V2"})]})}function Eh({size:e=16}){return o.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M2 12a9 9 0 0 0 9 9c2.39 0 4.68-.94 6.4-2.6l-1.5-1.5A6.706 6.706 0 0 1 11 19c-6.24 0-9.36-7.54-4.95-11.95C10.46 2.64 18 5.77 18 12h-3l4 4h.1l3.9-4h-3a9 9 0 0 0-18 0Z"})})}function Ih({className:e,onChange:r,value:t,label:n,children:a,style:i}){return o.jsxs("div",{className:`btcd-mt-sel ${e}`,style:i,children:[o.jsx("select",{onChange:r,value:t||"",children:a}),o.jsx("small",{children:n})]})}const fs=["empty","not_empty","today","till_today","tomorrow","yesterday","till_yesterday","till_yesterday","last_7_days","last_30_days","last_60_days","last_90_days","last_120_days","next_7_days","next_30_days","next_60_days","next_90_days","next_120_days","current_week","next_week","last_week","current_month","next_month","last_month","current_year","next_year","last_year"],Lh=[{key:"user_id",lbl:"User",type:"user",typ:"user",name:"User"},{key:"user_ip",lbl:"IP address",type:"text",typ:"text",name:"IP address"},{key:"referer",lbl:"Refer URL",type:"text",typ:"text",name:"Refer URL"},{key:"user_device",lbl:"Device",type:"text",typ:"text",name:"Device"},{key:"status",lbl:"Entry Status",type:"boolean",typ:"boolean",name:"Entry Status"},{key:"created_at",lbl:"IP address",type:"date",typ:"date",name:"Created Time"}],Ah=(e,r,t)=>{var a;const n=[{title:"",type:"group",childs:[{label:g("Equal"),value:"equal"},{label:g("Not equal"),value:"not_equal"}]}];return e.match(/^(boolean)$/)||n[0].childs.push({label:g("Empty"),value:"empty"},{label:g("Not empty"),value:"not_empty"}),e.match(/^(number|color|url|password|date|time|datetime|month|week|boolean)$/)||n[0].childs.push({label:g("Start With"),value:"start_with"},{label:g("End With"),value:"end_with"},{label:g("Not Start With"),value:"not_start_with"},{label:g("Not End With"),value:"not_end_with"}),!e.match(/^(number|date|time|datetime|month|week|boolean)$/)&&!e.match(/^(check|radio)$/)&&(n[0].childs.push({label:g("Not contains"),value:"not_contain"}),n[0].childs.push({label:g("Contains"),value:"contain"})),(e==="select"&&((a=r==null?void 0:r[t])!=null&&a.mul)||e==="check")&&n[0].childs.push({label:g("Contain All"),value:"contain_all"}),e.match(/^(number|date|time|datetime|month|week)$/)&&(n[0].childs.push({label:g("Greater Than"),value:"greater_than"}),n[0].childs.push({label:g("Less Than"),value:"less_than"}),n[0].childs.push({label:g("Greater Than or Equal"),value:"greater_than_equal"}),n[0].childs.push({label:g("Less Than or Equal"),value:"less_than_equal"})),e.match(/^(date|datetime)$/)&&(n.push({title:"Day",type:"group",childs:[{label:g("Today"),value:"today"},{label:g("Till Today"),value:"till_today"},{label:g("Tomorrow"),value:"tomorrow"},{label:g("Yesterday"),value:"yesterday"},{label:g("Till Yesterday"),value:"till_yesterday"},{label:g("Last 7 Days"),value:"last_7_days"},{label:g("Last 30 Days"),value:"last_30_days"},{label:g("Last 60 Days"),value:"last_60_days"},{label:g("Last 90 Days"),value:"last_90_days"},{label:g("Last 120 Days"),value:"last_120_days"},{label:g("Next 7 Days"),value:"next_7_days"},{label:g("Next 30 Days"),value:"next_30_days"},{label:g("Next 60 Days"),value:"next_60_days"},{label:g("Next 90 Days"),value:"next_90_days"},{label:g("Next 120 Days"),value:"next_120_days"}]}),n.push({title:"Week",type:"group",childs:[{label:g("Current Week"),value:"current_week"},{label:g("Next Week"),value:"next_week"},{label:g("Last Week"),value:"last_week"}]}),n.push({title:"Month",type:"group",childs:[{label:g("Current Month"),value:"current_month"},{label:g("Next Month"),value:"next_month"},{label:g("Last Month"),value:"last_month"}]}),n.push({title:"Year",type:"group",childs:[{label:g("Current Year"),value:"current_year"},{label:g("Next Year"),value:"next_year"},{label:g("Last Year"),value:"last_year"}]})),n},Fh=(e,r)=>["user","select","check"].includes(e)?r===""?[]:r.split(","):r;function Dn({fieldVal:e,delLogic:r,lgcInd:t,subLgcInd:n,subSubLgcInd:a,value:i,changeLogic:l,logicValue:s,changeValue:d,changeFormField:f}){var D,w;const c=Z(Rr),u=Z(Zn).concat(Lh),{userMail:p}=po(),h=fs;let x="",v="",y="";(D=u==null?void 0:u.find)==null||D.call(u,m=>{if(m.key===e)return m.type.match(/^(check|radio|select|html-select|image-select)$/)?x="text":x=m.type,v=m.type,y=m.key,!0});const _=()=>{var $,O,E,C,N,L;let m=[];if(v==="select"){const{optionsList:R}=(c==null?void 0:c[y])||{};return R.reduce((H,te)=>{const re=Object.keys(te)[0],de=Object.values(te)[0];return H.push({type:"group",title:re,childs:de.map(ke=>({label:ke.lbl,value:ke.val||ke.lbl}))}),H},[])}if(["decision-box","gdpr"].includes(v)){const R=c==null?void 0:c[y];return[{label:($=R==null?void 0:R.msg)==null?void 0:$.checked,value:(O=R==null?void 0:R.msg)==null?void 0:O.checked},{label:(E=R==null?void 0:R.msg)==null?void 0:E.unchecked,value:(C=R==null?void 0:R.msg)==null?void 0:C.unchecked}]}return m=(L=(N=c==null?void 0:c[y])==null?void 0:N.opt)==null?void 0:L.map(R=>({label:R.lbl,value:R.val||R.lbl})),v==="user"&&(m=p==null?void 0:p.map(R=>({label:R.label,value:R.id}))),v==="boolean"&&(m=[{label:g("Read entries"),value:"0"},{label:g("Unread entries"),value:"1"},{label:g("Confirmed entries"),value:"3"},{label:g("Unconfirmed entries"),value:"2"},{label:g("Draft entries"),value:"9"}]),m};return o.jsxs("div",{className:"flx pos-rel btcd-logic-blk",children:[o.jsx("span",{className:"btcd-logic-chip logic-chip-custom mr-2",children:"IF"}),o.jsxs(Ih,{label:"Form Fields",value:e||"",style:{width:720},onChange:m=>f(m.target.value,t,n,a),className:"mt-0",children:[o.jsx("option",{value:"",children:g("Select Form Field")}),u.map(m=>!m.type.match(/^(file-up|recaptcha)$/)&&o.jsx("option",{value:m.key,children:m.name},`ff-lb-${m.key}`))]}),o.jsx("svg",{height:"35",width:"100",children:o.jsx("line",{x1:"0",y1:"20",x2:"40",y2:"20",style:{stroke:"#b9c5ff",strokeWidth:1}})}),o.jsx(ho,{action:m=>l(m,t,n,a),placeholder:g("Logic"),value:s||"",titleClassName:"w-7",className:"mr-2 report-drpdwn w-10 mt-0",options:Ah(x,c,y)}),!h.includes(s)&&o.jsx("svg",{height:"35",width:"100",children:o.jsx("line",{x1:"0",y1:"20",x2:"40",y2:"20",style:{stroke:"#b9c5ff",strokeWidth:1}})}),!h.includes(s)&&(v.match(/select|check|radio|user|boolean/g)?o.jsx(uo,{className:"msl-wrp-options btcd-paper-drpdwn w-10",defaultValue:i.toString()||"",onChange:m=>d(m,t,v),options:_(),customValue:!0,singleSelect:v==="select"?!((w=c==null?void 0:c[y])!=null&&w.mul):v==="check"?!1:v.match(/radio|boolean/g)&&!0,fldType:v}):o.jsx(yd,{label:"Value",type:x,onChange:m=>d(m.target.value,t),value:i||""})),o.jsx("div",{className:"w-1",children:o.jsx(Lt,{onClick:()=>r(t),icn:!0,className:"ml-2 white mr-2 sh-sm abc",children:o.jsx(ua,{size:"16"})})})]})}function Cn({logic:e,nested:r,onChange:t,className:n=null}){return o.jsxs(o.Fragment,{children:[o.jsx("div",{style:{height:r?5:10},children:o.jsx("svg",{height:"60",width:"50",children:o.jsx("line",{x1:"20",y1:r?6:10,x2:"20",y2:"0",style:{stroke:"#b9c5ff",strokeWidth:1}})})}),o.jsx("div",{children:o.jsxs("select",{value:e,onChange:t,className:`btcd-logic-chip ${n} ${r&&"scl-7 op-8"}`,children:[o.jsx("option",{value:"or",children:g("OR")}),o.jsx("option",{value:"and",children:g("AND")})]})}),o.jsx("div",{style:{height:r?5:10},children:o.jsx("svg",{height:"60",width:"50",children:o.jsx("line",{x1:"20",y1:r?6:10,x2:"20",y2:"0",style:{stroke:"#b9c5ff",strokeWidth:1}})})})]})}function qh({formFields:e,dataConf:r,setDataConf:t,reportInd:n}){var h,x,v;const a=fs,i=(y,_)=>{t(D=>{const w=Ve(D);return w[n].details.conditions[_]=y,w})},l=(y,_)=>{t(D=>{const w=Ve(D);return w[n].details.conditions[_].field=y,w[n].details.conditions[_].val="",w})},s=(y,_,D=null)=>{t(w=>{const m=Ve(w);return m[n].details.conditions[_].val=Fh(D,y),m})},d=(y,_)=>{t(D=>{const w=Ve(D);return w[n].details.conditions[_].val="",a.includes(y)&&(w[n].details.conditions[_].val=y),w[n].details.conditions[_].logic=y,w})},f=y=>{var _,D,w;((w=(D=(_=r[n])==null?void 0:_.details)==null?void 0:D.conditions)==null?void 0:w.length)>1&&t(m=>{const $=Ve(m);return y!==0?$[n].details.conditions.splice(y-1,2):$[n].details.conditions.splice(y,2),$})},c=y=>{y==="and"?t(_=>{const D=Ve(_);return D[n].details.conditions.push("and"),D[n].details.conditions.push({field:"",logic:"",val:""}),D}):y==="or"&&t(_=>{const D=Ve(_);return D[n].details.conditions.push("or"),D[n].details.conditions.push({field:"",logic:"",val:""}),D})},b=(y,_)=>{y==="and"?t(D=>{const w=Ve(D);return w[n].details.conditions[_].push("and"),w[n].details.conditions[_].push({field:"",logic:"",val:""}),w}):y==="or"&&t(D=>{const w=Ve(D);return w[n].details.conditions[_].push("or"),w[n].details.conditions[_].push({field:"",logic:"",val:""}),w})},u=(y,_,D)=>{y==="and"?t(w=>{const m=Ve(w);return m[n].details.conditions[_][D].push("and"),m[n].details.conditions[_][D].push({field:"",logic:"",val:""}),m}):y==="or"&&t(w=>{const m=Ve(w);return m[n].details.conditions[_][D].push("or"),m[n].details.conditions[_][D].push({field:"",logic:"",val:""}),m})},p=(y,_)=>{t(D=>{const w=Ve(D);return w[n].details.conditions[_].val=y,w})};return o.jsxs("div",{style:{width:800},children:[o.jsx("div",{children:(v=(x=(h=r[n])==null?void 0:h.details)==null?void 0:x.conditions)==null?void 0:v.map((y,_)=>o.jsxs("span",{children:[typeof y=="object"&&!Array.isArray(y)&&o.jsx(Dn,{fieldVal:y.field,changeFormField:l,changeValue:s,logicValue:y.logic,changeLogic:d,delLogic:f,lgcInd:_,value:y.val,formFields:e,setValue:p}),typeof y=="string"&&o.jsx(Cn,{logic:y,onChange:D=>i(D.target.value,_),className:"logic-chip-custom"}),Array.isArray(y)&&o.jsxs("div",{className:"p-2 pl-6 br-10 btcd-logic-grp",children:[y.map((D,w)=>o.jsxs("span",{children:[typeof D=="object"&&!Array.isArray(D)&&o.jsx(Dn,{fieldVal:D.field,changeFormField:l,changeValue:s,logicValue:D.logic,changeLogic:d,delLogic:f,lgcInd:_,subLgcInd:w,value:D.val,formFields:e,setValue:p}),typeof D=="string"&&o.jsx(Cn,{logic:D,nested:!0,onChange:m=>i(m.target.value,_),className:"logic-chip-custom"}),Array.isArray(D)&&o.jsxs("div",{className:"p-2 pl-6 br-10 btcd-logic-grp",children:[D.map((m,$)=>o.jsxs("span",{children:[typeof m=="object"&&!Array.isArray(m)&&o.jsx(Dn,{fieldVal:m.field,changeFormField:l,changeValue:s,logicValue:m.logic,changeLogic:d,delLogic:f,lgcInd:_,subLgcInd:w,subSubLgcInd:$,value:m.val,formFields:e,setValue:p}),typeof m=="string"&&o.jsx(Cn,{logic:m,nested:!0,onChange:O=>i(O.target.value,_),className:"logic-chip-custom"})]},`subsubLogic-${$+90}`)),o.jsx("div",{className:"btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsx(Lt,{icn:!0,className:"blue",children:o.jsx(bt,{size:"14",className:"icn-rotate-45"})}),o.jsxs(Lt,{onClick:()=>u("and",_,w),className:"blue ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"," "]}),o.jsxs(Lt,{onClick:()=>u("or",_,w),className:"blue ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"," "]})]})})]})]},`subLogic-${w*7}`)),o.jsx("div",{className:" btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsx(Lt,{icn:!0,className:"blue sh-sm",children:o.jsx(bt,{size:"14",className:"icn-rotate-45"})}),o.jsxs(Lt,{onClick:()=>b("and",_),className:"gray ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"]}),o.jsxs(Lt,{onClick:()=>b("or",_),className:"gray ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"]})]})})]})]},`logic-${_+44}`))}),o.jsx("div",{className:"btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsxs(Lt,{onClick:()=>c("and"),className:"blue ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"]}),o.jsxs(Lt,{onClick:()=>c("or"),className:"blue ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"]})]})})]})}function Wh({fetchData:e,setRefreshResp:r}){var be,J,z;const t=Z(ca),[n,a]=je(Ja),[i,l]=je(da),s=i.findIndex(P=>{var T;return(P==null?void 0:P.id)&&P.id.toString()===((T=n==null?void 0:n.id)==null?void 0:T.toString())}),d=Z(Zn),[f,c]=S.useState(!1),[b,u]=S.useState(s||0),{formID:p}=Dt(),[h,x]=S.useState({show:!1}),[v,y]=S.useState([]),[_,D]=S.useState(!1),[w,m]=S.useState({show:!1,msg:""}),$=Z(rt),{isPro:O}=$,[E,C]=S.useState(!1),[N,L]=S.useState({show:!1}),{css:R}=Ge();S.useEffect(()=>{u(s)},[n]),S.useEffect(()=>{H()},[i]),S.useEffect(()=>{var P,T,k;if(i[b]&&((P=i[b])!=null&&P.details)&&!((k=(T=i[b])==null?void 0:T.details)!=null&&k.conditions)){const A=Ve([...i]);A[b]&&(A[b].details.conditions=[{field:"",logic:"",val:""},"or",{field:"",logic:"",val:""}],l(A))}},[]);const H=()=>{const P=[];return i.forEach(T=>{var k;return T.id&&P.push({label:((k=T==null?void 0:T.details)==null?void 0:k.report_name)||"",value:T.id.toString(),isDefault:T.isDefault})}),y([...P]),P},te=P=>{const T=i.find(k=>{var A;return((A=k==null?void 0:k.id)==null?void 0:A.toString())===P.toString()});a({id:P,isDefault:(T==null?void 0:T.isDefault)==="1"}),r(1)},re=()=>{var k,A;let{id:P}=i[b];if(_||(P=0),((A=(k=i[b])==null?void 0:k.details)==null?void 0:A.report_name)===""){L({show:!0,msg:g("report name cann't be empty")});return}C(!0);const T=Ae({report:i[b].details,formId:p,reportId:P},"bitforms_save_report").then(q=>{var F;if(q!=null&&q.success){const{data:I}=q;_&&n.id===P&&te(I.report_id);const Q=Ve(i);Q[b].id=(F=I==null?void 0:I.report_id)==null?void 0:F.toString(),l(Q)}else if(!(q!=null&&q.success))return"Error occured";return C(!1),c(!1),q});ht.promise(T,{loading:g("Saving..."),success:q=>{var F;return((F=q==null?void 0:q.data)==null?void 0:F.message)||(q==null?void 0:q.data)},error:g("Error occurred, Please try again.")})},de=P=>{const{value:T,name:k}=P.target,A=Ve([...i]);A[b].details[k]=T,l(A)},ke=()=>{var T;c(!1);const P=Ve([...i]);(T=P[b])!=null&&T.id||(P.splice(b,1),l(P))},We=()=>{if(!O){m({show:!0,msg:"Only the default report is available in the free version!"});return}D(!1);const P=Ve([...i]),k=P.push({isDefault:"0",type:"table",details:{report_name:"Untitled filter ",hiddenColumns:[],pageSize:10,sortBy:[],filters:[],globalFilter:"",order:[],conditions:[{field:"",logic:"",val:""},"or",{field:"",logic:"",val:""}]}})-1;l(P),setTimeout(()=>{u(k),c(!0)},1)},Ue=()=>{h.show=!1,x(G({},h))};return o.jsxs(o.Fragment,{children:[o.jsx(ei,{snack:N,setSnackbar:L}),o.jsxs("div",{className:"flx",children:[o.jsxs(ri,{children:[o.jsxs("div",{className:`flx ${R(ze.filterDropdownTrigger)}`,children:[o.jsx("div",{className:R(ze.filterName),children:(be=t==null?void 0:t.details)==null?void 0:be.report_name}),o.jsx("span",{className:R(ze.filterIconRight),children:o.jsx(Mh,{size:"16",stroke:"2"})})]}),o.jsx(zh,{availableReports:v,setAvailableReports:y,setAvailableReport:H,reportFetchById:te,setReportIndex:u,setReportUpdate:D,setProModal:m,confMdl:h,setconfMdl:x,setshowMdl:c,createNewReport:We})]}),o.jsx("button",{className:R(ze.refreshButton),onClick:()=>{r(1)},type:"button",title:g("Refresh"),children:o.jsx(Eh,{size:"18"})}),o.jsxs("div",{children:[o.jsx(Za,{show:h.show,close:Ue,btnTxt:h.btnTxt,btnClass:h.btnClass,body:h.body,action:h.action}),o.jsx(jr,{md:!0,show:f,setModal:c,title:"Create Filter",style:{overflow:"auto"},onCloseMdl:ke,children:o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"flx mt-4",children:[o.jsx("label",{htmlFor:"name",children:"Name"}),o.jsx("input",{id:"name","aria-label":"Report name",type:"text",name:"report_name",value:((z=(J=i[b])==null?void 0:J.details)==null?void 0:z.report_name)||"",onChange:de,placeholder:"Please enter report name",className:"ml-2 btcd-paper-inp w-6"})]}),o.jsxs("div",{className:"mt-4",children:[o.jsx(qh,{formFields:d,dataConf:i,setDataConf:l,reportInd:b||0}),o.jsxs(St,{className:R(kt.ftRight,kt.mb3),onClick:re,children:[g("Save"),E&&o.jsx(Mr,{size:20,clr:"#fff",className:"ml-2"})]})]})]})})]}),o.jsx("div",{children:o.jsxs(jr,{sm:!0,show:w.show,setModal:()=>m({show:!1}),title:g("Premium Feature"),className:"pro-modal",children:[o.jsx("h4",{className:"txt-center mt-5",children:w.msg}),o.jsx("div",{className:"txt-center",children:o.jsx("a",{href:"https://www.bitapps.pro/bit-form",target:"_blank",rel:"noreferrer",children:o.jsx("button",{className:"btn btn-lg blue",type:"button",children:g("Buy Premium")})})})]})})]})]})}const ze={filterDropdownTrigger:{bd:"#fff",cr:"var(--bf-text-clr-darkgray)",b:"1px solid var(--bf-stroke-clr)",mnw:180,brs:"var(--bf-bdr-radius-sm)",px:"12px",ff:"var(--bf-font-family-base) !important",fts:"normal",fw:500,fs:14,lh:"17px",w:200,jc:"space-between",ai:"center",cur:"pointer",h:"var(--bf-thead-inp-height)","&:hover":{cr:"var(--bf-text-clr-dark)",bd:"var(--b-79-96)"}},filterName:{ws:"nowrap",ow:"hidden",toe:"ellipsis",flx:1},filterIconRight:{flx:"center",pl:8,h:"100%",bl:"1px solid var(--bf-stroke-clr)"},refreshButton:{flx:"center",b:"1px solid #e2e2e2",p:8,ml:8,brs:"var(--bf-bdr-radius-sm)",cur:"pointer",bd:"#fff",cr:"var(--bf-text-clr-darkgray)",":hover":{bd:"var(--b-79-96)",cr:"var(--blue)"},":focus-visible":{focusOutline:1},h:"var(--bf-thead-inp-height)"},filterListContainer:{p:"10px 5px",w:270},filterListHeader:{dy:"flex",ai:"center",jc:"space-between",mb:8},filterListTitle:{cr:"rgb(63, 63, 63)",fw:700,fs:15},newFilterBtn:{h:"var(--bf-thead-inp-height) !important",gp:5,w:"50% !important"},searchAndNewFilterRow:{dy:"flex",ai:"center",gp:8,pb:10,mb:10,bb:"1px solid var(--bf-stroke-clr)"},searchBoxWrapper:{pn:"relative",flx:1,tn:"all 0.2s ease",w:"50%","&:focus-within":{w:"60%"},"&:focus-within ~ button":{w:"40% !important"}},searchIcon:{pn:"absolute !important",tp:"50%",lt:10,transform:"translateY(-50%)",cr:"hsla(0, 0%, 50%, 100%)",pointerEvents:"none",lh:0},searchInput:{bxs:"border-box",b:"1px solid #E6E6E6!important",brs:"var(--bf-bdr-radius-sm) !important",p:"8px 10px 8px 32px!important",ff:"var(--bf-font-family-base) !important",fts:"normal",fw:500,fs:13,lh:15,w:"100%",h:"var(--bf-thead-inp-height)",mnh:"auto!important",oe:"none!important",tn:"0.2s all ease",":focus":{focusShadow:1},"::placeholder":{cr:"#999"}},filterItem:{dy:"flex",ai:"center",jc:"space-between",p:"8px 10px",brs:"var(--bf-bdr-radius-sm)",mb:4,h:42,tn:"all 0.3s ease",cur:"pointer",":hover":{bd:"var(--b-79-96)"},":hover .actions":{oy:1,dy:"inline-flex"},"&.active":{b:"1px solid var(--bf-stroke-clr)"}},filterItemContent:{dy:"flex",ai:"center",gp:8,flx:1,ow:"hidden"},filterItemLabel:{fs:14,fw:500,ff:"var(--bf-font-family-base) !important",ws:"nowrap",ow:"hidden",toe:"ellipsis"},tickIcon:{cr:"var(--bf-text-clr-darkgray)",flxs:0,mr:4},filterActions:{dy:"none",ai:"center",gp:4,oy:0,tn:"opacity 1s ease"},filterActionsVisible:{op:1,dy:"flex"},actionBtn:{flx:"center",b:"none",bd:"transparent",p:4,brs:4,cur:"pointer",cr:"hsl(0deg 1% 29%)",":hover":{bd:"var(--b-79-96)",cr:"var(--blue)"}},deleteBtn:{":hover":{cr:"var(--red-100-61)"}},noResults:{cr:"#666",fs:13,ta:"center",p:"20px 0"}},zh=({availableReports:e,setAvailableReports:r,setAvailableReport:t,reportFetchById:n,setProModal:a,confMdl:i,setconfMdl:l,setReportUpdate:s,setReportIndex:d,setshowMdl:f,createNewReport:c})=>{const{css:b}=Ge(),u=Z(rt),{isPro:p}=u,h=Z(ca),[x,v]=je(da),y=_e(la),_=C=>{const{value:N}=C.target,L=t().filter(R=>{var H;return(H=R.label)==null?void 0:H.toLowerCase().includes(N.toLowerCase())});r(L)},D=C=>{C!==(h==null?void 0:h.id)&&(n(C),y(N=>Ye(G({},N),{unsaved:!0})),Jr())},w=(C,N)=>{if(N.stopPropagation(),!p){a({show:!0,msg:"Edit option available in the pro version!"});return}s(!0);const L=e.findIndex(R=>R.value===C);setTimeout(()=>{d(L),f(!0)},1),Jr()},m=()=>{i.show=!1,l(G({},i))},$=(C,N)=>{N.stopPropagation(),i.btnTxt=g("Delete"),i.body=g("Are you sure to delete this report"),i.btnClass="",i.action=()=>{O(C),m()},i.show=!0,l(G({},i))},O=C=>{const N=Ae({report_id:C},"bitforms_delete_report").then(L=>{if(L!=null&&L.success){const R=x.findIndex(te=>te.id===C),H=Ve([...x]);H.splice(R,1),v(H)}else if(!(L!=null&&L.success))return"Error occured";return L});ht.promise(N,{loading:g("Deleting ..."),success:L=>{var R;return((R=L==null?void 0:L.data)==null?void 0:R.message)||(L==null?void 0:L.data)},error:g("Error occurred, Please try again.")})},E=()=>{c(),Jr()};return o.jsxs("div",{className:b(ze.filterListContainer),children:[o.jsx("div",{className:b(ze.filterListHeader),children:o.jsx("span",{className:b(ze.filterListTitle),children:g("Filter List")})}),o.jsxs("div",{className:b(ze.searchAndNewFilterRow),children:[o.jsxs("div",{className:b(ze.searchBoxWrapper),children:[o.jsx("span",{className:b(ze.searchIcon),children:o.jsx(Vs,{size:"14"})}),o.jsx("input",{"aria-label":"Search filters",type:"text",placeholder:g("Search filters..."),onChange:_,className:b(ze.searchInput)})]}),o.jsxs(St,{className:b(ze.newFilterBtn),onClick:E,size:"sm",children:[o.jsx(Rh,{size:15,stroke:"2"}),g("New Filter")]})]}),e.length===0&&o.jsx("div",{className:b(ze.noResults),children:g("No matching filter found")}),o.jsx(io,{style:{height:200},autoHide:!0,children:o.jsx("div",{children:e==null?void 0:e.map(C=>{const N=C.value===(h==null?void 0:h.id),L=C.isDefault.toString()==="0";return o.jsxs("div",{className:`${b(ze.filterItem)} ${N&&"active"}`,onClick:()=>D(C.value),role:"button",tabIndex:0,onKeyDown:R=>R.key==="Enter"&&D(C.value),children:[o.jsx("div",{className:b(ze.filterItemContent),children:o.jsx("span",{className:b(ze.filterItemLabel),title:C==null?void 0:C.label,children:C==null?void 0:C.label})}),o.jsxs("div",{children:[N&&o.jsx("span",{className:`${b(ze.tickIcon)} check-icon`,children:o.jsx(Nh,{size:18,stroke:2})}),L&&o.jsxs("div",{className:`${b(ze.filterActions)} actions`,children:[o.jsx("button",{className:b(ze.actionBtn),title:g("Edit"),onClick:R=>w(C.value,R),type:"button",children:o.jsx(Ks,{size:"18"})}),o.jsx("button",{className:b(ze.actionBtn,ze.deleteBtn),title:g("Delete"),onClick:R=>$(C.value,R),type:"button",children:o.jsx(ua,{size:"18"})})]})]})]},`filter-item-${C.value}`)})})})]})};function Hh(e){return o.jsxs("div",{className:"btcd-drawer",style:{right:e.show?0:-620,width:600},children:[o.jsxs("div",{className:"flx flx-between",children:[o.jsx("div",{className:"btcd-drawer-title",children:e.title}),o.jsxs("div",{className:"flx",children:[o.jsx("button",{onClick:e.relatedinfo,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Related Info"'},"aria-label":"icon-btn",type:"button",children:o.jsx(Qs,{size:"15"})}),o.jsx("button",{onClick:e.editData,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Edit"'},"aria-label":"icon-btn",type:"button",children:o.jsx(fa,{size:"15"})}),o.jsx("button",{onClick:e.delConfMdl,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Delete"'},"aria-label":"icon-btn",type:"button",children:o.jsx(ua,{size:"15"})}),o.jsx("button",{onClick:()=>e.close(!1),className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Close"'},"aria-label":"modal-close",type:"button",children:o.jsx(bt,{size:"14",stroke:"3"})})]})]}),o.jsx("small",{className:"btcd-mdl-subtitle",children:e.subTitle}),o.jsx("div",{className:"btcd-mdl-div"}),e.children]})}function Bh({size:e,rotateDeg:r=0}){return o.jsx("svg",{width:e,height:e,className:"btc-line-icn",viewBox:"-10 0 200 45",style:{transform:`rotate(${r}deg)`},fill:"currentColor",children:o.jsx("path",{className:"fill-icn",d:`M22.2,45.5L22.2,45.5C10,45.5,0,35.5,0,23.2l0-1C0,10,10,0,22.2,0h0c12.3,0,22.2,10,22.2,22.2v1 |