1import{r as k,N as Qm,Q as Pn,as as hr,aw as eu,aq as Jr,ae as Ka,bs as d2,aA as f2,R as K,bw as qm,Y as In,aW as Ym,_ as Zm,au as c2,ak as Ch,aN as u2,ag as Sh,aj as jh,a$ as tu,B as Ee,$ as h2,a0 as p2,dv as m2,a1 as g2,a2 as fn,ax as v2,aC as b2,bh as Ih,aF as y2,aE as k2,dw as w2,z as Xm,bl as A2,aI as x2,ac as _2,W as C2,by as S2,cx as j2,s as I2,j as d,T as Ke,A as Ko,dx as B2,dy as E2,dz as M2,cy as T2,e as gi,dA as F2,M as ws,K as D2,S as As,b as Yl,C as eg,u as xs,q as lo,h as N2,g as R2,a as Od,f as L2}from"./index-BrT3F50e.js";import{R as tg,A as O2,s as P2,S as z2,w as H2}from"./SendingWindowFields-lscLyaGL.js";import{F as ae,s as W2,c as $2,n as ng,t as V2,u as G2}from"./index-aiUU9uK4.js";import{s as K2,t as J2,u as U2,v as Q2,w as q2,x as Y2,y as jo,z as ig,A as Z2,B as X2,C as ew,D as tw,E as nw,F as iw,G as rw,H as sw,I as ow,J as aw,K as lw,L as Bh,M as Eh,N as Mh,O as dw,P as fw,Q as rg,R as cw,S as uw,T as hw,o as Pf,U as pw,V as mw}from"./index-CERVQ99E.js";import{C as sg}from"./ColorPicker-DglhZGl9.js";import{R as ct,C as Ce}from"./row-D-CZ3Hqh.js";import{D as gw}from"./index-DLzy7qZA.js";import{R as vw,P as pr}from"./index-DG69r-Xk.js";import{I as We}from"./index-BI2D8MSW.js";import{T as et}from"./index-Ck5YQX_M.js";import{A as nu}from"./index-DRrMmQ2c.js";import{R as vt,T as Th}from"./index-BDXfpOYW.js";import{S as re}from"./index-DF5CAhcZ.js";import{S as _n,D as og}from"./index-H103cwmy.js";import{S as Ar}from"./index-BPE400BZ.js";import{S as ai}from"./index-DDdNZ6K1.js";import{H as bw,a as yw,t as Ja}from"./index-Cw5ISF4o.js";import{D as Ua}from"./index-BI849doy.js";import{T as kw}from"./index-DIQCRyy8.js";import{T as xr,R as ag}from"./index-JIFlWX-e.js";import{P as lg}from"./index-DAk8RiMc.js";import{d as zf}from"./dayjs-CSchl2My.js";import{R as Ur,a as dg}from"./InfoCircleOutlined-BBL5635V.js";import{R as Fh}from"./Input-DOcZa3u3.js";import{F as ww,D as Io}from"./SettingsIcons-BTuZkbEP.js";import{I as Aw,b as xw,C as _w,l as Cw}from"./ImportGmailContactsButton-Cs4z1xHB.js";import{R as Sw}from"./PlusOutlined-B06sW5qS.js";import{b as Hf}from"./broadcast-DTyl9Ml3.js";import{R as jw}from"./SendOutlined-GcVD1f-c.js";import{F as wn}from"./index-DObnsLqY.js";import{p as Iw}from"./pricing-CyMwrRy-.js";import{u as ta}from"./user_setting-B8QAW5Mn.js";import{c as Bw}from"./contacts-C1xHMXIW.js";import{l as Ew}from"./list-8nSQBgxW.js";import{l as Mw}from"./segment-Bwak2QKo.js";var Tw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},Fw=function(e,n){return k.createElement(Qm,Pn({},e,{ref:n,icon:Tw}))},Dw=k.forwardRef(Fw);function Dh(t){return t!==null&&eu(t)==="object"}function Nh(t,e,n){if(t===!1||e===!1&&(!Dh(t)||!t.closeIcon))return null;var i=typeof e!="boolean"?e:void 0;if(Dh(t)){var r;return hr(hr({},t),{},{closeIcon:(r=t.closeIcon)!==null&&r!==void 0?r:i})}return n||t||e?{closeIcon:i}:"empty"}function Nw(t,e,n,i){return k.useMemo(function(){var r=Nh(t,e,!1),s=Nh(n,i,!0);return r!=="empty"?r:s},[n,i,t,e])}function Rw(t){var e=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,i=t.getBoundingClientRect(),r=i.top,s=i.right,o=i.bottom,a=i.left;return r>=0&&a>=0&&s<=e&&o<=n}function Lw(t,e,n){var i;return(i=n??e)!==null&&i!==void 0?i:t===null?"center":"bottom"}function Ow(t){return typeof t=="number"&&!Number.isNaN(t)}function Pw(t,e,n,i){var r=k.useState(void 0),s=Jr(r,2),o=s[0],a=s[1];Ka(function(){var g=typeof t=="function"?t():t;a(g||null)});var l=k.useState(null),f=Jr(l,2),c=f[0],u=f[1],h=d2(function(){if(o){!Rw(o)&&e&&o.scrollIntoView(i);var g=o.getBoundingClientRect(),v=g.left,b=g.top,w=g.width,A=g.height,y={left:v,top:b,width:w,height:A,radius:0};u(function(x){return JSON.stringify(x)!==JSON.stringify(y)?y:x})}else u(null)}),m=function(v){var b;return(b=Array.isArray(n?.offset)?n?.offset[v]:n?.offset)!==null&&b!==void 0?b:6};Ka(function(){return h(),window.addEventListener("resize",h),function(){window.removeEventListener("resize",h)}},[o,e,h]);var p=k.useMemo(function(){if(!c)return c;
1var g=m(0),v=m(1),b=Ow(n?.radius)?n?.radius:2;return{left:c.left-g,top:c.top-v,width:c.width+g*2,height:c.height+v*2,radius:b}},[c,n]);return[p,o]}var na={fill:"transparent",pointerEvents:"auto"},zw=function(e){var n=e.prefixCls,i=e.rootClassName,r=e.pos,s=e.showMask,o=e.style,a=o===void 0?{}:o,l=e.fill,f=l===void 0?"rgba(0,0,0,0.5)":l,c=e.open,u=e.animated,h=e.zIndex,m=e.disabledInteraction,p=f2(),g="".concat(n,"-mask-").concat(p),v=eu(u)==="object"?u?.placeholder:u,b=typeof navigator<"u"&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=b?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"};return K.createElement(qm,{open:c,autoLock:!0},K.createElement("div",{className:In("".concat(n,"-mask"),i),style:hr({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:h,pointerEvents:r&&!m?"none":"auto"},a)},s?K.createElement("svg",{style:{width:"100%",height:"100%"}},K.createElement("defs",null,K.createElement("mask",{id:g},K.createElement("rect",Pn({x:"0",y:"0"},w,{fill:"white"})),r&&K.createElement("rect",{x:r.left,y:r.top,rx:r.radius,width:r.width,height:r.height,fill:"black",className:v?"".concat(n,"-placeholder-animated"):""}))),K.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:f,mask:"url(#".concat(g,")")}),r&&K.createElement(K.Fragment,null,K.createElement("rect",Pn({},na,{x:"0",y:"0",width:"100%",height:r.top})),K.createElement("rect",Pn({},na,{x:"0",y:"0",width:r.left,height:"100%"})),K.createElement("rect",Pn({},na,{x:"0",y:r.top+r.height,width:"100%",height:"calc(100vh - ".concat(r.top+r.height,"px)")})),K.createElement("rect",Pn({},na,{x:r.left+r.width,y:"0",width:"calc(100vw - ".concat(r.left+r.width,"px)"),height:"100%"})))):null))},Hw=[0,0],Rh={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function fg(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e={};return Object.keys(Rh).forEach(function(n){e[n]=hr(hr({},Rh[n]),{},{autoArrow:t,targetOffset:Hw})}),e}fg();function Ww(t){var e,n=t.prefixCls,i=t.current,r=t.total,s=t.title,o=t.description,a=t.onClose,l=t.onPrev,f=t.onNext,c=t.onFinish,u=t.className,h=t.closable,m=Ym(h||{},!0),p=(e=h?.closeIcon)!==null&&e!==void 0?e:k.createElement("span",{className:"".concat(n,"-close-x")},"Ã"),g=!!h;return k.createElement("div",{className:In("".concat(n,"-content"),u)},k.createElement("div",{className:"".concat(n,"-inner")},g&&k.createElement("button",Pn({type:"button",onClick:a,"aria-label":"Close"},m,{className:"".concat(n,"-close")}),p),k.createElement("div",{className:"".concat(n,"-header")},k.createElement("div",{className:"".concat(n,"-title")},s)),k.createElement("div",{className:"".concat(n,"-description")},o),k.createElement("div",{className:"".concat(n,"-footer")},k.createElement("div",{className:"".concat(n,"-sliders")},r>1?Zm(Array.from({length:r}).keys()).map(function(v,b){return k.createElement("span",{key:v,className:b===i?"active":""})}):null),k.createElement("div",{className:"".concat(n,"-buttons")},i!==0?k.createElement("button",{className:"".concat(n,"-prev-btn"),onClick:l},"Prev"):null,i===r-1?k.createElement("button",{className:"".concat(n,"-finish-btn"),onClick:c},"Finish"):k.createElement("button",{className:"".concat(n,"-next-btn"),onClick:f},"Next")))))}var $w=function(e){var n=e.current,i=e.renderPanel;return k.createElement(k.Fragment,null,typeof i=="function"?i(e,n):k.createElement(Ww,e))},Vw=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","closable","builtinPlacements","disabledInteraction"],Gw={left:"50%",top:"50%",width:1,height:1},Lh={block:"center",inline:"center"},Kw=function(e){var n=e.prefixCls,i=n===void 0?"rc-tour":n,r=e.steps,s=r===void 0?[]:r,o=e.defaultCurrent,a=e.current,l=e.onChange,f
1=e.onClose,c=e.onFinish,u=e.open,h=e.mask,m=h===void 0?!0:h,p=e.arrow,g=p===void 0?!0:p,v=e.rootClassName,b=e.placement,w=e.renderPanel,A=e.gap,y=e.animated,x=e.scrollIntoViewOptions,C=x===void 0?Lh:x,_=e.zIndex,j=_===void 0?1001:_,I=e.closeIcon,E=e.closable,F=e.builtinPlacements,N=e.disabledInteraction,T=c2(e,Vw),B=k.useRef(),M=Ch(0,{value:a,defaultValue:o}),D=Jr(M,2),G=D[0],ge=D[1],fe=Ch(void 0,{value:u,postState:function(mt){return G<0||G>=s.length?!1:mt??!0}}),me=Jr(fe,2),H=me[0],X=me[1],ie=k.useState(H),W=Jr(ie,2),Q=W[0],q=W[1],L=k.useRef(H);Ka(function(){H&&(L.current||ge(0),q(!0)),L.current=H},[H]);var U=s[G]||{},ce=U.target,be=U.placement,Se=U.style,_e=U.arrow,Te=U.className,R=U.mask,$=U.scrollIntoViewOptions,se=$===void 0?Lh:$,ne=U.closeIcon,de=U.closable,Y=Nw(de,ne,E,I),ee=H&&(R??m),Z=se??C,ue=Pw(ce,u,A,Z),oe=Jr(ue,2),ye=oe[0],te=oe[1],De=Lw(te,b,be),Le=te?typeof _e>"u"?g:_e:!1,pt=eu(Le)==="object"?Le.pointAtCenter:!1;Ka(function(){var Pt;(Pt=B.current)===null||Pt===void 0||Pt.forceAlign()},[pt,G]);var at=function(mt){ge(mt),l?.(mt)},bi=k.useMemo(function(){return F?typeof F=="function"?F({arrowPointAtCenter:pt}):F:fg(pt)},[F,pt]);if(te===void 0||!Q)return null;var bn=function(){X(!1),f?.(G)},yn=function(){return k.createElement($w,Pn({arrow:Le,key:"content",prefixCls:i,total:s.length,renderPanel:w,onPrev:function(){at(G-1)},onNext:function(){at(G+1)},onClose:bn,current:G,onFinish:function(){bn(),c?.()}},s[G],{closable:Y}))},Jn=typeof ee=="boolean"?ee:!!ee,nn=typeof ee=="boolean"?void 0:ee,Un=function(mt){return mt||te||document.body};return k.createElement(k.Fragment,null,k.createElement(zw,{zIndex:j,prefixCls:i,pos:ye,showMask:Jn,style:nn?.style,fill:nn?.color,open:H,animated:y,rootClassName:v,disabledInteraction:N}),k.createElement(u2,Pn({},T,{builtinPlacements:bi,ref:B,popupStyle:Se,popupPlacement:De,popupVisible:H,popupClassName:In(v,Te),prefixCls:i,popup:yn,forceRender:!1,destroyPopupOnHide:!0,zIndex:j,getTriggerDOMNode:Un,arrow:!!Le}),k.createElement(qm,{open:H,autoLock:!0},k.createElement("div",{className:In(v,"".concat(i,"-target-placeholder")),style:hr(hr({},ye||Gw),{},{position:"fixed",pointerEvents:"none"})}))))};const Pd=t=>t!=null,cg=t=>{var e,n;const{stepProps:i,current:r,type:s,indicatorsRender:o,actionsRender:a}=t,{prefixCls:l,total:f=1,title:c,onClose:u,onPrev:h,onNext:m,onFinish:p,cover:g,description:v,nextButtonProps:b,prevButtonProps:w,type:A,closable:y}=i,x=A??s,C=Ym(y??{},!0),[_]=Sh("global",jh.global),[j]=Sh("Tour",jh.Tour),I=K.createElement("button",Object.assign({type:"button",onClick:u,className:`${l}-close`,"aria-label":_?.close},C),y?.closeIcon||K.createElement(tu,{className:`${l}-close-icon`})),E=r===f-1,F=()=>{var me;h?.(),(me=w?.onClick)===null||me===void 0||me.call(w)},N=()=>{var me;E?p?.():m?.(),(me=b?.onClick)===null||me===void 0||me.call(b)},T=Pd(c)?K.createElement("div",{className:`${l}-header`},K.createElement("div",{className:`${l}-title`},c)):null,B=Pd(v)?K.createElement("div",{className:`${l}-description`},v):null,M=Pd(g)?K.createElement("div",{className:`${l}-cover`},g):null;let D;o?D=o(r,f):D=Zm(Array.from({length:f}).keys()).map((me,H)=>K.createElement("span",{key:me,className:In(H===r&&`${l}-indicator-active`,`${l}-indicator`)}));const G=x==="primary"?"default":"primary",ge={type:"default",ghost:x==="primary"},fe=K.createElement(K.Fragment,null,r!==0?K.createElement(Ee,Object.assign({size:"small"},ge,w,{onClick:F,className:In(`${l}-prev-btn`,w?.className)}),(e=w?.children)!==null&&e!==void 0?e:j?.Previous):null,K.createElement(Ee,Object.assign({size:"small",type:G},b,{onClick:N,className:In(`${l}-next-btn`,b?.className)}),(n=b?.children)!==null&&n!==void 0?n:E?j?.Finish:j?.Next));return K.createElement("div",{className:`${l}-content`},K.createElement("div",{className:`${l}-inner`},y&&I,M,T,B,K.createElement("div",{className:`${l}-footer`},f>1&&K.createElement("div",{className:`${l}-indicators`},D),K.createElement("div",{className:`${l}-buttons`},a?a(fe,{current:r,total:f}):fe))))},Jw=t=>{const{componentCls:e,padding:n,paddingXS:i,borderRadius:r,borderRadiusXS:s,colorPrimary:o,colorFill:a,indicatorHeight:l,indicatorWidth:f,boxShadowTertiary:c,zIndexPopup:u,colorBgElevated:h,fontWeightStrong:m,marginXS:p,colorTextLightSolid:g,tourBorderRadius:v,colorWhite:b,primaryNextBtnHoverBg:w,closeBtnSize:A,motionDurationSlow:y,antCls:x,primaryPrevBtnBg:C}=t;return[{[e]:Object.assign(Object.assign({},g2(t)),{position:"absolute",zIndex:u,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":h,"&-pure":{maxWidth:"100%",position:"relative"},[`&${e}-hidden`]:{display:"none"},[`${e}-content`]:{position:"relative"},[`${e}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:v,boxShadow:c,position:"relative",backgroundColor:h,border:"none",backgroundClip:"padding-box",[`${e}-close`]:Object.assign({position:"absolute",top:n,insetInlineEnd:n,color:t.colorIcon,background:"none",border:"none",width:A,height:A,borderRadius:t.borderRadiusSM,transition:`background-color ${t.motionDurationMid}, color ${t.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:t.colorIconHover,backgroundColor:t.colorBgTextHover},"&:active":{backgroundColor:t.colorBgTextActive}},v2(t)),[`${e}-cover`]:{textAlign:"center",padding:`${fn(t.calc(n).add(A).add(i).equal())} ${fn(n)} 0`,img:{width:"100%"}},[`${e}-header`]:{padding:`${fn(n)} ${fn(n)} ${fn(i)}`,width:`calc(100% - ${fn(A)})`,wordBreak:"break-word",[`${e}-title`]:{fontWeight:m}},[`${e}-description`]:{padding:`0 ${fn(n)}`,wordWrap:"break-word"},[`${e}-footer`]:{padding:`${fn(i)} ${fn(n)} ${fn(n)}`,textAlign:"end",borderRadius:`0 0 ${fn(s)} ${fn(s)}`,display:"flex",[`${e}-indicators`]:{display:"inline-block",[`${e}-indicator`]:{width:f,height:l,display:"inline-block",borderRadius:"50%",background:a,"&:not(:last-child)":{marginInlineEnd:l},"&-active":{background:o}}},[`${e}-buttons`]:{marginInlineStart:"auto",[`${x}-btn`]:{marginInlineStart:p}}}},[`${e}-primary, &${e}-primary`]:{"--antd-arrow-background-color":o,[`${e}-inner`]:{color:g,textAlign:"start",textDecoration:"none",backgroundColor:o,borderRadius:r,boxShadow:c,[`${e}-close`]:{color:g},[`${e}-indicators`]:{[`${e}-indicator`]:{background:C,"&-active":{background:g}}},[`${e}-prev-btn`]:{color:g,borderColor:C,backgroundColor:o,"&:hover":{backgroundColor:C,borderColor:"transparent"}},[`${e}-next-btn`]:{color:o,borderColor:"transparent",background:b,"&:hover":{background:w}}}}}),[`${e}-mask`]:{[`${e}-placeholder-animated`]:{transition:`all ${y}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${e}-inner`]:{borderRadius:t.min(v,m2)}}},b2(t,"var(--antd-arrow-background-color)")]},Uw=t=>Object.assign(Object.assign({zIndexPopup:t.zIndexPopupBase+70,closeBtnSize:t.fontSize*t.lineHeight,primaryPrevBtnBg:new Ih(t.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new Ih(t.colorBgTextHover).onBackgroun
1d(t.colorWhite).toRgbString()},y2({contentRadius:t.borderRadiusLG,limitVerticalRadius:!0})),k2(t)),ug=h2("Tour",t=>{const{borderRadiusLG:e}=t,n=p2(t,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:e});return Jw(n)},Uw);var Qw=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n};const qw=t=>{const{prefixCls:e,current:n=0,total:i=6,className:r,style:s,type:o,closable:a,closeIcon:l}=t,f=Qw(t,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:c}=k.useContext(Xm),u=c("tour",e),[h,m,p]=ug(u),[g,v]=A2({closable:a,closeIcon:l},null,{closable:!0,closeIconRender:b=>{var w;return k.isValidElement(b)?x2(b,{className:In((w=b.props)===null||w===void 0?void 0:w.className,`${u}-close-icon`)}):b}});return h(k.createElement(vw,{prefixCls:u,hashId:m,className:In(r,`${u}-pure`,o&&`${u}-${o}`,p),style:s},k.createElement(cg,{stepProps:Object.assign(Object.assign({},f),{prefixCls:u,total:i,closable:g?{closeIcon:v}:void 0}),current:n,type:o})))},Yw=w2(qw);var Zw=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n};const hg=t=>{const{prefixCls:e,type:n,rootClassName:i,indicatorsRender:r,actionsRender:s,steps:o,closeIcon:a}=t,l=Zw(t,["prefixCls","type","rootClassName","indicatorsRender","actionsRender","steps","closeIcon"]),{getPrefixCls:f,direction:c,tour:u}=k.useContext(Xm),h=f("tour",e),[m,p,g]=ug(h),[,v]=_2(),b=K.useMemo(()=>o?.map(_=>{var j;return Object.assign(Object.assign({},_),{className:In(_.className,{[`${h}-primary`]:((j=_.type)!==null&&j!==void 0?j:n)==="primary"})})}),[h,o,n]),w=_=>{var j;return j2({arrowPointAtCenter:(j=_?.arrowPointAtCenter)!==null&&j!==void 0?j:!0,autoAdjustOverflow:!0,offset:v.marginXXS,arrowWidth:v.sizePopupArrow,borderRadius:v.borderRadius})},A=In({[`${h}-rtl`]:c==="rtl"},p,g,i),y=(_,j)=>K.createElement(cg,{type:n,stepProps:_,current:j,indicatorsRender:r,actionsRender:s}),[x,C]=C2("Tour",l.zIndex);return m(K.createElement(S2.Provider,{value:C},K.createElement(Kw,Object.assign({},l,{closeIcon:a??u?.closeIcon,zIndex:x,rootClassName:A,prefixCls:h,animated:!0,renderPanel:y,builtinPlacements:w,steps:b}))))};hg._InternalPanelDoNotUseOrYouWillBeFired=Yw;var Xw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},eA=function(e,n){return k.createElement(Qm,Pn({},e,{ref:n,icon:Xw}))},pg=k.forwardRef(eA);const tA=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],nA=I2("settings",tA),Ia=[{key:"content",label:"1. Content",number:1},{key:"settings",label:"2. Settings",number:2}
1],iA=[{id:"clean-minimal",name:"Clean Minimal"},{id:"warm-local",name:"Warm Local"},{id:"luxury-premium",name:"Luxury Premium"},{id:"bold-vibrant",name:"Bold & Vibrant"},{id:"eco-green",name:"Eco / Green"},{id:"industrial-technical",name:"Industrial / Technical"}],wi=Ia.length;function rA({currentStep:t,onStepChange:e,onContinue:n,onSaveDraft:i,isSaving:r,isMobile:s=!1,continueDisabled:o=!1,saveDraftDisabled:a=!1,isEditMode:l=!1,isGuestMode:f=!1}){const c=t==="settings",u=Ia.findIndex(p=>p.key===t),h=l?"Edit Campaign":"New Campaign",m=l?"Save":"Save Draft";return s?d.jsxs("div",{style:{background:"#FAFAFA",borderBottom:"1px solid #EAEAEC",padding:"10px 16px",position:"sticky",top:0,zIndex:10},children:[d.jsx("div",{style:{marginBottom:l?0:10},children:d.jsx("div",{style:{fontWeight:700,fontSize:16,color:"#1C1D1F"},children:h})}),!l&&d.jsxs("div",{style:{position:"relative",display:"flex",alignItems:"center",padding:5,gap:11,background:"#F4F4F5",border:"1px solid #E4E4E4",borderRadius:10},children:[d.jsx("div",{style:{position:"absolute",top:5,bottom:5,left:u===0?5:`calc(${u/wi*100}% + ${5+u*5.5}px)`,width:`calc(${100/wi}% - ${5+11*(wi-1)/wi}px)`,background:"#2F6DFB",borderRadius:5,transition:"left 0.3s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"none"}}),Ia.map(p=>{const g=t===p.key,v=f&&p.key!=="content",b=d.jsx("div",{onClick:v?void 0:()=>e(p.key),style:{position:"relative",flex:1,height:30,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:5,color:g?"#FAFAFA":"#1C1D1F",opacity:v?.3:g?1:.5,fontSize:13,fontWeight:500,cursor:v?"not-allowed":"pointer",transition:"color 0.3s, opacity 0.3s",userSelect:"none",zIndex:1},children:p.label},p.key);return v?d.jsx(Ke,{title:"Sign up to access campaign settings",children:b},p.key):b})]})]}):d.jsxs("div",{style:{height:60,background:"#FAFAFA",borderBottom:"1px solid #EAEAEC",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 20px",position:"sticky",top:0,zIndex:10},children:[d.jsx("div",{style:{fontWeight:700,fontSize:20,color:"#1C1D1F",minWidth:180},children:h}),l?d.jsx("div",{style:{width:350}}):d.jsxs("div",{style:{position:"relative",display:"flex",alignItems:"center",padding:4,gap:11,width:350,height:40,background:"#F4F4F5",border:"1px solid #E4E4E4",borderRadius:10},children:[d.jsx("div",{style:{position:"absolute",top:4,bottom:4,left:u===0?4:`calc(${u/wi*100}% + ${4+u*5.5}px)`,width:`calc(${100/wi}% - ${4+11*(wi-1)/wi}px)`,background:"#2F6DFB",borderRadius:5,transition:"left 0.3s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"none"}}),Ia.map(p=>{const g=t===p.key,v=f&&p.key!=="content",b=d.jsx("div",{onClick:v?void 0:()=>e(p.key),style:{position:"relative",flex:1,alignSelf:"stretch",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:5,color:g?"#FAFAFA":"#1C1D1F",opacity:v?.3:g?1:.5,fontSize:14,fontWeight:500,cursor:v?"not-allowed":"pointer",transition:"color 0.3s, opacity 0.3s",userSelect:"none",zIndex:1},children:p.label},p.key);return v?d.jsx(Ke,{title:"Sign up to access campaign settings",children:b},p.key):b})]}),d.jsx("div",{style:{minWidth:180,display:"flex",justifyContent:"flex-end"},children:!f&&(c||l)?d.jsx(Ee,{icon:d.jsx(pg,{}),onClick:i,loading:r,disabled:a,style:{height:40,borderRadius:10,fontWeight:600,paddingLeft:20,paddingRight:20},children:m}):d.jsxs(Ee,{type:"primary",onClick:n,disabled:o,style:{height:40,borderRadius:10,fontWeight:600,paddingLeft:20,paddingRight:20},children:["Continue ",d.jsx(tg,{})]})})]})}const sA="/assets/sm_logo-BiXPCGPd.gif",oA=` 2@keyframes progress-fill { 3 0% { width: 0%; } 4 100% { width: 90%; } 5} 6@keyframes progress-complete { 7 0% { width: var(--progress-start, 90%); } 8 100% { width: 100%; } 9} 10@keyframes fade-in-up { 11 0% { opacity: 0; transform: translateY(6px); } 12 100% { opacity: 1; transform: translateY(0); } 13} 14`,Oh=["Crafting your email layoutâ¦","Writing engaging copyâ¦","Optimizing structure for readabilityâ¦","Designing a clean email layoutâ¦","Polishing your messageâ¦","Making your email mobile-friendlyâ¦","Adding smart content sectionsâ¦","Fine-tuning the email designâ¦","Preparing a high-quality emailâ¦","Almost ready â final touchesâ¦"];function mg({isGenerating:t}){const[e,n]=k.useState(!1),[i,r]=k.useState(0),s=k.useRef(null);return k.useEffect(()=>{if(t)n(!0),r(0);else{const o=s.current;if(o){const l=o.parentElement;if(l&&l.offsetWidth>0){const f=o.offsetWidth/l.offsetWidth*100;o.style.setProperty("--progress-start",`${f}%`)}}const a=setTimeout(()=>n(!1),600);return()=>clearTimeout(a)}},[t]),k.useEffect(()=>{if(!t)return;const o=setInterval(()=>{r(a=>Math.min(a+1,Oh.length-1))},4500);return()=>clearInterval(o)},[t]),e?d.jsxs(d.Fragment,{children:[d.jsx("style",{children:oA}),d.jsx("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",zIndex:10,opacity:t?1:0,transition:"opacity 0.3s ease"},children:d.jsxs("div",{style:{background:"#FAFAFA",borderRadius:16,padding:"40px 48px",display:"flex",flexDirection:"column",alignItems:"center",gap:20,boxSh
14adow:"0 8px 32px rgba(0, 0, 0, 0.12)"},children:[d.jsx("img",{src:sA,alt:"",style:{width:64,height:64,objectFit:"contain"}}),d.jsx("div",{style:{width:200,height:6,background:"#E8EAED",borderRadius:3,overflow:"hidden"},children:d.jsx("div",{ref:s,style:{height:"100%",borderRadius:3,background:"linear-gradient(90deg, #2F6DFB 0%, #60A5FA 50%, #2F6DFB 100%)",backgroundSize:"200% 100%",animation:t?"progress-fill 45s ease-out forwards":"progress-complete 0.3s ease-out forwards"}})}),d.jsx("div",{style:{position:"relative",height:20,width:260},children:d.jsx("span",{style:{position:"absolute",left:0,right:0,textAlign:"center",fontSize:14,color:"#1C1D1F",fontWeight:500,animation:"fade-in-up 0.4s ease",whiteSpace:"nowrap"},children:Oh[i]},i)})]})})]}):null}function aA({active:t}){return d.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:d.jsx("path",{d:"M3 19H21M6 17H18C19.1046 17 20 16.1046 20 15V8C20 6.89543 19.1046 6 18 6H6C4.89543 6 4 6.89543 4 8V15C4 16.1046 4.89543 17 6 17Z",stroke:t?"#FAFAFA":"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function lA({active:t}){return d.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:d.jsx("path",{d:"M12 18H12.012M6 5L6 19C6 20.1046 6.89543 21 8 21H16C17.1046 21 18 20.1046 18 19L18 5C18 3.89543 17.1046 3 16 3L8 3C6.89543 3 6 3.89543 6 5Z",stroke:t?"#FAFAFA":"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function dA(){return d.jsx("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",children:d.jsx("path",{d:"M9 4H3C1.89543 4 1 4.89543 1 6V17C1 18.1046 1.89543 19 3 19H14C15.1046 19 16 18.1046 16 17V11M6 14V11.5L14.75 2.75C15.4404 2.05964 16.5596 2.05964 17.25 2.75C17.9404 3.44036 17.9404 4.55964 17.25 5.25L12.5 10L8.5 14H6Z",stroke:"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function Ph({compiledHtml:t,previewMode:e,onPreviewModeChange:n,isGenerated:i,isGenerating:r,isMobile:s=!1,onEdit:o}){const a=s?"100%":e==="mobile"?375:"100%";return d.jsxs("div",{style:{flex:1,background:"#F2F2F2",backgroundImage:"radial-gradient(circle, #E4E4E4 1px, transparent 1px)",backgroundSize:"15px 15px",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",overflow:"hidden"},children:[d.jsx(mg,{isGenerating:r}),i&&t?d.jsx("div",{style:{flex:1,width:"100%",display:"flex",justifyContent:"center",overflow:"auto",padding:e==="mobile"?s?10:20:0},children:d.jsx("iframe",{srcDoc:t,style:{width:a,height:"100%",border:"none",background:"#FFFFFF",borderRadius:e==="mobile"?8:0,boxShadow:"0 1px 4px rgba(0,0,0,0.08)"},title:"Email Preview"})}):r?null:d.jsx("div",{style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:d.jsxs("svg",{width:"200",height:"152",viewBox:"0 0 200 152",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{filter:"url(#filter0_i_20_7404)",children:[d.jsx("path",{d:"M0.401405 132.359C0.401405 129.911 1.30893 127.909 3.12397 126.353C4.95066 124.784 7.28346 124 10.1224 124C12.9613 124 15.2127 124.749 16.8764 126.246C18.5402 127.743 19.3721 129.769 19.3721 132.323H13.6129C13.6129 131.385 13.2929 130.642 12.653 130.095C12.013 129.537 11.1462 129.258 10.0526 129.258C8.8658 129.258 7.92338 129.519 7.22528 130.042C6.53882 130.553 6.19559 131.254 6.19559 132.145C6.19559 132.953 6.40502 133.577 6.82388 134.017C7.24273 134.444 7.92338 134.765 8.8658 134.979L12.8275 135.817C15.201 136.316 16.9579 137.171 18.0981 138.383C19.2383 139.595 19.8084 141.259 19.8084 143.374C19.8084 145.976 18.8835 148.067 17.0335 149.647C15.1952 151.216 12.7577 152 9.72097 152C6.7657 152 4.40382 151.245 2.63531 149.736C0.878436 148.227 0 146.208 0 143.677H5.75928C5.75928 144.663 6.10251 145.423 6.78897 145.958C7.48707 146.481 8.47604 146.742 9.75588 146.742C11.0706 146.742 12.1061 146.493 12.8624 145.994C13.6303 145.495 14.0143 144.817 14.0143 143.962C14.0143 143.213 13.8281 142.637 13.4558 142.233C13.0835 141.817 12.461 141.52 11.5884 141.342L7.53942 140.504C2.78074 139.518 0.401405 136.803 0.401405 132.359Z",fill:"#D9D9D9"}
14),d.jsx("path",{d:"M26.7482 151.519H21.146V124.499H26.7482L34.6192 144.657L42.5077 124.499H48.1972V151.519H42.5775V145.869C42.5775 142.827 42.5891 140.789 42.6124 139.756C42.6473 138.722 42.7346 137.718 42.8742 136.743L37.2545 151.519H31.9665L26.3992 136.743C26.6319 138.241 26.7482 140.647 26.7482 143.962V151.519Z",fill:"#D9D9D9"}),d.jsx("path",{d:"M54.8228 151.519H48.7668L58.2085 124.499H63.8631L73.2525 151.519H67.1093L65.2593 145.833H56.7076L54.8228 151.519ZM60.2854 135.086L58.3831 140.861H63.6013L61.7165 135.086C61.2976 133.743 61.0591 132.87 61.0009 132.466C60.9078 133.013 60.6693 133.886 60.2854 135.086Z",fill:"#D9D9D9"}),d.jsx("path",{d:"M79.6163 151.519H73.8396V124.499H84.0492C87.2721 124.499 89.7561 125.265 91.5014 126.798C93.2583 128.319 94.1367 130.476 94.1367 133.268C94.1367 136.749 92.6707 139.257 89.7387 140.789L94.381 151.519H88.0633L84.0841 142.073H79.6163V151.519ZM79.6163 129.757V136.886H84.0143C85.2825 136.886 86.2657 136.571 86.9638 135.941C87.6735 135.312 88.0284 134.421 88.0284 133.268C88.0284 132.139 87.6851 131.272 86.9987 130.666C86.3122 130.06 85.3291 129.757 84.0492 129.757H79.6163Z",fill:"#D9D9D9"}),d.jsx("path",{d:"M93.5545 129.989V124.499H114.358V129.989H106.853V151.519H101.059V129.989H93.5545Z",fill:"#D9D9D9"}),d.jsx("path",{d:"M127.888 151.519H122.286V124.499H127.888L135.759 144.657L143.648 124.499H149.337V151.519H143.717V145.869C143.717 142.827 143.729 140.789 143.752 139.756C143.787 138.722 143.875 137.718 144.014 136.743L138.395 151.519H133.106L127.539 136.743C127.772 138.241 127.888 140.647 127.888 143.962V151.519Z",fill:"#D9D9D9"}),d.jsx("path",{d:"M155.963 151.519H149.907L159.349 124.499H165.003L174.392 151.519H168.249L166.399 145.833H157.848L155.963 151.519ZM161.425 135.086L159.523 140.861H164.741L162.856 135.086C162.438 133.743 162.199 132.87 162.141 132.466C162.048 133.013 161.809 133.886 161.425 135.086Z",fill:"#D9D9D9"}),d.jsx("path",{d:"M180.756 124.499V151.519H174.98V124.499H180.756Z",fill:"#D9D9D9"}),d.jsx("path",{d:"M189.563 124.499V146.047H200V151.519H183.787V124.499H189.563Z",fill:"#D9D9D9"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M110 0C124.001 0 131.002 -0.00022769 136.35 2.72461C141.054 5.12142 144.879 8.94599 147.275 13.6499C150 18.9977 150 25.9987 150 40V60C150 74.0013 150 81.0023 147.275 86.3501C144.879 91.054 141.054 94.8786 136.35 97.2754C131.002 100 124.001 100 110 100H90C75.9987 100 68.9977 100 63.6499 97.2754C58.946 94.8786 55.1214 91.054 52.7246 86.3501C49.9998 81.0023 50 74.0013 50 60V40C50 25.9987 49.9998 18.9977 52.7246 13.6499C55.1214 8.94599 58.946 5.12142 63.6499 2.72461C68.9977 -0.00022769 75.9987 0 90 0H110ZM101.931 22.5C98.2073 22.5 94.9655 23.1717 92.207 24.5166C89.4484 25.8119 87.3107 27.7068 85.7935 30.1978C84.2764 32.6885 83.5181 35.6522 83.5181 39.0894C83.5181 41.7298 83.9307 43.9721 84.7583 45.8154C85.5859 47.6089 86.6672 49.1281 88.0005 50.3735C89.3797 51.5691 90.8738 52.5906 92.4829 53.4375C94.0919 54.2843 95.7006 55.0077 97.3096 55.6055C98.9643 56.2031 100.459 56.7998 101.792 57.3975C103.171 57.9453 104.275 58.5938 105.103 59.3408C105.93 60.0383 106.345 60.9352 106.345 62.0312C106.345 63.1269 105.862 63.9984 104.897 64.646C103.932 65.2438 102.505 65.5444 100.62 65.5444C98.3675 65.5444 96.2517 65.07 94.2749 64.1235C92.2982 63.1272 90.4135 61.7063 88.6206 59.8633L80 69.2041C82.6207 72.0936 85.4718 74.2115 88.5522 75.5566C91.6785 76.8518 95.3331 77.4999 99.5166 77.5C105.999 77.5 111.011 76.0299 114.551 73.0908C118.137 70.1017 119.932 65.8917 119.932 60.4614C119.932 57.7714 119.516 55.4794 118.689 53.5864C117.861 51.6936 116.758 50.1247 115.378 48.8794C114.045 47.5842 112.573 46.5368 110.964 45.7397C109.356 44.8932 107.724 44.1719 106.069 43.5742C104.46 42.9765 102.966 42.4034 101.587 41.8555C100.254 41.3075 99.1723 40.7087 98.3447 40.061C97.5174 39.3637 97.1047 38.4922 97.1045 37.4463C97.1045 36.4499 97.5171 35.7008 98.3447 35.2026C99.218 34.7047 100.367 34.4557 101.792 34.4556C103.585 34.4556 105.241 34.855 106.758 35.6519C108.275 36.3991 109.794 37.5708 111.311 39.165L120 29.8242C117.931 27.4829 115.311 25.6888 112.139 24.4434C109.012 23.1481 105.609 22.5 101.931 22.5ZM130 10C124.477 10 120 14.4772 120 20C120 25.5228 124.477 30 130 30C135.523 30 140 25.5228 140 20C140 14.4772 135.523 10 130 10Z",fill:"#D9D9D9"})]}),d.jsx("defs",{children:d.jsxs("filter",{id:"filter0_i_20_7404",x:"0",y:"0",width:"200",height:"152",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[d.jsx("feFlood",{floodOpacity:"0",result:"Backgroun
14dImageFix"}),d.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),d.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),d.jsx("feOffset",{dy:"1"}),d.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),d.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.623723 0 0 0 0 0.623723 0 0 0 0 0.623723 0 0 0 0.3 0"}),d.jsx("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_20_7404"})]})})]})}),i&&!s&&d.jsxs("div",{style:{position:"absolute",bottom:20,right:20,display:"flex",gap:8,alignItems:"center"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,background:"#F4F4F5",border:"1px solid #E4E4E4",borderRadius:10,padding:5,height:40},children:[d.jsx("div",{onClick:()=>n("desktop"),style:{width:30,height:30,borderRadius:5,background:e==="desktop"?"#2F6DFB":"transparent",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background 0.15s, opacity 0.15s",opacity:e==="desktop"?1:.3},children:d.jsx(aA,{active:e==="desktop"})}),d.jsx("div",{onClick:()=>n("mobile"),style:{width:30,height:30,borderRadius:5,background:e==="mobile"?"#2F6DFB":"transparent",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background 0.15s, opacity 0.15s",opacity:e==="mobile"?1:.3},children:d.jsx(lA,{active:e==="mobile"})})]}),d.jsxs("div",{onClick:o,style:{display:"flex",alignItems:"center",gap:6,background:"#FAFAFA",border:"1px solid #1C1D1F",borderRadius:10,padding:"0 15px",height:40,cursor:"pointer"},children:[d.jsx(dA,{}),d.jsx("span",{style:{fontSize:14,fontWeight:500,color:"#1C1D1F"},children:"Edit"})]})]})]})}const rn=(t,e)=>{const{o:n,i,u:r}=t;let s=n,o;const a=(c,u)=>{const h=s,m=c,p=u||(i?!i(h,m):h!==m);return(p||r)&&(s=m,o=h),[s,p,o]};return[e?c=>a(e(s,o),c):a,c=>[s,!!c,o]]},fA=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,Zt=fA?window:{},gg=Math.max,cA=Math.min,Wf=Math.round,Ei=Math.abs,zh=Math.sign,vg=Zt.cancelAnimationFrame,iu=Zt.requestAnimationFrame,ru=Zt.setTimeout,bg=Zt.clearTimeout,Zl=t=>typeof Zt[t]<"u"?Zt[t]:void 0,uA=Zl("MutationObserver"),Hh=Zl("IntersectionObserver"),Qr=Zl("ResizeObserver"),Ws=Zl("ScrollTimeline"),su=t=>t===void 0,Xl=t=>t===null,Ti=t=>typeof t=="number",_s=t=>typeof t=="string",ed=t=>typeof t=="boolean",Mn=t=>typeof t=="function",gn=t=>Array.isArray(t),Qa=t=>typeof t=="object"&&!gn(t)&&!Xl(t),ou=t=>{const e=!!t&&t.length,n=Ti(e)&&e>-1&&e%1==0;return gn(t)||!Mn(t)&&n?e>0&&Qa(t)?e-1 in t:!0:!1},Bo=t=>!!t&&t.constructor===Object,qa=t=>t instanceof HTMLElement,td=t=>t instanceof Element;function He(t,e){if(ou(t))for(let n=0;n<t.length&&e(t[n],n,t)!==!1;n++);else t&&He(Object.keys(t),(n=>e(t[n],n,t)));return t}const yg=(t,e)=>t.indexOf(e)>=0,ss=(t,e)=>t.concat(e),Xe=(t,e,n)=>(!_s(e)&&ou(e)?Array.prototype.push.apply(t,e):t.push(e),t),$i=t=>Array.from(t||[]),au=t=>gn(t)?t:!_s(t)&&ou(t)?$i(t):[t],Ya=t=>!!t&&!t.length,Za=t=>$i(new Set(t)),an=(t,e,n)=>{He(t,r=>r?r.apply(void 0,e||[]):!0),n||(t.length=0)},kg="paddingTop",wg="paddingRight",Ag="paddingLeft",xg="paddingBottom",_g="marginLeft",Cg="marginRight",Sg="marginBottom",lu="overflowX",du="overflowY",nd="width",id="height",li="visible",Cn="hidden",or="scroll",hA=t=>{const e=String(t||"");return e?e[0].toUpperCase()+e.slice(1):""},rd=(t,e,n,i)=>{if(t&&e){let r=!0;return He(n,(s=>{const o=t[s],a=e[s];o!==a&&(r=!1)})),r}return!1},jg=(t,e)=>rd(t,e,["w","h"]),Ba=(t,e)=>rd(t,e,["x","y"]),pA=(t,e)=>rd(t,e,["t","r","b","l"]),xe=(t,...e)=>t.bind(0,...e),qr=t=>{let e;const n=t?ru:iu,i=t?bg:vg;return[r=>{i(e),e=n((()=>r()),Mn(t)?t():t)},()=>i(e)]},Wh=t=>{const e=Mn(t)?t():t;if(Ti(e)){const n=e?ru:iu,i=e?bg:vg;return r=>{const s=n((()=>r()),e);return()=>{i(s)}}}return e&&e._},Ig=(t,e)=>{const{p:n,v:i,S:r,m:s}=e||{};let o,a,l,f;const c=function(g){a&&a(),o&&o(),f=a=o=l=void 0,t.apply(this,g)},u=p=>s&&l?s(l,p):p,h=()=>{a&&l&&c(u(l)||l)},m=function(){const g=$i(arguments),v=Wh(n);if(v){const b=typeof r=="function"?r():r,w=Wh(i),y=u(g)||g,x=c.bind(0,y);a&&a(),b&&!f?(x(),f=!0,a=v((()=>f=void 0))):(a=v(x),w&&!o&&(o=w(h))),l=y}else c(g)};return m.O=h,m},Bg=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),qt=t=>t?Object.keys(t):[],Re=(t,e,n,i,r,s,o)=>{const a=[e,n,i,r,s,o];return(typeof t!="object"||Xl(t))&&!Mn(t)&&(t={}),He(a,(l=>{He(l,((f,c)=>{const u=l[c];if(t===u)return!0;const h=gn(u);if(u&&Bo(u)){const m=t[c];let p=m;h&&!gn(m)?p=[]:!h&&!Bo(m)&&(p={}),t[c]=Re(p,u)}else t[c]=h?u.slice():u}))})),t},Eg=(t,e)=>He(Re({},t),((n,i,r)=>{n===void 0?delete r[i]:n&&Bo(n)&&(r[i]=Eg(n))})),fu=t=>!qt(t).length,Eo=()=>{},Mg=(t,e,n)=>gg(t,cA(e,n)),ar=t=>Za((gn(t)?t:(t||"").split(" ")).filter((e=>e))),cu=(t,e)=>t&&t.getAttribute(e),$h=(t,e)=>t&&t.hasAttribute(e),ri=(t,e,n)=>{He(ar(e),(i=>{t&&t.setAttribute(i,String(n||""))}))},Nn=(t,e)=>{He(ar(e),(n=>t&&t.removeAttribute(n)))},sd=(t,e)=>{const n=ar(cu(t,e)),i=xe(ri,t,e),r=(s,o)=>{const a=new Set(n);return He(ar(s),(l=>{a[o](l)})),$i(a).join(" ")};return{C:s=>i(r(s,"delete")),$:s=>i(r(s,"add")),H:s=>{const o=ar(s);return o.reduce(((a,l)=>a&&n.includes(l)),o.length>0)}}},Tg=(t,e,n)=>(sd(t,e).C(n),xe(uu,t,e,n)),uu=(t,e,n)=>(sd(t,e).$(n),xe(Tg,t,e,n)),Xa=(t,e,n,i)=>(i?uu:Tg)(t,e,n),hu=(t,e,n)=>sd(t,e).H(n),Fg=t=>sd(t,"class"),Dg=(t,e)=>{Fg(t).C(e)},pu=(t,e)=>(Fg(t).$(e),xe(Dg,t,e)),Ng=(t,e)=>
14{const n=e?td(e)&&e:document;return n?$i(n.querySelectorAll(t)):[]},mA=(t,e)=>{const n=e?td(e)&&e:document;return n&&n.querySelector(t)},$f=(t,e)=>td(t)&&t.matches(e),Rg=t=>$f(t,"body"),Vf=t=>t?$i(t.childNodes):[],Mo=t=>t&&t.parentElement,Yr=(t,e)=>td(t)&&t.closest(e),Gf=t=>document.activeElement,gA=(t,e,n)=>{const i=Yr(t,e),r=t&&mA(n,i),s=Yr(r,e)===i;return i&&r?i===t||r===t||s&&Yr(Yr(t,n),e)!==i:!1},as=t=>{He(au(t),(e=>{const n=Mo(e);e&&n&&n.removeChild(e)}))},Yt=(t,e)=>xe(as,t&&e&&He(au(e),(n=>{n&&t.appendChild(n)})));let Lg;const vA=()=>Lg,bA=t=>{Lg=t},ts=t=>{const e=document.createElement("div");return ri(e,"class",t),e},Og=t=>{const e=ts(),n=vA(),i=t.trim();return e.innerHTML=n?n.createHTML(i):i,He(Vf(e),(r=>as(r)))},Vh=(t,e)=>t.getPropertyValue(e)||t[e]||"",Pg=t=>{const e=t||0;return isFinite(e)?e:0},ia=t=>Pg(parseFloat(t||"")),Kf=t=>Math.round(t*1e4)/1e4,zg=t=>`${Kf(Pg(t))}px`;function To(t,e){t&&e&&He(e,((n,i)=>{try{const r=t.style,s=Xl(n)||ed(n)?"":Ti(n)?zg(n):n;i.indexOf("--")===0?r.setProperty(i,s):r[i]=s}catch{}}))}function Vn(t,e,n){const i=_s(e);let r=i?"":{};if(t){const s=Zt.getComputedStyle(t,n)||t.style;r=i?Vh(s,e):$i(e).reduce(((o,a)=>(o[a]=Vh(s,a),o)),r)}return r}const Gh=(t,e,n)=>{const i=e?`${e}-`:"",r=n?`-${n}`:"",s=`${i}top${r}`,o=`${i}right${r}`,a=`${i}bottom${r}`,l=`${i}left${r}`,f=Vn(t,[s,o,a,l]);return{t:ia(f[s]),r:ia(f[o]),b:ia(f[a]),l:ia(f[l])}},zd=(t,e)=>`translate${Qa(t)?`(${t.x},${t.y})`:`${e?"X":"Y"}(${t})`}`,yA=t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),kA={w:0,h:0},od=(t,e)=>e?{w:e[`${t}Width`],h:e[`${t}Height`]}:kA,wA=t=>od("inner",t||Zt),ns=xe(od,"offset"),Hg=xe(od,"client"),el=xe(od,"scroll"),mu=t=>{const e=parseFloat(Vn(t,nd))||0,n=parseFloat(Vn(t,id))||0;return{w:e-Wf(e),h:n-Wf(n)}},Hd=t=>t.getBoundingClientRect(),AA=t=>!!t&&yA(t),Jf=t=>!!(t&&(t[id]||t[nd])),Wg=(t,e)=>{const n=Jf(t);return!Jf(e)&&n},Kh=(t,e,n,i)=>{He(ar(e),(r=>{t&&t.removeEventListener(r,n,i)}))},Je=(t,e,n,i)=>{var r;const s=(r=i&&i.D)!=null?r:!0,o=i&&i.I||!1,a=i&&i.A||!1,l={passive:s,capture:o};return xe(an,ar(e).map((f=>{const c=a?u=>{Kh(t,f,c,o),n&&n(u)}:n;return t&&t.addEventListener(f,c,l),xe(Kh,t,f,c,o)})))},$g=t=>t.stopPropagation(),Uf=t=>t.preventDefault(),Vg=t=>$g(t)||Uf(t),Wn=(t,e)=>{const{x:n,y:i}=Ti(e)?{x:e,y:e}:e||{};Ti(n)&&(t.scrollLeft=n),Ti(i)&&(t.scrollTop=i)},on=t=>({x:t.scrollLeft,y:t.scrollTop}),Gg=()=>({T:{x:0,y:0},k:{x:0,y:0}}),xA=(t,e)=>{const{T:n,k:i}=t,{w:r,h:s}=e,o=(u,h,m)=>{let p=zh(u)*m,g=zh(h)*m;if(p===g){const v=Ei(u),b=Ei(h);g=v>b?0:g,p=v<b?0:p}return p=p===g?0:p,[p+0,g+0]},[a,l]=o(n.x,i.x,r),[f,c]=o(n.y,i.y,s);return{T:{x:a,y:f},k:{x:l,y:c}}},Wd=({T:t,k:e})=>{const n=(i,r)=>i===0&&i<=r;return{x:n(t.x,e.x),y:n(t.y,e.y)}},Jh=({T:t,k:e},n)=>{const i=(r,s,o)=>Mg(0,1,(r-o)/(r-s)||0);return{x:i(t.x,e.x,n.x),y:i(t.y,e.y,n.y)}},Qf=t=>{t&&t.focus&&t.focus({preventScroll:!0,focusVisible:!1})},Uh=(t,e)=>{He(au(e),t)},qf=t=>{const e=new Map,n=(s,o)=>{if(s){const a=e.get(s);Uh((l=>{a&&a[l?"delete":"clear"](l)}),o)}else e.forEach((a=>{a.clear()}
14)),e.clear()},i=(s,o)=>{if(_s(s)){const f=e.get(s)||new Set;return e.set(s,f),Uh((c=>{Mn(c)&&f.add(c)}),o),xe(n,s,o)}ed(o)&&o&&n();const a=qt(s),l=[];return He(a,(f=>{const c=s[f];c&&Xe(l,i(f,c))})),xe(an,l)},r=(s,o)=>{He($i(e.get(s)),(a=>{o&&!Ya(o)?a.apply(0,o):a()}))};return i(t||{}),[i,n,r]},Kg={},Jg={},_A=t=>{He(t,(e=>He(e,((n,i)=>{Kg[i]=e[i]}))))},Ug=(t,e,n)=>qt(t).map((i=>{const{static:r,instance:s}=t[i],[o,a,l]=n||[],f=n?s:r;if(f){const c=n?f(o,a,e):f(e);return(l||Jg)[i]=c}})),CA=(t,e)=>t[e],Cs=t=>CA(Jg,t),SA="__osOptionsValidationPlugin",Ss="data-overlayscrollbars",Ea="os-environment",ra=`${Ea}-scrollbar-hidden`,$d=`${Ss}-initialize`,Ma="noClipping",Qh=`${Ss}-body`,Fi=Ss,jA="host",si=`${Ss}-viewport`,IA=lu,BA=du,EA="arrange",Qg="measuring",MA="scrolling",qg="scrollbarHidden",TA="noContent",Yf=`${Ss}-padding`,qh=`${Ss}-content`,gu="os-size-observer",FA=`${gu}-appear`,DA=`${gu}-listener`,NA="os-trinsic-observer",RA="os-theme-none",dn="os-scrollbar",LA=`${dn}-rtl`,OA=`${dn}-horizontal`,PA=`${dn}-vertical`,Yg=`${dn}-track`,vu=`${dn}-handle`,zA=`${dn}-visible`,HA=`${dn}-cornerless`,Yh=`${dn}-interaction`,Zh=`${dn}-unusable`,Zf=`${dn}-auto-hide`,WA=`${Zf}-hidden`,Xh=`${dn}-wheel`,$A=`${Yg}-interactive`,VA=`${vu}-interactive`,GA="__osSizeObserverPlugin",KA=(t,e)=>{const{M:n}=e,[i,r]=t("showNativeOverlaidScrollbars");return[i&&n.x&&n.y,r]},Zr=t=>
14t.indexOf(li)===0,JA=t=>t.replace(`${li}-`,""),Xf=(t,e)=>{if(t==="auto")return e?or:Cn;const n=t||Cn;return[Cn,or,li].includes(n)?n:Cn},UA=(t,e)=>{const{overflowX:n,overflowY:i}=Vn(t,[lu,du]);return{x:Xf(n,e.x),y:Xf(i,e.y)}},bu="__osScrollbarsHidingPlugin",QA="__osClickScrollPlugin",ep=t=>JSON.stringify(t,((e,n)=>{if(Mn(n))throw 0;return n})),tp=(t,e)=>t?`${e}`.split(".").reduce(((n,i)=>n&&Bg(n,i)?n[i]:void 0),t):void 0,qA=[0,33],Zg=[33,99],Xg=[222,666,!0],YA={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:{mutation:qA,resize:null,event:Zg,env:Xg},attributes:null,ignoreMutation:null,flowDirectionStyles:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},e0=(t,e)=>{const n={},i=ss(qt(e),qt(t));return He(i,(r=>{const s=t[r],o=e[r];if(Qa(s)&&Qa(o))Re(n[r]={},e0(s,o)),fu(n[r])&&delete n[r];else if(Bg(e,r)&&o!==s){let a=!0;if(gn(s)||gn(o))try{ep(s)===ep(o)&&(a=!1)}catch{}a&&(n[r]=o)}})),n},Vd=(t,e,n)=>i=>[tp(t,i),n||tp(e,i)!==void 0];let t0;const ZA=()=>t0,XA=t=>{t0=t};let Gd;const e3=()=>{const t=(y,x,C)=>{Yt(document.body,y),Yt(document.body,y);const _=Hg(y),j=ns(y),I=mu(x);return C&&as(y),{x:j.h-_.h+I.h,y:j.w-_.w+I.w}},e=y=>{let x=!1;const C=pu(y,ra);try{x=Vn(y,"scrollbar-width")==="none"||Vn(y,"display","::-webkit-scrollbar")==="none"}catch{}return C(),x},n=`.${Ea}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${Ea} div{width:200%;height:200%;margin:10px 0}.${ra}{scrollbar-width:none!important}.${ra}::-webkit-scrollbar,.${ra}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,r=Og(`<div class="${Ea}"><div></div><style>${n}</style></div>`)[0],s=r.firstChild,o=r.lastChild,a=ZA();a&&(o.nonce=a);const[l,,f]=qf(),[c,u]=rn({o:t(r,s),i:Ba},xe(t,r,s,!0)),[h]=u(),m=e(r),p={x:h.x===0,y:h.y===0},g={elements:{host:null,padding:!m,viewport:y=>m&&Rg(y)&&y,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},v=Re({},YA),b=xe(Re,{},v),w=xe(Re,{},g),A={U:h,M:p,P:m,J:!!Ws,G:xe(l,"r"),K:w,Z:y=>Re(g,y)&&w(),tt:b,nt:y=>Re(v,y)&&b(),ot:Re({},g),st:Re({},v)};if(Nn(r,"style"),as(r),Je(Zt,"resize",(()=>{f("r",[])})),Mn(Zt.matchMedia)&&!m&&(!p.x||!p.y)){const y=x=>{const C=Zt.matchMedia(`(resolution: ${Zt.devicePixelRatio}dppx)`);Je(C,"change",(()=>{x(),y(x)}),{A:!0})};y((()=>{const[x,C]=c();Re(A.U,x),f("r",[C])}))}return A},Kn=()=>(Gd||(Gd=e3()),Gd),t3=(t,e,n)=>{let i=!1;const r=n?new WeakMap:!1,s=()=>{i=!0},o=a=>{if(r&&n){const l=n.map((f=>{const[c,u]=f||[];return[u&&c?(a||Ng)(c,t):[],u]}));He(l,(f=>He(f[0],(c=>{const u=f[1],h=r.get(c)||[];if(t.contains(c)&&u){const p=Je(c,u,(g=>{i?(p(),r.delete(c)):e(g)}));r.set(c,Xe(h,p))}else an(h),r.delete(c)}))))}};return o(),[s,o]},np=(t,e,n,i)=>{let r=!1;const{et:s,ct:o,rt:a,it:l,lt:f,ut:c}=i||{},[u,h]=t3(t,(()=>r&&n(!0)),a),m=s||[],p=o||[],g=ss(m,p),v=(w,A)=>{if(!Ya(A)){const y=f||Eo,x=c||Eo,C=[],_=[];let j=!1,I=!1;if(He(A,(E=>{const{attributeName:F,target:N,type:T,oldValue:B,addedNodes:M,removedNodes:D}=E,G=T==="attributes",ge=T==="childList",fe=t===N,me=G&&F,H=me&&cu(N,F||""),X=_s(H)?H:null,ie=me&&B!==X,W=yg(p,F)&&ie;if(e&&(ge||!fe)){const Q=G&&ie,q=Q&&l&&$f(N,l),U=(q?!y(N,F,B,X):!G||Q)&&!x(E,!!q,t,i);He(M,(ce=>Xe(C,ce))),He(D,(ce=>Xe(C,ce))),I=I||U}!e&&fe&&ie&&!y(N,F,B,X)&&(Xe(_,F),j=j||W)})),h((E=>Za(C).reduce(((F,N)=>(Xe(F,Ng(E,N)),$f(N,E)?Xe(F,N):F)),[]))),e)return!w&&I&&n(!1),[!1];if(!Ya(_)||j){const E=[Za(_),j];return w||n.apply(0,E),E}}},b=new uA(xe(v,!1));return[()=>(b.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:g,subtree:e,childList:e,characterData:e}),r=!0,()=>{r&&(u(),b.disconnect(),r=!1)}),()=>{if(r)return v(!0,b.takeRecords())}]};let Yi=null;const n0=(t,e,n)=>{const{ft:i}=n||{},r=Cs(GA),[s]=rn({o:!1,u:!0});return()=>{const o=[],l=Og(`<div class="${gu}"><div class="${DA}"></div></div>`)[0],f=l.firstChild,c=u=>{const h=gn(u)&&!Ya(u);let m=!1,p=!1;if(h){const g=u[0],[v,,b]=s(g.contentRect),w=Jf(v);p=Wg(v,b),m=!p&&!w}else p=u===!0;m||e({_t:!0,ft:p})};if(Qr){if(!ed(Yi)){const p=new Qr(Eo);p.observe(t,{get box(){Yi=!0}}),Yi=Yi||!1,p.disconnect()}
14const u=Ig(c,{p:0,v:0}),h=p=>u(p),m=new Qr(h);if(m.observe(Yi?t:f),Xe(o,[()=>{m.disconnect()},!Yi&&Yt(t,l)]),Yi){const p=new Qr(h);p.observe(t,{box:"border-box"}),Xe(o,(()=>p.disconnect()))}}else if(r){const[u,h]=r(f,c,i);Xe(o,ss([pu(l,FA),Je(l,"animationstart",u),Yt(t,l)],h))}else return Eo;return xe(an,o)}},n3=(t,e)=>{let n;const i=l=>l.h===0||l.isIntersecting||l.intersectionRatio>0,r=ts(NA),[s]=rn({o:!1}),o=(l,f)=>{if(l){const c=s(i(l)),[,u]=c;return u&&!f&&e(c)&&[c]}},a=(l,f)=>o(f.pop(),l);return[()=>{const l=[];if(Hh)n=new Hh(xe(a,!1),{root:t}),n.observe(r),Xe(l,(()=>{n.disconnect()}));else{const f=()=>{const c=ns(r);o(c)};Xe(l,n0(r,f)()),f()}return xe(an,Xe(l,Yt(t,r)))},()=>n&&a(!0,n.takeRecords())]},i3=(t,e,n,i)=>{let r,s,o,a,l,f,c,u;const h=`[${Fi}]`,m=`[${si}]`,p=["id","class","style","open","wrap","cols","rows"],{dt:g,vt:v,L:b,gt:w,ht:A,V:y,bt:x,yt:C,wt:_,St:j}=t,I=L=>Vn(L,"direction")==="rtl",E=()=>{let L,U,ce;const be=Ig(i,{p:()=>L,v:()=>U,S:()=>ce,m(_e,Te){const[R]=_e,[$]=Te;return[ss(qt(R),qt($)).reduce(((se,ne)=>(se[ne]=R[ne]||$[ne],se)),{})]}}),Se=(_e,Te)=>{if(gn(Te)){const[R,$,se]=Te;L=R,U=$,ce=se}else Ti(Te)?(L=Te,U=!1,ce=!1):(L=!1,U=!1,ce=!1);be(_e)};return Se.O=be.O,Se},F={Ot:!1,B:I(g)},N=Kn(),T=Cs(bu),[B]=rn({i:jg,o:{w:0,h:0}},(()=>{const L=T&&T.R(t,e,F,N,n).Y,ce=!(x&&y)&&hu(v,Fi,Ma),be=!y&&C(EA),Se=be&&on(w),_e=Se&&j(),Te=_(Qg,ce),R=be&&L&&L(),$=el(b),se=mu(b);return R&&R(),Wn(w,Se),_e&&_e(),ce&&Te(),{w:$.w+se.w,h:$.h+se.h}})),M=E(),D=L=>{const U=I(g);Re(L,{Ct:u!==U}),Re(F,{B:U}),u=U},G=(L,U)=>{const[ce,be]=L,Se={$t:be};return Re(F,{Ot:ce}),U||i(Se),Se},ge=({_t:L,ft:U})=>{const ce=U?i:M,be={_t:L||U,ft:U};D(be),ce(be,s)},fe=(L,U)=>{const[,ce]=B(),be={xt:ce};return D(be),ce&&!U&&M(be,L?o:r),be},me=(L,U,ce)=>{const be={Ht:U};return D(be),U&&!ce&&M(be,r),be},[H,X]=A?n3(v,G):[],ie=!y&&n0(v,ge,{ft:!0}),[W,Q]=np(v,!1,me,{ct:p,et:p}),q=y&&Qr&&new Qr((L=>{const U=L[L.length-1].contentRect;ge({_t:!0,ft:Wg(U,c)}),c=U}));return[()=>{q&&q.observe(v);const L=ie&&ie(),U=H&&H(),ce=W(),be=N.G((Se=>{const[,_e]=B();M({Et:Se,xt:_e,_t:x},a)}));return()=>{q&&q.disconnect(),L&&L(),U&&U(),f&&f(),ce(),be()}},({Dt:L,zt:U,It:ce})=>{const be={},[Se]=L("update.ignoreMutation"),[_e,Te]=L("update.attributes"),[R,$]=L("update.elementEvents"),[se,ne]=L("update.debounce"),de=$||Te,Y=U||ce,ee=Z=>Mn(Se)&&!!Se(Z);if(de){l&&l(),f&&f();const[Z,ue]=np(A||b,!0,fe,{et:ss(p,_e||[]),rt:R,it:h,ut:(oe,ye)=>{const{target:te,attributeName:De}=oe;return(!ye&&De&&!y?gA(te,h,m):!1)||!!Yr(te,`.${dn}`)||ee(oe)}});f=Z(),l=ue}if(ne&&(M.O(),gn(se)||Ti(se)?(r=se,s=!1,o=Zg,a=Xg):Bo(se)?(r=se.mutation,s=se.resize,o=se.event,a=se.env):(r=!1,s=!1,o=!1,a=!1)),Y){const Z=Q(),ue=X&&X(),oe=l&&l();Z&&Re(be,me(Z[0],Z[1],Y)),ue&&Re(be,G(ue[0],Y)),oe&&Re(be,fe(oe[0],Y))}return D(be),be},F]},i0=(t,e)=>Mn(e)?e.apply(0,t):e,r3=(t,e,n,i)=>{const r=su(i)?n:i;return i0(t,r)||e.apply(0,t)},r0=(t,e,n,i)=>{const r=su(i)?n:i,s=i0(t,r);return!!s&&(qa(s)?s:e.apply(0,t))},s3=(t,e)=>{const{nativeScrollbarsOverlaid:n,body:i}=e||{},{M:r,P:s,K:o}=Kn(),{nativeScrollbarsOverlaid:a,body:l}=o().cancel,f=n??a,c=su(i)?l:i,u=(r.x||r.y)&&f,h=t&&(Xl(c)?!s:c);return!!u||!!h},o3=(t,e,n,i)=>{const r="--os-viewport-percent",s="--os-scroll-percent",o="--os-scroll-direction",{K:a}=Kn(),{scrollbars:l}=a(),{slot:f}=l,{dt:c,vt:u,L:h,At:m,gt:p,bt:g,V:v}=e,{scrollbars:b}=m?{}:t,{slot:w}=b||{},A=[],y=[],x=[],C=r0([c,u,h],(()=>v&&g?c:u),f,w),_=H=>{if(Ws){let X=null,ie=[];const W=new Ws({source:p,axis:H}),Q=()=>{X&&X.cancel(),X=null};return{Mt:L=>{const{Tt:U}=n,ce=Wd(U)[H],be=H==="x",Se=[zd(0,be),zd(`calc(-100% + 100cq${be?"w":"h"})`,be)],_e=ce?Se:Se.reverse();return ie[0]===_e[0]&&ie[1]===_e[1]||(ie=_e,Q(),X=L.kt.animate({clear:["left"],transform:_e},{timeline:W})),Q}}}},j={x:_("x"),y:_("y")},I=()=>{const{Rt:H,Vt:X}=n,ie=(W,Q)=>Mg(0,1,W/(W+Q)||0);return{x:ie(X.x,H.x),y:ie(X.y,H.y)}},E=(H,X,ie)=>{const W=ie?pu:Dg;He(H,(Q=>{W(Q.Lt,X)}))},F=(H,X)=>{He(H,(ie=>{const[W,Q]=X(ie);To(W,Q)}))},N=(H,X,ie)=>{const W=ed(ie),Q=W?ie:!0,q=W?!ie:!0;Q&&E(y,H,X),q&&E(x,H,X)},T=()=>{const H=I(),X=ie=>W=>[W.Lt,{[r]:Kf(ie)+""}];F(y,X(H.x)),F(x,X(H.y))},B=()=>
14{if(!Ws){const{Tt:H}=n,X=Jh(H,on(p)),ie=W=>Q=>[Q.Lt,{[s]:Kf(W)+""}];F(y,ie(X.x)),F(x,ie(X.y))}},M=()=>{const{Tt:H}=n,X=Wd(H),ie=W=>Q=>[Q.Lt,{[o]:W?"0":"1"}];F(y,ie(X.x)),F(x,ie(X.y)),Ws&&(y.forEach(j.x.Mt),x.forEach(j.y.Mt))},D=()=>{if(v&&!g){const{Rt:H,Tt:X}=n,ie=Wd(X),W=Jh(X,on(p)),Q=q=>{const{Lt:L}=q,U=Mo(L)===h&&L,ce=(be,Se,_e)=>{const Te=Se*be;return zg(_e?Te:-Te)};return[U,U&&{transform:zd({x:ce(W.x,H.x,ie.x),y:ce(W.y,H.y,ie.y)})}]};F(y,Q),F(x,Q)}},G=H=>{const X=H?"x":"y",W=ts(`${dn} ${H?OA:PA}`),Q=ts(Yg),q=ts(vu),L={Lt:W,Pt:Q,kt:q},U=j[X];return Xe(H?y:x,L),Xe(A,[Yt(W,Q),Yt(Q,q),xe(as,W),U&&U.Mt(L),i(L,N,H)]),L},ge=xe(G,!0),fe=xe(G,!1),me=()=>(Yt(C,y[0].Lt),Yt(C,x[0].Lt),xe(an,A));return ge(),fe(),[{Ut:T,Nt:B,qt:M,Bt:D,Ft:N,jt:{Xt:y,Yt:ge,Wt:xe(F,y)},Jt:{Xt:x,Yt:fe,Wt:xe(F,x)}},me]},a3=(t,e,n,i,r)=>(s,o,a)=>{const{vt:l,L:f,V:c,gt:u,Gt:h,St:m}=e,{Lt:p,Pt:g,kt:v}=s,[b,w]=qr(333),[A,y]=qr(444),x=j=>{Mn(u.scrollBy)&&u.scrollBy({behavior:"smooth",left:j.x,top:j.y})},C=()=>{const j="pointerup pointercancel lostpointercapture",I=`client${a?"X":"Y"}`,E=a?nd:id,F=a?"left":"top",N=a?"w":"h",T=a?"x":"y",B=[];return Je(g,"pointerdown",i((M=>{const D=Yr(M.target,`.${vu}`)===v,G=D?v:g,ge=t.scrollbars,fe=ge[D?"dragScroll":"clickScroll"],{button:me,isPrimary:H,pointerType:X}=M,{pointers:ie}=ge;if(me===0&&H&&fe&&(ie||[]).includes(X)){an(B),y();const Q=!D&&(M.shiftKey||fe==="instant"),q=xe(Hd,v),L=xe(Hd,g),U=(te,De)=>(te||q())[F]-(De||L())[F],ce=Wf(Hd(u)[E])/ns(u)[N]||1,be=on(u)[T],Se=te=>{Wn(u,{[T]:be+te})},_e=te=>{const{Rt:De}=n,Le=ns(g)[N]-ns(v)[N],pt=1/ce*te/Le;Se(pt*De[T])},Te=M[I],R=q(),$=L(),se=R[E],ne=U(R,$)+se/2,Y=Te-$[F]-ne,ee=D?0:Y,Z=te=>{an(ye),G.releasePointerCapture(te.pointerId)},ue=D||Q,oe=m(),ye=[Je(h,j,Z),Je(h,"selectstart",(te=>Uf(te)),{D:!1}),Je(g,j,Z),ue&&Je(g,"pointermove",(te=>_e(ee+te[I]-Te))),ue&&(()=>{const te=on(u);oe();const De=on(u),Le={x:De.x-te.x,y:De.y-te.y};(Ei(Le.x)>3||Ei(Le.y)>3)&&(m(),Wn(u,te),x(Le),A(oe))})];if(G.setPointerCapture(M.pointerId),Q)_e(Y);else if(!D){const te=Cs(QA);if(te){const{Vt:De}=n,Le=te(Se,_e,xe(U),Y,De[T],fe,!!a,(pt=>{pt?oe():Xe(ye,oe)}));Xe(ye,Le),Xe(B,xe(Le,!0))}}}})))};let _=!0;return xe(an,[Je(v,"pointermove pointerleave",i(r)),Je(p,"pointerenter",i((()=>{o(Yh,!0)}))),Je(p,"pointerleave pointercancel",i((()=>{o(Yh,!1)}))),Je(p,"wheel",i((j=>{const{deltaX:I,deltaY:E,deltaMode:F}=j;_&&F===0&&Mo(p)===l&&x({x:I,y:E}),_=!1,o(Xh,!0),b((()=>{_=!0,o(Xh)})),Uf(j)})),{D:!1,I:!0}),!c&&Je(p,"mousedown",i((()=>{const j=Gf();($h(j,si)||$h(j,Fi)||j===document.body)&&ru(xe(Qf,f),25)}))),Je(p,"pointerdown",(()=>{const j=Je(h,"click",(E=>{I(),Vg(E)}),{A:!0,I:!0,D:!1}),I=Je(h,"pointerup pointercancel",(()=>{I(),setTimeout(j,150)}),{I:!0,D:!0})}),{I:!0,D:!0}),C(),w,y])},l3=(t,e,n,i,r,s,o)=>{let a,l,f,c,u,h=Eo,m=0;const p=["mouse","pen"],g=q=>L=>{n.Kt||q(L)},v=q=>p.includes(q.pointerType),[b,w]=qr(),[A,y]=qr(100),[x,C]=qr(50),[_,j]=qr((()=>m)),[I,E]=o3(t,s,r,a3(e,s,r,g,(q=>v(q)&&me()))),{vt:F,Qt:N,bt:T}=s,{Ft:B,Ut:M,Nt:D,qt:G,Bt:ge}=I,fe=(q,L)=>{j();const U=ce=>{n.Kt||B(WA,ce)};if(q)U();else{const ce=f?!a:!0;m>0&&!L?_(xe(U,ce)):U(ce)}},me=()=>{(f?!a:!c)&&(fe(!0),A((()=>{fe(!1)})))},H=q=>{v(q)&&(a=!0,!n.Kt&&f&&fe(!0))},X=q=>{v(q)&&(a=!1,!n.Kt&&f&&fe(!1))},ie=q=>{B(Zf,q,!0),B(Zf,q,!1)},W=[j,y,C,w,()=>h(),Je(F,"pointerover",H,{A:!0}),Je(F,"pointerenter",H),Je(F,"pointerleave",X),Je(F,"pointermove",g((q=>{v(q)&&l&&me()}))),Je(N,"scroll",g((q=>{b((()=>{D(),me()})),o(q),ge()})))],Q=Cs(bu);return[()=>xe(an,Xe(W,E())),({Dt:q,It:L,Zt:U,tn:ce})=>{const{nn:be,sn:Se,en:_e,cn:Te}=ce||{},{Ct:R,ft:$}=U||{},{B:se}=i,{M:ne,P:de}=Kn(),{rn:Y,j:ee}=r,[Z,ue]=q("showNativeOverlaidScrollbars"),[oe,ye]=q("scrollbars.theme"),[te,De]=q("scrollbars.visibility"),[Le,pt]=q("scrollbars.autoHide"),[at,bi]=q("scrollbars.autoHideSuspend"),[bn]=q("scrollbars.autoHideDelay"),[yn,Jn]=q("scrollbars.dragScroll"),[nn,Un]=q("scrollbars.clickScroll"),[Pt,mt]=q("overflow"),Ut=$&&!L,Sr=be||Se||Te||R||L,Es=_e||De||mt,Fn=Z&&ne.x&&ne.y,jr=!de&&!Q,Ji=Fn||jr,Ir=(Qn,Ui,Dn)=>{const Br=Qn.includes(or)&&(te===li||te==="auto"&&Ui===or);return B(zA,Br,Dn),Br};if(m=bn,(ue||jr)&&B(RA,Ji),ye&&(B(u),B(oe,!0),u=oe),(bi||Ut)&&(ie(!at),Ut&&at&&(ee.x||ee.y?(h(),x((()=>{h=Je(N,or,g(xe(ie,!0)),{A:!0})}
vendor: 4,224 bytes, line 14
14))):ie(!0))),pt&&(l=Le==="move",f=Le==="leave",c=Le==="never",fe(c,!0)),Jn&&B(VA,yn),Un&&B($A,!!nn),Es){const Qn=Ir(Pt.x,Y.x,!0),Ui=Ir(Pt.y,Y.y,!1);B(HA,!(Qn&&Ui))}Sr&&(D(),M(),ge(),Te&&G(),B(Zh,!ee.x,!0),B(Zh,!ee.y,!1),B(LA,se&&!T))},{},I]},d3=t=>{const e=Kn(),{K:n,P:i}=e,{elements:r}=n(),{padding:s,viewport:o,content:a}=r,l=qa(t),f=l?{}:t,{elements:c}=f,{padding:u,viewport:h,content:m}=c||{},p=l?t:f.target,g=Rg(p),v=p.ownerDocument,b=v.documentElement,w=()=>v.defaultView||Zt,A=xe(r3,[p]),y=xe(r0,[p]),x=xe(ts,""),C=xe(A,x,o),_=xe(y,x,a),j=R=>{const $=ns(R),se=el(R),ne=Vn(R,lu),de=Vn(R,du);return se.w-$.w>0&&!Zr(ne)||se.h-$.h>0&&!Zr(de)},I=C(h),E=I===p,F=E&&g,N=!E&&_(m),T=!E&&I===N,B=F?b:I,M=F?B:p,D=!E&&y(x,s,u),G=!T&&N,ge=[G,B,D,M].map((R=>qa(R)&&!Mo(R)&&R)),fe=R=>R&&yg(ge,R),me=!fe(B)&&j(B)?B:p,H=F?b:B,ie={dt:p,vt:M,L:B,ln:D,ht:G,gt:H,Qt:F?v:B,an:g?b:me,Gt:v,bt:g,At:l,V:E,un:w,yt:R=>hu(B,si,R),wt:(R,$)=>Xa(B,si,R,$),St:()=>Xa(H,si,MA,!0)},{dt:W,vt:Q,ln:q,L,ht:U}=ie,ce=[()=>{Nn(Q,[Fi,$d]),Nn(W,$d),g&&Nn(b,[$d,Fi])}];let be=Vf([U,L,q,Q,W].find((R=>R&&!fe(R))));const Se=F?W:U||L,_e=xe(an,ce);return[ie,()=>{const R=w(),$=Gf(),se=Z=>{Yt(Mo(Z),Vf(Z)),as(Z)},ne=Z=>Je(Z,"focusin focusout focus blur",Vg,{I:!0,D:!1}),de="tabindex",Y=cu(L,de),ee=ne($);return ri(Q,Fi,E?"":jA),ri(q,Yf,""),ri(L,si,""),ri(U,qh,""),E||(ri(L,de,Y||"-1"),g&&ri(b,Qh,"")),Yt(Se,be),Yt(Q,q),Yt(q||Q,!E&&L),Yt(L,U),Xe(ce,[ee,()=>{const Z=Gf(),ue=fe(L),oe=ue&&Z===L?W:Z,ye=ne(oe);Nn(q,Yf),Nn(U,qh),Nn(L,si),g&&Nn(b,Qh),Y?ri(L,de,Y):Nn(L,de),fe(U)&&se(U),ue&&se(L),fe(q)&&se(q),Qf(oe),ye()}]),i&&!E&&(uu(L,si,qg),Xe(ce,xe(Nn,L,si))),Qf(!E&&g&&$===W&&R.top===R?L:$),ee(),be=0,_e},_e]},f3=({ht:t})=>({Zt:e,fn:n,It:i})=>{const{$t:r}=e||{},{Ot:s}=n;t&&(r||i)&&To(t,{[id]:s&&"100%"})},c3=({vt:t,ln:e,L:n,V:i},r)=>{const[s,o]=rn({i:pA,o:Gh()},xe(Gh,t,"padding",""));return({Dt:a,Zt:l,fn:f,It:c})=>{let[u,h]=o(c);const{P:m}=Kn(),{_t:p,xt:g,Ct:v}=l||{},{B:b}=f,[w,A]=a("paddingAbsolute");(p||h||(c||g))&&([u,h]=s(c));const x=!i&&(A||v||h);if(x){const C=!w||!e&&!m,_=u.r+u.l,j=u.t+u.b,I={[Cg]:C&&!b?-_:0,[Sg]:C?-j:0,[_g]:C&&b?-_:0,top:C?-u.t:0,right:C?b?-u.r:"auto":0,left:C?b?"auto":-u.l:0,[nd]:C&&`calc(100% + ${_}px)`},E={[kg]:C?u.t:0,[wg]:C?u.r:0,[xg]:C?u.b:0,[Ag]:C?u.l:0};To(e||n,I),To(n,E),Re(r,{ln:u,_n:!C,F:e?E:Re({},I,E)})}return{dn:x}}},u3=(t,e)=>{const n=Kn(),{vt:i,ln:r,L:s,V:o,Qt:a,gt:l,bt:f,wt:c,un:u}=t,{P:h}=n,m=f&&o,p=xe(gg,0),g={display:()=>!1,direction:W=>W!=="ltr",flexDirection:W=>W.endsWith("-reverse"),writingMode:W=>W!=="horizontal-tb"},v=qt(g),b={i:jg,o:{w:0,h:0}},w={i:Ba,o:{}},A=W=>{c(Qg,!m&&W)},y=()=>Vn(s,v),x=(W,Q)=>{const q=!qt(W).length,L=Q?!0:v.some((de=>{const Y=W[de];return _s(Y)&&g[de](Y)}));if(q||!L||!AA(s))return{T:{x:0,y:0},k:{x:1,y:1}};A(!0);const U=on(l),ce=Je(a,or,(de=>{const Y=on(l);de.isTrusted&&Y.x===U.x&&Y.y===U.y&&$g(de)}),{I:!0,A:!0}),be=c(TA,!0);Wn(l,{x:0,y:0}),be();const Se=on(l),_e=el(l);Wn(l,{x:_e.w,y:_e.h});const Te=on(l),R={x:Te.x-Se.x,y:Te.y-Se.y};Wn(l,{x:-_e.w,y:-_e.h});const $=on(l),se={x:$.x-Se.x,y:$.y-Se.y},ne={x:Ei(R.x)>=Ei(se.x)?Te.x:$.x,y:Ei(R.y)>=Ei(se.y)?Te.y:$.y};return Wn(l,U),iu((()=>ce())),{T:Se,k:ne}},C=(W,Q)=>{const q=Zt.devicePixelRatio%1!==0?1:0,L={w:p(W.w-Q.w),h:p(W.h-Q.h)};return{w:L.w>q?L.w:0,h:L.h>q?L.h:0}},_=(W,Q)=>{const q=(L,U,ce,be)=>{const Se=L===li?Cn:JA(L),_e=Zr(L),Te=Zr(ce);return!U&&!be?Cn:_e&&Te?li:_e?U&&be?Se:U?li:Cn:U?Se:Te&&be?li:Cn};return{x:q(Q.x,W.x,Q.y,W.y),y:q(Q.y,W.y,Q.x,W.x)}},j=W=>{const Q=L=>[li,Cn,or].map((U=>ie(Xf(U),L))),q=Q(!0).concat(Q()).join(" ");c(q),c(qt(W).map((L=>ie(W[L],L==="x"))).join(" "),!0)},[I,E]=rn(b,xe(mu,s)),[F,N]=rn(b,xe(el,s)),[T,B]=rn(b),[M]=rn(w),[D,G]=rn(b),[ge]=rn(w),[fe]=rn({i:(W,Q)=>rd(W,Q,Za(ss(qt(W),qt(Q)))),o:{}}),[me,H]=rn({i:(W,Q)=>Ba(W.T,Q.T)&&Ba(W.k,Q.k),o:Gg()}),X=Cs(bu),ie=(W,Q)=>`${Q?IA:BA}${hA(W)}`;return({Dt:W,Zt:Q,fn:q,It:L},{dn:U})=>{const{_t:ce,Ht:be,xt:Se,Ct:_e,ft:Te,Et:R}=Q||{},$=X&&X.R(t,e,q,n,W),{X:se,Y:ne,W:de}=$||{},[Y,ee]=KA(W,n),[Z,ue]=W("overflow"),oe=Zr(Z.x),ye=Zr(Z.y),te=ce||U||Se||_e||R||ee;let De=E(L),Le=N(L),pt=B(L),at=G(L);if(ee&&h&&c(qg,!Y),te){hu(i,Fi,Ma)&&A(!0);const Ms=ne&&ne(),[Er]=De=I(L),[yi]=Le=F(L),Mr=Hg(s),Qi=m&&wA(u()),Ed={w:p(yi.w+Er.w),h:p(yi.h+Er.h)}
14,Tr={w:p((Qi?Qi.w:Mr.w+p(Mr.w-yi.w))+Er.w),h:p((Qi?Qi.h:Mr.h+p(Mr.h-yi.h))+Er.h)};Ms&&Ms(),at=D(Tr),pt=T(C(Ed,Tr),L)}const[bi,bn]=at,[yn,Jn]=pt,[nn,Un]=Le,[Pt,mt]=De,[Ut]=M({x:yn.w>0,y:yn.h>0}),Sr=oe&&ye&&(Ut.x||Ut.y)||oe&&Ut.x&&!Ut.y||ye&&Ut.y&&!Ut.x,Es=U||_e||R||mt||Un||bn||Jn||ue||ee||te||be&&m,[Fn]=W("update.flowDirectionStyles"),[jr,Ji]=fe(Fn?Fn(s)||{}:y(),L),Ir=_e||Te||Ji||L,[Qn,Ui]=Ir?me(x(jr,!!Fn),L):H();let Dn=_(Ut,Z);A(!1),Es&&(j(Dn),Dn=UA(s,Ut),de&&se&&(se(Dn,nn,Pt),To(s,de(Dn))));const[Br,Bd]=ge(Dn);return Xa(i,Fi,Ma,Sr),Xa(r,Yf,Ma,Sr),Re(e,{rn:Br,Vt:{x:bi.w,y:bi.h},Rt:{x:yn.w,y:yn.h},j:Ut,Tt:xA(Qn,yn)}),{en:Bd,nn:bn,sn:Jn,cn:Ui||Jn}}},h3=t=>{const[e,n,i]=d3(t),r={ln:{t:0,r:0,b:0,l:0},_n:!1,F:{[Cg]:0,[Sg]:0,[_g]:0,[kg]:0,[wg]:0,[xg]:0,[Ag]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},rn:{x:Cn,y:Cn},j:{x:!1,y:!1},Tt:Gg()},{dt:s,gt:o,V:a,St:l}=e,{P:f,M:c}=Kn(),u=!f&&(c.x||c.y),h=[f3(e),c3(e,r),u3(e,r)];return[n,m=>{const p={},v=u&&on(o),b=v&&l();return He(h,(w=>{Re(p,w(m,p)||{})})),Wn(o,v),b&&b(),a||Wn(s,0),p},r,e,i]},p3=(t,e,n,i)=>{let r=!1;const s={Kt:!1,pn:!1},o=Vd(e,{}),[a,l,f,c,u]=h3(t),[h,m,p]=i3(c,f,o,(y=>{A({},y)})),[g,v,,b]=l3(t,e,s,p,f,c,i),w=y=>qt(y).some((x=>!!y[x])),A=(y,x)=>{const{Kt:C,pn:_}=s;if(_||C&&r)return!1;const{vn:j,It:I,zt:E}=y,F=j||{},N=!!I||!r,T={Dt:Vd(e,F,N),vn:F,It:N},B=x||m(Re({},T,{zt:E})),M=l(Re({},T,{fn:p,Zt:B}));v(Re({},T,{Zt:B,tn:M}));const D=w(B),G=w(M),ge=D||G||!fu(F)||N;return r=!0,ge&&n(y,{Zt:B,tn:M}),ge};return[()=>{const{an:y,gt:x,St:C}=c,_=on(y),j=[h(),a(),g(),()=>{s.pn=!0}],I=C();return Wn(x,_),I(),xe(an,j)},A,y=>{const x=s.Kt;s.Kt=y,!y&&x!==y&&A({It:!0,zt:!0})},()=>{v({Dt:Vd(e,{},!1),vn:{},It:!1})},()=>({gn:s,hn:p,bn:f}),{yn:c,wn:b},u]},yu=new WeakMap,m3=(t,e)=>{yu.set(t,e)},g3=t=>{yu.delete(t)},s0=t=>yu.get(t),jn=(t,e,n)=>{const{tt:i}=Kn(),r=qa(t),s=r?t:t.target,o=s0(s);if(e&&!o){const a=[],l={},f=N=>{const T=Eg(N),B=Cs(SA);return B?B(T,!0):T},c=Re({},i(),f(e)),[u,h,m]=qf(),[p,g,v]=qf(n),b=(N,T)=>{v(N,T),m(N,T)},[w,A,y,x,C,_,j]=p3(t,c,(({vn:N,It:T},{Zt:B,tn:M})=>{const{_t:D,Ct:G,$t:ge,xt:fe,Ht:me,ft:H}=B,{nn:X,sn:ie,en:W,cn:Q}=M;b("updated",[F,{updateHints:{sizeChanged:!!D,directionChanged:!!G,heightIntrinsicChanged:!!ge,overflowEdgeChanged:!!X,overflowAmountChanged:!!ie,overflowStyleChanged:!!W,scrollCoordinatesChanged:!!Q,contentMutation:!!fe,hostMutation:!!me,appear:!!H},changedOptions:N||{},force:!!T}])}),(N=>b("scroll",[F,N]))),I=N=>{const{gn:T}=C(),{pn:B}=T;B||(g3(s),an(a),b("destroyed",[F,N]),h(),g())},F={options(N,T){if(N){const B=T?i():{},M=e0(c,Re(B,f(N)));fu(M)||(Re(c,M),A({vn:M}))}return Re({},c)},on:p,off:(N,T)=>{N&&T&&g(N,T)},state(){const{gn:N,hn:T,bn:B}=C(),{pn:M,Kt:D}=N,{B:G}=T,{Vt:ge,Rt:fe,rn:me,j:H,ln:X,_n:ie,Tt:W}=B;return Re({},{overflowEdge:ge,overflowAmount:fe,overflowStyle:me,hasOverflow:H,scrollCoordinates:{start:W.T,end:W.k},padding:X,paddingAbsolute:ie,directionRTL:G,sleeping:D,destroyed:M})},elements(){const{dt:N,vt:T,ln:B,L:M,ht:D,gt:G,Qt:ge}=_.yn,{jt:fe,Jt:me}=_.wn,H=ie=>{const{kt:W,Pt:Q,Lt:q}=ie;return{scrollbar:q,track:Q,handle:W}},X=ie=>{const{Xt:W,Yt:Q}=ie,q=H(W[0]);return Re({},q,{clone:()=>{const L=H(Q());return x(),L}})};return Re({},{target:N,host:T,padding:B||M,viewport:M,content:D||M,scrollOffsetElement:G,scrollEventElement:ge,scrollbarHorizontal:X(fe),scrollbarVertical:X(me)})},update:N=>A({It:N,zt:!0}),destroy:xe(I,!1),sleep:y,plugin:N=>l[qt(N)[0]]};return Xe(a,[j]),m3(s,F),Ug(Kg,jn,[F,u,l]),s3(_.yn.bt,!r&&t.cancel)?(I(!0),F):(Xe(a,w()),b("initialized",[F]),F.update(),F)}return o};jn.plugin=t=>{const e=gn(t),n=e?t:[t],i=n.map((r=>Ug(r,jn)[0]));return _A(n),e?i:i[0]};jn.valid=t=>{const e=t&&t.elements,n=Mn(e)&&e();return Bo(n)&&!!s0(n.target)};jn.env=()=>{const{U:t,M:e,P:n,J:i,ot:r,st:s,K:o,Z:a,tt:l,nt:f}=Kn();return Re({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,scrollTimeline:i,staticDefaultInitialization:r,staticDefaultOptions:s,getDefaultInitialization:o,setDefaultInitialization:a,getDefaultOptions:l,setDefaultOptions:f})};jn.nonce=XA;jn.trustedTypePolicy=bA;const v3=()=>{if(typeof window>"u"){const f=()=>{};return[f,f]}let t,e;const n=window,i=typeof n.requestIdleCallback=="function",r=n.requestAnimationFrame,s=n.
14cancelAnimationFrame,o=i?n.requestIdleCallback:r,a=i?n.cancelIdleCallback:s,l=()=>{a(t),s(e)};return[(f,c)=>{l(),t=o(i?()=>{l(),e=r(f)}:f,typeof c=="object"?c:{timeout:2233})},l]},b3=t=>{const{options:e,events:n,defer:i}=t||{},[r,s]=k.useMemo(v3,[]),o=k.useRef(null),a=k.useRef(i),l=k.useRef(e),f=k.useRef(n);return k.useEffect(()=>{a.current=i},[i]),k.useEffect(()=>{const{current:c}=o;l.current=e,jn.valid(c)&&c.options(e||{},!0)},[e]),k.useEffect(()=>{const{current:c}=o;f.current=n,jn.valid(c)&&c.on(n||{},!0)},[n]),k.useEffect(()=>()=>{var c;s(),(c=o.current)==null||c.destroy()},[]),k.useMemo(()=>[c=>{const u=o.current;if(jn.valid(u))return;const h=a.current,m=l.current||{},p=f.current||{},g=()=>o.current=jn(c,m,p);h?r(g,h):g()},()=>o.current],[])},y3=(t,e)=>{const{element:n="div",options:i,events:r,defer:s,children:o,...a}=t,l=n,f=k.useRef(null),c=k.useRef(null),[u,h]=b3({options:i,events:r,defer:s});return k.useEffect(()=>{const{current:m}=f,{current:p}=c;if(!m)return;const g=m;return u(n==="body"?{target:g,cancel:{body:null}}:{target:g,elements:{viewport:p,content:p}}),()=>{var v;return(v=h())==null?void 0:v.destroy()}},[u,n]),k.useImperativeHandle(e,()=>({osInstance:h,getElement:()=>f.current}),[]),K.createElement(l,{"data-overlayscrollbars-initialize":"",ref:f,...a},n==="body"?o:K.createElement("div",{"data-overlayscrollbars-contents":"",ref:c},o))},ec=k.forwardRef(y3),St=[];for(let t=0;t<256;++t)St.push((t+256).toString(16).slice(1));function k3(t,e=0){return(St[t[e+0]]+St[t[e+1]]+St[t[e+2]]+St[t[e+3]]+"-"+St[t[e+4]]+St[t[e+5]]+"-"+St[t[e+6]]+St[t[e+7]]+"-"+St[t[e+8]]+St[t[e+9]]+"-"+St[t[e+10]]+St[t[e+11]]+St[t[e+12]]+St[t[e+13]]+St[t[e+14]]+St[t[e+15]]).toLowerCase()}let Kd;const w3=new Uint8Array(16);function A3(){if(!Kd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Kd=crypto.getRandomValues.bind(crypto)}return Kd(w3)}const x3=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ip={randomUUID:x3};function _3(t,e,n){if(ip.randomUUID&&!t)return ip.randomUUID();t=t||{};const i=t.random??t.rng?.()??A3();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=i[6]&15|64,i[8]=i[8]&63|128,k3(i)}const C3={width:"100%",backgroundColor:"#ffffff"},S3={backgroundColor:"transparent",fullWidthBackgroundColor:"transparent",paddingTop:"0px",paddingRight:"0px",paddingBottom:"0px",paddingLeft:"0px",cssClass:""},j3={},I3={backgroundColor:"transparent",backgroundUrl:"",backgroundRepeat:"no-repeat",backgroundSize:"auto",backgroundPosition:"top center",border:"none",borderTop:"none",borderRight:"none",borderBottom:"none",borderLeft:"none",borderRadius:"0px",direction:"ltr",fullWidth:"",paddingTop:"20px",paddingRight:"0px",paddingBottom:"20px",paddingLeft:"0px",textAlign:"center",cssClass:""},B3={width:"100%",verticalAlign:"top",backgroundColor:"transparent",innerBackgroundColor:"transparent",border:"none",borderTop:"none",borderRight:"none",borderBottom:"none",borderLeft:"none",borderRadius:"0px",innerBorder:"none",innerBorderTop:"none",innerBorderRight:"none",innerBorderBottom:"none",innerBorderLeft:"none",innerBorderRadius:"0px",paddingTop:"0px",paddingRight:"0px",paddingBottom:"0px",paddingLeft:"0px",cssClass:""},E3={align:"left",color:"#000000",fontFamily:"Arial, sans-serif",fontSize:"13px",fontStyle:"normal",fontWeight:"normal",lineHeight:"1.4",textDecoration:"none",textTransform:"none",paddingTop:"10px",paddingRight:"25px",paddingBottom:"10px",paddingLeft:"25px",backgroundColor:"transparent"},M3={align:"center",backgroundColor:"#414141",borderRadius:"3px",border:"none",color:"#ffffff",fontFamily:"Arial, sans-serif",fontSize:"13px",fontStyle:"normal",fontWeight:"normal",href:"",innerPadding:"10px 25px",lineHeight:"120%",paddingTop:"10px",paddingRight:"25px",paddingBottom:"10px",paddingLeft:"25px",target:"_blank",textDecoration:"none",textTransform:"none",verticalAlign:"middle",rel:"noopener noreferrer"},T3={align:"center",alt:"",border:"none",borderRadius:"0px",containerBackgroun
14dColor:"transparent",fluidOnMobile:"false",height:"auto",href:"",paddingTop:"10px",paddingRight:"25px",paddingBottom:"10px",paddingLeft:"25px",rel:"noopener noreferrer",sizes:"",src:"",srcset:"",target:"_blank",title:"",usemap:"",width:"100%"},F3={},D3={},N3={width:"480px"},R3={name:"",href:""},L3={},O3={content:""},P3={inline:void 0,content:""},z3={content:""},H3={width:"100%",verticalAlign:"top",backgroundColor:"transparent",direction:"ltr",cssClass:""},W3={cssClass:""},$3={align:"center",borderColor:"#000000",borderStyle:"solid",borderWidth:"4px",containerBackgroundColor:"transparent",paddingTop:"10px",paddingRight:"25px",paddingBottom:"10px",paddingLeft:"25px",width:"100%"},V3={height:"20px",containerBackgroundColor:"transparent",paddingTop:"0px",paddingRight:"0px",paddingBottom:"0px",paddingLeft:"0px"},G3={align:"center",borderRadius:"3px",containerBackgroundColor:"transparent",iconHeight:"20px",iconSize:"20px",innerPadding:"4px",lineHeight:"22px",mode:"horizontal",paddingTop:"10px",paddingRight:"25px",paddingBottom:"10px",paddingLeft:"25px",tableLayout:"auto",textPadding:"4px 4px 4px 0px"},K3={align:"center",alt:"",backgroundColor:"transparent",borderRadius:"3px",color:"#333333",cssClass:void 0,fontFamily:"Ubuntu, Helvetica, Arial, sans-serif",fontSize:"13px",fontStyle:"normal",fontWeight:"normal",href:void 0,iconHeight:void 0,iconSize:"20px",iconPadding:"0px",lineHeight:"22px",name:void 0,padding:"4px",paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,rel:void 0,sizes:void 0,src:void 0,srcset:void 0,target:"_blank",textDecoration:"none",textPadding:"4px 4px 4px 0",title:void 0,verticalAlign:"middle"},qe={mjml:j3,"mj-body":C3,"mj-wrapper":S3,"mj-section":I3,"mj-column":B3,"mj-text":E3,"mj-button":M3,"mj-image":T3,"mj-head":F3,"mj-attributes":
14D3,"mj-breakpoint":N3,"mj-font":R3,"mj-html-attributes":L3,"mj-preview":O3,"mj-style":P3,"mj-title":z3,"mj-group":H3,"mj-raw":W3,"mj-divider":$3,"mj-spacer":V3,"mj-social":G3,"mj-social-element":K3},J3=t=>qe[t]||{},U3=(t,e={})=>({...J3(t),...e});class lt{block;constructor(e){this.block=e.attributes?e:{...e,attributes:{}}}canAcceptChild(e){return this.getValidChildTypes().includes(e)}getBlock(){return this.block}getType(){return this.block.type}getId(){return this.block.id}}const dt=({title:t,children:e})=>d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"pt-4 px-5 text-gray-900 text-sm font-bold",children:t}),d.jsx("div",{className:"p-5",children:e})]});class Q3 extends lt{getIcon(){return d.jsx(ae,{icon:K2,className:"opacity-70"})}getLabel(){return"Email"}getDescription(){return"Root container for the entire email document"}getCategory(){return"layout"}getDefaults(){return qe.mjml||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-head","mj-body"]}renderSettingsPanel(e,n,i){return d.jsx(dt,{title:"Email Attributes",children:"TODO"})}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,onUpdateBlock:r,attributeDefaults:s,emailTree:o,onCloneBlock:a,onDeleteBlock:l,onSaveBlock:f,savedBlocks:c}=e,u=this.block.id,h=n===this.block.id,m=`email-block-hover ${h?"selected":""}`.trim(),p=h?{position:"relative",zIndex:10}:{},g=w=>{w.stopPropagation(),i&&i(this.block.id)},v=S.mergeWithAllDefaults("mjml",this.block.attributes,s),b=o||this.block;return d.jsx("div",{style:{fontFamily:"Arial, sans-serif",direction:v.dir,...p},className:m,onClick:g,lang:v.lang,children:this.block.children?.map(w=>d.jsx(K.Fragment,{children:S.renderEmailBlock(w,s,n,i,b,r,a,l,f,c)},w.id))},u)}}const P=({label:t,help:e,children:n,className:i="mt-4",layout:r="horizontal"})=>{const s=r==="vertical"?"flex-col":"";return d.jsxs("div",{className:`flex ${s} items-start gap-2 ${i}`,children:[d.jsxs("div",{className:"flex items-start gap-1 min-w-[150px]",children:[typeof t=="string"?d.jsxs("label",{className:"text-xs font-medium text-slate-700 pt-1",children:[t,":"]}):t,e&&d.jsx(Ke,{title:e,children:d.jsx(ae,{icon:J2,className:"text-xs text-gray-400 opacity-70 cursor-help"})})]}),d.jsx("div",{className:r==="vertical"?"w-full":"flex-1",children:n})]})},Tt=({value:t,onChange:e,size:n="small",allowClear:i=!0,disabled:r=!1,placeholder:s="None",showText:o=!0})=>{const a=k.useCallback(u=>{const h=u?.toHexString();e(h||void 0)},[e]),l=k.useCallback(()=>{e("transparent")},[e]),f=t==="transparent"?void 0:t,c=(u,{components:{Picker:h,Presets:m}})=>d.jsxs(ct,{justify:"space-between",wrap:!1,children:[d.jsx(Ce,{span:8,children:d.jsx("div",{className:"compact-color-presets",style:{maxHeight:"280px",overflow:"auto"},children:d.jsx(m,{})})}),d.jsx(gw,{type:"vertical",style:{height:"auto"}}),d.jsx(Ce,{flex:"auto",children:d.jsx(h,{})})]});return d.jsxs("div",{children:[d.jsx("style",{children:` 15 .compact-color-presets .ant-color-picker-presets-color { 16 width: 14px !important; 17 height: 14px !important; 18 border-radius: 2px !important; 19 margin: 1px !important; 20 } 21 .compact-color-presets .ant-color-picker-presets-label { 22 display: none !important; 23 } 24 .compact-color-presets .ant-color-picker-presets { 25 margin-bottom: 4px !important; 26 } 27 `}),d.jsx(sg,{size:n,value:f||void 0,onChangeComplete:a,onClear:l,allowClear:i,disabled:r,styles:{popupOverlayInner:{width:380}},panelRender:c,showText:o?u=>d.jsx("span",{style:{fontSize:"12px"},children:u&&t!=="transparent"&&t!==void 0?u.toHexString():s}):!1,presets:[{label:"",colors:["#000000","#ffffff","#1f2937","#f9fafb","#f3f4f6","#e5e7eb","#d1d5db","#9ca3af","#6b7280","#4b5563","#374151","#111827","#fdf2f2","#fde8e8","#fbd5d5","#f8b4b4","#f98080","#f05252","#e02424","#c81e1e","#9b1c1c","#771d1d","#fdfdea","#fdf6b2","#fce96a","#faca15","#e3a008","#c27803","#9f580a","#8e4b10","#723b13","#633112","#f3faf7","#def7ec","#bcf0da","#84e1bc","#31c48d","#0e9f6e","#057a55","#046c4e","#03543f","#014737","#ebf5ff","#e1effe","#c3ddfd","#a4cafe","#76a9fa","#3f83f8","#1c64f2","#1a56db","#1e429f","#233876","#f0f5ff","#e5edff","#cddbfe","#b4c6fc","#8da2fb","#6875f5","#5850ec","#5145cd","#42389d","#362f78","#f6f5ff","#edebfe","#dcd7fe","#cabffd","#ac94fa","#9061f9","#7e3af2","#6c2bd9","#5521b5","#4a1d96","#fdf2f8","#fce8f3","#fad1e8","#f8b4d9","#f17eb8","#e74694","#d61f69","#bf125d","#99154b","#751a3d"]}]})]})},st=({value:t,onChange:e,placeholder:n="Enter value",buttonText:i="Set value",validateUri:r=!1})=>{const[s,o]=k.useState(!1),[a,l]=k.useState(t||""),f=b=>/\{\{[^}]+\}\}/.test(b),c=b=>{if(!r||!b.trim()||f(b))return!0;try{return new URL(b),!0}catch{return!1}},u=c(a),h=b=>{o(b),b&&l(t||"")},m=()=>{const b=a.trim();r&&b&&!c(b)||(e(b||void 0),o(!1))},p=()=>{l(t||""),o(!1)},g=()=>{e(void 0),o(!1)},v=d.jsxs("div",{className:"w-64",children:[d.jsx(We,{size:"small",value:a,onChange:b=>l(b.target.value),placeholder:n,onPressEnter:m,autoFocus:!0,allowClear:!0,onClear:g,status:r&&a&&!u?"error":void 0}),r&&a&&!u&&d.jsxs("div",{className:"text-xs text-red-500 mt-1",children:["Invalid URL format. Use a valid URL or liquid expression like ","{{ variable }}"]}),d.jsxs("div",{className:"flex justify-end gap-2 mt-2",children:[d.jsx(Ee,{size:"small",onClick:p,children:"Cancel"}),d.jsx(Ee,{size:"small",type:"primary",onClick:m,disabled:!!(r&&a&&!u),children:"Save"})]})]});if(t){const b=c(t),w=f(t),A=r&&b&&t.trim()&&!w;return d.jsxs("div",{className:"space-y-2",children:[A?d.jsxs("div",{className:"flex items-center gap-1",children:[d.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-gray-900 hover:text-blue-500 underline break-all flex-1",children:t}),d.jsx(ae,{icon:U2,className:"text-xs text-gray-400 opacity-70"})]}):d.jsxs("span",{className:`text-xs block break-all ${w?"text-purple-600 font-mono":r&&!b?"text-red-500":"text-slate-600"}`,children:[t,w&&d.jsx("span",{className:"ml-1 text-xs text-purple-400",children:"(liquid)"})]}),d.jsx(pr,{content:v,title:"Edit value",trigger:"click",open:s,onOpenChange:h,placement:"bottom",children:d.jsx(Ee,{type:"primary",size:"small",ghost:!0,children:"Edit value"})})]})}return d.jsx(pr,{content:v,title:"Set value",trigger:"click",open:s,onOpenChange:h,placement:"bottom",children:d.jsx(Ee,{size:"small",type:"primary",ghost:!0,className:"text-xs",children:i})})},o0=k.memo(({value:t,onChange:e,placeholder:n,defaultValue:i,min:r=0,max:s=2e3,step:o=1,disabled:a=!1,size:l="small",style:f={width:"100px"}})=>{const c=p=>{if(!p)return;const g=p.match(/^(\d+(?:\.\d+)?)px?$/);return g?parseFloat(g[1]):void 0},u=p=>{const g=p!=null?`${p}px`:void 0;e?.(g)},h=c(t),m=n||(c(i)||0).toString();return d.jsx(et,{size:l,value:h,onChange:u,placeholder:m,min:r,max:s,step:o,suffix:"px",disabled:a,style:f})});class q3 extends lt{getIcon(){return null}getLabel(){return"Body"}getDescription(){return"Main container for email content, contains sections"}getCategory(){return"layout"}getDefaults(){return qe["mj-body"]||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-wrapper","mj-section","mj-raw"]}renderSettingsPanel(e,n,i){const r=this.block.attributes,o=(l=>{if(!l)return;const f=l.match(/^(\d+(?:\.\d+)?)px?$/);return f?parseFloat(f[1]):void 0})(r.width||n.width),a=o!==void 0&&o>650;return d.jsxs(dt,{title:"Body Attributes",children:[d.jsx(P,{label:"Width",children:d.jsx(o0,{value:r.width,onChange:l=>e({width:l}),placeholder:n.width||"600px",max:999})}),a&&d.jsx(nu,{message:"Email widths above 650px may not display correctly in some email clients",type:"warning",style:{marginTop:"8px"}}
27),d.jsx(P,{label:"Background Color",children:d.jsx(Tt,{value:r.backgroundColor||void 0,onChange:l=>{e({backgroundColor:l||void 0})},placeholder:"None"})}),d.jsx(P,{label:"CSS Class",children:d.jsx(st,{value:r.cssClass||"",onChange:l=>e({cssClass:l||void 0}),placeholder:"Enter CSS class name",buttonText:"Set class"})})]})}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,attributeDefaults:r,emailTree:s,onUpdateBlock:o,onCloneBlock:a,onDeleteBlock:l,onSaveBlock:f,savedBlocks:c}=e,u=this.block.id,h=n===this.block.id,m=`email-block-hover ${h?"selected":""}`.trim(),p=h?{position:"relative",zIndex:10}:{},g=w=>{w.stopPropagation(),i&&i(this.block.id)},v=S.mergeWithAllDefaults("mj-body",this.block.attributes,r),b={width:v.width,backgroundColor:v.backgroundColor,...p};return d.jsx("div",{style:b,className:`${v.cssClass||""} ${m}`.trim(),onClick:g,children:this.block.children?.map(w=>d.jsx(K.Fragment,{children:S.renderEmailBlock(w,r,n,i,s,o,a,l,f,c)},w.id))},u)}}const Y3=({value:t="",onChange:e,placeholder:n="Enter file URL or use file manager",acceptFileType:i="image/*",acceptItem:r=f=>!f.is_folder&&f.file_info?.content_type?.startsWith("image/"),buttonText:s="Browse Files",disabled:o=!1,size:a="small",contextImages:l})=>{const{SelectFileButton:f}=B2(),c=h=>{const m=h.target.value.trim();e(m||void 0)},u=h=>{e(h)};return d.jsxs("div",{className:"file-src-component",children:[d.jsx(We,{size:a,value:t,onChange:c,placeholder:n,disabled:o,style:{marginBottom:"8px"}}),d.jsx(f,{onSelect:u,acceptFileType:i,acceptItem:r,buttonText:s,disabled:o,size:a,block:!0,type:"primary",ghost:!0,style:{marginBottom:"8px"},contextImages:l})]})},a0=t=>d.jsx(Ko,{children:d.jsx(Y3,{...t})}),ku=k.memo(({value:t={},onChange:e,showBackgroundColor:n=!0,showBackgroundImage:i=!0})=>{const[r,s]=k.useState(t.backgroundUrl?"image":"color");k.useEffect(()=>{s(t.backgroundUrl?"image":"color")},[t.backgroundUrl]);const o=(g,v)=>{const w=g.trim().split(/\s+/)[v]||"50%",A=parseInt(w.replace(/[%px]/,""));return isNaN(A)?50:A},a=g=>{s(g),e?.(g==="color"?{...t,backgroundUrl:void 0,backgroundSize:void 0,backgroundRepeat:void 0,backgroundPosition:void 0,backgroundPositionX:void 0,backgroundPositionY:void 0}:{...t,backgroundColor:void 0})},l=(g,v)=>{e?.({...t,[g]:v})},f=[{value:"auto",label:"Auto"},{value:"cover",label:"Cover"},{value:"contain",label:"Contain"},{value:"custom-px",label:"Custom (px)"},{value:"custom-percent",label:"Custom (%)"}],c=[{value:"repeat",label:"Repeat"},{value:"repeat-x",label:"Repeat X"},{value:"repeat-y",label:"Repeat Y"},{value:"no-repeat",label:"No Repeat"},{value:"space",label:"Space"},{value:"round",label:"Round"}],u=[{value:"top left",label:"Top Left"},{value:"top center",label:"Top Center"},{value:"top right",label:"Top Right"},{value:"center left",label:"Center Left"},{value:"center center",label:"Center Center"},{value:"center right",label:"Center Right"},{value:"bottom left",label:"Bottom Left"},{value:"bottom center",label:"Bottom Center"},{value:"bottom right",label:"Bottom Right"},{value:"custom",label:"Custom"}],h=()=>{const g=t.backgroundSize||"auto",v=g.includes("px")&&!["cover","contain","auto"].includes(g),b=g.includes("%")&&!["cover","contain","auto"].includes(g);let w=g;return v&&(w="custom-px"),b&&(w="custom-percent"),d.jsxs("div",{children:[d.jsx(re,{size:"small",value:w,onChange:A=>{["auto","cover","contain"].includes(A)?l("backgroundSize",A):A==="custom-px"&&!v?l("backgroundSize","100px"):A==="custom-percent"&&!b&&l("backgroundSize","100%")},options:f,style:{width:"100%",marginBottom:8}}),(w==="custom-px"||w==="custom-percent")&&d.jsx(et,{size:"small",value:w==="custom-px"?parseInt(g.replace("px",""))||100:parseInt(g.replace("%",""))||100,onChange:A=>{l("backgroundSize",A?`${A}${w==="custom-px"?"px":"%"}`:void 0)},placeholder:"100",suffix:w==="custom-px"?"px":"%",style:{width:"100%",marginTop:"4px"},min:1,max:w==="custom-px"?2e3:500})]})},m=()=>{const g=t.backgroundPosition||"top center",v=!u.some(b=>b.value===g&&b.value!=="custom");return d.jsxs("div",{children:[d.jsx(re,{size:"small",value:v?"custom":g,onChange:b=>{b!=="custom"?l("backgroundPosition",b):l("backgroundPosition","50% 50%")},options:u,style:{width:"100%",marginBottom:8}}),(v||g==="custom")&&d.jsxs(ct,{gutter:8,children:[d.jsx(Ce,{span:12,children:d.jsx(et,{size:"small",value:o(g==="custom"?"50% 50%":g,0),onChange:b=>{const w=o(g==="custom"?"50% 50%":g,1),A=`${b||50}% ${w||50}%`;l("backgroundPosition",A)},placeholder:"50",suffix:"%",style:{width:"100%"}})}),d.jsx(Ce,{span:12,children:d.jsx(et,{size:"small",value:o(g==="custom"?"50% 50%":g,1),onChange:b=>{const A=`${o(g==="custom"?"50% 50%":g,0)||50}% ${b||50}%`;l("backgroundPosition",A)},placeholder:"50",suffix:"%",style:{width:"100%"}})})]})]})},p=n&&i;
27return d.jsxs("div",{children:[p&&d.jsx(P,{label:"Background Type",children:d.jsxs(vt.Group,{size:"small",value:r,onChange:g=>a(g.target.value),style:{width:"100%"},children:[d.jsx(vt.Button,{value:"color",children:"Color"}),d.jsx(vt.Button,{value:"image",children:"Image"})]})}),r==="color"&&n&&d.jsx(P,{label:"Background Color",children:d.jsx(Tt,{value:t.backgroundColor,onChange:g=>l("backgroundColor",g)})}),r==="image"&&i&&d.jsxs(d.Fragment,{children:[d.jsx(P,{label:"Background Image",layout:"vertical",children:d.jsx(a0,{size:"small",value:t.backgroundUrl||"",onChange:g=>l("backgroundUrl",g),placeholder:"Enter background image URL",acceptFileType:"image/*",acceptItem:g=>!g.is_folder&&g.file_info?.content_type?.startsWith("image/"),buttonText:"Browse Images"})}),d.jsx(P,{label:"Background Size",children:h()}),d.jsx(P,{label:"Background Repeat",children:d.jsx(re,{size:"small",value:t.backgroundRepeat||"no-repeat",onChange:g=>l("backgroundRepeat",g),options:c,style:{width:"100%"}})}),d.jsx(P,{label:"Background Position",children:m()})]})]})}),Z3=[{label:"None",value:"none"},{label:"Solid",value:"solid"},{label:"Dashed",value:"dashed"},{label:"Dotted",value:"dotted"},{label:"Double",value:"double"},{label:"Groove",value:"groove"},{label:"Ridge",value:"ridge"},{label:"Inset",value:"inset"},{label:"Outset",value:"outset"}],ls=({value:t={},onChange:e,placeholder:n={color:"transparent",width:"0px",style:"none"},className:i})=>{const[r,s]=k.useState("all"),[o,a]=k.useState(!1),l=k.useCallback(y=>{if(!y||y==="none")return{width:"0px",style:"none",color:"transparent"};const x=y.trim().split(" ");return{width:x[0]||"0px",style:x[1]||"none",color:x[2]||"transparent"}},[]),f=k.useCallback(y=>{if(!y||y.style==="none"||y.width==="0px")return;const x=y.width||"0px",C=y.style||"none",_=y.color||"transparent";if(!(C==="none"||x==="0px"))return`${x} ${C} ${_}`},[]),c=k.useCallback(y=>({top:l(y.borderTop),right:l(y.borderRight),bottom:l(y.borderBottom),left:l(y.borderLeft)}),[l]),u=k.useCallback(y=>({borderTop:f(y.top),borderRight:f(y.right),borderBottom:f(y.bottom),borderLeft:f
27(y.left)}),[f]),h=c(t),m=k.useCallback(y=>{const{top:x,right:C,bottom:_,left:j}=y;if(!x&&!C&&!_&&!j)return!0;const I=[x,C,_,j],E=I.find(F=>F)||{};return I.every(F=>!F&&!E?!0:!F||!E?!1:(F.color||n.color)===(E.color||n.color)&&(F.width||n.width)===(E.width||n.width)&&(F.style||n.style)===(E.style||n.style))},[n]);k.useEffect(()=>{!o&&h&&Object.keys(h).length>0?s(m(h)?"all":"separate"):o||s("all")},[h,m,o]);const p=()=>h.top||h.right||h.bottom||h.left||{},g=y=>{e(u({top:y,right:y,bottom:y,left:y}))},v=(y,x)=>{const C={...h,[y]:x};e(u(C))},b=y=>{const x=y?"separate":"all";if(s(x),a(!0),x==="all"&&h){const C=p();g(C)}},w=(y,x,C)=>{const _=y.color||n.color,j=y.style||n.style,I=j==="none"||_==="transparent",E=_==="transparent";return d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:C?"space-between":"flex-end"},children:[C&&d.jsx("div",{className:"text-xs text-gray-500",children:C}),d.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[d.jsx("div",{style:{width:24},children:d.jsx(Tt,{value:_,onChange:F=>{const N=F||n.color,T={...y,color:N};N&&N!=="transparent"&&(!y.width||y.width==="0px")&&(T.width="1px"),N&&N!=="transparent"&&(!y.style||y.style==="none")&&(T.style="solid"),(!N||N==="transparent")&&(T.width="0px",T.style="none"),x(T)},size:"small",placeholder:"None",showText:!1})}),d.jsx("div",{style:{width:80},children:d.jsx(et,{size:"small",value:y.width&&parseInt(y.width)||0,onChange:F=>{const N=F!=null?`${F}px`:"0px",T={...y,width:N};F&&F>0&&(!y.style||y.style==="none")&&(T.style="solid"),F&&F>0&&(!y.color||y.color==="transparent")&&(T.color="#000000"),x(T)},placeholder:"0",min:0,max:20,style:{width:"100%"},suffix:"px",disabled:I})}),d.jsx("div",{style:{width:120},children:d.jsx(re,{size:"small",value:j,onChange:F=>{const N=F||n.style,T={...y,style:N};N==="none"&&(T.width="0px"),N!=="none"&&(!y.width||y.width==="0px")&&(T.width="1px"),N!=="none"&&(!y.color||y.color==="transparent")&&(T.color="#000000"),x(T)},style:{width:"100%"},options:Z3,disabled:E})})]})]})},A=p();return d.jsxs("div",{className:i,children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:8,marginBottom:22},children:[d.jsx("span",{style:{fontSize:"11px",color:"#666"},children:"Separate sides"}),d.jsx(_n,{size:"small",checked:r==="separate",onChange:b})]}),r==="all"?w(A,g,"All sides"):d.jsxs("div",{children:[w(h.top||{},y=>v("top",y),"Top"),w(h.right||{},y=>v("right",y),"Right"),w(h.bottom||{},y=>v("bottom",y),"Bottom"),w(h.left||{},y=>v("left",y),"Left")]})]})},mr=k.memo(({value:t,onChange:e,placeholder:n,defaultValue:i,min:r=0,max:s=100,step:o=1,disabled:a=!1,size:l="small",style:f={width:"100px"}})=>{const c=p=>{if(!p)return;const g=p.match(/^(\d+(?:\.\d+)?)px?$/);return g?parseFloat(g[1]):void 0},u=p=>{const g=p!=null?`${p}px`:void 0;e?.(g)},h=c(t),m=n||(c(i)||0).toString();return d.jsx(et,{size:l,value:h,onChange:u,placeholder:m,min:r,max:s,step:o,suffix:"px",disabled:a,style:f})}),X3=t=>typeof t.value=="object"||t.value===void 0,En=k.memo(t=>{const e=X3(t),n=k.useCallback(f=>{if(!f)return{top:void 0,right:void 0,bottom:void 0,left:void 0};const c=f.trim().split(/\s+/);switch(c.length){case 1:return{top:c[0],right:c[0],bottom:c[0],left:c[0]};case 2:return{top:c[0],right:c[1],bottom:c[0],left:c[1]};case 3:return{top:c[0],right:c[1],bottom:c[2],left:c[1]};case 4:return{top:c[0],right:c[1],bottom:c[2],left:c[3]};default:return{top:void 0,right:void 0,bottom:void 0,left:void 0}}},[]),i=k.useCallback(f=>{const{top:c,right:u,bottom:h,left:m}=f;if(!c&&!u&&!h&&!m)return;const p=c||"0px",g=u||"0px",v=h||"0px",b=m||"0px";return p===g&&g===v&&v===b?p:p===v&&g===b?`${p} ${g}`:`${p} ${g} ${v} ${b}`},[]),r=k.useCallback(()=>e?t.value||t.defaultValue||{top:void 0,right:void 0,bottom:void 0,left:void 0}:n(t.value)||n(t.defaultValue)||{top:void 0,right:void 0,bottom:void 0,left:void 0},[e,t.value,t.defaultValue,n]),[s,o]=k.useState(r());k.useEffect(()=>{o(r())},[r]);const a=(f,c)=>{const u=c!=null?`${c}px`:void 0,h={...s,[f]:u};if(o(h),e)t.onChange?.(h);else{const m=i(h);t.onChange?.(m)}},l=f=>
27{if(!f)return 0;const c=parseInt(f.replace("px",""));return isNaN(c)?0:c};return d.jsxs("div",{children:[d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:5,children:d.jsx("span",{className:"text-xs text-gray-500",children:"Top"})}),d.jsx(Ce,{span:7,children:d.jsx(et,{value:l(s.top),onChange:f=>a("top",f),size:"small",style:{width:"100%"},suffix:"px"})}),d.jsx(Ce,{span:5,children:d.jsx("span",{className:"text-xs text-gray-500",children:"Right"})}),d.jsx(Ce,{span:7,children:d.jsx(et,{value:l(s.right),onChange:f=>a("right",f),size:"small",style:{width:"100%"},suffix:"px"})})]}),d.jsxs(ct,{gutter:16,className:"mt-4",children:[d.jsx(Ce,{span:5,children:d.jsx("span",{className:"text-xs text-gray-500",children:"Bottom"})}),d.jsx(Ce,{span:7,children:d.jsx(et,{value:l(s.bottom),onChange:f=>a("bottom",f),size:"small",style:{width:"100%"},suffix:"px"})}),d.jsx(Ce,{span:5,children:d.jsx("span",{className:"text-xs text-gray-500",children:"Left"})}),d.jsx(Ce,{span:7,children:d.jsx(et,{value:l(s.left),onChange:f=>a("left",f),size:"small",style:{width:"100%"},suffix:"px"})})]})]})}),js=({value:t,onChange:e,allowToggle:n=!1,disabled:i=!1,options:r=[{label:d.jsx(ae,{icon:Q2,className:"opacity-70"}),value:"left"},{label:d.jsx(ae,{icon:q2,className:"opacity-70"}),value:"center"},{label:d.jsx(ae,{icon:Y2,className:"opacity-70"}),value:"right"}]})=>{const s=o=>{i||e(n&&t===o?void 0:o)};return d.jsx(vt.Group,{size:"small",value:t||(n?void 0:"left"),onChange:o=>{!n&&!i&&e(o.target.value)},optionType:"button",buttonStyle:"solid",disabled:i,children:r.map(o=>d.jsx(vt.Button,{value:o.value,onClick:()=>n&&s(o.value),disabled:i,children:o.label},o.value))})};class ex extends lt{getIcon(){return d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa",children:[d.jsx("path",{d:"M5 3a2 2 0 0 0-2 2"}),d.jsx("path",{d:"M19 3a2 2 0 0 1 2 2"}),d.jsx("path",{d:"M21 19a2 2 0 0 1-2 2"}),d.jsx("path",{d:"M5 21a2 2 0 0 1-2-2"}),d.jsx("path",{d:"M9 3h1"}),d.jsx("path",{d:"M9 21h1"}),d.jsx("path",{d:"M14 3h1"}),d.jsx("path",{d:"M14 21h1"}),d.jsx("path",{d:"M3 9v1"}),d.jsx("path",{d:"M21 9v1"}),d.jsx("path",{d:"M3 14v1"}),d.jsx("path",{d:"M21 14v1"})]})}getLabel(){return"Wrapper"}getDescription(){return"Container that wraps sections and provides styling context"}getCategory(){return"layout"}getDefaults(){return qe["mj-wrapper"]||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-section","mj-raw"]}renderSettingsPanel(e,n,i){const r=this.block.attributes,s=(a,l)=>{e({[a]:l})},o=a=>{e(a)};return d.jsx(dt,{title:"Wrapper Attributes",children:d.jsxs("div",{className:"space-y-4",children:[d.jsx(ku,{value:{backgroundColor:r.backgroundColor,backgroundUrl:r.backgroundUrl,backgroundSize:r.backgroundSize,backgroundRepeat:r.backgroundRepeat,backgroundPosition:r.backgroundPosition},onChange:o}),d.jsx(P,{label:"Border",layout:"vertical",children:d.jsx(ls,{className:"-mt-6",value:{borderTop:r.borderTop,borderRight:r.borderRight,borderBottom:r.borderBottom,borderLeft:r.borderLeft},onChange:a=>{e({borderTop:a.borderTop,borderRight:a.borderRight,borderBottom:a.borderBottom,borderLeft:a.borderLeft})}})}),d.jsx(P,{label:"Border radius",children:d.jsx(mr,{value:r.borderRadius,onChange:a=>e({borderRadius:a}),defaultValue:n.borderRadius})}),d.jsx(P,{label:"Full Width",help:"Makes the wrapper span the entire email viewport width, ignoring container constraints (typically 600px). Useful for full-bleed backgrounds and hero sections.",children:d.jsx(_n,{size:"small",checked:r.fullWidth==="full-width",onChange:a=>s("fullWidth",a?"full-width":void 0)})}),d.jsx(P,{label:"Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:a=>{e({paddingTop:a.top,paddingRight:a.right,paddingBottom:a.bottom,paddingLeft:a.left})}})}),d.jsx(P,{label:"Text Alignment",children:d.jsx(js,{value:r.textAlign||n.textAlign||"left",onChange:a=>s("textAlign",a)})}),d.jsx(P,{label:"CSS Class",help:"Custom CSS class for styling",children:d.jsx(st,{value:r.cssClass||"",onChange:a=>
27s("cssClass",a),placeholder:"my-custom-class",buttonText:"Set Value"})})]})})}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,attributeDefaults:r,emailTree:s,onUpdateBlock:o,onCloneBlock:a,onDeleteBlock:l,onSaveBlock:f,savedBlocks:c}=e,u=this.block.id,h=n===this.block.id,m=`email-block-hover ${h?"selected":""}`.trim(),p=h?{position:"relative",zIndex:10}:{},g=y=>{y.stopPropagation(),i&&i(this.block.id)},v=S.mergeWithAllDefaults("mj-wrapper",this.block.attributes,r),b={width:"100%",backgroundColor:v.fullWidthBackgroundColor,backgroundImage:v.backgroundUrl?`url(${v.backgroundUrl})`:void 0,backgroundRepeat:v.backgroundRepeat,backgroundSize:v.backgroundSize,backgroundPosition:v.backgroundPosition,...p},w={margin:"0 auto",backgroundColor:v.backgroundColor,paddingTop:v.paddingTop,paddingRight:v.paddingRight,paddingBottom:v.paddingBottom,paddingLeft:v.paddingLeft,textAlign:v.textAlign,border:v.border!=="none"?v.border:void 0,borderTop:v.borderTop!=="none"?v.borderTop:void 0,borderRight:v.borderRight!=="none"?v.borderRight:void 0,borderBottom:v.borderBottom!=="none"?v.borderBottom:void 0,borderLeft:v.borderLeft!=="none"?v.borderLeft:void 0,borderRadius:v.borderRadius!=="0px"?v.borderRadius:void 0},A=this.block.children&&this.block.children.some(y=>y.type==="mj-section");return d.jsx("div",{style:{...b,position:"relative"},className:`${v.cssClass} ${m}`.trim(),onClick:g,"data-block-id":this.block.id,children:d.jsx("div",{style:w,children:A?this.block.children?.map(y=>d.jsx(K.Fragment,{children:S.renderEmailBlock(y,r,n,i,s,o,a,l,f,c)},y.id)):d.jsx("div",{style:{padding:"20px",backgroundColor:"#f8f9fa",border:"2px dashed #dee2e6",borderRadius:"4px",color:"#6c757d",fontSize:"14px",textAlign:"center",margin:"10px"},children:"ð¦ This wrapper has no sections. Add a section to display content."})})},u)}}const tx=({value:t,onChange:e,placeholder:n="Enter spacing"})=>{const[i,r]=k.useState(),[s,o]=k.useState("px");k.useEffect(()=>{if(t&&t!=="none"&&t!=="normal"){const f=t.match(/^(-?\d+(?:\.\d+)?)(px|em)$/);if(f)r(parseFloat(f[1])),o(f[2]);else{const c=parseFloat(t);isNaN(c)?(r(void 0),o("px")):(r(c),o("px"))}}else r(void 0),o("px")},[t]);const a=f=>{r(f||void 0),f!=null?e(`${f}${s}`):e(void 0)},l=f=>{const c=f;o(c),i!=null&&e(`${i}${c}`)};return d.jsxs("div",{className:"flex items-center gap-1",children:[d.jsx(et,{size:"small",value:i,onChange:a,placeholder:n,step:s==="em"?.1:1,className:"flex-1",style:{width:80},precision:s==="em"?2:0}),d.jsx(Ar,{size:"small",value:s,onChange:l,options:[{label:"px",value:"px"},{label:"em",value:"em"}],style:{width:70}})]})},nx=({value:t,onChange:e,placeholder:n="Enter height"})=>{const[i,r]=k.useState(),[s,o]=k.useState("%");k.useEffect(()=>{if(t&&t!=="normal"){const f=t.match(/^(\d+(?:\.\d+)?)(px|%)$/);if(f)r(parseFloat(f[1])),o(f[2]);else{const c=parseFloat(t);isNaN(c)?(r(void 0),o("%")):(r(c),o("%"))}}else r(void 0),o("%")},[t]);const a=f=>{r(f||void 0),f!=null?e(`${f}${s}`):e(void 0)},l=f=>{const c=f;o(c),i!=null&&e(`${i}${c}`)};return d.jsxs("div",{className:"flex items-center gap-1",children:[d.jsx(et,{size:"small",value:i,onChange:a,placeholder:n,min:0,step:s==="%"?10:1,className:"flex-1",style:{width:80},precision:0}),d.jsx(Ar,{size:"small",value:s,onChange:l,options:[{label:"%",value:"%"},{label:"px",value:"px"}],style:{width:70}})]})},wu=k.memo(({value:t,defaultValue:e,onChange:n,importedFonts:i=[]})=>{const[r,s]=k.useState(t||e);k.useEffect(()=>{t&&s(t)},[t]);const o=(g,v)=>{let b;g==="fontSize"?b=v?`${v}px`:void 0:b=v;const w={...r,[g]:b};s(w),n?.(w)},a=g=>{if(!g)return;const v=g.match(/^(\d+(?:\.\d+)?)px?$/);return v?parseFloat(v[1]):void 0},l=[{value:"Arial, sans-serif",label:"Arial, sans-serif"},{value:"Helvetica, sans-serif",label:"Helvetica, sans-serif"},{value:"Ubuntu, Helvetica, Arial, sans-serif",label:"Ubuntu, Helvetica, Arial, sans-serif"},{value:"Georgia, serif",label:"Georgia, serif"},{value:"Times New Roman, serif",label:"Times New Roman, serif"},{value:"Courier New, monospace",label:"Courier New, monospace"}],f=[];i.length>0&&f.push({label:d.jsxs("span",{children:[d.jsx(ae,{icon:jo,className:"mr-2"}),"Imported Fonts"]}),options:i.map(g=>({value:g.name,label:g.name}))}),f.push({label:d.jsxs("span",{children:[d.jsx(ae,{icon:ig,className:"mr-2"}),"System Fonts"]}),options:l});const c=[{value:"normal",label:d.jsx("span",{className:"font-normal",children:"Normal"})},{value:"bold",label:d.jsx("span",{className:"font-bold",children:"Bold"})},{value:"100",label:d.jsx("span",{className:"font-thin",children:"100 - Thin"})},{value:"200",label:d.jsx("span",{className:"font-extralight",children:"200 - Extra Light"})},{value:"300",label:d.jsx("span",{className:"font-light",children:"300 - Light"})},{value:"400",label:d.jsx("span",{className:"font-normal",children:"400 - Normal"})},{value:"500",label:d.jsx("span",{className:"font-medium",children:"500 - Medium"})},{value:"600",label:d.jsx("span",{className:"font-semibold",children:"600 - Semi Bold"})},{value:"700",label:d.jsx("span",{className:"font-bold",children:"700 - Bold"})},{value:"800",label:d.jsx("span",{className:"font-extrabold",children:"800 - Extra Bold"})},{value:"900",label:d.jsx("span",{className:"font-black",children:"900 - Black"})}],u=[{value:"normal",label:d.jsx("span",{className:"not-italic",children:"Normal"})},{value:"italic",label:d.jsx("span",{className:"italic",children:"Italic"})},{value:"oblique",label:d.jsx("span",{className:"italic",children:"Oblique"})}],h=[{value:"none",label:"None"},{value:"uppercase",label:"UPPERCASE"},{value:"lowercase",label:"lowercase"},{value:"capitalize",label:"Capitalize"}],m=[{value:"none",label:d.jsx("span",{className:"no-underline",children:"None"})},{value:"underline",label:d.jsx("span",{className:"underline",children:"Underline"})},{value:"line-through",label:d.jsx("span",{className:"line-through",children:"Line Through"})},{value:"overline",label:d.jsx("span",{style:{textDecoration:"overline"},children:"Overline"})}],p=[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"},{value:"justify",label:"Justify"}];return d.jsxs("div",{children:[d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Font Family"}),d.jsx(re,{size:"small",value:r.fontFamily||e.fontFamily,onChange:g=>o("fontFamily",g),options:f,style:{width:"100%",marginTop:"4px"},popupMatchSelectWidth:!1})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Size"}),d.jsx(et,{size:"small",value:a(r.fontSize),onChange:g=>o("fontSize",g||void 0),placeholder:a(e.fontSize)?.toString()||"13",min:1,max:200,step:1,suffix:"px",style:{width:"100%",marginTop:"4px"}})]})})]}),d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Weight"}),d.jsx(re,{size:"small",value:r.fontWeight||e.fontWeight,onChange:g=>o("fontWeight",g),options:c,style:{width:"100%",marginTop:"4px"}})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Style"}),d.jsx(re,{size:"small",value:r.fontStyle||e.fontStyle||"normal",onChange:g=>o("fontStyle",g),options:u,style:{width:"100%",marginTop:"4px"}})]})})]}),d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Text Align"}),d.jsx(re,{size:"small",value:r.textAlign||e.textAlign,onChange:g=>o("textAlign",g),options:p,style:{width:"100%",marginTop:"4px"},placeholder:"Default"})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Text Transform"}),d.jsx(re,{size:"small",value:r.textTransform||"none",onChange:g=>o("textTransform",g),options:h,style:{width:"100%",marginTop:"4px"}})]})})]}),d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Line Height"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(nx,{value:r.lineHeight||"",onChange:g=>o("lineHeight",g),placeholder:e.lineHeight||"120%"})})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Letter Spacing"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(tx,{value:r.letterSpacing||"",onChange:g=>o("letterSpacing",g),placeholder:e.letterSpacing||"none"})})]})})]}),d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Text Decoration"}),d.jsx(re,{size:"small",value:r.textDecoration||e.textDecoration||"none",onChange:g=>o("textDecoration",g),options:m,style:{width:"100%",marginTop:"4px"}})]})}),d.jsx(Ce,{span:12})]})]})}),l0=({value:t,onChange:e,placeholder:n="Enter height"})=>{const[i,r]=k.useState("auto"),[s,o]=k.useState();k.useEffect(()=>{if(t==="auto"||!t)r("auto"),o(void 0);else{const f=t.match(/^(\d+(?:\.\d+)?)px?$/);if(f)r("custom"),o(parseFloat(f[1]));else{const c=parseFloat(t);isNaN(c)?(r("auto"),o(void 0)):(r("custom"),o(c))}}},[t]);const a=f=>{const c=f.target.value;r(c),c==="auto"?(e("auto"),o(void 0)):e(s?`${s}px`:"100px")},l=f=>{o(f||void 0),f?e(`${f}px`):i==="custom"&&e(void 0)};return d.jsxs("div",{className:"flex items-center gap-1",children:[d.jsx(vt.Group,{size:"small",value:i,onChange:a,optionType:"button",buttonStyle:"solid",style:{verticalAlign:"baseline"},className:"!mr-2",options:[{label:"auto",value:"auto"},{label:"px",value:"custom"}]}),i==="custom"&&d.jsx(et,{size:"small",value:s,onChange:l,placeholder:"Height",min:0,step:10,style:{width:90},addonAfter:"px"})]})};var d0=E2();function jt(t){this.content=t}jt.prototype={constructor:jt,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},update:function(t,e,n){var i=n&&n!=t?this.remove(n):this,r=i.find(t),s=i.content.slice();return r==-1?s.push(n||t,e):(s[r+1]=e,n&&(s[r]=n)),new jt(s)},remove:function(t){var e=this.find(t);if(e==-1)return this;var n=this.content.slice();return n.splice(e,2),new jt(n)},addToStart:function(t,e){return new jt([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new jt(n)},addBefore:function(t,e,n){var i=this.remove(e),r=i.content.slice(),s=i.find(t);return r.splice(s==-1?r.length:s,0,e,n),new jt(r)}
vendor: 9,510 bytes, line 27
27,forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return t=jt.from(t),t.size?new jt(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=jt.from(t),t.size?new jt(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=jt.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},toObject:function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},get size(){return this.content.length>>1}};jt.from=function(t){if(t instanceof jt)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new jt(e)};function f0(t,e,n){for(let i=0;;i++){if(i==t.childCount||i==e.childCount)return t.childCount==e.childCount?null:n;let r=t.child(i),s=e.child(i);if(r==s){n+=r.nodeSize;continue}if(!r.sameMarkup(s))return n;if(r.isText&&r.text!=s.text){let o=r.text,a=s.text,l=0;for(;o[l]==a[l];l++)n++;return l&&l<o.length&&l<a.length&&h0(o.charCodeAt(l-1))&&u0(o.charCodeAt(l))&&n--,n}if(r.content.size||s.content.size){let o=f0(r.content,s.content,n+1);if(o!=null)return o}n+=r.nodeSize}}function c0(t,e,n,i){for(let r=t.childCount,s=e.childCount;;){if(r==0||s==0)return r==s?null:{a:n,b:i};let o=t.child(--r),a=e.child(--s),l=o.nodeSize;if(o==a){n-=l,i-=l;continue}if(!o.sameMarkup(a))return{a:n,b:i};if(o.isText&&o.text!=a.text){let f=o.text,c=a.text,u=f.length,h=c.length;for(;u>0&&h>0&&f[u-1]==c[h-1];)u--,h--,n--,i--;return u&&h&&u<f.length&&h0(f.charCodeAt(u-1))&&u0(f.charCodeAt(u))&&(n++,i++),{a:n,b:i}}if(o.content.size||a.content.size){let f=c0(o.content,a.content,n-1,i-1);if(f)return f}n-=l,i-=l}}function u0(t){return t>=56320&&t<57344}function h0(t){return t>=55296&&t<56320}let J=class zt{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let i=0;i<e.length;i++)this.size+=e[i].nodeSize}nodesBetween(e,n,i,r=0,s){for(let o=0,a=0;a<n;o++){let l=this.content[o],f=a+l.nodeSize;if(f>e&&i(l,r+a,s||null,o)!==!1&&l.content.size){let c=a+1;l.nodesBetween(Math.max(0,e-c),Math.min(l.content.size,n-c),i,r+c)}a=f}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,i,r){let s="",o=!0;return this.nodesBetween(e,n,(a,l)=>{let f=a.isText?a.text.slice(Math.max(e,l)-l,n-l):a.isLeaf?r?typeof r=="function"?r(a):r:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&f||a.isTextblock)&&i&&(o?o=!1:s+=i),s+=f},0),s}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,i=e.firstChild,r=this.content.slice(),s=0;for(n.isText&&n.sameMarkup(i)&&(r[r.length-1]=n.withText(n.text+i.text),s=1);s<e.content.length;s++)r.push(e.content[s]);return new zt(r,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let i=[],r=0;if(n>e)for(let s=0,o=0;o<n;s++){let a=this.content[s],l=o+a.nodeSize;l>e&&((o<e||l>n)&&(a.isText?a=a.cut(Math.max(0,e-o),Math.min(a.text.length,n-o)):a=a.cut(Math.max(0,e-o-1),Math.min(a.content.size,n-o-1))),i.push(a),r+=a.nodeSize),o=l}return new zt(i,r)}cutByIndex(e,n){return e==n?zt.empty:e==0&&n==this.content.length?this:new zt(this.content.slice(e,n))}replaceChild(e,n){let i=this.content[e];if(i==n)return this;let r=this.content.slice(),s=this.size+n.nodeSize-i.nodeSize;return r[e]=n,new zt(r,s)}addToStart(e){return new zt([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new zt(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,i=0;n<this.content.length;n++){let r=this.content[n];e(r,i,n),i+=r.nodeSize}}findDiffStart(e,n=0){return f0(this,e,n)}findDiffEnd(e,n=this.size,i=e.size){return c0(this,e,n,i)}findIndex(e){if(e==0)return sa(0,e);if(e==this.size)return sa(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,i=0;;n++){let r=this.child(n),s=i+r.nodeSize;if(s>=e)return s==e?sa(n+1,s):sa(n,i);i=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return zt.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return zt.fromArray(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return zt.empty;let n,i=0;for(let r=0;r<e.length;r++){let s=e[r];i+=s.nodeSize,r&&s.isText&&e[r-1].sameMarkup(s)?(n||(n=e.slice(0,r)),n[n.length-1]=s.withText(n[n.length-1].text+s.text)):n&&n.push(s)}return new zt(n||e,i)}static from(e){if(!e)return zt.empty;if(e instanceof zt)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new zt([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}};J.empty=new J([],0);const Jd={index:0,offset:0};function sa(t,e){return Jd.index=t,Jd.offset=e,Jd}function tl(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!tl(t[i],e[i]))return!1}else{for(let i in t)if(!(i in e)||!tl(t[i],e[i]))return!1;for(let i in e)if(!(i in t))return!1}return!0}let $e=class tc{constructor(e,n){this.type=e,this.attrs=n}addToSet(e){let n,i=!1;for(let r=0;r<e.length;r++){let s=e[r];if(this.eq(s))return e;if(this.type.excludes(s.type))n||(n=e.slice(0,r));else{if(s.type.excludes(this.type))return e;!i&&s.type.rank>this.type.rank&&(n||(n=e.slice(0,r)),n.push(this),i=!0),n&&n.push(s)}}return n||(n=e.slice()),i||n.push(this),n}removeFromSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return e.slice(0,n).concat(e.slice(n+1));return e}isInSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return!0;return!1}eq(e){return this==e||this.type==e.type&&tl(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let i=e.marks[n.type];if(!i)throw new RangeError(`There is no mark type ${n.type} in this schema`);return i.create(n.attrs)}static sameSet(e,n){if(e==n)return!0;if(e.length!=n.length)return!1;for(let i=0;i<e.length;i++)if(!e[i].eq(n[i]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return tc.none;if(e instanceof tc)return[e];let n=e.slice();return n.sort((i,r)=>i.type.rank-r.type.rank),n}};$e.none=[];let Fo=class extends Error{},le=class Or{constructor(e,n,i){this.content=e,this.openStart=n,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let i=m0(this.content,e+this.openStart,n,this.openStart+1,this.openEnd+1);return i&&new Or(i,this.openStart,this.openEnd)}removeBetween(e,n){return new Or(p0(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Or.empty;let i=n.openStart||0,r=n.openEnd||0;if(typeof i!="number"||typeof r!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Or(J.fromJSON(e,n.content),i,r)}static maxOpen(e,n=!0){let i=0,r=0;for(let s=e.firstChild;s&&!s.isLeaf&&(n||!s.type.spec.isolating);s=s.firstChild)i++;for(let s=e.lastChild;s&&!s.isLeaf&&(n||!s.type.spec.isolating);s=s.lastChild)r++;return new Or(e,i,r)}};le.empty=new le(J.empty,0,0);function p0(t,e,n){let{index:i,offset:r}=t.findIndex(e),s=t.maybeChild(i),{index:o,offset:a}=t.findIndex(n);if(r==e||s.isText){if(a!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(i!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(i,s.copy(p0(s.content,e-r-1,n-r-1)))}function m0(t,e,n,i,r,s){let{index:o,offset:a}=t.findIndex(e),l=t.maybeChild(o);if(a==e||l.isText)return s&&i<=0&&r<=0&&!s.canReplace(o,o,n)?null:t.cut(0,e).append(n).append(t.cut(e));let f=m0(l.content,e-a-1,n,o==0?i-1:0,o==t.childCount-1?r-1:0,l);return f&&t.replaceChild(o,l.copy(f))}function ix(t,e,n){if(n.openStart>t.depth)throw new Fo("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Fo("Inconsistent open depths");return g0(t,e,n,0)}function g0(t,e,n,i){let r=t.index(i),s=t.node(i);if(r==e.index(i)&&i<t.depth-n.openStart){let o=g0(t,e,n,i+1);return s.copy(s.content.replaceChild(r,o))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&t.depth==i&&e.depth==i){let o=t.parent,a=o.content;return dr(o,a.cut(0,t.parentOffset).append(n.content).append(a.cut(e.parentOffset)))}else{let{start:o,end:a}=rx(n,t);return dr(s,b0(t,o,a,e,i))}else return dr(s,nl(t,e,i))}function v0(t,e){if(!e.type.compatibleContent(t.type))throw new Fo("Cannot join "+e.type.n
vendor: 5,307 bytes, line 27
27ame+" onto "+t.type.name)}function nc(t,e,n){let i=t.node(n);return v0(i,e.node(n)),i}function lr(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function fo(t,e,n,i){let r=(e||t).node(n),s=0,o=e?e.index(n):r.childCount;t&&(s=t.index(n),t.depth>n?s++:t.textOffset&&(lr(t.nodeAfter,i),s++));for(let a=s;a<o;a++)lr(r.child(a),i);e&&e.depth==n&&e.textOffset&&lr(e.nodeBefore,i)}function dr(t,e){if(!t.type.validContent(e))throw new Fo("Invalid content for node "+t.type.name);return t.copy(e)}function b0(t,e,n,i,r){let s=t.depth>r&&nc(t,e,r+1),o=i.depth>r&&nc(n,i,r+1),a=[];return fo(null,t,r,a),s&&o&&e.index(r)==n.index(r)?(v0(s,o),lr(dr(s,b0(t,e,n,i,r+1)),a)):(s&&lr(dr(s,nl(t,e,r+1)),a),fo(e,n,r,a),o&&lr(dr(o,nl(n,i,r+1)),a)),fo(i,null,r,a),new J(a)}function nl(t,e,n){let i=[];if(fo(null,t,n,i),t.depth>n){let r=nc(t,e,n+1);lr(dr(r,nl(t,e,n+1)),i)}return fo(e,null,n,i),new J(i)}function rx(t,e){let n=e.depth-t.openStart,r=e.node(n).copy(t.content);for(let s=n-1;s>=0;s--)r=e.node(s).copy(J.from(r));return{start:r.resolveNoCache(t.openStart+n),end:r.resolveNoCache(r.content.size-t.openEnd-n)}}class Do{constructor(e,n,i){this.pos=e,this.path=n,this.parentOffset=i,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let i=this.pos-this.path[this.path.length-1],r=e.child(n);return i?e.child(n).cut(i):r}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let i=this.path[n*3],r=n==0?0:this.path[n*3-1]+1;for(let s=0;s<e;s++)r+=i.child(s).nodeSize;return r}marks(){let e=this.parent,n=this.index();if(e.content.size==0)return $e.none;if(this.textOffset)return e.child(n).marks;let i=e.maybeChild(n-1),r=e.maybeChild(n);if(!i){let a=i;i=r,r=a}let s=i.marks;for(var o=0;o<s.length;o++)s[o].type.spec.inclusive===!1&&(!r||!s[o].isInSet(r.marks))&&(s=s[o--].removeFromSet(s));return s}marksAcross(e){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let i=n.marks,r=e.parent.maybeChild(e.index());for(var s=0;s<i.length;s++)i[s].type.spec.inclusive===!1&&(!r||!i[s].isInSet(r.marks))&&(i=i[s--].removeFromSet(i));return i}sharedDepth(e){for(let n=this.depth;n>0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos<this.pos)return e.blockRange(this);for(let i=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);i>=0;i--)if(e.pos<=this.end(i)&&(!n||n(this.node(i))))return new il(this,e,i);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let n=1;n<=this.depth;n++)e+=(e?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return e+":"+this.parentOffset}static resolve(e,n){if(!(n>=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let i=[],r=0,s=n;for(let o=e;;){let{index:a,offset:l}=o.content.findIndex(s),f=s-l;if(i.push(o,a,r+l),!f||(o=o.child(a),o.isText))break;s=f-1,r+=l+1}return new Do(n,i,s)}static resolveCached(e,n){let i=rp.get(e);if(i)for(let s=0;s<i.elts.length;s++){let o=i.elts[s];if(o.pos==n)return o}else rp.set(e,i=new sx);let r=i.elts[i.i]=Do.resolve(e,n);return i.i=(i.i+1)%ox,r}}class sx{constructor(){this.elts=[],this.i=0}}const ox=12,rp=new WeakMap;class il{constructor(e,n,i){this.$from=e,this.$to=n,this.depth=i}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const ax=Object.create(null);let Di=class ic{constructor(e,n,i,r=$e.none){this.type=e,this.attrs=n,this.marks=r,this.content=i||J.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,n,i,r=0){this.content.nodesBetween(e,n,i,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}
vendor: 9,678 bytes, lines 27-28
27textBetween(e,n,i,r){return this.content.textBetween(e,n,i,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,n,i){return this.type==e&&tl(this.attrs,n||e.defaultAttrs||ax)&&$e.sameSet(this.marks,i||$e.none)}copy(e=null){return e==this.content?this:new ic(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new ic(this.type,this.attrs,this.content,e)}cut(e,n=this.content.size){return e==0&&n==this.content.size?this:this.copy(this.content.cut(e,n))}slice(e,n=this.content.size,i=!1){if(e==n)return le.empty;let r=this.resolve(e),s=this.resolve(n),o=i?0:r.sharedDepth(n),a=r.start(o),f=r.node(o).content.cut(r.pos-a,s.pos-a);return new le(f,r.depth-o,s.depth-o)}replace(e,n,i){return ix(this.resolve(e),this.resolve(n),i)}nodeAt(e){for(let n=this;;){let{index:i,offset:r}=n.content.findIndex(e);if(n=n.maybeChild(i),!n)return null;if(r==e||n.isText)return n;e-=r+1}}childAfter(e){let{index:n,offset:i}=this.content.findIndex(e);return{node:this.content.maybeChild(n),index:n,offset:i}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:n,offset:i}=this.content.findIndex(e);if(i<e)return{node:this.content.child(n),index:n,offset:i};let r=this.content.child(n-1);return{node:r,index:n-1,offset:i-r.nodeSize}}resolve(e){return Do.resolveCached(this,e)}resolveNoCache(e){return Do.resolve(this,e)}rangeHasMark(e,n,i){let r=!1;return n>e&&this.nodesBetween(e,n,s=>(i.isInSet(s.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),y0(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,i=J.empty,r=0,s=i.childCount){let o=this.contentMatchAt(e).matchFragment(i,r,s),a=o&&o.matchFragment(this.content,n);if(!a||!a.validEnd)return!1;for(let l=r;l<s;l++)if(!this.type.allowsMarks(i.child(l).marks))return!1;return!0}canReplaceWith(e,n,i,r){if(r&&!this.type.allowsMarks(r))return!1;let s=this.contentMatchAt(e).matchType(i),o=s&&s.matchFragment(this.content,n);return o?o.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),sp(this.type.attrs,this.attrs,"node",this.type.name);let e=$e.none;for(let n=0;n<this.marks.length;n++){let i=this.marks[n];sp(i.type.attrs,i.attrs,"mark",i.type.name),e=i.addToSet(e)}if(!$e.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let i;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");i=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,i)}let r=J.fromJSON(e,n.content);return e.nodeType(n.type).create(n.attrs,r,i)}};Di.prototype.text=void 0;class rl extends Di{constructor(e,n,i,r){if(super(e,n,null,r),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):y0(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new rl(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new rl(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function y0(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}function sp(t,e,n,i){for(let r in e)if(!(r in t))throw new RangeError(`Unsupported attribute ${r} for ${n} of type ${i}`);for(let r in t)t[r].validate&&t[r].validate(e[r])}class gr{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let i=new lx(e,n);if(i.next==null)return gr.empty;let r=k0(i);i.next&&i.err("Unexpected trailing text");let s=mx(px(r));return gx(s,i),s}matchType(e){for(let n=0;n<this.next.length;n++)if(this.next[n].type==e)return this.next[n].next;return null}matchFragment(e,n=0,i=e.childCount){let r=this;for(let s=n;r&&s<i;s++)r=r.matchType(e.child(s).type);return r}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:n}=this.next[e];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(e){for(let n=0;n<this.next.length;n++)for(let i=0;i<e.next.length;i++)if(this.next[n].type==e.next[i].type)return!0;return!1}fillBefore(e,n=!1,i=0){let r=[this];function s(o,a){let l=o.matchFragment(e,i);if(l&&(!n||l.validEnd))return J.from(a.map(f=>f.createAndFill()));for(let f=0;f<o.next.length;f++){let{type:c,next:u}=o.next[f];if(!(c.isText||c.hasRequiredAttrs())&&r.indexOf(u)==-1){r.push(u);let h=s(u,a.concat(c));if(h)return h}}return null}return s(this,[])}findWrapping(e){for(let i=0;i<this.wrapCache.length;i+=2)if(this.wrapCache[i]==e)return this.wrapCache[i+1];let n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}computeWrapping(e){let n=Object.create(null),i=[{match:this,type:null,via:null}];for(;i.length;){let r=i.shift(),s=r.match;if(s.matchType(e)){let o=[];for(let a=r;a.type;a=a.via)o.push(a.type);return o.reverse()}for(let o=0;o<s.next.length;o++){let{type:a,next:l}=s.next[o];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in n)&&(!r.type||l.validEnd)&&(i.push({match:a.contentMatch,type:a,via:r}),n[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(i){e.push(i);for(let r=0;r<i.next.length;r++)e.indexOf(i.next[r].next)==-1&&n(i.next[r].next)}return n(this),e.map((i,r)=>{let s=r+(i.validEnd?"*":" ")+" ";for(let o=0;o<i.next.length;o++)s+=(o?", ":"")+i.next[o].type.name+"->"+e.indexOf(i.next[o].next);return s}).join(` 28`)}}gr.empty=new gr(!0);class lx{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function k0(t){let e=[];do e.push(dx(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function dx(t){let e=[];do e.push(fx(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function fx(t){let e=hx(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=cx(t,e);else break;return e}function op(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function cx(t,e){let n=op(t),i=n;return t.eat(",")&&(t.next!="}"?i=op(t):i=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:i,expr:e}}function ux(t,e){let n=t.nodeTypes,i=n[e];if(i)return[i];let r=[];for(let s in n){let o=n[s];o.isInGroup(e)&&r.push(o)}return r.length==0&&t.err("No node type or group '"+e+"' found"),r}function hx(t){if(t.eat("(")){let e=k0(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=ux(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function px(t){let e=[[]];return r(s(t,0),n()),e;function n(){return e.push([])-1}function i(o,a,l){let f={term:l,to:a};return e[o].push(f),f}function r(o,a){o.forEach(l=>l.to=a)}function s(o,a){if(o.type=="choice")return o.exprs.reduce((l,f)=>l.concat(s(f,a)),[]);if(o.type=="seq")for(let l=0;;l++){let f=s(o.exprs[l],a);if(l==o.exprs.length-1)return f;r(f,a=n())}else if(o.type=="star"){let l=n();return i(a,l),r(s(o.expr,l),l),[i(l)]}else if(o.type=="plus"){let l=n();return r(s(o.expr,a),l),r(s(o.expr,l),l),[i(l)]}else{if(o.type=="opt")return[i(a)].concat(s(o.expr,a));if(o.type=="range"){let l=a;for(let f=0;f<o.min;f++){let c=n();r(s(o.expr,l),c),l=c}if(o.max==-1)r(s(o.expr,l),l);else for(let f=o.min;f<o.max;f++){let c=n();i(l,c),r(s(o.expr,l),c),l=c}return[i(l)]}else{if(o.type=="name")return[i(a,void 0,o.value)];throw new Error("Unknown expr type")}}}}function w0(t,e){return e-t}function ap(t,e){let n=[];return i(e),n.sort(w0);function i(r){let s=t[r];
vendor: 4,191 bytes, line 28
28if(s.length==1&&!s[0].term)return i(s[0].to);n.push(r);for(let o=0;o<s.length;o++){let{term:a,to:l}=s[o];!a&&n.indexOf(l)==-1&&i(l)}}}function mx(t){let e=Object.create(null);return n(ap(t,0));function n(i){let r=[];i.forEach(o=>{t[o].forEach(({term:a,to:l})=>{if(!a)return;let f;for(let c=0;c<r.length;c++)r[c][0]==a&&(f=r[c][1]);ap(t,l).forEach(c=>{f||r.push([a,f=[]]),f.indexOf(c)==-1&&f.push(c)})})});let s=e[i.join(",")]=new gr(i.indexOf(t.length-1)>-1);for(let o=0;o<r.length;o++){let a=r[o][1].sort(w0);s.next.push({type:r[o][0],next:e[a.join(",")]||n(a)})}return s}}function gx(t,e){for(let n=0,i=[t];n<i.length;n++){let r=i[n],s=!r.validEnd,o=[];for(let a=0;a<r.next.length;a++){let{type:l,next:f}=r.next[a];o.push(l.name),s&&!(l.isText||l.hasRequiredAttrs())&&(s=!1),i.indexOf(f)==-1&&i.push(f)}s&&e.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function A0(t){let e=Object.create(null);for(let n in t){let i=t[n];if(!i.hasDefault)return null;e[n]=i.default}return e}function x0(t,e){let n=Object.create(null);for(let i in t){let r=t[i],s=e&&e[i];if(s===void 0)if(r.hasDefault)s=r.default;else throw new RangeError("No value supplied for attribute "+i);else r.validate&&r.validate(s);n[i]=s}return n}function _0(t,e){let n=Object.create(null);if(e)for(let i in e)n[i]=new bx(t,i,e[i]);return n}let lp=class C0{constructor(e,n,i){this.name=e,this.schema=n,this.spec=i,this.markSet=null,this.groups=i.group?i.group.split(" "):[],this.attrs=_0(e,i.attrs),this.defaultAttrs=A0(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(i.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==gr.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:x0(this.attrs,e)}create(e=null,n,i){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Di(this,this.computeAttrs(e),J.from(n),$e.setFrom(i))}createChecked(e=null,n,i){return n=J.from(n),this.checkContent(n),new Di(this,this.computeAttrs(e),n,$e.setFrom(i))}createAndFill(e=null,n,i){if(e=this.computeAttrs(e),n=J.from(n),n.size){let o=this.contentMatch.fillBefore(n);if(!o)return null;n=o.append(n)}let r=this.contentMatch.matchFragment(n),s=r&&r.fillBefore(J.empty,!0);return s?new Di(this,e,n.append(s),$e.setFrom(i)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let i=0;i<e.childCount;i++)if(!this.allowsMarks(e.child(i).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;n<e.length;n++)if(!this.allowsMarkType(e[n].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let n;for(let i=0;i<e.length;i++)this.allowsMarkType(e[i].type)?n&&n.push(e[i]):n||(n=e.slice(0,i));return n?n.length?n:$e.none:e}static compile(e,n){let i=Object.create(null);e.forEach((s,o)=>i[s]=new C0(s,n,o));let r=n.spec.topNode||"doc";if(!i[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!i.text)throw new RangeError("Every schema needs a 'text' type");for(let s in i.text.attrs)throw new RangeError("The text node type should not have attributes");return i}};function vx(t,e,n){let i=n.split("|");return r=>{let s=r===null?"null":typeof r;if(i.indexOf(s)<0)throw new RangeError(`Expected value of type ${i} for attribute ${e} on type ${t}, got ${s}`)}}class bx{constructor(e,n,i){this.hasDefault=Object.prototype.hasOwnProperty.call(i,"default"),this.default=i.default,this.validate=typeof i.val
vendor: 7,972 bytes, lines 28-29
28idate=="string"?vx(e,n,i.validate):i.validate}get isRequired(){return!this.hasDefault}}class ad{constructor(e,n,i,r){this.name=e,this.rank=n,this.schema=i,this.spec=r,this.attrs=_0(e,r.attrs),this.excluded=null;let s=A0(this.attrs);this.instance=s?new $e(this,s):null}create(e=null){return!e&&this.instance?this.instance:new $e(this,x0(this.attrs,e))}static compile(e,n){let i=Object.create(null),r=0;return e.forEach((s,o)=>i[s]=new ad(s,r++,n,o)),i}removeFromSet(e){for(var n=0;n<e.length;n++)e[n].type==this&&(e=e.slice(0,n).concat(e.slice(n+1)),n--);return e}isInSet(e){for(let n=0;n<e.length;n++)if(e[n].type==this)return e[n]}excludes(e){return this.excluded.indexOf(e)>-1}}class S0{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let r in e)n[r]=e[r];n.nodes=jt.from(e.nodes),n.marks=jt.from(e.marks||{}),this.nodes=lp.compile(this.spec.nodes,this),this.marks=ad.compile(this.spec.marks,this);let i=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let s=this.nodes[r],o=s.spec.content||"",a=s.spec.marks;if(s.contentMatch=i[o]||(i[o]=gr.parse(o,this.nodes)),s.inlineContent=s.contentMatch.inlineContent,s.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!s.isInline||!s.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=s}s.markSet=a=="_"?null:a?dp(this,a.split(" ")):a==""||!s.inlineContent?[]:null}for(let r in this.marks){let s=this.marks[r],o=s.spec.excludes;s.excluded=o==null?[s]:o==""?[]:dp(this,o.split(" "))}this.nodeFromJSON=r=>Di.fromJSON(this,r),this.markFromJSON=r=>$e.fromJSON(this,r),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,i,r){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof lp){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,i,r)}text(e,n){let i=this.nodes.text;return new rl(i,i.defaultAttrs,e,$e.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function dp(t,e){let n=[];for(let i=0;i<e.length;i++){let r=e[i],s=t.marks[r],o=s;if(s)n.push(s);else for(let a in t.marks){let l=t.marks[a];(r=="_"||l.spec.group&&l.spec.group.split(" ").indexOf(r)>-1)&&n.push(o=l)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[i]+"'")}return n}function yx(t){return t.tag!=null}function kx(t){return t.style!=null}let co=class rc{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let i=this.matchedStyles=[];n.forEach(r=>{if(yx(r))this.tags.push(r);else if(kx(r)){let s=/[^=]*/.exec(r.style)[0];i.indexOf(s)<0&&i.push(s),this.styles.push(r)}}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let s=e.nodes[r.node];return s.contentMatch.matchType(s)})}parse(e,n={}){let i=new cp(this,n,!1);return i.addAll(e,$e.none,n.from,n.to),i.finish()}parseSlice(e,n={}){let i=new cp(this,n,!0);return i.addAll(e,$e.none,n.from,n.to),le.maxOpen(i.finish())}matchTag(e,n,i){for(let r=i?this.tags.indexOf(i)+1:0;r<this.tags.length;r++){let s=this.tags[r];if(xx(e,s.tag)&&(s.namespace===void 0||e.namespaceURI==s.namespace)&&(!s.context||n.matchesContext(s.context))){if(s.getAttrs){let o=s.getAttrs(e);if(o===!1)continue;s.attrs=o||void 0}return s}}}matchStyle(e,n,i,r){for(let s=r?this.styles.indexOf(r)+1:0;s<this.styles.length;s++){let o=this.styles[s],a=o.style;if(!(a.indexOf(e)!=0||o.context&&!i.matchesContext(o.context)||a.length>e.length&&(a.charCodeAt(e.length)!=61||a.slice(e.length+1)!=n))){if(o.getAttrs){let l=o.getAttrs(n);if(l===!1)continue;o.attrs=l||void 0}return o}}}static schemaRules(e){let n=[];function i(r){let s=r.priority==null?50:r.priority,o=0;for(;o<n.length;o++){let a=n[o];if((a.priority==null?50:a.priority)<s)break}n.splice(o,0,r)}for(let r in e.marks){let s=e.marks[r].spec.parseDOM;s&&s.forEach(o=>{i(o=up(o)),o.mark||o.ignore||o.clearMark||(o.mark=r)})}for(let r in e.nodes){let s=e.nodes[r].spec.parseDOM;s&&s.forEach(o=>{i(o=up(o)),o.node||o.ignore||o.mark||(o.node=r)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new rc(e,rc.schemaRules(e)))}};const j0={address:!0,article:!0,aside:!0,blockquote:!0,body:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},wx={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},I0={ol:!0,ul:!0},No=1,sc=2,uo=4;function fp(t,e,n){return e!=null?(e?No:0)|(e==="full"?sc:0):t&&t.whitespace=="pre"?No|sc:n&~uo}class oa{constructor(e,n,i,r,s,o){this.type=e,this.attrs=n,this.marks=i,this.solid=r,this.options=o,this.content=[],this.activeMarks=$e.none,this.match=s||(o&uo?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(J.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let i=this.type.contentMatch,r;return(r=i.findWrapping(e.type))?(this.match=i,r):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&No)){let i=this.content[this.content.length-1],r;if(i&&i.isText&&(r=/[ \t\r\n\u000c]+$/.exec(i.text))){let s=i;i.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=s.withText(s.text.slice(0,s.text.length-r[0].length))}}let n=J.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(J.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!j0.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class cp{constructor(e,n,i){this.parser=e,this.options=n,this.isOpen=i,this.open=0,this.localPreserveWS=!1;let r=n.topNode,s,o=fp(null,n.preserveWhitespace,0)|(i?uo:0);r?s=new oa(r.type,r.attrs,$e.none,!0,n.topMatch||r.type.contentMatch,o):i?s=new oa(null,null,$e.none,!0,null,o):s=new oa(e.schema.topNodeType,null,$e.none,!0,null,o),this.nodes=[s],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let i=e.nodeValue,r=this.top,s=r.options&sc?"full":this.localPreserveWS||(r.options&No)>0,{schema:o}=this.parser;if(s==="full"||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(i)){if(s)if(s==="full")i=i.replace(/\r\n?/g,` 29`);else if(o.linebreakReplacement&&/[\r\n]/.test(i)&&this.top.findWrapping(o.linebreakReplacement.create())){let a=i.split(/\r?\n|\r/);for(let l=0;l<a.length;l++)l&&this.insertNode(o.linebreakReplacement.create(),n,!0),a[l]&&this.insertNode(o.text(a[l]),n,!/\S/.test(a[l]));i=""}else i=i.replace(/\r?\n|\r/g," ");else if(i=i.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(i)&&this.open==this.nodes.length-1){let a=r.content[r.content.length-1],l=e.previousSibling;(!a||l&&l.nodeName=="BR"||a.isText&&/[ \t\r\n\u000c]$/.test(a.text))&&(i=i.slice(1))}i&&this.insertNode(o.text(i),n,!/\S/.test(i)),this.findInText(e)}else this.findInside(e)}addElement(e,n,i){let r=this.localPreserveWS,s=this.top;(e.tagName=="PRE"||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let o=e.nodeName.toLowerCase(),a;I0.hasOwnProperty(o)&&this.parser.normalizeLists&&Ax(e);let l=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(a=this.parser.matchTag(e,this,i));e:if(l?l.ignore:wx.hasOwnProperty(o))this.findInside(e),this.ignoreFallback(e,n);else if(!l||l.skip||l.closeParent){l&&l.closeParent?this.open=Math.max(0,this.open-1):l&&l.skip.nodeType&&(e=l.skip);let f,c=this.needsBlock;
vendor: 4,817 bytes, lines 29-30
29if(j0.hasOwnProperty(o))s.content.length&&s.content[0].isInline&&this.open&&(this.open--,s=this.top),f=!0,s.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);break e}let u=l&&l.skip?n:this.readStyles(e,n);u&&this.addAll(e,u),f&&this.sync(s),this.needsBlock=c}else{let f=this.readStyles(e,n);f&&this.addElementByRule(e,l,f,l.consuming===!1?a:void 0)}this.localPreserveWS=r}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(` 30`),n)}ignoreFallback(e,n){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n,!0)}readStyles(e,n){let i=e.style;if(i&&i.length)for(let r=0;r<this.parser.matchedStyles.length;r++){let s=this.parser.matchedStyles[r],o=i.getPropertyValue(s);if(o)for(let a=void 0;;){let l=this.parser.matchStyle(s,o,this,a);if(!l)break;if(l.ignore)return null;if(l.clearMark?n=n.filter(f=>!l.clearMark(f)):n=n.concat(this.parser.schema.marks[l.mark].create(l.attrs)),l.consuming===!1)a=l;else break}}return n}addElementByRule(e,n,i,r){let s,o;if(n.node)if(o=this.parser.schema.nodes[n.node],o.isLeaf)this.insertNode(o.create(n.attrs),i,e.nodeName=="BR")||this.leafFallback(e,i);else{let l=this.enter(o,n.attrs||null,i,n.preserveWhitespace);l&&(s=!0,i=l)}else{let l=this.parser.schema.marks[n.mark];i=i.concat(l.create(n.attrs))}let a=this.top;if(o&&o.isLeaf)this.findInside(e);else if(r)this.addElement(e,i,r);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(l=>this.insertNode(l,i,!1));else{let l=e;typeof n.contentElement=="string"?l=e.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(e):n.contentElement&&(l=n.contentElement),this.findAround(e,l,!0),this.addAll(l,i),this.findAround(e,l,!1)}s&&this.sync(a)&&this.open--}addAll(e,n,i,r){let s=i||0;for(let o=i?e.childNodes[i]:e.firstChild,a=r==null?null:e.childNodes[r];o!=a;o=o.nextSibling,++s)this.findAtPoint(e,s),this.addDOM(o,n);this.findAtPoint(e,s)}findPlace(e,n,i){let r,s;for(let o=this.open,a=0;o>=0;o--){let l=this.nodes[o],f=l.findWrapping(e);if(f&&(!r||r.length>f.length+a)&&(r=f,s=l,!f.length))break;if(l.solid){if(i)break;a+=2}}if(!r)return null;this.sync(s);for(let o=0;o<r.length;o++)n=this.enterInner(r[o],null,n,!1);return n}insertNode(e,n,i){if(e.isInline&&this.needsBlock&&!this.top.type){let s=this.textblockFromContext();s&&(n=this.enterInner(s,null,n))}let r=this.findPlace(e,n,i);if(r){this.closeExtra();let s=this.top;s.match&&(s.match=s.match.matchType(e.type));let o=$e.none;for(let a of r.concat(e.marks))(s.type?s.type.allowsMarkType(a.type):hp(a.type,e.type))&&(o=a.addToSet(o));return s.content.push(e.mark(o)),!0}return!1}enter(e,n,i,r){let s=this.findPlace(e.create(n),i,!1);return s&&(s=this.enterInner(e,n,i,!0,r)),s}enterInner(e,n,i,r=!1,s){this.closeExtra();let o=this.top;o.match=o.match&&o.match.matchType(e);let a=fp(e,s,o.options);o.options&uo&&o.content.length==0&&(a|=uo);let l=$e.none;return i=i.filter(f=>(o.type?o.type.allowsMarkType(f.type):hp(f.type,e))?(l=f.addToSet(l),!1):!0),this.nodes.push(new oa(e,n,l,r,null,a)),this.open++,i}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=No)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let i=this.nodes[n].content;for(let r=i.length-1;r>=0;r--)e+=i[r].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let i=0;i<this.find.length;i++)this.find[i].node==e&&this.find[i].offset==n&&(this.find[i].pos=this.currentPos)}findInside(e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&e.nodeType==1&&e.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(e,n,i){if(e!=n&&this.find)for(let r=0;r<this.find.length;r++)this.find[r].pos==null&&e.nodeType==1&&e.contains(this.find[r].node)&&n.compareDocumentPosition(this.find[r].node)&(i?2:4)&&(this.find[r].pos=this.currentPos)}findInText(e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&(this.find[n].pos=this.currentPos-(e.nodeValue.length-this.find[n].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),i=this.options.context,r=!this.isOpen&&(!i||i.parent.type==this.nodes[0].type),s=-(i?i.depth+1:0)+(r?0:1),o=(a,l)=>{for(;a>=0;a--){let f=n[a];if(f==""){if(a==n.length-1||a==0)continue;for(;l>=s;l--)if(o(a-1,l))return!0;return!1}else{let c=l>
vendor: 4,674 bytes, line 30
300||l==0&&r?this.nodes[l].type:i&&l>=s?i.node(l-s).type:null;if(!c||c.name!=f&&!c.isInGroup(f))return!1;l--}}return!0};return o(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(i&&i.isTextblock&&i.defaultAttrs)return i}for(let n in this.parser.schema.nodes){let i=this.parser.schema.nodes[n];if(i.isTextblock&&i.defaultAttrs)return i}}}function Ax(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let i=e.nodeType==1?e.nodeName.toLowerCase():null;i&&I0.hasOwnProperty(i)&&n?(n.appendChild(e),e=n):i=="li"?n=e:i&&(n=null)}}function xx(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function up(t){let e={};for(let n in t)e[n]=t[n];return e}function hp(t,e){let n=e.schema.nodes;for(let i in n){let r=n[i];if(!r.allowsMarkType(t))continue;let s=[],o=a=>{s.push(a);for(let l=0;l<a.edgeCount;l++){let{type:f,next:c}=a.edge(l);if(f==e||s.indexOf(c)<0&&o(c))return!0}};if(o(r.contentMatch))return!0}}class _r{constructor(e,n){this.nodes=e,this.marks=n}serializeFragment(e,n={},i){i||(i=aa(n).createDocumentFragment());let r=i,s=[];return e.forEach(o=>{if(s.length||o.marks.length){let a=0,l=0;for(;a<s.length&&l<o.marks.length;){let f=o.marks[l];if(!this.marks[f.type.name]){l++;continue}if(!f.eq(s[a][0])||f.type.spec.spanning===!1)break;a++,l++}for(;a<s.length;)r=s.pop()[1];for(;l<o.marks.length;){let f=o.marks[l++],c=this.serializeMark(f,o.isInline,n);c&&(s.push([f,r]),r.appendChild(c.dom),r=c.contentDOM||c.dom)}}r.appendChild(this.serializeNodeInner(o,n))}),i}serializeNodeInner(e,n){if(e.isText)return aa(n).createTextNode(e.text);let{dom:i,contentDOM:r}=Ta(aa(n),this.nodes[e.type.name](e),null,e.attrs);if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,n,r)}return i}serializeNode(e,n={}){let i=this.serializeNodeInner(e,n);for(let r=e.marks.length-1;r>=0;r--){let s=this.serializeMark(e.marks[r],e.isInline,n);s&&((s.contentDOM||s.dom).appendChild(i),i=s.dom)}return i}serializeMark(e,n,i={}){let r=this.marks[e.type.name];return r&&Ta(aa(i),r(e,n),null,e.attrs)}static renderSpec(e,n,i=null,r){return typeof n=="string"?{dom:e.createTextNode(n)}:Ta(e,n,i,r)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new _r(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=pp(e.nodes);return n.text||(n.text=i=>i.text),n}static marksFromSchema(e){return pp(e.marks)}}function pp(t){let e={};for(let n in t){let i=t[n].spec.toDOM;i&&(e[n]=i)}return e}function aa(t){return t.document||window.document}const mp=new WeakMap;function _x(t){let e=mp.get(t);return e===void 0&&mp.set(t,e=Cx(t)),e}function Cx(t){let e=null;function n(i){if(i&&typeof i=="object")if(Array.isArray(i))if(typeof i[0]=="string")e||(e=[]),e.push(i);else for(let r=0;r<i.length;r++)n(i[r]);else for(let r in i)n(i[r])}return n(t),e}function Ta(t,e,n,i){if(e.nodeType==1)return{dom:e};if(e.dom&&e.dom.nodeType==1)return e;let r=e[0],s;if(typeof r!="string")throw new RangeError("Invalid array passed to renderSpec");if(i&&(s=_x(i))&&s.indexOf(e)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=r.indexOf(" ");o>0&&(n=r.slice(0,o),r=r.slice(o+1));let a,l=n?t.createElementNS(n,r):t.createElement(r),f=e[1],c=1;if(f&&typeof f=="object"&&f.nodeType==null&&!Array.isArray(f)){c=2;for(let u in f)if(f[u]!=null){let h=u.indexOf(" ");h>0?l.setAttributeNS(u.slice(0,h),u.slice(h+1),f[u]):u=="style"&&l.style?l.style.cssText=f[u]:l.setAttribute(u,f[u])}}for(let u=c;u<e.length;u++){let h=e[u];if(h===0){if(u<e.length-1||u>c)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else if(typeof h=="string")l.appendChild(t.createTextNode(h));else{let{dom:m,contentDOM:p}=Ta(t,h,n,i);if(l.appendChild(m),p){if(a)throw new RangeError("Multiple content holes");a=p}}}return{dom:l,contentDOM:a}}const B0=65535,E0=Math.pow(2,16);function Sx(t,e){return t+e*E0}function gp(t){return t&B0}function jx(t){return(t-(t&B0))/E0}const M0=1,T0=2,Fa=4,F0=8;let oc=class{constructor(e,n,i){this.pos=e,this.delInfo=n,this.recover=i}get deleted(){return(this.delInfo&F0)>0}get deletedBefore(){return(this.delInfo&(M0|Fa))>0}get deletedAfter(){return(this.delInfo&(T0|Fa))>0}get deletedAcross(){return(this.delInfo&Fa)>0}},vr=class Pr{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Pr.empty)return Pr.empty}recover(e){let n=0,i=gp(e);if(!this.inverted)for(let r=0;r<i;
vendor: 4,627 bytes, line 30
30r++)n+=this.ranges[r*3+2]-this.ranges[r*3+1];return this.ranges[i*3]+n+jx(e)}mapResult(e,n=1){return this._map(e,n,!1)}map(e,n=1){return this._map(e,n,!0)}_map(e,n,i){let r=0,s=this.inverted?2:1,o=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let l=this.ranges[a]-(this.inverted?r:0);if(l>e)break;let f=this.ranges[a+s],c=this.ranges[a+o],u=l+f;if(e<=u){let h=f?e==l?-1:e==u?1:n:n,m=l+r+(h<0?0:c);if(i)return m;let p=e==(n<0?l:u)?null:Sx(a/3,e-l),g=e==l?T0:e==u?M0:Fa;return(n<0?e!=l:e!=u)&&(g|=F0),new oc(m,g,p)}r+=c-f}return i?e+r:new oc(e+r,0,null)}touches(e,n){let i=0,r=gp(n),s=this.inverted?2:1,o=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let l=this.ranges[a]-(this.inverted?i:0);if(l>e)break;let f=this.ranges[a+s],c=l+f;if(e<=c&&a==r*3)return!0;i+=this.ranges[a+o]-f}return!1}forEach(e){let n=this.inverted?2:1,i=this.inverted?1:2;for(let r=0,s=0;r<this.ranges.length;r+=3){let o=this.ranges[r],a=o-(this.inverted?s:0),l=o+(this.inverted?0:s),f=this.ranges[r+n],c=this.ranges[r+i];e(a,a+f,l,l+c),s+=c-f}}invert(){return new Pr(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?Pr.empty:new Pr(e<0?[0,-e,0]:[0,0,e])}};vr.empty=new vr([]);class Ro{constructor(e,n,i=0,r=e?e.length:0){this.mirror=n,this.from=i,this.to=r,this._maps=e||[],this.ownData=!(e||n)}get maps(){return this._maps}slice(e=0,n=this.maps.length){return new Ro(this._maps,this.mirror,e,n)}appendMap(e,n){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),n!=null&&this.setMirror(this._maps.length-1,n)}appendMapping(e){for(let n=0,i=this._maps.length;n<e._maps.length;n++){let r=e.getMirror(n);this.appendMap(e._maps[n],r!=null&&r<n?i+r:void 0)}}getMirror(e){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==e)return this.mirror[n+(n%2?-1:1)]}}setMirror(e,n){this.mirror||(this.mirror=[]),this.mirror.push(e,n)}appendMappingInverted(e){for(let n=e.maps.length-1,i=this._maps.length+e._maps.length;n>=0;n--){let r=e.getMirror(n);this.appendMap(e._maps[n].invert(),r!=null&&r>n?i-r-1:void 0)}}invert(){let e=new Ro;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let i=this.from;i<this.to;i++)e=this._maps[i].map(e,n);return e}mapResult(e,n=1){return this._map(e,n,!1)}_map(e,n,i){let r=0;for(let s=this.from;s<this.to;s++){let o=this._maps[s],a=o.mapResult(e,n);if(a.recover!=null){let l=this.getMirror(s);if(l!=null&&l>s&&l<this.to){s=l,e=this._maps[l].recover(a.recover);continue}}r|=a.delInfo,e=a.pos}return i?e:new oc(e,r,null)}}const Ud=Object.create(null);let Lt=class{getMap(){return vr.empty}merge(e){return null}static fromJSON(e,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let i=Ud[n.stepType];if(!i)throw new RangeError(`No step type ${n.stepType} defined`);return i.fromJSON(e,n)}static jsonID(e,n){if(e in Ud)throw new RangeError("Duplicate use of step JSON ID "+e);return Ud[e]=n,n.prototype.jsonID=e,n}},$t=class $s{constructor(e,n){this.doc=e,this.failed=n}static ok(e){return new $s(e,null)}static fail(e){return new $s(null,e)}static fromReplace(e,n,i,r){try{return $s.ok(e.replace(n,i,r))}catch(s){if(s instanceof Fo)return $s.fail(s.message);throw s}}};function Au(t,e,n){let i=[];for(let r=0;r<t.childCount;r++){let s=t.child(r);s.content.size&&(s=s.copy(Au(s.content,e,s))),s.isInline&&(s=e(s,n,r)),i.push(s)}return J.fromArray(i)}let xu=class Vs extends Lt{constructor(e,n,i){super(),this.from=e,this.to=n,this.mark=i}apply(e){let n=e.slice(this.from,this.to),i=e.resolve(this.from),r=i.node(i.sharedDepth(this.to)),s=new le(Au(n.content,(o,a)=>!o.isAtom||!a.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),r),n.openStart,n.openEnd);return $t.fromReplace(e,this.from,this.to,s)}invert(){return new Is(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),i=e.mapResult(this.to,-1);return n.deleted&&i.deleted||n.pos>=i.pos?null:new Vs(n.pos,i.pos,this.mark)}merge(e){return e instanceof Vs&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Vs(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Vs(n.from,n.to,e.markFromJSON(n.mark))}};Lt.jsonID("addMark",xu);let Is=class Gs extends Lt{constructor(e,n,i){super(),this.from=e,this.to=n,this.mark=i}
vendor: 6,587 bytes, line 30
30apply(e){let n=e.slice(this.from,this.to),i=new le(Au(n.content,r=>r.mark(this.mark.removeFromSet(r.marks)),e),n.openStart,n.openEnd);return $t.fromReplace(e,this.from,this.to,i)}invert(){return new xu(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),i=e.mapResult(this.to,-1);return n.deleted&&i.deleted||n.pos>=i.pos?null:new Gs(n.pos,i.pos,this.mark)}merge(e){return e instanceof Gs&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Gs(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Gs(n.from,n.to,e.markFromJSON(n.mark))}};Lt.jsonID("removeMark",Is);let _u=class Ks extends Lt{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return $t.fail("No node at mark step's position");let i=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return $t.fromReplace(e,this.pos,this.pos+1,new le(J.from(i),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let i=this.mark.addToSet(n.marks);if(i.length==n.marks.length){for(let r=0;r<n.marks.length;r++)if(!n.marks[r].isInSet(i))return new Ks(this.pos,n.marks[r]);return new Ks(this.pos,this.mark)}}return new sl(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Ks(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new Ks(n.pos,e.markFromJSON(n.mark))}};Lt.jsonID("addNodeMark",_u);let sl=class ac extends Lt{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return $t.fail("No node at mark step's position");let i=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return $t.fromReplace(e,this.pos,this.pos+1,new le(J.from(i),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new _u(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new ac(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new ac(n.pos,e.markFromJSON(n.mark))}};Lt.jsonID("removeNodeMark",sl);let vn=class xi extends Lt{constructor(e,n,i,r=!1){super(),this.from=e,this.to=n,this.slice=i,this.structure=r}apply(e){return this.structure&&lc(e,this.from,this.to)?$t.fail("Structure replace would overwrite content"):$t.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new vr([this.from,this.to-this.from,this.slice.size])}invert(e){return new xi(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let n=e.mapResult(this.to,-1),i=this.from==this.to&&xi.MAP_BIAS<0?n:e.mapResult(this.from,1);return i.deletedAcross&&n.deletedAcross?null:new xi(i.pos,Math.max(i.pos,n.pos),this.slice,this.structure)}merge(e){if(!(e instanceof xi)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let n=this.slice.size+e.slice.size==0?le.empty:new le(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new xi(this.from,this.to+(e.to-e.from),n,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let n=this.slice.size+e.slice.size==0?le.empty:new le(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new xi(e.from,this.to,n,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new xi(n.from,n.to,le.fromJSON(e,n.slice),!!n.structure)}};vn.MAP_BIAS=1;Lt.jsonID("replace",vn);let en=class Da extends Lt{constructor(e,n,i,r,s,o,a=!1){super(),this.from=e,this.to=n,this.gapFrom=i,this.gapTo=r,this.slice=s,this.insert=o,this.structure=a}apply(e){if(this.structure&&(lc(e,this.from,this.gapFrom)||lc(e,this.gapTo,this.to)))return $t.fail("Structure gap-replace would overwrite content");let n=e.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return $t.fail("Gap is not a flat range");let i=this.slice.insertAt(this.insert,n.content);return i?$t.fromReplace(e,this.from,this.to,i):$t.fail("Content does not fit in gap")}getMap(){return new vr([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let n=this.gapTo-this.gapFrom;return new Da(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let n=e.mapResult(this.from,1),i=e.mapResult(this.to,-1),r=this.from==this.gapFrom?n.pos:e.map(this.gapFrom,-1),s=this.to==this.gapTo?i.pos:e.map(this.gapTo,1);return n.deletedAcross&&i.deletedAcross||r<n.pos||s>i.pos?null:new Da(n.pos,i.pos,r,s,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Da(n.from,n.to,n.gapFrom,n.gapTo,le.fromJSON(e,n.slice),n.insert,!!n.structure)}};Lt.jsonID("replaceAround",en);function lc(t,e,n){let i=t.resolve(e),r=n-e,s=i.depth;for(;r>0&&s>0&&i.indexAfter(s)==i.node(s).childCount;)s--,r--;if(r>0){let o=i.node(s).maybeChild(i.indexAfter(s));for(;r>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,r--}}return!1}function Ix(t,e,n,i){let r=[],s=[],o,a;t.doc.nodesBetween(e,n,(l,f,c)=>{if(!l.isInline)return;let u=l.marks;if(!i.isInSet(u)&&c.type.allowsMarkType(i.type)){let h=Math.max(f,e),m=Math.min(f+l.nodeSize,n),p=i.addToSet(u);for(let g=0;g<u.length;g++)u[g].isInSet(p)||(o&&o.to==h&&o.mark.eq(u[g])?o.to=m:r.push(o=new Is(h,m,u[g])));a&&a.to==h?a.to=m:s.push(a=new xu(h,m,i))}}),r.forEach(l=>
vendor: 5,237 bytes, lines 30-31
30t.step(l)),s.forEach(l=>t.step(l))}function Bx(t,e,n,i){let r=[],s=0;t.doc.nodesBetween(e,n,(o,a)=>{if(!o.isInline)return;s++;let l=null;if(i instanceof ad){let f=o.marks,c;for(;c=i.isInSet(f);)(l||(l=[])).push(c),f=c.removeFromSet(f)}else i?i.isInSet(o.marks)&&(l=[i]):l=o.marks;if(l&&l.length){let f=Math.min(a+o.nodeSize,n);for(let c=0;c<l.length;c++){let u=l[c],h;for(let m=0;m<r.length;m++){let p=r[m];p.step==s-1&&u.eq(r[m].style)&&(h=p)}h?(h.to=f,h.step=s):r.push({style:u,from:Math.max(a,e),to:f,step:s})}}}),r.forEach(o=>t.step(new Is(o.from,o.to,o.style)))}function Cu(t,e,n,i=n.contentMatch,r=!0){let s=t.doc.nodeAt(e),o=[],a=e+1;for(let l=0;l<s.childCount;l++){let f=s.child(l),c=a+f.nodeSize,u=i.matchType(f.type);if(!u)o.push(new vn(a,c,le.empty));else{i=u;for(let h=0;h<f.marks.length;h++)n.allowsMarkType(f.marks[h].type)||t.step(new Is(a,c,f.marks[h]));if(r&&f.isText&&n.whitespace!="pre"){let h,m=/\r?\n|\r/g,p;for(;h=m.exec(f.text);)p||(p=new le(J.from(n.schema.text(" ",n.allowedMarks(f.marks))),0,0)),o.push(new vn(a+h.index,a+h.index+h[0].length,p))}}a=c}if(!i.validEnd){let l=i.fillBefore(J.empty,!0);t.replace(a,a,new le(l,0,0))}for(let l=o.length-1;l>=0;l--)t.step(o[l])}function Ex(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function Bs(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let i=t.depth,r=0,s=0;;--i){let o=t.$from.node(i),a=t.$from.index(i)+r,l=t.$to.indexAfter(i)-s;if(i<t.depth&&o.canReplace(a,l,n))return i;if(i==0||o.type.spec.isolating||!Ex(o,a,l))break;a&&(r=1),l<o.childCount&&(s=1)}return null}function Mx(t,e,n){let{$from:i,$to:r,depth:s}=e,o=i.before(s+1),a=r.after(s+1),l=o,f=a,c=J.empty,u=0;for(let p=s,g=!1;p>n;p--)g||i.index(p)>0?(g=!0,c=J.from(i.node(p).copy(c)),u++):l--;let h=J.empty,m=0;for(let p=s,g=!1;p>n;p--)g||r.after(p+1)<r.end(p)?(g=!0,h=J.from(r.node(p).copy(h)),m++):f++;t.step(new en(l,f,o,a,new le(c.append(h),u,m),c.size-u,!0))}function Su(t,e,n=null,i=t){let r=Tx(t,e),s=r&&Fx(i,e);return s?r.map(vp).concat({type:e,attrs:n}).concat(s.map(vp)):null}function vp(t){return{type:t,attrs:null}}function Tx(t,e){let{parent:n,startIndex:i,endIndex:r}=t,s=n.contentMatchAt(i).findWrapping(e);if(!s)return null;let o=s.length?s[0]:e;return n.canReplaceWith(i,r,o)?s:null}function Fx(t,e){let{parent:n,startIndex:i,endIndex:r}=t,s=n.child(i),o=e.contentMatch.findWrapping(s.type);if(!o)return null;let l=(o.length?o[o.length-1]:e).contentMatch;for(let f=i;l&&f<r;f++)l=l.matchType(n.child(f).type);return!l||!l.validEnd?null:o}function Dx(t,e,n){let i=J.empty;for(let o=n.length-1;o>=0;o--){if(i.size){let a=n[o].type.contentMatch.matchFragment(i);if(!a||!a.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=J.from(n[o].type.create(n[o].attrs,i))}let r=e.start,s=e.end;t.step(new en(r,s,r,s,new le(i,0,0),n.length,!0))}function Nx(t,e,n,i,r){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let s=t.steps.length;t.doc.nodesBetween(e,n,(o,a)=>{let l=typeof r=="function"?r(o):r;if(o.isTextblock&&!o.hasMarkup(i,l)&&Rx(t.doc,t.mapping.slice(s).map(a),i)){let f=null;if(i.schema.linebreakReplacement){let m=i.whitespace=="pre",p=!!i.contentMatch.matchType(i.schema.linebreakReplacement);m&&!p?f=!1:!m&&p&&(f=!0)}f===!1&&N0(t,o,a,s),Cu(t,t.mapping.slice(s).map(a,1),i,void 0,f===null);let c=t.mapping.slice(s),u=c.map(a,1),h=c.map(a+o.nodeSize,1);return t.step(new en(u,h,u+1,h-1,new le(J.from(i.create(l,null,o.marks)),0,0),1,!0)),f===!0&&D0(t,o,a,s),!1}})}function D0(t,e,n,i){e.forEach((r,s)=>{if(r.isText){let o,a=/\r?\n|\r/g;for(;o=a.exec(r.text);){let l=t.mapping.slice(i).map(n+1+s+o.index);t.replaceWith(l,l+1,e.type.schema.linebreakReplacement.create())}}})}function N0(t,e,n,i){e.forEach((r,s)=>{if(r.type==r.type.schema.linebreakReplacement){let o=t.mapping.slice(i).map(n+1+s);t.replaceWith(o,o+1,e.type.schema.text(` 31`))}})}function Rx(t,e,n){let i=t.resolve(e),r=i.index();return i.parent.canReplaceWith(r,r+1,n)}function Lx(t,e,n,i,r){let s=t.doc.nodeAt(e);if(!s)throw new RangeError("No node at given position");n||(n=s.type);let o=n.create(i,null,r||s.marks);if(s.isLeaf)return t.replaceWith(e,e+s.nodeSize,o);if(!n.validContent(s.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new en(e,e+s.nodeSize,e+1,e+s.nodeSize-1,new le(J.from(o),0,0),1,!0))}function ui(t,e,n=1,i){let r=t.resolve(e),s=r.depth-n,o=i&&i[i.length-1]||r.parent;if(s<0||r.parent.type.spec.isolating||!r.parent.canReplace(r.index(),r.parent.childCount)||!o.type.validContent(r.parent.content.cutByIndex(r.index(),r.parent.childCount)))return!1;for(let f=r.depth-1,c=n-2;f>s;f--,c--){let u=r.node(f),h=r.index(f);if(u.type.spec.isolating)return!1;let m=u.content.cutByIndex(h,u.childCount),p=i&&i[c+1];p&&(m=m.replaceChild(0,p.type.create(p.attrs)));let g=i&&i[c]||u;if(!u.canReplace(h+1,u.childCount)||!g.type.validContent(m))return!1}let a=r.indexAfter(s),l=i&&i[0];return r.node(s).canReplaceWith(a,a,l?l.type:r.node(s+1).type)}function Ox(t,e,n=1,i){let r=t.doc.resolve(e),s=J.empty,o=J.empty;for(let a=r.depth,l=r.depth-n,f=n-1;a>l;a--,f--){s=J.from(r.node(a).copy(s));let c=i&&i[f];
vendor: 4,122 bytes, line 31
31o=J.from(c?c.type.create(c.attrs,o):r.node(a).copy(o))}t.step(new vn(e,e,new le(s.append(o),n,n),!0))}function Vi(t,e){let n=t.resolve(e),i=n.index();return R0(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function Px(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:i}=t.type.schema;for(let r=0;r<e.childCount;r++){let s=e.child(r),o=s.type==i?t.type.schema.nodes.text:s.type;if(n=n.matchType(o),!n||!t.type.allowsMarks(s.marks))return!1}return n.validEnd}function R0(t,e){return!!(t&&e&&!t.isLeaf&&Px(t,e))}function ld(t,e,n=-1){let i=t.resolve(e);for(let r=i.depth;;r--){let s,o,a=i.index(r);if(r==i.depth?(s=i.nodeBefore,o=i.nodeAfter):n>0?(s=i.node(r+1),a++,o=i.node(r).maybeChild(a)):(s=i.node(r).maybeChild(a-1),o=i.node(r+1)),s&&!s.isTextblock&&R0(s,o)&&i.node(r).canReplace(a,a+1))return e;if(r==0)break;e=n<0?i.before(r):i.after(r)}}function zx(t,e,n){let i=null,{linebreakReplacement:r}=t.doc.type.schema,s=t.doc.resolve(e-n),o=s.node().type;if(r&&o.inlineContent){let c=o.whitespace=="pre",u=!!o.contentMatch.matchType(r);c&&!u?i=!1:!c&&u&&(i=!0)}let a=t.steps.length;if(i===!1){let c=t.doc.resolve(e+n);N0(t,c.node(),c.before(),a)}o.inlineContent&&Cu(t,e+n-1,o,s.node().contentMatchAt(s.index()),i==null);let l=t.mapping.slice(a),f=l.map(e-n);if(t.step(new vn(f,l.map(e+n,-1),le.empty,!0)),i===!0){let c=t.doc.resolve(f);D0(t,c.node(),c.before(),t.steps.length)}return t}function Hx(t,e,n){let i=t.resolve(e);if(i.parent.canReplaceWith(i.index(),i.index(),n))return e;if(i.parentOffset==0)for(let r=i.depth-1;r>=0;r--){let s=i.index(r);if(i.node(r).canReplaceWith(s,s,n))return i.before(r+1);if(s>0)return null}if(i.parentOffset==i.parent.content.size)for(let r=i.depth-1;r>=0;r--){let s=i.indexAfter(r);if(i.node(r).canReplaceWith(s,s,n))return i.after(r+1);if(s<i.node(r).childCount)return null}return null}function L0(t,e,n){let i=t.resolve(e);if(!n.content.size)return e;let r=n.content;for(let s=0;s<n.openStart;s++)r=r.firstChild.content;for(let s=1;s<=(n.openStart==0&&n.size?2:1);s++)for(let o=i.depth;o>=0;o--){let a=o==i.depth?0:i.pos<=(i.start(o+1)+i.end(o+1))/2?-1:1,l=i.index(o)+(a>0?1:0),f=i.node(o),c=!1;if(s==1)c=f.canReplace(l,l,r);else{let u=f.contentMatchAt(l).findWrapping(r.firstChild.type);c=u&&f.canReplaceWith(l,l,u[0])}if(c)return a==0?i.pos:a<0?i.before(o+1):i.after(o+1)}return null}function dd(t,e,n=e,i=le.empty){if(e==n&&!i.size)return null;let r=t.resolve(e),s=t.resolve(n);return O0(r,s,i)?new vn(e,n,i):new Wx(r,s,i).fit()}function O0(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class Wx{constructor(e,n,i){this.$from=e,this.$to=n,this.unplaced=i,this.frontier=[],this.placed=J.empty;for(let r=0;r<=e.depth;r++){let s=e.node(r);this.frontier.push({type:s.type,match:s.contentMatchAt(e.indexAfter(r))})}for(let r=e.depth;r>0;r--)this.placed=J.from(e.node(r).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let f=this.findFittable();f?this.placeNodes(f):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,i=this.$from,r=this.close(e<0?this.$to:i.doc.resolve(e));if(!r)return null;let s=this.placed,o=i.depth,a=r.depth;for(;o&&a&&s.childCount==1;)s=s.firstChild.content,o--,a--;let l=new le(s,o,a);return e>-1?new en(i.pos,e,this.$to.pos,this.$to.end(),l,n):l.size||i.pos!=this.$to.pos?new vn(i.pos,r.pos,l):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,i=0,r=this.unplaced.openEnd;i<e;i++){let s=n.firstChild;if(n.childCount>1&&(r=0),s.type.spec.isolating&&r<=i){e=i;break}n=s.content}for(let n=1;n<=2;n++)for(let i=n==1?e:this.unplaced.openStart;i>=0;i--){let r,s=null;i?(s=Qd(this.unplaced.content,i-1).firstChild,r=s.content):r=this.unplaced.content;let o=r.firstChild;for(let a=this.depth;a>=0;a--){let{type:l,match:f}=this.frontier[a],c,u=null;if(n==1&&(o?f.matchType(o.type)||(u=f.fillBefore(J.from(o),!1)):s&&l.compatibleContent(s.type)))return{sliceDepth:i,frontierDepth:a,parent:s,inject:u};
vendor: 4,683 bytes, line 31
31if(n==2&&o&&(c=f.findWrapping(o.type)))return{sliceDepth:i,frontierDepth:a,parent:s,wrap:c};if(s&&f.matchType(s.type))break}}}openMore(){let{content:e,openStart:n,openEnd:i}=this.unplaced,r=Qd(e,n);return!r.childCount||r.firstChild.isLeaf?!1:(this.unplaced=new le(e,n+1,Math.max(i,r.size+n>=e.size-i?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:i}=this.unplaced,r=Qd(e,n);if(r.childCount<=1&&n>0){let s=e.size-n<=n+r.size;this.unplaced=new le(Js(e,n-1,1),n-1,s?n-1:i)}else this.unplaced=new le(Js(e,n,1),n,i)}placeNodes({sliceDepth:e,frontierDepth:n,parent:i,inject:r,wrap:s}){for(;this.depth>n;)this.closeFrontierNode();if(s)for(let g=0;g<s.length;g++)this.openFrontierNode(s[g]);let o=this.unplaced,a=i?i.content:o.content,l=o.openStart-e,f=0,c=[],{match:u,type:h}=this.frontier[n];if(r){for(let g=0;g<r.childCount;g++)c.push(r.child(g));u=u.matchFragment(r)}let m=a.size+e-(o.content.size-o.openEnd);for(;f<a.childCount;){let g=a.child(f),v=u.matchType(g.type);if(!v)break;f++,(f>1||l==0||g.content.size)&&(u=v,c.push(P0(g.mark(h.allowedMarks(g.marks)),f==1?l:0,f==a.childCount?m:-1)))}let p=f==a.childCount;p||(m=-1),this.placed=Us(this.placed,n,J.from(c)),this.frontier[n].match=u,p&&m<0&&i&&i.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,v=a;g<m;g++){let b=v.lastChild;this.frontier.push({type:b.type,match:b.contentMatchAt(b.childCount)}),v=b.content}this.unplaced=p?e==0?le.empty:new le(Js(o.content,e-1,1),e-1,m<0?o.openEnd:e-1):new le(Js(o.content,e,f),o.openStart,o.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],n;if(!e.type.isTextblock||!qd(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(n=this.findCloseLevel(this.$to))&&n.depth==this.depth)return-1;let{depth:i}=this.$to,r=this.$to.after(i);for(;i>1&&r==this.$to.end(--i);)++r;return r}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:i,type:r}=this.frontier[n],s=n<e.depth&&e.end(n+1)==e.pos+(e.depth-(n+1)),o=qd(e,n,r,i,s);if(o){for(let a=n-1;a>=0;a--){let{match:l,type:f}=this.frontier[a],c=qd(e,a,f,l,!0);if(!c||c.childCount)continue e}return{depth:n,fit:o,move:s?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=Us(this.placed,n.depth,n.fit)),e=n.move;for(let i=n.depth+1;i<=e.depth;i++){let r=e.node(i),s=r.type.contentMatch.fillBefore(r.content,!0,e.index(i));this.openFrontierNode(r.type,r.attrs,s)}return e}openFrontierNode(e,n=null,i){let r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=Us(this.placed,this.depth,J.from(e.create(n,i))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(J.empty,!0);n.childCount&&(this.placed=Us(this.placed,this.frontier.length,n))}}function Js(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(Js(t.firstChild.content,e-1,n)))}function Us(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(Us(t.lastChild.content,e-1,n)))}function Qd(t,e){for(let n=0;n<e;n++)t=t.firstChild.content;return t}function P0(t,e,n){if(e<=0)return t;let i=t.content;return e>1&&(i=i.replaceChild(0,P0(i.firstChild,e-1,i.childCount==1?n-1:0))),e>0&&(i=t.type.contentMatch.fillBefore(i).append(i),n<=0&&(i=i.append(t.type.contentMatch.matchFragment(i).fillBefore(J.empty,!0)))),t.copy(i)}function qd(t,e,n,i,r){let s=t.node(e),o=r?t.indexAfter(e):t.index(e);if(o==s.childCount&&!n.compatibleContent(s.type))return null;let a=i.fillBefore(s.content,!0,o);return a&&!$x(n,s.content,o)?a:null}function $x(t,e,n){for(let i=n;i<e.childCount;i++)if(!t.allowsMarks(e.child(i).marks))return!0;return!1}function Vx(t){return t.spec.defining||t.spec.definingForContent}function Gx(t,e,n,i){if(!i.size)return t.deleteRange(e,n);let r=t.doc.resolve(e),s=t.doc.resolve(n);if(O0(r,s,i))return t.step(new vn(e,n,i));let o=H0(r,s);o[o.length-1]==0&&o.pop();let a=-(r.depth+1);o.unshift(a);for(let h=r.depth,m=r.pos-1;h>0;h--,m--){let p=r.node(h).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;o.indexOf(h)>-1?a=h:r.before(h)==m&&o.splice(1,0,-h)}let l=o.indexOf(a),f=[],c=i.openStart;for(let h=i.content,m=0;;m++){let p=h.firstChild;if(f.push(p),m==i.openStart)break;h=p.content}for(let h=c-1;h>=0;h--){let m=f[h],p=Vx(m.type);if(p&&!m.sameMarkup(r.node(Math.abs(a)-1)))c=h;else if(p||!m.type.isTextblock)break}for(let h=i.openStart;h>=0;h--){let m=(h+c+1)%(i.openStart+1),p=f[m];if(p)for(let g=0;g<o.length;g++){let v=o[(g+l)%o.length],b=!0;v<0&&(b=!1,v=-v);
vendor: 4,969 bytes, line 31
31let w=r.node(v-1),A=r.index(v-1);if(w.canReplaceWith(A,A,p.type,p.marks))return t.replace(r.before(v),b?s.after(v):n,new le(z0(i.content,0,i.openStart,m),m,i.openEnd))}}let u=t.steps.length;for(let h=o.length-1;h>=0&&(t.replace(e,n,i),!(t.steps.length>u));h--){let m=o[h];m<0||(e=r.before(m),n=s.after(m))}}function z0(t,e,n,i,r){if(e<n){let s=t.firstChild;t=t.replaceChild(0,s.copy(z0(s.content,e+1,n,i,s)))}if(e>i){let s=r.contentMatchAt(0),o=s.fillBefore(t).append(t);t=o.append(s.matchFragment(o).fillBefore(J.empty,!0))}return t}function Kx(t,e,n,i){if(!i.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let r=Hx(t.doc,e,i.type);r!=null&&(e=n=r)}t.replaceRange(e,n,new le(J.from(i),0,0))}function Jx(t,e,n){let i=t.doc.resolve(e),r=t.doc.resolve(n);if(i.parent.isTextblock&&r.parent.isTextblock&&i.start()!=r.start()&&i.parentOffset==0&&r.parentOffset==0){let o=i.sharedDepth(n),a=!1;for(let l=i.depth;l>o;l--)i.node(l).type.spec.isolating&&(a=!0);for(let l=r.depth;l>o;l--)r.node(l).type.spec.isolating&&(a=!0);if(!a){for(let l=i.depth;l>0&&e==i.start(l);l--)e=i.before(l);for(let l=r.depth;l>0&&n==r.start(l);l--)n=r.before(l);i=t.doc.resolve(e),r=t.doc.resolve(n)}}let s=H0(i,r);for(let o=0;o<s.length;o++){let a=s[o],l=o==s.length-1;if(l&&a==0||i.node(a).type.contentMatch.validEnd)return t.delete(i.start(a),r.end(a));if(a>0&&(l||i.node(a-1).canReplace(i.index(a-1),r.indexAfter(a-1))))return t.delete(i.before(a),r.after(a))}for(let o=1;o<=i.depth&&o<=r.depth;o++)if(e-i.start(o)==i.depth-o&&n>i.end(o)&&r.end(o)-n!=r.depth-o&&i.start(o-1)==r.start(o-1)&&i.node(o-1).canReplace(i.index(o-1),r.index(o-1)))return t.delete(i.before(o),n);t.delete(e,n)}function H0(t,e){let n=[],i=Math.min(t.depth,e.depth);for(let r=i;r>=0;r--){let s=t.start(r);if(s<t.pos-(t.depth-r)||e.end(r)>e.pos+(e.depth-r)||t.node(r).type.spec.isolating||e.node(r).type.spec.isolating)break;(s==e.start(r)||r==t.depth&&r==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&r&&e.start(r-1)==s-1)&&n.push(r)}return n}let W0=class Na extends Lt{constructor(e,n,i){super(),this.pos=e,this.attr=n,this.value=i}apply(e){let n=e.nodeAt(this.pos);if(!n)return $t.fail("No node at attribute step's position");let i=Object.create(null);for(let s in n.attrs)i[s]=n.attrs[s];i[this.attr]=this.value;let r=n.type.create(i,null,n.marks);return $t.fromReplace(e,this.pos,this.pos+1,new le(J.from(r),0,n.isLeaf?0:1))}getMap(){return vr.empty}invert(e){return new Na(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Na(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Na(n.pos,n.attr,n.value)}};Lt.jsonID("attr",W0);let $0=class dc extends Lt{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let r in e.attrs)n[r]=e.attrs[r];n[this.attr]=this.value;let i=e.type.create(n,e.content,e.marks);return $t.ok(i)}getMap(){return vr.empty}invert(e){return new dc(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new dc(n.attr,n.value)}};Lt.jsonID("docAttr",$0);let ds=class extends Error{};ds=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};ds.prototype=Object.create(Error.prototype);ds.prototype.constructor=ds;ds.prototype.name="TransformError";class V0{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Ro}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new ds(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,n=-1e9;for(let i=0;i<this.mapping.maps.length;i++){let r=this.mapping.maps[i];i&&(e=r.map(e,1),n=r.map(n,-1)),r.forEach((s,o,a,l)=>{e=Math.min(e,a),n=Math.max(n,l)})}return e==1e9?null:{from:e,to:n}}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,i=le.empty){let r=dd(this.doc,e,n,i);return r&&this.step(r),this}replaceWith(e,n,i){return this.replace(e,n,new le(J.from(i),0,0))}delete(e,n){return this.replace(e,n,le.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,i){return Gx(this,e,n,i),this}replaceRangeWith(e,n,i){return Kx(this,e,n,i),this}deleteRange(e,n){return Jx(this,e,n),this}lift(e,n){return Mx(this,e,n),this}join(e,n=1){return zx(this,e,n),this}wrap(e,n){return Dx(this,e,n),this}setBlockType(e,n=e,i,r=null){return Nx(this,e,n,i,r),this}setNodeMarkup(e,n,i=null,r){return Lx(this,e,n,i,r),this}setNodeAttribute(e,n,i){return this.step(new W0(e,n,i)),this}
vendor: 5,253 bytes, line 31
31setDocAttribute(e,n){return this.step(new $0(e,n)),this}addNodeMark(e,n){return this.step(new _u(e,n)),this}removeNodeMark(e,n){let i=this.doc.nodeAt(e);if(!i)throw new RangeError("No node at position "+e);if(n instanceof $e)n.isInSet(i.marks)&&this.step(new sl(e,n));else{let r=i.marks,s,o=[];for(;s=n.isInSet(r);)o.push(new sl(e,s)),r=s.removeFromSet(r);for(let a=o.length-1;a>=0;a--)this.step(o[a])}return this}split(e,n=1,i){return Ox(this,e,n,i),this}addMark(e,n,i){return Ix(this,e,n,i),this}removeMark(e,n,i){return Bx(this,e,n,i),this}clearIncompatible(e,n,i){return Cu(this,e,n,i),this}}const Yd=Object.create(null);let Be=class{constructor(e,n,i){this.$anchor=e,this.$head=n,this.ranges=i||[new Ux(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n<e.length;n++)if(e[n].$from.pos!=e[n].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,n=le.empty){let i=n.content.lastChild,r=null;for(let a=0;a<n.openEnd;a++)r=i,i=i.lastChild;let s=e.steps.length,o=this.ranges;for(let a=0;a<o.length;a++){let{$from:l,$to:f}=o[a],c=e.mapping.slice(s);e.replaceRange(c.map(l.pos),c.map(f.pos),a?le.empty:n),a==0&&kp(e,s,(i?i.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(e,n){let i=e.steps.length,r=this.ranges;for(let s=0;s<r.length;s++){let{$from:o,$to:a}=r[s],l=e.mapping.slice(i),f=l.map(o.pos),c=l.map(a.pos);s?e.deleteRange(f,c):(e.replaceRangeWith(f,c,n),kp(e,i,n.isInline?-1:1))}}static findFrom(e,n,i=!1){let r=e.parent.inlineContent?new je(e):zr(e.node(0),e.parent,e.pos,e.index(),n,i);if(r)return r;for(let s=e.depth-1;s>=0;s--){let o=n<0?zr(e.node(0),e.node(s),e.before(s+1),e.index(s),n,i):zr(e.node(0),e.node(s),e.after(s+1),e.index(s)+1,n,i);if(o)return o}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new hi(e.node(0))}static atStart(e){return zr(e,e,0,0,1)||new hi(e)}static atEnd(e){return zr(e,e,e.content.size,e.childCount,-1)||new hi(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let i=Yd[n.type];if(!i)throw new RangeError(`No selection type ${n.type} defined`);return i.fromJSON(e,n)}static jsonID(e,n){if(e in Yd)throw new RangeError("Duplicate use of selection JSON ID "+e);return Yd[e]=n,n.prototype.jsonID=e,n}getBookmark(){return je.between(this.$anchor,this.$head).getBookmark()}};Be.prototype.visible=!0;let Ux=class{constructor(e,n){this.$from=e,this.$to=n}},bp=!1;function yp(t){!bp&&!t.parent.inlineContent&&(bp=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}let je=class Qs extends Be{constructor(e,n=e){yp(e),yp(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let i=e.resolve(n.map(this.head));if(!i.parent.inlineContent)return Be.near(i);let r=e.resolve(n.map(this.anchor));return new Qs(r.parent.inlineContent?r:i,i)}replace(e,n=le.empty){if(super.replace(e,n),n==le.empty){let i=this.$from.marksAcross(this.$to);i&&e.ensureMarks(i)}}eq(e){return e instanceof Qs&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new G0(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Qs(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,i=n){let r=e.resolve(n);return new this(r,i==n?r:e.resolve(i))}static between(e,n,i){let r=e.pos-n.pos;if((!i||r)&&(i=r>=0?1:-1),!n.parent.inlineContent){let s=Be.findFrom(n,i,!0)||Be.findFrom(n,-i,!0);if(s)n=s.$head;else return Be.near(n,i)}return e.parent.inlineContent||(r==0?e=n:(e=(Be.findFrom(e,-i,!0)||Be.findFrom(e,i,!0)).$anchor,e.pos<n.pos!=r<0&&(e=n))),new Qs(e,n)}};Be.jsonID("text",je);let G0=class K0{constructor(e,n){this.anchor=e,this.head=n}map(e){return new K0(e.map(this.anchor),e.map(this.head))}resolve(e){return je.between(e.resolve(this.anchor),e.resolve(this.head))}},Ae=class qs extends Be{constructor(e){let n=e.nodeAfter,i=e.node(0).resolve(e.pos+n.nodeSize);super(e,i),this.node=n}map(e,n){let{deleted:i,pos:r}=n.mapResult(this.anchor),s=e.resolve(r);return i?Be.near(s):new qs(s)}content(){return new le(J.from(this.node),0,0)}eq(e){return e instanceof qs&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Qx(this.anchor)}static fromJSON(e,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new qs(e.resolve(n.anchor))}static create(e,n){return new qs(e.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}};Ae.prototype.visible=!1;Be.jsonID("node",Ae);let Qx=class J0{constructor(e){this.anchor=e}map(e){let{deleted:n,pos:i}=e.mapResult(this.anchor);return n?new G0(i,i):new J0(i)}resolve(e){let n=e.resolve(this.anchor),i=n.nodeAfter;return i&&Ae.isSelectable(i)?new Ae(n):Be.near(n)}},hi=class Ra extends Be{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}
vendor: 4,249 bytes, line 31
31replace(e,n=le.empty){if(n==le.empty){e.delete(0,e.doc.content.size);let i=Be.atStart(e.doc);i.eq(e.selection)||e.setSelection(i)}else super.replace(e,n)}toJSON(){return{type:"all"}}static fromJSON(e){return new Ra(e)}map(e){return new Ra(e)}eq(e){return e instanceof Ra}getBookmark(){return qx}};Be.jsonID("all",hi);const qx={map(){return this},resolve(t){return new hi(t)}};function zr(t,e,n,i,r,s=!1){if(e.inlineContent)return je.create(t,n);for(let o=i-(r>0?0:1);r>0?o<e.childCount:o>=0;o+=r){let a=e.child(o);if(a.isAtom){if(!s&&Ae.isSelectable(a))return Ae.create(t,n-(r<0?a.nodeSize:0))}else{let l=zr(t,a,n+r,r<0?a.childCount:0,r,s);if(l)return l}n+=a.nodeSize*r}return null}function kp(t,e,n){let i=t.steps.length-1;if(i<e)return;let r=t.steps[i];if(!(r instanceof vn||r instanceof en))return;let s=t.mapping.maps[i],o;s.forEach((a,l,f,c)=>{o==null&&(o=c)}),t.setSelection(Be.near(t.doc.resolve(o),n))}const wp=1,la=2,Ap=4;class Yx extends V0{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|wp)&~la,this.storedMarks=null,this}get selectionSet(){return(this.updated&wp)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=la,this}ensureMarks(e){return $e.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&la)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~la,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let i=this.selection;return n&&(e=e.mark(this.storedMarks||(i.empty?i.$from.marks():i.$from.marksAcross(i.$to)||$e.none))),i.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,i){let r=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(i==null&&(i=n),!e)return this.deleteRange(n,i);let s=this.storedMarks;if(!s){let o=this.doc.resolve(n);s=i==n?o.marks():o.marksAcross(this.doc.resolve(i))}return this.replaceRangeWith(n,i,r.text(e,s)),!this.selection.empty&&this.selection.to==n+e.length&&this.setSelection(Be.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=Ap,this}get scrolledIntoView(){return(this.updated&Ap)>0}}function xp(t,e){return!e||!t?t:t.bind(e)}let Ys=class{constructor(e,n,i){this.name=e,this.init=xp(n.init,i),this.apply=xp(n.apply,i)}};const Zx=[new Ys("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Ys("selection",{init(t,e){return t.selection||Be.atStart(e.doc)},apply(t){return t.selection}}),new Ys("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,i){return i.selection.$cursor?t.storedMarks:null}}),new Ys("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class Zd{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Zx.slice(),n&&n.forEach(i=>{if(this.pluginsByKey[i.key])throw new RangeError("Adding different instances of a keyed plugin ("+i.key+")");this.plugins.push(i),this.pluginsByKey[i.key]=i,i.spec.state&&this.fields.push(new Ys(i.key,i.spec.state,i))})}}class Xr{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}
vendor: 4,626 bytes, line 31
31apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let i=0;i<this.config.plugins.length;i++)if(i!=n){let r=this.config.plugins[i];if(r.spec.filterTransaction&&!r.spec.filterTransaction.call(r,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let n=[e],i=this.applyInner(e),r=null;for(;;){let s=!1;for(let o=0;o<this.config.plugins.length;o++){let a=this.config.plugins[o];if(a.spec.appendTransaction){let l=r?r[o].n:0,f=r?r[o].state:this,c=l<n.length&&a.spec.appendTransaction.call(a,l?n.slice(l):n,f,i);if(c&&i.filterTransaction(c,o)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(let u=0;u<this.config.plugins.length;u++)r.push(u<o?{state:i,n:n.length}:{state:this,n:0})}n.push(c),i=i.applyInner(c),s=!0}r&&(r[o]={state:i,n:n.length})}}if(!s)return{state:i,transactions:n}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let n=new Xr(this.config),i=this.config.fields;for(let r=0;r<i.length;r++){let s=i[r];n[s.name]=s.apply(e,this[s.name],this,n)}return n}get tr(){return new Yx(this)}static create(e){let n=new Zd(e.doc?e.doc.type.schema:e.schema,e.plugins),i=new Xr(n);for(let r=0;r<n.fields.length;r++)i[n.fields[r].name]=n.fields[r].init(e,i);return i}reconfigure(e){let n=new Zd(this.schema,e.plugins),i=n.fields,r=new Xr(n);for(let s=0;s<i.length;s++){let o=i[s].name;r[o]=this.hasOwnProperty(o)?this[o]:i[s].init(e,r)}return r}toJSON(e){let n={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(n.storedMarks=this.storedMarks.map(i=>i.toJSON())),e&&typeof e=="object")for(let i in e){if(i=="doc"||i=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[i],s=r.spec.state;s&&s.toJSON&&(n[i]=s.toJSON.call(r,this[r.key]))}return n}static fromJSON(e,n,i){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let r=new Zd(e.schema,e.plugins),s=new Xr(r);return r.fields.forEach(o=>{if(o.name=="doc")s.doc=Di.fromJSON(e.schema,n.doc);else if(o.name=="selection")s.selection=Be.fromJSON(s.doc,n.selection);else if(o.name=="storedMarks")n.storedMarks&&(s.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(i)for(let a in i){let l=i[a],f=l.spec.state;if(l.key==o.name&&f&&f.fromJSON&&Object.prototype.hasOwnProperty.call(n,a)){s[o.name]=f.fromJSON.call(l,e,n[a],s);return}}s[o.name]=o.init(e,s)}}),s}}function U0(t,e,n){for(let i in t){let r=t[i];r instanceof Function?r=r.bind(e):i=="handleDOMEvents"&&(r=U0(r,e,{})),n[i]=r}return n}class Ye{constructor(e){this.spec=e,this.props={},e.props&&U0(e.props,this,this.props),this.key=e.key?e.key.key:Q0("plugin")}getState(e){return e[this.key]}}const Xd=Object.create(null);function Q0(t){return t in Xd?t+"$"+ ++Xd[t]:(Xd[t]=0,t+"$")}class yt{constructor(e="key"){this.key=Q0(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const q0=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function Y0(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const Z0=(t,e,n)=>{let i=Y0(t,n);if(!i)return!1;let r=ju(i);if(!r){let o=i.blockRange(),a=o&&Bs(o);return a==null?!1:(e&&e(t.tr.lift(o,a).scrollIntoView()),!0)}let s=r.nodeBefore;if(av(t,r,e,-1))return!0;if(i.parent.content.size==0&&(fs(s,"end")||Ae.isSelectable(s)))for(let o=i.depth;;o--){let a=dd(t.doc,i.before(o),i.after(o),le.empty);if(a&&a.slice.size<a.to-a.from){if(e){let l=t.tr.step(a);l.setSelection(fs(s,"end")?Be.findFrom(l.doc.resolve(l.mapping.map(r.pos,-1)),-1):Ae.create(l.doc,r.pos-s.nodeSize)),e(l.scrollIntoView())}return!0}if(o==1||i.node(o-1).childCount>1)break}return s.isAtom&&r.depth==i.depth-1?(e&&e(t.tr.delete(r.pos-s.nodeSize,r.pos).scrollIntoView()),!0):!1},Xx=(t,e,n)=>{let i=Y0(t,n);if(!i)return!1;let r=ju(i);return r?X0(t,r,e):!1},e4=(t,e,n)=>{let i=tv(t,n);if(!i)return!1;let r=Iu(i);return r?X0(t,r,e):!1};function X0(t,e,n){let i=e.nodeBefore,r=i,s=e.pos-1;for(;!r.isTextblock;s--){if(r.type.spec.isolating)return!1;let c=r.lastChild;if(!c)return!1;r=c}let o=e.nodeAfter,a=o,l=e.pos+1;for(;!a.isTextblock;l++){if(a.type.spec.isolating)return!1;let c=a.firstChild;if(!c)return!1;a=c}let f=dd(t.doc,s,l,le.empty);if(!f||f.from!=s||f instanceof vn&&f.slice.size>=l-s)return!1;if(n){let c=t.tr.step(f);c.setSelection(je.create(c.doc,s)),n(c.scrollIntoView())}return!0}function fs(t,e,n=!1){for(let i=t;i;i=e=="start"?i.firstChild:i.lastChild){if(i.isTextblock)return!0;
vendor: 7,573 bytes, lines 31-32
31if(n&&i.childCount!=1)return!1}return!1}const ev=(t,e,n)=>{let{$head:i,empty:r}=t.selection,s=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):i.parentOffset>0)return!1;s=ju(i)}let o=s&&s.nodeBefore;return!o||!Ae.isSelectable(o)?!1:(e&&e(t.tr.setSelection(Ae.create(t.doc,s.pos-o.nodeSize)).scrollIntoView()),!0)};function ju(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function tv(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)?null:n}const nv=(t,e,n)=>{let i=tv(t,n);if(!i)return!1;let r=Iu(i);if(!r)return!1;let s=r.nodeAfter;if(av(t,r,e,1))return!0;if(i.parent.content.size==0&&(fs(s,"start")||Ae.isSelectable(s))){let o=dd(t.doc,i.before(),i.after(),le.empty);if(o&&o.slice.size<o.to-o.from){if(e){let a=t.tr.step(o);a.setSelection(fs(s,"start")?Be.findFrom(a.doc.resolve(a.mapping.map(r.pos)),1):Ae.create(a.doc,a.mapping.map(r.pos))),e(a.scrollIntoView())}return!0}}return s.isAtom&&r.depth==i.depth-1?(e&&e(t.tr.delete(r.pos,r.pos+s.nodeSize).scrollIntoView()),!0):!1},iv=(t,e,n)=>{let{$head:i,empty:r}=t.selection,s=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):i.parentOffset<i.parent.content.size)return!1;s=Iu(i)}let o=s&&s.nodeAfter;return!o||!Ae.isSelectable(o)?!1:(e&&e(t.tr.setSelection(Ae.create(t.doc,s.pos)).scrollIntoView()),!0)};function Iu(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){let n=t.node(e);if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1));if(n.type.spec.isolating)break}return null}const t4=(t,e)=>{let n=t.selection,i=n instanceof Ae,r;if(i){if(n.node.isTextblock||!Vi(t.doc,n.from))return!1;r=n.from}else if(r=ld(t.doc,n.from,-1),r==null)return!1;if(e){let s=t.tr.join(r);i&&s.setSelection(Ae.create(s.doc,r-t.doc.resolve(r).nodeBefore.nodeSize)),e(s.scrollIntoView())}return!0},n4=(t,e)=>{let n=t.selection,i;if(n instanceof Ae){if(n.node.isTextblock||!Vi(t.doc,n.to))return!1;i=n.to}else if(i=ld(t.doc,n.to,1),i==null)return!1;return e&&e(t.tr.join(i).scrollIntoView()),!0},i4=(t,e)=>{let{$from:n,$to:i}=t.selection,r=n.blockRange(i),s=r&&Bs(r);return s==null?!1:(e&&e(t.tr.lift(r,s).scrollIntoView()),!0)},rv=(t,e)=>{let{$head:n,$anchor:i}=t.selection;return!n.parent.type.spec.code||!n.sameParent(i)?!1:(e&&e(t.tr.insertText(` 32`).scrollIntoView()),!0)};function Bu(t){for(let e=0;e<t.edgeCount;e++){let{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const r4=(t,e)=>{let{$head:n,$anchor:i}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;let r=n.node(-1),s=n.indexAfter(-1),o=Bu(r.contentMatchAt(s));if(!o||!r.canReplaceWith(s,s,o))return!1;if(e){let a=n.after(),l=t.tr.replaceWith(a,a,o.createAndFill());l.setSelection(Be.near(l.doc.resolve(a),1)),e(l.scrollIntoView())}return!0},sv=(t,e)=>{let n=t.selection,{$from:i,$to:r}=n;if(n instanceof hi||i.parent.inlineContent||r.parent.inlineContent)return!1;let s=Bu(r.parent.contentMatchAt(r.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let o=(!i.parentOffset&&r.index()<r.parent.childCount?i:r).pos,a=t.tr.insert(o,s.createAndFill());a.setSelection(je.create(a.doc,o+1)),e(a.scrollIntoView())}return!0},ov=(t,e)=>{let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let s=n.before();if(ui(t.doc,s))return e&&e(t.tr.split(s).scrollIntoView()),!0}let i=n.blockRange(),r=i&&Bs(i);return r==null?!1:(e&&e(t.tr.lift(i,r).scrollIntoView()),!0)};function s4(t){return(e,n)=>{let{$from:i,$to:r}=e.selection;if(e.selection instanceof Ae&&e.selection.node.isBlock)return!i.parentOffset||!ui(e.doc,i.pos)?!1:(n&&n(e.tr.split(i.pos).scrollIntoView()),!0);if(!i.depth)return!1;let s=[],o,a,l=!1,f=!1;for(let m=i.depth;;m--)if(i.node(m).isBlock){l=i.end(m)==i.pos+(i.depth-m),f=i.start(m)==i.pos-(i.depth-m),a=Bu(i.node(m-1).contentMatchAt(i.indexAfter(m-1))),s.unshift(l&&a?{type:a}:null),o=m;break}else{if(m==1)return!1;s.unshift(null)}let c=e.tr;(e.selection instanceof je||e.selection instanceof hi)&&c.deleteSelection();let u=c.mapping.map(i.pos),h=ui(c.doc,u,s.length,s);if(h||(s[0]=a?{type:a}:null,h=ui(c.doc,u,s.length,s)),!h)return!1;if(c.split(u,s.length,s),!l&&f&&i.node(o).type!=a){let m=c.mapping.map(i.before(o)),p=c.doc.resolve(m);a&&i.node(o-1).canReplaceWith(p.index(),p.index()+1,a)&&c.setNodeMarkup(c.mapping.map(i.before(o)),a)}return n&&n(c.scrollIntoView()),!0}}const o4=s4(),a4=(t,e)=>{let{$from:n,to:i}=t.selection,r,s=n.sharedDepth(i);return s==0?!1:(r=n.before(s),e&&e(t.tr.setSelection(Ae.create(t.doc,r))),!0)};function l4(t,e,n){let i=e.nodeBefore,r=e.nodeAfter,s=e.index();return!i||!r||!i.type.compatibleContent(r.type)?!1:!i.content.size&&e.parent.canReplace(s-1,s)?(n&&n(t.tr.delete(e.pos-i.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(s,s+1)||!(r.isTextblock||Vi(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function av(t,e,n,i){let r=e.nodeBefore,s=e.nodeAfter,o,a,l=r.type.spec.isolating||s.type.spec.isolating;if(!l&&l4(t,e,n))return!0;let f=!l&&e.parent.canReplace(e.index(),e.index()+1);if(f&&(o=(a=r.contentMatchAt(r.childCount)).findWrapping(s.type))&&a.matchType(o[0]||s.type).validEnd){if(n){let m=e.pos+s.nodeSize,p=J.empty;for(let b=o.length-1;b>=0;b--)p=J.from(o[b].create(null,p));p=J.from(r.copy(p));let g=t.tr.step(new en(e.pos-1,m,e.pos,m,new le(p,1,0),o.length,!0)),v=g.doc.resolve(m+2*o.length);v.nodeAfter&&v.nodeAfter.type==r.type&&Vi(g.doc,v.pos)&&g.join(v.pos),n(g.scrollIntoView())}return!0}let c=s.type.spec.isolating||i>0&&l?null:Be.findFrom(e,1),u=c&&c.$from.blockRange(c.$to),h=u&&Bs(u);if(h!=null&&h>=e.depth)return n&&n(t.tr.lift(u,h).scrollIntoView()),!0;if(f&&fs(s,"start",!0)&&fs(r,"end")){let m=r,p=[];for(;p.push(m),!m.isTextblock;)m=m.lastChild;let g=s,v=1;for(;!g.isTextblock;g=g.firstChild)v++;if(m.canReplace(m.childCount,m.childCount,g.content)){if(n){let b=J.empty;for(let A=p.length-1;A>=0;A--)b=J.from(p[A].copy(b));let w=t.tr.step(new en(e.pos-p.length,e.pos+s.nodeSize,e.pos+v,e.pos+s.nodeSize-v,new le(b,p.length,0),0,!0));n(w.scrollIntoView())}return!0}}return!1}function lv(t){return function(e,n){let i=e.selection,r=t<0?i.$from:i.$to,s=r.depth;for(;r.node(s).isInline;){if(!s)return!1;s--}return r.node(s).isTextblock?(n&&n(e.tr.setSelection(je.create(e.doc,t<0?r.start(s):r.end(s)))),!0):!1}}const d4=lv(-1),f4=lv(1);function c4(t,e=null){return function(n,i){let{$from:r,$to:s}=n.selection,o=r.blockRange(s),a=o&&Su(o,t,e);return a?(i&&i(n.tr.wrap(o,a).scrollIntoView()),!0):!1}}function _p(t,e=null){return function(n,i){let r=!1;for(let s=0;s<n.selection.ranges.length&&!r;s++){let{$from:{pos:o},$to:{pos:a}}=n.selection.ranges[s];n.doc.nodesBetween(o,a,(l,f)=>{if(r)return!1;if(!(!l.isTextblock||l.hasMarkup(t,e)))if(l.type==t)r=!0;else{let c=n.doc.resolve(f),u=c.index();r=c.parent.canReplaceWith(u,u+1,t)}})}if(!r)return!1;if(i){let s=n.tr;for(let o=0;o<n.selection.ranges.length;o++){let{$from:{pos:a},$to:{pos:l}}=n.selection.ranges[o];s.setBlockType(a,l,t,e)}i(s.scrollIntoView())}return!0}}function Eu(...t){return function(e,n,i){for(let r=0;r<t.length;r++)if(t[r](e,n,i))return!0;return!1}}Eu(q0,Z0,ev);Eu(q0,nv,iv);Eu(rv,sv,ov,o4);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function u4(t,e=null){return function(n,i){let{$from:r,$to:s}=n.selection,o=r.blockRange(s);if(!o)return!1;let a=i?n.tr:null;
vendor: 1,533 bytes, line 32
32return h4(a,o,t,e)?(i&&i(a.scrollIntoView()),!0):!1}}function h4(t,e,n,i=null){let r=!1,s=e,o=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let l=o.resolve(e.start-2);s=new il(l,l,e.depth),e.endIndex<e.parent.childCount&&(e=new il(e.$from,o.resolve(e.$to.end(e.depth)),e.depth)),r=!0}let a=Su(s,n,i,e);return a?(t&&p4(t,e,a,r,n),!0):!1}function p4(t,e,n,i,r){let s=J.empty;for(let c=n.length-1;c>=0;c--)s=J.from(n[c].type.create(n[c].attrs,s));t.step(new en(e.start-(i?2:0),e.end,e.start,e.end,new le(s,0,0),n.length,!0));let o=0;for(let c=0;c<n.length;c++)n[c].type==r&&(o=c+1);let a=n.length-o,l=e.start+n.length-(i?2:0),f=e.parent;for(let c=e.startIndex,u=e.endIndex,h=!0;c<u;c++,h=!1)!h&&ui(t.doc,l,a)&&(t.split(l,a),l+=2*a),l+=f.child(c).nodeSize;return t}function m4(t){return function(e,n){let{$from:i,$to:r}=e.selection,s=i.blockRange(r,o=>o.childCount>0&&o.firstChild.type==t);return s?n?i.node(s.depth-1).type==t?g4(e,n,t,s):v4(e,n,s):!0:!1}}function g4(t,e,n,i){let r=t.tr,s=i.end,o=i.$to.end(i.depth);s<o&&(r.step(new en(s-1,o,s,o,new le(J.from(n.create(null,i.parent.copy())),1,0),1,!0)),i=new il(r.doc.resolve(i.$from.pos),r.doc.resolve(o),i.depth));const a=Bs(i);if(a==null)return!1;r.lift(i,a);let l=r.doc.resolve(r.mapping.map(s,-1)-1);return Vi(r.doc,l.pos)&&l.nodeBefore.type==l.nodeAfter.type&&r.join(l.pos),e(r.scrollIntoView()),!0}function v4(t,e,n){let i=t.tr,r=n.parent;for(let m=n.end,p=n.endIndex-1,g=n.startIndex;p>g;
vendor: 4,090 bytes, line 32
32p--)m-=r.child(p).nodeSize,i.delete(m-1,m+1);let s=i.doc.resolve(n.start),o=s.nodeAfter;if(i.mapping.map(n.end)!=n.start+s.nodeAfter.nodeSize)return!1;let a=n.startIndex==0,l=n.endIndex==r.childCount,f=s.node(-1),c=s.index(-1);if(!f.canReplace(c+(a?0:1),c+1,o.content.append(l?J.empty:J.from(r))))return!1;let u=s.pos,h=u+o.nodeSize;return i.step(new en(u-(a?1:0),h+(l?1:0),u+1,h-1,new le((a?J.empty:J.from(r.copy(J.empty))).append(l?J.empty:J.from(r.copy(J.empty))),a?0:1,l?0:1),a?0:1)),e(i.scrollIntoView()),!0}function b4(t){return function(e,n){let{$from:i,$to:r}=e.selection,s=i.blockRange(r,f=>f.childCount>0&&f.firstChild.type==t);if(!s)return!1;let o=s.startIndex;if(o==0)return!1;let a=s.parent,l=a.child(o-1);if(l.type!=t)return!1;if(n){let f=l.lastChild&&l.lastChild.type==a.type,c=J.from(f?t.create():null),u=new le(J.from(t.create(null,J.from(a.type.create(null,c)))),f?3:1,0),h=s.start,m=s.end;n(e.tr.step(new en(h-(f?3:1),m,h,m,u,1,!0)).scrollIntoView())}return!0}}const Bt=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},cs=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let fc=null;const oi=function(t,e,n){let i=fc||(fc=document.createRange());return i.setEnd(t,n??t.nodeValue.length),i.setStart(t,e||0),i},y4=function(){fc=null},br=function(t,e,n,i){return n&&(Cp(t,e,n,i,-1)||Cp(t,e,n,i,1))},k4=/^(img|br|input|textarea|hr)$/i;function Cp(t,e,n,i,r){for(var s;;){if(t==n&&e==i)return!0;if(e==(r<0?0:Nt(t))){let o=t.parentNode;if(!o||!ve(o)||Jo(t)||k4.test(t.nodeName)||t.contentEditable=="false")return!1;e=Bt(t)+(r<0?0:1),t=o}else if(ve(t)){let o=t.childNodes[e+(r<0?-1:0)];if(ve(o)&&o.contentEditable=="false")if(!((s=o.pmViewDesc)===null||s===void 0)&&s.ignoreForSelection)e+=r;else return!1;else t=o,e=r<0?Nt(t):0}else return!1}}function Nt(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function ve(t){return t.nodeType==1}function bt(t){return t.nodeType==3}function yr(t,e){return e?t.contains(ve(e)?e:e.parentNode):!1}function w4(t,e){for(;;){if(bt(t)&&e)return t;if(ve(t)&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=Nt(t)}else if(t.parentNode&&!Jo(t))e=Bt(t),t=t.parentNode;else return null}}function A4(t,e){for(;;){if(bt(t)&&e<t.nodeValue.length)return t;if(ve(t)&&e<t.childNodes.length){if(t.contentEditable=="false")return null;t=t.childNodes[e],e=0}else if(t.parentNode&&!Jo(t))e=Bt(t)+1,t=t.parentNode;else return null}}function x4(t,e,n){for(let i=e==0,r=e==Nt(t);i||r;){if(t==n)return!0;let s=Bt(t);if(t=t.parentNode,!t)return!1;i=i&&s==0,r=r&&s==Nt(t)}}function Jo(t){let e;for(let n=t;n&&!(e=n.pmViewDesc);n=n.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}const fd=function(t){return t.focusNode&&br(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function er(t,e){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}function _4(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function C4(t,e,n){if(t.caretPositionFromPoint)try{let i=t.caretPositionFromPoint(e,n);if(i)return{node:i.offsetNode,offset:Math.min(Nt(i.offsetNode),i.offset)}}catch{}if(t.caretRangeFromPoint){let i=t.caretRangeFromPoint(e,n);if(i)return{node:i.startContainer,offset:Math.min(Nt(i.startContainer),i.startOffset)}}}const Gn=typeof navigator<"u"?navigator:null,Sp=typeof document<"u"?document:null,Gi=Gn&&Gn.userAgent||"",cc=/Edge\/(\d+)/.exec(Gi),dv=/MSIE \d/.exec(Gi),uc=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Gi),Xt=!!(dv||uc||cc),Ni=dv?document.documentMode:uc?+uc[1]:cc?+cc[1]:0,ln=!Xt&&/gecko\/(\d+)/i.test(Gi);ln&&+(/Firefox\/(\d+)/.exec(Gi)||[0,0])[1];const hc=!Xt&&/Chrome\/(\d+)/.exec(Gi),Mt=!!hc,fv=hc?+hc[1]:0,Rt=!Xt&&!!Gn&&/Apple Computer/.test(Gn.vendor),us=Rt&&(/Mobile\/\w+/.test(Gi)||!!Gn&&Gn.maxTouchPoints>2),pn=us||(Gn?/Mac/.test(Gn.platform):!1),cv=Gn?/Win/.test(Gn.platform):!1,fi=/Android \d/.test(Gi),cd=!!Sp&&"webkitFontSmoothing"in Sp.documentElement.style,S4=cd?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;
vendor: 31,520 bytes, lines 32-33
32function j4(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function Yn(t,e){return typeof t=="number"?t:t[e]}function I4(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*i}}function jp(t,e,n){if(!pc(e)&&e.left==0)return;let i=t.someProp("scrollThreshold")||0,r=t.someProp("scrollMargin")||5,s=t.dom.ownerDocument;for(let o=n||t.dom;o;){if(!ve(o)){o=cs(o);continue}let a=o==s.body,l=a?j4(s):I4(o),f=0,c=0;if(e.top<l.top+Yn(i,"top")?c=-(l.top-e.top+Yn(r,"top")):e.bottom>l.bottom-Yn(i,"bottom")&&(c=e.bottom-e.top>l.bottom-l.top?e.top+Yn(r,"top")-l.top:e.bottom-l.bottom+Yn(r,"bottom")),e.left<l.left+Yn(i,"left")?f=-(l.left-e.left+Yn(r,"left")):e.right>l.right-Yn(i,"right")&&(f=e.right-l.right+Yn(r,"right")),f||c)if(a)s.defaultView.scrollBy(f,c);else{let h=o.scrollLeft,m=o.scrollTop;c&&(o.scrollTop+=c),f&&(o.scrollLeft+=f);let p=o.scrollLeft-h,g=o.scrollTop-m;e={left:e.left-p,top:e.top-g,right:e.right-p,bottom:e.bottom-g}}let u=a?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(u))break;o=u=="absolute"?o.offsetParent:cs(o)}}function B4(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),i,r;for(let s=(e.left+e.right)/2,o=n+1;o<Math.min(innerHeight,e.bottom);o+=5){let a=t.root.elementFromPoint(s,o);if(!a||a==t.dom||!t.dom.contains(a))continue;let l=a.getBoundingClientRect();if(l.top>=n-20){i=a,r=l.top;break}}return{refDOM:i,refTop:r,stack:uv(t.dom)}}function uv(t){let e=[],n=t.ownerDocument;for(let i=t;i&&(e.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),t!=n);i=cs(i));return e}function E4({refDOM:t,refTop:e,stack:n}){let i=t?t.getBoundingClientRect().top:0;hv(n,i==0?0:i-e)}function hv(t,e){for(let n=0;n<t.length;n++){let{dom:i,top:r,left:s}=t[n];i.scrollTop!=r+e&&(i.scrollTop=r+e),i.scrollLeft!=s&&(i.scrollLeft=s)}}let Dr=null;function M4(t){if(t.setActive)return t.setActive();if(Dr)return t.focus(Dr);let e=uv(t);t.focus(Dr==null?{get preventScroll(){return Dr={preventScroll:!0},!0}}:void 0),Dr||(Dr=!1,hv(e,0))}function pv(t,e){let n,i=2e8,r,s=0,o=e.top,a=e.top,l,f;for(let c=t.firstChild,u=0;c;c=c.nextSibling,u++){let h;if(ve(c))h=c.getClientRects();else if(bt(c))h=oi(c).getClientRects();else continue;for(let m=0;m<h.length;m++){let p=h[m];if(p.top<=o&&p.bottom>=a){o=Math.max(p.bottom,o),a=Math.min(p.top,a);let g=p.left>e.left?p.left-e.left:p.right<e.left?e.left-p.right:0;if(g<i){n=c,i=g,r=g&&bt(n)?{left:p.right<e.left?p.right:p.left,top:e.top}:e,ve(c)&&g&&(s=u+(e.left>=(p.left+p.right)/2?1:0));continue}}else p.top>e.top&&!l&&p.left<=e.left&&p.right>=e.left&&(l=c,f={left:Math.max(p.left,Math.min(p.right,e.left)),top:p.top});!n&&(e.left>=p.right&&e.top>=p.top||e.left>=p.left&&e.top>=p.bottom)&&(s=u+1)}}return!n&&l&&(n=l,r=f,i=0),n&&bt(n)?T4(n,r):!n||i?{node:t,offset:s}:pv(n,r)}function T4(t,e){let n=t.nodeValue.length,i=document.createRange(),r;for(let s=0;s<n;s++){i.setEnd(t,s+1),i.setStart(t,s);let o=_i(i,1);if(o.top!=o.bottom&&Mu(e,o)){r={node:t,offset:s+(e.left>=(o.left+o.right)/2?1:0)};break}}return i.detach(),r||{node:t,offset:0}}function Mu(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function F4(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left<t.getBoundingClientRect().left?n:t}function D4(t,e,n){let{node:i,offset:r}=pv(e,n),s=-1;if(ve(i)&&!i.firstChild){let o=i.getBoundingClientRect();s=o.left!=o.right&&n.left>(o.left+o.right)/2?1:-1}return t.docView.posFromDOM(i,r,s)}function N4(t,e,n,i){let r=-1;for(let s=e,o=!1;s!=t.dom;){let a=t.docView.nearestDesc(s,!0),l;if(!a)return null;if(ve(a.dom)&&(a.node.isBlock&&a.parent||!a.contentDOM)&&((l=a.dom.getBoundingClientRect()).width||l.height)&&(a.node.isBlock&&a.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(a.dom.nodeName)&&(!o&&l.left>i.left||l.top>i.top?r=a.posBefore:(!o&&l.right<i.left||l.bottom<i.top)&&(r=a.posAfter),o=!0),!a.contentDOM&&r<0&&!a.node.isText))return(a.node.isBlock?i.top<(l.top+l.bottom)/2:i.left<(l.left+l.right)/2)?a.posBefore:a.posAfter;s=a.dom.parentNode}return r>-1?r:t.docView.posFromDOM(e,n,-1)}function mv(t,e,n){let i=t.childNodes.length;if(i&&n.top<n.bottom)for(let r=Math.max(0,Math.min(i-1,Math.floor(i*(e.top-n.top)/(n.bottom-n.top))-2)),s=r;;){let o=t.childNodes[s];if(ve(o)){let a=o.getClientRects();for(let l=0;l<a.length;l++){let f=a[l];if(Mu(e,f))return mv(o,e,f)}}if((s=(s+1)%i)==r)break}return t}function R4(t,e){let n=t.dom.ownerDocument,i,r=0,s=C4(n,e.left,e.top);s&&({node:i,offset:r}=s);let o=(t.root.elementFromPoint?t.root:n).elementFromPoint(e.left,e.top),a;if(!o||!t.dom.contains(o)){let f=t.dom.getBoundingClientRect();if(!Mu(e,f)||(o=mv(t.dom,e,f),!o))return null}if(Rt)for(let f=o;i&&f;f=cs(f))f.draggable&&(i=void 0);if(o=F4(o,e),i){if(ln&&ve(i)&&(r=Math.min(r,i.childNodes.length),r<i.childNodes.length)){let c=i.childNodes[r],u;c.nodeName=="IMG"&&(u=c.getBoundingClientRect()).right<=e.left&&u.bottom>e.top&&r++}let f;cd&&r&&ve(i)&&ve(f=i.childNodes[r-1])&&f.contentEditable=="false"&&f.getBoundingClientRect().top>=e.top&&r--,i==t.dom&&r==i.childNodes.length-1&&ve(i.lastChild)&&e.top>i.lastChild.getBoundingClientRect().bottom?a=t.state.doc.content.size:(r==0||!ve(i)||i.childNodes[r-1].nodeName!="BR")&&(a=N4(t,i,r,e))}a==null&&(a=D4(t,o,e));let l=t.docView.nearestDesc(o,!0);return{pos:a,inside:l?l.posAtStart-l.border:-1}}function pc(t){return t.top<t.bottom||t.left<t.right}function _i(t,e){let n=t.getClientRects();if(n.length){let i=n[e<0?0:n.length-1];if(pc(i))return i}return Array.prototype.find.call(n,pc)||t.getBoundingClientRect()}const L4=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function gv(t,e,n){let{node:i,offset:r,atom:s}=t.docView.domFromPos(e,n<0?-1:1),o=cd||ln;if(bt(i))if(o&&(L4.test(i.nodeValue)||(n<0?!r:r==i.nodeValue.length))){let l=_i(oi(i,r,r),n);if(ln&&r&&/\s/.test(i.nodeValue[r-1])&&r<i.nodeValue.length){let f=_i(oi(i,r-1,r-1),-1);if(f.top==l.top){let c=_i(oi(i,r,r+1),-1);if(c.top!=l.top)return Ds(c,c.left<f.left)}}return l}else{let l=r,f=r,c=n<0?1:-1;return n<0&&!r?(f++,c=-1):n>=0&&r==i.nodeValue.length?(l--,c=1):n<0?l--:f++,Ds(_i(oi(i,l,f),c),c<0)}if(!t.state.doc.resolve(e-(s||0)).parent.inlineContent){if(s==null&&r&&(n<0||r==Nt(i))){let l=i.childNodes[r-1];if(ve(l))return ef(l.getBoundingClientRect(),!1)}if(s==null&&r<Nt(i)){let l=i.childNodes[r];if(ve(l))return ef(l.getBoundingClientRect(),!0)}return ef(i.getBoundingClientRect(),n>=0)}if(s==null&&r&&(n<0||r==Nt(i))){let l=i.childNodes[r-1],f=bt(l)?oi(l,Nt(l)-(o?0:1)):ve(l)&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(f)return Ds(_i(f,1),!1)}if(s==null&&r<Nt(i)){let l=i.childNodes[r];for(;l.pmViewDesc&&l.pmViewDesc.ignoreForCoords;)l=l.nextSibling;let f=l?bt(l)?oi(l,0,o?0:1):ve(l)?l:null:null;if(f)return Ds(_i(f,-1),!0)}return Ds(_i(bt(i)?oi(i):i,-n),n>=0)}function Ds(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function ef(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function vv(t,e,n){let i=t.state,r=t.root.activeElement;i!=e&&t.updateState(e),r!=t.dom&&t.focus();try{return n()}finally{i!=e&&t.updateState(i),r!=t.dom&&r&&r.focus()}}function O4(t,e,n){let i=e.selection,r=n=="up"?i.$from:i.$to;return vv(t,e,()=>{let{node:s}=t.docView.domFromPos(r.pos,n=="up"?-1:1);for(;;){let a=t.docView.nearestDesc(s,!0);if(!a)break;if(a.node.isBlock){s=a.contentDOM||a.dom;break}s=a.dom.parentNode}let o=gv(t,r.pos,1);for(let a=s.firstChild;a;a=a.nextSibling){let l;if(ve(a))l=a.getClientRects();else if(bt(a))l=oi(a,0,a.nodeValue.length).getClientRects();else continue;for(let f=0;f<l.length;f++){let c=l[f];if(c.bottom>c.top+1&&(n=="up"?o.top-c.top>(c.bottom-o.top)*2:c.bottom-o.bottom>(o.bottom-c.top)*2))return!1}}return!0})}const P4=/[\u0590-\u08ac]/;function z4(t,e,n){let{$head:i}=e.selection;if(!i.parent.isTextblock)return!1;let r=i.parentOffset,s=!r,o=r==i.parent.content.size,a=t.domSelection();return a?!P4.test(i.parent.textContent)||!a.modify?n=="left"||n=="backward"?s:o:vv(t,e,()=>{let{focusNode:l,focusOffset:f,anchorNode:c,anchorOffset:u}=t.domSelectionRange(),h=a.caretBidiLevel;a.modify("move",n,"character");let m=i.depth?t.docView.domAfterPos(i.before()):t.dom,{focusNode:p,focusOffset:g}=t.domSelectionRange(),v=p&&!yr(m,p)||l==p&&f==g;try{a.collapse(c,u),l&&(l!=c||f!=u)&&a.extend&&a.extend(l,f)}catch{}return h!=null&&(a.caretBidiLevel=h),v}):i.pos==i.start()||i.pos==i.end()}let Ip=null,Bp=null,Ep=!1;function H4(t,e,n){return Ip==e&&Bp==n?Ep:(Ip=e,Bp=n,Ep=n=="up"||n=="down"?O4(t,e,n):z4(t,e,n))}const mn=0,Mp=1,tr=2,Bn=3;class Uo{constructor(e,n,i,r){this.parent=e,this.children=n,this.dom=i,this.contentDOM=r,this.dirty=mn,i.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,i){return!1}matchesHack(e){return!1}parseRule(e){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;n<this.children.length;n++)e+=this.children[n].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let n=0,i=this.posAtStart;;n++){let r=this.children[n];if(r==e)return i;i+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,n,i){if(this.contentDOM&&yr(this.contentDOM,e))if(i<0){let s,o;if(e==this.contentDOM)s=e.childNodes[n-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;s=e.previousSibling}for(;s&&!((o=s.pmViewDesc)&&o.parent==this);)s=s.previousSibling;return s?this.posBeforeChild(o)+o.size:this.posAtStart}else{let s,o;if(e==this.contentDOM)s=e.childNodes[n];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;s=e.nextSibling}for(;s&&!((o=s.pmViewDesc)&&o.parent==this);)s=s.nextSibling;return s?this.posBeforeChild(o):this.posAtEnd}let r;if(e==this.dom&&this.contentDOM)r=n>Bt(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=!!(e.compareDocumentPosition(this.contentDOM)&4);else if(this.dom.firstChild){if(n==0)for(let s=e;;s=s.parentNode){if(s==this.dom){r=!1;break}if(s.previousSibling)break}if(r==null&&n==e.childNodes.length)for(let s=e;;s=s.parentNode){if(s==this.dom){r=!0;break}if(s.nextSibling)break}}return r??i>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let i=!0,r=e;r;r=r.parentNode){let s=this.getDesc(r),o;if(s&&(!n||s.node))if(i&&(o=s.nodeDOM)&&!(ve(o)?yr(o,e):o==e))i=!1;else return s}}getDesc(e){let n=e.pmViewDesc;for(let i=n;i;i=i.parent)if(i==this)return n}posFromDOM(e,n,i){for(let r=e;r;r=r.parentNode){let s=this.getDesc(r);if(s)return s.localPosFromDOM(e,n,i)}return-1}descAt(e){for(let n=0,i=0;n<this.children.length;n++){let r=this.children[n],s=i+r.size;if(i==e&&s!=i){for(;!r.border&&r.children.length;)for(let o=0;o<r.children.length;o++){let a=r.children[o];if(a.size){r=a;break}}return r}if(e<s)return r.descAt(e-i-r.border);i=s}}domFromPos(e,n){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let i=0,r=0;for(let s=0;i<this.children.length;i++){let o=this.children[i],a=s+o.size;if(a>e){r=e-s;break}s=a}if(r)return this.children[i].domFromPos(r-this.children[i].border,n);for(;i>0;i--){let s=this.children[i-1];if(s.size||!(s instanceof yv||s instanceof bv&&s.side>=0))break}if(n<=0){let s,o=!0;for(;s=i?this.children[i-1]:null,!(!s||s.dom.parentNode==this.contentDOM);i--,o=!1);return s&&n&&o&&!s.border&&!s.domAtom?s.domFromPos(s.size,n):{node:this.contentDOM,offset:s?Bt(s.dom)+1:0}}else{let s,o=!0;for(;s=i<this.children.length?this.children[i]:null,!(!s||s.dom.parentNode==this.contentDOM);i++,o=!1);return s&&o&&!s.border&&!s.domAtom?s.domFromPos(0,n):{node:this.contentDOM,offset:s?Bt(s.dom):this.contentDOM.childNodes.length}}}parseRange(e,n,i=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:n,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,s=-1;for(let o=i,a=0;;a++){let l=this.children[a],f=o+l.size;if(r==-1&&e<=f){let c=o+l.border;if(e>=c&&n<=f-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(e,n,c);e=o;for(let u=a;u>0;u--){let h=this.children[u-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){r=Bt(h.dom)+1;break}e-=h.size}r==-1&&(r=0)}if(r>-1&&(f>n||a==this.children.length-1)){n=f;for(let c=a+1;c<this.children.length;c++){let u=this.children[c];if(u.size&&u.dom.parentNode==this.contentDOM&&!u.emptyChildAt(-1)){s=Bt(u.dom);break}n+=u.size}s==-1&&(s=this.contentDOM.childNodes.length);break}o=f}return{node:this.contentDOM,from:e,to:n,fromOffset:r,toOffset:s}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let n=this.children[e<0?0:this.children.length-1];return n.size==0||n.emptyChildAt(e)}domAfterPos(e){let{node:n,offset:i}=this.domFromPos(e,0);if(!ve(n)||i==n.childNodes.length)throw new RangeError("No node after pos "+e);return n.childNodes[i]}setSelection(e,n,i,r=!1){let s=Math.min(e,n),o=Math.max(e,n);for(let m=0,p=0;m<this.children.length;m++){let g=this.children[m],v=p+g.size;if(s>p&&o<v)return g.setSelection(e-p-g.border,n-p-g.border,i,r);p=v}let a=this.domFromPos(e,e?-1:1),l=n==e?a:this.domFromPos(n,n?-1:1),f=i.root.getSelection(),c=i.domSelectionRange(),u=!1;if((ln||Rt)&&e==n){let{node:m,offset:p}=a;if(bt(m)){if(u=!!(p&&m.nodeValue[p-1]==` 33`),u&&p==m.nodeValue.length)for(let g=m,v;g;g=g.parentNode){if(v=g.nextSibling){v.nodeName=="BR"&&(a=l={node:v.parentNode,offset:Bt(v)+1});break}let b=g.pmViewDesc;if(b&&b.node&&b.node.isBlock)break}}else{let g=m.childNodes[p-1];u=g&&(g.nodeName=="BR"||g.contentEditable=="false")}}if(ln&&c.focusNode&&c.focusNode!=l.node&&ve(c.focusNode)){let m=c.focusNode.childNodes[c.focusOffset];m&&m.contentEditable=="false"&&(r=!0)}if(!(r||u&&Rt)&&br(a.node,a.offset,c.anchorNode,c.anchorOffset)&&br(l.node,l.offset,c.focusNode,c.focusOffset))return;let h=!1;if((f.extend||e==n)&&!(u&&ln)){f.collapse(a.node,a.offset);try{e!=n&&f.extend(l.node,l.offset),h=!0}catch{}}if(!h){if(e>n){let p=a;a=l,l=p}let m=document.createRange();m.setEnd(l.node,l.offset),m.setStart(a.node,a.offset),f.removeAllRanges(),f.addRange(m)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let i=0,r=0;r<this.children.length;r++){let s=this.children[r],o=i+s.size;if(i==o?e<=o&&n>=i:e<o&&n>i){let a=i+s.border,l=o-s.border;if(e>=a&&n<=l){this.dirty=e==i||n==o?tr:Mp,e==a&&n==l&&(s.contentLost||s.dom.parentNode!=this.contentDOM)?s.dirty=Bn:s.markDirty(e-a,n-a);return}else s.dirty=s.dom==s.contentDOM&&s.dom.parentNode==this.contentDOM&&!s.children.length?tr:Bn}i=o}this.dirty=tr}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let i=e==1?tr:Mp;n.dirty<i&&(n.dirty=i)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class bv extends Uo{constructor(e,n,i,r){let s,o=n.type.toDOM;if(typeof o=="function"&&(o=o(i,()=>{if(!s)return r;if(s.parent)return s.parent.posBeforeChild(s)})),!n.type.spec.raw){let a=ve(o)?o:document.createElement("span");a!=o&&a.appendChild(o),a.hasAttribute("contenteditable")||(a.contentEditable="false"),a.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=n,this.widget=n,s=this}matchesWidget(e){return this.dirty==mn&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class W4 extends Uo{constructor(e,n,i,r){super(e,[],n,null),this.textDOM=i,this.text=r}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Ri extends Uo{constructor(e,n,i,r,s){super(e,[],i,r),this.mark=n,this.spec=s}static create(e,n,i,r){let s=r.nodeViews[n.type.name],o=s&&s(n,r,i);return(!o||!o.dom)&&(o=_r.renderSpec(document,n.type.spec.toDOM(n,i),null,n.attrs)),new Ri(e,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&Bn||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Bn&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=mn){let i=this.parent;for(;!i.node;)i=i.parent;i.dirty<this.dirty&&(i.dirty=this.dirty),this.dirty=mn}}slice(e,n,i){let r=Ri.create(this.parent,this.mark,!0,i),s=this.children,o=this.size;n<o&&(s=gc(s,n,o,i)),e>0&&(s=gc(s,0,e,i));for(let a=0;a<s.length;a++)s[a].parent=r;return r.children=s,r}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class Li extends Uo{constructor(e,n,i,r,s,o,a){super(e,[],s,o),this.node=n,this.outerDeco=i,this.innerDeco=r,this.nodeDOM=a}static create(e,n,i,r,s,o){let a=s.nodeViews[n.type.name],l,f=a&&a(n,s,()=>{if(!l)return o;if(l.parent)return l.parent.posBeforeChild(l)},i,r),c=f&&f.dom,u=f&&f.contentDOM;if(n.isText){if(!c)c=document.createTextNode(n.text);else if(!bt(c))throw new RangeError("Text must be rendered as a DOM text node")}else c||({dom:c,contentDOM:u}=_r.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!u&&!n.isText&&c.nodeName!="BR"&&(c.hasAttribute("contenteditable")||(c.contentEditable="false"),n.type.spec.draggable&&(c.draggable=!0));let h=c;return c=Av(c,i,n),f?l=new $4(e,n,i,r,c,u||null,h,f):n.isText?new ud(e,n,i,r,c,h):new Li(e,n,i,r,c,u||null,h)}parseRule(e){if(this.node.type.spec.reparseInView)return null;let n={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(n.preserveWhitespace="full"),!this.contentDOM)n.getContent=()=>this.node.content;else if(!this.contentLost)n.contentElement=this.contentDOM;else{for(let i=this.children.length-1;i>=0;i--){let r=this.children[i];if(this.dom.contains(r.dom.parentNode)){n.contentElement=r.dom.parentNode;break}}if(!n.contentElement){let i=e&&e.find(r=>ve(r)&&e.indexOf(r.parentNode)<0&&this.dom.contains(r));i?n.contentElement=i:n.getContent=()=>J.empty}}return n}matchesNode(e,n,i){return this.dirty==mn&&e.eq(this.node)&&ol(n,this.outerDeco)&&i.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let i=this.node.inlineContent,r=n,s=e.composing?this.localCompositionInfo(e,n):null,o=s&&s.pos>-1?s:null,a=s&&s.pos<0,l=new G4(this,o&&o.node,e),f=this.node.inlineContent,c=f&&this.node.isBlock;U4(this.node,this.innerDeco,(u,h,m)=>{u.spec.marks?l.syncToMarks(u.spec.marks,i,e,h):u.type.side>=0&&!m&&l.syncToMarks(h==this.node.childCount?$e.none:this.node.child(h).marks,i,e,h),l.placeWidget(u,e,r)},(u,h,m,p)=>{l.syncToMarks(u.marks,i,e,p),c&&u.isAtom&&!u.isText&&l.addHackNode("IMG",l.top);let g;l.findNodeMatch(u,h,m,p)||a&&e.state.selection.from>r&&e.state.selection.to<r+u.nodeSize&&(g=l.findIndexWithChild(s.node))>-1&&l.updateNodeAt(u,h,m,g,e)||l.updateNextNode(u,h,m,e,p,r)||l.addNode(u,h,m,e,r),r+=u.nodeSize,f&&(c=u.isAtom&&!u.isText)}),l.syncToMarks([],i,e,0),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==tr)&&(o&&this.protectLocalComposition(e,o),kv(this.contentDOM,this.children,e),us&&Q4(this.dom))}localCompositionInfo(e,n){let{from:i,to:r}=e.state.selection;if(!(e.state.selection instanceof je)||i<n||r>n+this.node.content.size)return null;let s=e.input.compositionNode;if(!s||!this.dom.contains(s.parentNode))return null;if(this.node.inlineContent){let o=s.nodeValue,a=q4(this.node.content,o,i-n,r-n);return a<0?null:{node:s,pos:a,text:o}}else return{node:s,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:i,text:r}){if(this.getDesc(n))return;let s=n;for(;s.parentNode!=this.contentDOM;s=s.parentNode){for(;s.previousSibling;)s.parentNode.removeChild(s.previousSibling);for(;s.nextSibling;)s.parentNode.removeChild(s.nextSibling);s.pmViewDesc&&(s.pmViewDesc=void 0)}let o=new W4(this,s,n,r);e.input.compositionNodes.push(o),this.children=gc(this.children,i,i+r.length,e,o)}update(e,n,i,r){return this.dirty==Bn||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,i,r),!0)}updateInner(e,n,i,r){this.updateOuterDeco(n),this.node=e,this.innerDeco=i,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=mn}updateOuterDeco(e){if(ol(e,this.outerDeco))return;let n=!ve(this.nodeDOM),i=this.dom;this.dom=wv(this.dom,this.nodeDOM,mc(this.outerDeco,this.node,n),mc(e,this.node,n)),this.dom!=i&&(i.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){ve(this.nodeDOM)&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){ve(this.nodeDOM)&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function Tp(t,e,n,i,r){Av(i,e,t);let s=new Li(void 0,t,e,n,i,i,i);return s.contentDOM&&s.updateChildren(r,0),s}class ud extends Li{constructor(e,n,i,r,s,o){super(e,n,i,r,s,null,o)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,i,r){return this.dirty==Bn||this.dirty!=mn&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=mn||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=mn,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,i){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,i)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,i){let r=this.node.cut(e,n),s=document.createTextNode(r.text);return new ud(this.parent,r,this.outerDeco,this.innerDeco,s,s)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=Bn)}get domAtom(){return!1}isText(e){return this.node.text==e}}class yv extends Uo{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==mn&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class $4 extends Li{constructor(e,n,i,r,s,o,a,l){super(e,n,i,r,s,o,a),this.spec=l}update(e,n,i,r){if(this.dirty==Bn)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let s=this.spec.update(e,n,i);return s&&this.updateInner(e,n,i,r),s}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,i,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,i,r){this.spec.setSelection?this.spec.setSelection(e,n,i.root):super.setSelection(e,n,i,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function kv(t,e,n){let i=t.firstChild,r=!1;for(let s=0;s<e.length;s++){let o=e[s],a=o.dom;if(a.parentNode==t){for(;a!=i;)i=Fp(i),r=!0;i=i.nextSibling}else r=!0,t.insertBefore(a,i);if(o instanceof Ri){let l=i?i.previousSibling:t.lastChild;kv(o.contentDOM,o.children,n),i=l?l.nextSibling:t.firstChild}}for(;i;)i=Fp(i),r=!0;r&&n.trackWrites==t&&(n.trackWrites=null)}const ho=function(t){t&&(this.nodeName=t)};ho.prototype=Object.create(null);const nr=[new ho];function mc(t,e,n){if(t.length==0)return nr;let i=n?nr[0]:new ho,r=[i];for(let s=0;s<t.length;s++){let o=t[s].type.attrs;if(o){o.nodeName&&r.push(i=new ho(o.nodeName));for(let a in o){let l=o[a];l!=null&&(n&&r.length==1&&r.push(i=new ho(e.isInline?"span":"div")),a=="class"?i.class=(i.class?i.class+" ":"")+l:a=="style"?i.style=(i.style?i.style+";":"")+l:a!="nodeName"&&(i[a]=l))}}}return r}function wv(t,e,n,i){if(n==nr&&i==nr)return e;let r=e;for(let s=0;s<i.length;s++){let o=i[s],a=n[s];if(s){let l;a&&a.nodeName==o.nodeName&&r!=t&&(l=r.parentNode)&&l.nodeName.toLowerCase()==o.nodeName||(l=document.createElement(o.nodeName),l.pmIsDeco=!0,l.appendChild(r),a=nr[0]),r=l}V4(r,a||nr[0],o)}return r}function V4(t,e,n){for(let i in e)i!="class"&&i!="style"&&i!="nodeName"&&!(i in n)&&t.removeAttribute(i);for(let i in n)i!="class"&&i!="style"&&i!="nodeName"&&n[i]!=e[i]&&t.setAttribute(i,n[i]);if(e.class!=n.class){let i=e.class?e.class.split(" ").filter(Boolean):[],r=n.class?n.class.split(" ").filter(Boolean):[];for(let s=0;s<i.length;s++)r.indexOf(i[s])==-1&&t.classList.remove(i[s]);for(let s=0;s<r.length;s++)i.indexOf(r[s])==-1&&t.classList.add(r[s]);t.classList.length==0&&t.removeAttribute("class")}if(e.style!=n.style){if(e.style){let i=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,r;for(;r=i.exec(e.style);)t.style.removeProperty(r[1])}n.style&&(t.style.cssText+=n.style)}}function Av(t,e,n){return wv(t,t,nr,mc(e,n,!ve(t)))}function ol(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].type.eq(e[n].type))return!1;return!0}function Fp(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class G4{constructor(e,n,i){this.lock=n,this.view=i,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=K4(e.node.content,e)}destroyBetween(e,n){if(e!=n){for(let i=e;i<n;i++)this.top.children[i].destroy();this.top.children.splice(e,n-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,n,i,r){let s=0,o=this.stack.length>>1,a=Math.min(o,e.length);for(;s<a&&(s==o-1?this.top:this.stack[s+1<<1]).matchesMark(e[s])&&e[s].type.spec.spanning!==!1;)s++;for(;s<o;)this.destroyRest(),this.top.dirty=mn,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);let l=-1,f=this.top.children.length;r<this.preMatch.index&&(f=Math.min(this.index+3,f));for(let c=this.index;c<f;c++){let u=this.top.children[c];if(u.matchesMark(e[o])&&!this.isLocked(u.dom)){l=c;break}}if(l<0&&this.index<this.top.children.length){let c=this.top.children[this.index];c instanceof Ri&&c.dirty!=Bn&&c.mark.type==e[o].type&&c.spec.update&&!this.isLocked(c.dom)&&c.spec.update(e[o])&&(c.mark=e[o],l=this.index,this.changed=!0)}if(l>-1)l>this.index&&(this.changed=!0,this.destroyBetween(this.index,l)),this.top=this.top.children[this.index];else{let c=Ri.create(this.top,e[o],n,i);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,i,r){let s=-1,o;if(r>=this.preMatch.index&&(o=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&o.matchesNode(e,n,i))s=this.top.children.indexOf(o,this.index);else for(let a=this.index,l=Math.min(this.top.children.length,a+5);a<l;a++){let f=this.top.children[a];if(f.matchesNode(e,n,i)&&!this.preMatch.matched.has(f)){s=a;break}}return s<0?!1:(this.destroyBetween(this.index,s),this.index++,!0)}updateNodeAt(e,n,i,r,s){let o=this.top.children[r];return o.dirty==Bn&&o.dom==o.contentDOM&&(o.dirty=tr),o.update(e,n,i,s)?(this.destroyBetween(this.index,r),this.index++,!0):!1}findIndexWithChild(e){for(;;){let n=e.parentNode;if(!n)return-1;if(n==this.top.contentDOM){let i=e.pmViewDesc;if(i){for(let r=this.index;r<this.top.children.length;r++)if(this.top.children[r]==i)return r}return-1}e=n}}updateNextNode(e,n,i,r,s,o){for(let a=this.index;a<this.top.children.length;a++){let l=this.top.children[a];if(l instanceof Li){let f=this.preMatch.matched.get(l);if(f!=null&&f!=s)return!1;let c=l.dom,u,h=this.isLocked(c)&&!(e.isText&&l.node&&l.node.isText&&l.nodeDOM.nodeValue==e.text&&l.dirty!=Bn&&ol(n,l.outerDeco));if(!h&&l.update(e,n,i,r))return this.destroyBetween(this.index,a),l.dom!=c&&(this.changed=!0),this.index++,!0;if(!h&&(u=this.recreateWrapper(l,e,n,i,r,o)))return this.destroyBetween(this.index,a),this.top.children[this.index]=u,u.contentDOM&&(u.dirty=tr,u.updateChildren(r,o+1),u.dirty=mn),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,n,i,r,s,o){if(e.dirty||n.isAtom||!e.children.length||!e.node.content.eq(n.content)||!ol(i,e.outerDeco)||!r.eq(e.innerDeco))return null;let a=Li.create(this.top,n,i,r,s,o);if(a.contentDOM){a.children=e.children,e.children=[];for(let l of a.children)l.parent=a}return e.destroy(),a}addNode(e,n,i,r,s){let o=Li.create(this.top,e,n,i,r,s);o.contentDOM&&o.updateChildren(r,s+1),this.top.children.splice(this.index++,0,o),this.changed=!0}placeWidget(e,n,i){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(r&&r.matchesWidget(e)&&(e==r.widget||!r.widget.type.toDOM.parentNode))this.index++;else{let s=new bv(this.top,e,n,i);this.top.children.splice(this.index++,0,s),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],n=this.top;for(;e instanceof Ri;)n=e,e=n.children[n.children.length-1];(!e||!(e instanceof ud)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Rt||Mt)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",n),this.addHackNode("BR",this.top))}addHackNode(e,n){if(n==this.top&&this.index<n.children.length&&n.children[this.index].matchesHack(e))this.index++;else{let i=document.createElement(e);e=="IMG"&&(i.className="ProseMirror-separator",i.alt=""),e=="BR"&&(i.className="ProseMirror-trailingBreak");let r=new yv(this.top,[],i,null);n!=this.top?n.children.push(r):n.children.splice(this.index++,0,r),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||ve(e)&&e.contains(this.lock.parentNode))}}function K4(t,e){let n=e,i=n.children.length,r=t.childCount,s=new Map,o=[];e:for(;r>0;){let a;for(;;)if(i){let f=n.children[i-1];if(f instanceof Ri)n=f,i=f.children.length;else{a=f,i--;break}}else{if(n==e)break e;i=n.parent.children.indexOf(n),n=n.parent}let l=a.node;if(l){if(l!=t.child(r-1))break;--r,s.set(a,r),o.push(a)}}return{index:r,matched:s,matches:o.reverse()}}function J4(t,e){return t.type.side-e.type.side}function U4(t,e,n,i){let r=e.locals(t),s=0;if(r.length==0){for(let f=0;f<t.childCount;f++){let c=t.child(f);i(c,r,e.forChild(s,c),f),s+=c.nodeSize}return}let o=0,a=[],l=null;for(let f=0;;){let c,u;for(;o<r.length&&r[o].to==s;){let v=r[o++];v.widget&&(c?(u||(u=[c])).push(v):c=v)}if(c)if(u){u.sort(J4);for(let v=0;v<u.length;v++)n(u[v],f,!!l)}else n(c,f,!!l);let h,m;if(l)m=-1,h=l,l=null;else if(f<t.childCount)m=f,h=t.child(f++);else break;for(let v=0;v<a.length;v++)a[v].to<=s&&a.splice(v--,1);for(;o<r.length&&r[o].from<=s&&r[o].to>s;)a.push(r[o++]);let p=s+h.nodeSize;if(h.isText){let v=p;o<r.length&&r[o].from<v&&(v=r[o].from);for(let b=0;b<a.length;
33b++)a[b].to<v&&(v=a[b].to);v<p&&(l=h.cut(v-s),h=h.cut(0,v-s),p=v,m=-1)}else for(;o<r.length&&r[o].to<p;)o++;let g=h.isInline&&!h.isLeaf?a.filter(v=>!v.inline):a.slice();i(h,g,e.forChild(s,h),m),s=p}}function Q4(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function q4(t,e,n,i){for(let r=0,s=0;r<t.childCount&&s<=i;){let o=t.child(r++),a=s;if(s+=o.nodeSize,!o.isText)continue;let l=o.text;for(;r<t.childCount;){let f=t.child(r++);if(s+=f.nodeSize,!f.isText)break;l+=f.text}if(s>=n){if(s>=i&&l.slice(i-e.length-a,i-a)==e)return i-e.length;let f=a<i?l.lastIndexOf(e,i-a-1):-1;if(f>=0&&f+e.length+a>=n)return a+f;if(n==i&&l.length>=i+e.length-a&&l.slice(i-a,i-a+e.length)==e)return i}}return-1}function gc(t,e,n,i,r){let s=[];for(let o=0,a=0;o<t.length;o++){let l=t[o],f=a,c=a+=l.size;f>=n||c<=e?s.push(l):(f<e&&s.push(l.slice(0,e-f,i)),r&&(s.push(r),r=void 0),c>n&&s.push(l.slice(n-f,l.size,i)))}return s}function Tu(t,e=null){let n=t.domSelectionRange(),i=t.state.doc;if(!n.focusNode)return null;let r=t.docView.nearestDesc(n.focusNode),s=r&&r.size==0,o=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let a=i.resolve(o),l,f;if(fd(n)){for(l=o;r&&!r.node;)r=r.parent;if(r&&r.node.isAtom&&Ae.isSelectable(r.node)&&r.parent&&!(r.node.isInline&&x4(n.focusNode,n.focusOffset,r.dom))){let u=r.posBefore;f=new Ae(o==u?a:i.resolve(u))}else if(ln&&e=="key"&&o>t.state.selection.to&&ve(n.focusNode)&&n.focusOffset==n.focusNode.childNodes.length&&r&&r.posAtStart>t.state.selection.to)for(let u=n.focusNode;;u=u.parentNode){if(getComputedStyle(u).overflow!="visible"){f=Be.findFrom(i.resolve(r.posAtStart),1);break}if(u==r.dom||u.nextSibling||!u.parentNode||!ve(u.parentNode))break}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let u=o,h=o;for(let m=0;m<n.rangeCount;m++){let p=n.getRangeAt(m);u=Math.min(u,t.docView.posFromDOM(p.startContainer,p.startOffset,1)),h=Math.max(h,t.docView.posFromDOM(p.endContainer,p.endOffset,-1))}if(u<0)return null;[l,o]=h==t.state.selection.anchor?[h,u]:[u,h],a=i.resolve(o)}else l=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(l<0)return null}let c=i.resolve(l);if(!f){let u=e=="pointer"||t.state.selection.head<a.pos&&!s?1:-1;f=Fu(t,c,a,u)}return f}function xv(t){return t.editable?t.hasFocus():Cv(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function pi(t,e=!1){let n=t.state.selection;if(_v(t,n),!xv(t))return;let i=t.input.mouseDown;if(!e&&Mt&&i){let r=t.domSelectionRange(),s=t.domObserver.currentSelection;if(r.anchorNode&&s.anchorNode&&br(r.anchorNode,r.anchorOffset,s.anchorNode,s.anchorOffset)&&i.delaySelUpdate()){t.domObserver.setCurSelection();return}}if(t.domObserver.disconnectSelection(),t.cursorWrapper)Z4(t);else{let{anchor:r,head:s}=n,o,a;Dp&&!(n instanceof je)&&(n.$from.parent.inlineContent||(o=Np(t,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(a=Np(t,n.to))),t.docView.setSelection(r,s,t,e),Dp&&(o&&Rp(o),a&&Rp(a)),n.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&Y4(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}const Dp=Rt||Mt&&fv<63;function Np(t,e){let{node:n,offset:i}=t.docView.domFromPos(e,0),r=i<n.childNodes.length?n.childNodes[i]:null,s=i?n.childNodes[i-1]:null;if(Rt&&r&&r.contentEditable=="false")return tf(r);if((!r||r.contentEditable=="false")&&(!s||s.contentEditable=="false")){if(r)return tf(r);if(s)return tf(s)}}function tf(t){return t.contentEditable="true",Rt&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function Rp(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function Y4(t){let e=t.dom.ownerDocument;e.removeEventListener("selectionchange",t.input.hideSelectionGuard);let n=t.domSelectionRange(),i=n.anchorNode,r=n.anchorOffset;e.addEventListener("selectionchange",t.input.hideSelectionGuard=()=>{(n.anchorNode!=i||n.anchorOffset!=r)&&(e.removeEventListener("selectionchange",t.input.hide
vendor: 26,812 bytes, lines 33-36
33SelectionGuard),setTimeout(()=>{(!xv(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function Z4(t){let e=t.domSelection();if(!e)return;let n=t.cursorWrapper.dom,i=n.nodeName=="IMG";i?e.collapse(n.parentNode,Bt(n)+1):e.collapse(n,0),!i&&!t.state.selection.visible&&Xt&&Ni<=11&&(n.disabled=!0,n.disabled=!1)}function _v(t,e){if(e instanceof Ae){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(Lp(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else Lp(t)}function Lp(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function Fu(t,e,n,i){return t.someProp("createSelectionBetween",r=>r(t,e,n))||je.between(e,n,i)}function Op(t){return t.editable&&!t.hasFocus()?!1:Cv(t)}function Cv(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return yr(t.dom,e.anchorNode)&&(t.editable||yr(t.dom,e.focusNode))}catch{return!1}}function X4(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return br(e.node,e.offset,n.anchorNode,n.anchorOffset)}function vc(t,e){let{$anchor:n,$head:i}=t.selection,r=e>0?n.max(i):n.min(i),s=r.parent.inlineContent?r.depth?t.doc.resolve(e>0?r.after():r.before()):null:r;return s&&Be.findFrom(s,e)}function Si(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function Pp(t,e,n){let i=t.state.selection;if(i instanceof je)if(n.indexOf("s")>-1){let{$head:r}=i,s=r.textOffset?null:e<0?r.nodeBefore:r.nodeAfter;if(!s||s.isText||!s.isLeaf)return!1;let o=t.state.doc.resolve(r.pos+s.nodeSize*(e<0?-1:1));return Si(t,new je(i.$anchor,o))}else if(i.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let r=vc(t.state,e);return r&&r instanceof Ae?Si(t,r):!1}else if(!(pn&&n.indexOf("m")>-1)){let r=i.$head,s=r.textOffset?null:e<0?r.nodeBefore:r.nodeAfter,o;if(!s||s.isText)return!1;let a=e<0?r.pos-s.nodeSize:r.pos;return s.isAtom||(o=t.docView.descAt(a))&&!o.contentDOM?Ae.isSelectable(s)?Si(t,new Ae(e<0?t.state.doc.resolve(r.pos-s.nodeSize):r)):Si(t,new je(t.state.doc.resolve(e<0?a:a+s.nodeSize))):!1}}else return!1;else{if(i instanceof Ae&&i.node.isInline)return Si(t,new je(e>0?i.$to:i.$from));{let r=vc(t.state,e);return r?Si(t,r):!1}}}function po(t,e){let n=t.pmViewDesc;return n?n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR"):ve(t)&&t.contentEditable=="false"}function Nr(t,e){return e<0?e6(t):t6(t)}function e6(t){let e=t.domSelectionRange(),n=e.focusNode,i=e.focusOffset;if(!n)return;let r,s,o=!1;for(ln&&ve(n)&&i<Nt(n)&&po(n.childNodes[i],-1)&&(o=!0);;)if(i>0){if(!ve(n))break;let a=n.childNodes[i-1];if(po(a,-1))r=n,s=--i;else if(bt(a))n=a,i=n.nodeValue.length;else break}else{if(Sv(n))break;{let a=n.previousSibling;for(;a&&po(a,-1);)r=n.parentNode,s=Bt(a),a=a.previousSibling;if(a)n=a,i=Nt(n);else{if(n=n.parentNode,n==t.dom)break;i=0}}}o?bc(t,n,i):r&&bc(t,r,s)}function t6(t){let e=t.domSelectionRange(),n=e.focusNode,i=e.focusOffset;if(!n)return;let r=Nt(n),s,o;for(;;)if(i<r){if(!ve(n))break;let a=n.childNodes[i];if(po(a,1))s=n,o=++i;else break}else{if(Sv(n))break;{let a=n.nextSibling;for(;a&&po(a,1);)s=a.parentNode,o=Bt(a)+1,a=a.nextSibling;if(a)n=a,i=0,r=Nt(n);else{if(n=n.parentNode,n==t.dom)break;i=r=0}}}s&&bc(t,s,o)}function Sv(t){let e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function n6(t,e){for(;t&&e==t.childNodes.length&&!Jo(t);)e=Bt(t)+1,t=t.parentNode;for(;t&&e<t.childNodes.length;){let n=t.childNodes[e];if(bt(n))return n;if(ve(n)&&n.contentEditable=="false")break;t=n,e=0}}function i6(t,e){for(;t&&!e&&!Jo(t);)e=Bt(t),t=t.parentNode;for(;t&&e;){let n=t.childNodes[e-1];if(bt(n))return n;if(ve(n)&&n.contentEditable=="false")break;t=n,e=t.childNodes.length}}function bc(t,e,n){if(!bt(e)){let s,o;(o=n6(e,n))?(e=o,n=0):(s=i6(e,n))&&(e=s,n=s.nodeValue.length)}let i=t.domSelection();if(!i)return;if(fd(i)){let s=document.createRange();s.setEnd(e,n),s.setStart(e,n),i.removeAllRanges(),i.addRange(s)}else i.extend&&i.extend(e,n);t.domObserver.setCurSelection();let{state:r}=t;setTimeout(()=>{t.state==r&&pi(t)},50)}function zp(t,e){let n=t.state.doc.resolve(e);if(!(Mt||cv)&&n.parent.inlineContent){let r=t.coordsAtPos(e);if(e>n.start()){let s=t.coordsAtPos(e-1),o=(s.top+s.bottom)/2;if(o>r.top&&o<r.bottom&&Math.abs(s.left-r.left)>1)return s.left<r.left?"ltr":"rtl"}if(e<n.end()){let s=t.coordsAtPos(e+1),o=(s.top+s.bottom)/2;if(o>r.top&&o<r.bottom&&Math.abs(s.left-r.left)>1)return s.left>r.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function Hp(t,e,n){let i=t.state.selection;if(i instanceof je&&!i.empty||n.indexOf("s")>-1||pn&&n.indexOf("m")>-1)return!1;let{$from:r,$to:s}=i;if(!r.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let o=vc(t.state,e);if(o&&o instanceof Ae)return Si(t,o)}if(!r.parent.inlineContent){let o=e<0?r:s,a=i instanceof hi?Be.near(o,e):Be.findFrom(o,e);return a?Si(t,a):!1}return!1}function Wp(t,e){if(!(t.state.selection instanceof je))return!0;let{$head:n,$anchor:i,empty:r}=t.state.selection;if(!n.sameParent(i))return!0;if(!r)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let s=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(s&&!s.isText){let o=t.state.tr;return e<0?o.delete(n.pos-s.nodeSize,n.pos):o.delete(n.pos,n.pos+s.nodeSize),t.dispatch(o),!0}return!1}function $p(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function r6(t){if(!Rt||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&ve(e)&&n==0&&e.firstChild&&ve(e.firstChild)&&e.firstChild.contentEditable=="false"){let i=e.firstChild;$p(t,i,"true"),setTimeout(()=>$p(t,i,"false"),20)}return!1}function s6(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function o6(t,e){let n=e.keyCode,i=s6(e);if(n==8||pn&&n==72&&i=="c")return Wp(t,-1)||Nr(t,-1);if(n==46&&!e.shiftKey||pn&&n==68&&i=="c")return Wp(t,1)||Nr(t,1);if(n==13||n==27)return!0;if(n==37||pn&&n==66&&i=="c"){let r=n==37?zp(t,t.state.selection.from)=="ltr"?-1:1:-1;return Pp(t,r,i)||Nr(t,r)}else if(n==39||pn&&n==70&&i=="c"){let r=n==39?zp(t,t.state.selection.from)=="ltr"?1:-1:1;return Pp(t,r,i)||Nr(t,r)}else{if(n==38||pn&&n==80&&i=="c")return Hp(t,-1,i)||Nr(t,-1);if(n==40||pn&&n==78&&i=="c")return r6(t)||Hp(t,1,i)||Nr(t,1);if(i==(pn?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function Du(t,e){t.someProp("transformCopied",m=>{e=m(e,t)});let n=[],{content:i,openStart:r,openEnd:s}=e;for(;r>1&&s>1&&i.childCount==1&&i.firstChild.childCount==1;){r--,s--;let m=i.firstChild;n.push(m.type.name,m.attrs!=m.type.defaultAttrs?m.attrs:null),i=m.content}let o=t.someProp("clipboardSerializer")||_r.fromSchema(t.state.schema),a=Tv(),l=a.createElement("div");l.appendChild(o.serializeFragment(i,{document:a}));let f=l.firstChild,c,u=0;for(;f&&ve(f)&&(c=Mv[f.nodeName.toLowerCase()]);){for(let m=c.length-1;m>=0;m--){let p=a.createElement(c[m]);for(;l.firstChild;)p.appendChild(l.firstChild);l.appendChild(p),u++}f=l.firstChild}f&&ve(f)&&f.setAttribute("data-pm-slice",`${r} ${s}${u?` -${u}`:""} ${JSON.stringify(n)}`);let h=t.someProp("clipboardTextSerializer",m=>m(e,t))||e.content.textBetween(0,e.content.size,` 34 35`);return{dom:l,text:h,slice:e}}function jv(t,e,n,i,r){let s=r.parent.type.spec.code,o,a;if(!n&&!e)return null;let l=!!e&&(i||s||!n);if(l){if(t.someProp("transformPastedText",h=>{e=h(e,s||i,t)}),s)return a=new le(J.from(t.state.schema.text(e.replace(/\r\n?/g,` 36`))),0,0),t.someProp("transformPasted",h=>{a=h(a,t,!0)}),a;let u=t.someProp("clipboardTextParser",h=>h(e,r,i,t));if(u)a=u;else{let h=r.marks(),{schema:m}=t.state,p=_r.fromSchema(m);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let v=o.appendChild(document.createElement("p"));g&&v.appendChild(p.serializeNode(m.text(g,h)))})}}else t.someProp("transformPastedHTML",u=>{n=u(n,t)}),o=f6(n),cd&&c6(o);let f=o&&o.querySelector("[data-pm-slice]"),c=f&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(f.getAttribute("data-pm-slice")||"");if(c&&c[3])for(let u=+c[3];u>0;u--){let h=o.firstChild;for(;h&&!ve(h);)h=h.nextSibling;if(!h)break;o=h}if(a||(a=(t.someProp("clipboardParser")||t.someProp("domParser")||co.fromSchema(t.state.schema)).parseSlice(o,{preserveWhitespace:!!(l||c),context:r,ruleFromNode(h){return h.nodeName=="BR"&&!h.nextSibling&&h.parentNode&&!a6.test(h.parentNode.nodeName)?{ignore:!0}:null}})),c)a=u6(Vp(a,+c[1],+c[2]),c[4]);else if(a=le.maxOpen(l6(a.content,r),!0),a.openStart||a.openEnd){let u=0,h=0;for(let m=a.content.firstChild;u<a.openStart&&!m.type.spec.isolating;u++,m=m.firstChild);for(let m=a.content.lastChild;h<a.openEnd&&!m.type.spec.isolating;h++,m=m.lastChild);a=Vp(a,u,h)}return t.someProp("transformPasted",u=>{a=u(a,t,l)}),a}const a6=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function l6(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.index(n)),s,o=[];if(t.forEach(a=>{if(!o)return;let l=r.findWrapping(a.type),f;if(!l)return o=null;if(f=o.length&&s.length&&Bv(l,s,a,o[o.length-1],0))o[o.length-1]=f;else{o.length&&(o[o.length-1]=Ev(o[o.length-1],s.length));let c=Iv(a,l);o.push(c),r=r.matchType(c.type),s=l}}),o)return J.from(o)}return t}function Iv(t,e,n=0){for(let i=e.length-1;i>=n;i--)t=e[i].create(null,J.from(t));return t}function Bv(t,e,n,i,r){if(r<t.length&&r<e.length&&t[r]==e[r]){let s=Bv(t,e,n,i.lastChild,r+1);if(s)return i.copy(i.content.replaceChild(i.childCount-1,s));if(i.contentMatchAt(i.childCount).matchType(r==t.length-1?n.type:t[r+1]))return i.copy(i.content.append(J.from(Iv(n,t,r+1))))}}function Ev(t,e){if(e==0)return t;let n=t.content.replaceChild(t.childCount-1,Ev(t.lastChild,e-1)),i=t.contentMatchAt(t.childCount).fillBefore(J.empty,!0);return t.copy(n.append(i))}function yc(t,e,n,i,r,s){let o=e<0?t.firstChild:t.lastChild,a=o.content;return t.childCount>1&&(s=0),r<i-1&&(a=yc(a,e,n,i,r+1,s)),r>=n&&(a=e<0?o.contentMatchAt(0).fillBefore(a,s<=r).append(a):a.append(o.contentMatchAt(o.childCount).fillBefore(J.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,o.copy(a))}function Vp(t,e,n){return e<t.openStart&&(t=new le(yc(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new le(yc(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}const Mv={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};function Tv(){return document.implementation.createHTMLDocument("title")}let Ns=null;function d6(t){let e=window.trustedTypes;if(!e)return t;if(!Ns){if(Ns=e.defaultPolicy)try{return Ns.createHTML(t)}catch{}Ns=e.createPolicy("ProseMirrorClipboard",{createHTML:n=>n})}return Ns.createHTML(t)}function f6(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=Tv(),i=n.body,r=/<([a-z][^>\s]+)/i.exec(t),s;if((s=r&&Mv[r[1].toLowerCase()])&&(t=s.map(o=>"<"+o+">").join("")+t+s.map(o=>"</"+o+">").reverse().join("")),i.innerHTML=d6(t),s)for(let o=0;o<s.length;o++)i=i.querySelector(s[o])||i;for(let o=0;o<n.styleSheets.length;o++){let a=n.styleSheets[o];for(let l=0;l<a.rules.length;l++){let f=a.rules[l];if(f instanceof CSSStyleRule){let c=i.querySelectorAll(f.selectorText);for(let u=0;u<c.length;u++)c[u].style.cssText+=f.style.cssText}}}return i}function c6(t){let e=t.querySelectorAll(Mt?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<e.length;n++){let i=e[n];i.childNodes.length==1&&i.textContent=="Â "&&i.parentNode&&i.parentNode.replaceChild(t.ownerDocument.createTextNode(" "),i)}}function u6(t,e){if(!t.size)return t;let n=t.content.firstChild.type.schema,i;try{i=JSON.parse(e)}catch{return t}let{content:r,openStart:s,openEnd:o}=t;for(let a=i.length-2;a>=0;a-=2){let l=n.nodes[i[a]];if(!l||l.hasRequiredAttrs())break;try{r=J.from(l.create(i[a+1],r))}catch{break}s++,o++}return new le(r,s,o)}const Kt={},Jt={},h6={touchstart:!0,touchmove:!0};class p6{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function m6(t){for(let e in Kt){let n=Kt[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=i=>{v6(t,i)&&!Nu(t,i)&&(t.editable||!(i.type in Jt))&&n(t,i)},h6[e]?{passive:!0}:void 0)}Rt&&t.dom.addEventListener("input",()=>null),kc(t)}function ci(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function g6(t){t.input.mouseDown&&t.input.mouseDown.done(),t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function kc(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=i=>Nu(t,i))})}function Nu(t,e){return t.someProp("handleDOMEvents",n=>{let i=n[e.type];return i?i(t,e)||e.defaultPrevented:!1})}function v6(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function b6(t,e){!Nu(t,e)&&Kt[e.type]&&(t.editable||!(e.type in Jt))&&Kt[e.type](t,e)}Jt.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!Rv(t)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(fi&&Mt&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),us&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let i=Date.now();t.input.lastIOSEnter=i,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==i&&(t.someProp("handleKeyDown",r=>r(t,er(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",i=>i(t,n))||o6(t,n)?n.preventDefault():ci(t,"key")};Jt.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};Jt.keypress=(t,e)=>{let n=e;if(Rv(t)||!n.charCode||n.ctrlKey&&!n.altKey||pn&&n.metaKey)return;if(t.someProp("handleKeyPress",r=>r(t,n))){n.preventDefault();return}let i=t.state.selection;if(!(i instanceof je)||!i.$from.sameParent(i.$to)){let r=String.fromCharCode(n.charCode),s=()=>t.state.tr.insertText(r).scrollIntoView();!/[\r\n]/.test(r)&&!t.someProp("handleTextInput",o=>o(t,i.$from.pos,i.$to.pos,r,s))&&t.dispatch(s()),n.preventDefault()}};function Qo(t){return{left:t.clientX,top:t.clientY}}function y6(t,e){let n=e.x-t.clientX,i=e.y-t.clientY;return n*n+i*i<100}function Ru(t,e,n,i,r){if(i==-1)return!1;let s=t.state.doc.resolve(i);for(let o=s.depth+1;o>0;o--)if(t.someProp(e,a=>o>s.depth?a(t,n,s.nodeAfter,s.before(o),r,!0):a(t,n,s.node(o),s.before(o),r,!1)))return!0;return!1}function qo(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let i=t.state.tr.setSelection(e);i.setMeta("pointer",!0),t.dispatch(i)}function k6(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),i=n.nodeAfter;return i&&i.isAtom&&Ae.isSelectable(i)?(qo(t,new Ae(n)),!0):!1}function w6(t,e){if(e==-1)return!1;let n=t.state.selection,i,r;n instanceof Ae&&(i=n.node);let s=t.state.doc.resolve(e);for(let o=s.depth+1;o>0;o--){let a=o>s.depth?s.nodeAfter:s.node(o);if(Ae.isSelectable(a)){i&&n.$from.depth>0&&o>=n.$from.depth&&s.before(n.$from.depth+1)==n.$from.pos?r=s.before(n.$from.depth):r=s.before(o);break}}return r!=null?(qo(t,Ae.create(t.state.doc,r)),!0):!1}function A6(t,e,n,i,r){return Ru(t,"handleClickOn",e,n,i)||t.someProp("handleClick",s=>s(t,e,i))||(r?w6(t,n):k6(t,n))}function x6(t,e,n,i){return Ru(t,"handleDoubleClickOn",e,n,i)||t.someProp("handleDoubleClick",r=>r(t,e,i))}function _6(t,e,n,i){return Ru(t,"handleTripleClickOn",e,n,i)||t.someProp("handleTripleClick",r=>r(t,e,i))||C6(t,n,i)}function C6(t,e,n){if(n.button!=0)return!1;let i=Fv(t,e,!0),r=t.state.doc;return i?(qo(t,i),i instanceof je&&r.eq(t.state.doc)&&(t.input.mouseDown=new j6(t,i)),!0):!1}function Fv(t,e,n){let i=t.state.doc;if(e==-1)return i.inlineContent?je.create(i,0,i.content.size):null;let r=i.resolve(e);for(let s=r.depth+1;s>0;s--){let o=s>r.depth?r.nodeAfter:r.node(s),a=r.before(s);if(o.inlineContent)return je.create(i,a+1,a+1+o.content.size);if(n&&Ae.isSelectable(o))return Ae.create(i,a)}return null}function Lu(t){return al(t)}const Dv=pn?"metaKey":"ctrlKey";Kt.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let i=Lu(t),r=Date.now(),s="singleClick";r-t.input.lastClick.time<500&&y6(n,t.input.lastClick)&&!n[Dv]&&t.input.lastClick.button==n.button&&(t.input.lastClick.type=="singleClick"?s="doubleClick":t.input.lastClick.type=="doubleClick"&&(s="tripleClick")),t.input.lastClick={time:r,x:n.clientX,y:n.clientY,type:s,button:n.button},t.input.mouseDown&&t.input.mouseDown.done();let o=t.posAtCoords(Qo(n));o&&(s=="singleClick"?t.input.mouseDown=new S6(t,o,n,!!i):(s=="doubleClick"?x6:_6)(t,o.pos,o.inside,n)?n.preventDefault():ci(t,"pointer"))};class Nv{constructor(e){this.view=e,this.mightDrag=null,e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this))}up(e){this.done()}move(e){e.buttons==0&&this.done()}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.view.input.mouseDown==this&&(this.view.input.mouseDown=null)}delaySelUpdate(){return!1}}class S6 extends Nv{constructor(e,n,i,r){super(e),this.pos=n,this.event=i,this.flushed=r,this.delayedSelectionSync=!1,this.startDoc=e.state.doc,this.selectNode=!!i[Dv],this.allowDefault=i.shiftKey;let s,o;if(n.inside>-1)s=e.state.doc.nodeAt(n.inside),o=n.inside;else{let c=e.state.doc.resolve(n.pos);s=c.parent,o=c.depth?c.before():0}const a=r?null:i.target,l=a?e.docView.nearestDesc(a,!0):null;this.target=l&&ve(l.nodeDOM)?l.nodeDOM:null;let{selection:f}=e.state;i.button==0&&(s.type.spec.draggable&&s.type.spec.selectable!==!1||f instanceof Ae&&f.from<=o&&f.to>o)&&(this.mightDrag={node:s,pos:o,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&ln&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),ci(e,"pointer")}done(){super.done(),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>{this.view.isDestroyed||pi(this.view)})}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(Qo(e))),this.updateAllowDefault(e),this.allowDefault||!n?ci(this.view,"pointer"):A6(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Rt&&this.mightDrag&&!this.mightDrag.node.isAtom||Mt&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(qo(this.view,Be.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):ci(this.view,"pointer")}move(e){this.updateAllowDefault(e),ci(this.view,"pointer"),super.move(e)}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}delaySelUpdate(){return this.allowDefault?(this.delayedSelectionSync=!0,!0):!1}}class j6 extends Nv{constructor(e,n){super(e),this.startSelection=n,this.startDoc=e.state.doc}move(e){if(e.buttons==0||this.view.isDestroyed||!this.view.state.doc.eq(this.startDoc)){this.done();return}e.preventDefault(),ci(this.view,"pointer");let n=this.view.posAtCoords(Qo(e)),i=n&&Fv(this.view,n.inside,!1);if(!i)return;let{doc:r}=this.view.state,s=this.startSelection,[o,a]=i.from<s.from?[s.to,i.from]:[s.from,i.to];qo(this.view,je.create(r,o,a))}}Kt.touchstart=t=>{t.input.lastTouch=Date.now(),Lu(t),ci(t,"pointer")};Kt.touchmove=t=>{t.input.lastTouch=Date.now(),ci(t,"pointer")};Kt.contextmenu=t=>Lu(t);function Rv(t,e){return t.composing?!0:Rt&&Math.abs(Date.now()-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const I6=fi?5e3:-1;Jt.compositionstart=Jt.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof je&&e.selection.empty&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(i=>i.type.spec.inclusive===!1)||Mt&&cv&&B6(t)))t.markCursor=t.state.storedMarks||n.marks(),al(t,!0),t.markCursor=null;else if(al(t,!e.selection.empty),ln&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let i=t.domSelectionRange();for(let r=i.focusNode,s=i.focusOffset;r&&ve(r)&&s!=0;){let o=s<0?r.lastChild:r.childNodes[s-1];if(!o)break;if(bt(o)){let a=t.domSelection();a&&a.collapse(o,o.nodeValue.length);break}else r=o,s=-1}}t.input.composing=!0}Lv(t,I6)};function B6(t){let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(!e||!ve(e)||n>=e.childNodes.length)return!1;let i=e.childNodes[n];return ve(i)&&i.contentEditable=="false"}Jt.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=Date.now(),t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.badSafariComposition?t.domObserver.forceFlush():t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,Lv(t,20))};function Lv(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>al(t),e))}function Ov(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=Date.now());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function E6(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=w4(e.focusNode,e.focusOffset),i=A4(e.focusNode,e.focusOffset);if(n&&i&&n!=i){let r=i.pmViewDesc,s=t.domObserver.lastChangedTextNode;if(n==s||i==s)return s;if(!r||!r.isText(i.nodeValue))return i;if(t.input.compositionNode==i){let o=n.pmViewDesc;if(!(!o||!o.isText(n.nodeValue)))return i}}return n||i}function al(t,e=!1){if(!(fi&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),Ov(t),e||t.docView&&t.docView.dirty){let n=Tu(t),i=t.state.selection;return n&&!n.eq(i)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!i.$from.node(i.$from.sharedDepth(i.to)).inlineContent?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function M6(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let i=getSelection(),r=document.createRange();r.selectNodeContents(e),t.dom.blur(),i.removeAllRanges(),i.addRange(r),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const Lo=Xt&&Ni<15||us&&S4<604;Kt.copy=Jt.cut=(t,e)=>{let n=e,i=t.state.selection,r=n.type=="cut";if(i.empty)return;let s=Lo?null:n.clipboardData,o=i.content(),{dom:a,text:l}=Du(t,o);s?(n.preventDefault(),s.clearData(),s.setData("text/html",a.innerHTML),s.setData("text/plain",l)):M6(t,a),r&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function T6(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function F6(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,i=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus();let r=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),i.parentNode&&i.parentNode.removeChild(i),n?Oo(t,i.value,null,r,e):Oo(t,i.textContent,i.innerHTML,r,e)},50)}function Oo(t,e,n,i,r){let s=jv(t,e,n,i,t.state.selection.$from);if(t.someProp("handlePaste",l=>l(t,r,s||le.empty)))return!0;if(!s)return!1;let o=T6(s),a=o?t.state.tr.replaceSelectionWith(o,i):t.state.tr.replaceSelection(s);return t.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Pv(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}Jt.paste=(t,e)=>{let n=e;if(t.composing&&!fi)return;let i=Lo?null:n.clipboardData,r=t.input.shiftKey&&t.input.lastKeyCode!=45;i&&Oo(t,Pv(i),i.getData("text/html"),r,n)?n.preventDefault():F6(t,n)};class zv{constructor(e,n,i){this.slice=e,this.move=n,this.node=i}}const D6=pn?"altKey":"ctrlKey";function Hv(t,e){let n;return t.someProp("dragCopies",i=>{n=n||i(e)}),n!=null?!n:!e[D6]}Kt.dragstart=(t,e)=>{let n=e,i=t.input.mouseDown;if(i&&i.done(),!n.dataTransfer)return;let r=t.state.selection,s=r.empty?null:t.posAtCoords(Qo(n)),o;if(!(s&&s.pos>=r.from&&s.pos<=(r instanceof Ae?r.to-1:r.to))){if(i&&i.mightDrag)o=Ae.create(t.state.doc,i.mightDrag.pos);else if(n.target&&ve(n.target)){let u=t.docView.nearestDesc(n.target,!0);u&&u.node.type.spec.draggable&&u!=t.docView&&(o=Ae.create(t.state.doc,u.posBefore))}}let a=(o||t.state.selection).content(),{dom:l,text:f,slice:c}=Du(t,a);(!n.dataTransfer.files.length||!Mt||fv>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Lo?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",Lo||n.dataTransfer.setData("text/plain",f),t.dragging=new zv(c,Hv(t,n),o)};Kt.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};Jt.dragover=Jt.dragenter=(t,e)=>e.preventDefault();Jt.drop=(t,e)=>{try{N6(t,e,t.dragging)}finally{t.dragging=null}};function N6(t,e,n){if(!e.dataTransfer)return;let i=t.posAtCoords(Qo(e));if(!i)return;let r=t.state.doc.resolve(i.pos),s=n&&n.slice;s?t.someProp("transformPasted",m=>{s=m(s,t,!1)}):s=jv(t,Pv(e.dataTransfer),Lo?null:e.dataTransfer.getData("text/html"),!1,r);let o=!!(n&&Hv(t,e));if(t.someProp("handleDrop",m=>m(t,e,s||le.empty,o))){e.preventDefault();return}if(!s)return;e.preventDefault();let a=s?L0(t.state.doc,r.pos,s):r.pos;a==null&&(a=r.pos);let l=t.state.tr;if(o){let{node:m}=n;m?m.replace(l):l.deleteSelection()}
vendor: 9,665 bytes, line 36
36let f=l.mapping.map(a),c=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,u=l.doc;if(c?l.replaceRangeWith(f,f,s.content.firstChild):l.replaceRange(f,f,s),l.doc.eq(u))return;let h=l.doc.resolve(f);if(c&&Ae.isSelectable(s.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(s.content.firstChild))l.setSelection(new Ae(h));else{let m=l.mapping.map(a);l.mapping.maps[l.mapping.maps.length-1].forEach((p,g,v,b)=>m=b),l.setSelection(Fu(t,h,l.doc.resolve(m)))}t.focus(),t.dispatch(l.setMeta("uiEvent","drop"))}Kt.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&pi(t)},20))};Kt.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};Kt.beforeinput=(t,e)=>{if(fi&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:i}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=i||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",s=>s(t,er(8,"Backspace")))))return;let{$cursor:r}=t.state.selection;r&&r.pos>0&&t.dispatch(t.state.tr.delete(r.pos-1,r.pos).scrollIntoView())},50)}};for(let t in Jt)Kt[t]=Jt[t];function Po(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class ll{constructor(e,n){this.toDOM=e,this.spec=n||fr,this.side=this.spec.side||0}map(e,n,i,r){let{pos:s,deleted:o}=e.mapResult(n.from+r,this.side<0?-1:1);return o?null:new Vt(s-i,s-i,this)}valid(){return!0}eq(e){return this==e||e instanceof ll&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Po(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Oi{constructor(e,n){this.attrs=e,this.spec=n||fr}map(e,n,i,r){let s=e.map(n.from+r,this.spec.inclusiveStart?-1:1)-i,o=e.map(n.to+r,this.spec.inclusiveEnd?1:-1)-i;return s>=o?null:new Vt(s,o,this)}valid(e,n){return n.from<n.to}eq(e){return this==e||e instanceof Oi&&Po(this.attrs,e.attrs)&&Po(this.spec,e.spec)}static is(e){return e.type instanceof Oi}destroy(){}}class Ou{constructor(e,n){this.attrs=e,this.spec=n||fr}map(e,n,i,r){let s=e.mapResult(n.from+r,1);if(s.deleted)return null;let o=e.mapResult(n.to+r,-1);return o.deleted||o.pos<=s.pos?null:new Vt(s.pos-i,o.pos-i,this)}valid(e,n){let{index:i,offset:r}=e.content.findIndex(n.from),s;return r==n.from&&!(s=e.child(i)).isText&&r+s.nodeSize==n.to}eq(e){return this==e||e instanceof Ou&&Po(this.attrs,e.attrs)&&Po(this.spec,e.spec)}destroy(){}}class Vt{constructor(e,n,i){this.from=e,this.to=n,this.type=i}copy(e,n){return new Vt(e,n,this.type)}eq(e,n=0){return this.type.eq(e.type)&&this.from+n==e.from&&this.to+n==e.to}map(e,n,i){return this.type.map(e,this,n,i)}static widget(e,n,i){return new Vt(e,e,new ll(n,i))}static inline(e,n,i,r){return new Vt(e,n,new Oi(i,r))}static node(e,n,i,r){return new Vt(e,n,new Ou(i,r))}get spec(){return this.type.spec}get inline(){return this.type instanceof Oi}get widget(){return this.type instanceof ll}}const Hr=[],fr={};class Ge{constructor(e,n){this.local=e.length?e:Hr,this.children=n.length?n:Hr}static create(e,n){return n.length?dl(n,e,0,fr):Dt}find(e,n,i){let r=[];return this.findInner(e??0,n??1e9,r,0,i),r}findInner(e,n,i,r,s){for(let o=0;o<this.local.length;o++){let a=this.local[o];a.from<=n&&a.to>=e&&(!s||s(a.spec))&&i.push(a.copy(a.from+r,a.to+r))}for(let o=0;o<this.children.length;o+=3)if(this.children[o]<n&&this.children[o+1]>e){let a=this.children[o]+1;this.children[o+2].findInner(e-a,n-a,i,r+a,s)}}map(e,n,i){return this==Dt||e.maps.length==0?this:this.mapInner(e,n,0,0,i||fr)}mapInner(e,n,i,r,s){let o;for(let a=0;a<this.local.length;a++){let l=this.local[a].map(e,i,r);l&&l.type.valid(n,l)?(o||(o=[])).push(l):s.onRemove&&s.onRemove(this.local[a].spec)}return this.children.length?R6(this.children,o||[],e,n,i,r,s):o?new Ge(o.sort(cr),Hr):Dt}add(e,n){return n.length?this==Dt?Ge.create(e,n):this.addInner(e,n,0):this}addInner(e,n,i){let r,s=0;e.forEach((a,l)=>{let f=l+i,c;if(c=$v(n,a,f)){for(r||(r=this.children.slice());s<r.length&&r[s]<l;)s+=3;r[s]==l?r[s+2]=r[s+2].addInner(a,c,f+1):r.splice(s,0,l,l+a.nodeSize,dl(c,a,f+1,fr)),s+=3}});let o=Wv(s?Vv(n):n,-i);for(let a=0;a<o.length;a++)o[a].type.valid(e,o[a])||o.splice(a--,1);return new Ge(o.length?this.local.concat(o).sort(cr):this.local,r||this.children)}remove(e){return e.length==0||this==Dt?this:this.removeInner(e,0)}removeInner(e,n){let i=this.children,r=this.local;for(let s=0;s<i.length;s+=3){let o,a=i[s]+n,l=i[s+1]+n;for(let c=0,u;c<e.length;c++)(u=e[c])&&u.from>a&&u.to<l&&(e[c]=null,(o||(o=[])).push(u));if(!o)continue;i==this.children&&(i=this.children.slice());let f=i[s+2].removeInner(o,a+1);f!=Dt?i[s+2]=f:(i.splice(s,3),s-=3)}if(r.length){for(let s=0,o;s<e.length;s++)if(o=e[s])for(let a=0;a<r.length;a++)r[a].eq(o,n)&&(r==this.local&&(r=this.local.slice()),r.splice(a--,1))}return i==this.children&&r==this.local?this:r.length||i.length?new Ge(r,i):Dt}forChild(e,n){if(this==Dt)return this;if(n.isLeaf)return Ge.empty;let i,r;for(let a=0;a<this.children.length;a+=3)if(this.children[a]>=e){this.children[a]==e&&(i=this.children[a+2]);break}let s=e+1,o=s+n.content.size;for(let a=0;a<this.local.length;a++){let l=this.local[a];if(l.from<o&&l.to>s&&l.type instanceof Oi){let f=Math.max(s,l.from)-s,c=Math.min(o,l.to)-s;f<c&&(r||(r=[])).push(l.copy(f,c))}}if(r){let a=new Ge(r.sort(cr),Hr);return i?new Bi([a,i]):a}return i||Dt}eq(e){if(this==e)return!0;if(!(e instanceof Ge)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let n=0;n<this.local.length;n++)if(!this.local[n].eq(e.local[n]))return!1;for(let n=0;n<this.children.length;n+=3)if(this.children[n]!=e.children[n]||this.children[n+1]!=e.children[n+1]||!this.children[n+2].eq(e.children[n+2]))return!1;return!0}locals(e){return Pu(this.localsInner(e))}localsInner(e){if(this==Dt)return Hr;if(e.inlineContent||!this.local.some(Oi.is))return this.local;let n=[];for(let i=0;i<this.local.length;i++)this.local[i].type instanceof Oi||n.push(this.local[i]);return n}forEachSet(e){e(this)}}Ge.empty=new Ge([],[]);Ge.removeOverlap=Pu;const Dt=Ge.empty;class Bi{constructor(e){this.members=e}map(e,n){const i=this.members.map(r=>r.map(e,n,fr));return Bi.from(i)}forChild(e,n){if(n.isLeaf)return Ge.empty;let i=[];for(let r=0;r<this.members.length;r++){let s=this.members[r].forChild(e,n);s!=Dt&&(s instanceof Bi?i=i.concat(s.members):i.push(s))}return Bi.from(i)}eq(e){if(!(e instanceof Bi)||e.members.length!=this.members.length)return!1;for(let n=0;n<this.members.length;n++)if(!this.members[n].eq(e.members[n]))return!1;return!0}locals(e){let n,i=!0;for(let r=0;r<this.members.length;r++){let s=this.members[r].localsInner(e);if(s.length)if(!n)n=s;else{i&&(n=n.slice(),i=!1);for(let o=0;o<s.length;o++)n.push(s[o])}}return n?Pu(i?n:n.sort(cr)):Hr}static from(e){switch(e.length){case 0:return Dt;case 1:return e[0];default:return new Bi(e.every(n=>n instanceof Ge)?e:e.reduce((n,i)=>n.concat(i instanceof Ge?i:i.members),[]))}}forEachSet(e){for(let n=0;n<this.members.length;n++)this.members[n].forEachSet(e)}}function R6(t,e,n,i,r,s,o){let a=t.slice();for(let f=0,c=s;f<n.maps.length;f++){let u=0;n.maps[f].forEach((h,m,p,g)=>{let v=g-p-(m-h);for(let b=0;b<a.length;b+=3){let w=a[b+1];if(w<0||h>w+c-u)continue;let A=a[b]+c-u;m>=A?a[b+1]=h<=A?-2:-1:h>=c&&v&&(a[b]+=v,a[b+1]+=v)}u+=v}),c=n.maps[f].map(c,-1)}let l=!1;for(let f=0;f<a.length;f+=3)if(a[f+1]<0){if(a[f+1]==-2){l=!0,a[f+1]=-1;continue}let c=n.map(t[f]+s),u=c-r;if(u<0||u>=i.content.size){l=!0;continue}let h=n.map(t[f+1]+s,-1),m=h-r,{index:p,offset:g}=i.content.findIndex(u),v=i.maybeChild(p);if(v&&g==u&&g+v.nodeSize==m){let b=a[f+2].mapInner(n,v,c+1,t[f]+s+1,o);b!=Dt?(a[f]=u,a[f+1]=m,a[f+2]=b):(a[f+1]=-2,l=!0)}else l=!0}if(l){let f=L6(a,t,e,n,r,s,o),c=dl(f,i,0,o);e=c.local;for(let u=0;u<a.length;u+=3)a[u+1]<0&&(a.splice(u,3),u-=3);for(let u=0,h=0;u<c.children.length;u+=3){let m=c.children[u];for(;h<a.length&&a[h]<m;)h+=3;a.splice(h,0,c.children[u],c.children[u+1],c.children[u+2])}}return new Ge(e.sort(cr),a)}function Wv(t,e){if(!e||!t.length)return t;let n=[];for(let i=0;i<t.length;i++){let r=t[i];n.push(new Vt(r.from+e,r.to+e,r.type))}return n}function L6(t,e,n,i,r,s,o){function a(l,f){for(let c=0;c<l.local.length;c++){let u=l.local[c].map(i,r,f);u?n.push(u):o.onRemove&&o.onRemove(l.local[c].spec)}for(let c=0;c<l.children.length;c+=3)a(l.children[c+2],l.children[c]+f+1)}for(let l=0;l<t.length;l+=3)t[l+1]==-1&&a(t[l+2],e[l]+s+1);return n}function $v(t,e,n){if(e.isLeaf)return null;let i=n+e.nodeSize,r=null;for(let s=0,o;s<t.length;s++)(o=t[s])&&o.from>n&&o.to<i&&((r||(r=[])).push(o),t[s]=null);return r}function Vv(t){let e=[];for(let n=0;n<t.length;n++)t[n]!=null&&e.push(t[n]);return e}function dl(t,e,n,i){let r=[],s=!1;e.forEach((a,l)=>{let f=$v(t,a,l+n);if(f){s=!0;let c=dl(f,a,n+l+1,i);c!=Dt&&r.push(l,l+a.nodeSize,c)}});let o=Wv(s?Vv(t):t,-n).sort(cr);for(let a=0;a<o.length;a++)o[a].type.valid(e,o[a])||(i.onRemove&&i.onRemove(o[a].spec),o.splice(a--,1));return o.length||r.length?new Ge(o,r):Dt}function cr(t,e){return t.from-e.from||t.to-e.to}function Pu(t){let e=t;for(let n=0;n<e.length-1;n++){let i=e[n];if(i.from!=i.to)for(let r=n+1;r<e.length;r++){let s=e[r];if(s.from==i.from){s.to!=i.to&&(e==t&&(e=t.slice()),e[r]=s.copy(s.from,i.to),Gp(e,r+1,s.copy(i.to,s.to)));continue}else{s.from<i.to&&(e==t&&(e=t.slice()),e[n]=i.copy(i.from,s.from),Gp(e,r,i.copy(s.from,i.to))
vendor: 9,558 bytes, line 36
36);break}}}return e}function Gp(t,e,n){for(;e<t.length&&cr(n,t[e])>0;)e++;t.splice(e,0,n)}function nf(t){let e=[];return t.someProp("decorations",n=>{let i=n(t.state);i&&i!=Dt&&e.push(i)}),t.cursorWrapper&&e.push(Ge.create(t.state.doc,[t.cursorWrapper.deco])),Bi.from(e)}const O6={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},P6=Xt&&Ni<=11;class z6{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class H6{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new z6,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(i=>{for(let r=0;r<i.length;r++)this.queue.push(i[r]);Xt&&Ni<=11&&i.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():Rt&&e.composing&&i.some(r=>r.type=="childList"&&r.target.nodeName=="TR")?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),P6&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,O6)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;n<e.length;n++)this.queue.push(e[n]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Op(this.view)){if(this.suppressingSelectionUpdates)return pi(this.view);if(Xt&&Ni<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&br(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,i;for(let s=e.focusNode;s;s=cs(s))n.add(s);for(let s=e.anchorNode;s;s=cs(s))if(n.has(s)){i=s;break}let r=i&&this.view.docView.nearestDesc(i);if(r&&r.ignoreMutation({type:"selection",target:bt(i)?i.parentNode:i}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let i=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(i)&&Op(e)&&!this.ignoreSelectionChange(i),s=-1,o=-1,a=!1,l=[];if(e.editable)for(let c=0;c<n.length;c++){let u=this.registerMutation(n[c],l);u&&(s=s<0?u.from:Math.min(u.from,s),o=o<0?u.to:Math.max(u.to,o),u.typeOver&&(a=!0))}if(l.some(c=>c.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46||Mt&&(e.composing||e.input.compositionEndedAt>Date.now()-50)&&n.some(c=>c.type=="childList"&&c.removedNodes.length))){for(let c of l)if(c.nodeName=="BR"&&c.parentNode){let u=c.nextSibling;for(;u&&ve(u);){if(u.contentEditable=="false"){c.parentNode.removeChild(c);break}u=u.firstChild}}}else if(ln&&l.length){let c=l.filter(u=>u.nodeName=="BR");if(c.length==2){let[u,h]=c;u.parentNode&&u.parentNode.parentNode==h.parentNode?h.remove():u.remove()}else{let{focusNode:u}=this.currentSelection;for(let h of c){let m=h.parentNode;m&&m.nodeName=="LI"&&(!u||V6(e,u)!=m)&&h.remove()}}}let f=null;s<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&fd(i)&&(f=Tu(e))&&f.eq(Be.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,pi(e),this.currentSelection.set(i),e.scrollToSelection()):(s>-1||r)&&(s>-1&&(e.docView.markDirty(s,o),W6(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,G6(e,l)),this.handleDOMChange(s,o,a,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(i)||pi(e),this.currentSelection.set(i))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let i=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(i==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!i||i.ignoreMutation(e))return null;if(e.type=="childList"){for(let c=0;c<e.addedNodes.length;c++){let u=e.addedNodes[c];n.push(u),bt(u)&&(this.lastChangedTextNode=u)}if(i.contentDOM&&i.contentDOM!=i.dom&&!i.contentDOM.contains(e.target))return{from:i.posBefore,to:i.posAfter};let r=e.previousSibling,s=e.nextSibling;if(Xt&&Ni<=11&&e.addedNodes.length)for(let c=0;c<e.addedNodes.length;c++){let{previousSibling:u,nextSibling:h}=e.addedNodes[c];(!u||Array.prototype.indexOf.call(e.addedNodes,u)<0)&&(r=u),(!h||Array.prototype.indexOf.call(e.addedNodes,h)<0)&&(s=h)}let o=r&&r.parentNode==e.target?Bt(r)+1:0,a=i.localPosFromDOM(e.target,o,-1),l=s&&s.parentNode==e.target?Bt(s):e.target.childNodes.length,f=i.localPosFromDOM(e.target,l,1);return{from:a,to:f}}else return e.type=="attributes"?{from:i.posAtStart-i.border,to:i.posAtEnd+i.border}:(this.lastChangedTextNode=e.target,{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let Kp=new WeakMap,Jp=!1;function W6(t){if(!Kp.has(t)&&(Kp.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=ln,Jp)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Jp=!0}}function Up(t,e){let n=e.startContainer,i=e.startOffset,r=e.endContainer,s=e.endOffset,o=t.domAtPos(t.state.selection.anchor);return br(o.node,o.offset,r,s)&&([n,i,r,s]=[r,s,n,i]),{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:s}}function $6(t,e){if(e.getComposedRanges){let r=e.getComposedRanges(t.root)[0];if(r)return Up(t,r)}let n;function i(r){r.preventDefault(),r.stopImmediatePropagation(),n=r.getTargetRanges()[0]}return t.dom.addEventListener("beforeinput",i,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",i,!0),n?Up(t,n):null}function V6(t,e){for(let n=e.parentNode;n&&n!=t.dom;n=n.parentNode){let i=t.docView.nearestDesc(n,!0);if(i&&i.node.isBlock)return n}return null}function G6(t,e){var n;let{focusNode:i,focusOffset:r}=t.domSelectionRange();for(let s of e)if(((n=s.parentNode)===null||n===void 0?void 0:n.nodeName)=="TR"){let o=s.nextSibling;for(;o&&o.nodeName!="TD"&&o.nodeName!="TH";)o=o.nextSibling;if(o){let a=o;for(;;){let l=a.firstChild;if(!l||!ve(l)||l.contentEditable=="false"||/^(BR|IMG)$/.test(l.nodeName))break;a=l}a.insertBefore(s,a.firstChild),i==s&&t.domSelection().collapse(s,r)}else s.parentNode.removeChild(s)}}function K6(t,e,n,i){let{node:r,fromOffset:s,toOffset:o,from:a,to:l}=t.docView.parseRange(e,n),f=t.domSelectionRange(),c,u=f.anchorNode;if(u&&yr(t.dom,u)&&(c=[{node:u,offset:f.anchorOffset}],fd(f)||c.push({node:f.focusNode,offset:f.focusOffset})),Mt&&t.input.lastKeyCode===8)for(let b=o;b>s;b--){let w=r.childNodes[b-1],A=w.pmViewDesc;if(w.nodeName=="BR"&&!A){o=b;break}if(!A||A.size)break}let h=t.state.doc,m=t.someProp("domParser")||co.fromSchema(t.state.schema),p=h.resolve(a),g=null,v=m.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:s,to:o,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:J6(i),context:p});if(c&&c[0].pos!=null){let b=c[0].pos,w=c[1]&&c[1].pos;w==null&&(w=b),g={anchor:b+a,head:w+a}}return{doc:v,sel:g,from:a,to:l}}const J6=t=>e=>{let n=e.pmViewDesc;if(n)return n.parseRule(t);if(e.nodeName=="BR"&&e.parentNode){if(Rt&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let i=document.createElement("div");return i.appendChild(document.createElement("li")),{skip:i}}else if(e.parentNode.lastChild==e||Rt&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName=="IMG"&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null},U6=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Q6(t,e,n,i,r){let s=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let _=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,j=Tu(t,_);
vendor: 1,188 bytes, line 36
36if(j&&!t.state.selection.eq(j)){if(Mt&&fi&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",E=>E(t,er(13,"Enter"))))return;let I=t.state.tr.setSelection(j);_=="pointer"?I.setMeta("pointer",!0):_=="key"&&I.scrollIntoView(),s&&I.setMeta("composition",s),t.dispatch(I)}return}let o=t.state.doc.resolve(e),a=o.sharedDepth(n);e=o.before(a+1),n=t.state.doc.resolve(n).after(a+1);let l=t.state.selection,f=K6(t,e,n,r),c=t.state.doc,u=c.slice(f.from,f.to),h,m;t.input.lastKeyCode===8&&Date.now()-100<t.input.lastKeyCodeTime?(h=t.state.selection.to,m="end"):(h=t.state.selection.from,m="start"),t.input.lastKeyCode=null;let p=X6(u.content,f.doc.content,f.from,h,m);if(p&&t.input.domChangeCount++,(us&&t.input.lastIOSEnter>Date.now()-225||fi)&&r.some(_=>ve(_)&&!U6.test(_.nodeName))&&(!p||p.endA>=p.endB)&&t.someProp("handleKeyDown",_=>_(t,er(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!p)if(i&&l instanceof je&&!l.empty&&l.$head.sameParent(l.$anchor)&&!t.composing&&!(f.sel&&f.sel.anchor!=f.sel.head))p={start:l.from,endA:l.to,endB:l.to};else{if(f.sel){let _=Qp(t,t.state.doc,f.sel);if(_&&!_.eq(t.state.selection)){let j=t.state.tr.setSelection(_);
vendor: 13,201 bytes, line 36
36s&&j.setMeta("composition",s),t.dispatch(j)}}return}t.state.selection.from<t.state.selection.to&&p.start==p.endB&&t.state.selection instanceof je&&(p.start>t.state.selection.from&&p.start<=t.state.selection.from+2&&t.state.selection.from>=f.from?p.start=t.state.selection.from:p.endA<t.state.selection.to&&p.endA>=t.state.selection.to-2&&t.state.selection.to<=f.to&&(p.endB+=t.state.selection.to-p.endA,p.endA=t.state.selection.to)),Xt&&Ni<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>f.from&&f.doc.textBetween(p.start-f.from-1,p.start-f.from+1)==" Â "&&(p.start--,p.endA--,p.endB--);let g=f.doc.resolveNoCache(p.start-f.from),v=f.doc.resolveNoCache(p.endB-f.from),b=c.resolve(p.start),w=g.sameParent(v)&&g.parent.inlineContent&&b.end()>=p.endA;if((us&&t.input.lastIOSEnter>Date.now()-225&&(!w||r.some(_=>_.nodeName=="DIV"||_.nodeName=="P"))||!w&&Z6(f.doc,g.pos,v.pos))&&t.someProp("handleKeyDown",_=>_(t,er(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>p.start&&Y6(c,p.start,p.endA,g,v)&&t.someProp("handleKeyDown",_=>_(t,er(8,"Backspace")))){fi&&Mt&&t.domObserver.suppressSelectionUpdates();return}Mt&&p.endB==p.start&&(t.input.lastChromeDelete=Date.now()),fi&&!w&&g.start()!=v.start()&&v.parentOffset==0&&g.depth==v.depth&&f.sel&&f.sel.anchor==f.sel.head&&f.sel.head==p.endA&&(p.endB-=2,v=f.doc.resolveNoCache(p.endB-f.from),setTimeout(()=>{t.someProp("handleKeyDown",function(_){return _(t,er(13,"Enter"))})},20));let A=p.start,y=p.endA,x=_=>{let j=_||t.state.tr.replace(A,y,f.doc.slice(p.start-f.from,p.endB-f.from));if(f.sel){let I=Qp(t,j.doc,f.sel);I&&!(Mt&&t.composing&&I.empty&&(p.start!=p.endB||t.input.lastChromeDelete<Date.now()-100)&&(I.head==A||I.head==j.mapping.map(y)-1)||Xt&&I.empty&&I.head==A)&&j.setSelection(I)}return s&&j.setMeta("composition",s),j.scrollIntoView()},C;if(w)if(g.pos==v.pos){Xt&&Ni<=11&&g.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>pi(t),20));let _=x(t.state.tr.delete(A,y)),j=c.resolve(p.start).marksAcross(c.resolve(p.endA));j&&_.ensureMarks(j),t.dispatch(_)}else if(p.endA==p.endB&&(C=q6(g.parent.content.cut(g.parentOffset,v.parentOffset),b.parent.content.cut(b.parentOffset,p.endA-b.start())))){let _=x(t.state.tr);C.type=="add"?_.addMark(A,y,C.mark):_.removeMark(A,y,C.mark),t.dispatch(_)}else if(g.parent.child(g.index()).isText&&g.index()==v.index()-(v.textOffset?0:1)){let _=g.parent.textBetween(g.parentOffset,v.parentOffset),j=()=>x(t.state.tr.insertText(_,A,y));t.someProp("handleTextInput",I=>I(t,A,y,_,j))||t.dispatch(j())}else t.dispatch(x());else t.dispatch(x())}function Qp(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:Fu(t,e.resolve(n.anchor),e.resolve(n.head))}function q6(t,e){let n=t.firstChild.marks,i=e.firstChild.marks,r=n,s=i,o,a,l;for(let c=0;c<i.length;c++)r=i[c].removeFromSet(r);for(let c=0;c<n.length;c++)s=n[c].removeFromSet(s);if(r.length==1&&s.length==0)a=r[0],o="add",l=c=>c.mark(a.addToSet(c.marks));else if(r.length==0&&s.length==1)a=s[0],o="remove",l=c=>c.mark(a.removeFromSet(c.marks));else return null;let f=[];for(let c=0;c<e.childCount;c++)f.push(l(e.child(c)));if(J.from(f).eq(t))return{mark:a,type:o}}function Y6(t,e,n,i,r){if(n-e<=r.pos-i.pos||rf(i,!0,!1)<r.pos)return!1;let s=t.resolve(e);if(!i.parent.isTextblock){let a=s.nodeAfter;return a!=null&&n==e+a.nodeSize}if(s.parentOffset<s.parent.content.size||!s.parent.isTextblock)return!1;let o=t.resolve(rf(s,!0,!0));return!o.parent.isTextblock||o.pos>n||rf(o,!0,!1)<n?!1:i.parent.content.cut(i.parentOffset).eq(o.parent.content)}function Z6(t,e,n){let i=0,r=0;return t.nodesBetween(e,n,(s,o)=>{s.isTextblock&&o>=e&&o<n?i++:(s.isText?/\S/.test(s.text.slice(Math.max(0,e-o),Math.min(s.nodeSize,n-o))):s.isLeaf)&&r++}),r==0&&i==1}function rf(t,e,n){let i=t.depth,r=e?t.end():t.pos;for(;i>0&&(e||t.indexAfter(i)==t.node(i).childCount);)i--,r++,e=!1;if(n){let s=t.node(i).maybeChild(t.indexAfter(i));for(;s&&!s.isLeaf;)s=s.firstChild,r++}return r}function X6(t,e,n,i,r){let s=t.findDiffStart(e,n),o=n+t.size,a=n+e.size;if(s==null)return null;let{a:l,b:f}=t.findDiffEnd(e,o,a);if(r=="end"){let c=Math.max(0,s-Math.min(l,f));i-=l+c-s}if(l<s&&o<a){let c=i<=s&&i>=l?s-i:0;s-=c,f=s+(f-l),l=s}else if(f<s){let c=i<=s&&i>=f?s-i:0;s-=c,l=s+(l-f),f=s}return{start:s,endA:l,endB:f}}class Gv{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new p6,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(e1),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Zp(this),Yp(this),this.nodeViews=Xp(this),this.docView=Tp(this.state.doc,qp(this),nf(this),this.dom,this),this.domObserver=new H6(this,(i,r,s,o)=>Q6(this,i,r,s,o)),this.domObserver.start(),m6(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&kc(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(e1),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let i in this._props)n[i]=this._props[i];n.state=this.state;for(let i in e)n[i]=e[i];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var i;let r=this.state,s=!1,o=!1;e.storedMarks&&this.composing&&(Ov(this),o=!0),this.state=e;let a=r.plugins!=e.plugins||this._props.plugins!=n.plugins;if(a||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let m=Xp(this);t_(m,this.nodeViews)&&(this.nodeViews=m,s=!0)}(a||n.handleDOMEvents!=this._props.handleDOMEvents)&&kc(this),this.editable=Zp(this),Yp(this);let l=nf(this),f=qp(this),c=r.plugins!=e.plugins&&!r.doc.eq(e.doc)?"reset":e.scrollToSelection>r.scrollToSelection?"to selection":"preserve",u=s||!this.docView.matchesNode(e.doc,f,l);(u||!e.selection.eq(r.selection))&&(o=!0);let h=c=="preserve"&&o&&this.dom.style.overflowAnchor==null&&B4(this);if(o){this.domObserver.stop();let m=u&&(Xt||Mt)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&e_(r.selection,e.selection);if(u){let g=Mt?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=E6(this)),(s||!this.docView.update(e.doc,f,l,this))&&(this.docView.updateOuterDeco(f),this.docView.destroy(),this.docView=Tp(e.doc,f,l,this.dom,this)),g&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(m=!0)}let p=this.input.mouseDown;m||!(p&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&X4(this)&&p.delaySelUpdate())?pi(this,m):(_v(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),!((i=this.dragging)===null||i===void 0)&&i.node&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),c=="reset"?this.dom.scrollTop=0:c=="to selection"?this.scrollToSelection():h&&E4(h)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!yr(this.dom,e))){if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Ae){let n=this.docView.domAfterPos(this.state.selection.from);ve(n)&&jp(this,n.getBoundingClientRect(),e)}else jp(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n<this.directPlugins.length;n++){let i=this.directPlugins[n];i.spec.view&&this.pluginViews.push(i.spec.view(this))}for(let n=0;n<this.state.plugins.length;n++){let i=this.state.plugins[n];i.spec.view&&this.pluginViews.push(i.spec.view(this))}}else for(let n=0;n<this.pluginViews.length;n++){let i=this.pluginViews[n];i.update&&i.update(this,e)}}updateDraggedNode(e,n){let i=e.node,r=-1;if(i.from<this.state.doc.content.size&&this.state.doc.nodeAt(i.from)==i.node)r=i.from;else{let s=i.from+(this.state.doc.content.size-n.doc.content.size);(s>0&&s<this.state.doc.content.size&&this.state.doc.nodeAt(s))==i.node&&(r=s)}this.dragging=new zv(e.slice,e.move,r<0?void 0:Ae.create(this.state.doc,r))}someProp(e,n){let i=this._props&&this._props[e],r;if(i!=null&&(r=n?n(i):i))return r;for(let o=0;o<this.directPlugins.length;o++){let a=this.directPlugins[o].props[e];if(a!=null&&(r=n?n(a):a))return r}let s=this.state.plugins;if(s)for(let o=0;o<s.length;o++){let a=s[o].props[e];if(a!=null&&(r=n?n(a):a))return r}}hasFocus(){if(Xt){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&M4(this.dom),pi(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let n=this.dom.parentNode;n;n=n.parentNode)if(n.nodeType==9||n.nodeType==11&&n.host)return n.getSelection||(Object.getPrototypeOf(n).getSelection=()=>n.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return R4(this,e)}coordsAtPos(e,n=1){return gv(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,i=-1){let r=this.docView.posFromDOM(e,n,i);if(r==null)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,n){return H4(this,n||this.state,e)}pasteHTML(e,n){return Oo(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return Oo(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return Du(this,e)}destroy(){this.docView&&(g6(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],nf(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,y4())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return b6(this,e)}domSelectionRange(){let e=this.dom.isConnected!==!1&&this.domSelection();return e?Rt&&this.root.nodeType===11&&_4(this.dom.ownerDocument)==this.dom&&$6(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}Gv.prototype.dispatch=function(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))};function qp(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let i in n)i=="class"?e.class+=" "+n[i]:i=="style"?e.style=(e.style?e.style+";":"")+n[i]:!e[i]&&i!="contenteditable"&&i!="nodeName"&&(e[i]=String(n[i]))}),e.translate||(e.translate="no"),[Vt.node(0,t.state.doc.content.size,e)]}function Yp(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Vt.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Zp(t){return!t.someProp("editable",e=>e(t.state)===!1)}function e_(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function Xp(t){let e=Object.create(null);function n(i){for(let r in i)Object.prototype.hasOwnProperty.call(e,r)||(e[r]=i[r])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function t_(t,e){let n=0,i=0;for(let r in t){if(t[r]!=e[r])return!0;n++}for(let r in e)i++;return n!=i}function e1(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Hi={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},fl={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},n_=typeof navigator<"u"&&/Mac/.test(navigator.platform),i_=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Et=0;Et<10;Et++)Hi[48+Et]=Hi[96+Et]=String(Et);for(var Et=1;Et<=24;Et++)Hi[Et+111]="F"+Et;
vendor: 4,184 bytes, line 36
36for(var Et=65;Et<=90;Et++)Hi[Et]=String.fromCharCode(Et+32),fl[Et]=String.fromCharCode(Et);for(var sf in Hi)fl.hasOwnProperty(sf)||(fl[sf]=Hi[sf]);function r_(t){var e=n_&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||i_&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?fl:Hi)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const s_=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),o_=typeof navigator<"u"&&/Win/.test(navigator.platform);function a_(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let i,r,s,o;for(let a=0;a<e.length-1;a++){let l=e[a];if(/^(cmd|meta|m)$/i.test(l))o=!0;else if(/^a(lt)?$/i.test(l))i=!0;else if(/^(c|ctrl|control)$/i.test(l))r=!0;else if(/^s(hift)?$/i.test(l))s=!0;else if(/^mod$/i.test(l))s_?o=!0:r=!0;else throw new Error("Unrecognized modifier name: "+l)}return i&&(n="Alt-"+n),r&&(n="Ctrl-"+n),o&&(n="Meta-"+n),s&&(n="Shift-"+n),n}function l_(t){let e=Object.create(null);for(let n in t)e[a_(n)]=t[n];return e}function of(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function d_(t){return new Ye({props:{handleKeyDown:Kv(t)}})}function Kv(t){let e=l_(t);return function(n,i){let r=r_(i),s,o=e[of(r,i)];if(o&&o(n.state,n.dispatch,n))return!0;if(r.length==1&&r!=" "){if(i.shiftKey){let a=e[of(r,i,!1)];if(a&&a(n.state,n.dispatch,n))return!0}if((i.altKey||i.metaKey||i.ctrlKey)&&!(o_&&i.ctrlKey&&i.altKey)&&(s=Hi[i.keyCode])&&s!=r){let a=e[of(s,i)];if(a&&a(n.state,n.dispatch,n))return!0}}return!1}}var f_=Object.defineProperty,zu=(t,e)=>{for(var n in e)f_(t,n,{get:e[n],enumerable:!0})};function hd(t){const{state:e,transaction:n}=t;let{selection:i}=n,{doc:r}=n,{storedMarks:s}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return s},get selection(){return i},get doc(){return r},get tr(){return i=n.selection,r=n.doc,s=n.storedMarks,n}}}var pd=class{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:i}=e,{tr:r}=n,s=this.buildProps(r);return Object.fromEntries(Object.entries(t).map(([o,a])=>[o,(...f)=>{const c=a(...f)(s);return!r.getMeta("preventDispatch")&&!this.hasCustomState&&i.dispatch(r),c}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:i,state:r}=this,{view:s}=i,o=[],a=!!t,l=t||r.tr,f=()=>(!a&&e&&!l.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(l),o.every(u=>u===!0)),c={...Object.fromEntries(Object.entries(n).map(([u,h])=>[u,(...p)=>{const g=this.buildProps(l,e),v=h(...p)(g);return o.push(v),c}])),run:f};return c}createCan(t){const{rawCommands:e,state:n}=this,i=!1,r=t||n.tr,s=this.buildProps(r,i);return{...Object.fromEntries(Object.entries(e).map(([a,l])=>[a,(...f)=>l(...f)({...s,dispatch:void 0})])),chain:()=>this.createChain(r,i)}}buildProps(t,e=!0){const{rawCommands:n,editor:i,state:r}=this,{view:s}=i,o={tr:t,editor:i,view:s,state:hd({state:r,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t,e),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(n).map(([a,l])=>[a,(...f)=>l(...f)(o)]))}};return o}},Jv={};zu(Jv,{blur:()=>c_,clearContent:()=>u_,clearNodes:()=>h_,command:()=>p_,createParagraphNear:()=>m_,cut:()=>g_,deleteCurrentNode:()=>v_,deleteNode:()=>b_,deleteRange:()=>y_,deleteSelection:()=>A_,enter:()=>x_,exitCode:()=>__,extendMarkRange:()=>C_,first:()=>S_,focus:()=>I_,forEach:()=>B_,insertContent:()=>E_,insertContentAt:()=>F_,joinBackward:()=>R_,joinDown:()=>N_,joinForward:()=>L_,joinItemBackward:()=>O_,joinItemForward:()=>P_,joinTextblockBackward:()=>z_,joinTextblockForward:()=>H_,joinUp:()=>
36D_,keyboardShortcut:()=>$_,lift:()=>V_,liftEmptyBlock:()=>G_,liftListItem:()=>K_,newlineInCode:()=>J_,resetAttributes:()=>U_,scrollIntoView:()=>Q_,selectAll:()=>q_,selectNodeBackward:()=>Y_,selectNodeForward:()=>Z_,selectParentNode:()=>X_,selectTextblockEnd:()=>eC,selectTextblockStart:()=>tC,setContent:()=>nC,setMark:()=>xC,setMeta:()=>_C,setNode:()=>CC,setNodeSelection:()=>SC,setTextDirection:()=>jC,setTextSelection:()=>IC,sinkListItem:()=>BC,splitBlock:()=>EC,splitListItem:()=>MC,toggleList:()=>FC,toggleMark:()=>DC,toggleNode:()=>NC,toggleWrap:()=>RC,undoInputRule:()=>LC,unsetAllMarks:()=>OC,unsetMark:()=>PC,unsetTextDirection:()=>zC,updateAttributes:()=>HC,wrapIn:()=>WC,wrapInList:()=>$C});var c_=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var n;t.isDestroyed||(e.dom.blur(),(n=window?.getSelection())==null||n.removeAllRanges())}),!0),u_=(t=!0)=>({commands:e})=>e.setContent("",{emitUpdate:t}),h_=()=>({state:t,tr:e,dispatch:n})=>{const{selection:i}=e,{ranges:r}=i;return n&&r.forEach(({$from:s,$to:o})=>{t.doc.nodesBetween(s.pos,o.pos,(a,l)=>{if(a.type.isText)return;const{doc:f,mapping:c}=e,u=f.resolve(c.map(l)),h=f.resolve(c.map(l+a.nodeSize)),m=u.blockRange(h);if(!m)return;const p=Bs(m);if(a.type.isTextblock){const{defaultType:g}=u.parent.contentMatchAt(u.index());e.setNodeMarkup(m.start,g)}(p||p===0)&&e.lift(m,p)})}),!0},p_=t=>e=>t(e),m_=()=>({state:t,dispatch:e})=>sv(t,e),g_=(t,e)=>({editor:n,tr:i})=>{const{state:r}=n,s=r.doc.slice(t.from,t.to);i.deleteRange(t.from,t.to);const o=i.mapping.map(e);return i.insert(o,s.content),i.setSelection(new je(i.doc.resolve(Math.max(o-1,0)))),!0},v_=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,i=n.$anchor.node();if(i.content.size>0)return!1;const r=t.selection.$anchor;for(let s=r.depth;s>0;s-=1)if(r.node(s).type===i.type){if(e){const a=r.before(s),l=r.after(s);t.delete(a,l).scrollIntoView()}return!0}return!1};function ht(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}var b_=t=>({tr:e,state:n,dispatch:i})=>{const r=ht(t,n.schema),s=e.selection.$anchor;for(let o=s.depth;o>0;o-=1)if(s.node(o).type===r){if(i){const l=s.before(o),f=s.after(o);e.delete(l,f).scrollIntoView()}return!0}return!1},y_=t=>({tr:e,dispatch:n})=>{const{from:i,to:r}=t;return n&&e.delete(i,r),!0},k_=t=>t.content?/^text(\*|\+)/.test(t.content):!1,t1=(t,e,n)=>{if(!t.parent.isInline||n==="left"&&t.pos>t.start()||n==="right"&&t.pos<t.end())return t.pos;const i=e.nodes[t.parent.type.name].spec;return k_(i)?n==="left"?t.start()-1:t.end()+1:t.pos},w_=(t,e,n)=>{const i=t1(t,n,"left"),r=t1(e,n,"right");return{from:i,to:r}},A_=()=>({state:t,dispatch:e})=>{if(t.selection.empty)return!1;if(e){const n=t.tr,{ranges:i}=t.selection,r=n.steps.length;i.forEach(s=>{const o=n.mapping.slice(r),a=n.doc.resolve(o.map(s.$from.pos)),l=n.doc.resolve(o.map(s.$to.pos)),{from:f,to:c}=w_(a,l,t.schema);n.deleteRange(f,c)}),n.scrollIntoView(),e(n)}return!0},x_=()=>({commands:t})=>t.keyboardShortcut("Enter"),__=()=>({state:t,dispatch:e})=>r4(t,e);function Hu(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function cl(t,e,n={strict:!0}){const i=Object.keys(e);return i.length?i.every(r=>n.strict?e[r]===t[r]:Hu(e[r])?e[r].test(t[r]):e[r]===t[r]):!0}function Uv(t,e,n={}){return t.find(i=>i.type===e&&cl(Object.fromEntries(Object.keys(n).map(r=>[r,i.attrs[r]])),n))}function n1(t,e,n={}){return!!Uv(t,e,n)}function md(t,e,n){if(!t||!e)return;let i=t.parent.childAfter(t.parentOffset);if((!i.node||!i.node.marks.some(f=>f.type===e))&&(i=t.parent.childBefore(t.parentOffset)),!i.node||!i.node.marks.some(f=>f.type===e))return;if(!n){const f=i.node.marks.find(c=>c.type===e);f&&(n=f.attrs)}if(!Uv([...i.node.marks],e,n))return;let s=i.index,o=t.start()+i.offset,a=s+1,l=o+i.node.nodeSize;for(;s>0&&n1([...t.parent.child(s-1).marks],e,n);)s-=1,o-=t.parent.child(s).nodeSize;for(;a<t.parent.childCount&&n1([...t.parent.child(a).marks],e,n);)l+=t.parent.child(a).nodeSize,a+=1;return{from:o,to:l}}function vi(t,e){if(typeof t=="string"){if(!e.marks[t])throw Error(`There is no mark type named '${t}'. Maybe you forgot to add the extension?`);return e.marks[t]}return t}var C_=(t,e)=>({tr:n,state:i,dispatch:r})=>{const s=vi(t,i.schema),{doc:o,selection:a}=n,{$from:l,from:f,to:c}=a;if(r){const u=md(l,s,e);if(u&&u.from<=f&&u.to>=c){const h=je.create(o,u.from,u.to);n.setSelection(h)}}return!0},S_=t=>e=>{const n=typeof t=="function"?t(e):t;for(let i=0;i<n.length;i+=1)if(n[i](e))return!0;return!1};function Qv(t){return t instanceof je}function ir(t=0,e=0,n=0){return Math.min(Math.max(t,e),n)}function qv(t,e=null){if(!e)return null;const n=Be.atStart(t),i=Be.atEnd(t);if(e==="start"||e===!0)return n;if(e==="end")return i;const r=n.from,s=i.to;return e==="all"?je.create(t,ir(0,r,s),ir(t.content.size,r,s)):je.create(t,ir(e,r,s),ir(e,r,s))}function i1(){return navigator.platform==="Android"||/android/i.test(navigator.userAgent)}function ul(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function j_(){return typeof navigator<"u"?/^((?!chrome|android).)*safari/i.test(navigator.userAgent):!1}var I_=(t=null,e={})=>({editor:n,view:i,tr:r,dispatch:s})=>{e={scrollIntoView:!0,...e};const o=()=>{(ul()||i1())&&i.dom.focus(),j_()&&!ul()&&!i1()&&i.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(i.focus(),e?.scrollIntoView&&n.commands.scrollIntoView())})};try{if(i.hasFocus()&&t===null||t===!1)return!0}catch{return!1}if(s&&t===null&&!Qv(n.state.selection))return o(),!0;const a=qv(r.doc,t)||n.state.selection,l=n.state.selection.eq(a);return s&&(l||r.setSelection(a),l&&r.storedMarks&&r.setStoredMarks(r.storedMarks),o()),!0},B_=(t,e)=>n=>t.every((i,r)=>e(i,{...n,index:r})),E_=(t,e)=>({tr:n,commands:i})=>i.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),Yv=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const i=e[n];i.nodeType===3&&i.nodeValue&&/^(\n\s\s|\n)$/.test(i.nodeValue)?t.removeChild(i):i.nodeType===1&&Yv(i)}return t};function da(t){if(typeof window>"u")throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");const e=`<body>${t}</body>`,n=new window.DOMParser().parseFromString(e,"text/html").body;return Yv(n)}function zo(t,e,n){if(t instanceof Di||t instanceof J)return t;n={slice:!0,parseOptions:{},...n};const i=typeof t=="object"&&t!==null,r=typeof t=="string";if(i)try{if(Array.isArray(t)&&t.length>0)return J.fromArray(t.map(a=>e.nodeFromJSON(a)));const o=e.nodeFromJSON(t);return n.errorOnInvalidContent&&o.check(),o}catch(s){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:s});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",s),zo("",e,n)}if(r){if(n.errorOnInvalidContent){let o=!1,a="";const l=new S0({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:f=>(o=!0,a=typeof f=="string"?f:f.outerHTML,null)}]}})});if(n.slice?co.fromSchema(l).parseSlice(da(t),n.parseOptions):co.fromSchema(l).parse(da(t),n.parseOptions),n.errorOnInvalidContent&&o)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${a}`)})}const s=co.fromSchema(e);return n.slice?s.parseSlice(da(t),n.parseOptions).content:s.parse(da(t),n.parseOptions)}return zo("",e,n)}function M_(t,e,n){const i=t.steps.length-1;if(i<e)return;const r=t.steps[i];if(!(r instanceof vn||r instanceof en))return;const s=t.mapping.maps[i];let o=0;
vendor: 4,219 bytes, line 36
36s.forEach((a,l,f,c)=>{o===0&&(o=c)}),t.setSelection(Be.near(t.doc.resolve(o),n))}var T_=t=>!("type"in t),F_=(t,e,n)=>({tr:i,dispatch:r,editor:s})=>{var o;if(r){n={parseOptions:s.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let a;const l=v=>{s.emit("contentError",{editor:s,error:v,disableCollaboration:()=>{"collaboration"in s.storage&&typeof s.storage.collaboration=="object"&&s.storage.collaboration&&(s.storage.collaboration.isDisabled=!0)}})},f={preserveWhitespace:"full",...n.parseOptions};if(!n.errorOnInvalidContent&&!s.options.enableContentCheck&&s.options.emitContentError)try{zo(e,s.schema,{parseOptions:f,errorOnInvalidContent:!0})}catch(v){l(v)}try{a=zo(e,s.schema,{parseOptions:f,errorOnInvalidContent:(o=n.errorOnInvalidContent)!=null?o:s.options.enableContentCheck})}catch(v){return l(v),!1}let{from:c,to:u}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},h=!0,m=!0;if((T_(a)?a:[a]).forEach(v=>{v.check(),h=h?v.isText&&v.marks.length===0:!1,m=m?v.isBlock:!1}),c===u&&m){const{parent:v}=i.doc.resolve(c);v.isTextblock&&!v.type.spec.code&&!v.childCount&&(c-=1,u+=1)}let g;if(h){if(Array.isArray(e))g=e.map(v=>v.text||"").join("");else if(e instanceof J){let v="";e.forEach(b=>{b.text&&(v+=b.text)}),g=v}else typeof e=="object"&&e&&e.text?g=e.text:g=e;i.insertText(g,c,u)}else{g=a;const v=i.doc.resolve(c),b=v.node(),w=v.parentOffset===0,A=b.isText||b.isTextblock,y=b.content.size>0;w&&A&&y&&m&&(c=Math.max(0,c-1)),i.replaceWith(c,u,g)}n.updateSelection&&M_(i,i.steps.length-1,-1),n.applyInputRules&&i.setMeta("applyInputRules",{from:c,text:g}),n.applyPasteRules&&i.setMeta("applyPasteRules",{from:c,text:g})}return!0},D_=()=>({state:t,dispatch:e})=>t4(t,e),N_=()=>({state:t,dispatch:e})=>n4(t,e),R_=()=>({state:t,dispatch:e})=>Z0(t,e),L_=()=>({state:t,dispatch:e})=>nv(t,e),O_=()=>({state:t,dispatch:e,tr:n})=>{try{const i=ld(t.doc,t.selection.$from.pos,-1);return i==null?!1:(n.join(i,2),e&&e(n),!0)}catch{return!1}},P_=()=>({state:t,dispatch:e,tr:n})=>{try{const i=ld(t.doc,t.selection.$from.pos,1);return i==null?!1:(n.join(i,2),e&&e(n),!0)}catch{return!1}},z_=()=>({state:t,dispatch:e})=>Xx(t,e),H_=()=>({state:t,dispatch:e})=>e4(t,e);function Zv(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function W_(t){const e=t.split(/-(?!$)/);let n=e[e.length-1];n==="Space"&&(n=" ");let i,r,s,o;for(let a=0;a<e.length-1;a+=1){const l=e[a];if(/^(cmd|meta|m)$/i.test(l))o=!0;else if(/^a(lt)?$/i.test(l))i=!0;else if(/^(c|ctrl|control)$/i.test(l))r=!0;else if(/^s(hift)?$/i.test(l))s=!0;else if(/^mod$/i.test(l))ul()||Zv()?o=!0:r=!0;else throw new Error(`Unrecognized modifier name: ${l}`)}return i&&(n=`Alt-${n}`),r&&(n=`Ctrl-${n}`),o&&(n=`Meta-${n}`),s&&(n=`Shift-${n}`),n}var $_=t=>({editor:e,view:n,tr:i,dispatch:r})=>{const s=W_(t).split(/-(?!$)/),o=s.find(f=>!["Alt","Ctrl","Meta","Shift"].includes(f)),a=new KeyboardEvent("keydown",{key:o==="Space"?" ":o,altKey:s.includes("Alt"),ctrlKey:s.includes("Ctrl"),metaKey:s.includes("Meta"),shiftKey:s.includes("Shift"),bubbles:!0,cancelable:!0}),l=e.captureTransaction(()=>{n.someProp("handleKeyDown",f=>f(n,a))});return l?.steps.forEach(f=>{const c=f.map(i.mapping);c&&r&&i.maybeStep(c)}),!0};function Wi(t,e,n={}){const{from:i,to:r,empty:s}=t.selection,o=e?ht(e,t.schema):null,a=[];t.doc.nodesBetween(i,r,(u,h)=>{if(u.isText)return;const m=Math.max(i,h),p=Math.min(r,h+u.nodeSize);a.push({node:u,from:m,to:p})});const l=r-i,f=a.filter(u=>o?o.name===u.node.type.name:!0).filter(u=>cl(u.node.attrs,n,{strict:!1}));return s?!!f.length:f.reduce((u,h)=>u+h.to-h.from,0)>=l}var V_=(t,e={})=>({state:n,dispatch:i})=>{const r=ht(t,n.schema);return Wi(n,r,e)?i4(n,i):!1},G_=()=>({state:t,dispatch:e})=>ov(t,e),K_=t=>({state:e,dispatch:n})=>{const i=ht(t,e.schema);return m4(i)(e,n)},J_=()=>({state:t,dispatch:e})=>rv(t,e);function gd(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function r1(t,e){const n=typeof e=="string"?[e]:e;return Object.keys(t).reduce((i,r)=>(n.includes(r)||(i[r]=t[r]),i),{})}var U_=(t,e)=>({tr:n,state:i,dispatch:r})=>{let s=null,o=null;const a=gd(typeof t=="string"?t:t.name,i.schema);if(!a)return!1;a==="node"&&(s=ht(t,i.schema)),a==="mark"&&(o=vi(t,i.schema));let l=!1;
36return n.selection.ranges.forEach(f=>{i.doc.nodesBetween(f.$from.pos,f.$to.pos,(c,u)=>{s&&s===c.type&&(l=!0,r&&n.setNodeMarkup(u,void 0,r1(c.attrs,e))),o&&c.marks.length&&c.marks.forEach(h=>{o===h.type&&(l=!0,r&&n.addMark(u,u+c.nodeSize,o.create(r1(h.attrs,e))))})})}),l},Q_=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),q_=()=>({tr:t,dispatch:e})=>{if(e){const n=new hi(t.doc);t.setSelection(n)}return!0},Y_=()=>({state:t,dispatch:e})=>ev(t,e),Z_=()=>({state:t,dispatch:e})=>iv(t,e),X_=()=>({state:t,dispatch:e})=>a4(t,e),eC=()=>({state:t,dispatch:e})=>f4(t,e),tC=()=>({state:t,dispatch:e})=>d4(t,e);function wc(t,e,n={},i={}){return zo(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:i.errorOnInvalidContent})}var nC=(t,{errorOnInvalidContent:e,emitUpdate:n=!0,parseOptions:i={}}={})=>({editor:r,tr:s,dispatch:o,commands:a})=>{const{doc:l}=s;if(i.preserveWhitespace!=="full"){const f=wc(t,r.schema,i,{errorOnInvalidContent:e??r.options.enableContentCheck});return o&&s.replaceWith(0,l.content.size,f).setMeta("preventUpdate",!n),!0}return o&&s.setMeta("preventUpdate",!n),a.insertContentAt({from:0,to:l.content.size},t,{parseOptions:i,errorOnInvalidContent:e??r.options.enableContentCheck})};function Xv(t,e){const n=vi(e,t.schema),{from:i,to:r,empty:s}=t.selection,o=[];s?(t.storedMarks&&o.push(...t.storedMarks),o.push(...t.selection.$head.marks())):t.doc.nodesBetween(i,r,l=>{o.push(...l.marks)});const a=o.find(l=>l.type.name===n.name);return a?{...a.attrs}:{}}function eb(t,e){const n=new V0(t);return e.forEach(i=>{i.steps.forEach(r=>{n.step(r)})}),n}function iC(t){for(let e=0;e<t.edgeCount;e+=1){const{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function rC(t,e,n){const i=[];return t.nodesBetween(e.from,e.to,(r,s)=>{n(r)&&i.push({node:r,pos:s})}),i}function sC(t,e){for(let n=t.depth;n>0;n-=1){const i=t.node(n);if(e(i))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:i}}}function vd(t){return e=>sC(e.$from,t)}function he(t,e,n){return t.config[e]===void 0&&t.parent?he(t.parent,e,n):typeof t.config[e]=="function"?t.config[e].bind({...n,parent:t.parent?he(t.parent,e,n):null}):t.config[e]}function Wu(t){return t.map(e=>{const n={name:e.name,options:e.options,storage:e.storage},i=he(e,"addExtensions",n);return i?[e,...Wu(i())]:e}).flat(10)}function $u(t,e){const n=_r.fromSchema(e).serializeFragment(t),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(n),r.innerHTML}function tb(t){return typeof t=="function"}function Oe(t,e=void 0,...n){return tb(t)?e?t.bind(e)(...n):t(...n):t}function oC(t={}){return Object.keys(t).length===0&&t.constructor===Object}function hs(t){const e=t.filter(r=>r.type==="extension"),n=t.filter(r=>r.type==="node"),i=t.filter(r=>r.type==="mark");return{baseExtensions:e,nodeExtensions:n,markExtensions:i}}function nb(t){const e=[],{nodeExtensions:n,markExtensions:i}=hs(t),r=[...n,...i],s={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(f=>f.name!=="text").map(f=>f.name),a=i.map(f=>f.name),l=[...o,...a];return t.forEach(f=>{const c={name:f.name,options:f.options,storage:f.storage,extensions:r},u=he(f,"addGlobalAttributes",c);if(!u)return;u().forEach(m=>{let p;Array.isArray(m.types)?p=m.types:m.types==="*"?p=l:m.types==="nodes"?p=o:m.types==="marks"?p=a:p=[],p.forEach(g=>{Object.entries(m.attributes).forEach(([v,b])=>{e.push({type:g,name:v,attribute:{...s,...b}})})})})}),r.forEach(f=>{const c={name:f.name,options:f.options,storage:f.storage},u=he(f,"addAttributes",c);if(!u)return;const h=u();Object.entries(h).forEach(([m,p])=>{const g={...s,...p};typeof g?.default=="function"&&(g.default=g.default()),g?.isRequired&&g?.default===void 0&&delete g.default,e.push({type:f.name,name:m,attribute:g})})}),e}function aC(t){const e=[];let n="",i=!1,r=!1,s=0;const o=t.length;for(let a=0;a<o;a+=1){const l=t[a];if(l==="'"&&!r){i=!i,n+=l;continue}if(l==='"'&&!i){r=!r,n+=l;continue}if(!i&&!r){if(l==="("){s+=1,n+=l;continue}if(l===")"&&s>0){s-=1,n+=l;continue}if(l===";"&&s===0){e.push(n),n="";continue}}n+=l}return n&&e.push(n),e}function s1(t){const e=[],n=aC(t||""),i=n.length;for(let r=0;r<i;r+=1){const s=n[r],o=s.indexOf(":");if(o===-1)continue;const a=s.slice(0,o).trim(),l=s.slice(o+1).trim();a&&l&&e.push([a,l])}return e}function tt(...t){return t.filter(e=>!!e).reduce((e,n)=>{const i={...e};
vendor: 11,666 bytes, lines 36-38
36return Object.entries(n).forEach(([r,s])=>{if(!i[r]){i[r]=s;return}if(r==="class"){const a=s?String(s).split(" "):[],l=i[r]?i[r].split(" "):[],f=a.filter(c=>!l.includes(c));i[r]=[...l,...f].join(" ")}else if(r==="style"){const a=new Map([...s1(i[r]),...s1(s)]);i[r]=Array.from(a.entries()).map(([l,f])=>`${l}: ${f}`).join("; ")}else i[r]=s}),i},{})}function Ho(t,e){return e.filter(n=>n.type===t.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(t.attrs)||{}:{[n.name]:t.attrs[n.name]}).reduce((n,i)=>tt(n,i),{})}function lC(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function o1(t,e){return"style"in t?t:{...t,getAttrs:n=>{const i=t.getAttrs?t.getAttrs(n):t.attrs;if(i===!1)return!1;const r=e.reduce((s,o)=>{const a=o.attribute.parseHTML?o.attribute.parseHTML(n):lC(n.getAttribute(o.name));return a==null?s:{...s,[o.name]:a}},{});return{...i,...r}}}}function a1(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>e==="attrs"&&oC(n)?!1:n!=null))}function l1(t){var e,n;const i={};return!((e=t?.attribute)!=null&&e.isRequired)&&"default"in(t?.attribute||{})&&(i.default=t.attribute.default),((n=t?.attribute)==null?void 0:n.validate)!==void 0&&(i.validate=t.attribute.validate),[t.name,i]}function dC(t,e){var n;const i=nb(t),{nodeExtensions:r,markExtensions:s}=hs(t),o=(n=r.find(f=>he(f,"topNode")))==null?void 0:n.name,a=Object.fromEntries(r.map(f=>{const c=i.filter(b=>b.type===f.name),u={name:f.name,options:f.options,storage:f.storage,editor:e},h=t.reduce((b,w)=>{const A=he(w,"extendNodeSchema",u);return{...b,...A?A(f):{}}},{}),m=a1({...h,content:Oe(he(f,"content",u)),marks:Oe(he(f,"marks",u)),group:Oe(he(f,"group",u)),inline:Oe(he(f,"inline",u)),atom:Oe(he(f,"atom",u)),selectable:Oe(he(f,"selectable",u)),draggable:Oe(he(f,"draggable",u)),code:Oe(he(f,"code",u)),whitespace:Oe(he(f,"whitespace",u)),linebreakReplacement:Oe(he(f,"linebreakReplacement",u)),defining:Oe(he(f,"defining",u)),isolating:Oe(he(f,"isolating",u)),attrs:Object.fromEntries(c.map(l1))}),p=Oe(he(f,"parseHTML",u));p&&(m.parseDOM=p.map(b=>o1(b,c)));const g=he(f,"renderHTML",u);g&&(m.toDOM=b=>g({node:b,HTMLAttributes:Ho(b,c)}));const v=he(f,"renderText",u);return v&&(m.toText=v),[f.name,m]})),l=Object.fromEntries(s.map(f=>{const c=i.filter(v=>v.type===f.name),u={name:f.name,options:f.options,storage:f.storage,editor:e},h=t.reduce((v,b)=>{const w=he(b,"extendMarkSchema",u);return{...v,...w?w(f):{}}},{}),m=a1({...h,inclusive:Oe(he(f,"inclusive",u)),excludes:Oe(he(f,"excludes",u)),group:Oe(he(f,"group",u)),spanning:Oe(he(f,"spanning",u)),code:Oe(he(f,"code",u)),attrs:Object.fromEntries(c.map(l1))}),p=Oe(he(f,"parseHTML",u));p&&(m.parseDOM=p.map(v=>o1(v,c)));const g=he(f,"renderHTML",u);return g&&(m.toDOM=v=>g({mark:v,HTMLAttributes:Ho(v,c)})),[f.name,m]}));return new S0({topNode:o,nodes:a,marks:l})}function fC(t){const e=t.filter((n,i)=>t.indexOf(n)!==i);return Array.from(new Set(e))}function mo(t){return t.sort((n,i)=>{const r=he(n,"priority")||100,s=he(i,"priority")||100;return r>s?-1:r<s?1:0})}function ib(t){const e=mo(Wu(t)),n=fC(e.map(i=>i.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(i=>`'${i}'`).join(", ")}]. This can lead to issues.`),e}function rb(t,e,n){const{from:i,to:r}=e,{blockSeparator:s=` 37 38`,textSerializers:o={}}=n||{};let a="";return t.nodesBetween(i,r,(l,f,c,u)=>{var h;l.isBlock&&f>i&&(a+=s);const m=o?.[l.type.name];if(m)return c&&(a+=m({node:l,pos:f,parent:c,index:u,range:e})),!1;l.isText&&(a+=(h=l?.text)==null?void 0:h.slice(Math.max(i,f)-f,r-f))}),a}function cC(t,e){const n={from:0,to:t.content.size};return rb(t,n,e)}function sb(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,n])=>[e,n.spec.toText]))}function uC(t,e){const n=ht(e,t.schema),{from:i,to:r}=t.selection,s=[];t.doc.nodesBetween(i,r,a=>{s.push(a)});const o=s.reverse().find(a=>a.type.name===n.name);return o?{...o.attrs}:{}}function ob(t,e){const n=gd(typeof e=="string"?e:e.name,t.schema);return n==="node"?uC(t,e):n==="mark"?Xv(t,e):{}}function hC(t,e=JSON.stringify){const n={};return t.filter(i=>{const r=e(i);return Object.prototype.hasOwnProperty.call(n,r)?!1:n[r]=!0})}function pC(t){const e=hC(t);return e.length===1?e:e.filter((n,i)=>!e.filter((s,o)=>o!==i).some(s=>n.oldRange.from>=s.oldRange.from&&n.oldRange.to<=s.oldRange.to&&n.newRange.from>=s.newRange.from&&n.newRange.to<=s.newRange.to))}function Vu(t){const{mapping:e,steps:n}=t,i=[];return e.maps.forEach((r,s)=>{const o=[];if(r.ranges.length)r.forEach((a,l)=>{o.push({from:a,to:l})});else{const{from:a,to:l}=n[s];if(a===void 0||l===void 0)return;o.push({from:a,to:l})}o.forEach(({from:a,to:l})=>{const f=e.slice(s).map(a,-1),c=e.slice(s).map(l),u=e.invert().map(f,-1),h=e.invert().map(c);i.push({oldRange:{from:u,to:h},newRange:{from:f,to:c}})})}),pC(i)}function Gu(t,e,n){const i=[];return t===e?n.resolve(t).marks().forEach(r=>{const s=n.resolve(t),o=md(s,r.type);o&&i.push({mark:r,...o})}):n.nodesBetween(t,e,(r,s)=>{!r||r?.nodeSize===void 0||i.push(...r.marks.map(o=>({from:s,to:s+r.nodeSize,mark:o})))}),i}var mC=(t,e,n,i=20)=>{const r=t.doc.resolve(n);let s=i,o=null;for(;s>0&&o===null;){const a=r.node(s);a?.type.name===e?o=a:s-=1}return[o,s]};function Rs(t,e){return e.nodes[t]||e.marks[t]||null}function La(t,e,n){return Object.fromEntries(Object.entries(n).filter(([i])=>{const r=t.find(s=>s.type===e&&s.name===i);return r?r.attribute.keepOnSplit:!1}))}var gC=(t,e=500)=>{let n="";const i=t.parentOffset;return t.parent.nodesBetween(Math.max(0,i-e),i,(r,s,o,a)=>{var l,f;const c=((f=(l=r.type.spec).toText)==null?void 0:f.call(l,{node:r,pos:s,parent:o,index:a}))||r.textContent||"%leaf%";n+=r.isAtom&&!r.isText?c:c.slice(0,Math.max(0,i-s))}),n};function Ac(t,e,n={}){const{empty:i,ranges:r}=t.selection,s=e?vi(e,t.schema):null;if(i)return!!(t.storedMarks||t.selection.$from.marks()).filter(u=>s?s.name===u.type.name:!0).find(u=>cl(u.attrs,n,{strict:!1}));let o=0;const a=[];if(r.forEach(({$from:u,$to:h})=>{const m=u.pos,p=h.pos;t.doc.nodesBetween(m,p,(g,v)=>{if(s&&g.inlineContent&&!g.type.allowsMarkType(s))return!1;if(!g.isText&&!g.marks.length)return;const b=Math.max(m,v),w=Math.min(p,v+g.nodeSize),A=w-b;o+=A,a.push(...g.marks.map(y=>({mark:y,from:b,to:w})))})}),o===0)return!1;const l=a.filter(u=>s?s.name===u.mark.type.name:!0).filter(u=>cl(u.mark.attrs,n,{strict:!1})).reduce((u,h)=>u+h.to-h.from,0),f=a.filter(u=>s?u.mark.type!==s&&u.mark.type.excludes(s):!0).reduce((u,h)=>u+h.to-h.from,0);return(l>0?l+f:l)>=o}function vC(t,e,n={}){if(!e)return Wi(t,null,n)||Ac(t,null,n);const i=gd(e,t.schema);return i==="node"?Wi(t,e,n):i==="mark"?Ac(t,e,n):!1}var bC=(t,e)=>{const{$from:n,$to:i,$anchor:r}=t.selection;if(e){const s=vd(a=>a.type.name===e)(t.selection);if(!s)return!1;const o=t.doc.resolve(s.pos+1);return r.pos+1===o.end()}return!(i.parentOffset<i.parent.nodeSize-2||n.pos!==i.pos)},yC=t=>{const{$from:e,$to:n}=t.selection;return!(e.parentOffset>0||e.pos!==n.pos)};function d1(t,e){return Array.isArray(e)?e.some(n=>(typeof n=="string"?n:n.name)===t.name):e}function af(t,e){const{nodeExtensions:n}=hs(e),i=n.find(o=>o.name===t);if(!i)return!1;const r={name:i.name,options:i.options,storage:i.storage},s=Oe(he(i,"group",r));return typeof s!="string"?!1:s.split(" ").includes("list")}function Yo(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var i;if(n){if(t.type.name==="hardBreak")return!0;if(t.isText)return!/\S/.test((i=t.text)!=null?i:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let r=!0;return t.content.forEach(s=>{r!==!1&&(Yo(s,{ignoreWhitespace:n,checkChildren:e})||(r=!1))}),r}return!1}function ab(t){return t instanceof Ae}var lb=class db{constructor(e){this.position=e}static fromJSON(e){return new db(e.position)}toJSON(){return{position:this.position}}};function kC(t,e){const n=e.mapping.mapResult(t.position);return{position:new lb(n.pos),mapResult:n}}function wC(t){return new lb(t)}function AC(t,e,n){var i;const{selection:r}=e;let s=null;if(Qv(r)&&(s=r.$cursor),s){const a=(i=t.storedMarks)!=null?i:s.marks();return s.parent.type.allowsMarkType(n)&&(!!n.isInSet(a)||!a.some(f=>f.type.excludes(n)))}const{ranges:o}=r;return o.some(({$from:a,$to:l})=>{let f=a.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(n):!1;return t.doc.nodesBetween(a.pos,l.pos,(c,u,h)=>{if(f)return!1;if(c.isInline){const m=!h||h.type.allowsMarkType(n),p=!!n.isInSet(c.marks)||!c.marks.some(g=>g.type.excludes(n));f=m&&p}return!f}),f})}var xC=(t,e={})=>({tr:n,state:i,dispatch:r})=>{const{selection:s}=n,{empty:o,ranges:a}=s,l=vi(t,i.schema);if(r)if(o){const f=Xv(i,l);n.addStoredMark(l.create({...f,...e}))}else a.forEach(f=>{const c=f.$from.pos,u=f.$to.pos;i.doc.nodesBetween(c,u,(h,m)=>{const p=Math.max(m,c),g=Math.min(m+h.nodeSize,u);h.marks.find(b=>b.type===l)?h.marks.forEach(b=>{l===b.type&&n.addMark(p,g,l.create({...b.attrs,...e}))}):n.addMark(p,g,l.create(e))})});return AC(i,n,l)},_C=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),CC=(t,e={})=>({state:n,dispatch:i,chain:r})=>{const s=ht(t,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),s.isTextblock?r().command(({commands:a})=>_p(s,{...o,...e})(n)?!0:a.clearNodes()).command(({state:a})=>_p(s,{...o,...e})(a,i)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},SC=t=>({tr:e,dispatch:n})=>{if(n){const{doc:i}=e,r=ir(t,0,i.content.size),s=Ae.create(i,r);e.setSelection(s)}return!0},jC=(t,e)=>({tr:n,state:i,dispatch:r})=>{const{selection:s}=i;let o,a;return typeof e=="number"?(o=e,a=e):e&&"from"in e&&"to"in e?(o=e.from,a=e.to):(o=s.from,a=s.to),r&&n.doc.nodesBetween(o,a,(l,f)=>{l.isText||n.setNodeMarkup(f,void 0,{...l.attrs,dir:t})}),!0},IC=t=>({tr:e,dispatch:n})=>{if(n){const{doc:i}=e,{from:r,to:s}=typeof t=="number"?{from:t,to:t}:t,o=je.atStart(i).from,a=je.atEnd(i).to,l=ir(r,o,a),f=ir(s,o,a),c=je.create(i,l,f);e.setSelection(c)}return!0},BC=t=>({state:e,dispatch:n})=>{const i=ht(t,e.schema);return b4(i)(e,n)};function f1(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const i=n.filter(r=>e?.includes(r.type.name));t.tr.ensureMarks(i)}}var EC=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:i,editor:r})=>{const{selection:s,doc:o}=e,{$from:a,$to:l}=s,f=r.extensionManager.attributes,c=La(f,a.node().type.name,a.node().attrs);if(s instanceof Ae&&s.node.isBlock)return!a.parentOffset||!ui(o,a.pos)?!1:(i&&(t&&f1(n,r.extensionManager.splittableMarks),e.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;const u=l.parentOffset===l.parent.content.size,h=a.depth===0?void 0:iC(a.node(-1).contentMatchAt(a.indexAfter(-1)));let m=u&&h?[{type:h,attrs:c}]:void 0,p=ui(e.doc,e.mapping.map(a.pos),1,m);if(!m&&!p&&ui(e.doc,e.mapping.map(a.pos),1,h?[{type:h}]:void 0)&&(p=!0,m=h?[{type:h,attrs:c}]:void 0),i){if(p&&(s instanceof je&&e.deleteSelection(),e.split(e.mapping.map(a.pos),1,m),h&&!u&&!a.parentOffset&&a.parent.type!==h)){const g=e.mapping.map(a.before()),v=e.doc.resolve(g);a.node(-1).canReplaceWith(v.index(),v.index()+1,h)&&e.setNodeMarkup(e.mapping.map(a.before()),h)}t&&f1(n,r.extensionManager.splittableMarks),e.scrollIntoView()}return p},MC=(t,e={})=>({tr:n,state:i,dispatch:r,editor:s})=>{var o;const a=ht(t,i.schema),{$from:l,$to:f}=i.selection,c=i.selection.node;if(c&&c.isBlock||l.depth<2||!l.sameParent(f))return!1;const u=l.node(-1);if(u.type!==a)return!1;const h=s.extensionManager.attributes;if(l.parent.content.size===0&&l.node(-1).childCount===l.indexAfter(-1)){if
38(l.depth===2||l.node(-3).type!==a||l.index(-2)!==l.node(-2).childCount-1)return!1;if(r){let b=J.empty;const w=l.index(-1)?1:l.index(-2)?2:3;for(let j=l.depth-w;j>=l.depth-3;j-=1)b=J.from(l.node(j).copy(b));const A=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3,y={...La(h,l.node().type.name,l.node().attrs),...e},x=((o=a.contentMatch.defaultType)==null?void 0:o.createAndFill(y))||void 0;b=b.append(J.from(a.createAndFill(null,x)||void 0));const C=l.before(l.depth-(w-1));n.replace(C,l.after(-A),new le(b,4-w,0));let _=-1;n.doc.nodesBetween(C,n.doc.content.size,(j,I)=>{if(_>-1)return!1;j.isTextblock&&j.content.size===0&&(_=I+1)}),_>-1&&n.setSelection(je.near(n.doc.resolve(_))),n.scrollIntoView()}return!0}const m=f.pos===l.end()?u.contentMatchAt(0).defaultType:null,p={...La(h,u.type.name,u.attrs),...e},g={...La(h,l.node().type.name,l.node().attrs),...e};n.delete(l.pos,f.pos);const v=m?[{type:a,attrs:p},{type:m,attrs:g}]:[{type:a,attrs:p}];if(!ui(n.doc,l.pos,2))return!1;if(r){const{selection:b,storedMarks:w}=i,{splittableMarks:A}=s.extensionManager,y=w||b.$to.parentOffset&&b.$from.marks();if(n.split(l.pos,2,v).scrollIntoView(),!y||!r)return!0;const x=y.filter(C=>A.includes(C.type.name));n.ensureMarks(x)}return!0};function c1(t){return!t||t==="1"?null:t}function fb(t,e){return c1(t)===c1(e)}var lf=(t,e)=>{const n=vd(o=>o.type===e)(t.selection);if(!n)return!0;const i=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(i===void 0)return!0;const r=t.doc.nodeAt(i);return!(n.node.type===r?.type&&Vi(t.doc,n.pos))||!fb(n.node.attrs.type,r?.attrs.type)||t.join(n.pos),!0},df=(t,e)=>{const n=vd(o=>o.type===e)(t.selection);if(!n)return!0;const i=t.doc.resolve(n.start).after(n.depth);if(i===void 0)return!0;const r=t.doc.nodeAt(i);return!(n.node.type===r?.type&&Vi(t.doc,i))||!fb(n.node.attrs.type,r?.attrs.type)||t.join(i),!0};function TC(t){const e=t.doc,n=e.firstChild;if(!n)return null;const i=e.resolve(1),r=e.resolve(n.nodeSize-1);return je.between(i,r)}var FC=(t,e,n,i={})=>({editor:r,tr:s,state:o,dispatch:a,chain:l,commands:f,can:c})=>{const{extensions:u,splittableMarks:h}=r.extensionManager,m=ht(t,o.schema),p=ht(e,o.schema),{selection:g,storedMarks:v}=o,{$from:b,$to:w}=g,A=b.blockRange(w),y=v||g.$to.parentOffset&&g.$from.marks();if(!A)return!1;const x=vd(T=>af(T.type.name,u))(g),C=g.from===0&&g.to===o.doc.content.size,_=o.doc.content.content,j=_.length===1?_[0]:null,I=C&&j&&af(j.type.name,u)?{node:j,pos:0}:null,E=x??I,F=!!x&&A.depth>=1&&A.depth-x.depth<=1,N=!!I;if((F||N)&&E){if(E.node.type===m)return C&&N?l().command(({tr:T,dispatch:B})=>{const M=TC(T);return M?(T.setSelection(M),B&&B(T),!0):!1}).liftListItem(p).run():f.liftListItem(p);if(af(E.node.type.name,u)&&m.validContent(E.node.content))return l().command(()=>(s.setNodeMarkup(E.pos,m),!0)).command(()=>lf(s,m)).command(()=>df(s,m)).run()}return!n||!y||!a?l().command(()=>c().wrapInList(m,i)?!0:f.clearNodes()).wrapInList(m,i).command(()=>lf(s,m)).command(()=>df(s,m)).run():l().command(()=>{const T=c().wrapInList(m,i),B=y.filter(M=>h.includes(M.type.name));return s.ensureMarks(B),T?!0:f.clearNodes()}).wrapInList(m,i).command(()=>lf(s,m)).command(()=>df(s,m)).run()},DC=(t,e={},n={})=>({state:i,commands:r})=>{const{extendEmptyMarkRange:s=!1}=n,o=vi(t,i.schema);return Ac(i,o,e)?r.unsetMark(o,{extendEmptyMarkRange:s}):r.setMark(o,e)},NC=(t,e,n={})=>({state:i,commands:r})=>{const s=ht(t,i.schema),o=ht(e,i.schema),a=Wi(i,s,n);let l;return i.selection.$anchor.sameParent(i.selection.$head)&&(l=i.selection.$anchor.parent.attrs),a?r.setNode(o,l):r.setNode(s,{...l,...n})},RC=(t,e={})=>({state:n,commands:i})=>{const r=ht(t,n.schema);return Wi(n,r,e)?i.lift(r):i.wrapIn(r,e)},LC=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let i=0;i<n.length;i+=1){const r=n[i];let s;if(r.spec.isInputRules&&(s=r.getState(t))){if(e){const o=t.tr,a=s.transform;for(let l=a.steps.length-1;l>=0;l-=1)o.step(a.steps[l].invert(a.docs[l]));if(s.text){const l=o.doc.resolve(s.from).marks();o.replaceWith(s.from,s.to,t.schema.text(s.text,l))}else o.delete(s.from,s.to)}return!0}}return!1},OC=(t={})=>({tr:e,dispatch:n,editor:i})=>{const{ignoreClearable:r=!1}=t,{selection:s}=e,{empty:o,ranges:a}=s;if(o)return!0;const{nonClearableMarks:l}=i.extensionManager;if(n){const f=Object.values(i.schema.marks).filter(c=>r||!l.includes(c.name));a.forEach(c=>{for(const u of f)e.removeMark(c.$from.pos,c.$to.pos,u)})}return!0},PC=(t,e={})=>({tr:n,state:i,dispatch:r})=>{var s;const{extendEmptyMarkRange:o=!1}=e,{selection:a}=n,l=vi(t,i.schema),{$from:f,empty:c,ranges:u}=a;if(!r)return!0;
vendor: 9,443 bytes, lines 38-55
38if(c&&o){let{from:h,to:m}=a;const p=(s=f.marks().find(v=>v.type===l))==null?void 0:s.attrs,g=md(f,l,p);g&&(h=g.from,m=g.to),n.removeMark(h,m,l)}else u.forEach(h=>{n.removeMark(h.$from.pos,h.$to.pos,l)});return n.removeStoredMark(l),!0},zC=t=>({tr:e,state:n,dispatch:i})=>{const{selection:r}=n;let s,o;return typeof t=="number"?(s=t,o=t):t&&"from"in t&&"to"in t?(s=t.from,o=t.to):(s=r.from,o=r.to),i&&e.doc.nodesBetween(s,o,(a,l)=>{if(a.isText)return;const f={...a.attrs};delete f.dir,e.setNodeMarkup(l,void 0,f)}),!0},HC=(t,e={})=>({tr:n,state:i,dispatch:r})=>{let s=null,o=null;const a=gd(typeof t=="string"?t:t.name,i.schema);if(!a)return!1;a==="node"&&(s=ht(t,i.schema)),a==="mark"&&(o=vi(t,i.schema));let l=!1;return n.selection.ranges.forEach(f=>{const c=f.$from.pos,u=f.$to.pos;let h,m,p,g;n.selection.empty?i.doc.nodesBetween(c,u,(v,b)=>{s&&s===v.type&&(l=!0,p=Math.max(b,c),g=Math.min(b+v.nodeSize,u),h=b,m=v)}):i.doc.nodesBetween(c,u,(v,b)=>{b<c&&s&&s===v.type&&(l=!0,p=Math.max(b,c),g=Math.min(b+v.nodeSize,u),h=b,m=v),b>=c&&b<=u&&(s&&s===v.type&&(l=!0,r&&n.setNodeMarkup(b,void 0,{...v.attrs,...e})),o&&v.marks.length&&v.marks.forEach(w=>{if(o===w.type&&(l=!0,r)){const A=Math.max(b,c),y=Math.min(b+v.nodeSize,u);n.addMark(A,y,o.create({...w.attrs,...e}))}}))}),m&&(h!==void 0&&r&&n.setNodeMarkup(h,void 0,{...m.attrs,...e}),o&&m.marks.length&&m.marks.forEach(v=>{o===v.type&&r&&n.addMark(p,g,o.create({...v.attrs,...e}))}))}),l},WC=(t,e={})=>({state:n,dispatch:i})=>{const r=ht(t,n.schema);return c4(r,e)(n,i)},$C=(t,e={})=>({state:n,dispatch:i})=>{const r=ht(t,n.schema);return u4(r,e)(n,i)},VC=class{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const n=this.callbacks[t];return n&&n.forEach(i=>i.apply(this,e)),this}off(t,e){const n=this.callbacks[t];return n&&(e?this.callbacks[t]=n.filter(i=>i!==e):delete this.callbacks[t]),this}once(t,e){const n=(...i)=>{this.off(t,n),e.apply(this,i)};return this.on(t,n)}removeAllListeners(){this.callbacks={}}};function GC(t,e){const{selection:n}=t,{$from:i}=n;if(n instanceof Ae){const s=i.index();return i.parent.canReplaceWith(s,s+1,e)}let r=i.depth;for(;r>=0;){const s=i.index(r);if(i.node(r).contentMatchAt(s).matchType(e))return!0;r-=1}return!1}function cb(t,e,n){const i=document.querySelector(`style[data-tiptap-style${n?`-${n}`:""}]`);if(i!==null)return i;const r=document.createElement("style");return e&&r.setAttribute("nonce",e),r.setAttribute(`data-tiptap-style${n?`-${n}`:""}`,""),r.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(r),r}function KC(t){return typeof t=="number"}function JC(t){return Object.prototype.toString.call(t).slice(8,-1)}function fa(t){return JC(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}var UC={};zu(UC,{createAtomBlockMarkdownSpec:()=>QC,createBlockMarkdownSpec:()=>qC,createInlineMarkdownSpec:()=>XC,parseAttributes:()=>Ku,parseIndentedBlocks:()=>xc,renderNestedMarkdownContent:()=>Uu,serializeAttributes:()=>Ju});function Ku(t){if(!t?.trim())return{};const e={},n=[],i=t.replace(/["']([^"']*)["']/g,f=>(n.push(f),`__QUOTED_${n.length-1}__`)),r=i.match(/(?:^|\s)\.([\w-]+)/g);if(r){const f=r.map(c=>c.trim().slice(1));e.class=f.join(" ")}const s=i.match(/(?:^|\s)#([\w-]+)/);s&&(e.id=s[1]);const o=/([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g;Array.from(i.matchAll(o)).forEach(([,f,c])=>{var u;const h=parseInt(((u=c.match(/__QUOTED_(\d+)__/))==null?void 0:u[1])||"0",10),m=n[h];m&&(e[f]=m.slice(1,-1))});const l=i.replace(/(?:^|\s)\.([\w-]+)/g,"").replace(/(?:^|\s)#([\w-]+)/g,"").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g,"").trim();return l&&l.split(/\s+/).filter(Boolean).forEach(c=>{c.match(/^[a-zA-Z][\w-]*$/)&&(e[c]=!0)}),e}function Ju(t){if(!t||Object.keys(t).length===0)return"";const e=[];return t.class&&String(t.class).split(/\s+/).filter(Boolean).forEach(i=>e.push(`.${i}`)),t.id&&e.push(`#${t.id}`),Object.entries(t).forEach(([n,i])=>{n==="class"||n==="id"||(i===!0?e.push(n):i!==!1&&i!=null&&e.push(`${n}="${String(i)}"`))}),e.join(" ")}function QC(t){const{nodeName:e,name:n,parseAttributes:i=Ku,serializeAttributes:r=Ju,defaultAttributes:s={},requiredAttributes:o=[],allowedAttributes:a}=t,l=n||e,f=c=>{if(!a)return c;const u={};return a.forEach(h=>{h in c&&(u[h]=c[h])}),u};return{parseMarkdown:(c,u)=>{const h={...s,...c.attributes};return u.createNode(e,h,[])},markdownTokenizer:{name:e,level:"block",start(c){var u;const h=new RegExp(`^:::${l}(?:\\s|$)`,"m"),m=(u=c.match(h))==null?void 0:u.index;return m!==void 0?m:-1},tokenize(c,u,h){const m=new RegExp(`^:::${l}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`),p=c.match(m);if(!p)return;const g=p[1]||"",v=i(g);if(!o.find(w=>!(w in v)))return{type:e,raw:p[0],attributes:v}}},renderMarkdown:c=>{const u=f(c.attrs||{}),h=r(u),m=h?` {${h}}`:"";return`:::${l}${m} :::`}}}function qC(t){const{nodeName:e,name:n,getContent:i,parseAttributes:r=Ku,serializeAttributes:s=Ju,defaultAttributes:o={},content:a="block",allowedAttributes:l}=t,f=n||e,c=u=>{if(!l)return u;const h={};return l.forEach(m=>{m in u&&(h[m]=u[m])}),h};return{parseMarkdown:(u,h)=>{let m;if(i){const g=i(u);m=typeof g=="string"?[{type:"text",text:g}]:g}else a==="block"?m=h.parseChildren(u.tokens||[]):m=h.parseInline(u.tokens||[]);const p={...o,...u.attributes};return h.createNode(e,p,m)},markdownTokenizer:{name:e,level:"block",start(u){var h;const m=new RegExp(`^:::${f}`,"m"),p=(h=u.match(m))==null?void 0:h.index;return p!==void 0?p:-1},tokenize(u,h,m){var p;const g=new RegExp(`^:::${f}(?:\\s+\\{([^}]*)\\})?\\s*\\n`),v=u.match(g);if(!v)return;const[b,w=""]=v,A=r(w);let y=1;const x=b.length;let C="";const _=/^:::([\w-]*)(\s.*)?/gm,j=u.slice(x);for(_.lastIndex=0;;){const I=_.exec(j);if(I===null)break;const E=I.index,F=I[1];if(!((p=I[2])!=null&&p.endsWith(":::"))){if(F)y+=1;else if(y-=1,y===0){const N=j.slice(0,E);C=N.trim();const T=u.slice(0,x+E+I[0].length);let B=[];if(C)if(a==="block")for(B=m.blockTokens(N),B.forEach(M=>{M.text&&(!M.tokens||M.tokens.length===0)&&(M.tokens=m.inlineTokens(M.text))});B.length>0;){const M=B[B.length-1];if(M.type==="paragraph"&&(!M.text||M.text.trim()===""))B.pop();else break}else B=m.inlineTokens(C);return{type:e,raw:T,attributes:A,content:C,tokens:B}}}}}},renderMarkdown:(u,h)=>{const m=c(u.attrs||{}),p=s(m),g=p?` {${p}}`:"",v=h.renderChildren(u.content||[],` 39 40`);return`:::${f}${g} 41 42${v} 43 44:::`}}}function YC(t){if(!t.trim())return{};const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let i=n.exec(t);for(;i!==null;){const[,r,s,o]=i;e[r]=s||o,i=n.exec(t)}return e}function ZC(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}="${n}"`).join(" ")}function XC(t){const{nodeName:e,name:n,getContent:i,parseAttributes:r=YC,serializeAttributes:s=ZC,defaultAttributes:o={},selfClosing:a=!1,allowedAttributes:l}=t,f=n||e,c=h=>{if(!l)return h;const m={};return l.forEach(p=>{const g=typeof p=="string"?p:p.name,v=typeof p=="string"?void 0:p.skipIfDefault;if(g in h){const b=h[g];if(v!==void 0&&b===v)return;m[g]=b}}),m},u=f.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return{parseMarkdown:(h,m)=>{const p={...o,...h.attributes};if(a)return m.createNode(e,p);const g=i?i(h):h.content||"";return g?m.createNode(e,p,[m.createTextNode(g)]):m.createNode(e,p,[])},markdownTokenizer:{name:e,level:"inline",start(h){const m=a?new RegExp(`\\[${u}\\s*[^\\]]*\\]`):new RegExp(`\\[${u}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${u}\\]`),p=h.match(m),g=p?.index;return g!==void 0?g:-1},tokenize(h,m,p){const g=a?new RegExp(`^\\[${u}\\s*([^\\]]*)\\]`):new RegExp(`^\\[${u}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${u}\\]`),v=h.match(g);if(!v)return;let b="",w="";if(a){const[,y]=v;w=y}else{const[,y,x]=v;w=y,b=x||""}const A=r(w.trim());return{type:e,raw:v[0],content:b.trim(),attributes:A}}},renderMarkdown:h=>{let m="";i?m=i(h):h.content&&h.content.length>0&&(m=h.content.filter(b=>b.type==="text").map(b=>b.text).join(""));const p=c(h.attrs||{}),g=s(p),v=g?` ${g}`:"";return a?`[${f}${v}]`:`[${f}${v}]${m}[/${f}]`}}}function xc(t,e,n){var i,r,s,o;const a=t.split(` 45`),l=[];let f="",c=0;const u=e.baseIndentSize||2;for(;c<a.length;){const h=a[c],m=h.match(e.itemPattern);if(!m){if(l.length>0)break;if(h.trim()===""){c+=1,f=`${f}${h} 46`;continue}else return}const p=e.extractItemData(m),{indentLevel:g,mainContent:v}=p;f=`${f}${h} 47`;const b=[v];for(c+=1;c<a.length;){const x=a[c];if(x.trim()===""){const _=a.slice(c+1).findIndex(E=>E.trim()!=="");if(_===-1)break;if((((r=(i=a[c+1+_].match(/^(\s*)/))==null?void 0:i[1])==null?void 0:r.length)||0)>g){b.push(x),f=`${f}${x} 48`,c+=1;continue}else break}if((((o=(s=x.match(/^(\s*)/))==null?void 0:s[1])==null?void 0:o.length)||0)>g)b.push(x),f=`${f}${x} 49`,c+=1;else break}let w;const A=b.slice(1);if(A.length>0){const x=A.map(C=>C.slice(g+u)).join(` 50`);x.trim()&&(e.customNestedParser?w=e.customNestedParser(x):w=n.blockTokens(x))}const y=e.createToken(p,w);l.push(y)}if(l.length!==0)return{items:l,raw:f}}function Uu(t,e,n,i){if(!t||!Array.isArray(t.content))return"";const r=typeof n=="function"?n(i):n,[s,...o]=t.content,a=e.renderChildren([s]);let l=`${r}${a}`;return o&&o.length>0&&o.forEach((f,c)=>{var u,h;const m=(h=(u=e.renderChild)==null?void 0:u.call(e,f,c+1))!=null?h:e.renderChildren([f]);if(m!=null){const p=m.split(` 51`).map(g=>g?e.indent(g):e.indent("")).join(` 52`);l+=f.type==="paragraph"?` 53 54${p}`:` 55${p}`}}),l}function ub(t,e){const n={...t};return fa(t)&&fa(e)&&Object.keys(e).forEach(i=>
55{fa(e[i])&&fa(t[i])?n[i]=ub(t[i],e[i]):n[i]=e[i]}),n}function eS(t,e,n={}){const{state:i}=e,{doc:r,tr:s}=i,o=t;r.descendants((a,l)=>{const f=s.mapping.map(l),c=s.mapping.map(l)+a.nodeSize;let u=null;if(a.marks.forEach(m=>{if(m!==o)return!1;u=m}),!u)return;let h=!1;if(Object.keys(n).forEach(m=>{n[m]!==u.attrs[m]&&(h=!0)}),h){const m=t.type.create({...t.attrs,...n});s.removeMark(f,c,t.type),s.addMark(f,c,m)}}),s.docChanged&&e.view.dispatch(s)}var Zo=class{constructor(t){var e;this.find=t.find,this.handler=t.handler,this.undoable=(e=t.undoable)!=null?e:!0}},tS=(t,e)=>{if(Hu(e))return e.exec(t);const n=e(t);if(!n)return null;const i=[n.text];return i.index=n.index,i.input=t,i.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),i.push(n.replaceWith)),i};function ca(t){var e;const{editor:n,from:i,to:r,text:s,rules:o,plugin:a}=t,{view:l}=n;if(l.composing)return!1;const f=l.state.doc.resolve(i);if(f.parent.type.spec.code||(e=f.nodeBefore||f.nodeAfter)!=null&&e.marks.find(h=>h.type.spec.code))return!1;let c=!1;const u=gC(f)+s;return o.forEach(h=>{if(c)return;const m=tS(u,h.find);if(!m)return;const p=l.state.tr,g=hd({state:l.state,transaction:p}),v={from:i-(m[0].length-s.length),to:r},{commands:b,chain:w,can:A}=new pd({editor:n,state:g});h.handler({state:g,range:v,match:m,commands:b,chain:w,can:A})===null||!p.steps.length||(h.undoable&&p.setMeta(a,{transform:p,from:i,to:r,text:s}),l.dispatch(p),c=!0)}),c}function nS(t){const{editor:e,rules:n}=t,i=new Ye({state:{init(){return null},apply(r,s,o){const a=r.getMeta(i);if(a)return a;const l=r.getMeta("applyInputRules");return l&&setTimeout(()=>{let{text:c}=l;typeof c=="string"?c=c:c=$u(J.from(c),o.schema);const{from:u}=l,h=u+c.length;ca({editor:e,from:u,to:h,text:c,rules:n,plugin:i})}),r.selectionSet||r.docChanged?null:s}},props:{handleTextInput(r,s,o,a){return ca({editor:e,from:s,to:o,text:a,rules:n,plugin:i})},handleDOMEvents:{compositionend:r=>(setTimeout(()=>{const{$cursor:s}=r.state.selection;s&&ca({editor:e,from:s.pos,to:s.pos,text:"",rules:n,plugin:i})}),!1)},handleKeyDown(r,s){if(s.key!=="Enter")return!1;const{$cursor:o}=r.state.selection;return o?ca({editor:e,from:o.pos,to:o.pos,text:` 56`,rules:n,plugin:i}):!1}},isInputRules:!0});return i}var Qu=class{constructor(t={}){this.type="extendable",this.parent=null,this.child=null,this.name="",this.config={name:this.name},this.config={...this.config,...t},this.name=this.config.name}get options(){return{...Oe(he(this,"addOptions",{name:this.name}))}}get storage(){return{...Oe(he(this,"addStorage",{name:this.name,options:this.options}))}}configure(t={}){const e=this.extend({...this.config,addOptions:()=>ub(this.options,t)});return e.name=this.name,e.parent=this.parent,this.child=null,e}extend(t={}){const e=new this.constructor({...this.config,...t});return e.parent=this,this.child=e,e.name="name"in t?t.name:e.parent.name,e}},Tn=class hb extends Qu{constructor(){super(...arguments),this.type="mark"}static create(e={}){const n=typeof e=="function"?e():e;return new hb(n)}static handleExit({editor:e,mark:n}){const{tr:i}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){const o=r.marks();if(!!!o.find(f=>f?.type.name===n.name))return!1;const l=o.find(f=>f?.type.name===n.name);return l&&i.removeStoredMark(l),i.insertText(" ",r.pos),e.view.dispatch(i),!0}return!1}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}},iS=class{constructor(t){this.find=t.find,this.handler=t.handler}},rS=(t,e,n)=>{if(Hu(e))return[...t.matchAll(e)];const i=e(t,n);return i?i.map(r=>{const s=[r.text];return s.index=r.index,s.input=t,s.data=r.data,r.replaceWith&&(r.text.includes(r.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),s.push(r.replaceWith)),s}):[]};function sS(t){const{editor:e,state:n,from:i,to:r,rule:s,pasteEvent:o,dropEvent:a}=t,{commands:l,chain:f,can:c}=new pd({editor:e,state:n}),u=[];return n.doc.nodesBetween(i,r,(m,p)=>{var g,v,b,w,A;if((v=(g=m.type)==null?void 0:g.spec)!=null&&v.code||!(m.isText||m.isTextblock||m.isInline))return;const y=(A=(w=(b=m.content)==null?void 0:b.size)!=null?w:m.nodeSize)!=null?A:0,x=Math.max(i,p),C=Math.min(r,p+y);if(x>=C)return;const _=m.isText?m.text||"":m.textBetween(x-p,C-p,void 0,"");
vendor: 4,308 bytes, line 56
56rS(_,s.find,o).forEach(I=>{if(I.index===void 0)return;const E=x+I.index+1,F=E+I[0].length,N={from:n.tr.mapping.map(E),to:n.tr.mapping.map(F)},T=s.handler({state:n,range:N,match:I,commands:l,chain:f,can:c,pasteEvent:o,dropEvent:a});u.push(T)})}),u.every(m=>m!==null)}var ua=null,oS=t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=n.clipboardData)==null||e.setData("text/html",t),n};function aS(t){const{editor:e,rules:n}=t;let i=null,r=!1,s=!1,o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,a;try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}const l=({state:c,from:u,to:h,rule:m,pasteEvt:p})=>{const g=c.tr,v=hd({state:c,transaction:g});if(!(!sS({editor:e,state:v,from:Math.max(u-1,0),to:h.b-1,rule:m,pasteEvent:p,dropEvent:a})||!g.steps.length)){try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}return o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,g}};return n.map(c=>new Ye({view(u){const h=p=>{var g;i=(g=u.dom.parentElement)!=null&&g.contains(p.target)?u.dom.parentElement:null,i&&(ua=e)},m=()=>{ua&&(ua=null)};return window.addEventListener("dragstart",h),window.addEventListener("dragend",m),{destroy(){window.removeEventListener("dragstart",h),window.removeEventListener("dragend",m)}}},props:{handleDOMEvents:{drop:(u,h)=>{if(s=i===u.dom.parentElement,a=h,!s){const m=ua;m?.isEditable&&setTimeout(()=>{const p=m.state.selection;p&&m.commands.deleteRange({from:p.from,to:p.to})},10)}return!1},paste:(u,h)=>{var m;const p=(m=h.clipboardData)==null?void 0:m.getData("text/html");return o=h,r=!!p?.includes("data-pm-slice"),!1}}},appendTransaction:(u,h,m)=>{const p=u[0],g=p.getMeta("uiEvent")==="paste"&&!r,v=p.getMeta("uiEvent")==="drop"&&!s,b=p.getMeta("applyPasteRules"),w=!!b;if(!g&&!v&&!w)return;if(w){let{text:x}=b;typeof x=="string"?x=x:x=$u(J.from(x),m.schema);const{from:C}=b,_=C+x.length,j=oS(x);return l({rule:c,state:m,from:C,to:{b:_},pasteEvt:j})}const A=h.doc.content.findDiffStart(m.doc.content),y=h.doc.content.findDiffEnd(m.doc.content);if(!(!KC(A)||!y||A===y.b))return l({rule:c,state:m,from:A,to:y,pasteEvt:o})}}))}var bd=class{constructor(t,e){this.splittableMarks=[],this.nonClearableMarks=[],this.editor=e,this.baseExtensions=t,this.extensions=ib(t),this.schema=dC(this.extensions,e),this.setupExtensions()}get commands(){return this.extensions.reduce((t,e)=>{const n={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:Rs(e.name,this.schema)},i=he(e,"addCommands",n);return i?{...t,...i()}:t},{})}get plugins(){const{editor:t}=this;return mo([...this.extensions].reverse()).flatMap(i=>{const r={name:i.name,options:i.options,storage:this.editor.extensionStorage[i.name],editor:t,type:Rs(i.name,this.schema)},s=[],o=he(i,"addKeyboardShortcuts",r);let a={};if(i.type==="mark"&&he(i,"exitable",r)&&(a.ArrowRight=()=>Tn.handleExit({editor:t,mark:i})),o){const h=Object.fromEntries(Object.entries(o()).map(([m,p])=>[m,()=>p({editor:t})]));a={...a,...h}}const l=d_(a);s.push(l);const f=he(i,"addInputRules",r);if(d1(i,t.options.enableInputRules)&&f){const h=f();if(h&&h.length){const m=nS({editor:t,rules:h}),p=Array.isArray(m)?m:[m];s.push(...p)}}const c=he(i,"addPasteRules",r);if(d1(i,t.options.enablePasteRules)&&c){const h=c();if(h&&h.length){const m=aS({editor:t,rules:h});s.push(...m)}}const u=he(i,"addProseMirrorPlugins",r);if(u){const h=u();s.push(...h)}return s})}get attributes(){return nb(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=hs(this.extensions);return Object.fromEntries(e.filter(n=>!!he(n,"addNodeView")).map(n=>{const i=this.attributes.filter(l=>l.type===n.name),r={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:ht(n.name,this.schema)},s=he(n,"addNodeView",r);if(!s)return[];const o=s();if(!o)return[];const a=(l,f,c,u,h)=>{const m=Ho(l,i);return o({node:l,view:f,getPos:c,decorations:u,innerDecorations:h,editor:t,extension:n,HTMLAttributes:m})};return[n.name,a]}))}dispatchTransaction(t){const{editor:e}=this;return mo([...this.extensions].reverse()).reduceRight((i,r)=>{const s={name:r.name,options:r.options,storage:this.editor.extensionStorage[r.name],editor:e,type:Rs(r.name,this.schema)},o=he(r,"dispatchTransaction",s);return o?a=>
56{o.call(s,{transaction:a,next:i})}:i},t)}transformPastedHTML(t){const{editor:e}=this;return mo([...this.extensions]).reduce((i,r)=>{const s={name:r.name,options:r.options,storage:this.editor.extensionStorage[r.name],editor:e,type:Rs(r.name,this.schema)},o=he(r,"transformPastedHTML",s);return o?(a,l)=>{const f=i(a,l);return o.call(s,f)}:i},t||(i=>i))}get markViews(){const{editor:t}=this,{markExtensions:e}=hs(this.extensions);return Object.fromEntries(e.filter(n=>!!he(n,"addMarkView")).map(n=>{const i=this.attributes.filter(a=>a.type===n.name),r={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:vi(n.name,this.schema)},s=he(n,"addMarkView",r);if(!s)return[];const o=(a,l,f)=>{const c=Ho(a,i);return s()({mark:a,view:l,inline:f,editor:t,extension:n,HTMLAttributes:c,updateAttributes:u=>{eS(a,t,u)}})};return[n.name,o]}))}destroy(){this.extensions.forEach(t=>{let e=t;for(;e.parent;){const n=e.parent;n.child===e&&(n.child=null),e=n}}),this.extensions=[],this.baseExtensions=[],this.schema=null,this.editor=null}setupExtensions(){const t=this.extensions;this.editor.extensionStorage=Object.fromEntries(t.map(e=>[e.name,e.storage])),t.forEach(e=>{var n,i;const r={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:Rs(e.name,this.schema)};e.type==="mark"&&(((n=Oe(he(e,"keepOnSplit",r)))==null||n)&&this.splittableMarks.push(e.name),(i=Oe(he(e,"clearable",r)))==null||i||this.nonClearableMarks.push(e.name));const s=he(e,"onBeforeCreate",r),o=he(e,"onCreate",r),a=he(e,"onUpdate",r),l=he(e,"onSelectionUpdate",r),f=he(e,"onTransaction",r),c=he(e,"onFocus",r),u=he(e,"onBlur",r),h=he(e,"onDestroy",r);s&&this.editor.on("beforeCreate",s),o&&this.editor.on("create",o),a&&this.editor.on("update",a),l&&this.editor.on("selectionUpdate",l),f&&this.editor.on("transaction",f),c&&this.editor.on("focus",c),u&&this.editor.on("blur",u),h&&this.editor.on("destroy",h)})}};bd.resolve=ib;bd.sort=mo;bd.flatten=Wu;var lS={};zu(lS,{ClipboardTextSerializer:()=>mb,Commands:()=>gb,Delete:()=>vb,Drop:()=>bb,Editable:()=>yb,FocusEvents:()=>wb,Keymap:()=>Ab,Paste:()=>xb,Tabindex:()=>_b,TextDirection:()=>Cb,focusEventsPluginKey:()=>kb});var nt=class pb extends Qu{constructor(){super(...arguments),this.type="extension"}static create(e={}){const n=typeof e=="function"?e():e;return new pb(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}},mb=nt.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Ye({key:new yt("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:i,selection:r}=e,s=sb(n),{blockSeparator:o}=this.options,a={...o!==void 0?{blockSeparator:o}:{},textSerializers:s};return[...r.ranges].sort((f,c)=>f.$from.pos-c.$from.pos).map(({$from:f,$to:c})=>rb(i,{from:f.pos,to:c.pos},a)).join(o??` 57 58`)}}})]}}),gb=nt.create({name:"commands",addCommands(){return{...Jv}}}),vb=nt.create({name:"delete",onUpdate({transaction:t,appendedTransactions:e}){var n,i,r;const s=()=>{var o,a,l,f;if((f=(l=(a=(o=this.editor.options.coreExtensionOptions)==null?void 0:o.delete)==null?void 0:a.filterTransaction)==null?void 0:l.call(a,t))!=null?f:t.getMeta("y-sync$"))return;const c=eb(t.before,[t,...e]);
vendor: 14,637 bytes, lines 58-128
58Vu(c).forEach(m=>{c.mapping.mapResult(m.oldRange.from).deletedAfter&&c.mapping.mapResult(m.oldRange.to).deletedBefore&&c.before.nodesBetween(m.oldRange.from,m.oldRange.to,(p,g)=>{const v=g+p.nodeSize-2,b=m.oldRange.from<=g&&v<=m.oldRange.to;this.editor.emit("delete",{type:"node",node:p,from:g,to:v,newFrom:c.mapping.map(g),newTo:c.mapping.map(v),deletedRange:m.oldRange,newRange:m.newRange,partial:!b,editor:this.editor,transaction:t,combinedTransform:c})})});const h=c.mapping;c.steps.forEach((m,p)=>{var g,v;if(m instanceof Is){const b=h.slice(p).map(m.from,-1),w=h.slice(p).map(m.to),A=h.invert().map(b,-1),y=h.invert().map(w),x=b>0?(g=c.doc.nodeAt(b-1))==null?void 0:g.marks.some(_=>_.eq(m.mark)):!1,C=(v=c.doc.nodeAt(w))==null?void 0:v.marks.some(_=>_.eq(m.mark));this.editor.emit("delete",{type:"mark",mark:m.mark,from:m.from,to:m.to,deletedRange:{from:A,to:y},newRange:{from:b,to:w},partial:!!(C||x),editor:this.editor,transaction:t,combinedTransform:c})}})};(r=(i=(n=this.editor.options.coreExtensionOptions)==null?void 0:n.delete)==null?void 0:i.async)==null||r?setTimeout(s,0):s()}}),bb=nt.create({name:"drop",addProseMirrorPlugins(){return[new Ye({key:new yt("tiptapDrop"),props:{handleDrop:(t,e,n,i)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:i})}}})]}}),yb=nt.create({name:"editable",addProseMirrorPlugins(){return[new Ye({key:new yt("editable"),props:{editable:()=>this.editor.options.editable}})]}}),kb=new yt("focusEvents"),wb=nt.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new Ye({key:kb,props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const i=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(i),!1},blur:(e,n)=>{t.isFocused=!1;const i=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(i),!1}}}})]}}),Ab=nt.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:o})=>[()=>o.undoInputRule(),()=>o.command(({tr:a})=>{const{selection:l,doc:f}=a,{empty:c,$anchor:u}=l,{pos:h,parent:m}=u,p=u.parent.isTextblock&&h>0?a.doc.resolve(h-1):u,g=p.parent.type.spec.isolating,v=u.pos-u.parentOffset,b=g&&p.parent.childCount===1?v===u.pos:Be.atStart(f).from===h;return!c||!m.type.isTextblock||m.textContent.length||!b||b&&u.parent.type.name==="paragraph"?!1:o.clearNodes()}),()=>o.deleteSelection(),()=>o.joinBackward(),()=>o.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:o})=>[()=>o.deleteSelection(),()=>o.deleteCurrentNode(),()=>o.joinForward(),()=>o.selectNodeForward()]),i={Enter:()=>this.editor.commands.first(({commands:o})=>[()=>o.newlineInCode(),()=>o.createParagraphNear(),()=>o.liftEmptyBlock(),()=>o.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},r={...i},s={...i,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return ul()||Zv()?s:r},addProseMirrorPlugins(){return[new Ye({key:new yt("clearDocument"),appendTransaction:(t,e,n)=>{if(t.some(g=>g.getMeta("composition")))return;const i=t.some(g=>g.docChanged)&&!e.doc.eq(n.doc),r=t.some(g=>g.getMeta("preventClearDocument"));if(!i||r)return;const{empty:s,from:o,to:a}=e.selection,l=Be.atStart(e.doc).from,f=Be.atEnd(e.doc).to;if(s||!(o===l&&a===f)||!Yo(n.doc))return;const h=n.tr,m=hd({state:n,transaction:h}),{commands:p}=new pd({editor:this.editor,state:m});if(p.clearNodes(),!!h.steps.length)return h}})]}}),xb=nt.create({name:"paste",addProseMirrorPlugins(){return[new Ye({key:new yt("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),_b=nt.create({name:"tabindex",addOptions(){return{value:void 0}},addProseMirrorPlugins(){return[new Ye({key:new yt("tabindex"),props:{attributes:()=>{var t;return!this.editor.isEditable&&this.options.value===void 0?{}:{tabindex:(t=this.options.value)!=null?t:"0"}}}})]}}),Cb=nt.create({name:"textDirection",addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];const{nodeExtensions:t}=hs(this.extensions);return[{types:t.filter(e=>e.name!=="text").map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{const n=e.getAttribute("dir");return n&&(n==="ltr"||n==="rtl"||n==="auto")?n:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new Ye({key:new yt("textDirection"),props:{attributes:()=>{const t=this.options.direction;return t?{dir:t}:{}}}})]}}),dS=class Zs{constructor(e,n,i=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=i,this.resolvedPos=e,this.editor=n,this.currentNode=r}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!=null?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let n=this.from,i=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You canât set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,i=this.to-1}this.editor.commands.insertContentAt({from:n,to:i},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(e);return new Zs(n,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new Zs(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new Zs(e,this.editor)}get children(){const e=[];return this.node.content.forEach((n,i)=>{const r=n.isBlock&&!n.isTextblock,s=n.isAtom&&!n.isText,o=n.isInline,a=this.pos+i+(s?0:1);if(a<0||a>this.resolvedPos.doc.nodeSize-2)return;const l=this.resolvedPos.doc.resolve(a);if(!r&&!o&&l.depth<=this.depth)return;const f=new Zs(l,this.editor,r,r||o?n:null);r&&(f.actualDepth=this.depth+1),e.push(f)}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,n={}){let i=null,r=this.parent;for(;r&&!i;){if(r.node.type.name===e)if(Object.keys(n).length>0){const s=r.node.attrs,o=Object.keys(n);for(let a=0;a<o.length;a+=1){const l=o[a];if(s[l]!==n[l])break}}else i=r;r=r.parent}return i}querySelector(e,n={}){return this.querySelectorAll(e,n,!0)[0]||null}querySelectorAll(e,n={},i=!1){let r=[];if(!this.children||this.children.length===0)return r;const s=Object.keys(n);return this.children.forEach(o=>{i&&r.length>0||(o.node.type.name===e&&s.every(l=>n[l]===o.node.attrs[l])&&r.push(o),!(i&&r.length>0)&&(r=r.concat(o.querySelectorAll(e,n,i))))}),r}setAttribute(e){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(n)}},fS=`.ProseMirror { 59 position: relative; 60} 61 62.ProseMirror { 63 word-wrap: break-word; 64 white-space: pre-wrap; 65 white-space: break-spaces; 66 -webkit-font-variant-ligatures: none; 67 font-variant-ligatures: none; 68 font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */ 69} 70 71.ProseMirror [contenteditable="false"] { 72 white-space: normal; 73} 74 75.ProseMirror [contenteditable="false"] [contenteditable="true"] { 76 white-space: pre-wrap; 77} 78 79.ProseMirror pre { 80 white-space: pre-wrap; 81} 82 83img.ProseMirror-separator { 84 display: inline !important; 85 border: none !important; 86 margin: 0 !important; 87 width: 0 !important; 88 height: 0 !important; 89} 90 91.ProseMirror-gapcursor { 92 display: none; 93 pointer-events: none; 94 position: absolute; 95 margin: 0; 96} 97 98.ProseMirror-gapcursor:after { 99 content: ""; 100 display: block; 101 position: absolute; 102 top: -2px; 103 width: 20px; 104 border-top: 1px solid black; 105 animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite; 106} 107 108@keyframes ProseMirror-cursor-blink { 109 to { 110 visibility: hidden; 111 } 112} 113 114.ProseMirror-hideselection *::selection { 115 background: transparent; 116} 117 118.ProseMirror-hideselection *::-moz-selection { 119 background: transparent; 120} 121 122.ProseMirror-hideselection * { 123 caret-color: transparent; 124} 125 126.ProseMirror-focused .ProseMirror-gapcursor { 127 display: block; 128}`,cS=class extends VC{constructor(t={}){super(),this.css=null,this.className="tiptap",this.editorView=null,this.isFocused=!1,this.destroyed=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.options={element:typeof document<"u"?document.createElement("div"):null,content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:i})=>{throw i},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:kC,createMappablePosition:wC},this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("mount",this.options.onMount),this.on("unmount",this.options.onUnmount),this.on("contentError",this.options.onContentError),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:i,slice:r,moved:s})=>this.options.onDrop(i,r,s)),this.on("paste",({event:i,slice:r})=>this.options.onPaste(i,r)),this.on("delete",this.options.onDelete);const e=this.createDoc(),n=qv(e,this.options.autofocus);this.editorState=Xr.create({doc:e,schema:this.schema,selection:n||void 0}),this.options.element&&this.mount(this.options.element)}mount(t){if(typeof document>"u")throw new Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");this.createView(t),this.emit("mount",{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){const t=this.editorView.dom;t?.editor&&delete t.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove=="function"?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(t){console.warn("Failed to remove CSS element:",t)}this.css=null,this.emit("unmount",{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&typeof document<"u"&&(this.css=cb(fS,this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},!(!this.editorView||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:t=>{this.editorState=t},dispatch:t=>{this.dispatchTransaction(t)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(t,e)=>{if(this.editorView)return this.editorView[e];if(e==="state")return this.editorState;if(e in t)return Reflect.get(t,e);throw new Error(`[tiptap error]: The editor view is not available. Cannot access view['${e}']. The editor may not be mounted yet.`)}})}get state(){return this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(t,e){const n=tb(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],i=this.state.reconfigure({plugins:n});return this.view.updateState(i),i}unregisterPlugin(t){if(this.isDestroyed)return;const e=this.state.plugins;let n=e;if([].concat(t).forEach(r=>{const s=typeof r=="string"?`${r}$`:r.key;n=n.filter(o=>!o.key.startsWith(s))}),e.length===n.length)return;const i=this.state.reconfigure({plugins:n});return this.view.updateState(i),i}createExtensionManager(){var t,e,n,i;const s=[...this.options.enableCoreExtensions?[yb,mb.configure({blockSeparator:(e=(t=this.options.coreExtensionOptions)==null?void 0:t.clipboardTextSerializer)==null?void 0:e.blockSeparator}),gb,wb,Ab,_b.configure({value:(i=(n=this.options.coreExtensionOptions)==null?void 0:n.tabindex)==null?void 0:i.value}),bb,xb,vb,Cb.configure({direction:this.options.textDirection})].filter(o=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[o.name]!==!1:!0):[],...this.options.extensions].filter(o=>["extension","node","mark"].includes(o?.type));this.extensionManager=new bd(s,this)}createCommandManager(){this.commandManager=new pd({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let t;try{t=wc(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message))throw e;
128this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{"collaboration"in this.storage&&typeof this.storage.collaboration=="object"&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(n=>n.name!=="collaboration"),this.createExtensionManager()}}),t=wc(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}return t}createView(t){const{editorProps:e,enableExtensionDispatchTransaction:n}=this.options,i=e.dispatchTransaction||this.dispatchTransaction.bind(this),r=n?this.extensionManager.dispatchTransaction(i):i,s=e.transformPastedHTML,o=this.extensionManager.transformPastedHTML(s);this.editorView=new Gv(t,{...e,attributes:{role:"textbox",...e?.attributes},dispatchTransaction:r,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});const a=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(a),this.prependClass(),this.injectCSS();const l=this.view.dom;l.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=t;return}t.steps.forEach(f=>{var c;return(c=this.capturedTransaction)==null?void 0:c.step(f)});return}const{state:e,transactions:n}=this.state.applyTransaction(t),i=!this.state.selection.eq(e.selection),r=n.includes(t),s=this.state;if(this.emit("beforeTransaction",{editor:this,transaction:t,nextState:e}),!r)return;this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t,appendedTransactions:n.slice(1)}),i&&this.emit("selectionUpdate",{editor:this,transaction:t});const o=n.findLast(f=>f.getMeta("focus")||f.getMeta("blur")),a=o?.getMeta("focus"),l=o?.getMeta("blur");a&&this.emit("focus",{editor:this,event:a.event,transaction:o}),l&&this.emit("blur",{editor:this,event:l.event,transaction:o}),!(t.getMeta("preventUpdate")||!n.some(f=>f.docChanged)||s.doc.eq(e.doc))&&this.emit("update",{editor:this,transaction:t,appendedTransactions:n.slice(1)})}getAttributes(t){return ob(this.state,t)}isActive(t,e){const n=typeof t=="string"?t:null,i=typeof t=="string"?e:t;return vC(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return $u(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e=` 129 130`,textSerializers:n={}}=t||{};return cC(this.state.doc,{blockSeparator:e,textSerializers:{...sb(this.schema),...n}})}get isEmpty(){return Yo(this.state.doc)}destroy(){this.destroyed||(this.destroyed=!0,this.emit("destroy"),this.unmount(),this.removeAllListeners(),this.extensionManager.destroy(),this.extensionManager=null,this.schema=null,this.commandManager=null,this.extensionStorage={})}get isDestroyed(){var t,e;return(e=(t=this.editorView)==null?void 0:t.isDestroyed)!=null?e:!0}$node(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t),n=t>0&&e.nodeAfter&&!e.nodeAfter.isText?e.nodeAfter:null;return new dS(e,this,!1,n)}get $doc(){return this.$pos(0)}};
vendor: 1,044 bytes, line 130
130function ps(t){return new Zo({find:t.find,handler:({state:e,range:n,match:i})=>{const r=Oe(t.getAttributes,void 0,i);if(r===!1||r===null)return null;const{tr:s}=e,o=i[i.length-1],a=i[0];if(o){const l=a.search(/\S/),f=n.from+a.indexOf(o),c=f+o.length;if(Gu(n.from,n.to,e.doc).filter(m=>m.mark.type.excluded.find(g=>g===t.type&&g!==m.mark.type)).filter(m=>m.to>f).length)return null;c<n.to&&s.delete(c,n.to),f>n.from&&s.delete(n.from+l,f);const h=n.from+l+o.length;s.addMark(n.from+l,h,t.type.create(r||{})),s.removeStoredMark(t.type)}},undoable:t.undoable})}function uS(t){return new Zo({find:t.find,handler:({state:e,range:n,match:i})=>{const r=Oe(t.getAttributes,void 0,i)||{},{tr:s}=e,o=n.from;let a=n.to;const l=t.type.create(r);if(i[1]){const f=i[0].lastIndexOf(i[1]);let c=o+f;c>a?c=a:a=c+i[1].length;const u=i[0][i[0].length-1];s.insertText(u,o+i[0].length-1),s.replaceWith(c,a,l)}else if(i[0]){const f=t.type.isInline?o:o-1;s.insert(f,t.type.create(r)).delete(s.mapping.map(o),s.mapping.map(a))}s.scrollIntoView()},undoable:t.undoable})}
130function _c(t){return new Zo({find:t.find,handler:({state:e,range:n,match:i})=>{const r=e.doc.resolve(n.from),s=Oe(t.getAttributes,void 0,i)||{};if(!r.node(-1).canReplaceWith(r.index(-1),r.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,s)},undoable:t.undoable})}function ot(t){return new Zo({find:t.find,handler:({state:e,range:n,match:i})=>{let r=t.replace,s=n.from;const o=n.to;if(i[1]){const a=i[0].lastIndexOf(i[1]);r+=i[0].slice(a+i[1].length),s+=a;const l=s-o;l>0&&(r=i[0].slice(a-l,a)+r,s=o)}e.tr.insertText(r,s,o)},undoable:t.undoable})}function ms(t){return new Zo({find:t.find,handler:({state:e,range:n,match:i,chain:r})=>{const s=Oe(t.getAttributes,void 0,i)||{},o=e.tr.delete(n.from,n.to),l=o.doc.resolve(n.from).blockRange(),f=l&&Su(l,t.type,s);if(!f)return null;if(o.wrap(l,f),t.keepMarks&&t.editor){const{selection:u,storedMarks:h}=e,{splittableMarks:m}=t.editor.extensionManager,p=h||u.$to.parentOffset&&u.$from.marks();if(p){const g=p.filter(v=>m.includes(v.type.name));o.ensureMarks(g)}}if(t.keepAttributes){const u=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";r().updateAttributes(u,s).run()}const c=o.doc.resolve(n.from-1).nodeBefore;c&&c.type===t.type&&Vi(o.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(i,c))&&o.join(n.from-1)},undoable:t.undoable})}var tn=class Sb extends Qu{constructor(){super(...arguments),this.type="node"}static create(e={}){const n=typeof e=="function"?e():e;return new Sb(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function kr(t){return new iS({find:t.find,handler:({state:e,range:n,match:i,pasteEvent:r})=>{const s=Oe(t.getAttributes,void 0,i,r);if(s===!1||s===null)return null;const{tr:o}=e,a=i[i.length-1],l=i[0];let f=n.to;if(a){const c=l.search(/\S/),u=n.from+l.indexOf(a),h=u+a.length;if(Gu(n.from,n.to,e.doc).filter(g=>g.mark.type.excluded.find(b=>b===t.type&&b!==g.mark.type)).filter(g=>g.to>u).length)return null;h<n.to&&o.delete(h,n.to),u>n.from&&o.delete(n.from+c,u),f=n.from+c+a.length,o.addMark(n.from+c,f,t.type.create(s||{})),i.index!==void 0&&i.input!==void 0&&i.index+i[0].length>=i.input.length||o.removeStoredMark(t.type)}}})}const{getOwnPropertyNames:hS,getOwnPropertySymbols:pS}=Object,{hasOwnProperty:mS}=Object.prototype;function ff(t,e){return function(i,r,s){return t(i,r,s)&&e(i,r,s)}}function ha(t){return function(n,i,r){if(!n||!i||typeof n!="object"||typeof i!="object")return t(n,i,r);const{cache:s}=r,o=s.get(n),a=s.get(i);if(o&&a)return o===i&&a===n;s.set(n,i),s.set(i,n);const l=t(n,i,r);return s.delete(n),s.delete(i),l}}function gS(t){return t?.[Symbol.toStringTag]}function u1(t){return hS(t).concat(pS(t))}const vS=Object.hasOwn||((t,e)=>mS.call(t,e));function Cr(t,e){return t===e||!t&&!e&&t!==t&&e!==e}const bS="__v",yS="__o",kS="_owner",{getOwnPropertyDescriptor:h1,keys:p1}=Object;function wS(t,e){return t.byteLength===e.byteLength&&hl(new Uint8Array(t),new Uint8Array(e))}function AS(t,e,n){let i=t.length;if(e.length!==i)return!1;for(;i-- >0;)if(!n.equals(t[i],e[i],i,i,t,e,n))return!1;return!0}function xS(t,e){return t.byteLength===e.byteLength&&hl(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function _S(t,e){return Cr(t.getTime(),e.getTime())}function CS(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function SS(t,e){return t===e}function m1(t,e,n){const i=t.size;if(i!==e.size)return!1;if(!i)return!0;const r=new Array(i),s=t.entries();let o,a,l=0;for(;(o=s.next())&&!o.done;){const f=e.entries();let c=!1,u=0;for(;(a=f.next())&&!a.done;){if(r[u]){u++;continue}const h=o.value,m=a.value;if(n.equals(h[0],m[0],l,u,t,e,n)&&n.equals(h[1],m[1],h[0],m[0],t,e,n)){c=r[u]=!0;break}u++}if(!c)return!1;l++}return!0}const jS=Cr;function IS(t,e,n){const i=p1(t);let r=i.length;if(p1(e).length!==r)return!1;for(;r-- >0;)if(!jb(t,e,n,i[r]))return!1;return!0}function Ls(t,e,n){const i=u1(t);let r=i.length;if(u1(e).length!==r)return!1;let s,o,a;for(;r-- >0;)if(s=i[r],!jb(t,e,n,s)||(o=h1(t,s),a=h1(e,s),(o||a)&&(!o||!a||o.configurable!==a.configurable||o.enumerable!==a.enumerable||o.writable!==a.writable)))return!1;return!0}function BS(t,e){return Cr(t.valueOf(),e.valueOf())}function ES(t,e){return t.source===e.source&&t.flags===e.flags}function g1(t,e,n){const i=t.size;if(i!==e.size)return!1;if(!i)return!0;const r=new Array(i),s=t.values();let o,a;for(;(o=s.next())&&!o.done;){const l=e.values();let f=!1,c=0;for(;(a=l.next())&&!a.done;){if(!r[c]&&n.equals(o.value,a.value,o.value,a.value,t,e,n)){f=r[c]=!0;break}c++}if(!f)return!1}return!0}function hl(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function MS(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function jb(t,e,n,i){return(i===kS||i===yS||i===bS)&&(t.$$typeof||e.$$typeof)?!0:vS(e,i)&&n.equals(t[i],e[i],i,i,t,e,n)}const TS="[object ArrayBuffer]",FS="[object Arguments]",DS="[object Boolean]",NS="[object DataView]",RS="[object Date]",LS="[object Error]",OS="[object Map]",PS="[object Number]",zS="[object Object]",HS="[object RegExp]",WS="[object Set]",$S="[object String]",VS={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array
130]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},GS="[object URL]",KS=Object.prototype.toString;function JS({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:i,areErrorsEqual:r,areFunctionsEqual:s,areMapsEqual:o,areNumbersEqual:a,areObjectsEqual:l,arePrimitiveWrappersEqual:f,areRegExpsEqual:c,areSetsEqual:u,areTypedArraysEqual:h,areUrlsEqual:m,unknownTagComparators:p}){return function(v,b,w){if(v===b)return!0;if(v==null||b==null)return!1;const A=typeof v;if(A!==typeof b)return!1;if(A!=="object")return A==="number"?a(v,b,w):A==="function"?s(v,b,w):!1;const y=v.constructor;if(y!==b.constructor)return!1;if(y===Object)return l(v,b,w);if(Array.isArray(v))return e(v,b,w);if(y===Date)return i(v,b,w);if(y===RegExp)return c(v,b,w);if(y===Map)return o(v,b,w);if(y===Set)return u(v,b,w);const x=KS.call(v);if(x===RS)return i(v,b,w);if(x===HS)return c(v,b,w);if(x===OS)return o(v,b,w);if(x===WS)return u(v,b,w);if(x===zS)return typeof v.then!="function"&&typeof b.then!="function"&&l(v,b,w);if(x===GS)return m(v,b,w);if(x===LS)return r(v,b,w);if(x===FS)return l(v,b,w);if(VS[x])return h(v,b,w);if(x===TS)return t(v,b,w);if(x===NS)return n(v,b,w);if(x===DS||x===PS||x===$S)return f(v,b,w);if(p){let C=p[x];if(!C){const _=gS(v);_&&(C=p[_])}if(C)return C(v,b,w)}return!1}}function US({circular:t,createCustomConfig:e,strict:n}){let i={areArrayBuffersEqual:wS,areArraysEqual:n?Ls:AS,areDataViewsEqual:xS,areDatesEqual:_S,areErrorsEqual:CS,areFunctionsEqual:SS,areMapsEqual:n?ff(m1,Ls):m1,areNumbersEqual:jS,areObjectsEqual:n?Ls:IS,arePrimitiveWrappersEqual:BS,areRegExpsEqual:ES,areSetsEqual:n?ff(g1,Ls):g1,areTypedArraysEqual:n?ff(hl,Ls):hl,areUrlsEqual:MS,unknownTagComparators:void 0};if(e&&(i=Object.assign({},i,e(i))),t){const r=ha(i.areArraysEqual),s=ha(i.areMapsEqual),o=ha(i.areObjectsEqual),a=ha(i.areSetsEqual);i=Object.assign({},i,{areArraysEqual:r,areMapsEqual:s,areObjectsEqual:o,areSetsEqual:a})}return i}function QS(t){return function(e,n,i,r,s,o,a){return t(e,n,a)}}function qS({circular:t,comparator:e,createState:n,equals:i,strict:r}){if(n)return function(a,l){const{cache:f=t?new WeakMap:void 0,meta:c}=n();return e(a,l,{cache:f,equals:i,meta:c,strict:r})};if(t)return function(a,l){return e(a,l,{cache:new WeakMap,equals:i,meta:void 0,strict:r})};const s={cache:void 0,equals:i,meta:void 0,strict:r};return function(a,l){return e(a,l,s)}}const YS=Ki();Ki({strict:!0});Ki({circular:!0});Ki({circular:!0,strict:!0});Ki({createInternalComparator:()=>Cr});Ki({strict:!0,createInternalComparator:()=>Cr});Ki({circular:!0,createInternalComparator:()=>Cr});Ki({circular:!0,createInternalComparator:()=>Cr,strict:!0});function Ki(t={}){const{circular:e=!1,createInternalComparator:n,createState:i,strict:r=!1}=t,s=US(t),o=JS(s),a=n?n(o):QS(o);return qS({circular:e,comparator:o,createState:i,equals:a,strict:r})}var ZS=(...t)=>e=>{t.forEach(n=>{typeof n=="function"?n(e):n&&(n.current=e)})},XS=({contentComponent:t})=>{const e=d0.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return d.jsx(d.Fragment,{children:Object.values(e)})};function e9(){const t=new Set;let e={};return{subscribe(n){return t.add(n),()=>{t.delete(n)}},getSnapshot(){return e},getServerSnapshot(){return e},setRenderer(n,i){e={...e,[n]:T2.createPortal(i.reactElement,i.element,n)},t.forEach(r=>r())},removeRenderer(n){const i={...e};delete i[n],e=i,t.forEach(r=>r())}}}var t9=class extends K.Component{constructor(t){super(t),this.editorContentRef=K.createRef()}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var t;const e=this.props.editor;if(e&&!e.isDestroyed&&((t=e.view.dom)!=null&&t.parentNode)){if(e.contentComponent)return;const n=this.editorContentRef.current;n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n}),e.contentComponent=e9(),e.createNodeViews(),e.isEditorContentInitialized=!0,this.forceUpdate()}}componentWillUnmount(){var t;const e=this.props.editor;if(e){e.isEditorContentInitialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),e.contentComponent=null;try{if(!((t=e.view.dom)!=null&&t.parentNode))return;const n=document.createElement("div");n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n})}catch{}}}render(){const{editor:t,innerRef:e,...n}=this.props;return d.jsxs(d.Fragment,{children:[d.jsx("div",{ref:ZS(e,this.editorContentRef),...n}),t?.contentComponent&&d.jsx(XS,{contentComponent:t.contentComponent})]})}},n9=k.forwardRef((t,e)=>{const n=K.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[t.editor]);return K.createElement(t9,{key:n,innerRef:e,...t})}),qu=K.memo(n9),i9=typeof window<"u"?k.useLayoutEffect:k.useEffect,r9=class{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0}
130,this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach(i=>i())},n=this.editor;return n.on("transaction",e),()=>{n.off("transaction",e)}}}};function s9(t){var e;const[n]=k.useState(()=>new r9(t.editor)),i=M2.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,t.selector,(e=t.equalityFn)!=null?e:YS);return i9(()=>n.watch(t.editor),[t.editor,n]),k.useDebugValue(i),i}var o9=!1,Ib=typeof window>"u",a9=Ib||!!(typeof window<"u"&&window.next),l9=class Bb{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(n=>n())}getInitialEditor(){const e=this.options.current.immediatelyRender;let n=e??!0;return Ib?(n&&o9&&console.warn("SSR detected. `immediatelyRender` has been set to false to avoid hydration mismatches"),n=!1):a9&&e===void 0&&(n=!1),n?this.createEditor():null}createEditor(){const e={...this.options.current,onBeforeCreate:(...i)=>{var r,s;return(s=(r=this.options.current).onBeforeCreate)==null?void 0:s.call(r,...i)},onBlur:(...i)=>{var r,s;return(s=(r=this.options.current).onBlur)==null?void 0:s.call(r,...i)},onCreate:(...i)=>{var r,s;return(s=(r=this.options.current).onCreate)==null?void 0:s.call(r,...i)},onDestroy:(...i)=>{var r,s;return(s=(r=this.options.current).onDestroy)==null?void 0:s.call(r,...i)},onFocus:(...i)=>{var r,s;return(s=(r=this.options.current).onFocus)==null?void 0:s.call(r,...i)},onSelectionUpdate:(...i)=>{var r,s;return(s=(r=this.options.current).onSelectionUpdate)==null?void 0:s.call(r,...i)},onTransaction:(...i)=>{var r,s;return(s=(r=this.options.current).onTransaction)==null?void 0:s.call(r,...i)},onUpdate:(...i)=>{var r,s;return(s=(r=this.options.current).onUpdate)==null?void 0:s.call(r,...i)},onContentError:(...i)=>{var r,s;return(s=(r=this.options.current).onContentError)==null?void 0:s.call(r,...i)},onDrop:(...i)=>{var r,s;return(s=(r=this.options.current).onDrop)==null?void 0:s.call(r,...i)},onPaste:(...i)=>{var r,s;return(s=(r=this.options.current).onPaste)==null?void 0:s.call(r,...i)},onDelete:(...i)=>{var r,s;return(s=(r=this.options.current).onDelete)==null?void 0:s.call(r,...i)}};return new cS(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,n){return Object.keys(e).every(i=>["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(i)?!0:i==="extensions"&&e.extensions&&n.extensions?e.extensions.length!==n.extensions.length?!1:e.extensions.every((r,s)=>{var o;return r===((o=n.extensions)==null?void 0:o[s])}):e[i]===n[i])}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&e.length===0?Bb.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}
130):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((i,r)=>i===e[r]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,n=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){n&&n.setOptions(this.options.current);return}n&&!n.isDestroyed&&(n.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function Eb(t={},e=[]){const n=k.useRef(t);n.current=t;const[i]=k.useState(()=>new l9(n)),r=d0.useSyncExternalStore(i.subscribe,i.getEditor,i.getServerSnapshot);return k.useDebugValue(r),k.useEffect(i.onRender(e)),s9({editor:r,selector:({transactionNumber:s})=>t.shouldRerenderOnTransaction===!1||t.shouldRerenderOnTransaction===void 0?null:t.immediatelyRender&&s===0?0:s+1}),r}var Mb=k.createContext({editor:null});Mb.Consumer;var d9=k.createContext({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),f9=()=>k.useContext(d9);K.forwardRef((t,e)=>{const{onDragStart:n}=f9(),i=t.as||"div";return d.jsx(i,{...t,ref:e,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...t.style}})});K.createContext({markViewContentRef:()=>{}});var Yu=k.createContext({get editor(){throw new Error("useTiptap must be used within a <Tiptap> provider")}});Yu.displayName="TiptapContext";var c9=()=>k.useContext(Yu);function Tb({children:t,...e}){const n="editor"in e?e.editor:e.instance;if(!n)throw new Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");const i=k.useMemo(()=>({editor:n}),[n]),r=k.useMemo(()=>({editor:n}),[n]);return d.jsx(Mb.Provider,{value:r,children:d.jsx(Yu.Provider,{value:i,children:t})})}Tb.displayName="Tiptap";function Fb({...t}){const{editor:e}=c9();return d.jsx(qu,{editor:e,...t})}Fb.displayName="Tiptap.Content";Object.assign(Tb,{Content:Fb});var pl=(t,e)=>{if(t==="slot")return 0;if(t instanceof Function)return t(e);const{children:n,...i}=e??{};if(t==="svg")throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");return[t,i,n]};function Db(t,e,n){for(let i=0;;i++){if(i==t.childCount||i==e.childCount)return t.childCount==e.childCount?null:n;let r=t.child(i),s=e.child(i);if(r==s){n+=r.nodeSize;continue}if(!r.sameMarkup(s))return n;if(r.isText&&r.text!=s.text){let o=r.text,a=s.text,l=0;for(;o[l]==a[l];l++)n++;return l&&l<o.length&&l<a.length&&Lb(o.charCodeAt(l-1))&&Rb(o.charCodeAt(l))&&n--,n}if(r.content.size||s.content.size){let o=Db(r.content,s.content,n+1);if(o!=null)return o}n+=r.nodeSize}}function Nb(t,e,n,i){for(let r=t.childCount,s=e.childCount;;){if(r==0||s==0)return r==s?null:{a:n,b:i};let o=t.child(--r),a=e.child(--s),l=o.nodeSize;if(o==a){n-=l,i-=l;continue}if(!o.sameMarkup(a))return{a:n,b:i};if(o.isText&&o.text!=a.text){let f=o.text,c=a.text,u=f.length,h=c.length;for(;u>0&&h>0&&f[u-1]==c[h-1];)u--,h--,n--,i--;return u&&h&&u<f.length&&Lb(f.charCodeAt(u-1))&&Rb(f.charCodeAt(u))&&(n++,i++),{a:n,b:i}}if(o.content.size||a.content.size){let f=Nb(o.content,a.content,n-1,i-1);if(f)return f}n-=l,i-=l}}function Rb(t){return t>=56320&&t<57344}function Lb(t){return t>=55296&&t<56320}var mi=class Ht{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let i=0;i<e.length;i++)this.size+=e[i].nodeSize}nodesBetween(e,n,i,r=0,s){for(let o=0,a=0;a<n;o++){let l=this.content[o],f=a+l.nodeSize;if(f>e&&i(l,r+a,s||null,o)!==!1&&l.content.size){let c=a+1;l.nodesBetween(Math.max(0,e-c),Math.min(l.content.size,n-c),i,r+c)}a=f}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,i,r){let s="",o=!0;return this.nodesBetween(e,n,(a,l)=>{let f=a.isText?a.text.slice(Math.max(e,l)-l,n-l):a.isLeaf?r?typeof r=="function"?r(a):r:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&f||a.isTextblock)&&i&&(o?o=!1:s+=i),s+=f},0),s}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,i=e.firstChild,r=this.content.slice(),s=0;for(n.isText&&n.sameMarkup(i)&&(r[r.length-1]=n.withText(n.text+i.text),s=1);s<e.content.length;s++)r.push(e.content[s]);return new Ht(r,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let i=[],r=0;if(n>e)for(let s=0,o=0;o<n;s++){let a=this.content[s],l=o+a.nodeSize;l>e&&((o<e||l>n)&&(a.isText?a=a.cut(Math.max(0,e-o),Math.min(a.text.length,n-o)):a=a.cut(Math.max(0,e-o-1),Math.min(a.content.size,n-o-1))),i.push(a),r+=a.nodeSize),o=l}return new Ht(i,r)}cutByIndex(e,n){return e==n?Ht.empty:e==0&&n==this.content.length?this:new Ht(this.content.slice(e,n))}replaceChild(e,n){let i=this.content[e];if(i==n)return this;let r=this.content.slice(),s=this.size+n.nodeSize-i.nodeSize;return r[e]=n,new Ht(r,s)}addToStart(e){return new Ht([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new Ht(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,i=0;n<this.content.length;n++){let r=this.content[n];e(r,i,n),i+=r.nodeSize}}findDiffStart(e,n=0){return Db(this,e,n)}findDiffEnd(e,n=this.size,i=e.size){return Nb(this,e,n,i)}findIndex(e){if(e==0)return pa(0,e);if(e==this.size)return pa(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,i=0;;n++){let r=this.child(n),s=i+r.nodeSize;if(s>=e)return s==e?pa(n+1,s):pa(n,i);i=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return Ht.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return Ht.fromArray(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return Ht.empty;let n,i=0;for(let r=0;r<e.length;r++){let s=e[r];i+=s.nodeSize,r&&s.isText&&e[r-1].sameMarkup(s)?(n||(n=e.slice(0,r)),n[n.length-1]=s.withText(n[n.length-1].text+s.text)):n&&n.push(s)}return new Ht(n||e,i)}static from(e){if(!e)return Ht.empty;if(e instanceof Ht)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new Ht([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}};mi.empty=new mi([],0);var cf={index:0,offset:0};function pa(t,e){return cf.index=t,cf.offset=e,cf}
vendor: 18,144 bytes, line 130
130var u9=class extends Error{},ut=class Wr{constructor(e,n,i){this.content=e,this.openStart=n,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let i=Pb(this.content,e+this.openStart,n,this.openStart+1,this.openEnd+1);return i&&new Wr(i,this.openStart,this.openEnd)}removeBetween(e,n){return new Wr(Ob(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Wr.empty;let i=n.openStart||0,r=n.openEnd||0;if(typeof i!="number"||typeof r!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Wr(mi.fromJSON(e,n.content),i,r)}static maxOpen(e,n=!0){let i=0,r=0;for(let s=e.firstChild;s&&!s.isLeaf&&(n||!s.type.spec.isolating);s=s.firstChild)i++;for(let s=e.lastChild;s&&!s.isLeaf&&(n||!s.type.spec.isolating);s=s.lastChild)r++;return new Wr(e,i,r)}};ut.empty=new ut(mi.empty,0,0);function Ob(t,e,n){let{index:i,offset:r}=t.findIndex(e),s=t.maybeChild(i),{index:o,offset:a}=t.findIndex(n);if(r==e||s.isText){if(a!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(i!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(i,s.copy(Ob(s.content,e-r-1,n-r-1)))}function Pb(t,e,n,i,r,s){let{index:o,offset:a}=t.findIndex(e),l=t.maybeChild(o);if(a==e||l.isText)return s&&i<=0&&r<=0&&!s.canReplace(o,o,n)?null:t.cut(0,e).append(n).append(t.cut(e));let f=Pb(l.content,e-a-1,n,o==0?i-1:0,o==t.childCount-1?r-1:0,l);return f&&t.replaceChild(o,l.copy(f))}var zb=65535,Hb=Math.pow(2,16);function h9(t,e){return t+e*Hb}function v1(t){return t&zb}function p9(t){return(t-(t&zb))/Hb}var Wb=1,$b=2,Oa=4,Vb=8,b1=class{constructor(t,e,n){this.pos=t,this.delInfo=e,this.recover=n}get deleted(){return(this.delInfo&Vb)>0}get deletedBefore(){return(this.delInfo&(Wb|Oa))>0}get deletedAfter(){return(this.delInfo&($b|Oa))>0}get deletedAcross(){return(this.delInfo&Oa)>0}},wr=class $r{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&$r.empty)return $r.empty}recover(e){let n=0,i=v1(e);if(!this.inverted)for(let r=0;r<i;r++)n+=this.ranges[r*3+2]-this.ranges[r*3+1];return this.ranges[i*3]+n+p9(e)}mapResult(e,n=1){return this._map(e,n,!1)}map(e,n=1){return this._map(e,n,!0)}_map(e,n,i){let r=0,s=this.inverted?2:1,o=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let l=this.ranges[a]-(this.inverted?r:0);if(l>e)break;let f=this.ranges[a+s],c=this.ranges[a+o],u=l+f;if(e<=u){let h=f?e==l?-1:e==u?1:n:n,m=l+r+(h<0?0:c);if(i)return m;let p=e==(n<0?l:u)?null:h9(a/3,e-l),g=e==l?$b:e==u?Wb:Oa;return(n<0?e!=l:e!=u)&&(g|=Vb),new b1(m,g,p)}r+=c-f}return i?e+r:new b1(e+r,0,null)}touches(e,n){let i=0,r=v1(n),s=this.inverted?2:1,o=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let l=this.ranges[a]-(this.inverted?i:0);if(l>e)break;let f=this.ranges[a+s],c=l+f;if(e<=c&&a==r*3)return!0;i+=this.ranges[a+o]-f}return!1}forEach(e){let n=this.inverted?2:1,i=this.inverted?1:2;for(let r=0,s=0;r<this.ranges.length;r+=3){let o=this.ranges[r],a=o-(this.inverted?s:0),l=o+(this.inverted?0:s),f=this.ranges[r+n],c=this.ranges[r+i];e(a,a+f,l,l+c),s+=c-f}}invert(){return new $r(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?$r.empty:new $r(e<0?[0,-e,0]:[0,0,e])}};wr.empty=new wr([]);var uf=Object.create(null),Ot=class{getMap(){return wr.empty}merge(t){return null}static fromJSON(t,e){if(!e||!e.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=uf[e.stepType];if(!n)throw new RangeError(`No step type ${e.stepType} defined`);return n.fromJSON(t,e)}static jsonID(t,e){if(t in uf)throw new RangeError("Duplicate use of step JSON ID "+t);return uf[t]=e,e.prototype.jsonID=t,e}},Gt=class Xs{constructor(e,n){this.doc=e,this.failed=n}static ok(e){return new Xs(e,null)}static fail(e){return new Xs(null,e)}static fromReplace(e,n,i,r){try{return Xs.ok(e.replace(n,i,r))}catch(s){if(s instanceof u9)return Xs.fail(s.message);throw s}}};function Zu(t,e,n){let i=[];for(let r=0;r<t.childCount;r++){let s=t.child(r);s.content.size&&(s=s.copy(Zu(s.content,e,s))),s.isInline&&(s=e(s,n,r)),i.push(s)}return mi.fromArray(i)}var Gb=class eo extends Ot{constructor(e,n,i){super(),this.from=e,this.to=n,this.mark=i}apply(e){let n=e.slice(this.from,this.to),i=e.resolve(this.from),r=i.node(i.sharedDepth(this.to)),s=new ut(Zu(n.content,(o,a)=>!o.isAtom||!a.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),r),n.openStart,n.openEnd);return Gt.fromReplace(e,this.from,this.to,s)}invert(){return new Kb(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),i=e.mapResult(this.to,-1);return n.deleted&&i.deleted||n.pos>=i.pos?null:new eo(n.pos,i.pos,this.mark)}merge(e){return e instanceof eo&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new eo(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new eo(n.from,n.to,e.markFromJSON(n.mark))}};Ot.jsonID("addMark",Gb);var Kb=class to extends Ot{constructor(e,n,i){super(),this.from=e,this.to=n,this.mark=i}apply(e){let n=e.slice(this.from,this.to),i=new ut(Zu(n.content,r=>r.mark(this.mark.removeFromSet(r.marks)),e),n.openStart,n.openEnd);return Gt.fromReplace(e,this.from,this.to,i)}invert(){return new Gb(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),i=e.mapResult(this.to,-1);return n.deleted&&i.deleted||n.pos>=i.pos?null:new to(n.pos,i.pos,this.mark)}merge(e){return e instanceof to&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new to(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new to(n.from,n.to,e.markFromJSON(n.mark))}};Ot.jsonID("removeMark",Kb);var Jb=class no extends Ot{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Gt.fail("No node at mark step's position");let i=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Gt.fromReplace(e,this.pos,this.pos+1,new ut(mi.from(i),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let i=this.mark.addToSet(n.marks);if(i.length==n.marks.length){for(let r=0;r<n.marks.length;r++)if(!n.marks[r].isInSet(i))return new no(this.pos,n.marks[r]);return new no(this.pos,this.mark)}}return new Ub(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new no(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new no(n.pos,e.markFromJSON(n.mark))}};Ot.jsonID("addNodeMark",Jb);var Ub=class Cc extends Ot{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Gt.fail("No node at mark step's position");let i=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return Gt.fromReplace(e,this.pos,this.pos+1,new ut(mi.from(i),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new Jb(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Cc(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new Cc(n.pos,e.markFromJSON(n.mark))}};Ot.jsonID("removeNodeMark",Ub);var Xu=class Ci extends Ot{constructor(e,n,i,r=!1){super(),this.from=e,this.to=n,this.slice=i,this.structure=r}apply(e){return this.structure&&Sc(e,this.from,this.to)?Gt.fail("Structure replace would overwrite content"):Gt.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new wr([this.from,this.to-this.from,this.slice.size])}invert(e){return new Ci(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let n=e.mapResult(this.to,-1),i=this.from==this.to&&Ci.MAP_BIAS<0?n:e.mapResult(this.from,1);return i.deletedAcross&&n.deletedAcross?null:new Ci(i.pos,Math.max(i.pos,n.pos),this.slice,this.structure)}merge(e){if(!(e instanceof Ci)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let n=this.slice.size+e.slice.size==0?ut.empty:new ut(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new Ci(this.from,this.to+(e.to-e.from),n,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let n=this.slice.size+e.slice.size==0?ut.empty:new ut(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new Ci(e.from,this.to,n,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new Ci(n.from,n.to,ut.fromJSON(e,n.slice),!!n.structure)}};Xu.MAP_BIAS=1;Ot.jsonID("replace",Xu);var Qb=class Pa extends Ot{constructor(e,n,i,r,s,o,a=!1){super(),this.from=e,this.to=n,this.gapFrom=i,this.gapTo=r,this.slice=s,this.insert=o,this.structure=a}apply(e){if(this.structure&&(Sc(e,this.from,this.gapFrom)||Sc(e,this.gapTo,this.to)))return Gt.fail("Structure gap-replace would overwrite content");let n=e.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return Gt.fail("Gap is not a flat range");let i=this.slice.insertAt(this.insert,n.content);return i?Gt.fromReplace(e,this.from,this.to,i):Gt.fail("Content does not fit in gap")}getMap(){return new wr([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let n=this.gapTo-this.gapFrom;return new Pa(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let n=e.mapResult(this.from,1),i=e.mapResult(this.to,-1),r=this.from==this.gapFrom?n.pos:e.map(this.gapFrom,-1),s=this.to==this.gapTo?i.pos:e.map(this.gapTo,1);return n.deletedAcross&&i.deletedAcross||r<n.pos||s>i.pos?null:new Pa(n.pos,i.pos,r,s,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Pa(n.from,n.to,n.gapFrom,n.gapTo,ut.fromJSON(e,n.slice),n.insert,!!n.structure)}};Ot.jsonID("replaceAround",Qb);function Sc(t,e,n){let i=t.resolve(e),r=n-e,s=i.depth;for(;r>0&&s>0&&i.indexAfter(s)==i.node(s).childCount;)s--,r--;if(r>0){let o=i.node(s).maybeChild(i.indexAfter(s));for(;r>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,r--}}return!1}var m9=class za extends Ot{constructor(e,n,i){super(),this.pos=e,this.attr=n,this.value=i}apply(e){let n=e.nodeAt(this.pos);if(!n)return Gt.fail("No node at attribute step's position");let i=Object.create(null);for(let s in n.attrs)i[s]=n.attrs[s];i[this.attr]=this.value;let r=n.type.create(i,null,n.marks);return Gt.fromReplace(e,this.pos,this.pos+1,new ut(mi.from(r),0,n.isLeaf?0:1))}getMap(){return wr.empty}invert(e){return new za(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new za(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new za(n.pos,n.attr,n.value)}};Ot.jsonID("attr",m9);var g9=class jc extends Ot{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let r in e.attrs)n[r]=e.attrs[r];n[this.attr]=this.value;let i=e.type.create(n,e.content,e.marks);return Gt.ok(i)}getMap(){return wr.empty}invert(e){return new jc(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new jc(n.attr,n.value)}};Ot.jsonID("docAttr",g9);var Wo=class extends Error{};Wo=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};Wo.prototype=Object.create(Error.prototype);Wo.prototype.constructor=Wo;Wo.prototype.name="TransformError";var hf=Object.create(null),_t=class{constructor(t,e,n){this.$anchor=t,this.$head=e,this.ranges=n||[new v9(t.min(e),t.max(e))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let e=0;e<t.length;e++)if(t[e].$from.pos!=t[e].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(t,e=ut.empty){let n=e.content.lastChild,i=null;for(let o=0;o<e.openEnd;o++)i=n,n=n.lastChild;let r=t.steps.length,s=this.ranges;for(let o=0;o<s.length;o++){let{$from:a,$to:l}=s[o],f=t.mapping.slice(r);t.replaceRange(f.map(a.pos),f.map(l.pos),o?ut.empty:e),o==0&&w1(t,r,(n?n.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(t,e){let n=t.steps.length,i=this.ranges;for(let r=0;r<i.length;r++){let{$from:s,$to:o}=i[r],a=t.mapping.slice(n),l=a.map(s.pos),f=a.map(o.pos);r?t.deleteRange(l,f):(t.replaceRangeWith(l,f,e),w1(t,n,e.isInline?-1:1))}}static findFrom(t,e,n=!1){let i=t.parent.inlineContent?new gs(t):Vr(t.node(0),t.parent,t.pos,t.index(),e,n);if(i)return i;for(let r=t.depth-1;r>=0;r--){let s=e<0?Vr(t.node(0),t.node(r),t.before(r+1),t.index(r),e,n):Vr(t.node(0),t.node(r),t.after(r+1),t.index(r)+1,e,n);if(s)return s}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new go(t.node(0))}static atStart(t){return Vr(t,t,0,0,1)||new go(t)}static atEnd(t){return Vr(t,t,t.content.size,t.childCount,-1)||new go(t)}static fromJSON(t,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=hf[e.type];if(!n)throw new RangeError(`No selection type ${e.type} defined`);return n.fromJSON(t,e)}static jsonID(t,e){if(t in hf)throw new RangeError("Duplicate use of selection JSON ID "+t);return hf[t]=e,e.prototype.jsonID=t,e}getBookmark(){return gs.between(this.$anchor,this.$head).getBookmark()}};_t.prototype.visible=!0;var v9=class{constructor(t,e){this.$from=t,this.$to=e}},y1=!1;function k1(t){!y1&&!t.parent.inlineContent&&(y1=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}var gs=class io extends _t{constructor(e,n=e){k1(e),k1(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let i=e.resolve(n.map(this.head));if(!i.parent.inlineContent)return _t.near(i);let r=e.resolve(n.map(this.anchor));return new io(r.parent.inlineContent?r:i,i)}replace(e,n=ut.empty){if(super.replace(e,n),n==ut.empty){let i=this.$from.marksAcross(this.$to);i&&e.ensureMarks(i)}}eq(e){return e instanceof io&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new qb(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new io(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,i=n){let r=e.resolve(n);return new this(r,i==n?r:e.resolve(i))}static between(e,n,i){let r=e.pos-n.pos;if((!i||r)&&(i=r>=0?1:-1),!n.parent.inlineContent){let s=_t.findFrom(n,i,!0)||_t.findFrom(n,-i,!0);if(s)n=s.$head;else return _t.near(n,i)}return e.parent.inlineContent||(r==0?e=n:(e=(_t.findFrom(e,-i,!0)||_t.findFrom(e,i,!0)).$anchor,e.pos<n.pos!=r<0&&(e=n))),new io(e,n)}};_t.jsonID("text",gs);var qb=class Yb{constructor(e,n){this.anchor=e,this.head=n}map(e){return new Yb(e.map(this.anchor),e.map(this.head))}resolve(e){return gs.between(e.resolve(this.anchor),e.resolve(this.head))}},vs=class ro extends _t{constructor(e){let n=e.nodeAfter,i=e.node(0).resolve(e.pos+n.nodeSize);super(e,i),this.node=n}map(e,n){let{deleted:i,pos:r}=n.mapResult(this.anchor),s=e.resolve(r);return i?_t.near(s):new ro(s)}content(){return new ut(mi.from(this.node),0,0)}eq(e){return e instanceof ro&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new b9(this.anchor)}static fromJSON(e,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new ro(e.resolve(n.anchor))}static create(e,n){return new ro(e.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}};vs.prototype.visible=!1;_t.jsonID("node",vs);var b9=class Zb{constructor(e){this.anchor=e}map(e){let{deleted:n,pos:i}=e.mapResult(this.anchor);return n?new qb(i,i):new Zb(i)}resolve(e){let n=e.resolve(this.anchor),i=n.nodeAfter;return i&&vs.isSelectable(i)?new vs(n):_t.near(n)}},go=class Ha extends _t{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}
130replace(e,n=ut.empty){if(n==ut.empty){e.delete(0,e.doc.content.size);let i=_t.atStart(e.doc);i.eq(e.selection)||e.setSelection(i)}else super.replace(e,n)}toJSON(){return{type:"all"}}static fromJSON(e){return new Ha(e)}map(e){return new Ha(e)}eq(e){return e instanceof Ha}getBookmark(){return y9}};_t.jsonID("all",go);var y9={map(){return this},resolve(t){return new go(t)}};function Vr(t,e,n,i,r,s=!1){if(e.inlineContent)return gs.create(t,n);for(let o=i-(r>0?0:1);r>0?o<e.childCount:o>=0;o+=r){let a=e.child(o);if(a.isAtom){if(!s&&vs.isSelectable(a))return vs.create(t,n-(r<0?a.nodeSize:0))}else{let l=Vr(t,a,n+r,r<0?a.childCount:0,r,s);if(l)return l}n+=a.nodeSize*r}return null}function w1(t,e,n){let i=t.steps.length-1;if(i<e)return;let r=t.steps[i];if(!(r instanceof Xu||r instanceof Qb))return;let s=t.mapping.maps[i],o;s.forEach((a,l,f,c)=>{o==null&&(o=c)}),t.setSelection(_t.near(t.doc.resolve(o),n))}function A1(t,e){return!e||!t?t:t.bind(e)}var ma=class{constructor(t,e,n){this.name=t,this.init=A1(e.init,n),this.apply=A1(e.apply,n)}};new ma("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new ma("selection",{init(t,e){return t.selection||_t.atStart(e.doc)},apply(t){return t.selection}}),new ma("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,i){return i.selection.$cursor?t.storedMarks:null}}),new ma("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}});var k9=(t,e)=>{var n;const{state:i,view:r}=t,{selection:s}=i;if(!s.empty)return!1;const{$from:o}=s;if(o.parentOffset!==0)return!1;const a=o.depth-1,l=o.node(a),f=o.index(a);if(f===0)return!1;if(l.type===e)return t.commands.lift(e.name);const c=l.child(f-1);if(c.type!==e||!((n=c.lastChild)!=null&&n.isTextblock))return!1;const u=o.before(),m=u-1-1,{tr:p}=i;return p.delete(u,o.after()).insert(m,o.parent.content),p.setSelection(gs.create(p.doc,m)),r.dispatch(p.scrollIntoView()),!0},w9=/^\s*>\s$/,A9=tn.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return pl("blockquote",{...tt(this.options.HTMLAttributes,t),children:pl("slot",{})})},parseMarkdown:(t,e)=>{var n;const i=(n=e.parseBlockChildren)!=null?n:e.parseChildren;return e.createNode("blockquote",void 0,i(t.tokens||[]))},renderMarkdown:(t,e)=>{if(!t.content)return"";const n=">",i=[];return t.content.forEach((r,s)=>{var o,a;const c=((a=(o=e.renderChild)==null?void 0:o.call(e,r,s))!=null?a:e.renderChildren([r])).split(` 131`).map(u=>u.trim()===""?n:`${n} ${u}`);i.push(c.join(` 132`))}),i.join(` 133${n} 134`)},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote(),Backspace:()=>k9(this.editor,this.type)}},addInputRules(){return[ms({find:w9,type:this.type})]}}),x9=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,_9=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,C9=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,S9=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,j9=Tn.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return pl("strong",{...tt(this.options.HTMLAttributes,t),children:pl("slot",{})})},markdownTokenName:"strong",parseMarkdown:(t,e)=>e.applyMark("bold",e.parseInline(t.tokens||[])),markdownOptions:{htmlReopen:{open:"<strong>",close:"</strong>"}},renderMarkdown:(t,e)=>`**${e.renderChildren(t)}**`,addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}}
vendor: 8,071 bytes, lines 134-155
134,addInputRules(){return[ps({find:x9,type:this.type}),ps({find:C9,type:this.type})]},addPasteRules(){return[kr({find:_9,type:this.type}),kr({find:S9,type:this.type})]}}),I9=t=>{const e=/`([^`]+)`(?!`)$/.exec(t);return!e||e.index>0&&t[e.index-1]==="`"?null:{index:e.index,text:e[0],replaceWith:e[1]}},B9=t=>{const e=/`([^`]+)`(?!`)/g,n=[];let i;for(;(i=e.exec(t))!==null;)i.index>0&&t[i.index-1]==="`"||n.push({index:i.index,text:i[0],replaceWith:i[1]});return n},E9=Tn.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:t}){return["code",tt(this.options.HTMLAttributes,t),0]},markdownTokenName:"codespan",parseMarkdown:(t,e)=>e.applyMark("code",[{type:"text",text:t.text||""}]),renderMarkdown:(t,e)=>t.content?`\`${e.renderChildren(t.content)}\``:"",addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[ps({find:I9,type:this.type})]},addPasteRules(){return[kr({find:B9,type:this.type})]}}),pf=4,M9=/^```([a-z]+)?[\s\n]$/,T9=/^~~~([a-z]+)?[\s\n]$/,F9=tn.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:pf,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options;if(!n)return null;const s=[...((e=t.firstElementChild)==null?void 0:e.classList)||[]].filter(o=>o.startsWith(n)).map(o=>o.replace(n,""))[0];return s||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:e}){return["pre",tt(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(t,e)=>{var n,i;return((n=t.raw)==null?void 0:n.startsWith("```"))===!1&&((i=t.raw)==null?void 0:i.startsWith("~~~"))===!1&&t.codeBlockStyle!=="indented"?[]:e.createNode("codeBlock",{language:t.lang||null},t.text?[e.createTextNode(t.text)]:[])},renderMarkdown:(t,e)=>{var n;let i="";const r=((n=t.attrs)==null?void 0:n.language)||"";return t.content?i=[`\`\`\`${r}`,e.renderChildren(t.content),"```"].join(` 135`):i=`\`\`\`${r} 136 137\`\`\``,i},addCommands(){return{setCodeBlock:t=>({commands:e})=>e.setNode(this.name,t),toggleCodeBlock:t=>({commands:e})=>e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:e}=this.editor.state.selection,n=e.pos===1;return!t||e.parent.type.name!==this.name?!1:n||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Tab:({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:pf,{state:i}=t,{selection:r}=i,{$from:s,empty:o}=r;if(s.parent.type!==this.type)return!1;const a=" ".repeat(n);return o?t.commands.insertContent(a):t.commands.command(({tr:l})=>{const{from:f,to:c}=r,m=i.doc.textBetween(f,c,` 138`,` 139`).split(` 140`).map(p=>a+p).join(` 141`);return l.replaceWith(f,c,i.schema.text(m)),!0})},"Shift-Tab":({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:pf,{state:i}=t,{selection:r}=i,{$from:s,empty:o}=r;return s.parent.type!==this.type?!1:o?t.commands.command(({tr:a})=>{var l;const{pos:f}=s,c=s.start(),u=s.end(),m=i.doc.textBetween(c,u,` 142`,` 143`).split(` 144`);let p=0,g=0;const v=f-c;for(let C=0;C<m.length;C+=1){if(g+m[C].length>=v){p=C;break}g+=m[C].length+1}const w=((l=m[p].match(/^ */))==null?void 0:l[0])||"",A=Math.min(w.length,n);if(A===0)return!0;let y=c;for(let C=0;C<p;C+=1)y+=m[C].length+1;return a.delete(y,y+A),f-y<=A&&a.setSelection(je.create(a.doc,y)),!0}):t.commands.command(({tr:a})=>{const{from:l,to:f}=r,h=i.doc.textBetween(l,f,` 145`,` 146`).split(` 147`).map(m=>{var p;const g=((p=m.match(/^ */))==null?void 0:p[0])||"",v=Math.min(g.length,n);return m.slice(v)}).join(` 148`);return a.replaceWith(l,f,i.schema.text(h)),!0})},Enter:({editor:t})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=t,{selection:n}=e,{$from:i,empty:r}=n;if(!r||i.parent.type!==this.type)return!1;const s=i.parentOffset===i.parent.nodeSize-2,o=i.parent.textContent.endsWith(` 149 150`);return!s||!o?!1:t.chain().command(({tr:a})=>(a.delete(i.pos-2,i.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:i}=e,{$from:r,empty:s}=n;if(!s||r.parent.type!==this.type||!(r.parentOffset===r.parent.nodeSize-2))return!1;const a=r.after();return a===void 0?!1:i.nodeAt(a)?t.commands.command(({tr:f})=>(f.setSelection(Be.near(i.resolve(a))),!0)):t.commands.exitCode()}}},addInputRules(){return[_c({find:M9,type:this.type,getAttributes:t=>({language:t[1]})}),_c({find:T9,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new Ye({key:new yt("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),i=e.clipboardData.getData("vscode-editor-data"),r=i?JSON.parse(i):void 0,s=r?.mode;if(!n||!s)return!1;const{tr:o,schema:a}=t.state,l=a.text(n.replace(/\r\n?/g,` 151`));return o.replaceSelectionWith(this.type.create({language:s},l)),o.selection.$from.parent.type!==this.type&&o.setSelection(je.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),t.dispatch(o),!0}}})]}}),D9=tn.create({name:"doc",topNode:!0,content:"block+",renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` 152 153`):""}),N9=tn.create({name:"hardBreak",markdownTokenName:"br",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",tt(this.options.HTMLAttributes,t)]},renderText(){return` 154`},renderMarkdown:()=>` 155`,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:i})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:r,storedMarks:s}=n;if(r.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:a}=i.extensionManager,l=s||r.$to.parentOffset&&r.$from.marks();return e().insertContent({type:this.name}).command(({tr:f,dispatch:c})=>{if(c&&l&&o){const u=l.filter(h=>a.includes(h.type.name));f.ensureMarks(u)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),R9=tn.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,tt(this.options.HTMLAttributes,e),0]},parseMarkdown:(t,e)=>e.createNode("heading",{level:t.depth||1},e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>{var n;const i=(n=t.attrs)!=null&&n.level?parseInt(t.attrs.level,10):1,r="#".repeat(i);return t.content?`${r} ${e.renderChildren(t.content)}`:""},addCommands(){return{setHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.setNode(this.name,t):!1,toggleHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(t=>_c({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${t}}
155)\\s$`),type:this.type,getAttributes:{level:t}}))}}),L9=tn.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{},nextNodeType:"paragraph"}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",tt(this.options.HTMLAttributes,t)]},markdownTokenName:"hr",parseMarkdown:(t,e)=>e.createNode("horizontalRule"),renderMarkdown:()=>"---",addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{if(!GC(e,e.schema.nodes[this.name]))return!1;const{selection:n}=e,{$to:i}=n,r=t();return ab(n)?r.insertContentAt(i.pos,{type:this.name}):r.insertContent({type:this.name}),r.command(({state:s,tr:o,dispatch:a})=>{if(a){const{$to:l}=o.selection,f=l.end();if(l.nodeAfter)l.nodeAfter.isTextblock?o.setSelection(je.create(o.doc,l.pos+1)):l.nodeAfter.isBlock?o.setSelection(Ae.create(o.doc,l.pos)):o.setSelection(je.create(o.doc,l.pos));else{const c=s.schema.nodes[this.options.nextNodeType]||l.parent.type.contentMatch.defaultType,u=c?.create();u&&(o.insert(f,u),o.setSelection(je.create(o.doc,f+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[uS({find:/^(?:---|â-|___\s|\*\*\*\s)$/,type:this.t
vendor: 4,505 bytes, line 155
155ype})]}}),O9=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,P9=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,z9=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,H9=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,W9=Tn.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",tt(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},markdownTokenName:"em",parseMarkdown:(t,e)=>e.applyMark("italic",e.parseInline(t.tokens||[])),markdownOptions:{htmlReopen:{open:"<em>",close:"</em>"}},renderMarkdown:(t,e)=>`*${e.renderChildren(t)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[ps({find:O9,type:this.type}),ps({find:z9,type:this.type})]},addPasteRules(){return[kr({find:P9,type:this.type}),kr({find:H9,type:this.type})]}});const $9="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2
155ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",V9="ελ1Ï
2бг1ел3деÑи4еÑ2каÑолик6ом3мÐ
155ºÐ´2он1Ñква6онлайн5Ñг3ÑÑÑ2Ñ2ÑайÑ3Ñб3ÑкÑ3Òаз3Õ°Õ¡Õµ3×שר××5×§××3Ø§Ø¨ÙØ¸Ø¨Ù5را٠ÙÙ5ÙØ§Ø±Ø¯Ù4Ø¨ØØ±ÙÙ5جزائر5Ø³Ø¹ÙØ¯ÙØ©6عÙÙØ§Ù5٠غرب5٠ارات5ÛØ±Ø§Ù5بارت2زار4ÙØªÙ3ھارت5تÙÙØ³4Ø³ÙØ¯Ø§Ù3Ø±ÙØ©5Ø´Ø¨ÙØ©4عراÙ2ب2٠اÙ4ÙÙØ³Ø·ÙÙ6ÙØ·Ø±3ÙØ§Ø«ÙÙÙÙ6ÙÙ 3٠صر2ÙÙØ³Ùا5ÙØ±ÙتاÙÙØ§7ÙØ¹4Ù٠راÙ5پاکستاÙ7ÚØ§Ø±Øª4à¤à¥à¤®3नà¥à¤3à¤à¤¾à¤°à¤¤0मà¥3à¥à¤¤5सà¤à¤à¤ न5বাà¦à¦²à¦¾5à¦à¦¾à¦°à¦¤2ৰত4à¨à¨¾à¨°à¨¤4àªàª¾àª°àª¤4à¬à¬¾à¬°à¬¤4à®à®¨à¯à®¤à®¿à®¯à®¾6லà®à¯à®à¯6à®à®¿à®à¯à®à®ªà¯à®ªà¯à®°à¯11à°à°¾à°°à°¤à±5à²à²¾à²°à²¤4à´à´¾à´°à´¤à´5à¶½à¶à¶à·4à¸à¸à¸¡3à¹à¸à¸¢3ລາວ3áá2ã¿ããª3ã¢ãã¾ã³4ã¯ã©ã¦ã4ã°ã¼ã°ã«4ã³ã 2ã¹ãã¢3ã»ã¼ã«3ãã¡ãã·ã§ã³6ãã¤ã³ã4ä¸ç2ä¸ä¿¡1å½1å1æç½3äºé©¬é3ä¼ä¸2ä½å±±2ä¿¡æ¯2å¥åº·2å «å¦2å ¬å¸1ç2å°æ¹¾1ç£2åå1åº1æ 2åé0大é åº5å¨çº¿2大æ¿2天主æ3娱ä¹2å®¶é»2广ä¸2å¾®å2æ å2æç±ä½ 3ææº2æè2æ¿å¡1åº2æ°å å¡2é»2æ¶å°2æ¸ç±2æºæ2淡马é¡3游æ2æ¾³é2ç¹ç2ç§»å¨2ç»ç»æºæ4ç½å1åº1ç«1ç»2èé2è°·æ2è´ç©2é販2éå¢2é»è¨çç§4é£å©æµ¦3é£å2é¤å 2馿 ¼éæ3港2ë·ë·1ì»´2ì¼ì±2íêµ2",Ic="numeric",Bc="ascii",Ec="alpha",vo="asciinumeric",so="alphanumeric",Mc="domain",Xb="emoji",G9="scheme",K9="slashscheme",mf="whitespace";function J9(t,e){return t in e||(e[t]=[]),e[t]}function rr(t,e,n){e[Ic]&&(e[vo]=!0,e[so]=!0),e[Bc]&&(e[vo]=!0,e[Ec]=!0),e[vo]&&(e[so]=!0),e[Ec]&&(e[so]=!0),e[so]&&(e[Mc]=!0),e[Xb]&&(e[Mc]=!0);for(const i in e){const r=J9(i,n);r.indexOf(t)<0&&r.push(t)}}function U9(t,e){const n={};for(const i in e)e[i].indexOf(t)>=0&&(n[i]=!0);return n}function Qt(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}Qt.groups={};Qt.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let i=0;i<e.jr.length;i++){const r=e.jr[i][0],s=e.jr[i][1];if(s&&r.test(t))return s}return e.jd},has(t,e=!1){return e?t in this.j:!!this.go(t)},ta(t,e,n,i){for(let r=0;r<t.length;r++)this.tt(t[r],e,n,i)},tr(t,e,n,i){i=i||Qt.groups;let r;return e&&e.j?r=e:(r=new Qt(e),n&&i&&rr(e,n,i)),this.jr.push([t,r]),r},ts(t,e,n,i){let r=this;const s=t.length;if(!s)return r;for(let o=0;o<s-1;o++)r=r.tt(t[o]);return r.tt(t[s-1],e,n,i)},tt(t,e,n,i){i=i||Qt.groups;const r=this;if(e&&e.j)return r.j[t]=e,e;const s=e;let o,a=r.go(t);if(a?(o=new Qt,Object.assign(o.j,a.j),o.jr.push.apply(o.jr,a.jr),o.jd=a.jd,o.t=a.t):o=new Qt,s){if(i)if(o.t&&typeof o.t=="string"){const l=Object.assign(U9(o.t,i),n);rr(s,l,i)}else n&&rr(s,n,i);o.t=s}return r.j[t]=o,o}};const Me=(t,e,n,i,r)=>t.ta(e,n,i,r),it=(t,e,n,i,r)=>t.tr(e,n,i,r),x1=(t,e,n,i,r)=>t.ts(e,n,i,r),V=(t,e,n,i,r)=>t.tt(e,n,i,r),ni="WORD",Tc="UWORD",ey="ASCIINUMERICAL",ty="ALPHANUMERICAL",$o="LOCALHOST",Fc="TLD",Dc="UTLD",Wa="SCHEME",Gr="SLASH_SCHEME",eh="NUM",Nc="WS",th="NL",bo="OPENBRACE",yo="CLOSEBRACE",ml="OPENBRACKET",gl="CLOSEBRACKET",vl="OPENPAREN",bl="CLOSEPAREN",yl="OPENANGLEBRACKET",kl="CLOSEANGLEBRACKET",wl="FULLWIDTHLEFTPAREN",Al="FULLWIDTHRIGHTPAREN",xl="LEFTCORNERBRACKET",_l="RIGHTCORNERBRACKET",Cl="LEFTWHITECORNERBRACKET",Sl="RIGHTWHITECORNERBRACKET",jl="FULLWIDTHLESSTHAN",Il="FULLWIDTHGREATERTHAN",Bl="AMPERSAND",El="APOSTROPHE",Ml="ASTERISK",ji="AT",Tl="BACKSLASH",Fl="BACKTICK",Dl="CARET",sr="COLON",nh="COMMA",Nl="DOLLAR",Rn="DOT",Rl="EQUALS",ih="EXCLAMATION",un="HYPHEN",ko="PERCENT",Ll="PIPE",Ol="PLUS",Pl="POUND",wo="QUERY",rh="QUOTE",ny="FULLWIDTHMIDDLEDOT",sh="SEMI",Ln="SLASH",Ao="TILDE",zl="UNDERSCORE",iy="EMOJI",Hl="SYM";var ry=Object.freeze({__proto__:null,ALPHANUMERICAL:ty,AMPERSAND:Bl,APOSTROPHE:El,ASCIINUMERICAL:ey,ASTERISK:Ml,AT:ji,BACKSLASH:Tl,BACKTICK:Fl,CARET:Dl,CLOSEANGLEBRACKET:kl,CLOSEBRACE:yo,CLOSEBRACKET:gl,CLOSEPAREN:bl,COLON:sr,COMMA:nh,DOLLAR:Nl,DOT:Rn,EMOJI:iy,EQUALS:Rl,EXCLAMATION:ih,FULLWIDTHGREATERTHAN:Il,FULLWIDTHLEFTPAREN:wl,FULLWIDTHLESSTHAN:jl,FULLWIDTHMIDDLEDOT:ny,FULLWIDTHRIGHTPAREN:Al,HYPHEN:un,LEFTCORNERBRACKET:xl,LEFTWHITECORNERBRACKET:Cl,LOCALHOST:$o,NL:th,NUM:eh,OPENANGLEBRACKET:yl,OPENBRACE:bo,OPENBRACKET:ml,OPENPAREN:vl,PERCENT:ko,PIPE:Ll,PLUS:Ol,POUND:Pl,QUERY:wo,QUOTE:rh,RIGHTCORNERBRACKET:_l,RIGHTWHITECORNERBRACKET:Sl,SCHEME:Wa,SEMI:sh,SLASH:Ln,SLASH_SCHEME:Gr,SYM:Hl,TILDE:Ao,TLD:Fc,UNDERSCORE:zl,UTLD:Dc,UWORD:Tc,WORD:ni,WS:Nc});const Zn=/[a-z]/,Os=new RegExp("\\p{L}","u"),gf=new RegExp("\\p{Emoji}","u"),Xn=/\d/,vf=/\s/,_1="\r",bf=` 156`,Q9="ï¸",q9="â",yf="";let ga=null,va=null;function Y9(t=[]){const e={};Qt.groups=e;const n=new Qt;ga==null&&(ga=C1($9)),va==null&&(va=C1(V9)),V(n,"'",El),V(n,"{",bo),V(n,"}",yo),V(n,"[",ml),V(n,"]",gl),V(n,"(",vl),V(n,")",bl),V(n,"<",yl),V(n,">",kl),V(n,"ï¼",wl),V(n,"ï¼",Al),V(n,"ã",xl),V(n,"ã",_l),V(n,"ã",Cl),V(n,"ã",Sl),V(n,"ï¼",jl),V(n,"ï¼",Il),V(n,"&",Bl),V(n,"*",Ml),V(n,"@",ji),V(n,"`",Fl),V(n,"^",Dl),V(n,":",sr),V(n,",",nh),V(n,"$",Nl),V(n,".",Rn),V(n,"=",Rl),V(n,"!",ih),V(n,"-",un),V(n,"%",ko),V(n,"|",Ll),V(n,"+",Ol),V(n,"#",Pl),V(n,"?",wo),V(n,'"',rh),V(n,"/",Ln),V(n,";",sh),V(n,"~",Ao),V(n,"_",zl),V(n,"\\",Tl),V(n,"ã»",ny);const i=it(n,Xn,eh,{[Ic]:!0});it(i,Xn,i);const r=it(i,Zn,ey,{[vo]:!0}),s=it(i,Os,ty,{[so]:!0}),o=it(n,Zn,ni,{[Bc]:!0});it(o,Xn,r),it(o,Zn,o),it(r,Xn,r),it(r,Zn,r);const a=it(n,Os,Tc,{[Ec]:!0});it(a,Zn),it(a,Xn,s),it(a,Os,a),it(s,Xn,s),it(s,Zn),it(s,Os,s);const l=V(n,bf,th,{[mf]:!0}),f=V(n,_1,Nc,{[mf]:!0}),c=it(n,vf,Nc,{[mf]:!0});V(n,yf,c),V(f,bf,l),V(f,yf,c),it(f,vf,c),V(c,_1),V(c,bf),it(c,vf,c),V(c,yf,c);const u=it(n,gf,iy,{[Xb]:!0});V(u,"#"),it(u,gf,u),V(u,Q9,u);const h=V(u,q9);V(h,"#"),it(h,gf,u);const m=[[Zn,o],[Xn,r]],p=[[Zn,null],[Os,a],[Xn,s]];for(let g=0;g<ga.length;g++)Ai(n,ga[g],Fc,ni,m);for(let g=0;g<va.length;g++)Ai(n,va[g],Dc,Tc,p);rr(Fc,{tld:!0,ascii:!0},e),rr(Dc,{utld:!0,alpha:!0},e),Ai(n,"file",Wa,ni,m),Ai(n,"mailto",Wa,ni,m),Ai(n,"http",Gr,ni,m),Ai(n,"https",Gr,ni,m),Ai(n,"ftp",Gr,ni,m),Ai(n,"ftps",Gr,ni,m),rr(Wa,{scheme:!0,ascii:!0},e),rr(Gr,{slashscheme:!0,ascii:!0},e),t=t.sort((g,v)=>g[0]>v[0]?1:-1);for(let g=0;g<t.length;g++){const v=t[g][0],w=t[g][1]?{[G9]:!0}:{[K9]:!0};v.indexOf("-")>=0?w[Mc]=!0:Zn.test(v)?Xn.test(v)?w[vo]=!0:w[Bc]=!0:w[Ic]=!0,x1(n,v,v,w)}return x1(n,"localhost",$o,{ascii:!0}),n.jd=new Qt(Hl),{start:n,tokens:Object.assign({groups:e},ry)}}function sy(t,e){const n=Z9(e.replace(/[A-Z]/g,a=>a.toLowerCase())),i=n.length,r=[];let s=0,o=0;for(;o<i;){let a=t,l=null,f=0,c=null,u=-1,h=-1;for(;o<i&&(l=a.go(n[o]));)a=l,a.accepts()?(u=0,h=0,c=a):u>=0&&(u+=n[o].length,h++),f+=n[o].length,s+=n[o].length,o++;s-=u,o-=h,f-=u,r.push({t:c.t,v:e.slice(s-f,s),s:s-f,e:s})}return r}function Z9(t){const e=[],n=t.length;let i=0;for(;i<n;){let r=t.charCodeAt(i),s,o=r<55296||r>56319||i+1===n||(s=t.charCodeAt(i+1))<56320||s>57343?t[i]:t.slice(i,i+2);e.push(o),i+=o.length}return e}function Ai(t,e,n,i,r){let s;const o=e.length;for(let a=0;a<o-1;a++){const l=e[a];t.j[l]?s=t.j[l]:(s=new Qt(i),s.jr=r.slice(),t.j[l]=s),t=s}return s=new Qt(n),s.jr=r.slice(),t.j[e[o-1]]=s,s}function C1(t){const e=[],n=[];let i=0,r="0123456789";for(;i<t.length;){let s=0;for(;r.indexOf(t[i+s])>=0;)s++;
vendor: 6,577 bytes, lines 156-159
156if(s>0){e.push(n.join(""));for(let o=parseInt(t.substring(i,i+s),10);o>0;o--)n.pop();i+=s}else n.push(t[i]),i++}return e}const Vo={defaultProtocol:"http",events:null,format:S1,formatHref:S1,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function oh(t,e=null){let n=Object.assign({},Vo);t&&(n=Object.assign(n,t instanceof oh?t.o:t));const i=n.ignoreTags,r=[];for(let s=0;s<i.length;s++)r.push(i[s].toUpperCase());this.o=n,e&&(this.defaultRender=e),this.ignoreTags=r}oh.prototype={o:Vo,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,e,n){const i=e!=null;let r=this.o[t];return r&&(typeof r=="object"?(r=n.t in r?r[n.t]:Vo[t],typeof r=="function"&&i&&(r=r(e,n))):typeof r=="function"&&i&&(r=r(e,n.t,n)),r)},getObj(t,e,n){let i=this.o[t];return typeof i=="function"&&e!=null&&(i=i(e,n.t,n)),i},render(t){const e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}};function S1(t){return t}function oy(t,e){this.t="token",this.v=t,this.tk=e}oy.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),n=t.get("truncate",e,this),i=t.get("format",e,this);return n&&i.length>n?i.substring(0,n)+"â¦":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=Vo.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),i=t.get("formatHref",n,this),r=t.get("tagName",n,e),s=this.toFormattedString(t),o={},a=t.get("className",n,e),l=t.get("target",n,e),f=t.get("rel",n,e),c=t.getObj("attributes",n,e),u=t.getObj("events",n,e);return o.href=i,a&&(o.class=a),l&&(o.target=l),f&&(o.rel=f),c&&Object.assign(o,c),{tagName:r,attributes:o,content:s,eventListeners:u}}};function yd(t,e){class n extends oy{constructor(r,s){super(r,s),this.t=t}}for(const i in e)n.prototype[i]=e[i];return n.t=t,n}const X9=yd("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),j1=yd("text"),e5=yd("nl"),ba=yd("url",{isLink:!0,toHref(t=Vo.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==$o&&t[1].t===sr}}),cn=t=>new Qt(t);function t5({groups:t}){const e=t.domain.concat([Bl,Ml,ji,Tl,Fl,Dl,Nl,Rl,un,eh,ko,Ll,Ol,Pl,Ln,Hl,Ao,zl]),n=[El,sr,nh,Rn,ih,ko,wo,rh,sh,yl,kl,bo,yo,gl,ml,vl,bl,wl,Al,xl,_l,Cl,Sl,jl,Il],i=[Bl,El,Ml,Tl,Fl,Dl,Nl,Rl,un,bo,yo,ko,Ll,Ol,Pl,wo,Ln,Hl,Ao,zl],r=cn(),s=V(r,Ao);Me(s,i,s),Me(s,t.domain,s);const o=cn(),a=cn(),l=cn();Me(r,t.domain,o),Me(r,t.scheme,a),Me(r,t.slashscheme,l),Me(o,i,s),Me(o,t.domain,o);const f=V(o,ji);V(s,ji,f),V(a,ji,f),V(l,ji,f);const c=V(s,Rn);Me(c,i,s),Me(c,t.domain,s);const u=cn();Me(f,t.domain,u),Me(u,t.domain,u);const h=V(u,Rn);Me(h,t.domain,u);const m=cn(X9);Me(h,t.tld,m),Me(h,t.utld,m),V(f,$o,m);const p=V(u,un);V(p,un,p),Me(p,t.domain,u),Me(m,t.domain,u),V(m,Rn,h),V(m,un,p);const g=V(o,un),v=V(o,Rn);V(g,un,g),Me(g,t.domain,o),Me(v,i,s),Me(v,t.domain,o);const b=cn(ba);Me(v,t.tld,b),Me(v,t.utld,b),Me(b,t.domain,o),Me(b,i,s),V(b,Rn,v),V(b,un,g),V(b,ji,f);const w=V(b,sr),A=cn(ba);Me(w,t.numeric,A);const y=cn(ba),x=cn();Me(y,e,y),Me(y,n,x),Me(x,e,y),Me(x,n,x),V(b,Ln,y),V(A,Ln,y);const C=V(a,sr),_=V(l,sr),j=V(_,Ln),I=V(j,Ln);Me(a,t.domain,o),V(a,Rn,v),V(a,un,g),Me(l,t.domain,o),V(l,Rn,v),V(l,un,g),Me(C,t.domain,y),V(C,Ln,y),V(C,wo,y),Me(I,t.domain,y),Me(I,e,y),V(I,Ln,y);const E=[[bo,yo],[ml,gl],[vl,bl],[yl,kl],[wl,Al],[xl,_l],[Cl,Sl],[jl,Il]];for(let F=0;F<E.length;F++){const[N,T]=E[F],B=V(y,N);V(x,N,B);const M=cn(ba);Me(B,e,M);const D=cn();Me(B,n,D),V(B,T,y),Me(M,e,M),Me(M,n,D),Me(D,e,M),Me(D,n,D),V(M,T,y),V(D,T,y)}return V(r,$o,b),V(r,th,e5),{start:r,tokens:ry}}function n5(t,e,n){let i=n.length,r=0,s=[],o=[];for(;r<i;){let a=t,l=null,f=null,c=0,u=null,h=-1;for(;r<i&&!(l=a.go(n[r].t));)o.push(n[r++]);for(;r<i&&(f=l||a.go(n[r].t));)l=null,a=f,a.accepts()?(h=0,u=a):h>=0&&h++,r++,c++;if(h<0)r-=c,r<i&&(o.push(n[r]),r++);else{o.length>0&&(s.push(kf(j1,e,o)),o=[]),r-=h,c-=h;const m=u.t,p=n.slice(r-c,r);s.push(kf(m,e,p))}}return o.length>0&&s.push(kf(j1,e,o)),s}function kf(t,e,n){const i=n[0].s,r=n[n.length-1].e,s=e.slice(i,r);return new t(s,n)}const i5=typeof console<"u"&&console&&console.warn||(()=>{}),r5="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ue={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function s5(){return Qt.groups={},Ue.scanner=null,Ue.parser=null,Ue.tokenQueue=[],Ue.pluginQueue=[],Ue.customSchemes=[],Ue.initialized=!1,Ue}function I1(t,e=!1){if(Ue.initialized&&i5(`linkifyjs: already initialized - will not register custom scheme "${t}" ${r5}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format. 1571. Must only contain digits, lowercase ASCII letters or "-" 1582. Cannot start or end with "-" 1593. "-" cannot repeat`);Ue.customSchemes.push([t,e])}function o5(){Ue.scanner=Y9(Ue.customSchemes);for(let t=0;t<Ue.tokenQueue.length;t++)Ue.tokenQueue[t][1]({scanner:Ue.scanner});Ue.parser=t5(Ue.scanner.tokens);for(let t=0;t<Ue.pluginQueue.length;t++)Ue.pluginQueue[t][1]({scanner:Ue.scanner,parser:Ue.parser});return Ue.initialized=!0,Ue}function ah(t){return Ue.initialized||o5(),n5(Ue.parser.start,t,sy(Ue.scanner.start,t))}ah.scan=sy;function ay(t,e=null,n=null){if(e&&typeof e=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);n=e,e=null}const i=new oh(n),r=ah(t),s=[];for(let o=0;o<r.length;o++){const a=r[o];a.isLink&&(!e||a.t===e)&&i.check(a)&&s.push(a.toFormattedObject(i))}return s}var lh="[\0-  áá â-\u2029âã]",a5=new RegExp(lh),l5=new RegExp(`${lh}$`),d5=new RegExp(lh,"g");function f5(t){return t.length===1?t[0].isLink:t.length===3&&t[1].isLink?["()","[]"].includes(t[0].value+t[2].value):!1}function c5(t){return new Ye({key:new yt("autolink"),appendTransaction:(e,n,i)=>{const r=e.some(f=>f.docChanged)&&!n.doc.eq(i.doc),s=e.some(f=>f.getMeta("preventAutolink"));if(!r||s)return;const{tr:o}=i,a=eb(n.doc,[...e]);
159if(Vu(a).forEach(({newRange:f})=>{const c=rC(i.doc,f,m=>m.isTextblock);let u,h;if(c.length>1)u=c[0],h=i.doc.textBetween(u.pos,u.pos+u.node.nodeSize,void 0," ");else if(c.length){const m=i.doc.textBetween(f.from,f.to," "," ");if(!l5.test(m))return;u=c[0],h=i.doc.textBetween(u.pos,f.to,void 0," ")}if(u&&h){const m=h.split(a5).filter(Boolean);if(m.length<=0)return!1;const p=m[m.length-1],g=u.pos+h.lastIndexOf(p);if(!p)return!1;const v=ah(p).map(b=>b.toObject(t.defaultProtocol));if(!f5(v))return!1;v.filter(b=>b.isLink).map(b=>({...b,from:g+b.start+1,to:g+b.end+1})).filter(b=>i.schema.marks.code?!i.doc.rangeHasMark(b.from,b.to,i.schema.marks.code):!0).filter(b=>t.validate(b.value)).filter(b=>t.shouldAutoLink(b.value)).forEach(b=>{Gu(b.from,b.to,i.doc).some(w=>w.mark.type===t.type)||o.addMark(b.from,b.to,t.type.create({href:b.href}))})}}),!!o.steps.length)return o}})}function u5(t){return new Ye({key:new yt("handleClickLink"),props:{handleClick:(e,n,i)=>{var r,s;if(i.button!==0||!e.editable)return!1;let o=null;if(i.target instanceof HTMLAnchorElement)o=i.target;else{const l=i.target;if(!l)return!1;const f=t.editor.view.dom;o=l.closest("a"),o&&!f.contains(o)&&(o=null)}if(!o)return!1;let a=!1;if(t.enableClickSelection&&(a=t.editor.commands.extendMarkRange(t.type.name)),t.openOnClick){const l=ob(e.state,t.type.name),f=(r=o.href)!=null?r:l.href,c=(s=o.target)!=null?s:l.target;f&&(window.open(f,c),a=!0)}return a}}})}function h5(t){return new Ye({key:new yt("handlePasteLink"),props:{handlePaste:(e,n,i)=>{const{shouldAutoLink:r}=t,{state:s}=e,{selection:o}=s,{empty:a}=o;if(a)return!1;let l="";i.content.forEach(c=>{l+=c.textContent});const f=ay(l,{defaultProtocol:t.defaultProtocol}).find(c=>c.isLink&&c.value===l);return!l||!f||r!==void 0&&!r(f.value)?!1:t.editor.commands.setMark(t.type,{href:f.href})}}})}function Zi(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(i=>{const r=typeof i=="string"?i:i.scheme;r&&n.push(r)}),!t||t.replace(d5,"").match(new RegExp(`^(?:(?:${n.map(i=>i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")).join("|")}):|[^a-z]|[a-z0-9+.\\-]+(?:[^a-z+.\\-:]|$))`,"i"))}var p5=Tn.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){I1(t);return}I1(t.scheme,t.optionalSlashes)})},onDestroy(){s5()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!Zi(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>{const e=/^[a-z][a-z0-9+.-]*:\/\//i.test(t),n=/^[a-z][a-z0-9+.-]*:/i.test(t);if(e||n&&!t.includes("@"))return!0;const r=(t.includes("@")?t.split("@").pop():t).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(r)||!/\./.test(r))}}},addAttributes(){var t,e,n;return{href:{default:null,parseHTML(i){return i.getAttribute("href")}},target:{default:(t=this.options.HTMLAttributes.target)!=null?t:null},rel:{default:(e=this.options.HTMLAttributes.rel)!=null?e:null},class:{default:(n=this.options.HTMLAttributes.class)!=null?n:null},title:{default:null}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:n=>!!Zi(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!Zi(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",tt(this.options.HTMLAttributes,t),0]:["a",tt(this.options.HTMLAttributes,{...t,href:""}),0]},markdownTokenName:"link",parseMarkdown:(t,e)=>e.applyMark("link",e.parseInline(t.tokens||[]),{href:t.href,title:t.title||null}),renderMarkdown:(t,e)=>{var n,i,r,s;const o=(i=(n=t.attrs)==null?void 0:n.href)!=null?i:"",a=(s=(r=t.attrs)==null?void 0:r.title)!=null?s:"",l=e.renderChildren(t);return a?`[${l}](${o} "${a}")`:`[${l}](${o})`},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t;return this.options.isAllowedUri(n,{defaultValidate:i=>!!Zi(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,t).setMeta("preventAutolink",!0).run():!1},toggleLink:t=>({chain:e})=>{const{href:n}=t||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:i=>!!Zi(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[kr({find:t=>{const e=[];
vendor: 2,158 bytes, lines 159-160
159if(t){const{protocols:n,defaultProtocol:i}=this.options,r=ay(t).filter(s=>s.isLink&&this.options.isAllowedUri(s.value,{defaultValidate:o=>!!Zi(o,n),protocols:n,defaultProtocol:i}));r.length&&r.forEach(s=>{this.options.shouldAutoLink(s.value)&&e.push({text:s.value,data:{href:s.href},index:s.start})})}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)==null?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options;return this.options.autolink&&t.push(c5({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:i=>this.options.isAllowedUri(i,{defaultValidate:r=>!!Zi(r,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),t.push(u5({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick==="whenNotEditable"?!0:this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&t.push(h5({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),t}}),m5=Object.defineProperty,g5=(t,e)=>{for(var n in e)m5(t,n,{get:e[n],enumerable:!0})},v5="listItem",B1="textStyle",E1=/^\s*([-+*])\s$/,ly=tn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",tt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>t.type!=="list"||t.ordered?[]:{type:"bulletList",content:t.items?e.parseChildren(t.items):[]},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` 160`):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(v5,this.editor.getAttributes(B1)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}}
160,addInputRules(){let t=ms({find:E1,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=ms({find:E1,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(B1),editor:this.editor})),[t]}}),b5=(t,e,n)=>{const{selection:i}=t;if(!i.empty)return null;const{$from:r}=i;if(!r.parent.isTextblock||r.parentOffset!==r.parent.content.size)return null;let s=-1;for(let m=r.depth;m>0;m-=1)if(r.node(m).type.name===e){s=m;break}if(s<0)return null;const o=r.node(s),a=r.index(s);if(a+1>=o.childCount)return null;const l=o.child(a+1);if(!n.includes(l.type.name))return null;const f=t.schema.nodes[e];let c=!1;if(l.forEach(m=>{m.type===f&&m.childCount>1&&(c=!0)}),!c)return null;const u=t.doc.resolve(r.after()).nodeAfter;if(!u||!n.includes(u.type.name))return null;const h=[];return u.forEach(m=>{h.push(m)}),h.length===0?null:{listItemDepth:s,nestedList:u,nestedListPos:r.after(),insertPos:r.after(s),items:h}},y5=(t,e,n,i)=>{const r=b5(t,n,i);if(!r)return!1;const{selection:s}=t,{nestedList:o,nestedListPos:a,insertPos:l,items:f}=r,c=t.tr;c.delete(a,a+o.nodeSize);const u=c.mapping.map(l);return c.insert(u,J.from(f)),c.setSelection(s.map(c.doc,c.mapping)),e&&e(c),!0},k5=(t,e,n)=>y5(t.state,t.view.dispatch,e,n),dy=(t,e)=>nt.create({name:`${t}BranchingDeleteKeymap`,priority:101,addKeyboardShortcuts(){const n=()=>k5(this.editor,t,e);return{Delete:n,"Mod-Delete":n}}}),fy=[[1e3,"m"],[900,"cm"],[500,"d"],[400,"cd"],[100,"c"],[90,"xc"],[50,"l"],[40,"xl"],[10,"x"],[9,"ix"],[5,"v"],[4,"iv"],[1,"i"]],ya="abcdefghijklmnopqrstuvwxyz",w5="[a-zA-Z]{1,2}",dh=String.raw`\d+|[ivxlcdmIVXLCDM]+|${w5}`;function kd(t){let e=t,n="";for(const[i,r]of fy)for(;e>=i;)n+=r,e-=i;return n}function fh(t){return kd(t).toUpperCase()}function cy(t){const e=t.toLowerCase();let n=0,i=0;for(;n<e.length;){let r=!1;for(const[s,o]of fy)if(e.startsWith(o,n)){i+=s,n+=o.length,r=!0;break}if(!r)return 0}return i}function A5(t){if(!/^[ivxlcdmIVXLCDM]+$/.test(t))return!1;const e=cy(t);return e<=0?!1:(t===t.toLowerCase()?kd(e):fh(e))===t}function x5(t){const e=t.toLowerCase();if(e.length===1)return e.charCodeAt(0)-97+1;if(e.length===2){const n=e.charCodeAt(0)-97,i=e.charCodeAt(1)-97;return(n+1)*26+i+1}return 0}function Wl(t){if(t<=26)return ya[t-1];const e=Math.floor((t-1)/26)-1,n=(t-1)%26;return e<0?ya[n]:ya[e]+ya[n]}function wd(t){if(!(!t||/^\d+$/.test(t))){if(A5(t))return t===t.toLowerCase()?"i":"I";if(/^[a-z]{1,2}$/.test(t))return"a";if(/^[A-Z]{1,2}$/.test(t))return"A"}}function ch(t){if(/^\d+$/.test(t))return parseInt(t,10);const e=wd(t);if(e==="i"||e==="I")return cy(t);if(e==="a"||e==="A"){const i=x5(t);return i>0?i:1}const n=parseInt(t,10);return Number.isNaN(n)?1:n}function _5(t,e){if(t==="numeric")return String(e);switch(t){case"a":return Wl(e);case"A":return Wl(e).toUpperCase();case"i":return kd(e);case"I":return fh(e);default:return String(e)}}function C5(t){var e;if(t.length===0)return!1;const n=(e=wd(t[0]))!=null?e:"numeric",i=ch(t[0]);if(i<1)return!1;for(let r=0;r<t.length;r++){const s=_5(n,i+r);if(t[r]!==s)return!1}return!0}function S5(t){return{type:wd(t),start:ch(t)}}function j5(t){const{type:e,start:n}=S5(t),i={};return e&&(i.type=e),n!==1&&(i.start=n),i}function I5(t,e,n=". "){const i=e+1;if(!t||t==="1")return`${i}${n}`;switch(t){case"a":return`${Wl(i)}${n}`;case"A":return`${Wl(i).toUpperCase()}${n}`;case"i":return`${kd(i)}${n}`;case"I":return`${fh(i)}${n}`;default:return`${i}${n}`}}function B5(t){var e,n;const i=(e=t.tokens)==null?void 0:e[0];return!!(t.text&&((n=t.tokens)==null?void 0:n.length)===1&&i?.type==="list"&&i.ordered&&i.raw===t.text)}function E5(t,e){return e.tokenizeInline?e.parseInline(e.tokenizeInline(t)):e.parseInline([{type:"text",raw:t,text:t}])}var uy=tn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",tt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list_item",parseMarkdown:(t,e)=>{var n;if(t.type!=="list_item")return[];const i=(n=e.parseBlockChildren)!=null?n:e.parseChildren;let r=[];if(t.tokens&&t.tokens.length>0){if(B5(t))return{type:"listItem",content:[{type:"paragraph",content:E5(t.text||"",e)}]};if(t.tokens.some(o=>o.type==="paragraph"))r=i(t.tokens);else{const o=t.tokens[0];if(o&&o.type==="text"&&o.tokens&&o.tokens.length>0){if(r=[{type:"paragraph",content:e.parseInline(o.tokens)}],t.tokens.length>1){const l=t.tokens.slice(1),f=i(l);r.push(...f)}}else r=i(t.tokens)}}return r.length===0&&(r=[{type:"paragraph",content:[]}]),{type:"listItem",content:r}},renderMarkdown:(t,e,n)=>Uu(t,e,i=>{var r,s,o,a;if(i.parentType==="bulletList")return"- ";if(i.parentType==="orderedList"){const l=((s=(r=i.meta)==null?void 0:r.parentAttrs)==null?void 0:s.start)||1,f=(a=(o=i.meta)==null?void 0:o.parentAttrs)==null?void 0:a.type,c=l-1+(i.index||0);return I5(f,c,". ")}return"- "},n),addExtensions(){return[dy(this.name,[this.options.bulletListTypeName,this.options.orderedListTypeName])]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),M5={};g5(M5,{findListItemPos:()=>Ad,getNextListDepth:()=>uh,handleBackspace:()=>Rc,handleDelete:()=>Lc,hasListBefore:()=>hy,hasListItemAfter:()=>T5,hasListItemBefore:()=>F5,listItemHasSubList:()=>D5,nextListIsDeeper:()=>py,nextListIsHigher:()=>my});var Ad=(t,e)=>{const{$from:n}=e.selection,i=ht(t,e.schema);let r=null,s=n.depth,o=n.pos,a=null;for(;s>0&&a===null;)r=n.node(s),r.type===i?a=s:(s-=1,o-=1);return a===null?null:{$pos:e.doc.resolve(o),depth:a}},uh=(t,e)=>{const n=Ad(t,e);if(!n)return!1;const[,i]=mC(e,t,n.$pos.pos+4);return i},hy=(t,e,n)=>{const{$anchor:i}=t.selection,r=Math.max(0,i.pos-2),s=t.doc.resolve(r).node();return!(!s||!n.includes(s.type.name))},Rc=(t,e,n)=>{if(t.commands.undoInputRule())return!0;
160if(t.state.selection.from!==t.state.selection.to)return!1;if(!Wi(t.state,e)&&hy(t.state,e,n)){const{$anchor:i}=t.state.selection,r=t.state.doc.resolve(i.before()-1),s=[];r.node().descendants((l,f)=>{l.type.name===e&&s.push({node:l,pos:f})});const o=s.at(-1);if(!o)return!1;const a=t.state.doc.resolve(r.start()+o.pos+1);return t.chain().cut({from:i.start()-1,to:i.end()+1},a.end()).joinForward().run()}return!Wi(t.state,e)||!yC(t.state)?!1:t.chain().liftListItem(e).run()},py=(t,e)=>{const n=uh(t,e),i=Ad(t,e);return!i||!n?!1:n>i.depth},my=(t,e)=>{const n=uh(t,e),i=Ad(t,e);return!i||!n?!1:n<i.depth},Lc=(t,e)=>{if(!Wi(t.state,e)||!bC(t.state,e))return!1;const{selection:n}=t.state,{$from:i,$to:r}=n;return!n.empty&&i.sameParent(r)?!1:py(e,t.state)?t.chain().focus(t.state.selection.from+4).lift(e).joinBackward().run():my(e,t.state)?t.chain().joinForward().joinBackward().run():t.commands.joinItemForward()},T5=(t,e)=>{var n;const{$anchor:i}=e.selection,r=e.doc.resolve(i.pos-i.parentOffset-2);return!(r.index()===r.parent.childCount-1||((n=r.nodeAfter)==null?void 0:n.type.name)!==t)},F5=(t,e)=>{var n;const{$anchor:i}=e.selection,r=e.doc.resolve(i.pos-2);return!(r.index()===0||((n=r.nodeBefore)==null?void 0:n.type.name)!==t)},D5=(t,e,n)=>{if(!n)return!1;const i=ht(t,e.schema);let r=!1;return n.descendants(s=>{s.type===i&&(r=!0)}),r},gy=nt.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&Lc(t,n)&&(e=!0)}),e},"Mod-Delete":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&Lc(t,n)&&(e=!0)}),e},Backspace:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:i})=>{t.state.schema.nodes[n]!==void 0&&Rc(t,n,i)&&(e=!0)}),e},"Mod-Backspace":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:i})=>{t.state.schema.nodes[n]!==void 0&&Rc(t,n,i)&&(e=!0)}),e}}}}),Oc=new RegExp(`^(\\s*)(${dh})([.)])\\s+(.*)$`),N5=new RegExp(`^(\\s*)(${dh})([.)])\\s+`),R5=/^\s/,oo={heading:/^#{1,6}(?:\s|$)/,bulletItem:/^[-+*]\s+/,codeFence:/^(?:```|~~~)/,thematicBreak:/^(?:(?:-[ \t]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})$/};function L5(t){return Oc.test(t.trimStart())}function O5(t){const e=t.trimStart();return oo.bulletItem.test(e)||L5(e)||oo.heading.test(e)||oo.thematicBreak.test(e)&&!e.startsWith("-")||/^>\s?/.test(e)||oo.codeFence.test(e)}function P5(t){return Object.values(oo).some(e=>e.test(t))}function z5(t){const e=[],n=[];let i=!1;return t.forEach(r=>{if(i){n.push(r);return}if(r.trim()===""){i=!0,n.push(r);return}if(e.length>0&&O5(r)){i=!0,n.push(r);return}e.push(r)}),{paragraphLines:e,blockLines:n}}function H5(t){const e=[];let n=0,i=0;for(;n<t.length;){const r=t[n],s=r.match(Oc);if(!s)break;const[,o,a,l,f]=s,c=o.length,u=parseInt(a,10),h=isNaN(u)?wd(a):void 0,m=isNaN(u)?ch(a):u,p=[f];let g=n+1;const v=[r];let b=!1;for(;g<t.length;){const w=t[g];if(w.match(Oc))break;if(w.trim()==="")v.push(w),p.push(""),b=!0,g+=1;else if(w.match(R5)){const y=w.length-w.trimStart().length,x=c+a.length+1;v.push(w),p.push(w.slice(Math.min(y,x))),g+=1}else{if(b||P5(w))break;v.push(w),p.push(w),g+=1}}e.push({indent:c,number:m,type:h,content:p.join(` 161`).trim(),contentLines:p,raw:v.join(` 162`)}),i=g,n=g}return[e,i]}var W5=new RegExp(`^(${dh})([.)])\\s+(.+)$`);function $5(t){const e=t.split(` 163`).filter(s=>s.trim().length>0);if(e.length===0)return null;const n=[];for(const s of e){const o=s.trim().match(W5);if(!o)return null;n.push({marker:o[1],content:o[3]})}const i=n.map(s=>s.marker);return C5(i)?{type:"orderedList",attrs:j5(n[0].marker),content:n.map(s=>({type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:s.content}]}]}))}:null}function vy(t,e,n){const i=[];let r=0;for(;r<t.length;){const s=t[r];if(s.indent===e){const{paragraphLines:o,blockLines:a}=z5(s.contentLines),l=o.join(` 164`).trim(),f=[];l&&f.push({type:"paragraph",raw:l,tokens:n.inlineTokens(l)});const c=a.join(` 165`).trim();if(c){const m=n.blockTokens(c);f.push(...m)}let u=r+1;const h=[];for(;u<t.length&&t[u].indent>e;)h.push(t[u]),u+=1;if(h.length>0){const m=Math.min(...h.map(g=>g.indent)),p=vy(h,m,n);f.push({type:"list",ordered:!0,start:h[0].number,typeMarker:h[0].type,items:p,raw:
165h.map(g=>g.raw).join(` 166`)})}i.push({type:"list_item",raw:s.raw,tokens:f}),r=u}else r+=1}return i}function V5(t,e){return t.map(n=>{if(n.type!=="list_item")return e.parseChildren([n])[0];const i=[];return n.tokens&&n.tokens.length>0&&n.tokens.forEach(r=>{if(r.type==="paragraph"||r.type==="list"||r.type==="blockquote"||r.type==="code")i.push(...e.parseChildren([r]));else if(r.type==="text"&&r.tokens){const s=e.parseChildren([r]);i.push({type:"paragraph",content:s})}else{const s=e.parseChildren([r]);s.length>0&&i.push(...s)}}),{type:"listItem",content:i}})}var G5="listItem",M1="textStyle",T1=/^(\d+)\.\s$/;function F1(t){const e=t.match(/list-style-type\s*:\s*([^;]+)/i);if(!e)return null;switch(e[1].trim().toLowerCase()){case"upper-roman":return"I";case"lower-roman":return"i";case"upper-alpha":case"upper-latin":return"A";case"lower-alpha":case"lower-latin":return"a";default:return null}}var by=tn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:null,parseHTML:t=>{const e=t.getAttribute("type");if(e)return e;const n=t.getAttribute("style");if(n){const r=F1(n);if(r)return r}const i=t.querySelector("li");if(i){const r=i.getAttribute("style");if(r){const s=F1(r);if(s)return s}}return null}}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,type:n,...i}=t,r=tt(this.options.HTMLAttributes,i);return e!==1&&(r.start=e),n&&n!=="1"&&(r.type=n),["ol",r,0]},markdownTokenName:"list",parseMarkdown:(t,e)=>{if(t.type!=="list"||!t.ordered)return[];const n=t.start||1,i=t.typeMarker,r=t.items?V5(t.items,e):[],s={};return n!==1&&(s.start=n),i&&(s.type=i),Object.keys(s).length>0?{type:"orderedList",attrs:s,content:r}:{type:"orderedList",content:r}},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` 167`):"",markdownTokenizer:{name:"orderedList",level:"block",start:t=>{const e=t.match(N5),n=e?.index;return n!==void 0?n:-1},tokenize:(t,e,n)=>{var i,r;const s=t.split(` 168`),[o,a]=H5(s);if(o.length===0)return;const l=vy(o,o[0].indent,n);if(l.length===0)return;const f=((i=o[0])==null?void 0:i.number)||1,c=(r=o[0])==null?void 0:r.type;return{type:"list",ordered:!0,start:f,typeMarker:c,items:l,raw:s.slice(0,a).join(` 169`)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(G5,this.editor.getAttributes(M1)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addProseMirrorPlugins(){return[new Ye({props:{handlePaste:(t,e)=>{var n,i;const r=(n=e.clipboardData)==null?void 0:n.getData("text/html");if(r?.trim())return!1;const s=(i=e.clipboardData)==null?void 0:i.getData("text/plain");if(!s)return!1;const o=$5(s);if(!o)return!1;try{const a=t.state.schema.nodeFromJSON(o),l=t.state.tr.replaceSelectionWith(a);return t.dispatch(l),!0}catch{return!1}}}})]},addInputRules(){const t=(n,i)=>(!i.attrs.type||i.attrs.type==="1")&&i.childCount+i.attrs.start===+n[1];
169let e=ms({find:T1,type:this.type,getAttributes:n=>({start:+n[1]}),joinPredicate:t});return(this.options.keepMarks||this.options.keepAttributes)&&(e=ms({find:T1,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:n=>({start:+n[1],...this.editor.getAttributes(M1)}),joinPredicate:t,editor:this.editor})),[e]}}),K5=/^\s*(\[([( |x])?\])\s$/,J5=tn.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{const e=t.getAttribute("data-checked");return e===""||e==="true"},renderHTML:t=>({"data-checked":t.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",tt(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(t,e)=>{const n=[];if(t.tokens&&t.tokens.length>0?n.push(e.createNode("paragraph",{},e.parseInline(t.tokens))):t.text?n.push(e.createNode("paragraph",{},[e.createNode("text",{text:t.text})])):n.push(e.createNode("paragraph",{},[])),t.nestedTokens&&t.nestedTokens.length>0){const i=e.parseChildren(t.nestedTokens);n.push(...i)}return e.createNode("taskItem",{checked:t.checked||!1},n)},renderMarkdown:(t,e)=>{var n;const r=`- [${(n=t.attrs)!=null&&n.checked?"x":" "}] `;return Uu(t,e,r)},addExtensions(){return this.options.nested?[dy(this.name,[this.options.taskListTypeName])]:[]},addKeyboardShortcuts(){const t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:n,editor:i})=>{const r=document.createElement("li"),s=document.createElement("label"),o=document.createElement("span"),a=document.createElement("input"),l=document.createElement("div"),f=u=>{var h,m;a.ariaLabel=((m=(h=this.options.a11y)==null?void 0:h.checkboxLabel)==null?void 0:m.call(h,u,a.checked))||`Task item checkbox for ${u.textContent||"empty task item"}`};f(t),s.contentEditable="false",a.type="checkbox",a.addEventListener("mousedown",u=>u.preventDefault()),a.addEventListener("change",u=>{if(!i.isEditable&&!this.options.onReadOnlyChecked){a.checked=!a.checked;return}const{checked:h}=u.target;i.isEditable&&typeof n=="function"&&i.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:m})=>{const p=n();if(typeof p!="number")return!1;const g=m.doc.nodeAt(p);return m.setNodeMarkup(p,void 0,{...g?.attrs,checked:h}),!0}).run(),!i.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(t,h)||(a.checked=!a.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([u,h])=>{r.setAttribute(u,h)}),r.dataset.checked=t.attrs.checked,a.checked=t.attrs.checked,s.append(a,o),r.append(s,l),Object.entries(e).forEach(([u,h])=>{r.setAttribute(u,h)});let c=new Set(Object.keys(e));return{dom:r,contentDOM:l,update:u=>{if(u.type!==this.type)return!1;r.dataset.checked=u.attrs.checked,a.checked=u.attrs.checked,f(u);const h=i.extensionManager.attributes,m=Ho(u,h),p=new Set(Object.keys(m)),g=this.options.HTMLAttributes;return c.forEach(v=>{p.has(v)||(v in g?r.setAttribute(v,g[v]):r.removeAttribute(v))}),Object.entries(m).forEach(([v,b])=>{b==null?v in g?r.setAttribute(v,g[v]):r.removeAttribute(v):r.setAttribute(v,b)}),c=p,!0}}}}
169,addInputRules(){return[ms({find:K5,type:this.type,getAttributes:t=>({checked:t[t.length-1]==="x"})})]}}),U5=tn.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",tt(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},parseMarkdown:(t,e)=>e.createNode("taskList",{},e.parseChildren(t.items||[])),renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` 170`):"",markdownTokenizer:{name:"taskList",level:"block",start(t){var e;const n=(e=t.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))==null?void 0:e.index;return n!==void 0?n:-1},tokenize(t,e,n){const i=s=>{const o=xc(s,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:a=>({indentLevel:a[1].length,mainContent:a[4],checked:a[3].toLowerCase()==="x"}),createToken:(a,l)=>({type:"taskItem",raw:"",mainContent:a.mainContent,indentLevel:a.indentLevel,checked:a.checked,text:a.mainContent,tokens:n.inlineTokens(a.mainContent),nestedTokens:l}),customNestedParser:i},n);return o?[{type:"taskList",raw:o.raw,items:o.items}]:n.blockTokens(s)},r=xc(t,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:s=>({indentLevel:s[1].length,mainContent:s[4],checked:s[3].toLowerCase()==="x"}),createToken:(s,o)=>({type:"taskItem",raw:"",mainContent:s.mainContent,indentLevel:s.indentLevel,checked:s.checked,text:s.mainContent,tokens:n.inlineTokens(s.mainContent),nestedTokens:o}),customNestedParser:i},n);if(r)return{type:"taskList",raw:r.raw,items:r.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});nt.create({name:"listKit",addExtensions(){const t=[];return this.options.bulletList!==!1&&t.push(ly.configure(this.options.bulletList)),this.options.listItem!==!1&&t.push(uy.configure(this.options.listItem)),this.options.listKeymap!==!1&&t.push(gy.configure(this.options.listKeymap)),this.options.orderedList!==!1&&t.push(by.configure(this.options.orderedList)),this.options.taskItem!==!1&&t.push(J5.configure(this.options.taskItem)),this.options.taskList!==!1&&t.push(U5.configure(this.options.taskList)),t}});var ka=" ",wf="Â ",Q5=tn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",tt(this.options.HTMLAttributes,t),0]},parseMarkdown:(t,e)=>{const n=t.tokens||[];if(n.length===1&&n[0].type==="image")return e.parseChildren([n[0]]);const i=e.parseInline(n);return n.length===1&&n[0].type==="text"&&(n[0].raw===ka||n[0].text===ka||n[0].raw===wf||n[0].text===wf)&&i.length===1&&i[0].type==="text"&&(i[0].text===ka||i[0].text===wf)?e.createNode("paragraph",void 0,[]):e.createNode("paragraph",void 0,i)},renderMarkdown:(t,e,n)=>{var i,r;if(!t)return"";const s=Array.isArray(t.content)?t.content:[];if(s.length===0){const o=Array.isArray((i=n?.previousNode)==null?void 0:i.content)?n.previousNode.content:[];return((r=n?.previousNode)==null?void 0:r.type)==="paragraph"&&o.length===0?ka:""}return e.renderChildren(s)},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),q5=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,Y5=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,Z5=Tn.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",tt(this.options.HTMLAttributes,t),0]},markdownTokenName:"del",parseMarkdown:(t,e)=>e.applyMark("strike",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`~~${e.renderChildren(t)}~~`,addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}}
170,addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[ps({find:q5,type:this.type})]},addPasteRules(){return[kr({find:Y5,type:this.type})]}}),X5=tn.create({name:"text",group:"inline",parseMarkdown:t=>({type:"text",text:t.text||""}),renderMarkdown:t=>t.text||""}),yy=Tn.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["u",tt(this.options.HTMLAttributes,t),0]},parseMarkdown(t,e){return e.applyMark(this.name||"underline",e.parseInline(t.tokens||[]))},renderMarkdown(t,e){return`++${e.renderChildren(t)}++`},markdownTokenizer:{name:"underline",level:"inline",start(t){return t.indexOf("++")},tokenize(t,e,n){const r=/^(\+\+)([\s\S]+?)(\+\+)/.exec(t);if(!r)return;const s=r[2].trim();return{type:"underline",raw:r[0],text:s,tokens:n.inlineTokens(s)}}},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),ky=yy;function e8(t={}){return new Ye({view(e){return new t8(e,t)}})}class t8{constructor(e,n){var i;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.lastDragEvent=null,this.width=(i=n.width)!==null&&i!==void 0?i:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let s=o=>{this[r](o)};return e.dom.addEventListener(r,s),{name:r,handler:s}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){if(this.cursorPos!=null&&n.doc!=e.state.doc)if(this.lastDragEvent){let i=this.computeTarget(this.lastDragEvent);i==this.cursorPos?this.updateOverlay():this.setCursor(i)}else this.updateOverlay()}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,i,r=this.editorView.dom,s=r.getBoundingClientRect(),o=s.width/r.offsetWidth,a=s.height/r.offsetHeight;if(n){let u=e.nodeBefore,h=e.nodeAfter;if(u||h){let m=this.editorView.nodeDOM(this.cursorPos-(u?u.nodeSize:0));if(m){let p=m.getBoundingClientRect(),g=u?p.bottom:p.top;u&&h&&(g=(g+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let v=this.width/2*a;i={left:p.left,right:p.right,top:g-v,bottom:g+v}}}}if(!i){let u=this.editorView.coordsAtPos(this.cursorPos),h=this.width/2*o;i={left:u.left-h,right:u.left+h,top:u.top,bottom:u.bottom}}let l=this.editorView.dom.offsetParent;this.element||(this.element=l.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let f,c;if(!l||l==document.body&&getComputedStyle(l).position=="static")f=-pageXOffset,c=-pageYOffset;else{let u=l.getBoundingClientRect(),h=u.width/l.offsetWidth,m=u.height/l.offsetHeight;f=u.left-l.scrollLeft*h,c=u.top-l.scrollTop*m}this.element.style.left=(i.left-f)/o+"px",this.element.style.top=(i.top-c)/a+"px",this.element.style.width=(i.right-i.left)/o+"px",this.element.style.height=(i.bottom-i.top)/a+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}computeTarget(e){let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),i=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),r=i&&i.type.spec.disableDropCursor,s=typeof r=="function"?r(this.editorView,n,e):r;if(!n||s)return null;let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let a=L0(this.editorView.state.doc,o,this.editorView.dragging.slice);a!=null&&(o=a)}return o}dragover(e){if(!this.editorView.editable)return;this.lastDragEvent=e;let n=this.computeTarget(e);n!=null&&(this.setCursor(n),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}class rt extends Be{constructor(e){super(e,e)}map(e,n){let i=e.resolve(n.map(this.head));return rt.valid(i)?new rt(i):Be.near(i)}content(){return le.empty}eq(e){return e instanceof rt&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new rt(e.resolve(n.pos))}getBookmark(){return new hh(this.anchor)}static valid(e){let n=e.parent;if(n.inlineContent||!n8(e)||!i8(e))return!1;let i=n.type.spec.allowGapCursor;if(i!=null)return i;let r=n.contentMatchAt(e.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(e,n,i=!1){e:for(;;){if(!i&&rt.valid(e))return e;let r=e.pos,s=null;for(let o=e.depth;;o--){let a=e.node(o);if(n>
vendor: 10,619 bytes, line 170
1700?e.indexAfter(o)<a.childCount:e.index(o)>0){s=a.child(n>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;r+=n;let l=e.doc.resolve(r);if(rt.valid(l))return l}for(;;){let o=n>0?s.firstChild:s.lastChild;if(!o){if(s.isAtom&&!s.isText&&!Ae.isSelectable(s)){e=e.doc.resolve(r+s.nodeSize*n),i=!1;continue e}break}s=o,r+=n;let a=e.doc.resolve(r);if(rt.valid(a))return a}return null}}}rt.prototype.visible=!1;rt.findFrom=rt.findGapCursorFrom;Be.jsonID("gapcursor",rt);class hh{constructor(e){this.pos=e}map(e){return new hh(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return rt.valid(n)?new rt(n):Be.near(n)}}function wy(t){return t.isAtom||t.spec.isolating||t.spec.createGapCursor}function n8(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),i=t.node(e);if(n==0){if(i.type.spec.isolating)return!0;continue}for(let r=i.child(n-1);;r=r.lastChild){if(r.childCount==0&&!r.inlineContent||wy(r.type))return!0;if(r.inlineContent)return!1}}return!0}function i8(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),i=t.node(e);if(n==i.childCount){if(i.type.spec.isolating)return!0;continue}for(let r=i.child(n);;r=r.firstChild){if(r.childCount==0&&!r.inlineContent||wy(r.type))return!0;if(r.inlineContent)return!1}}return!0}function r8(){return new Ye({props:{decorations:l8,createSelectionBetween(t,e,n){return e.pos==n.pos&&rt.valid(n)?new rt(n):null},handleClick:o8,handleKeyDown:s8,handleDOMEvents:{beforeinput:a8}}})}const s8=Kv({ArrowLeft:wa("horiz",-1),ArrowRight:wa("horiz",1),ArrowUp:wa("vert",-1),ArrowDown:wa("vert",1)});function wa(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(i,r,s){let o=i.selection,a=e>0?o.$to:o.$from,l=o.empty;if(o instanceof je){if(!s.endOfTextblock(n)||a.depth==0)return!1;l=!1,a=i.doc.resolve(e>0?a.after():a.before())}let f=rt.findGapCursorFrom(a,e,l);return f?(r&&r(i.tr.setSelection(new rt(f))),!0):!1}}function o8(t,e,n){if(!t||!t.editable)return!1;let i=t.state.doc.resolve(e);if(!rt.valid(i))return!1;let r=t.posAtCoords({left:n.clientX,top:n.clientY});return r&&r.inside>-1&&Ae.isSelectable(t.state.doc.nodeAt(r.inside))?!1:(t.dispatch(t.state.tr.setSelection(new rt(i))),!0)}function a8(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof rt))return!1;let{$from:n}=t.state.selection,i=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!i)return!1;let r=J.empty;for(let o=i.length-1;o>=0;o--)r=J.from(i[o].createAndFill(null,r));let s=t.state.tr.replace(n.pos,n.pos,new le(r,0,0));return s.setSelection(je.near(s.doc.resolve(n.pos+1))),t.dispatch(s),!1}function l8(t){if(!(t.selection instanceof rt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Ge.create(t.doc,[Vt.widget(t.selection.head,e,{key:"gapcursor"})])}var $l=200,Ct=function(){};Ct.prototype.append=function(e){return e.length?(e=Ct.from(e),!this.length&&e||e.length<$l&&this.leafAppend(e)||this.length<$l&&e.leafPrepend(this)||this.appendInner(e)):this};Ct.prototype.prepend=function(e){return e.length?Ct.from(e).append(this):this};Ct.prototype.appendInner=function(e){return new d8(this,e)};Ct.prototype.slice=function(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.length),e>=n?Ct.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};Ct.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};Ct.prototype.forEach=function(e,n,i){n===void 0&&(n=0),i===void 0&&(i=this.length),n<=i?this.forEachInner(e,n,i,0):this.forEachInvertedInner(e,n,i,0)};Ct.prototype.map=function(e,n,i){n===void 0&&(n=0),i===void 0&&(i=this.length);var r=[];return this.forEach(function(s,o){return r.push(e(s,o))},n,i),r};Ct.from=function(e){return e instanceof Ct?e:e&&e.length?new Ay(e):Ct.empty};var Ay=(function(t){function e(i){t.call(this),this.values=i}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(r,s){return r==0&&s==this.length?this:new e(this.values.slice(r,s))},e.prototype.getInner=function(r){return this.values[r]},e.prototype.forEachInner=function(r,s,o,a){for(var l=s;l<o;l++)if(r(this.values[l],a+l)===!1)return!1},e.prototype.forEachInvertedInner=function(r,s,o,a){for(var l=s-1;l>=o;l--)if(r(this.values[l],a+l)===!1)return!1},e.prototype.leafAppend=function(r){if(this.length+r.length<=$l)return new e(this.values.concat(r.flatten()))},e.prototype.leafPrepend=function(r){if(this.length+r.length<=$l)return new e(r.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e})(Ct);Ct.empty=new Ay([]);var d8=(function(t){function e(n,i){t.call(this),this.left=n,this.right=i,this.length=n.length+i.length,this.depth=Math.max(n.depth,i.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(i){return i<this.left.length?this.left.get(i):this.right.get(i-this.left.length)},e.prototype.forEachInner=function(i,r,s,o){var a=this.left.length;if(r<a&&this.left.forEachInner(i,r,Math.min(s,a),o)===!1||s>a&&this.right.forEachInner(i,Math.max(r-a,0),Math.min(this.length,s)-a,o+a)===!1)return!1},e.prototype.forEachInvertedInner=function(i,r,s,o){var a=this.left.length;if(r>a&&this.right.forEachInvertedInner(i,r-a,Math.max(s,a)-a,o+a)===!1||s<a&&this.left.forEachInvertedInner(i,Math.min(r,a),s,o)===!1)return!1},e.prototype.sliceInner=function(i,r){if(i==0&&r==this.length)return this;var s=this.left.length;return r<=s?this.left.slice(i,r):i>=s?this.right.slice(i-s,r-s):this.left.slice(i,s).append(this.right.slice(0,r-s))},e.prototype.leafAppend=function(i){var r=this.right.leafAppend(i);if(r)return new e(this.left,r)},e.prototype.leafPrepend=function(i){var r=this.left.leafPrepend(i);if(r)return new e(r,this.right)},e.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new e(this.left,new e(this.right,i)):new e(this,i)},e})(Ct);const f8=500;class Sn{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}let r,s;n&&(r=this.remapping(i,this.items.length),s=r.maps.length);let o=e.tr,a,l,f=[],c=[];return this.items.forEach((u,h)=>{if(!u.step){r||(r=this.remapping(i,h+1),s=r.maps.length),s--,c.push(u);return}if(r){c.push(new On(u.map));let m=u.step.map(r.slice(s)),p;m&&o.maybeStep(m).doc&&(p=o.mapping.maps[o.mapping.maps.length-1],f.push(new On(p,void 0,void 0,f.length+c.length))),s--,p&&r.appendMap(p,s)}else o.maybeStep(u.step);if(u.selection)return a=r?u.selection.map(r.slice(s)):u.selection,l=new Sn(this.items.slice(0,i).append(c.reverse().concat(f)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:o,selection:a}}addTransform(e,n,i,r){let s=[],o=this.eventCount,a=this.items,l=!r&&a.length?a.get(a.length-1):null;for(let c=0;c<e.steps.length;c++){let u=e.steps[c].invert(e.docs[c]),h=new On(e.mapping.maps[c],u,n),m;(m=l&&l.merge(h))&&(h=m,c?s.pop():a=a.slice(0,a.length-1)),s.push(h),n&&(o++,n=void 0),r||(l=h)}let f=o-i.depth;return f>u8&&(a=c8(a,f),o-=f),new Sn(a.append(s),o)}remapping(e,n){let i=new Ro;return this.items.forEach((r,s)=>{let o=r.mirrorOffset!=null&&s-r.mirrorOffset>=e?i.maps.length-r.mirrorOffset:void 0;i.appendMap(r.map,o)},e,n),i}addMaps(e){return this.eventCount==0?this:new Sn(this.items.append(e.map(n=>new On(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let i=[],r=Math.max(0,this.items.length-n),s=e.mapping,o=e.steps.length,a=this.eventCount;this.items.forEach(h=>{h.selection&&a--},r);let l=n;this.items.forEach(h=>{let m=s.getMirror(--l);if(m==null)return;o=Math.min(o,m);let p=s.maps[m];if(h.step){let g=e.steps[m].invert(e.docs[m]),v=h.selection&&h.selection.map(s.slice(l+1,m));v&&a++,i.push(new On(p,g,v))}else i.push(new On(p))},r);let f=[];for(let h=n;h<o;h++)f.push(new On(s.maps[h]));let c=this.items.slice(0,r).append(f).append(i),u=new Sn(c,a);return u.emptyItemCount()>f8&&(u=u.compress(this.items.length-i.length)),u}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),i=n.maps.length,r=[],s=0;return this.items.forEach((o,a)=>{if(a>=e)r.push(o),o.selection&&s++;else if(o.step){let l=o.step.map(n.slice(i)),f=l&&l.getMap();if(i--,f&&n.appendMap(f,i),l){let c=o.selection&&o.selection.map(n.slice(i));c&&s++;let u=new On(f.invert(),l,c),h,m=r.length-1;(h=r.length&&r[m].merge(u))?r[m]=h:r.push(u)}}else o.map&&i--},this.items.length,0),new Sn(Ct.from(r.reverse()),s)}}Sn.empty=new Sn(Ct.empty,0);function c8(t,e){let n;return t.forEach((i,r)=>{if(i.selection&&e--==0)return n=r,!1}),t.slice(n)}class On{constructor(e,n,i,r){this.map=e,this.step=n,this.selection=i,this.mirrorOffset=r}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new On(n.getMap().invert(),n,this.selection)}}}class Ii{constructor(e,n,i,r,s){this.done=e,this.undone=n,this.prevRanges=i,this.prevTime=r,this.prevComposition=s}}const u8=20;function h8(t,e,n,i){let r=n.getMeta(ur),s;if(r)return r.historyState;n.getMeta(g8)&&(t=new Ii(t.done,t.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(o&&o.getMeta(ur))return o.getMeta(ur).redo?new Ii(t.done.addTransform(n,void 0,i,$a(e)),t.undone,D1(n.mapping.maps),t.prevTime,t.prevComposition):new Ii(t.done,t.undone.addTransform(n,void 0,i,$a(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let a=n.getMeta("composition"),l=t.prevTime==0||!o&&t.prevComposition!=a&&(t.prevTime<(n.time||0)-i.newGroupDelay||!p8(n,t.prevRanges)),f=o?Af(t.prevRanges,n.mapping):D1(n.mapping.maps);return new Ii(t.done.addTransform(n,l?e.selection.getBookmark():void 0,i,$a(e)),Sn.empty,f,n.time,a??t.prevComposition)}else return(s=n.getMeta("rebased"))?new Ii(t.done.rebased(n,s),t.undone.rebased(n,s),Af(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new Ii(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),Af(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function p8(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((i,r)=>{for(let s=0;s<e.length;s+=2)i<=e[s+1]&&r>=e[s]&&(n=!0)}),n}function D1(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;
170n--)t[n].forEach((i,r,s,o)=>e.push(s,o));return e}function Af(t,e){if(!t)return null;let n=[];for(let i=0;i<t.length;i+=2){let r=e.map(t[i],1),s=e.map(t[i+1],-1);r<=s&&n.push(r,s)}return n}function m8(t,e,n){let i=$a(e),r=ur.get(e).spec.config,s=(n?t.undone:t.done).popEvent(e,i);if(!s)return null;let o=s.selection.resolve(s.transform.doc),a=(n?t.done:t.undone).addTransform(s.transform,e.selection.getBookmark(),r,i),l=new Ii(n?a:s.remaining,n?s.remaining:a,null,0,-1);return s.transform.setSelection(o).setMeta(ur,{redo:n,historyState:l})}let xf=!1,N1=null;function $a(t){let e=t.plugins;if(N1!=e){xf=!1,N1=e;for(let n=0;n<e.length;n++)if(e[n].spec.historyPreserveItems){xf=!0;break}}return xf}const ur=new yt("history"),g8=new yt("closeHistory");function v8(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new Ye({key:ur,state:{init(){return new Ii(Sn.empty,Sn.empty,null,0,-1)},apply(e,n,i){return h8(n,i,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,n){let i=n.inputType,r=i=="historyUndo"?_y:i=="historyRedo"?Cy:null;return!r||!e.editable?!1:(n.preventDefault(),r(e.state,e.dispatch))}}}})}function xy(t,e){return(n,i)=>{let r=ur.getState(n);if(!r||(t?r.undone:r.done).eventCount==0)return!1;if(i){let s=m8(r,n,t);s&&i(e?s.scrollIntoView():s)}return!0}}const _y=xy(!1,!0),Cy=xy(!0,!0);nt.create({name:"characterCount",addOptions(){return{limit:null,autoTrim:!0,mode:"textSize",textCounter:t=>t.length,wordCounter:t=>t.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=t=>{const e=t?.node||this.editor.state.doc;if((t?.mode||this.options.mode)==="textSize"){const i=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(i)}return e.nodeSize},this.storage.words=t=>{const e=t?.node||this.editor.state.doc,n=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let t=!1;return[new Ye({key:new yt("characterCount"),appendTransaction:(e,n,i)=>{if(t)return;const r=this.options.limit,s=this.options.autoTrim;if(r==null||r===0||s===!1){t=!0;return}const o=this.storage.characters({node:i.doc});if(o>r){const a=o-r,l=0,f=a;console.warn(`[CharacterCount] Initial content exceeded limit of ${r} characters. Content was automatically trimmed.`);const c=i.tr.deleteRange(l,f);return t=!0,c}t=!0},filterTransaction:(e,n)=>{const i=this.options.limit;if(!e.docChanged||i===0||i===null||i===void 0)return!0;const r=this.storage.characters({node:n.doc}),s=this.storage.characters({node:e.doc});if(s<=i||r>i&&s>i&&s<=r)return!0;if(r>i&&s>i&&s>r||!e.getMeta("paste"))return!1;const a=e.selection.$head.pos,l=s-i,f=a-l,c=a;return e.deleteRange(f,c),!(this.storage.characters({node:e.doc})>i)}})]}});var b8=nt.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[e8(this.options)]}});nt.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new Ye({key:new yt("focus"),props:{decorations:({doc:t,selection:e})=>{const{isEditable:n,isFocused:i}=this.editor,{anchor:r}=e,s=[];if(!n||!i)return Ge.create(t,[]);let o=0;this.options.mode==="deepest"&&t.descendants((l,f)=>{if(l.isText)return;if(!(r>=f&&r<=f+l.nodeSize-1))return!1;o+=1});let a=0;return t.descendants((l,f)=>{if(l.isText||!(r>=f&&r<=f+l.nodeSize-1))return!1;if(a+=1,this.options.mode==="deepest"&&o-a>0||this.options.mode==="shallowest"&&a>1)return this.options.mode==="deepest";s.push(Vt.node(f,f+l.nodeSize,{class:this.options.className}))}),Ge.create(t,s)}}})]}});var y8=nt.create({name:"gapCursor",addProseMirrorPlugins(){return[r8()]},extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(e=Oe(he(t,"allowGapCursor",n)))!=null?e:null}}}),Sy="placeholder",R1=new yt("tiptap__placeholder");function jy(t){const{editor:e,placeholder:n,dataAttribute:i,pos:r,node:s,isEmptyDoc:o,hasAnchor:a,classes:{emptyNode:l,emptyEditor:f}}=t,c=[l];return o&&c.push(f),Vt.node(r,r+s.nodeSize,{class:c.join(" "),[i]:typeof n=="function"?n({editor:e,node:s,pos:r,hasAnchor:a}):n})}function Iy(t,e){return typeof t=="function"?t(e):t}function By({editor:t,options:e,dataAttribute:n,doc:i,selection:r,from:s,to:o}){const{anchor:a}=r,l=[],f=t.isEmpty;return i.nodesBetween(s,o,(c,u)=>{const h=a>=u&&a<=u+c.nodeSize,m=!c.isLeaf&&Yo(c);return c.type.isTextblock&&(h||!e.showOnlyCurrent)&&m&&l.push(jy({editor:t,isEmptyDoc:f,dataAttribute:n,hasAnchor:h,placeholder:e.placeholder,classes:{emptyEditor:e.emptyEditorClass,emptyNode:Iy(e.emptyNodeClass,{editor:t,node:c,pos:u,hasAnchor:h})},node:c,pos:u})),e.includeChildren}),l}function Ey({editor:t,options:e,dataAttribute:n,doc:i,selection:r}){if(!(t.isEditable||!e.showOnlyWhenEditable))return null;const{anchor:o}=r,a=[],l=t.isEmpty;if(e.showOnlyCurrent&&!e.includeChildren){const c=i.resolve(o),u=c.depth>0?c.node(1):c.nodeAfter,h=c.depth>0?c.before(1):o;if(u&&u.type.isTextblock&&Yo(u)){const m=o>=h&&o<=h+u.nodeSize;a.push(jy({editor:t,isEmptyDoc:l,dataAttribute:n,hasAnchor:m,placeholder:e.placeholder,classes:{emptyEditor:e.emptyEditorClass,emptyNode:Iy(e.emptyNodeClass,{editor:t,node:u,pos:h,hasA
170nchor:m})},node:u,pos:h}))}}else a.push(...By({editor:t,options:e,dataAttribute:n,doc:i,selection:r,from:0,to:i.content.size}));return Ge.create(i,a)}function xo(t,e){var n;const i=t.resolve(e);if(i.depth===0){const o=(n=i.nodeAfter)!=null?n:i.nodeBefore;if(!o)return{from:e,to:e};const a=i.nodeAfter?e:e-o.nodeSize;return{from:a,to:a+o.nodeSize}}const r=i.before(1),s=i.node(1);return{from:r,to:r+s.nodeSize}}function _o(t,e){return{from:Math.max(0,e.from-1),to:Math.min(t.content.size,e.to-1)}}function k8(t,e,n){const i=[];return t.forEach((r,s)=>{const o=s,a=o+r.nodeSize,l=o+1,f=a+1;l<n&&f>e&&i.push({from:o,to:a})}),i}function w8(t){if(t.length===0)return[];const e=[...t].sort((i,r)=>i.from-r.from),n=[{...e[0]}];for(let i=1;i<e.length;i+=1){const r=n[n.length-1],s=e[i];s.from<=r.to?r.to=Math.max(r.to,s.to):n.push({...s})}return n}function A8(t,e){const n=k8(t,e.from,e.to);return n.push(_o(t,xo(t,e.from))),e.to>e.from?n.push(_o(t,xo(t,Math.min(e.to,t.content.size+1)-1))):e.from<t.content.size+1&&n.push(_o(t,xo(t,Math.min(e.from+1,t.content.size)))),n}function x8(t,e,n){const i=[];if(t.docChanged){const r=Vu(t);for(const s of r)i.push(...A8(n.doc,s.newRange))}return t.selectionSet&&(i.push(_o(n.doc,xo(n.doc,t.mapping.map(e.selection.anchor)))),i.push(_o(n.doc,xo(n.doc,n.selection.anchor)))),w8(i)}function _8(t,e,n){const i=Math.max(0,Math.min(t,n.content.size)),r=Math.max(i,Math.min(e,n.content.size));return{from:i,to:r}}function C8({decorations:t,ranges:e,editor:n,options:i,dataAttribute:r,doc:s,selection:o}){let a=t;for(const l of e){const{from:f,to:c}=_8(l.from,l.to,s),u=a.find(f,c).filter(m=>m.from>=f&&m.to<=c);u.length&&(a=a.remove(u));const h=By({editor:n,options:i,dataAttribute:r,doc:s,selection:o,from:f,to:c});h.length&&(a=a.add(s,h))}return a}function S8({editor:t,options:e,dataAttribute:n}){return{init(i,r){const s=Ey({editor:t,options:e,dataAttribute:n,doc:r.doc,selection:r.selection});return s??Ge.empty},apply(i,r,s,o){if(!i.docChanged&&!i.selectionSet)return r;const a=r.map(i.mapping,i.doc),l=x8(i,s,o);return C8({decorations:a,ranges:l,editor:t,options:e,dataAttribute:n,doc:o.doc,selection:o.selection})}}}function j8(t){return t.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}function I8({editor:t,options:e}){const n=e.dataAttribute?`data-${j8(e.dataAttribute)}`:`data-${Sy}`,i=e.showOnlyCurrent&&!e.includeChildren;return new Ye({key:R1,...i?{}:{state:S8({editor:t,options:e,dataAttribute:n})},props:{decorations:i?({doc:r,selection:s})=>Ey({editor:t,options:e,dataAttribute:n,doc:r,selection:s}):r=>{var s;return e.showOnlyWhenEditable&&!t.isEditable?Ge.empty:(s=R1.getState(r))!=null?s:Ge.empty}}})}nt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:Sy,placeholder:"Write something â¦",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[I8({editor:this.editor,options:this.options})]}});var B8=`.ProseMirror:not(.ProseMirror-focused) *::selection { 171 background: transparent; 172} 173 174.ProseMirror:not(.ProseMirror-focused) *::-moz-selection { 175 background: transparent; 176}`;nt.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:t,options:e}=this;return t.options.injectCSS&&typeof document<"u"&&cb(B8,t.options.injectNonce,"selection"),[new Ye({key:new yt("selection"),props:{decorations(n){return n.selection.empty||t.isFocused||!t.isEditable||ab(n.selection)||t.view.dragging?null:Ge.create(n.doc,[Vt.inline(n.selection.from,n.selection.to,{class:e.className})])}}})]}});var E8="skipTrailingNode";function L1({types:t,node:e}){return e&&Array.isArray(t)&&t.includes(e.type)||e?.type===t}var M8=nt.create({name:"trailingNode",addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){var t;const e=new yt(this.name),n=this.options.node||((t=this.editor.schema.topNodeType.contentMatch.defaultType)==null?void 0:t.name)||"paragraph",i=Object.entries(this.editor.schema.nodes).map(([,r])=>r).filter(r=>(this.options.notAfter||[]).concat(n).includes(r.name));return[new Ye({key:e,appendTransaction:(r,s,o)=>{const{doc:a,tr:l,schema:f}=o,c=e.getState(o),u=a.content.size,h=f.nodes[n];if(!r.some(m=>m.getMeta(E8))&&c)return l.insert(u,h.create())},state:{init:(r,s)=>{const o=s.tr.doc.lastChild;return!L1({node:o,types:i})},apply:(r,s)=>{if(!r.docChanged||r.getMeta("__uniqueIDTransaction"))return s;const o=r.doc.lastChild;return!L1({node:o,types:i})}}})]}}),T8=nt.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>_y(t,e),redo:()=>({state:t,dispatch:e})=>Cy(t,e)}},addProseMirrorPlugins(){return[v8(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-Ñ":()=>this.editor.commands.undo(),"Shift-Mod-Ñ":()=>this.editor.commands.redo()}}}),F8=nt.create({name:"starterKit",addExtensions(){var t,e,n,i;const r=[];return this.options.bold!==!1&&r.push(j9.configure(this.options.bold)),this.options.blockquote!==!1&&r.push(A9.configure(this.options.blockquote)),this.options.bulletList!==!1&&r.push(ly.configure(this.options.bulletList)),this.options.code!==!1&&r.push(E9.configure(this.options.code)),this.options.codeBlock!==!1&&r.push(F9.configure(this.options.codeBlock)),this.options.document!==!1&&r.push(D9.configure(this.options.document)),this.options.dropcursor!==!1&&r.push(b8.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&r.push(y8.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&r.push(N9.configure(this.options.hardBreak)),this.options.heading!==!1&&r.push(R9.configure(this.options.heading)),this.options.undoRedo!==!1&&r.push(T8.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&r.push(L9.configure(this.options.horizontalRule)),this.options.italic!==!1&&r.push(W9.configure(this.options.italic)),this.options.listItem!==!1&&r.push(uy.configure(this.options.listItem)),this.options.listKeymap!==!1&&r.push(gy.configure((t=this.options)==null?void 0:t.listKeymap)),this.options.link!==!1&&r.push(p5.configure((e=this.options)==null?void 0:e.link)),this.options.orderedList!==!1&&r.push(by.configure(this.options.orderedList)),this.options.paragraph!==!1&&r.push(Q5.configure(this.options.paragraph)),this.options.strike!==!1&&r.push(Z5.configure(this.options.strike)),this.options.text!==!1&&r.push(X5.configure(this.options.text)),this.options.underline!==!1&&r.push(yy.configure((n=this.options)==null?void 0:n.underline)),this.options.trailingNode!==!1&&r.push(M8.configure((i=this.options)==null?void 0:i.trailingNode)),r}}),My=F8,D8=t=>ot({find:/--$/,replace:t??"â"}),N8=t=>ot({find:/\.\.\.$/,replace:t??"â¦"}),_f=t=>ot({find:/(?:^|[\s{[(<'"\u2018\u201C])(")$/,replace:t??"â"}),Cf=t=>ot({find:/"$/,replace:t??"â"}),Sf=t=>ot({find:/(?:^|[\s{[(<'"\u2018\u201C])(')$/,replace:t??"â"}),jf=t=>ot({find:/'$/,replace:t??"â"}),R8=t=>ot({find:/<-$/,replace:t??"â"}),L8=t=>ot({find:/->$/,replace:t??"â"}),O8=t=>ot({find:/\(c\)$/,replace:t??"©"}),P8=t=>ot({find:/\(tm\)$/,replace:t??"â¢"}),z8=t=>ot({find:/\(sm\)$/,replace:t??"â "}),H8=t=>ot({find:/\(r\)$/,replace:t??"®"}),W8=t=>ot({find:/(?:^|\s)(1\/2)\s$/,replace:t??"½"}),$8=t=>ot({find:/\+\/-$/,replace:t??"±"}),V8=t=>ot({find:/!=$/,replace:t??"â "}),G8=t=>ot({find:/<<$/,replace:t??"«"}),K8=t=>ot({find:/>>$/,replace:t??"»"}),J8=t=>ot({find:/\d+\s?([*x])\s?\d+$/,replace:t??"Ã"}),U8=t=>ot({find:/\^2$/,replace:t??"²"}),Q8=t=>ot({find:/\^3$/,replace:t??"³"}),q8=t=>ot({find:/(?:^|\s)(1\/4)\s$/,replace:t??"¼"}),Y8=t=>ot({find:/(?:^|\s)(3\/4)\s$/,replace:t??"¾"}),Z8=nt.create({name:"typography",addOptions(){return{closeDoubleQuote:"â",closeSingleQuote:"â",copyright:"©",ellipsis:"â¦",emDash:"â",laquo:"«",leftArrow:"â",multiplication:"Ã",notEqual:"â ",oneHalf:"½",oneQuarter:"¼",openDoubleQuote:"â",openSingleQuote:"â",plusMinus:"±",raquo:"»",registeredTrademark:"®",rightArrow:"â",servicemark:"â ",superscriptThree:"³",superscriptTwo:"²",threeQuarters:"¾",trademark:"â¢"}},addInputRules(){var t,e;const n=[];this.options.emDash!==!1&&n.push(D8(this.options.emDash)),this.options.ellipsis!==!1&&n.push(N8(this.options.ellipsis));const i=this.editor.options.textDirection==="rtl";if((t=this.options.doubleQuotes)!=null&&t.rtl){const{open:r,close:s}=this.options.doubleQuotes.rtl;n.push(_f(r)),n.push(Cf(s))}else i?(n.push(_f("â")),n.push(Cf("â"))):(this.options.openDoubleQuote!==!1&&n.push(_f(this.options.openDoubleQuote)),this.options.closeDoubleQuote!==!1&&n.push(Cf(this.options.closeDoubleQuote)));if((e=this.options.singleQuotes)!=null&&e.rtl){const{open:r,close:s}=this.options.singleQuotes.rtl;n.push(Sf(r)),n.push(jf(s))}else i?(n.push(Sf("â")),n.push(jf("â"))):(this.options.openSingleQuote!==!1&&n.push(Sf(this.options.openSingleQuote)),this.options.closeSingleQuote!==!1&&n.push(jf(this.options.closeSingleQuote)));return this.options.leftArrow!==!1&&n.push(R8(this.options.leftArrow)),this.options.rightArrow!==!1&&n.push(L8(this.options.rightArrow)),this.options.copyright!==!1&&n.push(O8(this.options.copyright)),this.options.trademark!==!1&&n.push(P8(this.options.trademark)),this.options.servicemark!==!1&&n.push(z8(this.options.servicemark)),this.options.registeredTrademark!==!1&&n.push(H8(this.options.registeredTrademark)),this.options.oneHalf!==!1&&n.push(W8(this.options.oneHalf)),this.options.plusMinus!==!1&&n.push($8(this.options.plusMinus)),this.options.notEqual!==!1&&n.push(V8(this.options.notEqual)),this.options.laquo!==!1&&n.push(G8(this.options.laquo)),this.options.raquo!==!1&&n.push(K8(this.options.raquo)),this.options.multiplication!==!1&&n.push(J8(this.options.multiplication)),this.options.superscriptTwo!==!1&&n.push(U8(this.options.superscriptTwo)),this.options.superscriptThree!==!1&&n.push(Q8(this.options.superscriptThree)),this.options.oneQuarter!==!1&&n.push(q8(this.options.oneQuarter)),this.options.threeQuarters!==!1&&n.push(Y8(this.options.threeQuarters)),n}}),Ty=Z8,X8=Tn.create({name:"subscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sub"},{style:"vertical-align",getAttrs(t){return t!=="sub"?!1:null}}]},renderHTML({HTMLAttributes:t}){return["sub",tt(this.options.HTMLAttributes,t),0]},addCommands(){return{setSubscript:()=>({commands:t})=>t.setMark(this.name),toggleSubscript:()=>({commands:t})=>t.toggleMark(this.name),unsetSubscript:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),Fy=X8,e7=Tn.create({name:"superscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sup"},{style:"vertical-align",getAttrs(t){return t!=="super"?!1:null}}]},renderHTML({HTMLAttributes:t}){return["sup",tt(this.options.HTMLAttributes,t),0]},addCommands(){return{setSuperscript:()=>({commands:t})=>t.setMark(this.name),toggleSuperscript:()=>({commands:t})=>t.toggleMark(this.name),unsetSuperscript:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),Dy=e7;const Ny=Tn.create({name:"textStyle",priority:1001,addOptions(){return{HTMLAttributes:{}}},addAttributes(){return{color:{default:null,parseHTML:t=>t.style.color?.replace(/['"]+/g,""),renderHTML:t=>t.color?{style:`color: ${t.color}`}:{}},backgroundColor:{default:null,parseHTML:t=>t.style.backgroundColor?.replace(/['"]+/g,""),renderHTML:t=>t.backgroundColor?{style:`background-color: ${t.backgroundColor}`}:{}},fontSize:{default:null,parseHTML:t=>t.style.fontSize?.replace(/['"]+/g,""),renderHTML:t=>t.fontSize?{style:`font-size: ${t.fontSize}`}:{}},fontFamily:{default:null,parseHTML:t=>t.style.fontFamily?.replace(/['"]+/g,""),renderHTML:t=>t.fontFamily?{style:`font-family: ${t.fontFamily}`}:{}},fontWeight:{default:null,parseHTML:t=>t.style.fontWeight?.replace(/['"]+/g,""),renderHTML:t=>t.fontWeight?{style:`font-weight: ${t.fontWeight}`}:{}},fontStyle:{default:null,parseHTML:t=>t.style.fontStyle?.replace(/['"]+/g,""),renderHTML:t=>t.fontStyle?{style:`font-style: ${t.fontStyle}`}:{}},lineHeight:{default:null,parseHTML:t=>t.style.lineHeight?.replace(/['"]+/g,""),renderHTML:t=>t.lineHeight?{style:`line-height: ${t.lineHeight}`}:{}},letterSpacing:{default:null,parseHTML:t=>t.style.letterSpacing?.replace(/['"]+/g,""),renderHTML:t=>t.letterSpacing?{style:`letter-spacing: ${t.letterSpacing}`}:{}},textDecoration:{default:null,parseHTML:t=>t.style.textDecoration?.replace(/['"]+/g,""),renderHTML:t=>t.textDecoration?{style:`text-decoration: ${t.textDecoration}`}:{}},textTransform:{default:null,parseHTML:t=>t.style.textTransform?.replace(/['"]+/g,""),renderHTML:t=>t.textTransform?{style:`text-transform: ${t.textTransform}`}:{}},textAlign:{default:null,parseHTML:t=>t.style.textAlign?.replace(/['"]+/g,""),renderHTML:t=>t.textAlign?{style:`text-align: ${t.textAlign}`}:{}},textShadow:{default:null,parseHTML:t=>t.style.textShadow?.replace(/['"]+/g,""),renderHTML:t=>t.textShadow?{style:`text-shadow: ${t.textShadow}`}:{}},verticalAlign:{default:null,parseHTML:t=>t.style.verticalAlign?.replace(/['"]+/g,""),renderHTML:t=>t.verticalAlign?{style:`vertical-align: ${t.verticalAlign}`}:{}},style:{default:null,parseHTML:t=>t.getAttribute("style")||null,renderHTML:t=>t.style?{style:t.style}:{}}}},parseHTML(){return[{tag:"span",getAttrs:t=>t.hasAttribute("style")?{}:!1},{tag:"font",getAttrs:t=>{const e=t,n=e.hasAttribute("color"),i=e.hasAttribute("face"),r=e.hasAttribute("size");return!n&&!i&&!r?!1:{color:e.getAttribute("color"),fontFamily:e.getAttribute("face"),fontSize:e.getAttribute("size")}}},{tag:"h1",getAttrs:()=>({fontSize:"32px",fontWeight:"bold",lineHeight:"1.2"})},{tag:"h2",getAttrs:()=>({fontSize:"24px",fontWeight:"bold",lineHeight:"1.3"})},{tag:"h3",getAttrs:()=>({fontSize:"20px",fontWeight:"bold",lineHeight:"1.4"})},{tag:"h4",getAttrs:()=>({fontSize:"18px",fontWeight:"bold",lineHeight:"1.5"})},{tag:"h5",getAttrs:()=>({fontSize:"16px",fontWeight:"bold",lineHeight:"1.5"})},{tag:"h6",getAttrs:()=>({fontSize:"14px",fontWeight:"bold",lineHeight:"1.5"})},{tag:"*[style]",getAttrs:t=>{const e=t,n=e.getAttribute("style");if(!n)return!1;const i=e.style,r={};return i.color&&(r.color=i.color),i.backgroundColor&&(r.backgroundColor=i.backgroundColor),i.fontSize&&(r.fontSize=i.fontSize),i.fontFamily&&
176(r.fontFamily=i.fontFamily),i.fontWeight&&(r.fontWeight=i.fontWeight),i.fontStyle&&(r.fontStyle=i.fontStyle),i.lineHeight&&(r.lineHeight=i.lineHeight),i.letterSpacing&&(r.letterSpacing=i.letterSpacing),i.textDecoration&&(r.textDecoration=i.textDecoration),i.textTransform&&(r.textTransform=i.textTransform),i.textAlign&&(r.textAlign=i.textAlign),i.textShadow&&(r.textShadow=i.textShadow),i.verticalAlign&&(r.verticalAlign=i.verticalAlign),r.style=n,Object.keys(r).length>1?r:!1}}]},renderHTML({HTMLAttributes:t}){const e=[],n={...t};n.color&&e.push(`color: ${n.color}`),n.backgroundColor&&e.push(`background-color: ${n.backgroundColor}`),n.fontSize&&e.push(`font-size: ${n.fontSize}`),n.fontFamily&&e.push(`font-family: ${n.fontFamily}`),n.fontWeight&&e.push(`font-weight: ${n.fontWeight}`),n.fontStyle&&e.push(`font-style: ${n.fontStyle}`),n.lineHeight&&e.push(`line-height: ${n.lineHeight}`),n.letterSpacing&&e.push(`letter-spacing: ${n.letterSpacing}`),n.textDecoration&&e.push(`text-decoration: ${n.textDecoration}`),n.textTransform&&e.push(`text-transform: ${n.textTransform}`),n.textAlign&&e.push(`text-align: ${n.textAlign}`),n.textShadow&&e.push(`text-shadow: ${n.textShadow}`),n.verticalAlign&&e.push(`vertical-align: ${n.verticalAlign}`),n.style&&e.push(n.style);const i={...e.length>0&&{style:e.join("; ")}};return["span",tt(this.options.HTMLAttributes,i),0]}}),Ry=Tn.create({name:"link",priority:1010,keepOnSplit:!1,exitable:!0,addOptions(){return{HTMLAttributes:{},openOnClick:!0,linkOnPaste:!0,defaultProtocol:"https",protocols:[],autolink:!0,validate:void 0}},addAttributes(){return{href:{default:null,parseHTML:t=>t.getAttribute("href"),renderHTML:t=>t.href?{href:t.href}:{}},target:{default:null,parseHTML:t=>t.getAttribute("target"),renderHTML:t=>t.target?{target:t.target}:{}},rel:{default:null,parseHTML:t=>t.getAttribute("rel"),renderHTML:t=>t.rel?{rel:t.rel}:{}},class:{default:null,parseHTML:t=>t.getAttribute("class"),renderHTML:t=>t.class?{class:t.class}:{}},color:{default:null,parseHTML:t=>{try{const e=t.getAttribute("style");if(!e)return null;const n=e.match(/color:\s*([^;]+)/i);return n?n[1].trim():null}catch{return null}}},backgroundColor:{default:null,parseHTML:t=>{try{const e=t.getAttribute("style");if(!e)return null;const n=e.match(/background-color:\s*([^;]+)/i);return n?n[1].trim():null}catch{return null}}},style:{default:null,parseHTML:t=>t.getAttribute("style"),renderHTML:t=>{try{const e=[];if(t.color&&e.push(`color: ${t.color}`),t.backgroundColor&&e.push(`background-color: ${t.backgroundColor}`),t.style){const n=t.style.split(";").map(i=>i.trim()).filter(i=>i&&!i.startsWith("color:")&&!i.startsWith("background-color:"));e.push(...n)}return e.length===0?{}:{style:e.join("; ")}}catch{return t.style?{style:t.style}:{}}}}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{try{const e=t,n=e.getAttribute("href");if(!n)return!1;const i={href:n};try{const r=e.getAttribute("target");r&&(i.target=r)}catch{}try{const r=e.getAttribute("rel");r&&(i.rel=r)}catch{}try{const r=e.getAttribute("class");r&&(i.class=r)}catch{}try{const r=e.getAttribute("style");if(r){const s=r.match(/color:\s*([^;]+)/i),o=r.match(/background-color:\s*([^;]+)/i);s&&(i.color=s[1].trim()),o&&(i.backgroundColor=o[1].trim()),i.style=r}}catch(r){console.warn("Style parsing failed for link, but link will still work:",r)}return i}catch(e){return console.error("Link parsing completely failed:",e),!1}}}]},renderHTML({HTMLAttributes:t}){return["a",tt(this.options.HTMLAttributes,t),0]},addCommands(){return{setLink:t=>({chain:e,tr:n,state:i})=>{const{selection:r}=i,{from:s,to:o}=r,a={};n.doc.nodesBetween(s,o,(f,c)=>{if(f.isText){const u=f.marks.find(h=>h.type.name==="textStyle");u&&Object.assign(a,u.attrs)}});const l={...a,...t};return e().setMark(this.name,l).unsetMark("textStyle").setMeta("preventAutolink",!0).run()},toggleLink:t=>({chain:e,tr:n,state:i})=>{const{selection:r}=i,{from:s,to:o}=r,a=this.editor.schema.marks[this.name];let l=!1;if(n.doc.nodesBetween(s,o,f=>{if(a.isInSet(f.marks))return l=!0,!1}),l){const f={};return n.doc.nodesBetween(s,o,c=>{const u=a.isInSet(c.marks);u&&(u.attrs.color&&(f.color=u.attrs.color),u.attrs.backgroundColor&&(f.backgroundColor=u.attrs.backgroundColor))}),Object.keys(f).length>0?e().unsetMark(this.name).setMark("textStyle",f).setMeta("preventAutolink",!0).run():e().unsetMark(this.name).setMeta("preventAutolink",!0).run()}else{const f={};n.doc.nodesBetween(s,o,u=>{if(u.isText){const h=u.marks.find(m=>
176m.type.name==="textStyle");h&&Object.assign(f,h.attrs)}});const c={...f,...t};return e().setMark(this.name,c).unsetMark("textStyle").setMeta("preventAutolink",!0).run()}},unsetLink:()=>({chain:t,tr:e,state:n})=>{const{selection:i}=n,{from:r,to:s}=i,o=this.editor.schema.marks[this.name],a={};return e.doc.nodesBetween(r,s,l=>{const f=o.isInSet(l.marks);f&&(f.attrs.color&&(a.color=f.attrs.color),f.attrs.backgroundColor&&(a.backgroundColor=f.attrs.backgroundColor))}),Object.keys(a).length>0?t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMark("textStyle",a).setMeta("preventAutolink",!0).run():t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},updateLinkStyle:t=>({chain:e,tr:n,state:i})=>{const{selection:r}=i,s=this.editor.schema.marks[this.name];if(!s)return!1;const{from:o,to:a}=r;let l=!1;return n.doc.nodesBetween(o,a,(f,c)=>{const u=s.isInSet(f.marks);if(u){l=!0;const h=c,m=c+f.nodeSize,p={...u.attrs,...t};n.removeMark(h,m,s),n.addMark(h,m,s.create(p))}return!l}),l}}}}),t7=tn.create({name:"inlineDoc",topNode:!0,content:"inline*",group:"block",defining:!1,parseHTML(){return[{tag:"span[data-inline-doc]",getAttrs:t=>{if(t instanceof HTMLElement){const e={};return Array.from(t.attributes).forEach(n=>{n.name!=="data-inline-doc"&&(e[n.name]=n.value)}),e}return{}}},{tag:"div[data-inline-doc]",getAttrs:t=>{if(t instanceof HTMLElement){const e={};return Array.from(t.attributes).forEach(n=>{n.name!=="data-inline-doc"&&(e[n.name]=n.value)}),e}return{}}}]},renderHTML({HTMLAttributes:t}){return["span",{"data-inline-doc":"",...t},0]},addAttributes(){return{class:{default:null,parseHTML:t=>t.getAttribute("class"),renderHTML:t=>t.class?{class:t.class}:{}},style:{default:null,parseHTML:t=>t.getAttribute("style"),renderHTML:t=>t.style?{style:t.style}:{}},id:{default:null,parseHTML:t=>t.getAttribute("id"),renderHTML:t=>t.id?{id:t.id}:{}}}},addKeyboardShortcuts(){return{Enter:()=>!0,"Shift-Enter":()=>!0}},addInputRules(){return[]},addPasteRules(){return[]}}),n7=()=>[My.configure({heading:!1,bulletList:{HTMLAttributes:{}},orderedList:{HTMLAttributes:{}},listItem:{HTMLAttributes:{}},bold:{HTMLAttributes:{}},italic:{HTMLAttributes:{}},strike:{HTMLAttributes:{}},code:{HTMLAttributes:{}},paragraph:{HTMLAttributes:{}}}),Ny,ky.configure({HTMLAttributes:{}}),Fy,Dy,Ty,Ry.configure({HTMLAttributes:{class:"editor-link"},openOnClick:!1})],i7=()=>[t7,Ny,My.configure({document:!1,paragraph:!1,heading:!1,bulletList:!1,orderedList:!1,listItem:!1,blockquote:!1,
176codeBlock:!1,horizontalRule:!1,bold:{HTMLAttributes:{}},italic:{HTMLAttributes:{}},strike:{HTMLAttributes:{}},code:{HTMLAttributes:{}}}),ky.configure({HTMLAttributes:{}}),Fy,Dy,Ty,Ry.configure({HTMLAttributes:{class:"editor-link"},openOnClick:!1})],Ly=()=>{const t="tiptap-shared-styles";if(!document.getElementById(t)){const e=document.createElement("style");e.id=t,e.textContent=` 177 /* Base ProseMirror styles */ 178 .ProseMirror { 179 border: none !important; 180 outline: none !important; 181 box-shadow: none !important; 182 background-color: transparent !important; 183 } 184 185 .ProseMirror:focus { 186 border: none !important; 187 outline: none !important; 188 box-shadow: none !important; 189 } 190 191 .ProseMirror-focused { 192 border: none !important; 193 outline: none !important; 194 box-shadow: none !important; 195 } 196 197 /* Inline mode specific styles */ 198 .ProseMirror[data-inline-mode="true"] { 199 display: inline !important; 200 } 201 202 .ProseMirror span[data-inline-doc] { 203 display: inline !important; 204 margin: 0 !important; 205 padding: 0 !important; 206 } 207 208 /* Emoji Popover Styles */ 209 .tiptap-emoji-popover .ant-popover-content { 210 z-index: 99999 !important; 211 } 212 213 .tiptap-emoji-popover .ant-popover-inner { 214 padding: 8px !important; 215 border-radius: 8px !important; 216 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; 217 } 218 219 .tiptap-emoji-popover .ant-popover-arrow { 220 display: none !important; 221 } 222 223 /* Ensure emoji picker is fully visible */ 224 .tiptap-emoji-popover em-emoji-picker { 225 background: white !important; 226 border-radius: 8px !important; 227 } 228 229 /* Link popover styles */ 230 .tiptap-link-popover .ant-popover-content { 231 z-index: 99999 !important; 232 } 233 234 .tiptap-link-popover .ant-popover-inner { 235 padding: 8px !important; 236 border-radius: 8px !important; 237 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; 238 } 239 `,document.head.appendChild(e)}},r7={fontSize:"16px",lineHeight:"16px",top:-40,width:"max-content",minWidth:"fit-content",maxWidth:"none",left:"50%",transform:"translateX(-50%)"},s7="flex items-center px-2 py-1 bg-black/80 backdrop-blur-md rounded-md gap-1 flex-wrap absolute z-10",o7=(t,e)=>` 240 flex items-center justify-center text-white 241 transition-colors duration-200 rounded-xs 242 ${t?" text-white border-1 border-primary":"bg-transparent hover:bg-white/10"} 243 ${e?"opacity-50 cursor-not-allowed":"cursor-pointer"} 244`,a7="w-px h-6 bg-white/20 mx-1.5 flex-shrink-0",l7=JSON.parse('[{"id":"people","emojis":["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","smiling_face_with_tear","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking_face","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","dotted_line_face","face_in_clouds","smirk","unamused","face_with_rolling_eyes","grimacing","face_exhaling","lying_face","shaking_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","face_with_spiral_eyes","exploding_head","face_with_cowboy_hat","partying_face","disguised_face","sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","face_holding_back_tears","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","leftwards_pushing_hand","rightwards_pushing_hand","ok_hand","pinched_fingers","pinching_hand","v","crossed_fingers","hand_with_index_finger_and_thumb_crossed","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","index_pointing_at_the_viewer","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","heart_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","lips","biting_lip","baby","child","boy","girl","adult","person_with_blond_hair","man","bearded_person","man_with_beard","woman_with_beard","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","red_haired_person","curly_haired_woman","curly_haired_person","white_haired_woman","white_haired_person","bald_woman","bald_person","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","person_frowning","man-frowning","woman-frowning","person_with_pouting_face","man-pouting","woman-pouting","no_good","man-gesturing-no","woman-gesturing-no","ok_woman","man-gesturing-ok","woman-gesturing-ok","information_desk_person","man-tipping-hand","woman-tipping-hand","raising_hand","man-raising-hand","woman-raising-hand","deaf_person","deaf_man","deaf_woman","bow","man-bowing","woman-bowing","face_palm","man-facepalming","woman-facepalming","shrug","man-shrugging","woman-shrugging","health_worker","male-doctor","female-doctor","student","male-student","female-student","teacher","male-teacher","female-teacher","judge","male-judge","female-judge","farmer","male-farmer","female-farmer","cook","male-cook","female-cook","mechanic","male-mechanic","female-mechanic","factory_worker","male-factory-worker","female-factory-worker","office_worker","male-office-worker","female-office-worker","scientist","male-scientist","female-scientist","technologist","male-technologist","female-technologist","singer","male-singer","female-singer","artist","male-artist","female-artist","pilot","male-pilot","female-pilot","astronaut","male-astronaut","female-astronaut","firefighter","male-firefighter","female-firefighter","cop","male-police-officer","female-police-officer","sleuth_or_spy","male-detective","female-detective","guardsman","male-guard","female-guard","ninja","construction_worker","male-construction-worker","female-construction-worker","person_with_crown","prince","princess","man_with_turban","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","bride_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast-feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","angel","santa","mrs_claus","mx_claus","superhero","male_superhero","female_superhero","supervillain","male_supervillain","female_supervillain","mage","male_mage","female_mage","fairy","male_fairy","female_fairy","vampire","male_vampire","female_vampire","merperson","merman","mermaid","elf","male_elf","female_elf","genie","male_genie","female_genie","zombie","male_zombie","female_zombie","troll","massage","man-getting-massage","woman-getting-massage","haircut","man-getting-haircut","woman-getting-haircut","walking","man-walking","woman-walking","standing_person","man_standing","woman_standing","kneeling_person","man_kneeling","woman_kneeling","person_with_probing_cane","man_with_probing_cane","woman_with_probing_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","runner","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","dancers","men-with-bunny-ears-partying","women-with-bunny-ears-partying","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","golfer","man-golfing","woman-golfing","surfer","man-surfing","woman-surfing","rowboat","man-rowing-boat","woman-rowing-boat","swimmer","man-swimming","woman-swimming","person_with_ball","man-bouncing-ball","woman-bouncing-ball","weight_lifter","man-lifting-weights","woman-lifting-weights","bicyclist","man-biking","woman-biking","mountain_bicyclist","man-mountain-biking","woman-mountain-biking","person_doing_cartwheel","man-cartwheeling","woman-cartwheeling","wrestlers","man-wrestling","woman-wrestling","water_polo","man-playing-water-polo","woman-playing-water-polo","handball","man-playing-handball","woman-playing-handball","juggling","man-juggling","woman-juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","man_and_woman_holding_hands","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","family","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","people_hugging","footprints","robot_face","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_c
244at","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart_on_fire","mending_heart","heart","pink_heart","orange_heart","yellow_heart","green_heart","blue_heart","light_blue_heart","purple_heart","brown_heart","black_heart","grey_heart","white_heart","kiss","100","anger","boom","dizzy","sweat_drops","dash","hole","speech_balloon","eye-in-speech-bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz"]},{"id":"nature","emojis":["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","black_cat","lion_face","tiger","tiger2","leopard","horse","moose","donkey","racehorse","unicorn_face","zebra_face","deer","bison","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","mammoth","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","wing","black_bird","goose","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","shell","coral","jellyfish","snail","butterfly","bug","ant","bee","beetle","ladybug","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","hyacinth","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves","empty_nest","nest_with_eggs","mushroom"]},{"id":"foods","emojis":["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwifruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","peanuts","beans","chestnut","ginger_root","pea_pod","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","teapot","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","jar","amphora"]},{"id":"activity","emojis":["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","gun","8ball","crystal_ball","magic_wand","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","pinata","mirror_ball","nesting_dolls","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","sewing_needle","yarn","knot"]},{"id":"places","emojis":["earth_africa","earth_americas","earth_asia","globe_with_meri
244dians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","rock","wood","hut","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","pickup_truck","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","roller_skate","busstop","motorway","railway_track","oil_drum","fuelpump","wheel","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","ring_buoy","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{"id":"objects","emojis":["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","folding_hand_fan","purse","handbag","pouch","shopping_bags","school_satchel","thong_sandal","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","hair_pick","crown","womans_hat","tophat","mortar_board","billed_cap","military_helmet","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","long_drum","maracas","flute","iphone","calling","phone","telephone_receiver","pager","fax","battery","low_battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","
244notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","coin","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","bomb","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","hook","toolbox","magnet","ladder","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x-ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","headstone","funeral_urn","nazar_amulet","hamsa","moyai","placard","identification_card"]},{"id":"symbols","emojis":["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","khanda","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","wireless","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_equals_sign","infinity","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","x","negative_squared_cross_mark","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","copyright","registered","tm","hash","keycap_star","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{"id":"flags","emojis":["checkered_flag","cn","crossed_flags","de","es","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-england","flag-er","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","flag-ga","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","flag-je","flag-jm","flag-jo","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","flag-rw","flag-sa","flag-sb","flag-sc","flag-scotland","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-un","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wales","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","fr","gb","it","jp","kr","pirate_flag","rainbow-flag","ru","transgender_flag","triangular_flag_on_post","us","waving_black_flag","
244waving_white_flag"]}]'),d7=JSON.parse(`{"100":{"id":"100","name":"Hundred Points","keywords":["100","score","perfect","numbers","century","exam","quiz","test","pass"],"skins":[{"unified":"1f4af","native":"ð¯"}],"version":1},"1234":{"id":"1234","name":"Input Numbers","keywords":["1234","blue","square","1","2","3","4"],"skins":[{"unified":"1f522","native":"ð¢"}],"version":1},"grinning":{"id":"grinning","name":"Grinning Face","emoticons":[":D"],"keywords":["smile","happy","joy",":D","grin"],"skins":[{"unified":"1f600","native":"ð"}],"version":1},"smiley":{"id":"smiley","name":"Grinning Face with Big Eyes","emoticons":[":)","=)","=-)"],"keywords":["smiley","happy","joy","haha",":D",":)","smile","funny"],"skins":[{"unified":"1f603","native":"ð"}],"version":1},"smile":{"id":"smile","name":"Grinning Face with Smiling Eyes","emoticons":[":)","C:","c:",":D",":-D"],"keywords":["smile","happy","joy","funny","haha","laugh","like",":D",":)"],"skins":[{"unified":"1f604","native":"ð"}],"version":1},"grin":{"id":"grin","name":"Beaming Face with Smiling Eyes","keywords":["grin","happy","smile","joy","kawaii"],"skins":[{"unified":"1f601","native":"ð"}],"version":1},"laughing":{"id":"laughing","name":"Grinning Squinting Face","emoticons":[":>",":->"],"keywords":["laughing","satisfied","happy","joy","lol","haha","glad","XD","laugh"],"skins":[{"unified":"1f606","native":"ð"}],"version":1},"sweat_smile":{"id":"sweat_smile","name":"Grinning Face with Sweat","keywords":["smile","hot","happy","laugh","relief"],"skins":[{"unified":"1f605","native":"ð
"}],"version":1},"rolling_on_the_floor_laughing":{"id":"rolling_on_the_floor_laughing","name":"Rolling on the Floor Laughing","keywords":["face","lol","haha","rofl"],"skins":[{"unified":"1f923","native":"ð¤£"}],"version":3},"joy":{"id":"joy","name":"Face with Tears of Joy","keywords":["cry","weep","happy","happytears","haha"],"skins":[{"unified":"1f602","native":"ð"}],"version":1},"slightly_smiling_face":{"id":"slightly_smiling_face","name":"Slightly Smiling Face","emoticons":[":)","(:",":-)"],"keywords":["smile"],"skins":[{"unified":"1f642","native":"ð"}],"version":1},"upside_down_face":{"id":"upside_down_face","name":"Upside-Down Face","keywords":["upside","down","flipped","silly","smile"],"skins":[{"unified":"1f643","native":"ð"}],"version":1},"melting_face":{"id":"melting_face","name":"Melting Face","keywords":["hot","heat"],"skins":[{"unified":"1fae0","native":"ð« "}],"version":14},"wink":{"id":"wink","name":"Winking Face","emoticons":[";)",";-)"],"keywords":["wink","happy","mischievous","secret",";)","smile","eye"],"skins":[{"unified":"1f609","native":"ð"}],"version":1},"blush":{"id":"blush","name":"Smiling Face with Smiling Eyes","emoticons":[":)"],"keywords":["blush","smile","happy","flushed","crush","embarrassed","shy","joy"],"skins":[{"unified":"1f60a","native":"ð"}],"version":1},"innocent":{"id":"innocent","name":"Smiling Face with Halo","keywords":["innocent","angel","heaven"],"skins":[{"unified":"1f607","native":"ð"}],"version":1},"smiling_face_with_3_hearts":{"id":"smiling_face_with_3_hearts","name":"Smiling Face with Hearts","keywords":["3","love","like","affection","valentines","infatuation","crush","adore"],"skins":[{"unified":"1f970","native":"ð¥°"}],"version":11},"heart_eyes":{"id":"heart_eyes","name":"Smiling Face with Heart-Eyes","keywords":["heart","eyes","love","like","affection","valentines","infatuation","crush"],"skins":[{"unified":"1f60d","native":"ð"}],"version":1},"star-struck":{"id":"star-struck","name":"Star-Struck","keywords":["star","struck","grinning","face","with","eyes","smile","starry"],"skins":[{"unified":"1f929","native":"ð¤©"}],"version":5},"kissing_heart":{"id":"kissing_heart","name":"Face Blowing a Kiss","emoticons":[":*",":-*"],"keywords":["kissing","heart","love","like","affection","valentines","infatuation"],"skins":[{"unified":"1f618","native":"ð"}],"version":1},"kissing":{"id":"kissing","name":"Kissing Face","keywords":["love","like","3","valentines","infatuation","kiss"],"skins":[{"unified":"1f617","native":"ð"}],"version":1},"relaxed":{"id":"relaxed","name":"Smiling Face","keywords":["relaxed","blush","massage","happiness"],"skins":[{"unified":"263a-fe0f","native":"âºï¸"}],"version":1},"kissing_closed_eyes":{"id":"kissing_closed_eyes","name":"Kissing Face with Closed Eyes","keywords":["love","like","affection","valentines","infatuation","kiss"],"skins":[{"unified":"1f61a","native":"ð"}],"version":1},"kissing_smiling_eyes":{"id":"kissing_smiling_eyes","name":"Kissing Face with Smiling Eyes","keywords":["affection","valentines","infatuation","kiss"],"skins":[{"unified":"1f619","native":"ð"}],"version":1},"smiling_face_with_tear":{"id":"smiling_face_with_tear","name":"Smiling Face with Tear","keywords":["sad","cry","pretend"],"skins":[{"unified":"1f972","native":"ð¥²"}],"version":13},"yum":{"id":"yum","name":"Face Savoring Food","keywords":["yum","happy","joy","tongue","smile","silly","yummy","nom","delicious","savouring"],"skins":[{"unified":"1f60b","native":"ð"}],"version":1},"stuck_out_tongue":{"id":"stuck_out_tongue","name":"Face with Tongue","emoticons":[":p",":-p",":P",":-P",":b",":-b"],"keywords":["stuck","out","prank","childish","playful","mischievous","smile"],"skins":[{"unified":"1f61b","native":"ð"}],"version":1},"stuck_out_tongue_winking_eye":{"id":"stuck_out_tongue_winking_eye","name":"Winking Face with Tongue","emoticons":[";p",";-p",";b",";-b",";P",";-P"],"keywords":["stuck","out","eye","prank","childish","playful","mischievous","smile","wink"],"skins":[{"unified":"1f61c","native":"ð"}],"version":1},"zany_face":{"id":"zany_face","name":"Zany Face","keywords":["grinning","with","one","large","and","small","eye","goofy","crazy"],"skins":[{"unified":"1f92a","native":"ð¤ª"}],"version":5},"stuck_out_tongue_closed_eyes":{"id":"stuck_out_tongue_closed_eyes","name":"Squinting Face with Tongue","keywords":["stuck","out","closed","eyes","prank","playful","mischievous","smile"],"skins":[{"unified":"1f61d","native":"ð"}],"version":1},"money_mouth_face":{"id":"money_mouth_face","name":"Money-Mouth Face","keywords":["money","mouth","rich","dollar"],"skins":[{"unified":"1f911","native":"ð¤"}],"version":1},"hugging_face":{"id":"hugging_face","name":"Hugging Face","keywords":["smile","hug"],"skins":[{"unified":"1f917","native":"ð¤"}],"version":1},"face_with_hand_over_mouth":{"id":"face_with_hand_over_mouth","name":"Face with Hand over Mouth","keywords":["smiling","eyes","and","covering","whoops","shock","
244surprise"],"skins":[{"unified":"1f92d","native":"ð¤"}],"version":5},"face_with_open_eyes_and_hand_over_mouth":{"id":"face_with_open_eyes_and_hand_over_mouth","name":"Face with Open Eyes and Hand over Mouth","keywords":["silence","secret","shock","surprise"],"skins":[{"unified":"1fae2","native":"ð«¢"}],"version":14},"face_with_peeking_eye":{"id":"face_with_peeking_eye","name":"Face with Peeking Eye","keywords":["scared","frightening","embarrassing","shy"],"skins":[{"unified":"1fae3","native":"ð«£"}],"version":14},"shushing_face":{"id":"shushing_face","name":"Shushing Face","keywords":["with","finger","covering","closed","lips","quiet","shhh"],"skins":[{"unified":"1f92b","native":"ð¤«"}],"version":5},"thinking_face":{"id":"thinking_face","name":"Thinking Face","keywords":["hmmm","think","consider"],"skins":[{"unified":"1f914","native":"ð¤"}],"version":1},"saluting_face":{"id":"saluting_face","name":"Saluting Face","keywords":["respect","salute"],"skins":[{"unified":"1fae1","native":"ð«¡"}],"version":14},"zipper_mouth_face":{"id":"zipper_mouth_face","name":"Zipper-Mouth Face","keywords":["zipper","mouth","sealed","secret"],"skins":[{"unified":"1f910","native":"ð¤"}],"version":1},"face_with_raised_eyebrow":{"id":"face_with_raised_eyebrow","name":"Face with Raised Eyebrow","keywords":["one","distrust","scepticism","disapproval","disbelief","surprise"],"skins":[{"unified":"1f928","native":"ð¤¨"}],"version":5},"neutral_face":{"id":"neutral_face","name":"Neutral Face","emoticons":[":|",":-|"],"keywords":["indifference","meh",":",""],"skins":[{"unified":"1f610","native":"ð"}],"version":1},"expressionless":{"id":"expressionless","name":"Expressionless Face","emoticons":["-_-"],"keywords":["indifferent","-","","meh","deadpan"],"skins":[{"unified":"1f611","native":"ð"}],"version":1},"no_mouth":{"id":"no_mouth","name":"Face Without Mouth","keywords":["no","hellokitty"],"skins":[{"unified":"1f636","native":"ð¶"}],"version":1},"dotted_line_face":{"id":"dotted_line_face","name":"Dotted Line Face","keywords":["invisible","lonely","isolation","depression"],"skins":[{"unified":"1fae5","native":"ð«¥"}],"version":14},"face_in_clouds":{"id":"face_in_clouds","name":"Face in Clouds","keywords":["shower","steam","dream"],"skins":[{"unified":"1f636-200d-1f32b-fe0f","native":"ð¶âð«ï¸"}],"version":13.1},"smirk":{"id":"smirk","name":"Smirking Face","keywords":["smirk","smile","mean","prank","smug","sarcasm"],"skins":[{"unified":"1f60f","native":"ð"}],"version":1},"unamused":{"id":"unamused","name":"Unamused Face","emoticons":[":("],"keywords":["indifference","bored","straight","serious","sarcasm","unimpressed","skeptical","dubious","side","eye"],"skins":[{"unified":"1f612","native":"ð"}],"version":1},"face_with_rolling_eyes":{"id":"face_with_rolling_eyes","name":"Face with Rolling Eyes","keywords":["eyeroll","frustrated"],"skins":[{"unified":"1f644","native":"ð"}],"version":1},"grimacing":{"id":"grimacing","name":"Grimacing Face","keywords":["grimace","teeth"],"skins":[{"unified":"1f62c","native":"ð¬"}],"version":1},"face_exhaling":{"id":"face_exhaling","name":"Face Exhaling","keywords":["relieve","relief","tired","sigh"],"skins":[{"unified":"1f62e-200d-1f4a8","native":"ð®âð¨"}],"version":13.1},"lying_face":{"id":"lying_face","name":"Lying Face","keywords":["lie","pinocchio"],"skins":[{"unified":"1f925","native":"ð¤¥"}],"version":3},"shaking_face":{"id":"shaking_face","name":"Shaking Face","keywords":["dizzy","shock","blurry","earthquake"],"skins":[{"unified":"1fae8","native":"ð«¨"}],"version":15},"relieved":{"id":"relieved","name":"Relieved Face","keywords":["relaxed","phew","massage","happiness"],"skins":[{"unified":"1f60c","native":"ð"}],"version":1},"pensive":{"id":"pensive","name":"Pensive Face","keywords":["sad","depressed","upset"],"skins":[{"unified":"1f614","native":"ð"}],"version":1},"sleepy":{"id":"sleepy","name":"Sleepy Face","keywords":["tired","rest","nap"],"skins":[{"unified":"1f62a","native":"ðª"}],"version":1},"drooling_face":{"id":"drooling_face","name":"Drooling Face","keywords":[],"skins":[{"unified":"1f924","native":"ð¤¤"}],"version":3},"sleeping":{"id":"sleeping","name":"Sleeping Face","keywords":["tired","sleepy","night","zzz"],"skins":[{"unified":"1f634","native":"ð´"}],"version":1},"mask":{"id":"mask","name":"Face with Medical Mask","keywords":["sick","ill","disease","covid"],"skins":[{"unified":"1f637","native":"ð·"}],"version":1},"face_with_thermometer":{"id":"face_with_thermometer","name":"Face with Thermometer","keywords":["sick","temperature","cold","fever","covid"],"skins":[{"unified":"1f912","native":"ð¤"}],"version":1}
244,"face_with_head_bandage":{"id":"face_with_head_bandage","name":"Face with Head-Bandage","keywords":["head","bandage","injured","clumsy","hurt"],"skins":[{"unified":"1f915","native":"ð¤"}],"version":1},"nauseated_face":{"id":"nauseated_face","name":"Nauseated Face","keywords":["vomit","gross","green","sick","throw","up","ill"],"skins":[{"unified":"1f922","native":"ð¤¢"}],"version":3},"face_vomiting":{"id":"face_vomiting","name":"Face Vomiting","keywords":["with","open","mouth","sick"],"skins":[{"unified":"1f92e","native":"ð¤®"}],"version":5},"sneezing_face":{"id":"sneezing_face","name":"Sneezing Face","keywords":["gesundheit","sneeze","sick","allergy"],"skins":[{"unified":"1f927","native":"ð¤§"}],"version":3},"hot_face":{"id":"hot_face","name":"Hot Face","keywords":["feverish","heat","red","sweating"],"skins":[{"unified":"1f975","native":"ð¥µ"}],"version":11},"cold_face":{"id":"cold_face","name":"Cold Face","keywords":["blue","freezing","frozen","frostbite","icicles"],"skins":[{"unified":"1f976","native":"ð¥¶"}],"version":11},"woozy_face":{"id":"woozy_face","name":"Woozy Face","keywords":["dizzy","intoxicated","tipsy","wavy"],"skins":[{"unified":"1f974","native":"ð¥´"}],"version":11},"dizzy_face":{"id":"dizzy_face","name":"Dizzy Face","keywords":["spent","unconscious","xox"],"skins":[{"unified":"1f635","native":"ðµ"}],"version":1},"face_with_spiral_eyes":{"id":"face_with_spiral_eyes","name":"Face with Spiral Eyes","keywords":["sick","ill","confused","nauseous","nausea"],"skins":[{"unified":"1f635-200d-1f4ab","native":"ðµâð«"}],"version":13.1},"exploding_head":{"id":"exploding_head","name":"Exploding Head","keywords":["shocked","face","with","mind","blown"],"skins":[{"unified":"1f92f","native":"ð¤¯"}],"version":5},"face_with_cowboy_hat":{"id":"face_with_cowboy_hat","name":"Cowboy Hat Face","keywords":["with","cowgirl"],"skins":[{"unified":"1f920","native":"ð¤ "}],"version":3},"partying_face":{"id":"partying_face","name":"Partying Face","keywords":["celebration","woohoo"],"skins":[{"unified":"1f973","native":"ð¥³"}],"version":11},"disguised_face":{"id":"disguised_face","name":"Disguised Face","keywords":["pretent","brows","glasses","moustache"],"skins":[{"unified":"1f978","native":"ð¥¸"}],"version":13},"sunglasses":{"id":"sunglasses","name":"Smiling Face with Sunglasses","emoticons":["8)"],"keywords":["cool","smile","summer","beach","sunglass"],"skins":[{"unified":"1f60e","native":"ð"}],"version":1},"nerd_face":{"id":"nerd_face","name":"Nerd Face","keywords":["nerdy","geek","dork"],"skins":[{"unified":"1f913","native":"ð¤"}],"version":1},"face_with_monocle":{"id":"face_with_monocle","name":"Face with Monocle","keywords":["stuffy","wealthy"],"skins":[{"unified":"1f9d0","native":"ð§"}],"version":5},"confused":{"id":"confused","name":"Confused Face","emoticons":[":\\\\",":-\\\\",":/",":-/"],"keywords":["indifference","huh","weird","hmmm",":/"],"skins":[{"unified":"1f615","native":"ð"}],"version":1},"face_with_diagonal_mouth":{"id":"face_with_diagonal_mouth","name":"Face with Diagonal Mouth","keywords":["skeptic","confuse","frustrated","indifferent"],"skins":[{"unified":"1fae4","native":"ð«¤"}],"version":14},"worried":{"id":"worried","name":"Worried Face","keywords":["concern","nervous",":("],"skins":[{"unified":"1f61f","native":"ð"}],"version":1},"slightly_frowning_face":{"id":"slightly_frowning_face","name":"Slightly Frowning Face","keywords":["disappointed","sad","upset"],"skins":[{"unified":"1f641","native":"ð"}],"version":1},"white_frowning_face":{"id":"white_frowning_face","name":"Frowning Face","keywords":["white","sad","upset","frown"],"skins":[{"unified":"2639-fe0f","native":"â¹ï¸"}],"version":1},"open_mouth":{"id":"open_mouth","name":"Face with Open Mouth","emoticons":[":o",":-o",":O",":-O"],"keywords":["surprise","impressed","wow","whoa",":O"],"skins":[{"unified":"1f62e","native":"ð®"}],"version":1},"hushed":{"id":"hushed","name":"Hushed Face","keywords":["woo","shh"],"skins":[{"unified":"1f62f","native":"ð¯"}],"version":1},"astonished":{"id":"astonished","name":"Astonished Face","keywords":["xox","surprised","poisoned"],"skins":[{"unified":"1f632","native":"ð²"}],"version":1},"flushed":{"id":"flushed","name":"Flushed Face","keywords":["blush","shy","flattered"],"skins":[{"unified":"1f633","native":"ð³"}],"version":1},"pleading_face":{"id":"pleading_face","name":"Pleading Face","keywords":["begging","mercy","cry","tears","sad","grievance"],"skins":[{"unified":"1f97a","native":"ð¥º"}],"version":11},"face_holding_back_tears":{"id":"face_holding_back_tears","name":"Face Holding Back Tears","keywords":["touched","gratitude","cry"],"skins":[{"unified":"1f979","native":"ð¥¹"}],"version":14},"frowning":{"id":"frowning","name":"Frowning Face with Open Mouth","keywords":["aw","what"],"skins":[{"unified":"1f626","native":"ð¦"}],"version":1},"anguished":{"id":"anguished","name":"Anguished Face","emoticons":["D:"],"keywords":["stunned","nervous"],"skins":[{"unified":"1f627","native":"ð§"}],"version":1}
244,"fearful":{"id":"fearful","name":"Fearful Face","keywords":["scared","terrified","nervous"],"skins":[{"unified":"1f628","native":"ð¨"}],"version":1},"cold_sweat":{"id":"cold_sweat","name":"Anxious Face with Sweat","keywords":["cold","nervous"],"skins":[{"unified":"1f630","native":"ð°"}],"version":1},"disappointed_relieved":{"id":"disappointed_relieved","name":"Sad but Relieved Face","keywords":["disappointed","phew","sweat","nervous"],"skins":[{"unified":"1f625","native":"ð¥"}],"version":1},"cry":{"id":"cry","name":"Crying Face","emoticons":[":'("],"keywords":["cry","tears","sad","depressed","upset",":'("],"skins":[{"unified":"1f622","native":"ð¢"}],"version":1},"sob":{"id":"sob","name":"Loudly Crying Face","emoticons":[":'("],"keywords":["sob","cry","tears","sad","upset","depressed"],"skins":[{"unified":"1f62d","native":"ð"}],"version":1},"scream":{"id":"scream","name":"Face Screaming in Fear","keywords":["scream","munch","scared","omg"],"skins":[{"unified":"1f631","native":"ð±"}],"version":1},"confounded":{"id":"confounded","name":"Confounded Face","keywords":["confused","sick","unwell","oops",":S"],"skins":[{"unified":"1f616","native":"ð"}],"version":1},"persevere":{"id":"persevere","name":"Persevering Face","keywords":["persevere","sick","no","upset","oops"],"skins":[{"unified":"1f623","native":"ð£"}],"version":1},"disappointed":{"id":"disappointed","name":"Disappointed Face","emoticons":["):",":(",":-("],"keywords":["sad","upset","depressed",":("],"skins":[{"unified":"1f61e","native":"ð"}],"version":1},"sweat":{"id":"sweat","name":"Face with Cold Sweat","keywords":["downcast","hot","sad","tired","exercise"],"skins":[{"unified":"1f613","native":"ð"}],"version":1},"weary":{"id":"weary","name":"Weary Face","keywords":["tired","sleepy","sad","frustrated","upset"],"skins":[{"unified":"1f629","native":"ð©"}],"version":1},"tired_face":{"id":"tired_face","name":"Tired Face","keywords":["sick","whine","upset","frustrated"],"skins":[{"unified":"1f62b","native":"ð«"}],"version":1},"yawning_face":{"id":"yawning_face","name":"Yawning Face","keywords":["tired","sleepy"],"skins":[{"unified":"1f971","native":"ð¥±"}],"version":12},"triumph":{"id":"triumph","name":"Face with Look of Triumph","keywords":["steam","from","nose","gas","phew","proud","pride"],"skins":[{"unified":"1f624","native":"ð¤"}],"version":1},"rage":{"id":"rage","name":"Pouting Face","keywords":["rage","angry","mad","hate","despise"],"skins":[{"unified":"1f621","native":"ð¡"}],"version":1},"angry":{"id":"angry","name":"Angry Face","emoticons":[">:(",">:-("],"keywords":["mad","annoyed","frustrated"],"skins":[{"unified":"1f620","native":"ð "}],"version":1},"face_with_symbols_on_mouth":{"id":"face_with_symbols_on_mouth","name":"Face with Symbols on Mouth","keywords":["serious","covering","swearing","cursing","cussing","profanity","expletive"],"skins":[{"unified":"1f92c","native":"ð¤¬"}],"version":5},"smiling_imp":{"id":"smiling_imp","name":"Smiling Face with Horns","keywords":["imp","devil"],"skins":[{"unified":"1f608","native":"ð"}],"version":1},"imp":{"id":"imp","name":"Imp","keywords":["angry","face","with","horns","devil"],"skins":[{"unified":"1f47f","native":"ð¿"}],"version":1},"skull":{"id":"skull","name":"Skull","keywords":["dead","skeleton","creepy","death"],"skins":[{"unified":"1f48
2440","native":"ð"}],"version":1},"skull_and_crossbones":{"id":"skull_and_crossbones","name":"Skull and Crossbones","keywords":["poison","danger","deadly","scary","death","pirate","evil"],"skins":[{"unified":"2620-fe0f","native":"â ï¸"}],"version":1},"hankey":{"id":"hankey","name":"Pile of Poo","keywords":["hankey","poop","shit","shitface","fail","turd"],"skins":[{"unified":"1f4a9","native":"ð©"}],"version":1},"clown_face":{"id":"clown_face","name":"Clown Face","keywords":[],"skins":[{"unified":"1f921","native":"ð¤¡"}],"version":3},"japanese_ogre":{"id":"japanese_ogre","name":"Ogre","keywords":["japanese","monster","red","mask","halloween","scary","creepy","devil","demon"],"skins":[{"unified":"1f479","native":"ð¹"}],"version":1},"japanese_goblin":{"id":"japanese_goblin","name":"Goblin","keywords":["japanese","red","evil","mask","monster","scary","creepy"],"skins":[{"unified":"1f47a","native":"ðº"}],"version":1},"ghost":{"id":"ghost","name":"Ghost","keywords":["halloween","spooky","scary"],"skins":[{"unified":"1f47b","native":"ð»"}],"version":1},"alien":{"id":"alien","name":"Alien","keywords":["UFO","paul","weird","outer","space"],"skins":[{"unified":"1f47d","native":"ð½"}],"version":1},"space_invader":{"id":"space_invader","name":"Alien Monster","keywords":["space","invader","game","arcade","play"],"skins":[{"unified":"1f47e","native":"ð¾"}],"version":1},"robot_face":{"id":"robot_face","name":"Robot","keywords":["face","computer","machine","bot"],"skins":[{"unified":"1f916","native":"ð¤"}],"version":1},"smiley_cat":{"id":"smiley_cat","name":"Grinning Cat","keywords":["smiley","animal","cats","happy","smile"],"skins":[{"unified":"1f63a","native":"ðº"}],"version":1},"smile_cat":{"id":"smile_cat","name":"Grinning Cat with Smiling Eyes","keywords":["smile","animal","cats"],"skins":[{"unified":"1f638","native":"ð¸"}],"version":1},"joy_cat":{"id":"joy_cat","name":"Cat with Tears of Joy","keywords":["animal","cats","haha","happy"],"skins":[{"unified":"1f639","native":"ð¹"}],"version":1},"heart_eyes_cat":{"id":"heart_eyes_cat","name":"Smiling Cat with Heart-Eyes","keywords":["heart","eyes","animal","love","like","affection","cats","valentines"],"skins":[{"unified":"1f63b","native":"ð»"}],"version":1},"smirk_cat":{"id":"smirk_cat","name":"Cat with Wry Smile","keywords":["smirk","animal","cats"],"skins":[{"unified":"1f63c","native":"ð¼"}],"version":1},"kissing_cat":{"id":"kissing_cat","name":"Kissing Cat","keywords":["animal","cats","kiss"],"skins":[{"unified":"1f63d","native":"ð½"}],"version":1},"scream_cat":{"id":"scream_cat","name":"Weary Cat","keywords":["scream","animal","cats","munch","scared"],"skins":[{"unified":"1f640","native":"ð"}],"version":1},"crying_cat_face":{"id":"crying_cat_face","name":"Crying Cat","keywords":["face","animal","tears","weep","sad","cats","upset","cry"],"skins":[{"unified":"1f63f","native":"ð¿"}],"version":1},"pouting_cat":{"id":"pouting_cat","name":"Pouting Cat","keywords":["animal","cats"],"skins":[{"unified":"1f63e","native":"ð¾"}],"version":1},"see_no_evil":{"id":"see_no_evil","name":"See-No-Evil Monkey","keywords":["see","no","evil","animal","nature","haha"],"skins":[{"unified":"1f648","native":"ð"}],"version":1},"hear_no_evil":{"id":"hear_no_evil","name":"Hear-No-Evil Monkey","keywords":["hear","no","evil","animal","nature"],"skins":[{"unified":"1f649","native":"ð"}],"version":1},"speak_no_evil":{"id":"speak_no_evil","name":"Speak-No-Evil Monkey","keywords":["speak","no","evil","animal","nature","omg"],"skins":[{"unified":"1f64a","native":"ð"}],"version":1},"love_letter":{"id":"love_letter","name":"Love Letter","keywords":["email","like","affection","envelope","valentines"],"skins":[{"unified":"1f48c","native":"ð"}],"version":1},"cupid":{"id":"cupid","name":"Heart with Arrow","keywords":["cupid","love","like","affection","valentines"],"skins":[{"unified":"1f498","native":"ð"}],"version":1},"gift_heart":{"id":"gift_heart","name":"Heart with Ribbon","keywords":["gift","love","valentines"],"skins":[{"unified":"1f49d","native":"ð"}],"version":1},"sparkling_heart":{"id":"sparkling_heart","name":"Sparkling Heart","keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f496","native":"ð"}],"version":1},"heartpulse":{"id":"heartpulse","name":"Growing Heart","keywords":["heartpulse","like","love","affection","valentines","pink"],"skins":[{"unified":"1f497","native":"ð"}],"version":1},"heartbeat":{"id":"heartbeat","name":"Beating Heart","keywords":["heartbeat","love","like","affection","valentines","pink"],"skins":[{"unified":"1f493","native":"ð"}],"version":1},"revolving_hearts":{"id":"revolving_hearts","name":"Revolving Hearts","keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f49e","native":"ð"}],"version":1},"two_hearts":{"id":"two_hearts","name":"Two Hearts","keywords":["love","like","affection","valentines","heart"],"skins":[{"unified":"1f495","native":"ð"}],"version":1},"heart_decoration":{"id":"heart_decoration","name":"Heart Decoration","keywords":["purple","square","love","like"],"skins":[{"unified":"1f49f","native":"ð"}],"version":1},"heavy_heart_exclamation_mark_ornament":{"id":"heavy_heart_exclamation_mark_ornament","name":"Heart Exclamation","keywords":["heavy","mark","ornament","decoration","love"],"skins":[{"unified":"2763-fe0f","native":"â£ï¸"}],"version":1},"broken_heart":{"id":"broken_heart","name":"Broken Heart","emoticons":["</3"],"keywords":["sad","sorry","break","heartbreak"],"skins":[{"unified":"1f494","native":"ð"}],"version":1},"heart_on_fire":{"id":"heart_on_fire","name":"Heart on Fire","keywords":["passionate","enthusiastic"],"skins":[{"unified":"2764-fe0f-200d-1f525","native":"â¤ï¸âð¥"}],"version":13.1},"mending_heart":{"id":"mending_heart","name":"Mending Heart","keywords":["broken","bandage","
244wounded"],"skins":[{"unified":"2764-fe0f-200d-1fa79","native":"â¤ï¸âð©¹"}],"version":13.1},"heart":{"id":"heart","name":"Red Heart","emoticons":["<3"],"keywords":["love","like","valentines"],"skins":[{"unified":"2764-fe0f","native":"â¤ï¸"}],"version":1},"pink_heart":{"id":"pink_heart","name":"Pink Heart","keywords":["valentines"],"skins":[{"unified":"1fa77","native":"ð©·"}],"version":15},"orange_heart":{"id":"orange_heart","name":"Orange Heart","keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f9e1","native":"ð§¡"}],"version":5},"yellow_heart":{"id":"yellow_heart","name":"Yellow Heart","emoticons":["<3"],"keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f49b","native":"ð"}],"version":1},"green_heart":{"id":"green_heart","name":"Green Heart","emoticons":["<3"],"keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f49a","native":"ð"}],"version":1},"blue_heart":{"id":"blue_heart","name":"Blue Heart","emoticons":["<3"],"keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f499","native":"ð"}],"version":1},"light_blue_heart":{"id":"light_blue_heart","name":"Light Blue Heart","keywords":["ice","baby"],"skins":[{"unified":"1fa75","native":"ð©µ"}],"version":15},"purple_heart":{"id":"purple_heart","name":"Purple Heart","emoticons":["<3"],"keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f49c","native":"ð"}],"version":1},"brown_heart":{"id":"brown_heart","name":"Brown Heart","keywords":["coffee"],"skins":[{"unified":"1f90e","native":"ð¤"}],"version":12},"black_heart":{"id":"black_heart","name":"Black Heart","keywords":["evil"],"skins":[{"unified":"1f5a4","native":"ð¤"}],"version":3},"grey_heart":{"id":"grey_heart","name":"Grey Heart","keywords":["silver","monochrome"],"skins":[{"unified":"1fa76","native":"ð©¶"}],"version":15},"white_heart":{"id":"white_heart","name":"White Heart","keywords":["pure"],"skins":[{"unified":"1f90d","native":"ð¤"}],"version":12},"kiss":{"id":"kiss","name":"Kiss Mark","keywords":["face","lips","love","like","affection","valentines"],"skins":[{"unified":"1f48b","native":"ð"}],"version":1},"anger":{"id":"anger","name":"Anger Symbol","keywords":["angry","mad"],"skins":[{"unified":"1f4a2","native":"ð¢"}],"version":1},"boom":{"id":"boom","name":"Collision","keywords":["boom","bomb","explode","explosion","blown"],"skins":[{"unified":"1f4a5","native":"ð¥"}],"version":1},"dizzy":{"id":"dizzy","name":"Dizzy","keywords":["star","sparkle","shoot","magic"],"skins":[{"unified":"1f4ab","native":"ð«"}],"version":1},"sweat_drops":{"id":"sweat_drops","name":"Sweat Droplets","keywords":["drops","water","drip","oops"],"skins":[{"unified":"1f4a6","native":"ð¦"}],"version":1},"dash":{"id":"dash","name":"Dash Symbol","keywords":["dashing","away","wind","air","fast","shoo","fart","smoke","puff"],"skins":[{"unified":"1f4a8","native":"ð¨"}],"version":1},"hole":{"id":"hole","name":"Hole","keywords":["embarrassing"],"skins":[{"unified":"1f573-fe0f","native":"ð³ï¸"}],"version":1},"speech_balloon":{"id":"speech_balloon","name":"Speech Balloon","keywords":["bubble","words","message","talk","chatting"],"skins":[{"unified":"1f4ac","native":"ð¬"}],"version":1},"eye-in-speech-bubble":{"id":"eye-in-speech-bubble","name":"Eye in Speech Bubble","keywords":["in-speech-bubble","info"],"skins":[{"unified":"1f441-fe0f-200d-1f5e8-fe0f","native":"ðï¸âð¨ï¸"}],"version":2},"left_speech_bubble":{"id":"left_speech_bubble","name":"Left Speech Bubble","keywords":["words","message","talk","chatting"],"skins":[{"unified":"1f5e8-fe0f","native":"ð¨ï¸"}],"version":2},"right_anger_bubble":{"id":"right_anger_bubble","name":"Right Anger Bubble","keywords":["caption","speech","thinking","mad"],"skins":[{"unified":"1f5ef-fe0f","native":"ð¯ï¸"}],"version":1},"thought_balloon":{"id":"thought_balloon","name":"Thought Balloon","keywords":["bubble","cloud","speech","thinking","dream"],"skins":[{"unified":"1f4ad","native":"ð"}],"version":1},"zzz":{"id":"zzz","name":"Zzz","keywords":["sleepy","tired","dream"],"skins":[{"unified":"1f4a4","native":"ð¤"}],"version":1},"wave":{"id":"wave","name":"Waving Hand","keywords":["wave","hands","gesture","goodbye","solong","farewell","hello","hi","palm"],"skins":[{"unified":"1f44b","native":"ð"},{"unified":"1f44b-1f3fb","native":"ðð»"},{"unified":"1f44b-1f3fc","native":"ðð¼"},{"unified":"1f44b-1f3fd","native":"ðð½"},{"unified":"1f44b-1f3fe","native":"ðð¾"},{"unified":"1f44b-1f3ff","native":"ðð¿"}],"version":1},"raised_back_of_hand":{"id":"raised_back_of_hand","name":"Raised Back of Hand","keywords":["fingers","backhand"],"skins":[{"unified":"1f91a","native":"ð¤"},{"unified":"1f91a-1f3fb","native":"ð¤ð»"},{"unified":"1f91a-1f3fc","native":"ð¤ð¼"},{"unified":"1f91a-1f3fd","native":"ð¤ð½"},{"unified":"1f91a-1f3fe","native":"ð¤ð¾"},{"unified":"1f91a-1f3ff","native":"ð¤ð¿"}],"version":3},"raised_hand_with_fingers_splayed":{"id":"raised_hand_with_fingers_splayed","
244name":"Hand with Fingers Splayed","keywords":["raised","palm"],"skins":[{"unified":"1f590-fe0f","native":"ðï¸"},{"unified":"1f590-1f3fb","native":"ðð»"},{"unified":"1f590-1f3fc","native":"ðð¼"},{"unified":"1f590-1f3fd","native":"ðð½"},{"unified":"1f590-1f3fe","native":"ðð¾"},{"unified":"1f590-1f3ff","native":"ðð¿"}],"version":1},"hand":{"id":"hand","name":"Raised Hand","keywords":["fingers","stop","highfive","high","five","palm","ban"],"skins":[{"unified":"270b","native":"â"},{"unified":"270b-1f3fb","native":"âð»"},{"unified":"270b-1f3fc","native":"âð¼"},{"unified":"270b-1f3fd","native":"âð½"},{"unified":"270b-1f3fe","native":"âð¾"},{"unified":"270b-1f3ff","native":"âð¿"}],"version":1},"spock-hand":{"id":"spock-hand","name":"Vulcan Salute","keywords":["spock","hand","fingers","star","trek"],"skins":[{"unified":"1f596","native":"ð"},{"unified":"1f596-1f3fb","native":"ðð»"},{"unified":"1f596-1f3fc","native":"ðð¼"},{"unified":"1f596-1f3fd","native":"ðð½"},{"unified":"1f596-1f3fe","native":"ðð¾"},{"unified":"1f596-1f3ff","native":"ðð¿"}],"version":1},"rightwards_hand":{"id":"rightwards_hand","name":"Rightwards Hand","keywords":["palm","offer"],"skins":[{"unified":"1faf1","native":"ð«±"},{"unified":"1faf1-1f3fb","native":"ð«±ð»"},{"unified":"1faf1-1f3fc","native":"ð«±ð¼"},{"unified":"1faf1-1f3fd","native":"ð«±ð½"},{"unified":"1faf1-1f3fe","native":"ð«±ð¾"},{"unified":"1faf1-1f3ff","native":"ð«±ð¿"}],"version":14},"leftwards_hand":{"id":"leftwards_hand","name":"Leftwards Hand","keywords":["palm","offer"],"skins":[{"unified":"1faf2","native":"ð«²"},{"unified":"1faf2-1f3fb","native":"ð«²ð»"},{"unified":"1faf2-1f3fc","native":"ð«²ð¼"},{"unified":"1faf2-1f3fd","native":"ð«²ð½"},{"unified":"1faf2-1f3fe","native":"ð«²ð¾"},{"unified":"1faf2-1f3ff","native":"ð«²ð¿"}],"version":14},"palm_down_hand":{"id":"palm_down_hand","name":"Palm Down Hand","keywords":["drop"],"skins":[{"unified":"1faf3","native":"ð«³"},{"unified":"1faf3-1f3fb","native":"ð«³ð»"},{"unified":"1faf3-1f3fc","native":"ð«³ð¼"},{"unified":"1faf3-1f3fd","native":"ð«³ð½"},{"unified":"1faf3-1f3fe","native":"ð«³ð¾"},{"unified":"1faf3-1f3ff","native":"ð«³ð¿"}],"version":14},"palm_up_hand":{"id":"palm_up_hand","name":"Palm Up Hand","keywords":["lift","offer","demand"],"skins":[{"unified":"1faf4","native":"ð«´"},{"unified":"1faf4-1f3fb","native":"ð«´ð»"},{"unified":"1faf4-1f3fc","native":"ð«´ð¼"},{"unified":"1faf4-1f3fd","native":"ð«´ð½"},{"unified":"1faf4-1f3fe","native":"ð«´ð¾"},{"unified":"1faf4-1f3ff","native":"ð«´ð¿"}],"version":14},"leftwards_pushing_hand":{"id":"leftwards_pushing_hand","name":"Leftwards Pushing Hand","keywords":["highfive","high","five","pressing","stop"],"skins":[{"unified":"1faf7","native":"ð«·"},{"unified":"1faf7-1f3fb","native":"ð«·ð»"},{"unified":"1faf7-1f3fc","native":"ð«·ð¼"},{"unified":"1faf7-1f3fd","native":"ð«·ð½"},{"unified":"1faf7-1f3fe","native":"ð«·ð¾"},{"unified":"1faf7-1f3ff","native":"ð«·ð¿"}],"version":15},"rightwards_pushing_hand":{"id":"rightwards_pushing_hand","name":"Rightwards Pushing Hand","keywords":["highfive","high","five","pressing","stop"],"skins":[{"unified":"1faf8","native":"ð«¸"},{"unified":"1faf8-1f3fb","native":"ð«¸ð»"},{"unified":"1faf8-1f3fc","native":"ð«¸ð¼"},{"unified":"1faf8-1f3fd","native":"ð«¸ð½"},{"unified":"1faf8-1f3fe","native":"ð«¸ð¾"},{"unified":"1faf8-1f3ff","native":"ð«¸ð¿"}],"version":15},"ok_hand":{"id":"ok_hand","name":"Ok Hand","keywords":["fingers","limbs","perfect","okay"],"skins":[{"unified":"1f44c","native":"ð"},{"unified":"1f44c-1f3fb","native":"ðð»"},{"unified":"1f44c-1f3fc","native":"ðð¼"},{"unified":"1f44c-1f3fd","native":"ðð½"},{"unified":"1f44c-1f3fe","native":"ðð¾"},{"unified":"1f44c-1f3ff","native":"ðð¿"}],"version":1},"pinched_fingers":{"id":"pinched_fingers","name":"Pinched Fingers","keywords":["size","tiny","small"],"skins":[{"unified":"1f90c","native":"ð¤"},{"unified":"1f90c-1f3fb","native":"ð¤ð»"},{"unified":"1f90c-1f3fc","native":"ð¤ð¼"},{"unified":"1f90c-1f3fd","native":"ð¤ð½"},{"unified":"1f90c-1f3fe","native":"ð¤ð¾"},{"unified":"1f90c-1f3ff","native":"ð¤ð¿"}],"version":13},"pinching_hand":{"id":"pinching_hand","name":"Pinching Hand","keywords":["tiny","small","size"],"skins":[{"unified":"1f90f","native":"ð¤"},{"unified":"1f90f-1f3fb","native":"ð¤ð»"},{"unified":"1f90f-1f3fc","native":"ð¤ð¼"},{"unified":"1f90f-1f3fd","native":"ð¤ð½"},{"unified":"1f90f-1f3fe","native":"ð¤ð¾"},{"unified":"1f90f-1f3ff","native":"ð¤ð¿"}],"version":12},"v":{"id":"v","name":"Victory Hand","keywords":["v","fingers","ohyeah","peace","two"],"skins":[{"unified":"270c-fe0f","native":"âï¸"},{"unified":"270c-1f3fb","native":"âð»"},{"unified":"270c-1f3fc","native":"âð¼"},{"unified":"270c-1f3fd","native":"âð½"},{"unified":"270c-1f3fe","native":"âð¾"},{"unified":"270c-1f3ff","native":"âð¿"}],"version":1},"crossed_fingers":{"id":"crossed_fingers","name":"Crossed Fingers","keywords":["hand","with","index","and","middle","good","lucky"],"skins":[{"unified":"1f91e","native":"ð¤"},{"unified":"1f91e-1f3fb","native":"ð¤ð»"},{"unified":"1f91e-1f3fc","native":"ð¤ð¼"},{"unified":"1f91e-1f3fd","native":"ð¤ð½"},{"unified":"1f91e-1f3fe","native":"ð¤ð¾"},{"unified":"1f91e-1f3ff","native":"ð¤ð¿"}],"version":3},"hand_with_index_finger_and_thumb_crossed":{"id":"hand_with_index_finger_and_thumb_crossed","name":"Hand with Index Finger and Thumb Crossed","keywords":["heart","love","money","expensive"],"skins":[{"unified":"1faf0","native":"ð«°"},{"unified":"1faf0-1f3fb","native":"ð«°ð»"},{"unified":"1faf0-1f3fc","native":"ð«°ð¼"},{"unified":"1faf0-1f3fd","native":"ð«°ð½"},{"unified":"1faf0-1f3fe","native":"ð«°ð¾"},{"unified":"1faf0-1f3ff","native":"ð«°ð¿"}],"version":14},"i_love_you_hand_sign":{"id":"i_love_you_hand_sign","name":"Love-You Gesture","keywords":["i","love","you","hand","sign","fingers"],"skins":[{"unified":"1f91f","native":"ð¤"},{"unified":"1f91f-1f3fb","native":"ð¤ð»"},{"unified":"1f91f-1f3fc","native":"ð¤ð¼"},{"unified":"1f91f-1f3fd","native":"ð¤ð½"},{"unified":"1f91f-1f3fe","native":"ð¤ð¾"},{"unified":"1f91f-1f3ff","native":"ð¤ð¿"}],"version":5},"the_horns":{"id":"the_horns","name":"Sign of the Horns","keywords":["hand","fingers","evil","eye","rock","on"],"skins":[{"unified":"1f918","native":"ð¤"},{"unified":"1f918-1f3fb","native":"ð¤ð»"},{"unified":"1f918-1f3fc","native":"ð¤ð¼"},{"unified":"1f918-1f3fd","native":"ð¤ð½"},{"unified":"1f918-1f3fe","native":"ð¤ð¾"},{"unified":"1f918-1f3ff","native":"ð¤ð¿"}],"version":1},"call_me_hand":{"id":"call_me_hand","name":"Call Me Hand","keywords":["hands","gesture","shaka"],"skins":[{"unified":"1f919","native":"ð¤"},{"unified":"1f919-1f3fb","native":"ð¤ð»"},{"unified":"1f919-1f3fc","native":"ð¤ð¼"},{"unified":"1f919-1f3fd","native":"ð¤ð½"},{"unified":"1f919-1f3fe","native":"ð¤ð¾"},{"unified":"1f919-1f3ff","native":"ð¤ð¿"}],"version":3},"point_left":{"id":"point_left","name":"Backhand Index Pointing Left","keywords":["point","direction","fingers","hand"],"skins":[{"unified":"1f448","native":"ð"},{"unified":"1f448-1f3fb","native":"ðð»"},{"unified":"1f448-1f3fc","native":"ðð¼"},{"unified":"1f448-1f3fd","native":"ðð½"},{"unified":"1f448-1f3fe","native":"ðð¾"},{"unified":"1f448-1f3ff","native":"ðð¿"}],"version":1}
244,"point_right":{"id":"point_right","name":"Backhand Index Pointing Right","keywords":["point","fingers","hand","direction"],"skins":[{"unified":"1f449","native":"ð"},{"unified":"1f449-1f3fb","native":"ðð»"},{"unified":"1f449-1f3fc","native":"ðð¼"},{"unified":"1f449-1f3fd","native":"ðð½"},{"unified":"1f449-1f3fe","native":"ðð¾"},{"unified":"1f449-1f3ff","native":"ðð¿"}],"version":1},"point_up_2":{"id":"point_up_2","name":"Backhand Index Pointing Up","keywords":["point","2","fingers","hand","direction"],"skins":[{"unified":"1f446","native":"ð"},{"unified":"1f446-1f3fb","native":"ðð»"},{"unified":"1f446-1f3fc","native":"ðð¼"},{"unified":"1f446-1f3fd","native":"ðð½"},{"unified":"1f446-1f3fe","native":"ðð¾"},{"unified":"1f446-1f3ff","native":"ðð¿"}],"version":1},"middle_finger":{"id":"middle_finger","name":"Middle Finger","keywords":["reversed","hand","with","extended","fingers","rude","flipping"],"skins":[{"unified":"1f595","native":"ð"},{"unified":"1f595-1f3fb","native":"ðð»"},{"unified":"1f595-1f3fc","native":"ðð¼"},{"unified":"1f595-1f3fd","native":"ðð½"},{"unified":"1f595-1f3fe","native":"ðð¾"},{"unified":"1f595-1f3ff","native":"ðð¿"}],"version":1},"point_down":{"id":"point_down","name":"Backhand Index Pointing Down","keywords":["point","fingers","hand","direction"],"skins":[{"unified":"1f447","native":"ð"},{"unified":"1f447-1f3fb","native":"ðð»"},{"unified":"1f447-1f3fc","native":"ðð¼"},{"unified":"1f447-1f3fd","native":"ðð½"},{"unified":"1f447-1f3fe","native":"ðð¾"},{"unified":"1f447-1f3ff","native":"ðð¿"}],"version":1},"point_up":{"id":"point_up","name":"Index Pointing Up","keywords":["point","hand","fingers","direction"],"skins":[{"unified":"261d-fe0f","native":"âï¸"},{"unified":"261d-1f3fb","native":"âð»"},{"unified":"261d-1f3fc","native":"âð¼"},{"unified":"261d-1f3fd","native":"âð½"},{"unified":"261d-1f3fe","native":"âð¾"},{"unified":"261d-1f3ff","native":"âð¿"}],"version":1},"index_pointing_at_the_viewer":{"id":"index_pointing_at_the_viewer","name":"Index Pointing at the Viewer","keywords":["you","recruit"],"skins":[{"unified":"1faf5","native":"ð«µ"},{"unified":"1faf5-1f3fb","native":"ð«µð»"},{"unified":"1faf5-1f3fc","native":"ð«µð¼"},{"unified":"1faf5-1f3fd","native":"ð«µð½"},{"unified":"1faf5-1f3fe","native":"ð«µð¾"},{"unified":"1faf5-1f3ff","native":"ð«µð¿"}],"version":14},"+1":{"id":"+1","name":"Thumbs Up","keywords":["+1","thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],"skins":[{"unified":"1f44d","native":"ð"},{"unified":"1f44d-1f3fb","native":"ðð»"},{"unified":"1f44d-1f3fc","native":"ðð¼"},{"unified":"1f44d-1f3fd","native":"ðð½"},{"unified":"1f44d-1f3fe","native":"ðð¾"},{"unified":"1f44d-1f3ff","native":"ðð¿"}],"version":1},"-1":{"id":"-1","name":"Thumbs Down","keywords":["-1","thumbsdown","no","dislike","hand"],"skins":[{"unified":"1f44e","native":"ð"},{"unified":"1f44e-1f3fb","native":"ðð»"},{"unified":"1f44e-1f3fc","native":"ðð¼"},{"unified":"1f44e-1f3fd","native":"ðð½"},{"unified":"1f44e-1f3fe","native":"ðð¾"},{"unified":"1f44e-1f3ff","native":"ðð¿"}],"version":1},"fist":{"id":"fist","name":"Raised Fist","keywords":["fingers","hand","grasp"],"skins":[{"unified":"270a","native":"â"},{"unified":"270a-1f3fb","native":"âð»"},{"unified":"270a-1f3fc","native":"âð¼"},{"unified":"270a-1f3fd","native":"âð½"},{"unified":"270a-1f3fe","native":"âð¾"},{"unified":"270a-1f3ff","native":"âð¿"}],"version":1},"facepunch":{"id":"facepunch","name":"Oncoming Fist","keywords":["facepunch","punch","angry","violence","hit","attack","hand"],"skins":[{"unified":"1f44a","native":"ð"},{"unified":"1f44a-1f3fb","native":"ðð»"},{"unified":"1f44a-1f3fc","native":"ðð¼"},{"unified":"1f44a-1f3fd","native":"ðð½"},{"unified":"1f44a-1f3fe","native":"ðð¾"},{"unified":"1f44a-1f3ff","native":"ðð¿"}],"version":1},"left-facing_fist":{"id":"left-facing_fist","name":"Left-Facing Fist","keywords":["left","facing","hand","fistbump"],"skins":[{"unified":"1f91b","native":"ð¤"},{"unified":"1f91b-1f3fb","native":"ð¤ð»"},{"unified":"1f91b-1f3fc","native":"ð¤ð¼"},{"unified":"1f91b-1f3fd","native":"ð¤ð½"},{"unified":"1f91b-1f3fe","native":"ð¤ð¾"},{"unified":"1f91b-1f3ff","native":"ð¤ð¿"}],"version":3},"right-facing_fist":{"id":"right-facing_fist","name":"Right-Facing Fist","keywords":["right","facing","hand","fistbump"],"skins":[{"unified":"1f91c","native":"ð¤"},{"unified":"1f91c-1f3fb","native":"ð¤ð»"},{"unified":"1f91c-1f3fc","native":"ð¤ð¼"},{"unified":"1f91c-1f3fd","native":"ð¤ð½"},{"unified":"1f91c-1f3fe","native":"ð¤ð¾"},{"unified":"1f91c-1f3ff","native":"ð¤ð¿"}],"version":3},"clap":{"id":"clap","name":"Clapping Hands","keywords":["clap","praise","applause","congrats","y
244ay"],"skins":[{"unified":"1f44f","native":"ð"},{"unified":"1f44f-1f3fb","native":"ðð»"},{"unified":"1f44f-1f3fc","native":"ðð¼"},{"unified":"1f44f-1f3fd","native":"ðð½"},{"unified":"1f44f-1f3fe","native":"ðð¾"},{"unified":"1f44f-1f3ff","native":"ðð¿"}],"version":1},"raised_hands":{"id":"raised_hands","name":"Raising Hands","keywords":["raised","gesture","hooray","yea","celebration"],"skins":[{"unified":"1f64c","native":"ð"},{"unified":"1f64c-1f3fb","native":"ðð»"},{"unified":"1f64c-1f3fc","native":"ðð¼"},{"unified":"1f64c-1f3fd","native":"ðð½"},{"unified":"1f64c-1f3fe","native":"ðð¾"},{"unified":"1f64c-1f3ff","native":"ðð¿"}],"version":1},"heart_hands":{"id":"heart_hands","name":"Heart Hands","keywords":["love","appreciation","support"],"skins":[{"unified":"1faf6","native":"ð«¶"},{"unified":"1faf6-1f3fb","native":"ð«¶ð»"},{"unified":"1faf6-1f3fc","native":"ð«¶ð¼"},{"unified":"1faf6-1f3fd","native":"ð«¶ð½"},{"unified":"1faf6-1f3fe","native":"ð«¶ð¾"},{"unified":"1faf6-1f3ff","native":"ð«¶ð¿"}],"version":14},"open_hands":{"id":"open_hands","name":"Open Hands","keywords":["fingers","butterfly"],"skins":[{"unified":"1f450","native":"ð"},{"unified":"1f450-1f3fb","native":"ðð»"},{"unified":"1f450-1f3fc","native":"ðð¼"},{"unified":"1f450-1f3fd","native":"ðð½"},{"unified":"1f450-1f3fe","native":"ðð¾"},{"unified":"1f450-1f3ff","native":"ðð¿"}],"version":1},"palms_up_together":{"id":"palms_up_together","name":"Palms Up Together","keywords":["hands","gesture","cupped","prayer"],"skins":[{"unified":"1f932","native":"ð¤²"},{"unified":"1f932-1f3fb","native":"ð¤²ð»"},{"unified":"1f932-1f3fc","native":"ð¤²ð¼"},{"unified":"1f932-1f3fd","native":"ð¤²ð½"},{"unified":"1f932-1f3fe","native":"ð¤²ð¾"},{"unified":"1f932-1f3ff","native":"ð¤²ð¿"}],"version":5},"handshake":{"id":"handshake","name":"Handshake","keywords":["agreement","shake"],"skins":[{"unified":"1f91d","native":"ð¤"},{"unified":"1f91d-1f3fb","native":"ð¤ð»"},{"unified":"1f91d-1f3fc","native":"ð¤ð¼"},{"unified":"1f91d-1f3fd","native":"ð¤ð½"},{"unified":"1f91d-1f3fe","native":"ð¤ð¾"},{"unified":"1f91d-1f3ff","native":"ð¤ð¿"}],"version":3},"pray":{"id":"pray","name":"Folded Hands","keywords":["pray","please","hope","wish","namaste","highfive","high","five","thank","you","thanks","appreciate"],"skins":[{"unified":"1f64f","native":"ð"},{"unified":"1f64f-1f3fb","native":"ðð»"},{"unified":"1f64f-1f3fc","native":"ðð¼"},{"unified":"1f64f-1f3fd","native":"ðð½"},{"unified":"1f64f-1f3fe","native":"ðð¾"},{"unified":"1f64f-1f3ff","native":"ðð¿"}],"version":1},"writing_hand":{"id":"writing_hand","name":"Writing Hand","keywords":["lower","left","ballpoint","pen","stationery","write","compose"],"skins":[{"unified":"270d-fe0f","native":"âï¸"},{"unified":"270d-1f3fb","native":"âð»"},{"unified":"270d-1f3fc","native":"âð¼"},{"unified":"270d-1f3fd","native":"âð½"},{"unified":"270d-1f3fe","native":"âð¾"},{"unified":"270d-1f3ff","native":"âð¿"}],"version":1},"nail_care":{"id":"nail_care","name":"Nail Polish","keywords":["care","beauty","manicure","finger","fashion"],"skins":[{"unified":"1f485","native":"ð
"},{"unified":"1f485-1f3fb","native":"ð
ð»"},{"unified":"1f485-1f3fc","native":"ð
ð¼"},{"unified":"1f485-1f3fd","native":"ð
ð½"},{"unified":"1f485-1f3fe","native":"ð
ð¾"},{"unified":"1f485-1f3ff","native":"ð
ð¿"}],"version":1},"selfie":{"id":"selfie","name":"Selfie","keywords":["camera","phone"],"skins":[{"unified":"1f933","native":"ð¤³"},{"unified":"1f933-1f3fb","native":"ð¤³ð»"},{"unified":"1f933-1f3fc","native":"ð¤³ð¼"},{"unified":"1f933-1f3fd","native":"ð¤³ð½"},{"unified":"1f933-1f3fe","native":"ð¤³ð¾"},{"unified":"1f933-1f3ff","native":"ð¤³ð¿"}],"version":3},"muscle":{"id":"muscle","name":"Flexed Biceps","keywords":["muscle","arm","flex","hand","summer","strong"],"skins":[{"unified":"1f4aa","native":"ðª"},{"unified":"1f4aa-1f3fb","native":"ðªð»"},{"unified":"1f4aa-1f3fc","native":"ðªð¼"},{"unified":"1f4aa-1f3fd","native":"ðªð½"},{"unified":"1f4aa-1f3fe","native":"ðªð¾"},{"unified":"1f4aa-1f3ff","native":"ðªð¿"}],"version":1},"mechanical_arm":{"id":"mechanical_arm","name":"Mechanical Arm","keywords":["accessibility"],"skins":[{"unified":"1f9be","native":"ð¦¾"}],"version":12},"mechanical_leg":{"id":"mechanical_leg","name":"Mechanical Leg","keywords":["accessibility"],"skins":[{"unified":"1f9bf","native":"ð¦¿"}],"version":12},"leg":{"id":"leg","name":"Leg","keywords":["kick","limb"],"skins":[{"unified":"1f9b5","native":"ð¦µ"},{"unified":"1f9b5-1f3fb","native":"ð¦µð»"},{"unified":"1f9b5-1f3fc","native":"ð¦µð¼"},{"unified":"1f9b5-1f3fd","native":"ð¦µð½"},{"unified":"1f9b5-1f3fe","native":"ð¦µð¾"},{"unified":"1f9b5-1f3ff","native":"ð¦µð¿"}],"version":11},"foot":{"id":"foot","name":"Foot","keywords":["kick","stomp"],"skins":[{"unified":"1f9b6","native":"ð¦¶"},{"unified":"1f9b6-1f3fb","native":"ð¦¶ð»"},{"unified":"1f9b6-1f3fc","native":"ð¦¶ð¼"},{"unified":"1f9b6-1f3fd","native":"ð¦¶ð½"},{"unified":"1f9b6-1f3fe","native":"ð¦¶ð¾"},{"unified":"1f9b6-1f3ff","native":"ð¦¶ð¿"}],"version":11},"ear":{"id":"ear","name":"Ear","keywords":["face","hear","sound","listen"],"skins":[{"unified":"1f442","native":"ð"},{"unified":"1f442-1f3fb","native":"ðð»"},{"unified":"1f442-1f3fc","native":"ðð¼"},{"unified":"1f442-1f3fd","native":"ðð½"},{"unified":"1f442-1f3fe","native":"ðð¾"},{"unified":"1f442-1f3ff","native":"ðð¿"}],"version":1},"ear_with_hearing_aid":{"id":"ear_with_hearing_aid","name":"Ear with Hearing Aid","keywords":["accessibility"],"skins":[{"unified":"1f9bb","native":"ð¦»"},{"unified":"1f9bb-1f3fb","native":"ð¦»ð»"},{"unified":"1f9bb-1f3fc","native":"ð¦»ð¼"},{"unified":"1f9bb-1f3fd","native":"ð¦»ð½"},{"unified":"1f9bb-1f3fe","native":"ð¦»ð¾"},{"unified":"1f9bb-1f3ff","native":"ð¦»ð¿"}],"version":12},"nose":{"id":"nose","name":"Nose","keywords":["smell","sniff"],"skins":[{"unified":"1f443","native":"ð"},{"unified":"1f443-1f3fb","native":"ðð»"},{"unified":"1f443-1f3fc","native":"ðð¼"},{"unified":"1f443-1f3fd","native":"ðð½"},{"unified":"1f443-1f3fe","native":"ðð¾"},{"unified":"1f443-1f3ff","native":"ðð¿"}],"version":1}
244,"brain":{"id":"brain","name":"Brain","keywords":["smart","intelligent"],"skins":[{"unified":"1f9e0","native":"ð§ "}],"version":5},"anatomical_heart":{"id":"anatomical_heart","name":"Anatomical Heart","keywords":["health","heartbeat"],"skins":[{"unified":"1fac0","native":"ð«"}],"version":13},"lungs":{"id":"lungs","name":"Lungs","keywords":["breathe"],"skins":[{"unified":"1fac1","native":"ð«"}],"version":13},"tooth":{"id":"tooth","name":"Tooth","keywords":["teeth","dentist"],"skins":[{"unified":"1f9b7","native":"ð¦·"}],"version":11},"bone":{"id":"bone","name":"Bone","keywords":["skeleton"],"skins":[{"unified":"1f9b4","native":"ð¦´"}],"version":11},"eyes":{"id":"eyes","name":"Eyes","keywords":["look","watch","stalk","peek","see"],"skins":[{"unified":"1f440","native":"ð"}],"version":1},"eye":{"id":"eye","name":"Eye","keywords":["face","look","see","watch","stare"],"skins":[{"unified":"1f441-fe0f","native":"ðï¸"}],"version":1},"tongue":{"id":"tongue","name":"Tongue","keywords":["mouth","playful"],"skins":[{"unified":"1f445","native":"ð
"}],"version":1},"lips":{"id":"lips","name":"Mouth","keywords":["lips","kiss"],"skins":[{"unified":"1f444","native":"ð"}],"version":1},"biting_lip":{"id":"biting_lip","name":"Biting Lip","keywords":["flirt","sexy","pain","worry"],"skins":[{"unified":"1fae6","native":"ð«¦"}],"version":14},"baby":{"id":"baby","name":"Baby","keywords":["child","boy","girl","toddler"],"skins":[{"unified":"1f476","native":"ð¶"},{"unified":"1f476-1f3fb","native":"ð¶ð»"},{"unified":"1f476-1f3fc","native":"ð¶ð¼"},{"unified":"1f476-1f3fd","native":"ð¶ð½"},{"unified":"1f476-1f3fe","native":"ð¶ð¾"},{"unified":"1f476-1f3ff","native":"ð¶ð¿"}],"version":1},"child":{"id":"child","name":"Child","keywords":["gender","neutral","young"],"skins":[{"unified":"1f9d2","native":"ð§"},{"unified":"1f9d2-1f3fb","native":"ð§ð»"},{"unified":"1f9d2-1f3fc","native":"ð§ð¼"},{"unified":"1f9d2-1f3fd","native":"ð§ð½"},{"unified":"1f9d2-1f3fe","native":"ð§ð¾"},{"unified":"1f9d2-1f3ff","native":"ð§ð¿"}],"version":5},"boy":{"id":"boy","name":"Boy","keywords":["man","male","guy","teenager"],"skins":[{"unified":"1f466","native":"ð¦"},{"unified":"1f466-1f3fb","native":"ð¦ð»"},{"unified":"1f466-1f3fc","native":"ð¦ð¼"},{"unified":"1f466-1f3fd","native":"ð¦ð½"},{"unified":"1f466-1f3fe","native":"ð¦ð¾"},{"unified":"1f466-1f3ff","native":"ð¦ð¿"}],"version":1},"girl":{"id":"girl","name":"Girl","keywords":["female","woman","teenager"],"skins":[{"unified":"1f467","native":"ð§"},{"unified":"1f467-1f3fb","native":"ð§ð»"},{"unified":"1f467-1f3fc","native":"ð§ð¼"},{"unified":"1f467-1f3fd","native":"ð§ð½"},{"unified":"1f467-1f3fe","native":"ð§ð¾"},{"unified":"1f467-1f3ff","native":"ð§ð¿"}],"version":1},"adult":{"id":"adult","name":"Adult","keywords":["person","gender","neutral"],"skins":[{"unified":"1f9d1","native":"ð§"},{"unified":"1f9d1-1f3fb","native":"ð§ð»"},{"unified":"1f9d1-1f3fc","native":"ð§ð¼"},{"unified":"1f9d1-1f3fd","native":"ð§ð½"},{"unified":"1f9d1-1f3fe","native":"ð§ð¾"},{"unified":"1f9d1-1f3ff","native":"ð§ð¿"}],"version":5},"person_with_blond_hair":{"id":"person_with_blond_hair","name":"Person Blond Hair","keywords":["with","hairstyle"],"skins":[{"unified":"1f471","native":"ð±"},{"unified":"1f471-1f3fb","native":"ð±ð»"},{"unified":"1f471-1f3fc","native":"ð±ð¼"},{"unified":"1f471-1f3fd","native":"ð±ð½"},{"unified":"1f471-1f3fe","native":"ð±ð¾"},{"unified":"1f471-1f3ff","native":"ð±ð¿"}],"version":1},"man":{"id":"man","name":"Man","keywords":["mustache","father","dad","guy","classy","sir","moustache"],"skins":[{"unified":"1f468","native":"ð¨"},{"unified":"1f468-1f3fb","native":"ð¨ð»"},{"unified":"1f468-1f3fc","native":"ð¨ð¼"},{"unified":"1f468-1f3fd","native":"ð¨ð½"},{"unified":"1f468-1f3fe","native":"ð¨ð¾"},{"unified":"1f468-1f3ff","native":"ð¨ð¿"}],"version":1},"bearded_person":{"id":"bearded_person","name":"Person Beard","keywords":["bearded","man","bewhiskered"],"skins":[{"unified":"1f9d4","native":"ð§"},{"unified":"1f9d4-1f3fb","native":"ð§ð»"},{"unified":"1f9d4-1f3fc","native":"ð§ð¼"},{"unified":"1f9d4-1f3fd","native":"ð§ð½"},{"unified":"1f9d4-1f3fe","native":"ð§ð¾"},{"unified":"1f9d4-1f3ff","native":"ð§ð¿"}],"version":5},"man_with_beard":{"id":"man_with_beard","name":"Man: Beard","keywords":["man","with","facial","hair"],"skins":[{"unified":"1f9d4-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9d4-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d4-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d4-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d4-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d4-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":13.1},"woman_with_beard":{"id":"woman_with_beard","name":"Woman: Beard","keywords":["woman","with","facial","hair"],"skins":[{"unified":"1f9d4-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9d4-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d4-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d4-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d4-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d4-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":13.1},"red_haired_man":{"id":"red_haired_man","name":"Man: Red Hair","keywords":["haired","man","hairstyle"],"skins":[{"unified":"1f468-200d-1f9b0","native":"ð¨âð¦°"},{"unified":"1f468-1f3fb-200d-1f9b0","native":"ð¨ð»âð¦°"},{"unified":"1f468-1f3fc-200d-1f9b0","native":"ð¨ð¼âð¦°"},{"unified":"1f468-1f3fd-200d-1f9b0","native":"ð¨ð½âð¦°"},{"unified":"1f468-1f3fe-200d-1f9b0","native":"ð¨ð¾âð¦°"},{"unified":"1f468-1f3ff-200d-1f9b0","native":"ð¨ð¿âð¦°"}],"version":11},"curly_haired_man":{"id":"curly_haired_man","name":"Man: Curly Hair","keywords":["haired","man","hairstyle"],"skins":[{"unified":"1f468-200d-1f9b1","native":"ð¨âð¦±"},{"unified":"1f468-1f3fb-200d-1f9b1","native":"ð¨ð»âð¦±"},{"unified":"1f468-1f3fc-200d-1f9b1","native":"ð¨ð¼âð¦±"},{"unified":"1f468-1f3fd-200d-1f9b1","native":"ð¨ð½âð¦±"},{"unified":"1f468-1f3fe-200d-1f9b1","native":"ð¨ð¾âð¦±"},{"unified":"1f468-1f3ff-200d-1f9b1","native":"ð¨ð¿âð¦±"}],"version":11},"white_haired_man":{"id":"white_haired_man","name":"Man: White Hair","keywords":["haired","man","old","elder"],"skins":[{"unified":"1f468-200d-1f9b3","native":"ð¨âð¦³"},{"unified":"1f468-1f3fb-200d-1f9b3","native":"ð¨ð»âð¦³"},{"unified":"1f468-1f3fc-200d-1f9b3","native":"ð¨ð¼âð¦³"},{"unified":"1f468-1f3fd-200d-1f9b3","native":"ð¨ð½âð¦³"},{"unified":"1f468-1f3fe-200d-1f9b3","native":"ð¨ð¾âð¦³"},{"unified":"1f468-1f3ff-200d-1f9b3","native":"ð¨ð¿âð¦³"}],"version":11},"bald_man":{"id":"bald_man","name":"Man: Bald","keywords":["man","hairless"],"skins":[{"unified":"1f468-200d-1f9b2","native":"ð¨âð¦²"},{"unified":"1f468-1f3fb-200d-1f9b2","native":"ð¨ð»âð¦²"},{"unified":"1f468-1f3fc-200d-1f9b2","native":"ð¨ð¼âð¦²"},{"unified":"1f468-1f3fd-200d-1f9b2","native":"ð¨ð½âð¦²"},{"unified":"1f468-1f3fe-200d-1f9b2","native":"ð¨ð¾âð¦²"},{"unified":"1f468-1f3ff-200d-1f9b2","native":"ð¨ð¿âð¦²"}],"version":11},"woman":{"id":"woman","name":"Woman","keywords":["female","girls","lady"],"skins":[{"unified":"1f469","native":"ð©"},{"unified":"1f469-1f3fb","native":"ð©ð»"},{"unified":"1f469-1f3fc","native":"ð©ð¼"},{"unified":"1f469-1f3fd","native":"ð©ð½"},{"unified":"1f469-1f3fe","native":"ð©ð¾"},{"unified":"1f469-1f3ff","native":"ð©ð¿"}],"version":1},"red_haired_woman":{"id":"red_haired_woman","name":"Woman: Red Hair","keywords":["haired","woman","hairstyle"],"skins":[{"unified":"1f469-200d-1f9b0","native":"ð©âð¦°"},{"unified":"1f469-1f3fb-200d-1f9b0","native":"ð©ð»âð¦°"},{"unified":"1f469-1f3fc-200d-1f9b0","native":"ð©ð¼âð¦°"},{"unified":"1f469-1f3fd-200d-1f9b0","native":"ð©ð½âð¦°"},{"unified":"1f469-1f3fe-200d-1f9b0","native":"ð©ð¾âð¦°"},{"unified":"1f469-1f3ff-200d-1f9b0","native":"ð©ð¿âð¦°"}],"version":11},"red_haired_person":{"id":"red_haired_person","name":"Person: Red Hair","keywords":["haired","person","hairstyle"],"skins":[{"unified":"1f9d1-200d-1f9b0","native":"ð§âð¦°"},{"unified":"1f9d1-1f3fb-200d-1f9b0","native":"ð§ð»âð¦°"},{"unified":"1f9d1-1f3fc-200d-1f9b0","native":"ð§ð¼âð¦°"},{"unified":"1f9d1-1f3fd-200d-1f9b0","native":"ð§ð½âð¦°"},{"unified":"1f9d1-1f3fe-200d-1f9b0","native":"ð§ð¾âð¦°"},{"unified":"1f9d1-1f3ff-200d-1f9b0","native":"ð§ð¿âð¦°"}],"version":12.1},"curly_haired_woman":{"id":"curly_haired_woman","name":"Woman: Curly Hair","keywords":["haired","woman","hairstyle"],"skins":[{"unified":"1f469-200d-1f9b1","native":"ð©âð¦±"},{"unified":"1f469-1f3fb-200d-1f9b1","native":"ð©ð»âð¦±"},{"unified":"1f469-1f3fc-200d-1f9b1","native":"ð©ð¼âð¦±"},{"unified":"1f469-1f3fd-200d-1f9b1","native":"ð©ð½âð¦±"},{"unified":"1f469-1f3fe-200d-1f9b1","native":"ð©ð¾âð¦±"},{"unified":"1f469-1f3ff-200d-1f9b1","native":"ð©ð¿âð¦±"}],"version":11},"curly_haired_person":{"id":"curly_haired_person","name":"Person: Curly Hair","keywords":["haired","person","hairstyle"],"skins":[{"unified":"1f9d1-200d-1f9b1","native":"ð§âð¦±"},{"unified":"1f9d1-1f3fb-200d-1f9b1","native":"ð§ð»âð¦±"},{"unified":"1f9d1-1f3fc-200d-1f9b1","native":"ð§ð¼âð¦±"},{"unified":"1f9d1-1f3fd-200d-1f9b1","native":"ð§ð½âð¦±"},{"unified":"1f9d1-1f3fe-200d-1f9b1","native":"ð§ð¾âð¦±"},{"unified":"1f9d1-1f3ff-200d-1f9b1","native":"ð§ð¿âð¦±"}],"version":12.1},"white_haired_woman":{"id":"white_haired_woman","name":"Woman: White Hair","keywords":["haired","woman","old","elder"],"skins":[{"unified":"1f469-200d-1f9b3","native":"ð©âð¦³"},{"unified":"1f469-1f3fb-200d-1f9b3","native":"ð©ð»âð¦³"},{"unified":"1f469-1f3fc-200d-1f9b3","native":"ð©ð¼âð¦³"},{"unified":"1f469-1f3fd-200d-1f9b3","native":"ð©ð½âð¦³"},{"unified":"1f469-1f3fe-200d-1f9b3","native":"ð©ð¾âð¦³"},{"unified":"1f469-1f3ff-200d-1f9b3","native":"ð©ð¿âð¦³"}],"version":11},"white_haired_person":{"id":"white_haired_person","name":"Person: White Hair","keywords":["haired","person","elder","old"],"skins":[{"unified":"1f9d1-200d-1f9b3","native":"ð§âð¦³"},{"unified":"1f9d1-1f3fb-200d-1f9b3","native":"ð§ð»âð¦³"},{"unified":"1f9d1-1f3fc-200d-1f9b3","native":"ð§ð¼âð¦³"},{"unified":"1f9d1-1f3fd-200d-1f9b3","native":"ð§ð½âð¦³"},{"unified":"1f9d1-1f3fe-200d-1f9b3","native":"ð§ð¾âð¦³"},{"unified":"1f9d1-1f3ff-200d-1f9b3","native":"ð§ð¿âð¦³"}],"version":12.1},"bald_woman":{"id":"bald_woman","name":"Woman: Bald","keywords":["woman","hairless"],"skins":[{"unified":"1f469-200d-1f9b2","native":"ð©âð¦²"},{"unified":"1f469-1f3fb-200d-1f9b2","native":"ð©ð»âð¦²"},{"unified":"1f469-1f3fc-200d-1f9b2","native":"ð©ð¼âð¦²"},{"unified":"1f469-1f3fd-200d-1f9b2","native":"ð©ð½âð¦²"},{"unified":"1f469-1f3fe-200d-1f9b2","native":"ð©ð¾âð¦²"},{"unified":"1f469-1f3ff-200d-1f9b2","native":"ð©ð¿âð¦²"}],"version":11},"bald_person":{"id":"bald_person","name":"Person: Bald","keywords":["person","hairless"],"skins":[{"unified":"1f9d1-200d-1f9b2","native":"ð§âð¦²"},{"unified":"1f9d1-1f3fb-200d-1f9b2","native":"ð§ð»âð¦²"},{"unified":"1f9d1-1f3fc-200d-1f9b2","native":"ð§ð¼âð¦²"},{"unified":"1f9d1-1f3fd-200d-1f9b2","native":"ð§ð½âð¦²"},{"unified":"1f9d1-1f3fe-200d-1f9b2","native":"ð§ð¾âð¦²"},{"unified":"1f9d1-1f3ff-200d-1f9b2","native":"ð§ð¿âð¦²"}],"version":12.1},"blond-haired-woman":{"id":"blond-haired-woman","name":"Woman: Blond Hair","keywords":["haired-woman","woman","female","girl","blonde","person"],"skins":[{"unified":"1f471-200d-2640-fe0f","native":"ð±ââï¸"},{"unified":"1f471-1f3fb-200d-2640-fe0f","native":"ð±ð»ââï¸"},{"unified":"1f471-1f3fc-200d-2640-fe0f","native":"ð±ð¼ââï¸"},{"unified":"1f471-1f3fd-200d-2640-fe0f","native":"ð±ð½ââï¸"},{"unified":"1f471-1f3fe-200d-2640-fe0f","native":"ð±ð¾ââï¸"},{"unified":"1f471-1f3ff-200d-2640-fe0f","native":"ð±ð¿ââï¸"}],"version":4}
244,"blond-haired-man":{"id":"blond-haired-man","name":"Man: Blond Hair","keywords":["haired-man","man","male","boy","blonde","guy","person"],"skins":[{"unified":"1f471-200d-2642-fe0f","native":"ð±ââï¸"},{"unified":"1f471-1f3fb-200d-2642-fe0f","native":"ð±ð»ââï¸"},{"unified":"1f471-1f3fc-200d-2642-fe0f","native":"ð±ð¼ââï¸"},{"unified":"1f471-1f3fd-200d-2642-fe0f","native":"ð±ð½ââï¸"},{"unified":"1f471-1f3fe-200d-2642-fe0f","native":"ð±ð¾ââï¸"},{"unified":"1f471-1f3ff-200d-2642-fe0f","native":"ð±ð¿ââï¸"}],"version":4},"older_adult":{"id":"older_adult","name":"Older Adult","keywords":["person","human","elder","senior","gender","neutral"],"skins":[{"unified":"1f9d3","native":"ð§"},{"unified":"1f9d3-1f3fb","native":"ð§ð»"},{"unified":"1f9d3-1f3fc","native":"ð§ð¼"},{"unified":"1f9d3-1f3fd","native":"ð§ð½"},{"unified":"1f9d3-1f3fe","native":"ð§ð¾"},{"unified":"1f9d3-1f3ff","native":"ð§ð¿"}],"version":5},"older_man":{"id":"older_man","name":"Old Man","keywords":["older","human","male","men","elder","senior"],"skins":[{"unified":"1f474","native":"ð´"},{"unified":"1f474-1f3fb","native":"ð´ð»"},{"unified":"1f474-1f3fc","native":"ð´ð¼"},{"unified":"1f474-1f3fd","native":"ð´ð½"},{"unified":"1f474-1f3fe","native":"ð´ð¾"},{"unified":"1f474-1f3ff","native":"ð´ð¿"}],"version":1},"older_woman":{"id":"older_woman","name":"Old Woman","keywords":["older","human","female","women","lady","elder","senior"],"skins":[{"unified":"1f475","native":"ðµ"},{"unified":"1f475-1f3fb","native":"ðµð»"},{"unified":"1f475-1f3fc","native":"ðµð¼"},{"unified":"1f475-1f3fd","native":"ðµð½"},{"unified":"1f475-1f3fe","native":"ðµð¾"},{"unified":"1f475-1f3ff","native":"ðµð¿"}],"version":1},"person_frowning":{"id":"person_frowning","name":"Person Frowning","keywords":["worried"],"skins":[{"unified":"1f64d","native":"ð"},{"unified":"1f64d-1f3fb","native":"ðð»"},{"unified":"1f64d-1f3fc","native":"ðð¼"},{"unified":"1f64d-1f3fd","native":"ðð½"},{"unified":"1f64d-1f3fe","native":"ðð¾"},{"unified":"1f64d-1f3ff","native":"ðð¿"}],"version":1},"man-frowning":{"id":"man-frowning","name":"Man Frowning","keywords":["male","boy","sad","depressed","discouraged","unhappy"],"skins":[{"unified":"1f64d-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f64d-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f64d-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f64d-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f64d-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f64d-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-frowning":{"id":"woman-frowning","name":"Woman Frowning","keywords":["female","girl","sad","depressed","discouraged","unhappy"],"skins":[{"unified":"1f64d-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f64d-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f64d-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f64d-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f64d-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f64d-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"person_with_pouting_face":{"id":"person_with_pouting_face","name":"Person Pouting","keywords":["with","face","upset"],"skins":[{"unified":"1f64e","native":"ð"},{"unified":"1f64e-1f3fb","native":"ðð»"},{"unified":"1f64e-1f3fc","native":"ðð¼"},{"unified":"1f64e-1f3fd","native":"ðð½"},{"unified":"1f64e-1f3fe","native":"ðð¾"},{"unified":"1f64e-1f3ff","native":"ðð¿"}],"version":1},"man-pouting":{"id":"man-pouting","name":"Man Pouting","keywords":["male","boy"],"skins":[{"unified":"1f64e-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f64e-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f64e-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f64e-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f64e-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f64e-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4}
244,"woman-pouting":{"id":"woman-pouting","name":"Woman Pouting","keywords":["female","girl"],"skins":[{"unified":"1f64e-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f64e-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f64e-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f64e-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f64e-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f64e-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"no_good":{"id":"no_good","name":"Person Gesturing No","keywords":["good","decline"],"skins":[{"unified":"1f645","native":"ð
"},{"unified":"1f645-1f3fb","native":"ð
ð»"},{"unified":"1f645-1f3fc","native":"ð
ð¼"},{"unified":"1f645-1f3fd","native":"ð
ð½"},{"unified":"1f645-1f3fe","native":"ð
ð¾"},{"unified":"1f645-1f3ff","native":"ð
ð¿"}],"version":1},"man-gesturing-no":{"id":"man-gesturing-no","name":"Man Gesturing No","keywords":["gesturing-no","male","boy","nope"],"skins":[{"unified":"1f645-200d-2642-fe0f","native":"ð
ââï¸"},{"unified":"1f645-1f3fb-200d-2642-fe0f","native":"ð
ð»ââï¸"},{"unified":"1f645-1f3fc-200d-2642-fe0f","native":"ð
ð¼ââï¸"},{"unified":"1f645-1f3fd-200d-2642-fe0f","native":"ð
ð½ââï¸"},{"unified":"1f645-1f3fe-200d-2642-fe0f","native":"ð
ð¾ââï¸"},{"unified":"1f645-1f3ff-200d-2642-fe0f","native":"ð
ð¿ââï¸"}],"version":4},"woman-gesturing-no":{"id":"woman-gesturing-no","name":"Woman Gesturing No","keywords":["gesturing-no","female","girl","nope"],"skins":[{"unified":"1f645-200d-2640-fe0f","native":"ð
ââï¸"},{"unified":"1f645-1f3fb-200d-2640-fe0f","native":"ð
ð»ââï¸"},{"unified":"1f645-1f3fc-200d-2640-fe0f","native":"ð
ð¼ââï¸"},{"unified":"1f645-1f3fd-200d-2640-fe0f","native":"ð
ð½ââï¸"},{"unified":"1f645-1f3fe-200d-2640-fe0f","native":"ð
ð¾ââï¸"},{"unified":"1f645-1f3ff-200d-2640-fe0f","native":"ð
ð¿ââï¸"}],"version":4},"ok_woman":{"id":"ok_woman","name":"Person Gesturing Ok","keywords":["woman","agree"],"skins":[{"unified":"1f646","native":"ð"},{"unified":"1f646-1f3fb","native":"ðð»"},{"unified":"1f646-1f3fc","native":"ðð¼"},{"unified":"1f646-1f3fd","native":"ðð½"},{"unified":"1f646-1f3fe","native":"ðð¾"},{"unified":"1f646-1f3ff","native":"ðð¿"}],"version":1},"man-gesturing-ok":{"id":"man-gesturing-ok","name":"Man Gesturing Ok","keywords":["gesturing-ok","men","boy","male","blue","human"],"skins":[{"unified":"1f646-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f646-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f646-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f646-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f646-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f646-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-gesturing-ok":{"id":"woman-gesturing-ok","name":"Woman Gesturing Ok","keywords":["gesturing-ok","women","girl","female","pink","human"],"skins":[{"unified":"1f646-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f646-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f646-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f646-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f646-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f646-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"information_desk_person":{"id":"information_desk_person","name":"Person Tipping Hand","keywords":["information","desk"],"skins":[{"unified":"1f481","native":"ð"},{"unified":"1f481-1f3fb","native":"ðð»"},{"unified":"1f481-1f3fc","native":"ðð¼"},{"unified":"1f481-1f3fd","native":"ðð½"},{"unified":"1f481-1f3fe","native":"ðð¾"},{"unified":"1f481-1f3ff","native":"ðð¿"}],"version":1},"man-tipping-hand":{"id":"man-tipping-hand","name":"Man Tipping Hand","keywords":["tipping-hand","male","boy","human","information"],"skins":[{"unified":"1f481-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f481-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f481-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f481-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f481-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f481-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-tipping-hand":{"id":"woman-tipping-hand","name":"Woman Tipping Hand","keywords":["tipping-hand","female","girl","human","information"],"skins":[{"unified":"1f481-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f481-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f481-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f481-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f481-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f481-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"raising_hand":{"id":"raising_hand","name":"Person Raising Hand","keywords":["question"],"skins":[{"unified":"1f64b","native":"ð"},{"unified":"1f64b-1f3fb","native":"ðð»"},{"unified":"1f64b-1f3fc","native":"ðð¼"},{"unified":"1f64b-1f3fd","native":"ðð½"},{"unified":"1f64b-1f3fe","native":"ðð¾"},{"unified":"1f64b-1f3ff","native":"ðð¿"}],"version":1},"man-raising-hand":{"id":"man-raising-hand","name":"Man Raising Hand","keywords":["raising-hand","male","boy"],"skins":[{"unified":"1f64b-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f64b-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f64b-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f64b-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f64b-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f64b-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-raising-hand":{"id":"woman-raising-hand","name":"Woman Raising Hand","keywords":["raising-hand","female","girl"],"skins":[{"unified":"1f64b-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f64b-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f64b-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f64b-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f64b-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f64b-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"deaf_person":{"id":"deaf_person","name":"Deaf Person","keywords":["accessibility"],"skins":[{"unified":"1f9cf","native":"ð§"},{"unified":"1f9cf-1f3fb","native":"ð§ð»"},{"unified":"1f9cf-1f3fc","native":"ð§ð¼"},{"unified":"1f9cf-1f3fd","native":"ð§ð½"},{"unified":"1f9cf-1f3fe","native":"ð§ð¾"},{"unified":"1f9cf-1f3ff","native":"ð§ð¿"}],"version":12},"deaf_man":{"id":"deaf_man","name":"Deaf Man","keywords":["accessibility"],"skins":[{"unified":"1f9cf-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9cf-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9cf-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9cf-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9cf-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9cf-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":12},"deaf_woman":{"id":"deaf_woman","name":"Deaf Woman","keywords":["accessibility"],"skins":[{"unified":"1f9cf-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9cf-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9cf-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9cf-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9cf-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9cf-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":12}
244,"bow":{"id":"bow","name":"Person Bowing","keywords":["bow","respectiful"],"skins":[{"unified":"1f647","native":"ð"},{"unified":"1f647-1f3fb","native":"ðð»"},{"unified":"1f647-1f3fc","native":"ðð¼"},{"unified":"1f647-1f3fd","native":"ðð½"},{"unified":"1f647-1f3fe","native":"ðð¾"},{"unified":"1f647-1f3ff","native":"ðð¿"}],"version":1},"man-bowing":{"id":"man-bowing","name":"Man Bowing","keywords":["male","boy"],"skins":[{"unified":"1f647-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f647-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f647-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f647-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f647-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f647-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-bowing":{"id":"woman-bowing","name":"Woman Bowing","keywords":["female","girl"],"skins":[{"unified":"1f647-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f647-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f647-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f647-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f647-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f647-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"face_palm":{"id":"face_palm","name":"Face Palm","keywords":["person","facepalming","disappointed"],"skins":[{"unified":"1f926","native":"ð¤¦"},{"unified":"1f926-1f3fb","native":"ð¤¦ð»"},{"unified":"1f926-1f3fc","native":"ð¤¦ð¼"},{"unified":"1f926-1f3fd","native":"ð¤¦ð½"},{"unified":"1f926-1f3fe","native":"ð¤¦ð¾"},{"unified":"1f926-1f3ff","native":"ð¤¦ð¿"}],"version":3}
244,"man-facepalming":{"id":"man-facepalming","name":"Man Facepalming","keywords":["male","boy","disbelief"],"skins":[{"unified":"1f926-200d-2642-fe0f","native":"ð¤¦ââï¸"},{"unified":"1f926-1f3fb-200d-2642-fe0f","native":"ð¤¦ð»ââï¸"},{"unified":"1f926-1f3fc-200d-2642-fe0f","native":"ð¤¦ð¼ââï¸"},{"unified":"1f926-1f3fd-200d-2642-fe0f","native":"ð¤¦ð½ââï¸"},{"unified":"1f926-1f3fe-200d-2642-fe0f","native":"ð¤¦ð¾ââï¸"},{"unified":"1f926-1f3ff-200d-2642-fe0f","native":"ð¤¦ð¿ââï¸"}],"version":4},"woman-facepalming":{"id":"woman-facepalming","name":"Woman Facepalming","keywords":["female","girl","disbelief"],"skins":[{"unified":"1f926-200d-2640-fe0f","native":"ð¤¦ââï¸"},{"unified":"1f926-1f3fb-200d-2640-fe0f","native":"ð¤¦ð»ââï¸"},{"unified":"1f926-1f3fc-200d-2640-fe0f","native":"ð¤¦ð¼ââï¸"},{"unified":"1f926-1f3fd-200d-2640-fe0f","native":"ð¤¦ð½ââï¸"},{"unified":"1f926-1f3fe-200d-2640-fe0f","native":"ð¤¦ð¾ââï¸"},{"unified":"1f926-1f3ff-200d-2640-fe0f","native":"ð¤¦ð¿ââï¸"}],"version":4},"shrug":{"id":"shrug","name":"Shrug","keywords":["person","shrugging","regardless"],"skins":[{"unified":"1f937","native":"ð¤·"},{"unified":"1f937-1f3fb","native":"ð¤·ð»"},{"unified":"1f937-1f3fc","native":"ð¤·ð¼"},{"unified":"1f937-1f3fd","native":"ð¤·ð½"},{"unified":"1f937-1f3fe","native":"ð¤·ð¾"},{"unified":"1f937-1f3ff","native":"ð¤·ð¿"}],"version":3},"man-shrugging":{"id":"man-shrugging","name":"Man Shrugging","keywords":["male","boy","confused","indifferent","doubt"],"skins":[{"unified":"1f937-200d-2642-fe0f","native":"ð¤·ââï¸"},{"unified":"1f937-1f3fb-200d-2642-fe0f","native":"ð¤·ð»ââï¸"},{"unified":"1f937-1f3fc-200d-2642-fe0f","native":"ð¤·ð¼ââï¸"},{"unified":"1f937-1f3fd-200d-2642-fe0f","native":"ð¤·ð½ââï¸"},{"unified":"1f937-1f3fe-200d-2642-fe0f","native":"ð¤·ð¾ââï¸"},{"unified":"1f937-1f3ff-200d-2642-fe0f","native":"ð¤·ð¿ââï¸"}],"version":4},"woman-shrugging":{"id":"woman-shrugging","name":"Woman Shrugging","keywords":["female","girl","confused","indifferent","doubt"],"skins":[{"unified":"1f937-200d-2640-fe0f","native":"ð¤·ââï¸"},{"unified":"1f937-1f3fb-200d-2640-fe0f","native":"ð¤·ð»ââï¸"},{"unified":"1f937-1f3fc-200d-2640-fe0f","native":"ð¤·ð¼ââï¸"},{"unified":"1f937-1f3fd-200d-2640-fe0f","native":"ð¤·ð½ââï¸"},{"unified":"1f937-1f3fe-200d-2640-fe0f","native":"ð¤·ð¾ââï¸"},{"unified":"1f937-1f3ff-200d-2640-fe0f","native":"ð¤·ð¿ââï¸"}],"version":4},"health_worker":{"id":"health_worker","name":"Health Worker","keywords":["hospital"],"skins":[{"unified":"1f9d1-200d-2695-fe0f","native":"ð§ââï¸"},{"unified":"1f9d1-1f3fb-200d-2695-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d1-1f3fc-200d-2695-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d1-1f3fd-200d-2695-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d1-1f3fe-200d-2695-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d1-1f3ff-200d-2695-fe0f","native":"ð§ð¿ââï¸"}],"version":12.1},"male-doctor":{"id":"male-doctor","name":"Man Health Worker","keywords":["male","doctor","nurse","therapist","healthcare","human"],"skins":[{"unified":"1f468-200d-2695-fe0f","native":"ð¨ââï¸"},{"unified":"1f468-1f3fb-200d-2695-fe0f","native":"ð¨ð»ââï¸"},{"unified":"1f468-1f3fc-200d-2695-fe0f","native":"ð¨ð¼ââï¸"},{"unified":"1f468-1f3fd-200d-2695-fe0f","native":"ð¨ð½ââï¸"},{"unified":"1f468-1f3fe-200d-2695-fe0f","native":"ð¨ð¾ââï¸"},{"unified":"1f468-1f3ff-200d-2695-fe0f","native":"ð¨ð¿ââï¸"}],"version":4},"female-doctor":{"id":"female-doctor","name":"Woman Health Worker","keywords":["female","doctor","nurse","therapist","healthcare","human"],"skins":[{"unified":"1f469-200d-2695-fe0f","native":"ð©ââï¸"},{"unified":"1f469-1f3fb-200d-2695-fe0f","native":"ð©ð»ââï¸"},{"unified":"1f469-1f3fc-200d-2695-fe0f","native":"ð©ð¼ââï¸"},{"unified":"1f469-1f3fd-200d-2695-fe0f","native":"ð©ð½ââï¸"},{"unified":"1f469-1f3fe-200d-2695-fe0f","native":"ð©ð¾ââï¸"},{"unified":"1f469-1f3ff-200d-2695-fe0f","native":"ð©ð¿ââï¸"}],"version":4},"student":{"id":"student","name":"Student","keywords":["learn"],"skins":[{"unified":"1f9d1-200d-1f393","native":"ð§âð"},{"unified":"1f9d1-1f3fb-200d-1f393","native":"ð§ð»âð"},{"unified":"1f9d1-1f3fc-200d-1f393","native":"ð§ð¼âð"},{"unified":"1f9d1-1f3fd-200d-1f393","native":"ð§ð½âð"},{"unified":"1f9d1-1f3fe-200d-1f393","native":"ð§ð¾âð"},{"unified":"1f9d1-1f3ff-200d-1f393","native":"ð§ð¿âð"}],"version":12.1},"male-student":{"id":"male-student","name":"Man Student","keywords":["male","graduate","human"],"skins":[{"unified":"1f468-200d-1f393","native":"ð¨âð"},{"unified":"1f468-1f3fb-200d-1f393","native":"ð¨ð»âð"},{"unified":"1f468-1f3fc-200d-1f393","native":"ð¨ð¼âð"},{"unified":"1f468-1f3fd-200d-1f393","native":"ð¨ð½âð"},{"unified":"1f468-1f3fe-200d-1f393","native":"ð¨ð¾âð"},{"unified":"1f468-1f3ff-200d-1f393","native":"ð¨ð¿âð"}],"version":4},"female-student":{"id":"female-student","name":"Woman Student","keywords":["female","graduate","human"],"skins":[{"unified":"1f469-200d-1f393","native":"ð©âð"},{"unified":"1f469-1f3fb-200d-1f393","native":"ð©ð»âð"},{"unified":"1f469-1f3fc-200d-1f393","native":"ð©ð¼âð"},{"unified":"1f469-1f3fd-200d-1f393","native":"ð©ð½âð"},{"unified":"1f469-1f3fe-200d-1f393","native":"ð©ð¾âð"},{"unified":"1f469-1f3ff-200d-1f393","native":"ð©ð¿âð"}],"version":4},"teacher":{"id":"teacher","name":"Teacher","keywords":["professor"],"skins":[{"unified":"1f9d1-200d-1f3eb","native":"ð§âð«"},{"unified":"1f9d1-1f3fb-200d-1f3eb","native":"ð§ð»âð«"},{"unified":"1f9d1-1f3fc-200d-1f3eb","native":"ð§ð¼âð«"},{"unified":"1f9d1-1f3fd-200d-1f3eb","native":"ð§ð½âð«"},{"unified":"1f9d1-1f3fe-200d-1f3eb","native":"ð§ð¾âð«"},{"unified":"1f9d1-1f3ff-200d-1f3eb","native":"ð§ð¿âð«"}],"version":12.1},"male-teacher":{"id":"male-teacher","name":"Man Teacher","keywords":["male","instructor","professor","human"],"skins":[{"unified":"1f468-200d-1f3eb","native":"ð¨âð«"},{"unified":"1f468-1f3fb-200d-1f3eb","native":"ð¨ð»âð«"},{"unified":"1f468-1f3fc-200d-1f3eb","native":"ð¨ð¼âð«"},{"unified":"1f468-1f3fd-200d-1f3eb","native":"ð¨ð½âð«"},{"unified":"1f468-1f3fe-200d-1f3eb","native":"ð¨ð¾âð«"},{"unified":"1f468-1f3ff-200d-1f3eb","native":"ð¨ð¿âð«"}],"version":4},"female-teacher":{"id":"female-teacher","name":"Woman Teacher","keywords":["female","instructor","professor","human"],"skins":[{"unified":"1f469-200d-1f3eb","native":"ð©âð«"},{"unified":"1f469-1f3fb-200d-1f3eb","native":"ð©ð»âð«"},{"unified":"1f469-1f3fc-200d-1f3eb","native":"ð©ð¼âð«"},{"unified":"1f469-1f3fd-200d-1f3eb","native":"ð©ð½âð«"},{"unified":"1f469-1f3fe-200d-1f3eb","native":"ð©ð¾âð«"},{"unified":"1f469-1f3ff-200d-1f3eb","native":"ð©ð¿âð«"}],"version":4},"judge":{"id":"judge","name":"Judge","keywords":["law"],"skins":[{"unified":"1f9d1-200d-2696-fe0f","native":"ð§ââï¸"},{"unified":"1f9d1-1f3fb-200d-2696-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d1-1f3fc-200d-2696-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d1-1f3fd-200d-2696-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d1-1f3fe-200d-2696-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d1-1f3ff-200d-2696-fe0f","native":"ð§ð¿ââï¸"}],"version":12.1},"male-judge":{"id":"male-judge","name":"Man Judge","keywords":["male","justice","court","human"],"skins":[{"unified":"1f468-200d-2696-fe0f","native":"ð¨ââï¸"},{"unified":"1f468-1f3fb-200d-2696-fe0f","native":"ð¨ð»ââï¸"},{"unified":"1f468-1f3fc-200d-2696-fe0f","native":"ð¨ð¼ââï¸"},{"unified":"1f468-1f3fd-200d-2696-fe0f","native":"ð¨ð½ââï¸"},{"unified":"1f468-1f3fe-200d-2696-fe0f","native":"ð¨ð¾ââï¸"},{"unified":"1f468-1f3ff-200d-2696-fe0f","native":"ð¨ð¿ââï¸"}],"version":4},"female-judge":{"id":"female-judge","name":"Woman Judge","keywords":["female","justice","court","human"],"skins":[{"unified":"1f469-200d-2696-fe0f","native":"ð©ââï¸"},{"unified":"1f469-1f3fb-200d-2696-fe0f","native":"ð©ð»ââï¸"},{"unified":"1f469-1f3fc-200d-2696-fe0f","native":"ð©ð¼ââï¸"},{"unified":"1f469-1f3fd-200d-2696-fe0f","native":"ð©ð½ââï¸"},{"unified":"1f469-1f3fe-200d-2696-fe0f","native":"ð©ð¾ââï¸"},{"unified":"1f469-1f3ff-200d-2696-fe0f","native":"ð©ð¿ââï¸"}],"version":4},"farmer":{"id":"farmer","name":"Farmer","keywords":["crops"],"skins":[{"unified":"1f9d1-200d-1f33e","native":"ð§âð¾"},{"unified":"1f9d1-1f3fb-200d-1f33e","native":"ð§ð»âð¾"},{"unified":"1f9d1-1f3fc-200d-1f33e","native":"ð§ð¼âð¾"},{"unified":"1f9d1-1f3fd-200d-1f33e","native":"ð§ð½âð¾"},{"unified":"1f9d1-1f3fe-200d-1f33e","native":"ð§ð¾âð¾"},{"unified":"1f9d1-1f3ff-200d-1f33e","native":"ð§ð¿âð¾"}],"version":12.1},"male-farmer":{"id":"male-farmer","name":"Man Farmer","keywords":["male","rancher","gardener","human"],"skins":[{"unified":"1f468-200d-1f33e","native":"ð¨âð¾"},{"unified":"1f468-1f3fb-200d-1f33e","native":"ð¨ð»âð¾"},{"unified":"1f468-1f3fc-200d-1f33e","native":"ð¨ð¼âð¾"},{"unified":"1f468-1f3fd-200d-1f33e","native":"ð¨ð½âð¾"},{"unified":"1f468-1f3fe-200d-1f33e","native":"ð¨ð¾âð¾"},{"unified":"1f468-1f3ff-200d-1f33e","native":"ð¨ð¿âð¾"}],"version":4},"female-farmer":{"id":"female-farmer","name":"Woman Farmer","keywords":["female","rancher","gardener","human"],"skins":[{"unified":"1f469-200d-1f33e","native":"ð©âð¾"},{"unified":"1f469-1f3fb-200d-1f33e","native":"ð©ð»âð¾"},{"unified":"1f469-1f3fc-200d-1f33e","native":"ð©ð¼âð¾"},{"unified":"1f469-1f3fd-200d-1f33e","native":"ð©ð½âð¾"},{"unified":"1f469-1f3fe-200d-1f33e","native":"ð©ð¾âð¾"},{"unified":"1f469-1f3ff-200d-1f33e","native":"ð©ð¿âð¾"}],"version":4},"cook":{"id":"cook","name":"Cook","keywords":["food","kitchen","culinary"],"skins":[{"unified":"1f9d1-200d-1f373","native":"ð§âð³"},{"unified":"1f9d1-1f3fb-200d-1f373","native":"ð§ð»âð³"},{"unified":"1f9d1-1f3fc-200d-1f373","native":"ð§ð¼âð³"},{"unified":"1f9d1-1f3fd-200d-1f373","native":"ð§ð½âð³"},{"unified":"1f9d1-1f3fe-200d-1f373","native":"ð§ð¾âð³"},{"unified":"1f9d1-1f3ff-200d-1f373","native":"ð§ð¿âð³"}],"version":12.1},"male-cook":{"id":"male-cook","name":"Man Cook","keywords":["male","chef","human"],"skins":[{"unified":"1f468-200d-1f373","native":"ð¨âð³"},{"unified":"1f468-1f3fb-200d-1f373","native":"ð¨ð»âð³"},{"unified":"1f468-1f3fc-200d-1f373","native":"ð¨ð¼âð³"},{"unified":"1f468-1f3fd-200d-1f373","native":"ð¨ð½âð³"},{"unified":"1f468-1f3fe-200d-1f373","native":"ð¨ð¾âð³"},{"unified":"1f468-1f3ff-200d-1f373","native":"ð¨ð¿âð³"}],"version":4},"female-cook":{"id":"female-cook","name":"Woman Cook","keywords":["female","chef","human"],"skins":[{"unified":"1f469-200d-1f373","native":"ð©âð³"},{"unified":"1f469-1f3fb-200d-1f373","native":"ð©ð»âð³"},{"unified":"1f469-1f3fc-200d-1f373","native":"ð©ð¼âð³"},{"unified":"1f469-1f3fd-200d-1f373","native":"ð©ð½âð³"},{"unified":"1f469-1f3fe-200d-1f373","native":"ð©ð¾âð³"},{"unified":"1f469-1f3ff-200d-1f373","native":"ð©ð¿âð³"}],"version":4},"mechanic":{"id":"mechanic","name":"Mechanic","keywords":["worker","technician"],"skins":[{"unified":"1f9d1-200d-1f527","native":"ð§âð§"},{"unified":"1f9d1-1f3fb-200d-1f527","native":"ð§ð»âð§"},{"unified":"1f9d1-1f3fc-200d-1f527","native":"ð§ð¼âð§"},{"unified":"1f9d1-1f3fd-200d-1f527","native":"ð§ð½âð§"},{"unified":"1f9d1-1f3fe-200d-1f527","native":"ð§ð¾âð§"},{"unified":"1f9d1-1f3ff-200d-1f527","native":"ð§ð¿âð§"}],"version":12.1},"male-mechanic":{"id":"male-mechanic","name":"Man Mechanic","keywords":["male","plumber","human","wrench"],"skins":[{"unified":"1f468-200d-1f527","native":"ð¨âð§"},{"unified":"1f468-1f3fb-200d-1f527","native":"ð¨ð»âð§"},{"unified":"1f468-1f3fc-200d-1f527","native":"ð¨ð¼âð§"},{"unified":"1f468-1f3fd-200d-1f527","native":"ð¨ð½âð§"},{"unified":"1f468-1f3fe-200d-1f527","native":"ð¨ð¾âð§"},{"unified":"1f468-1f3ff-200d-1f527","native":"ð¨ð¿âð§"}],"version":4},"female-mechanic":{"id":"female-mechanic","name":"Woman Mechanic","keywords":["female","plumber","human","wrench"],"skins":[{"unified":"1f469-200d-1f527","native":"ð©âð§"},{"unified":"1f469-1f3fb-200d-1f527","native":"ð©ð»âð§"},{"unified":"1f469-1f3fc-200d-1f527","native":"ð©ð¼âð§"},{"unified":"1f469-1f3fd-200d-1f527","native":"ð©ð½âð§"},{"unified":"1f469-1f3fe-200d-1f527","native":"ð©ð¾âð§"},{"unified":"1f469-1f3ff-200d-1f527","native":"ð©ð¿âð§"}],"version":4},"factory_worker":{"id":"factory_worker","name":"Factory Worker","keywords":["labor"],"skins":[{"unified":"1f9d1-200d-1f3ed","native":"ð§âð"},{"unified":"1f9d1-1f3fb-200d-1f3ed","native":"ð§ð»âð"},{"unified":"1f9d1-1f3fc-200d-1f3ed","native":"ð§ð¼âð"},{"unified":"1f9d1-1f3fd-200d-1f3ed","native":"ð§ð½âð"},{"unified":"1f9d1-1f3fe-200d-1f3ed","native":"ð§ð¾âð"},{"unified":"1f9d1-1f3ff-200d-1f3ed","native":"ð§ð¿âð"}],"version":12.1},"male-factory-worker":{"id":"male-factory-worker","name":"Man Factory Worker","keywords":["male","factory-worker","assembly","industrial","human"],"skins":[{"unified":"1f468-200d-1f3ed","native":"ð¨âð"},{"unified":"1f468-1f3fb-200d-1f3ed","native":"ð¨ð»âð"},{"unified":"1f468-1f3fc-200d-1f3ed","native":"ð¨ð¼âð"},{"unified":"1f468-1f3fd-200d-1f3ed","native":"ð¨ð½âð"},{"unified":"1f468-1f3fe-200d-1f3ed","native":"ð¨ð¾âð"},{"unified":"1f468-1f3ff-200d-1f3ed","native":"ð¨ð¿âð"}],"version":4},"female-factory-worker":{"id":"female-factory-worker","name":"Woman Factory Worker","keywords":["female","factory-worker","assembly","industrial","human"],"skins":[{"unified":"1f469-200d-1f3ed","native":"ð©âð"},{"unified":"1f469-1f3fb-200d-1f3ed","native":"ð©ð»âð"},{"unified":"1f469-1f3fc-200d-1f3ed","native":"ð©ð¼âð"},{"unified":"1f469-1f3fd-200d-1f3ed","native":"ð©ð½âð"},{"unified":"1f469-1f3fe-200d-1f3ed","native":"ð©ð¾âð"},{"unified":"1f469-1f3ff-200d-1f3ed","native":"ð©ð¿âð"}],"version":4},"office_worker":{"id":"office_worker","name":"Office Worker","keywords":["business"],"skins":[{"unified":"1f9d1-200d-1f4bc","native":"ð§âð¼"},{"unified":"1f9d1-1f3fb-200d-1f4bc","native":"ð§ð»âð¼"},{"unified":"1f9d1-1f3fc-200d-1f4bc","native":"ð§ð¼âð¼"},{"unified":"1f9d1-1f3fd-200d-1f4bc","native":"ð§ð½âð¼"},{"unified":"1f9d1-1f3fe-200d-1f4bc","native":"ð§ð¾âð¼"},{"unified":"1f9d1-1f3ff-200d-1f4bc","native":"ð§ð¿âð¼"}],"version":12.1},"male-office-worker":{"id":"male-office-worker","name":"Man Office Worker","keywords":["male","office-worker","business","manager","human"],"skins":[{"unified":"1f468-200d-1f4bc","native":"ð¨âð¼"},{"unified":"1f468-1f3fb-200d-1f4bc","native":"ð¨ð»âð¼"},{"unified":"1f468-1f3fc-200d-1f4bc","native":"ð¨ð¼âð¼"},{"unified":"1f468-1f3fd-200d-1f4bc","native":"ð¨ð½âð¼"},{"unified":"1f468-1f3fe-200d-1f4bc","native":"ð¨ð¾âð¼"},{"unified":"1f468-1f3ff-200d-1f4bc","native":"ð¨ð¿âð¼"}],"version":4},"female-office-worker":{"id":"female-office-worker","name":"Woman Office Worker","keywords":["female","office-worker","business","manager","human"],"skins":[{"unified":"1f469-200d-1f4bc","native":"ð©âð¼"},{"unified":"1f469-1f3fb-200d-1f4bc","native":"ð©ð»âð¼"},{"unified":"1f469-1f3fc-200d-1f4bc","native":"ð©ð¼âð¼"},{"unified":"1f469-1f3fd-200d-1f4bc","native":"ð©ð½âð¼"},{"unified":"1f469-1f3fe-200d-1f4bc","native":"ð©ð¾âð¼"},{"unified":"1f469-1f3ff-200d-1f4bc","native":"ð©ð¿âð¼"}],"version":4},"scientist":{"id":"scientist","name":"Scientist","keywords":["chemistry"],"skins":[{"uni
244fied":"1f9d1-200d-1f52c","native":"ð§âð¬"},{"unified":"1f9d1-1f3fb-200d-1f52c","native":"ð§ð»âð¬"},{"unified":"1f9d1-1f3fc-200d-1f52c","native":"ð§ð¼âð¬"},{"unified":"1f9d1-1f3fd-200d-1f52c","native":"ð§ð½âð¬"},{"unified":"1f9d1-1f3fe-200d-1f52c","native":"ð§ð¾âð¬"},{"unified":"1f9d1-1f3ff-200d-1f52c","native":"ð§ð¿âð¬"}],"version":12.1},"male-scientist":{"id":"male-scientist","name":"Man Scientist","keywords":["male","biologist","chemist","engineer","physicist","human"],"skins":[{"unified":"1f468-200d-1f52c","native":"ð¨âð¬"},{"unified":"1f468-1f3fb-200d-1f52c","native":"ð¨ð»âð¬"},{"unified":"1f468-1f3fc-200d-1f52c","native":"ð¨ð¼âð¬"},{"unified":"1f468-1f3fd-200d-1f52c","native":"ð¨ð½âð¬"},{"unified":"1f468-1f3fe-200d-1f52c","native":"ð¨ð¾âð¬"},{"unified":"1f468-1f3ff-200d-1f52c","native":"ð¨ð¿âð¬"}],"version":4},"female-scientist":{"id":"female-scientist","name":"Woman Scientist","keywords":["female","biologist","chemist","engineer","physicist","human"],"skins":[{"unified":"1f469-200d-1f52c","native":"ð©âð¬"},{"unified":"1f469-1f3fb-200d-1f52c","native":"ð©ð»âð¬"},{"unified":"1f469-1f3fc-200d-1f52c","native":"ð©ð¼âð¬"},{"unified":"1f469-1f3fd-200d-1f52c","native":"ð©ð½âð¬"},{"unified":"1f469-1f3fe-200d-1f52c","native":"ð©ð¾âð¬"},{"unified":"1f469-1f3ff-200d-1f52c","native":"ð©ð¿âð¬"}],"version":4},"technologist":{"id":"technologist","name":"Technologist","keywords":["computer"],"skins":[{"unified":"1f9d1-200d-1f4bb","native":"ð§âð»"},{"unified":"1f9d1-1f3fb-200d-1f4bb","native":"ð§ð»âð»"},{"unified":"1f9d1-1f3fc-200d-1f4bb","native":"ð§ð¼âð»"},{"unified":"1f9d1-1f3fd-200d-1f4bb","native":"ð§ð½âð»"},{"unified":"1f9d1-1f3fe-200d-1f4bb","native":"ð§ð¾âð»"},{"unified":"1f9d1-1f3ff-200d-1f4bb","native":"ð§ð¿âð»"}],"version":12.1},"male-technologist":{"id":"male-technologist","name":"Man Technologist","keywords":["male","coder","developer","engineer","programmer","software","human","laptop","computer"],"skins":[{"unified":"1f468-200d-1f4bb","native":"ð¨âð»"},{"unified":"1f468-1f3fb-200d-1f4bb","native":"ð¨ð»âð»"},{"unified":"1f468-1f3fc-200d-1f4bb","native":"ð¨ð¼âð»"},{"unified":"1f468-1f3fd-200d-1f4bb","native":"ð¨ð½âð»"},{"unified":"1f468-1f3fe-200d-1f4bb","native":"ð¨ð¾âð»"},{"unified":"1f468-1f3ff-200d-1f4bb","native":"ð¨ð¿âð»"}],"version":4},"female-technologist":{"id":"female-technologist","name":"Woman Technologist","keywords":["female","coder","developer","engineer","programmer","software","human","laptop","computer"],"skins":[{"unified":"1f469-200d-1f4bb","native":"ð©âð»"},{"unified":"1f469-1f3fb-200d-1f4bb","native":"ð©ð»âð»"},{"unified":"1f469-1f3fc-200d-1f4bb","native":"ð©ð¼âð»"},{"unified":"1f469-1f3fd-200d-1f4bb","native":"ð©ð½âð»"},{"unified":"1f469-1f3fe-200d-1f4bb","native":"ð©ð¾âð»"},{"unified":"1f469-1f3ff-200d-1f4bb","native":"ð©ð¿âð»"}],"version":4},"singer":{"id":"singer","name":"Singer","keywords":["song","artist","performer"],"skins":[{"unified":"1f9d1-200d-1f3a4","native":"ð§âð¤"},{"unified":"1f9d1-1f3fb-200d-1f3a4","native":"ð§ð»âð¤"},{"unified":"1f9d1-1f3fc-200d-1f3a4","native":"ð§ð¼âð¤"},{"unified":"1f9d1-1f3fd-200d-1f3a4","native":"ð§ð½âð¤"},{"unified":"1f9d1-1f3fe-200d-1f3a4","native":"ð§ð¾âð¤"},{"unified":"1f9d1-1f3ff-200d-1f3a4","native":"ð§ð¿âð¤"}],"version":12.1},"male-singer":{"id":"male-singer","name":"Man Singer","keywords":["male","rockstar","entertainer","human"],"skins":[{"unified":"1f468-200d-1f3a4","native":"ð¨âð¤"},{"unified":"1f468-1f3fb-200d-1f3a4","native":"ð¨ð»âð¤"},{"unified":"1f468-1f3fc-200d-1f3a4","native":"ð¨ð¼âð¤"},{"unified":"1f468-1f3fd-200d-1f3a4","native":"ð¨ð½âð¤"},{"unified":"1f468-1f3fe-200d-1f3a4","native":"ð¨ð¾âð¤"},{"unified":"1f468-1f3ff-200d-1f3a4","native":"ð¨ð¿âð¤"}],"version":4},"female-singer":{"id":"female-singer","name":"Woman Singer","keywords":["female","rockstar","entertainer","human"],"skins":[{"unified":"1f469-200d-1f3a4","native":"ð©âð¤"},{"unified":"1f469-1f3fb-200d-1f3a4","native":"ð©ð»âð¤"},{"unified":"1f469-1f3fc-200d-1f3a4","native":"ð©ð¼âð¤"},{"unified":"1f469-1f3fd-200d-1f3a4","native":"ð©ð½âð¤"},{"unified":"1f469-1f3fe-200d-1f3a4","native":"ð©ð¾âð¤"},{"unified":"1f469-1f3ff-200d-1f3a4","native":"ð©ð¿âð¤"}],"version":4},"artist":{"id":"artist","name":"Artist","keywords":["painting","draw","creativity"],"skins":[{"unified":"1f9d1-200d-1f3a8","native":"ð§âð¨"},{"unified":"1f9d1-1f3fb-200d-1f3a8","native":"ð§ð»âð¨"},{"unified":"1f9d1-1f3fc-200d-1f3a8","native":"ð§ð¼âð¨"},{"unified":"1f9d1-1f3fd-200d-1f3a8","native":"ð§ð½âð¨"},{"unified":"1f9d1-1f3fe-200d-1f3a8","native":"ð§ð¾âð¨"},{"unified":"1f9d1-1f3ff-200d-1f3a8","native":"ð§ð¿âð¨"}],"version":12.1},"male-artist":{"id":"male-artist","name":"Man Artist","keywords":["male","painter","human"],"skins":[{"unified":"1f468-200d-1f3a8","native":"ð¨âð¨"},{"unified":"1f468-1f3fb-200d-1f3a8","native":"ð¨ð»âð¨"},{"unified":"1f468-1f3fc-200d-1f3a8","native":"ð¨ð¼âð¨"},{"unified":"1f468-1f3fd-200d-1f3a8","native":"ð¨ð½âð¨"},{"unified":"1f468-1f3fe-200d-1f3a8","native":"ð¨ð¾âð¨"},{"unified":"1f468-1f3ff-200d-1f3a8","native":"ð¨ð¿âð¨"}],"version":4},"female-artist":{"id":"female-artist","name":"Woman Artist","keywords":["female","painter","human"],"skins":[{"unified":"1f469-200d-1f3a8","native":"ð©âð¨"},{"unified":"1f469-1f3fb-200d-1f3a8","native":"ð©ð»âð¨"},{"unified":"1f469-1f3fc-200d-1f3a8","native":"ð©ð¼âð¨"},{"unified":"1f469-1f3fd-200d-1f3a8","native":"ð©ð½âð¨"},{"unified":"1f469-1f3fe-200d-1f3a8","native":"ð©ð¾âð¨"},{"unified":"1f469-1f3ff-200d-1f3a8","native":"ð©ð¿âð¨"}],"version":4}
244,"pilot":{"id":"pilot","name":"Pilot","keywords":["fly","plane","airplane"],"skins":[{"unified":"1f9d1-200d-2708-fe0f","native":"ð§ââï¸"},{"unified":"1f9d1-1f3fb-200d-2708-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d1-1f3fc-200d-2708-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d1-1f3fd-200d-2708-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d1-1f3fe-200d-2708-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d1-1f3ff-200d-2708-fe0f","native":"ð§ð¿ââï¸"}],"version":12.1},"male-pilot":{"id":"male-pilot","name":"Man Pilot","keywords":["male","aviator","plane","human"],"skins":[{"unified":"1f468-200d-2708-fe0f","native":"ð¨ââï¸"},{"unified":"1f468-1f3fb-200d-2708-fe0f","native":"ð¨ð»ââï¸"},{"unified":"1f468-1f3fc-200d-2708-fe0f","native":"ð¨ð¼ââï¸"},{"unified":"1f468-1f3fd-200d-2708-fe0f","native":"ð¨ð½ââï¸"},{"unified":"1f468-1f3fe-200d-2708-fe0f","native":"ð¨ð¾ââï¸"},{"unified":"1f468-1f3ff-200d-2708-fe0f","native":"ð¨ð¿ââï¸"}],"version":4},"female-pilot":{"id":"female-pilot","name":"Woman Pilot","keywords":["female","aviator","plane","human"],"skins":[{"unified":"1f469-200d-2708-fe0f","native":"ð©ââï¸"},{"unified":"1f469-1f3fb-200d-2708-fe0f","native":"ð©ð»ââï¸"},{"unified":"1f469-1f3fc-200d-2708-fe0f","native":"ð©ð¼ââï¸"},{"unified":"1f469-1f3fd-200d-2708-fe0f","native":"ð©ð½ââï¸"},{"unified":"1f469-1f3fe-200d-2708-fe0f","native":"ð©ð¾ââï¸"},{"unified":"1f469-1f3ff-200d-2708-fe0f","native":"ð©ð¿ââï¸"}],"version":4},"astronaut":{"id":"astronaut","name":"Astronaut","keywords":["outerspace"],"skins":[{"unified":"1f9d1-200d-1f680","native":"ð§âð"},{"unified":"1f9d1-1f3fb-200d-1f680","native":"ð§ð»âð"},{"unified":"1f9d1-1f3fc-200d-1f680","native":"ð§ð¼âð"},{"unified":"1f9d1-1f3fd-200d-1f680","native":"ð§ð½âð"},{"unified":"1f9d1-1f3fe-200d-1f680","native":"ð§ð¾âð"},{"unified":"1f9d1-1f3ff-200d-1f680","native":"ð§ð¿âð"}],"version":12.1},"male-astronaut":{"id":"male-astronaut","name":"Man Astronaut","keywords":["male","space","rocket","human"],"skins":[{"unified":"1f468-200d-1f680","native":"ð¨âð"},{"unified":"1f468-1f3fb-200d-1f680","native":"ð¨ð»âð"},{"unified":"1f468-1f3fc-200d-1f680","native":"ð¨ð¼âð"},{"unified":"1f468-1f3fd-200d-1f680","native":"ð¨ð½âð"},{"unified":"1f468-1f3fe-200d-1f680","native":"ð¨ð¾âð"},{"unified":"1f468-1f3ff-200d-1f680","native":"ð¨ð¿âð"}],"version":4},"female-astronaut":{"id":"female-astronaut","name":"Woman Astronaut","keywords":["female","space","rocket","human"],"skins":[{"unified":"1f469-200d-1f680","native":"ð©âð"},{"unified":"1f469-1f3fb-200d-1f680","native":"ð©ð»âð"},{"unified":"1f469-1f3fc-200d-1f680","native":"ð©ð¼âð"},{"unified":"1f469-1f3fd-200d-1f680","native":"ð©ð½âð"},{"unified":"1f469-1f3fe-200d-1f680","native":"ð©ð¾âð"},{"unified":"1f469-1f3ff-200d-1f680","native":"ð©ð¿âð"}],"version":4},"firefighter":{"id":"firefighter","name":"Firefighter","keywords":["fire"],"skins":[{"unified":"1f9d1-200d-1f692","native":"ð§âð"},{"unified":"1f9d1-1f3fb-200d-1f692","native":"ð§ð»âð"},{"unified":"1f9d1-1f3fc-200d-1f692","native":"ð§ð¼âð"},{"unified":"1f9d1-1f3fd-200d-1f692","native":"ð§ð½âð"},{"unified":"1f9d1-1f3fe-200d-1f692","native":"ð§ð¾âð"},{"unified":"1f9d1-1f3ff-200d-1f692","native":"ð§ð¿âð"}],"version":12.1},"male-firefighter":{"id":"male-firefighter","name":"Man Firefighter","keywords":["male","fireman","human"],"skins":[{"unified":"1f468-200d-1f692","native":"ð¨âð"},{"unified":"1f468-1f3fb-200d-1f692","native":"ð¨ð»âð"},{"unified":"1f468-1f3fc-200d-1f692","native":"ð¨ð¼âð"},{"unified":"1f468-1f3fd-200d-1f692","native":"ð¨ð½âð"},{"unified":"1f468-1f3fe-200d-1f692","native":"ð¨ð¾âð"},{"unified":"1f468-1f3ff-200d-1f692","native":"ð¨ð¿âð"}],"version":4},"female-firefighter":{"id":"female-firefighter","name":"Woman Firefighter","keywords":["female","fireman","human"],"skins":[{"unified":"1f469-200d-1f692","native":"ð©âð"},{"unified":"1f469-1f3fb-200d-1f692","native":"ð©ð»âð"},{"unified":"1f469-1f3fc-200d-1f692","native":"ð©ð¼âð"},{"unified":"1f469-1f3fd-200d-1f692","native":"ð©ð½âð"},{"unified":"1f469-1f3fe-200d-1f692","native":"ð©ð¾âð"},{"unified":"1f469-1f3ff-200d-1f692","native":"ð©ð¿âð"}],"version":4},"cop":{"id":"cop","name":"Police Officer","keywords":["cop"],"skins":[{"unified":"1f46e","native":"ð®"},{"unified":"1f46e-1f3fb","native":"ð®ð»"},{"unified":"1f46e-1f3fc","native":"ð®ð¼"},{"unified":"1f46e-1f3fd","native":"ð®ð½"},{"unified":"1f46e-1f3fe","native":"ð®ð¾"},{"unified":"1f46e-1f3ff","native":"ð®ð¿"}],"version":1},"male-police-officer":{"id":"male-police-officer","name":"Man Police Officer","keywords":["male","police-officer","law","legal","enforcement","arrest","911"],"skins":[{"unified":"1f46e-200d-2642-fe0f","native":"ð®ââï¸"},{"unified":"1f46e-1f3fb-200d-2642-fe0f","native":"ð®ð»ââï¸"},{"unified":"1f46e-1f3fc-200d-2642-fe0f","native":"ð®ð¼ââï¸"},{"unified":"1f46e-1f3fd-200d-2642-fe0f","native":"ð®ð½ââï¸"},{"unified":"1f46e-1f3fe-200d-2642-fe0f","native":"ð®ð¾ââï¸"},{"unified":"1f46e-1f3ff-200d-2642-fe0f","native":"ð®ð¿ââï¸"}],"version":4},"female-police-officer":{"id":"female-police-officer","name":"Woman Police Officer","keywords":["female","police-officer","law","legal","enforcement","arrest","911"],"skins":[{"unified":"1f46e-200d-2640-fe0f","native":"ð®ââï¸"},{"unified":"1f46e-1f3fb-200d-2640-fe0f","native":"ð®ð»ââï¸"},{"unified":"1f46e-1f3fc-200d-2640-fe0f","native":"ð®ð¼ââï¸"},{"unified":"1f46e-1f3fd-200d-2640-fe0f","native":"ð®ð½ââï¸"},{"unified":"1f46e-1f3fe-200d-2640-fe0f","native":"ð®ð¾ââï¸"},{"unified":"1f46e-1f3ff-200d-2640-fe0f","native":"ð®ð¿ââï¸"}],"version":4},"sleuth_or_spy":{"id":"sleuth_or_spy","name":"Detective","keywords":["sleuth","or","spy","human"],"skins":[{"unified":"1f575-fe0f","native":"ðµï¸"},{"unified":"1f575-1f3fb","native":"ðµð»"},{"unified":"1f575-1f3fc","native":"ðµð¼"},{"unified":"1f575-1f3fd","native":"ðµð½"},{"unified":"1f575-1f3fe","native":"ðµð¾"},{"unified":"1f575-1f3ff","native":"ðµð¿"}],"version":1},"male-detective":{"id":"male-detective","name":"Man Detective","keywords":["male","crime"],"skins":[{"unified":"1f575-fe0f-200d-2642-fe0f","native":"ðµï¸ââï¸"},{"unified":"1f575-1f3fb-200d-2642-fe0f","native":"ðµð»ââï¸"},{"unified":"1f575-1f3fc-200d-2642-fe0f","native":"ðµð¼ââï¸"},{"unified":"1f575-1f3fd-200d-2642-fe0f","native":"ðµð½ââï¸"},{"unified":"1f575-1f3fe-200d-2642-fe0f","native":"ðµð¾ââï¸"},{"unified":"1f575-1f3ff-200d-2642-fe0f","native":"ðµð¿ââï¸"}],"version":4},"female-detective":{"id":"female-detective","name":"Woman Detective","keywords":["female","human","spy"],"skins":[{"unified":"1f575-fe0f-200d-2640-fe0f","native":"ðµï¸ââï¸"},{"unified":"1f575-1f3fb-200d-2640-fe0f","native":"ðµð»ââï¸"},{"unified":"1f575-1f3fc-200d-2640-fe0f","native":"ðµð¼ââï¸"},{"unified":"1f575-1f3fd-200d-2640-fe0f","native":"ðµð½ââï¸"},{"unified":"1f575-1f3fe-200d-2640-fe0f","native":"ðµð¾ââï¸"},{"unified":"1f575-1f3ff-200d-2640-fe0f","native":"ðµð¿ââï¸"}],"version":4}
244,"guardsman":{"id":"guardsman","name":"Guard","keywords":["guardsman","protect"],"skins":[{"unified":"1f482","native":"ð"},{"unified":"1f482-1f3fb","native":"ðð»"},{"unified":"1f482-1f3fc","native":"ðð¼"},{"unified":"1f482-1f3fd","native":"ðð½"},{"unified":"1f482-1f3fe","native":"ðð¾"},{"unified":"1f482-1f3ff","native":"ðð¿"}],"version":1},"male-guard":{"id":"male-guard","name":"Man Guard","keywords":["male","uk","gb","british","guy","royal"],"skins":[{"unified":"1f482-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f482-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f482-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f482-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f482-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f482-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"female-guard":{"id":"female-guard","name":"Woman Guard","keywords":["female","uk","gb","british","royal"],"skins":[{"unified":"1f482-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f482-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f482-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f482-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f482-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f482-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"ninja":{"id":"ninja","name":"Ninja","keywords":["ninjutsu","skills","japanese"],"skins":[{"unified":"1f977","native":"ð¥·"},{"unified":"1f977-1f3fb","native":"ð¥·ð»"},{"unified":"1f977-1f3fc","native":"ð¥·ð¼"},{"unified":"1f977-1f3fd","native":"ð¥·ð½"},{"unified":"1f977-1f3fe","native":"ð¥·ð¾"},{"unified":"1f977-1f3ff","native":"ð¥·ð¿"}],"version":13},"construction_worker":{"id":"construction_worker","name":"Construction Worker","keywords":["labor","build"],"skins":[{"unified":"1f477","native":"ð·"},{"unified":"1f477-1f3fb","native":"ð·ð»"},{"unified":"1f477-1f3fc","native":"ð·ð¼"},{"unified":"1f477-1f3fd","native":"ð·ð½"},{"unified":"1f477-1f3fe","native":"ð·ð¾"},{"unified":"1f477-1f3ff","native":"ð·ð¿"}],"version":1},"male-construction-worker":{"id":"male-construction-worker","name":"Man Construction Worker","keywords":["male","construction-worker","human","wip","guy","build","labor"],"skins":[{"unified":"1f477-200d-2642-fe0f","native":"ð·ââï¸"},{"unified":"1f477-1f3fb-200d-2642-fe0f","native":"ð·ð»ââï¸"},{"unified":"1f477-1f3fc-200d-2642-fe0f","native":"ð·ð¼ââï¸"},{"unified":"1f477-1f3fd-200d-2642-fe0f","native":"ð·ð½ââï¸"},{"unified":"1f477-1f3fe-200d-2642-fe0f","native":"ð·ð¾ââï¸"},{"unified":"1f477-1f3ff-200d-2642-fe0f","native":"ð·ð¿ââï¸"}],"version":4},"female-construction-worker":{"id":"female-construction-worker","name":"Woman Construction Worker","keywords":["female","construction-worker","human","wip","build","labor"],"skins":[{"unified":"1f477-200d-2640-fe0f","native":"ð·ââï¸"},{"unified":"1f477-1f3fb-200d-2640-fe0f","native":"ð·ð»ââï¸"},{"unified":"1f477-1f3fc-200d-2640-fe0f","native":"ð·ð¼ââï¸"},{"unified":"1f477-1f3fd-200d-2640-fe0f","native":"ð·ð½ââï¸"},{"unified":"1f477-1f3fe-200d-2640-fe0f","native":"ð·ð¾ââï¸"},{"unified":"1f477-1f3ff-200d-2640-fe0f","native":"ð·ð¿ââï¸"}],"version":4},"person_with_crown":{"id":"person_with_crown","name":"Person with Crown","keywords":["royalty","power"],"skins":[{"unified":"1fac5","native":"ð«
"},{"unified":"1fac5-1f3fb","native":"ð«
ð»"},{"unified":"1fac5-1f3fc","native":"ð«
ð¼"},{"unified":"1fac5-1f3fd","native":"ð«
ð½"},{"unified":"1fac5-1f3fe","native":"ð«
ð¾"},{"unified":"1fac5-1f3ff","native":"ð«
ð¿"}],"version":14},"prince":{"id":"prince","name":"Prince","keywords":["boy","man","male","crown","royal","king"],"skins":[{"unified":"1f934","native":"ð¤´"},{"unified":"1f934-1f3fb","native":"ð¤´ð»"},{"unified":"1f934-1f3fc","native":"ð¤´ð¼"},{"unified":"1f934-1f3fd","native":"ð¤´ð½"},{"unified":"1f934-1f3fe","native":"ð¤´ð¾"},{"unified":"1f934-1f3ff","native":"ð¤´ð¿"}],"version":3},"princess":{"id":"princess","name":"Princess","keywords":["girl","woman","female","blond","crown","royal","queen"],"skins":[{"unified":"1f478","native":"ð¸"},{"unified":"1f478-1f3fb","native":"ð¸ð»"},{"unified":"1f478-1f3fc","native":"ð¸ð¼"},{"unified":"1f478-1f3fd","native":"ð¸ð½"},{"unified":"1f478-1f3fe","native":"ð¸ð¾"},{"unified":"1f478-1f3ff","native":"ð¸ð¿"}],"version":1},"man_with_turban":{"id":"man_with_turban","name":"Man with Turban","keywords":["person","wearing","headdress"],"skins":[{"unified":"1f473","native":"ð³"},{"unified":"1f473-1f3fb","native":"ð³ð»"},{"unified":"1f473-1f3fc","native":"ð³ð¼"},{"unified":"1f473-1f3fd","native":"ð³ð½"},{"unified":"1f473-1f3fe","native":"ð³ð¾"},{"unified":"1f473-1f3ff","native":"ð³ð¿"}],"version":1},"man-wearing-turban":{"id":"man-wearing-turban","name":"Man Wearing Turban","keywords":["wearing-turban","male","indian","hinduism","arabs"],"skins":[{"unified":"1f473-200d-2642-fe0f","native":"ð³ââï¸"},{"unified":"1f473-1f3fb-200d-2642-fe0f","native":"ð³ð»ââï¸"},{"unified":"1f473-1f3fc-200d-2642-fe0f","native":"ð³ð¼ââï¸"},{"unified":"1f473-1f3fd-200d-2642-fe0f","native":"ð³ð½ââï¸"},{"unified":"1f473-1f3fe-200d-2642-fe0f","native":"ð³ð¾ââï¸"},{"unified":"1f473-1f3ff-200d-2642-fe0f","native":"ð³ð¿ââï¸"}],"version":4},"woman-wearing-turban":{"id":"woman-wearing-turban","name":"Woman Wearing Turban","keywords":["wearing-turban","female","indian","hinduism","arabs"],"skins":[{"unified":"1f473-200d-2640-fe0f","native":"ð³ââï¸"},{"unified":"1f473-1f3fb-200d-2640-fe0f","native":"ð³ð»ââï¸"},{"unified":"1f473-1f3fc-200d-2640-fe0f","native":"ð³ð¼ââï¸"},{"unified":"1f473-1f3fd-200d-2640-fe0f","native":"ð³ð½ââï¸"},{"unified":"1f473-1f3fe-200d-2640-fe0f","native":"ð³ð¾ââï¸"},{"unified":"1f473-1f3ff-200d-2640-fe0f","native":"ð³ð¿ââï¸"}],"version":4},"man_with_gua_pi_mao":{"id":"man_with_gua_pi_mao","name":"Man with Gua Pi Mao","keywords":["skullcap","male","boy","chinese"],"skins":[{"unified":"1f472","native":"ð²"},{"unified":"1f472-1f3fb","native":"ð²ð»"},{"unified":"1f472-1f3fc","native":"ð²ð¼"},{"unified":"1f472-1f3fd","native":"ð²ð½"},{"unified":"1f472-1f3fe","native":"ð²ð¾"},{"unified":"1f472-1f3ff","native":"ð²ð¿"}],"version":1},"person_with_headscarf":{"id":"person_with_headscarf","name":"Woman with Headscarf","keywords":["person","female","hijab","mantilla","tichel"],"skins":[{"unified":"1f9d5","native":"ð§"},{"unified":"1f9d5-1f3fb","native":"ð§ð»"},{"unified":"1f9d5-1f3fc","native":"ð§ð¼"},{"unified":"1f9d5-1f3fd","native":"ð§ð½"},{"unified":"1f9d5-1f3fe","native":"ð§ð¾"},{"unified":"1f9d5-1f3ff","native":"ð§ð¿"}],"version":5},"person_in_tuxedo":{"id":"person_in_tuxedo","name":"Man in Tuxedo","keywords":["person","couple","marriage","wedding","groom"],"skins":[{"unified":"1f935","native":"ð¤µ"},{"unified":"1f935-1f3fb","native":"ð¤µð»"},{"unified":"1f935-1f3fc","native":"ð¤µð¼"},{"unified":"1f935-1f3fd","native":"ð¤µð½"},{"unified":"1f935-1f3fe","native":"ð¤µð¾"},{"unified":"1f935-1f3ff","native":"ð¤µð¿"}],"version":3},"man_in_tuxedo":{"id":"man_in_tuxedo","name":"Man in Tuxedo","keywords":["formal","fashion"],"skins":[{"unified":"1f935-200d-2642-fe0f","native":"ð¤µââï¸"},{"unified":"1f935-1f3fb-200d-2642-fe0f","native":"ð¤µð»ââï¸"},{"unified":"1f935-1f3fc-200d-2642-fe0f","native":"ð¤µð¼ââï¸"},{"unified":"1f935-1f3fd-200d-2642-fe0f","native":"ð¤µð½ââï¸"},{"unified":"1f935-1f3fe-200d-2642-fe0f","native":"ð¤µð¾ââï¸"},{"unified":"1f935-1f3ff-200d-2642-fe0f","native":"ð¤µð¿ââï¸"}],"version":13},"woman_in_tuxedo":{"id":"woman_in_tuxedo","name":"Woman in Tuxedo","keywords":["formal","fashion"],"skins":[{"unified":"1f935-200d-2640-fe0f","native":"ð¤µââï¸"},{"unified":"1f935-1f3fb-200d-2640-fe0f","native":"ð¤µð»ââï¸"},{"unified":"1f935-1f3fc-200d-2640-fe0f","native":"ð¤µð¼ââï¸"},{"unified":"1f935-1f3fd-200d-2640-fe0f","native":"ð¤µð½ââï¸"},{"unified":"1f935-1f3fe-200d-2640-fe0f","native":"ð¤µð¾ââï¸"},{"unified":"1f935-1f3ff-200d-2640-fe0f","native":"ð¤µð¿ââï¸"}],"version":13},"bride_with_veil":{"id":"bride_with_veil","name":"Bride with Veil","keywords":["couple","marriage","wedding","woman"],"skins":[{"unified":"1f470","native":"ð°"},{"unified":"1f470-1f3fb","native":"ð°ð»"},{"unified":"1f470-1f3fc","native":"ð°ð¼"},{"unified":"1f470-1f3fd","native":"ð°ð½"},{"unified":"1f470-1f3fe","native":"ð°ð¾"},{"unified":"1f470-1f3ff","native":"ð°ð¿"}],"version":1},"man_with_veil":{"id":"man_with_veil","name":"Man with Veil","keywords":["wedding","marriage"],"skins":[{"unified":"1f470-200d-2642-fe0f","native":"ð°ââï¸"},{"unified":"1f470-1f3fb-200d-2642-fe0f","native":"ð°ð»ââï¸"},{"unified":"1f470-1f3fc-200d-2642-fe0f","native":"ð°ð¼ââï¸"},{"unified":"1f470-1f3fd-200d-2642-fe0f","native":"ð°ð½ââï¸"},{"unified":"1f470-1f3fe-200d-2642-fe0f","native":"ð°ð¾ââï¸"},{"unified":"1f470-1f3ff-200d-2642-fe0f","native":"ð°ð¿ââï¸"}],"version":13},"woman_with_veil":{"id":"woman_with_veil","name":"Woman with Veil","keywords":["wedding","marriage"],"skins":[{"unified":"1f470-200d-2640-fe0f","native":"ð°ââï¸"},{"unified":"1f470-1f3fb-200d-2640-fe0f","native":"ð°ð»ââï¸"},{"unified":"1f470-1f3fc-200d-2640-fe0f","native":"ð°ð¼ââï¸"},{"unified":"1f470-1f3fd-200d-2640-fe0f","native":"ð°ð½ââï¸"},{"unified":"1f470-1f3fe-200d-2640-fe0f","native":"ð°ð¾ââï¸"},{"unified":"1f470-1f3ff-200d-2640-fe0f","native":"ð°ð¿ââï¸"}],"version":13},"pregnant_woman":{"id":"pregnant_woman","name":"Pregnant Woman","keywords":["baby"],"skins":[{"unified":"1f930","native":"ð¤°"},{"unified":"1f930-1f3fb","native":"ð¤°ð»"},{"unified":"1f930-1f3fc","native":"ð¤°ð¼"},{"unified":"1f930-1f3fd","native":"ð¤°ð½"},{"unified":"1f930-1f3fe","native":"ð¤°ð¾"},{"unified":"1f930-1f3ff","native":"ð¤°ð¿"}],"version":3},"pregnant_man":{"id":"pregnant_man","name":"Pregnant Man","keywords":["baby","belly"],"skins":[{"unified":"1fac3","native":"ð«"},{"unified":"1fac3-1f3fb","native":"ð«ð»"},{"unified":"1fac3-1f3fc","native":"ð«ð¼"},{"unified":"1fac3-1f3fd","native":"ð«ð½"},{"unified":"1fac3-1f3fe","native":"ð«ð¾"},{"unified":"1fac3-1f3ff","native":"ð«ð¿"}],"version":14},"pregnant_person":{"id":"pregnant_person","name":"Pregnant Person","keywords":["baby","belly"],"skins":[{"unified":"1fac4","native":"ð«"},{"unified":"1fac4-1f3fb","native":"ð«ð»"},{"unified":"1fac4-1f3fc","native":"ð«ð¼"},{"unified":"1fac4-1f3fd","native":"ð«ð½"},{"unified":"1fac4-1f3fe","native":"ð«ð¾"},{"unified":"1fac4-1f3ff","native":"ð«ð¿"}],"version":14},"breast-feeding":{"id":"breast-feeding","name":"Breast-Feeding","keywords":["breast","feeding","nursing","baby"],"skins":[{"unified":"1f931","native":"ð¤±"},{"unified":"1f931-1f3fb","native":"ð¤±ð»"},{"unified":"1f931-1f3fc","native":"ð¤±ð¼"},{"unified":"1f931-1f3fd","native":"ð¤±ð½"},{"unified":"1f931-1f3fe","native":"ð¤±ð¾"},{"unified":"1f931-1f3ff","native":"ð¤±ð¿"}],"version":5},"woman_feeding_baby":{"id":"woman_feeding_baby","name":"Woman Feeding Baby","keywords":["birth","food"],"skins":[{"unified":"1f469-200d-1f37c","native":"ð©âð¼"},{"unified":"1f469-1f3fb-200d-1f37c","native":"ð©ð»âð¼"},{"unified":"1f469-1f3fc-200d-1f37c","native":"ð©ð¼âð¼"},{"unified":"1f469-1f3fd-200d-1f37c","native":"ð©ð½âð¼"},{"unified":"1f469-1f3fe-200d-1f37c","native":"ð©ð¾âð¼"},{"unified":"1f469-1f3ff-200d-1f37c","native":"ð©ð¿âð¼"}],"version":13},"man_feeding_baby":{"id":"man_feeding_baby","name":"Man Feeding Baby","keywords":["birth","food"],"skins":[{"unified":"1f468-200d-1f37c","native":"ð¨âð¼"},{"unified":"1f468-1f3fb-200d-1f37c","native":"ð¨ð»âð¼"},{"unified":"1f468-1f3fc-200d-1f37c","native":"ð¨ð¼âð¼"},{"unified":"1f468-1f3fd-200d-1f37c","native":"ð¨ð½âð¼"},{"unified":"1f468-1f3fe-200d-1f37c","native":"ð¨ð¾âð¼"},{"unified":"1f468-1f3ff-200d-1f37c","native":"ð¨ð¿âð¼"}],"version":13},"person_feeding_baby":{"id":"person_feeding_baby","name":"Person Feeding Baby","keywords":["birth","food"],"skins":[{"unified":"1f9d1-200d-1f37c","native":"ð§âð¼"},{"unified":"1f9d1-1f3fb-200d-1f37c","native":"ð§ð»âð¼"},{"unified":"1f9d1-1f3fc-200d-1f37c","native":"ð§ð¼âð¼"},{"unified":"1f9d1-1f3fd-200d-1f37c","native":"ð§ð½âð¼"},{"unified":"1f9d1-1f3fe-200d-1f37c","native":"ð§ð¾âð¼"},{"unified":"1f9d1-1f3ff-200d-1f37c","native":"ð§ð¿âð¼"}],"version":13},"angel":{"id":"angel","name":"Baby Angel","keywords":["heaven","wings","halo"],"skins":[{"unified":"1f47c","native":"ð¼"},{"unified":"1f47c-1f3fb","native":"ð¼ð»"},{"unified":"1f47c-1f3fc","native":"ð¼ð¼"},{"unified":"1f47c-1f3fd","native":"ð¼ð½"},{"unified":"1f47c-1f3fe","native":"ð¼ð¾"},{"unified":"1f47c-1f3ff","native":"ð¼ð¿"}],"version":1},"santa":{"id":"santa","name":"Santa Claus","keywords":["festival","man","male","xmas","father","christmas"],"skins":[{"unified":"1f385","native":"ð
"},{"unified":"1f385-1f3fb","native":"ð
ð»"},{"unified":"1f385-1f3fc","native":"ð
ð¼"},{"unified":"1f385-1f3fd","native":"ð
ð½"},{"unified":"1f385-1f3fe","native":"ð
ð¾"},{"unified":"1f385-1f3ff","native":"ð
ð¿"}],"version":1},"mrs_claus":{"id":"mrs_claus","name":"Mrs. Claus","keywords":["mrs","mother","christmas","woman","female","xmas"],"skins":[{"unified":"1f936","native":"ð¤¶"},{"unified":"1f936-1f3fb","native":"ð¤¶ð»"},{"unified":"1f936-1f3fc","native":"ð¤¶ð¼"},{"unified":"1f936-1f3fd","native":"ð¤¶ð½"},{"unified":"1f936-1f3fe","native":"ð¤¶ð¾"},{"unified":"1f936-1f3ff","native":"ð¤¶ð¿"}],"version":3},"mx_claus":{"id":"mx_claus","name":"Mx Claus","keywords":["christmas"],"skins":[{"unified":"1f9d1-200d-1f384","native":"ð§âð"},{"unified":"1f9d1-1f3fb-200d-1f384","native":"ð§ð»âð"},{"unified":"1f9d1-1f3fc-200d-1f384","native":"ð§ð¼âð"},{"unified":"1f9d1-1f3fd-200d-1f384","native":"ð§ð½âð"},{"unified":"1f9d1-1f3fe-200d-1f384","native":"ð§ð¾âð"},{"unified":"1f9d1-1f3ff-200d-1f384","native":"ð§ð¿âð"}],"version":13},"superhero":{"id":"superhero","name":"Superhero","keywords":["marvel"],"skins":[{"unified":"1f9b8","native":"ð¦¸"},{"unified":"1f9b8-1f3fb","native":"ð¦¸ð»"},{"unified":"1f9b8-1f3fc","native":"ð¦¸ð¼"},{"unified":"1f9b8-1f3fd","native":"ð¦¸ð½"},{"unified":"1f9b8-1f3fe","native":"ð¦¸ð¾"},{"unified":"1f9b8-1f3ff","native":"ð¦¸ð¿"}],"version":11},"male_superhero":{"id":"male_superhero","name":"Man Superhero","keywords":["male","good","hero","superpowers"],"skins":[{"unified":"1f9b8-200d-2642-fe0f","native":"ð¦¸ââï¸"},{"unified":"1f9b8-1f3fb-200d-2642-fe0f","native":"ð¦¸ð»ââï¸"},{"unified":"1f9b8-1f3fc-200d-2642-fe0f","native":"ð¦¸ð¼ââï¸"},{"unified":"1f9b8-1f3fd-200d-2642-fe0f","native":"ð¦¸ð½ââï¸"},{"unified":"1f9b8-1f3fe-200d-2642-fe0f","native":"ð¦¸ð¾ââï¸"},{"unified":"1f9b8-1f3ff-200d-2642-fe0f","native":"ð¦¸ð¿ââï¸"}],"version":11},"female_superhero":{"id":"female_superhero","name":"Woman Superhero","keywords":["female","good","heroine","superpowers"],"skins":[{"unified":"1f9b8-200d-2640-fe0f","native":"ð¦¸ââï¸"},{"unified":"1f9b8-1f3fb-200d-2640-fe0f","native":"ð¦¸ð»ââï¸"},{"unified":"1f9b8-1f3fc-200d-2640-fe0f","native":"ð¦¸ð¼ââï¸"},{"unified":"1f9b8-1f3fd-200d-2640-fe0f","native":"ð¦¸ð½ââï¸"},{"unified":"1f9b8-1f3fe-200d-2640-fe0f","native":"ð¦¸ð¾ââï¸"},{"unified":"1f9b8-1f3ff-200d-2640-fe0f","native":"ð¦¸ð¿ââï¸"}],"version":11},"supervillain":{"id":"supervillain","name":"Supervillain","keywords":["marvel"],"skins":[{"unified":"1f9b9","native":"ð¦¹"},{"unified":"1f9b9-1f3fb","native":"ð¦¹ð»"},{"unified":"1f9b9-1f3fc","native":"ð¦¹ð¼"},{"unified":"1f9b9-1f3fd","native":"ð¦¹ð½"},{"unified":"1f9b9-1f3fe",
244"native":"ð¦¹ð¾"},{"unified":"1f9b9-1f3ff","native":"ð¦¹ð¿"}],"version":11},"male_supervillain":{"id":"male_supervillain","name":"Man Supervillain","keywords":["male","evil","bad","criminal","hero","superpowers"],"skins":[{"unified":"1f9b9-200d-2642-fe0f","native":"ð¦¹ââï¸"},{"unified":"1f9b9-1f3fb-200d-2642-fe0f","native":"ð¦¹ð»ââï¸"},{"unified":"1f9b9-1f3fc-200d-2642-fe0f","native":"ð¦¹ð¼ââï¸"},{"unified":"1f9b9-1f3fd-200d-2642-fe0f","native":"ð¦¹ð½ââï¸"},{"unified":"1f9b9-1f3fe-200d-2642-fe0f","native":"ð¦¹ð¾ââï¸"},{"unified":"1f9b9-1f3ff-200d-2642-fe0f","native":"ð¦¹ð¿ââï¸"}],"version":11},"female_supervillain":{"id":"female_supervillain","name":"Woman Supervillain","keywords":["female","evil","bad","criminal","heroine","superpowers"],"skins":[{"unified":"1f9b9-200d-2640-fe0f","native":"ð¦¹ââï¸"},{"unified":"1f9b9-1f3fb-200d-2640-fe0f","native":"ð¦¹ð»ââï¸"},{"unified":"1f9b9-1f3fc-200d-2640-fe0f","native":"ð¦¹ð¼ââï¸"},{"unified":"1f9b9-1f3fd-200d-2640-fe0f","native":"ð¦¹ð½ââï¸"},{"unified":"1f9b9-1f3fe-200d-2640-fe0f","native":"ð¦¹ð¾ââï¸"},{"unified":"1f9b9-1f3ff-200d-2640-fe0f","native":"ð¦¹ð¿ââï¸"}],"version":11},"mage":{"id":"mage","name":"Mage","keywords":["magic"],"skins":[{"unified":"1f9d9","native":"ð§"},{"unified":"1f9d9-1f3fb","native":"ð§ð»"},{"unified":"1f9d9-1f3fc","native":"ð§ð¼"},{"unified":"1f9d9-1f3fd","native":"ð§ð½"},{"unified":"1f9d9-1f3fe","native":"ð§ð¾"},{"unified":"1f9d9-1f3ff","native":"ð§ð¿"}],"version":5},"male_mage":{"id":"male_mage","name":"Man Mage","keywords":["male","sorcerer"],"skins":[{"unified":"1f9d9-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9d9-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d9-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d9-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d9-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d9-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"female_mage":{"id":"female_mage","name":"Woman Mage","keywords":["female","witch"],"skins":[{"unified":"1f9d9-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9d9-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d9-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d9-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d9-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d9-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"fairy":{"id":"fairy","name":"Fairy","keywords":["wings","magical"],"skins":[{"unified":"1f9da","native":"ð§"},{"unified":"1f9da-1f3fb","native":"ð§ð»"},{"unified":"1f9da-1f3fc","native":"ð§ð¼"},{"unified":"1f9da-1f3fd","native":"ð§ð½"},{"unified":"1f9da-1f3fe","native":"ð§ð¾"},{"unified":"1f9da-1f3ff","native":"ð§ð¿"}],"version":5},"male_fairy":{"id":"male_fairy","name":"Man Fairy","keywords":["male"],"skins":[{"unified":"1f9da-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9da-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9da-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9da-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9da-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9da-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"female_fairy":{"id":"female_fairy","name":"Woman Fairy","keywords":["female"],"skins":[{"unified":"1f9da-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9da-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9da-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9da-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9da-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9da-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"vampire":{"id":"vampire","name":"Vampire","keywords":["blood","twilight"],"skins":[{"unified":"1f9db","native":"ð§"},{"unified":"1f9db-1f3fb","native":"ð§ð»"},{"unified":"1f9db-1f3fc","native":"ð§ð¼"},{"unified":"1f9db-1f3fd","native":"ð§ð½"},{"unified":"1f9db-1f3fe","native":"ð§ð¾"},{"unified":"1f9db-1f3ff","native":"ð§ð¿"}],"version":5}
244,"male_vampire":{"id":"male_vampire","name":"Man Vampire","keywords":["male","dracula"],"skins":[{"unified":"1f9db-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9db-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9db-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9db-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9db-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9db-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"female_vampire":{"id":"female_vampire","name":"Woman Vampire","keywords":["female"],"skins":[{"unified":"1f9db-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9db-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9db-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9db-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9db-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9db-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"merperson":{"id":"merperson","name":"Merperson","keywords":["sea"],"skins":[{"unified":"1f9dc","native":"ð§"},{"unified":"1f9dc-1f3fb","native":"ð§ð»"},{"unified":"1f9dc-1f3fc","native":"ð§ð¼"},{"unified":"1f9dc-1f3fd","native":"ð§ð½"},{"unified":"1f9dc-1f3fe","native":"ð§ð¾"},{"unified":"1f9dc-1f3ff","native":"ð§ð¿"}],"version":5},"merman":{"id":"merman","name":"Merman","keywords":["man","male","triton"],"skins":[{"unified":"1f9dc-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9dc-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9dc-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9dc-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9dc-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9dc-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"mermaid":{"id":"mermaid","name":"Mermaid","keywords":["woman","female","merwoman","ariel"],"skins":[{"unified":"1f9dc-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9dc-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9dc-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9dc-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9dc-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9dc-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"elf":{"id":"elf","name":"Elf","keywords":["magical"],"skins":[{"unified":"1f9dd","native":"ð§"},{"unified":"1f9dd-1f3fb","native":"ð§ð»"},{"unified":"1f9dd-1f3fc","native":"ð§ð¼"},{"unified":"1f9dd-1f3fd","native":"ð§ð½"},{"unified":"1f9dd-1f3fe","native":"ð§ð¾"},{"unified":"1f9dd-1f3ff","native":"ð§ð¿"}],"version":5},"male_elf":{"id":"male_elf","name":"Man Elf","keywords":["male"],"skins":[{"unified":"1f9dd-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9dd-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9dd-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9dd-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9dd-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9dd-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"female_elf":{"id":"female_elf","name":"Woman Elf","keywords":["female"],"skins":[{"unified":"1f9dd-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9dd-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9dd-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9dd-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9dd-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9dd-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"genie":{"id":"genie","name":"Genie","keywords":["magical","wishes"],"skins":[{"unified":"1f9de","native":"ð§"}],"version":5},"male_genie":{"id":"male_genie","name":"Man Genie","keywords":["male"],"skins":[{"unified":"1f9de-200d-2642-fe0f","native":"ð§ââï¸"}],"version":5},"female_genie":{"id":"female_genie","name":"Woman Genie","keywords":["female"],"skins":[{"unified":"1f9de-200d-2640-fe0f","native":"ð§ââï¸"}],"version":5},"zombie":{"id":"zombie","name":"Zombie","keywords":["dead"],"skins":[{"unified":"1f9df","native":"ð§"}],"version":5},"male_zombie":{"id":"male_zombie","name":"Man Zombie","keywords":["male","dracula","undead","walking","dead"],"skins":[{"unified":"1f9df-200d-2642-fe0f","native":"ð§ââï¸"}],"version":5},"female_zombie":{"id":"female_zombie","name":"Woman Zombie","keywords":["female","undead","walking","dead"],"skins":[{"unified":"1f9df-200d-2640-fe0f","native":"ð§ââï¸"}],"version":5},"troll":{"id":"troll","name":"Troll","keywords":["mystical","monster"],"skins":[{"unified":"1f9cc","native":"ð§"}],"version":14}
244,"massage":{"id":"massage","name":"Face Massage","keywords":["person","getting","relax"],"skins":[{"unified":"1f486","native":"ð"},{"unified":"1f486-1f3fb","native":"ðð»"},{"unified":"1f486-1f3fc","native":"ðð¼"},{"unified":"1f486-1f3fd","native":"ðð½"},{"unified":"1f486-1f3fe","native":"ðð¾"},{"unified":"1f486-1f3ff","native":"ðð¿"}],"version":1},"man-getting-massage":{"id":"man-getting-massage","name":"Man Getting Massage","keywords":["getting-massage","male","boy","head"],"skins":[{"unified":"1f486-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f486-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f486-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f486-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f486-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f486-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-getting-massage":{"id":"woman-getting-massage","name":"Woman Getting Massage","keywords":["getting-massage","female","girl","head"],"skins":[{"unified":"1f486-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f486-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f486-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f486-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f486-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f486-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"haircut":{"id":"haircut","name":"Haircut","keywords":["person","getting","hairstyle"],"skins":[{"unified":"1f487","native":"ð"},{"unified":"1f487-1f3fb","native":"ðð»"},{"unified":"1f487-1f3fc","native":"ðð¼"},{"unified":"1f487-1f3fd","native":"ðð½"},{"unified":"1f487-1f3fe","native":"ðð¾"},{"unified":"1f487-1f3ff","native":"ðð¿"}],"version":1},"man-getting-haircut":{"id":"man-getting-haircut","name":"Man Getting Haircut","keywords":["getting-haircut","male","boy"],"skins":[{"unified":"1f487-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f487-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f487-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f487-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f487-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f487-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-getting-haircut":{"id":"woman-getting-haircut","name":"Woman Getting Haircut","keywords":["getting-haircut","female","girl"],"skins":[{"unified":"1f487-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f487-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f487-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f487-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f487-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f487-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"walking":{"id":"walking","name":"Pedestrian","keywords":["walking","person","move"],"skins":[{"unified":"1f6b6","native":"ð¶"},{"unified":"1f6b6-1f3fb","native":"ð¶ð»"},{"unified":"1f6b6-1f3fc","native":"ð¶ð¼"},{"unified":"1f6b6-1f3fd","native":"ð¶ð½"},{"unified":"1f6b6-1f3fe","native":"ð¶ð¾"},{"unified":"1f6b6-1f3ff","native":"ð¶ð¿"}],"version":1},"man-walking":{"id":"man-walking","name":"Man Walking","keywords":["human","feet","steps"],"skins":[{"unified":"1f6b6-200d-2642-fe0f","native":"ð¶ââï¸"},{"unified":"1f6b6-1f3fb-200d-2642-fe0f","native":"ð¶ð»ââï¸"},{"unified":"1f6b6-1f3fc-200d-2642-fe0f","native":"ð¶ð¼ââï¸"},{"unified":"1f6b6-1f3fd-200d-2642-fe0f","native":"ð¶ð½ââï¸"},{"unified":"1f6b6-1f3fe-200d-2642-fe0f","native":"ð¶ð¾ââï¸"},{"unified":"1f6b6-1f3ff-200d-2642-fe0f","native":"ð¶ð¿ââï¸"}],"version":4},"woman-walking":{"id":"woman-walking","name":"Woman Walking","keywords":["human","feet","steps","female"],"skins":[{"unified":"1f6b6-200d-2640-fe0f","native":"ð¶ââï¸"},{"unified":"1f6b6-1f3fb-200d-2640-fe0f","native":"ð¶ð»ââï¸"},{"unified":"1f6b6-1f3fc-200d-2640-fe0f","native":"ð¶ð¼ââï¸"},{"unified":"1f6b6-1f3fd-200d-2640-fe0f","native":"ð¶ð½ââï¸"},{"unified":"1f6b6-1f3fe-200d-2640-fe0f","native":"ð¶ð¾ââï¸"},{"unified":"1f6b6-1f3ff-200d-2640-fe0f","native":"ð¶ð¿ââï¸"}],"version":4},"standing_person":{"id":"standing_person","name":"Standing Person","keywords":["still"],"skins":[{"unified":"1f9cd","native":"ð§"},{"unified":"1f9cd-1f3fb","native":"ð§ð»"},{"unified":"1f9cd-1f3fc","native":"ð§ð¼"},{"unified":"1f9cd-1f3fd","native":"ð§ð½"},{"unified":"1f9cd-1f3fe","native":"ð§ð¾"},{"unified":"1f9cd-1f3ff","native":"ð§ð¿"}],"version":12},"man_standing":{"id":"man_standing","name":"Man Standing","keywords":["still"],"skins":[{"unified":"1f9cd-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9cd-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9cd-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9cd-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9cd-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9cd-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":12},"woman_standing":{"id":"woman_standing","name":"Woman Standing","keywords":["still"],"skins":[{"unified":"1f9cd-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9cd-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9cd-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9cd-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9cd-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9cd-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":12},"kneeling_person":{"id":"kneeling_person","name":"Kneeling Person","keywords":["pray","respectful"],"skins":[{"unified":"1f9ce","native":"ð§"},{"unified":"1f9ce-1f3fb","native":"ð§ð»"},{"unified":"1f9ce-1f3fc","native":"ð§ð¼"},{"unified":"1f9ce-1f3fd","native":"ð§ð½"},{"unified":"1f9ce-1f3fe","native":"ð§ð¾"},{"unified":"1f9ce-1f3ff","native":"ð§ð¿"}],"version":12}
244,"man_kneeling":{"id":"man_kneeling","name":"Man Kneeling","keywords":["pray","respectful"],"skins":[{"unified":"1f9ce-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9ce-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9ce-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9ce-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9ce-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9ce-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":12},"woman_kneeling":{"id":"woman_kneeling","name":"Woman Kneeling","keywords":["respectful","pray"],"skins":[{"unified":"1f9ce-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9ce-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9ce-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9ce-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9ce-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9ce-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":12},"person_with_probing_cane":{"id":"person_with_probing_cane","name":"Person with White Cane","keywords":["probing","blind"],"skins":[{"unified":"1f9d1-200d-1f9af","native":"ð§âð¦¯"},{"unified":"1f9d1-1f3fb-200d-1f9af","native":"ð§ð»âð¦¯"},{"unified":"1f9d1-1f3fc-200d-1f9af","native":"ð§ð¼âð¦¯"},{"unified":"1f9d1-1f3fd-200d-1f9af","native":"ð§ð½âð¦¯"},{"unified":"1f9d1-1f3fe-200d-1f9af","native":"ð§ð¾âð¦¯"},{"unified":"1f9d1-1f3ff-200d-1f9af","native":"ð§ð¿âð¦¯"}],"version":12.1},"man_with_probing_cane":{"id":"man_with_probing_cane","name":"Man with White Cane","keywords":["probing","blind"],"skins":[{"unified":"1f468-200d-1f9af","native":"ð¨âð¦¯"},{"unified":"1f468-1f3fb-200d-1f9af","native":"ð¨ð»âð¦¯"},{"unified":"1f468-1f3fc-200d-1f9af","native":"ð¨ð¼âð¦¯"},{"unified":"1f468-1f3fd-200d-1f9af","native":"ð¨ð½âð¦¯"},{"unified":"1f468-1f3fe-200d-1f9af","native":"ð¨ð¾âð¦¯"},{"unified":"1f468-1f3ff-200d-1f9af","native":"ð¨ð¿âð¦¯"}],"version":12},"woman_with_probing_cane":{"id":"woman_with_probing_cane","name":"Woman with White Cane","keywords":["probing","blind"],"skins":[{"unified":"1f469-200d-1f9af","native":"ð©âð¦¯"},{"unified":"1f469-1f3fb-200d-1f9af","native":"ð©ð»âð¦¯"},{"unified":"1f469-1f3fc-200d-1f9af","native":"ð©ð¼âð¦¯"},{"unified":"1f469-1f3fd-200d-1f9af","native":"ð©ð½âð¦¯"},{"unified":"1f469-1f3fe-200d-1f9af","native":"ð©ð¾âð¦¯"},{"unified":"1f469-1f3ff-200d-1f9af","native":"ð©ð¿âð¦¯"}],"version":12},"person_in_motorized_wheelchair":{"id":"person_in_motorized_wheelchair","name":"Person in Motorized Wheelchair","keywords":["disability","accessibility"],"skins":[{"unified":"1f9d1-200d-1f9bc","native":"ð§âð¦¼"},{"unified":"1f9d1-1f3fb-200d-1f9bc","native":"ð§ð»âð¦¼"},{"unified":"1f9d1-1f3fc-200d-1f9bc","native":"ð§ð¼âð¦¼"},{"unified":"1f9d1-1f3fd-200d-1f9bc","native":"ð§ð½âð¦¼"},{"unified":"1f9d1-1f3fe-200d-1f9bc","native":"ð§ð¾âð¦¼"},{"unified":"1f9d1-1f3ff-200d-1f9bc","native":"ð§ð¿âð¦¼"}],"version":12.1},"man_in_motorized_wheelchair":{"id":"man_in_motorized_wheelchair","name":"Man in Motorized Wheelchair","keywords":["disability","accessibility"],"skins":[{"unified":"1f468-200d-1f9bc","native":"ð¨âð¦¼"},{"unified":"1f468-1f3fb-200d-1f9bc","native":"ð¨ð»âð¦¼"},{"unified":"1f468-1f3fc-200d-1f9bc","native":"ð¨ð¼âð¦¼"},{"unified":"1f468-1f3fd-200d-1f9bc","native":"ð¨ð½âð¦¼"},{"unified":"1f468-1f3fe-200d-1f9bc","native":"ð¨ð¾âð¦¼"},{"unified":"1f468-1f3ff-200d-1f9bc","native":"ð¨ð¿âð¦¼"}],"version":12},"woman_in_motorized_wheelchair":{"id":"woman_in_motorized_wheelchair","name":"Woman in Motorized Wheelchair","keywords":["disability","accessibility"],"skins":[{"unified":"1f469-200d-1f9bc","native":"ð©âð¦¼"},{"unified":"1f469-1f3fb-200d-1f9bc","native":"ð©ð»âð¦¼"},{"unified":"1f469-1f3fc-200d-1f9bc","native":"ð©ð¼âð¦¼"},{"unified":"1f469-1f3fd-200d-1f9bc","native":"ð©ð½âð¦¼"},{"unified":"1f469-1f3fe-200d-1f9bc","native":"ð©ð¾âð¦¼"},{"unified":"1f469-1f3ff-200d-1f9bc","native":"ð©ð¿âð¦¼"}],"version":12},"person_in_manual_wheelchair":{"id":"person_in_manual_wheelchair","name":"Person in Manual Wheelchair","keywords":["disability","accessibility"],"skins":[{"unified":"1f9d1-200d-1f9bd","native":"ð§âð¦½"},{"unified":"1f9d1-1f3fb-200d-1f9bd","native":"ð§ð»âð¦½"},{"unified":"1f9d1-1f3fc-200d-1f9bd","native":"ð§ð¼âð¦½"},{"unified":"1f9d1-1f3fd-200d-1f9bd","native":"ð§ð½âð¦½"},{"unified":"1f9d1-1f3fe-200d-1f9bd","native":"ð§ð¾âð¦½"},{"unified":"1f9d1-1f3ff-200d-1f9bd","native":"ð§ð¿âð¦½"}],"version":12.1},"man_in_manual_wheelchair":{"id":"man_in_manual_wheelchair","name":"Man in Manual Wheelchair","keywords":["disability","accessibility"],"skins":[{"unified":"1f468-200d-1f9bd","native":"ð¨âð¦½"},{"unified":"1f468-1f3fb-200d-1f9bd","native":"ð¨ð»âð¦½"},{"unified":"1f468-1f3fc-200d-1f9bd","native":"ð¨ð¼âð¦½"},{"unified":"1f468-1f3fd-200d-1f9bd","native":"ð¨ð½âð¦½"},{"unified":"1f468-1f3fe-200d-1f9bd","native":"ð¨ð¾âð¦½"},{"unified":"1f468-1f3ff-200d-1f9bd","native":"ð¨ð¿âð¦½"}],"version":12},"woman_in_manual_wheelchair":{"id":"woman_in_manual_wheelchair","name":"Woman in Manual Wheelchair","keywords":["disability","accessibility"],"skins":[{"unified":"1f469-200d-1f9bd","native":"ð©âð¦½"},{"unified":"1f469-1f3fb-200d-1f9bd","native":"ð©ð»âð¦½"},{"unified":"1f469-1f3fc-200d-1f9bd","native":"ð©ð¼âð¦½"},{"unified":"1f469-1f3fd-200d-1f9bd","native":"ð©ð½âð¦½"},{"unified":"1f469-1f3fe-200d-1f9bd","native":"ð©ð¾âð¦½"},{"unified":"1f469-1f3ff-200d-1f9bd","native":"ð©ð¿âð¦½"}],"version":12},"runner":{"id":"runner","name":"Runner","keywords":["running","person","move"],"skins":[{"unified":"1f3c3","native":"ð"},{"unified":"1f3c3-1f3fb","native":"ðð»"},{"unified":"1f3c3-1f3fc","native":"ðð¼"},{"unified":"1f3c3-1f3fd","native":"ðð½"},{"unified":"1f3c3-1f3fe","native":"ðð¾"},{"unified":"1f3c3-1f3ff","native":"ðð¿"}],"version":1},"man-running":{"id":"man-running","name":"Man Running","keywords":["walking","exercise","race"],"skins":[{"unified":"1f3c3-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f3c3-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f3c3-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3c3-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f3c3-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3c3-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-running":{"id":"woman-running","name":"Woman Running","keywords":["walking","exercise","race","female"],"skins":[{"unified":"1f3c3-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f3c3-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f3c3-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3c3-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f3c3-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3c3-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"dancer":{"id":"dancer","name":"Dancer","keywords":["woman","dancing","female","girl","fun"],"skins":[{"unified":"1f483","native":"ð"},{"unified":"1f483-1f3fb","native":"ðð»"},{"unified":"1f483-1f3fc","native":"ðð¼"},{"unified":"1f483-1f3fd","native":"ðð½"},{"unified":"1f483-1f3fe","native":"ðð¾"},{"unified":"1f483-1f3ff","native":"ðð¿"}],"version":1},"man_dancing":{"id":"man_dancing","name":"Man Dancing","keywords":["male","boy","fun","dancer"],"skins":[{"unified":"1f57a","native":"ðº"},{"unified":"1f57a-1f3fb","native":"ðºð»"},{"unified":"1f57a-1f3fc","native":"ðºð¼"},{"unified":"1f57a-1f3fd","native":"ðºð½"},{"unified":"1f57a-1f3fe","native":"ðºð¾"},{"unified":"1f57a-1f3ff","native":"ðºð¿"}],"version":3}
244,"man_in_business_suit_levitating":{"id":"man_in_business_suit_levitating","name":"Person in Suit Levitating","keywords":["man","business","levitate","hover","jump"],"skins":[{"unified":"1f574-fe0f","native":"ð´ï¸"},{"unified":"1f574-1f3fb","native":"ð´ð»"},{"unified":"1f574-1f3fc","native":"ð´ð¼"},{"unified":"1f574-1f3fd","native":"ð´ð½"},{"unified":"1f574-1f3fe","native":"ð´ð¾"},{"unified":"1f574-1f3ff","native":"ð´ð¿"}],"version":1},"dancers":{"id":"dancers","name":"Woman with Bunny Ears","keywords":["dancers","people","perform","costume"],"skins":[{"unified":"1f46f","native":"ð¯"}],"version":1},"men-with-bunny-ears-partying":{"id":"men-with-bunny-ears-partying","name":"Men with Bunny Ears","keywords":["with-bunny-ears-partying","man","male","boys"],"skins":[{"unified":"1f46f-200d-2642-fe0f","native":"ð¯ââï¸"}],"version":4},"women-with-bunny-ears-partying":{"id":"women-with-bunny-ears-partying","name":"Women with Bunny Ears","keywords":["with-bunny-ears-partying","woman","female","girls"],"skins":[{"unified":"1f46f-200d-2640-fe0f","native":"ð¯ââï¸"}],"version":4},"person_in_steamy_room":{"id":"person_in_steamy_room","name":"Person in Steamy Room","keywords":["relax","spa"],"skins":[{"unified":"1f9d6","native":"ð§"},{"unified":"1f9d6-1f3fb","native":"ð§ð»"},{"unified":"1f9d6-1f3fc","native":"ð§ð¼"},{"unified":"1f9d6-1f3fd","native":"ð§ð½"},{"unified":"1f9d6-1f3fe","native":"ð§ð¾"},{"unified":"1f9d6-1f3ff","native":"ð§ð¿"}],"version":5},"man_in_steamy_room":{"id":"man_in_steamy_room","name":"Man in Steamy Room","keywords":["male","spa","steamroom","sauna"],"skins":[{"unified":"1f9d6-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9d6-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d6-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d6-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d6-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d6-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"woman_in_steamy_room":{"id":"woman_in_steamy_room","name":"Woman in Steamy Room","keywords":["female","spa","steamroom","sauna"],"skins":[{"unified":"1f9d6-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9d6-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d6-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d6-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d6-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d6-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"person_climbing":{"id":"person_climbing","name":"Person Climbing","keywords":["sport"],"skins":[{"unified":"1f9d7","native":"ð§"},{"unified":"1f9d7-1f3fb","native":"ð§ð»"},{"unified":"1f9d7-1f3fc","native":"ð§ð¼"},{"unified":"1f9d7-1f3fd","native":"ð§ð½"},{"unified":"1f9d7-1f3fe","native":"ð§ð¾"},{"unified":"1f9d7-1f3ff","native":"ð§ð¿"}],"version":5},"man_climbing":{"id":"man_climbing","name":"Man Climbing","keywords":["sports","hobby","male","rock"],"skins":[{"unified":"1f9d7-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9d7-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d7-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d7-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d7-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d7-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"woman_climbing":{"id":"woman_climbing","name":"Woman Climbing","keywords":["sports","hobby","female","rock"],"skins":[{"unified":"1f9d7-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9d7-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d7-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d7-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d7-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d7-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"fencer":{"id":"fencer","name":"Fencer","keywords":["person","fencing","sports","sword"],"skins":[{"unified":"1f93a","native":"ð¤º"}],"version":3},"horse_racing":{"id":"horse_racing","name":"Horse Racing","keywords":["animal","betting","competition","gambling","luck"],"skins":[{"unified":"1f3c7","native":"ð"},{"unified":"1f3c7-1f3fb","native":"ðð»"},{"unified":"1f3c7-1f3fc","native":"ðð¼"},{"unified":"1f3c7-1f3fd","native":"ðð½"},{"unified":"1f3c7-1f3fe","native":"ðð¾"},{"unified":"1f3c7-1f3ff","native":"ðð¿"}],"version":1},"skier":{"id":"skier","name":"Skier","keywords":["sports","winter","snow"],"skins":[{"unified":"26f7-fe0f","native":"â·ï¸"}],"version":1},"snowboarder":{"id":"snowboarder","name":"Snowboarder","keywords":["sports","winter"],"skins":[{"unified":"1f3c2","native":"ð"},{"unified":"1f3c2-1f3fb","native":"ðð»"},{"unified":"1f3c2-1f3fc","native":"ðð¼"},{"unified":"1f3c2-1f3fd","native":"ðð½"},{"unified":"1f3c2-1f3fe","native":"ðð¾"},{"unified":"1f3c2-1f3ff","native":"ðð¿"}],"version":1},"golfer":{"id":"golfer","name":"Person Golfing","keywords":["golfer","sports","business"],"skins":[{"unified":"1f3cc-fe0f","native":"ðï¸"},{"unified":"1f3cc-1f3fb","native":"ðð»"},{"unified":"1f3cc-1f3fc","native":"ðð¼"},{"unified":"1f3cc-1f3fd","native":"ðð½"},{"unified":"1f3cc-1f3fe","native":"ðð¾"},{"unified":"1f3cc-1f3ff","native":"ðð¿"}],"version":1}
244,"man-golfing":{"id":"man-golfing","name":"Man Golfing","keywords":["sport"],"skins":[{"unified":"1f3cc-fe0f-200d-2642-fe0f","native":"ðï¸ââï¸"},{"unified":"1f3cc-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f3cc-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3cc-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f3cc-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3cc-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-golfing":{"id":"woman-golfing","name":"Woman Golfing","keywords":["sports","business","female"],"skins":[{"unified":"1f3cc-fe0f-200d-2640-fe0f","native":"ðï¸ââï¸"},{"unified":"1f3cc-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f3cc-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3cc-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f3cc-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3cc-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"surfer":{"id":"surfer","name":"Surfer","keywords":["person","surfing","sport","sea"],"skins":[{"unified":"1f3c4","native":"ð"},{"unified":"1f3c4-1f3fb","native":"ðð»"},{"unified":"1f3c4-1f3fc","native":"ðð¼"},{"unified":"1f3c4-1f3fd","native":"ðð½"},{"unified":"1f3c4-1f3fe","native":"ðð¾"},{"unified":"1f3c4-1f3ff","native":"ðð¿"}],"version":1},"man-surfing":{"id":"man-surfing","name":"Man Surfing","keywords":["sports","ocean","sea","summer","beach"],"skins":[{"unified":"1f3c4-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f3c4-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f3c4-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3c4-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f3c4-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3c4-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-surfing":{"id":"woman-surfing","name":"Woman Surfing","keywords":["sports","ocean","sea","summer","beach","female"],"skins":[{"unified":"1f3c4-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f3c4-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f3c4-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3c4-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f3c4-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3c4-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"rowboat":{"id":"rowboat","name":"Rowboat","keywords":["person","rowing","boat","sport","move"],"skins":[{"unified":"1f6a3","native":"ð£"},{"unified":"1f6a3-1f3fb","native":"ð£ð»"},{"unified":"1f6a3-1f3fc","native":"ð£ð¼"},{"unified":"1f6a3-1f3fd","native":"ð£ð½"},{"unified":"1f6a3-1f3fe","native":"ð£ð¾"},{"unified":"1f6a3-1f3ff","native":"ð£ð¿"}],"version":1},"man-rowing-boat":{"id":"man-rowing-boat","name":"Man Rowing Boat","keywords":["rowing-boat","sports","hobby","water","ship"],"skins":[{"unified":"1f6a3-200d-2642-fe0f","native":"ð£ââï¸"},{"unified":"1f6a3-1f3fb-200d-2642-fe0f","native":"ð£ð»ââï¸"},{"unified":"1f6a3-1f3fc-200d-2642-fe0f","native":"ð£ð¼ââï¸"},{"unified":"1f6a3-1f3fd-200d-2642-fe0f","native":"ð£ð½ââï¸"},{"unified":"1f6a3-1f3fe-200d-2642-fe0f","native":"ð£ð¾ââï¸"},{"unified":"1f6a3-1f3ff-200d-2642-fe0f","native":"ð£ð¿ââï¸"}],"version":4},"woman-rowing-boat":{"id":"woman-rowing-boat","name":"Woman Rowing Boat","keywords":["rowing-boat","sports","hobby","water","ship","female"],"skins":[{"unified":"1f6a3-200d-2640-fe0f","native":"ð£ââï¸"},{"unified":"1f6a3-1f3fb-200d-2640-fe0f","native":"ð£ð»ââï¸"},{"unified":"1f6a3-1f3fc-200d-2640-fe0f","native":"ð£ð¼ââï¸"},{"unified":"1f6a3-1f3fd-200d-2640-fe0f","native":"ð£ð½ââï¸"},{"unified":"1f6a3-1f3fe-200d-2640-fe0f","native":"ð£ð¾ââï¸"},{"unified":"1f6a3-1f3ff-200d-2640-fe0f","native":"ð£ð¿ââï¸"}],"version":4},"swimmer":{"id":"swimmer","name":"Swimmer","keywords":["person","swimming","sport","pool"],"skins":[{"unified":"1f3ca","native":"ð"},{"unified":"1f3ca-1f3fb","native":"ðð»"},{"unified":"1f3ca-1f3fc","native":"ðð¼"},{"unified":"1f3ca-1f3fd","native":"ðð½"},{"unified":"1f3ca-1f3fe","native":"ðð¾"},{"unified":"1f3ca-1f3ff","native":"ðð¿"}],"version":1}
244,"man-swimming":{"id":"man-swimming","name":"Man Swimming","keywords":["sports","exercise","human","athlete","water","summer"],"skins":[{"unified":"1f3ca-200d-2642-fe0f","native":"ðââï¸"},{"unified":"1f3ca-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f3ca-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3ca-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f3ca-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3ca-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-swimming":{"id":"woman-swimming","name":"Woman Swimming","keywords":["sports","exercise","human","athlete","water","summer","female"],"skins":[{"unified":"1f3ca-200d-2640-fe0f","native":"ðââï¸"},{"unified":"1f3ca-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f3ca-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3ca-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f3ca-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3ca-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"person_with_ball":{"id":"person_with_ball","name":"Person Bouncing Ball","keywords":["with","sports","human"],"skins":[{"unified":"26f9-fe0f","native":"â¹ï¸"},{"unified":"26f9-1f3fb","native":"â¹ð»"},{"unified":"26f9-1f3fc","native":"â¹ð¼"},{"unified":"26f9-1f3fd","native":"â¹ð½"},{"unified":"26f9-1f3fe","native":"â¹ð¾"},{"unified":"26f9-1f3ff","native":"â¹ð¿"}],"version":1},"man-bouncing-ball":{"id":"man-bouncing-ball","name":"Man Bouncing Ball","keywords":["bouncing-ball","sport"],"skins":[{"unified":"26f9-fe0f-200d-2642-fe0f","native":"â¹ï¸ââï¸"},{"unified":"26f9-1f3fb-200d-2642-fe0f","native":"â¹ð»ââï¸"},{"unified":"26f9-1f3fc-200d-2642-fe0f","native":"â¹ð¼ââï¸"},{"unified":"26f9-1f3fd-200d-2642-fe0f","native":"â¹ð½ââï¸"},{"unified":"26f9-1f3fe-200d-2642-fe0f","native":"â¹ð¾ââï¸"},{"unified":"26f9-1f3ff-200d-2642-fe0f","native":"â¹ð¿ââï¸"}],"version":4},"woman-bouncing-ball":{"id":"woman-bouncing-ball","name":"Woman Bouncing Ball","keywords":["bouncing-ball","sports","human","female"],"skins":[{"unified":"26f9-fe0f-200d-2640-fe0f","native":"â¹ï¸ââï¸"},{"unified":"26f9-1f3fb-200d-2640-fe0f","native":"â¹ð»ââï¸"},{"unified":"26f9-1f3fc-200d-2640-fe0f","native":"â¹ð¼ââï¸"},{"unified":"26f9-1f3fd-200d-2640-fe0f","native":"â¹ð½ââï¸"},{"unified":"26f9-1f3fe-200d-2640-fe0f","native":"â¹ð¾ââï¸"},{"unified":"26f9-1f3ff-200d-2640-fe0f","native":"â¹ð¿ââï¸"}],"version":4},"weight_lifter":{"id":"weight_lifter","name":"Person Lifting Weights","keywords":["weight","lifter","sports","training","exercise"],"skins":[{"unified":"1f3cb-fe0f","native":"ðï¸"},{"unified":"1f3cb-1f3fb","native":"ðð»"},{"unified":"1f3cb-1f3fc","native":"ðð¼"},{"unified":"1f3cb-1f3fd","native":"ðð½"},{"unified":"1f3cb-1f3fe","native":"ðð¾"},{"unified":"1f3cb-1f3ff","native":"ðð¿"}],"version":1},"man-lifting-weights":{"id":"man-lifting-weights","name":"Man Lifting Weights","keywords":["lifting-weights","sport"],"skins":[{"unified":"1f3cb-fe0f-200d-2642-fe0f","native":"ðï¸ââï¸"},{"unified":"1f3cb-1f3fb-200d-2642-fe0f","native":"ðð»ââï¸"},{"unified":"1f3cb-1f3fc-200d-2642-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3cb-1f3fd-200d-2642-fe0f","native":"ðð½ââï¸"},{"unified":"1f3cb-1f3fe-200d-2642-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3cb-1f3ff-200d-2642-fe0f","native":"ðð¿ââï¸"}],"version":4},"woman-lifting-weights":{"id":"woman-lifting-weights","name":"Woman Lifting Weights","keywords":["lifting-weights","sports","training","exercise","female"],"skins":[{"unified":"1f3cb-fe0f-200d-2640-fe0f","native":"ðï¸ââï¸"},{"unified":"1f3cb-1f3fb-200d-2640-fe0f","native":"ðð»ââï¸"},{"unified":"1f3cb-1f3fc-200d-2640-fe0f","native":"ðð¼ââï¸"},{"unified":"1f3cb-1f3fd-200d-2640-fe0f","native":"ðð½ââï¸"},{"unified":"1f3cb-1f3fe-200d-2640-fe0f","native":"ðð¾ââï¸"},{"unified":"1f3cb-1f3ff-200d-2640-fe0f","native":"ðð¿ââï¸"}],"version":4},"bicyclist":{"id":"bicyclist","name":"Bicyclist","keywords":["person","biking","sport","move"],"skins":[{"unified":"1f6b4","native":"ð´"},{"unified":"1f6b4-1f3fb","native":"ð´ð»"},{"unified":"1f6b4-1f3fc","native":"ð´ð¼"},{"unified":"1f6b4-1f3fd","native":"ð´ð½"},{"unified":"1f6b4-1f3fe","native":"ð´ð¾"},{"unified":"1f6b4-1f3ff","native":"ð´ð¿"}],"version":1},"man-biking":{"id":"man-biking","name":"Man Biking","keywords":["sports","bike","exercise","hipster"],"skins":[{"unified":"1f6b4-200d-2642-fe0f","native":"ð´ââï¸"},{"unified":"1f6b4-1f3fb-200d-2642-fe0f","native":"ð´ð»ââï¸"},{"unified":"1f6b4-1f3fc-200d-2642-fe0f","native":"ð´ð¼ââï¸"},{"unified":"1f6b4-1f3fd-200d-2642-fe0f","native":"ð´ð½ââï¸"},{"unified":"1f6b4-1f3fe-200d-2642-fe0f","native":"ð´ð¾ââï¸"},{"unified":"1f6b4-1f3ff-200d-2642-fe0f","native":"ð´ð¿ââï¸"}],"version":4},"woman-biking":{"id":"woman-biking","name":"Woman Biking","keywords":["sports","bike","exercise","hipster","female"],"skins":[{"unified":"1f6b4-200d-2640-fe0f","native":"ð´ââï¸"},{"unified":"1f6b4-1f3fb-200d-2640-fe0f","native":"ð´ð»ââï¸"},{"unified":"1f6b4-1f3fc-200d-2640-fe0f","native":"ð´ð¼ââï¸"},{"unified":"1f6b4-1f3fd-200d-2640-fe0f","native":"ð´ð½ââï¸"},{"unified":"1f6b4-1f3fe-200d-2640-fe0f","native":"ð´ð¾ââï¸"},{"unified":"1f6b4-1f3ff-200d-2640-fe0f","native":"ð´ð¿ââï¸"}],"version":4},"mountain_bicyclist":{"id":"mountain_bicyclist","name":"Mountain Bicyclist","keywords":["person","biking","sport","move"],"skins":[{"unified":"1f6b5","native":"ðµ"},{"unified":"1f6b5-1f3fb","native":"ðµð»"},{"unified":"1f6b5-1f3fc","native":"ðµð¼"},{"unified":"1f6b5-1f3fd","native":"ðµð½"},{"unified":"1f6b5-1f3fe","native":"ðµð¾"},{"unified":"1f6b5-1f3ff","native":"ðµð¿"}],"version":1},"man-mountain-biking":{"id":"man-mountain-biking","name":"Man Mountain Biking","keywords":["mountain-biking","transportation","sports","human","race","bike"],"skins":[{"unified":"1f6b5-200d-2642-fe0f","native":"ðµââï¸"},{"unified":"1f6b5-1f3fb-200d-2642-fe0f","native":"ðµð»ââï¸"},{"unified":"1f6b5-1f3fc-200d-2642-fe0f","native":"ðµð¼ââï¸"},{"unified":"1f6b5-1f3fd-200d-2642-fe0f","native":"ðµð½ââï¸"},{"unified":"1f6b5-1f3fe-200d-2642-fe0f","native":"ðµð¾ââï¸"},{"unified":"1f6b5-1f3ff-200d-2642-fe0f","native":"ðµð¿ââï¸"}],"version":4},"woman-mountain-biking":{"id":"woman-mountain-biking","name":"Woman Mountain Biking","keywords":["mountain-biking","transportation","sports","human","race","bike","female"],"skins":[{"unified":"1f6b5-200d-2640-fe0f","native":"ðµââï¸"},{"unified":"1f6b5-1f3fb-200d-2640-fe0f","native":"ðµð»ââï¸"},{"unified":"1f6b5-1f3fc-200d-2640-fe0f","native":"ðµð¼ââï¸"},{"unified":"1f6b5-1f3fd-200d-2640-fe0f","native":"ðµð½ââï¸"},{"unified":"1f6b5-1f3fe-200d-2640-fe0f","native":"ðµð¾ââï¸"},{"unified":"1f6b5-1f3ff-200d-2640-fe0f","native":"ðµð¿ââï¸"}],"version":4}
244,"person_doing_cartwheel":{"id":"person_doing_cartwheel","name":"Person Cartwheeling","keywords":["doing","cartwheel","sport","gymnastic"],"skins":[{"unified":"1f938","native":"ð¤¸"},{"unified":"1f938-1f3fb","native":"ð¤¸ð»"},{"unified":"1f938-1f3fc","native":"ð¤¸ð¼"},{"unified":"1f938-1f3fd","native":"ð¤¸ð½"},{"unified":"1f938-1f3fe","native":"ð¤¸ð¾"},{"unified":"1f938-1f3ff","native":"ð¤¸ð¿"}],"version":3},"man-cartwheeling":{"id":"man-cartwheeling","name":"Man Cartwheeling","keywords":["gymnastics"],"skins":[{"unified":"1f938-200d-2642-fe0f","native":"ð¤¸ââï¸"},{"unified":"1f938-1f3fb-200d-2642-fe0f","native":"ð¤¸ð»ââï¸"},{"unified":"1f938-1f3fc-200d-2642-fe0f","native":"ð¤¸ð¼ââï¸"},{"unified":"1f938-1f3fd-200d-2642-fe0f","native":"ð¤¸ð½ââï¸"},{"unified":"1f938-1f3fe-200d-2642-fe0f","native":"ð¤¸ð¾ââï¸"},{"unified":"1f938-1f3ff-200d-2642-fe0f","native":"ð¤¸ð¿ââï¸"}],"version":4},"woman-cartwheeling":{"id":"woman-cartwheeling","name":"Woman Cartwheeling","keywords":["gymnastics"],"skins":[{"unified":"1f938-200d-2640-fe0f","native":"ð¤¸ââï¸"},{"unified":"1f938-1f3fb-200d-2640-fe0f","native":"ð¤¸ð»ââï¸"},{"unified":"1f938-1f3fc-200d-2640-fe0f","native":"ð¤¸ð¼ââï¸"},{"unified":"1f938-1f3fd-200d-2640-fe0f","native":"ð¤¸ð½ââï¸"},{"unified":"1f938-1f3fe-200d-2640-fe0f","native":"ð¤¸ð¾ââï¸"},{"unified":"1f938-1f3ff-200d-2640-fe0f","native":"ð¤¸ð¿ââï¸"}],"version":4},"wrestlers":{"id":"wrestlers","name":"Wrestlers","keywords":["people","wrestling","sport"],"skins":[{"unified":"1f93c","native":"ð¤¼"}],"version":3},"man-wrestling":{"id":"man-wrestling","name":"Men Wrestling","keywords":["man","sports","wrestlers"],"skins":[{"unified":"1f93c-200d-2642-fe0f","native":"ð¤¼ââï¸"}],"version":4},"woman-wrestling":{"id":"woman-wrestling","name":"Women Wrestling","keywords":["woman","sports","wrestlers"],"skins":[{"unified":"1f93c-200d-2640-fe0f","native":"ð¤¼ââï¸"}],"version":4},"water_polo":{"id":"water_polo","name":"Water Polo","keywords":["person","playing","sport"],"skins":[{"unified":"1f93d","native":"ð¤½"},{"unified":"1f93d-1f3fb","native":"ð¤½ð»"},{"unified":"1f93d-1f3fc","native":"ð¤½ð¼"},{"unified":"1f93d-1f3fd","native":"ð¤½ð½"},{"unified":"1f93d-1f3fe","native":"ð¤½ð¾"},{"unified":"1f93d-1f3ff","native":"ð¤½ð¿"}],"version":3},"man-playing-water-polo":{"id":"man-playing-water-polo","name":"Man Playing Water Polo","keywords":["playing-water-polo","sports","pool"],"skins":[{"unified":"1f93d-200d-2642-fe0f","native":"ð¤½ââï¸"},{"unified":"1f93d-1f3fb-200d-2642-fe0f","native":"ð¤½ð»ââï¸"},{"unified":"1f93d-1f3fc-200d-2642-fe0f","native":"ð¤½ð¼ââï¸"},{"unified":"1f93d-1f3fd-200d-2642-fe0f","native":"ð¤½ð½ââï¸"},{"unified":"1f93d-1f3fe-200d-2642-fe0f","native":"ð¤½ð¾ââï¸"},{"unified":"1f93d-1f3ff-200d-2642-fe0f","native":"ð¤½ð¿ââï¸"}],"version":4},"woman-playing-water-polo":{"id":"woman-playing-water-polo","name":"Woman Playing Water Polo","keywords":["playing-water-polo","sports","pool"],"skins":[{"unified":"1f93d-200d-2640-fe0f","native":"ð¤½ââï¸"},{"unified":"1f93d-1f3fb-200d-2640-fe0f","native":"ð¤½ð»ââï¸"},{"unified":"1f93d-1f3fc-200d-2640-fe0f","native":"ð¤½ð¼ââï¸"},{"unified":"1f93d-1f3fd-200d-2640-fe0f","native":"ð¤½ð½ââï¸"},{"unified":"1f93d-1f3fe-200d-2640-fe0f","native":"ð¤½ð¾ââï¸"},{"unified":"1f93d-1f3ff-200d-2640-fe0f","native":"ð¤½ð¿ââï¸"}],"version":4},"handball":{"id":"handball","name":"Handball","keywords":["person","playing","sport"],"skins":[{"unified":"1f93e","native":"ð¤¾"},{"unified":"1f93e-1f3fb","native":"ð¤¾ð»"},{"unified":"1f93e-1f3fc","native":"ð¤¾ð¼"},{"unified":"1f93e-1f3fd","native":"ð¤¾ð½"},{"unified":"1f93e-1f3fe","native":"ð¤¾ð¾"},{"unified":"1f93e-1f3ff","native":"ð¤¾ð¿"}],"version":3},"man-playing-handball":{"id":"man-playing-handball","name":"Man Playing Handball","keywords":["playing-handball","sports"],"skins":[{"unified":"1f93e-200d-2642-fe0f","native":"ð¤¾ââï¸"},{"unified":"1f93e-1f3fb-200d-2642-fe0f","native":"ð¤¾ð»ââï¸"},{"unified":"1f93e-1f3fc-200d-2642-fe0f","native":"ð¤¾ð¼ââï¸"},{"unified":"1f93e-1f3fd-200d-2642-fe0f","native":"ð¤¾ð½ââï¸"},{"unified":"1f93e-1f3fe-200d-2642-fe0f","native":"ð¤¾ð¾ââï¸"},{"unified":"1f93e-1f3ff-200d-2642-fe0f","native":"ð¤¾ð¿ââï¸"}],"version":4},"woman-playing-handball":{"id":"woman-playing-handball","name":"Woman Playing Handball","keywords":["playing-handball","sports"],"skins":[{"unified":"1f93e-200d-2640-fe0f","native":"ð¤¾ââï¸"},{"unified":"1f93e-1f3fb-200d-2640-fe0f","native":"ð¤¾ð»ââï¸"},{"unified":"1f93e-1f3fc-200d-2640-fe0f","native":"ð¤¾ð¼ââï¸"},{"unified":"1f93e-1f3fd-200d-2640-fe0f","native":"ð¤¾ð½ââï¸"},{"unified":"1f93e-1f3fe-200d-2640-fe0f","native":"ð¤¾ð¾ââï¸"},{"unified":"1f93e-1f3ff-200d-2640-fe0f","native":"ð¤¾ð¿ââï¸"}],"version":4}
244,"juggling":{"id":"juggling","name":"Juggling","keywords":["person","performance","balance"],"skins":[{"unified":"1f939","native":"ð¤¹"},{"unified":"1f939-1f3fb","native":"ð¤¹ð»"},{"unified":"1f939-1f3fc","native":"ð¤¹ð¼"},{"unified":"1f939-1f3fd","native":"ð¤¹ð½"},{"unified":"1f939-1f3fe","native":"ð¤¹ð¾"},{"unified":"1f939-1f3ff","native":"ð¤¹ð¿"}],"version":3},"man-juggling":{"id":"man-juggling","name":"Man Juggling","keywords":["juggle","balance","skill","multitask"],"skins":[{"unified":"1f939-200d-2642-fe0f","native":"ð¤¹ââï¸"},{"unified":"1f939-1f3fb-200d-2642-fe0f","native":"ð¤¹ð»ââï¸"},{"unified":"1f939-1f3fc-200d-2642-fe0f","native":"ð¤¹ð¼ââï¸"},{"unified":"1f939-1f3fd-200d-2642-fe0f","native":"ð¤¹ð½ââï¸"},{"unified":"1f939-1f3fe-200d-2642-fe0f","native":"ð¤¹ð¾ââï¸"},{"unified":"1f939-1f3ff-200d-2642-fe0f","native":"ð¤¹ð¿ââï¸"}],"version":4},"woman-juggling":{"id":"woman-juggling","name":"Woman Juggling","keywords":["juggle","balance","skill","multitask"],"skins":[{"unified":"1f939-200d-2640-fe0f","native":"ð¤¹ââï¸"},{"unified":"1f939-1f3fb-200d-2640-fe0f","native":"ð¤¹ð»ââï¸"},{"unified":"1f939-1f3fc-200d-2640-fe0f","native":"ð¤¹ð¼ââï¸"},{"unified":"1f939-1f3fd-200d-2640-fe0f","native":"ð¤¹ð½ââï¸"},{"unified":"1f939-1f3fe-200d-2640-fe0f","native":"ð¤¹ð¾ââï¸"},{"unified":"1f939-1f3ff-200d-2640-fe0f","native":"ð¤¹ð¿ââï¸"}],"version":4},"person_in_lotus_position":{"id":"person_in_lotus_position","name":"Person in Lotus Position","keywords":["meditate"],"skins":[{"unified":"1f9d8","native":"ð§"},{"unified":"1f9d8-1f3fb","native":"ð§ð»"},{"unified":"1f9d8-1f3fc","native":"ð§ð¼"},{"unified":"1f9d8-1f3fd","native":"ð§ð½"},{"unified":"1f9d8-1f3fe","native":"ð§ð¾"},{"unified":"1f9d8-1f3ff","native":"ð§ð¿"}],"version":5},"man_in_lotus_position":{"id":"man_in_lotus_position","name":"Man in Lotus Position","keywords":["male","meditation","yoga","serenity","zen","mindfulness"],"skins":[{"unified":"1f9d8-200d-2642-fe0f","native":"ð§ââï¸"},{"unified":"1f9d8-1f3fb-200d-2642-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d8-1f3fc-200d-2642-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d8-1f3fd-200d-2642-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d8-1f3fe-200d-2642-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d8-1f3ff-200d-2642-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"woman_in_lotus_position":{"id":"woman_in_lotus_position","name":"Woman in Lotus Position","keywords":["female","meditation","yoga","serenity","zen","mindfulness"],"skins":[{"unified":"1f9d8-200d-2640-fe0f","native":"ð§ââï¸"},{"unified":"1f9d8-1f3fb-200d-2640-fe0f","native":"ð§ð»ââï¸"},{"unified":"1f9d8-1f3fc-200d-2640-fe0f","native":"ð§ð¼ââï¸"},{"unified":"1f9d8-1f3fd-200d-2640-fe0f","native":"ð§ð½ââï¸"},{"unified":"1f9d8-1f3fe-200d-2640-fe0f","native":"ð§ð¾ââï¸"},{"unified":"1f9d8-1f3ff-200d-2640-fe0f","native":"ð§ð¿ââï¸"}],"version":5},"bath":{"id":"bath","name":"Bath","keywords":["person","taking","clean","shower","bathroom"],"skins":[{"unified":"1f6c0","native":"ð"},{"unified":"1f6c0-1f3fb","native":"ðð»"},{"unified":"1f6c0-1f3fc","native":"ðð¼"},{"unified":"1f6c0-1f3fd","native":"ðð½"},{"unified":"1f6c0-1f3fe","native":"ðð¾"},{"unified":"1f6c0-1f3ff","native":"ðð¿"}],"version":1},"sleeping_accommodation":{"id":"sleeping_accommodation","name":"Person in Bed","keywords":["sleeping","accommodation","rest"],"skins":[{"unified":"1f6cc","native":"ð"},{"unified":"1f6cc-1f3fb","native":"ðð»"},{"unified":"1f6cc-1f3fc","native":"ðð¼"},{"unified":"1f6cc-1f3fd","native":"ðð½"},{"unified":"1f6cc-1f3fe","native":"ðð¾"},{"unified":"1f6cc-1f3ff","native":"ðð¿"}],"version":1},"people_holding_hands":{"id":"people_holding_hands","name":"People Holding Hands","keywords":["friendship"],"skins":[{"unified":"1f9d1-200d-1f91d-200d-1f9d1","native":"ð§âð¤âð§"},{"unified":"1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fb","native":"ð§ð»âð¤âð§ð»"},{"unified":"1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fc","native":"ð§ð¼âð¤âð§ð¼"},{"unified":"1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fd","native":"ð§ð½âð¤âð§ð½"},{"unified":"1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fe","native":"ð§ð¾âð¤âð§ð¾"},{"unified":"1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3ff","native":"ð§ð¿âð¤âð§ð¿"}],"version":12},"two_women_holding_hands":{"id":"two_women_holding_hands","name":"Women Holding Hands","keywords":["two","pair","friendship","couple","love","like","female","people","human"],"skins":[{"unified":"1f46d","native":"ð"},{"unified":"1f46d-1f3fb","native":"ðð»"},{"unified":"1f46d-1f3fc","native":"ðð¼"},{"unified":"1f46d-1f3fd","native":"ðð½"},{"unified":"1f46d-1f3fe","native":"ðð¾"},{"unified":"1f46d-1f3ff","native":"ðð¿"}],"version":1},"man_and_woman_holding_hands":{"id":"man_and_woman_holding_hands","name":"Man and Woman Holding Hands","keywords":["couple","pair","people","human","love","date","dating","like","affection","valentines","marriage"],"skins":[{"unified":"1f46b","native":"ð«"},{"unified":"1f46b-1f3fb","native":"ð«ð»"},{"unified":"1f46b-1f3fc","native":"ð«ð¼"},{"unified":"1f46b-1f3fd","native":"ð«ð½"},{"unified":"1f46b-1f3fe","native":"ð«ð¾"},{"unified":"1f46b-1f3ff","native":"ð«ð¿"}],"version":1},"two_men_holding_hands":{"id":"two_men_holding_hands","name":"Men Holding Hands","keywords":["two","pair","couple","love","like","bromance","friendship","people","human"],"skins":[{"unified":"1f46c","native":"ð¬"},{"unified":"1f46c-1f3fb","native":"ð¬ð»"},{"unified":"1f46c-1f3fc","native":"ð¬ð¼"},{"unified":"1f46c-1f3fd","native":"ð¬ð½"},{"unified":"1f46c-1f3fe","native":"ð¬ð¾"},{"unified":"1f46c-1f3ff","native":"ð¬ð¿"}],"version":1},"couplekiss":{"id":"couplekiss","name":"Kiss","keywords":["couplekiss","pair","valentines","love","like","dating","marriage"],"skins":[{"unified":"1f48f","native":"ð"},{"unified":"1f48f-1f3fb","native":"ðð»"},{"unified":"1f48f-1f3fc","native":"ðð¼"},{"unified":"1f48f-1f3fd","native":"ðð½"},{"unified":"1f48f-1f3fe","native":"ðð¾"},{"unified":"1f48f-1f3ff","native":"ðð¿"}],"version":1}
244,"woman-kiss-man":{"id":"woman-kiss-man","name":"Kiss: Woman, Man","keywords":["woman","kiss-man","kiss","love"],"skins":[{"unified":"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468","native":"ð©ââ¤ï¸âðâð¨"},{"unified":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","native":"ð©ð»ââ¤ï¸âðâð¨ð»"},{"unified":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","native":"ð©ð¼ââ¤ï¸âðâð¨ð¼"},{"unified":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","native":"ð©ð½ââ¤ï¸âðâð¨ð½"},{"unified":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","native":"ð©ð¾ââ¤ï¸âðâð¨ð¾"},{"unified":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","native":"ð©ð¿ââ¤ï¸âðâð¨ð¿"}],"version":2},"man-kiss-man":{"id":"man-kiss-man","name":"Kiss: Man, Man","keywords":["kiss-man","kiss","pair","valentines","love","like","dating","marriage"],"skins":[{"unified":"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468","native":"ð¨ââ¤ï¸âðâð¨"},{"unified":"1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","native":"ð¨ð»ââ¤ï¸âðâð¨ð»"},{"unified":"1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","native":"ð¨ð¼ââ¤ï¸âðâð¨ð¼"},{"unified":"1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","native":"ð¨ð½ââ¤ï¸âðâð¨ð½"},{"unified":"1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","native":"ð¨ð¾ââ¤ï¸âðâð¨ð¾"},{"unified":"1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","native":"ð¨ð¿ââ¤ï¸âðâð¨ð¿"}],"version":2},"woman-kiss-woman":{"id":"woman-kiss-woman","name":"Kiss: Woman, Woman","keywords":["kiss-woman","kiss","pair","valentines","love","like","dating","marriage"],"skins":[{"unified":"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469","native":"ð©ââ¤ï¸âðâð©"},{"unified":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","native":"ð©ð»ââ¤ï¸âðâð©ð»"},{"unified":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","native":"ð©ð¼ââ¤ï¸âðâð©ð¼"},{"unified":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","native":"ð©ð½ââ¤ï¸âðâð©ð½"},{"unified":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","native":"ð©ð¾ââ¤ï¸âðâð©ð¾"},{"unified":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","native":"ð©ð¿ââ¤ï¸âðâð©ð¿"}],"version":2},"couple_with_heart":{"id":"couple_with_heart","name":"Couple with Heart","keywords":["pair","love","like","affection","human","dating","valentines","marriage"],"skins":[{"unified":"1f491","native":"ð"},{"unified":"1f491-1f3fb","native":"ðð»"},{"unified":"1f491-1f3fc","native":"ðð¼"},{"unified":"1f491-1f3fd","native":"ðð½"},{"unified":"1f491-1f3fe","native":"ðð¾"},{"unified":"1f491-1f3ff","native":"ðð¿"}],"version":1},"woman-heart-man":{"id":"woman-heart-man","name":"Couple with Heart: Woman, Man","keywords":["woman","heart-man","heart","love"],"skins":[{"unified":"1f469-200d-2764-fe0f-200d-1f468","native":"ð©ââ¤ï¸âð¨"},{"unified":"1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","native":"ð©ð»ââ¤ï¸âð¨ð»"},{"unified":"1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","native":"ð©ð¼ââ¤ï¸âð¨ð¼"},{"unified":"1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","native":"ð©ð½ââ¤ï¸âð¨ð½"},{"unified":"1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","native":"ð©ð¾ââ¤ï¸âð¨ð¾"},{"unified":"1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff","native":"ð©ð¿ââ¤ï¸âð¨ð¿"}],"version":2},"man-heart-man":{"id":"man-heart-man","name":"Couple with Heart: Man, Man","keywords":["heart-man","heart","pair","love","like","affection","human","dating","valentines","marriage"],"skins":[{"unified":"1f468-200d-2764-fe0f-200d-1f468","native":"ð¨ââ¤ï¸âð¨"},{"unified":"1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","native":"ð¨ð»ââ¤ï¸âð¨ð»"},{"unified":"1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","native":"ð¨ð¼ââ¤ï¸âð¨ð¼"},{"unified":"1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","native":"ð¨ð½ââ¤ï¸âð¨ð½"},{"unified":"1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","native":"ð¨ð¾ââ¤ï¸âð¨ð¾"},{"unified":"1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff","native":"ð¨ð¿ââ¤ï¸âð¨ð¿"}],"version":2},"woman-heart-woman":{"id":"woman-heart-woman","name":"Couple with Heart: Woman, Woman","keywords":["heart-woman","heart","pair","love","like","affection","human","dating","valentines","marriage"],"skins":[{"unified":"1f469-200d-2764-fe0f-200d-1f469","native":"ð©ââ¤ï¸âð©"},{"unified":"1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb","native":"ð©ð»ââ¤ï¸âð©ð»"},{"unified":"1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc","native":"ð©ð¼ââ¤ï¸âð©ð¼"},{"unified":"1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd","native":"ð©ð½ââ¤ï¸âð©ð½"},{"unified":"1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe","native":"ð©ð¾ââ¤ï¸âð©ð¾"},{"unified":"1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff","native":"ð©ð¿ââ¤ï¸âð©ð¿"}],"version":2},"family":{"id":"family","name":"Family","keywords":["home","parents","child","mom","dad","father","mother","people","human"],"skins":[{"unified":"1f46a","native":"ðª"}],"version":1},"man-woman-boy":{"id":"man-woman-boy","name":"Family: Man, Woman, Boy","keywords":["man","woman-boy","family","woman","love"],"skins":[{"unified":"1f468-200d-1f469-200d-1f466","native":"ð¨âð©âð¦"}],"version":2},"man-woman-girl":{"id":"man-woman-girl","name":"Family: Man, Woman, Girl","keywords":["man","woman-girl","family","woman","home","parents","people","human","child"],"skins":[{"unified":"1f468-200d-1f469-200d-1f467","native":"ð¨âð©âð§"}],"version":2},"man-woman-girl-boy":{"id":"man-woman-girl-boy","name":"Family: Man, Woman, Girl, Boy","keywords":["man","woman-girl-boy","family","woman","girl","home","parents","people","human","children"],"skins":[{"unified":"1f468-200d-1f469-200d-1f467-200d-1f466","native":"ð¨âð©âð§âð¦"}],"version":2},"man-woman-boy-boy":{"id":"man-woman-boy-boy","name":"Family: Man, Woman, Boy, Boy","keywords":["man","woman-boy-boy","family","woman","home","parents","people","human","children"],"skins":[{"unified":"1f468-200d-1f469-200d-1f466-200d-1f466","native":"ð¨âð©âð¦âð¦"}],"version":2},"man-woman-girl-girl":{"id":"man-woman-girl-girl","name":"Family: Man, Woman, Girl, Girl","keywords":["man","woman-girl-girl","family","woman","home","parents","people","human","children"],"skins":[{"unified":"1f468-200d-1f469-200d-1f467-200d-1f467","native":"ð¨âð©âð§âð§"}],"version":2},"man-man-boy":{"id":"man-man-boy","name":"Family: Man, Man, Boy","keywords":["man","man-boy","family","home","parents","people","human","children"],"skins":[{"unified":"1f468-200d-1f468-2
24400d-1f466","native":"ð¨âð¨âð¦"}],"version":2},"man-man-girl":{"id":"man-man-girl","name":"Family: Man, Man, Girl","keywords":["man","man-girl","family","home","parents","people","human","children"],"skins":[{"unified":"1f468-200d-1f468-200d-1f467","native":"ð¨âð¨âð§"}],"version":2},"man-man-girl-boy":{"id":"man-man-girl-boy","name":"Family: Man, Man, Girl, Boy","keywords":["man","man-girl-boy","family","girl","home","parents","people","human","children"],"skins":[{"unified":"1f468-200d-1f468-200d-1f467-200d-1f466","native":"ð¨âð¨âð§âð¦"}],"version":2},"man-man-boy-boy":{"id":"man-man-boy-boy","name":"Family: Man, Man, Boy, Boy","keywords":["man","man-boy-boy","family","home","parents","people","human","children"],"skins":[{"unified":"1f468-200d-1f468-200d-1f466-200d-1f466","native":"ð¨âð¨âð¦âð¦"}],"version":2},"man-man-girl-girl":{"id":"man-man-girl-girl","name":"Family: Man, Man, Girl, Girl","keywords":["man","man-girl-girl","family","home","parents","people","human","children"],"skins":[{"unified":"1f468-200d-1f468-200d-1f467-200d-1f467","native":"ð¨âð¨âð§âð§"}],"version":2},"woman-woman-boy":{"id":"woman-woman-boy","name":"Family: Woman, Woman, Boy","keywords":["woman","woman-boy","family","home","parents","people","human","children"],"skins":[{"unified":"1f469-200d-1f469-200d-1f466","native":"ð©âð©âð¦"}],"version":2},"woman-woman-girl":{"id":"woman-woman-girl","name":"Family: Woman, Woman, Girl","keywords":["woman","woman-girl","family","home","parents","people","human","children"],"skins":[{"unified":"1f469-200d-1f469-200d-1f467","native":"ð©âð©âð§"}],"version":2},"woman-woman-girl-boy":{"id":"woman-woman-girl-boy","name":"Family: Woman, Woman, Girl, Boy","keywords":["woman","woman-girl-boy","family","girl","home","parents","people","human","children"],"skins":[{"unified":"1f469-200d-1f469-200d-1f467-200d-1f466","native":"ð©âð©âð§âð¦"}],"version":2},"woman-woman-boy-boy":{"id":"woman-woman-boy-boy","name":"Family: Woman, Woman, Boy, Boy","keywords":["woman","woman-boy-boy","family","home","parents","people","human","children"],"skins":[{"unified":"1f469-200d-1f469-200d-1f466-200d-1f466","native":"ð©âð©âð¦âð¦"}],"version":2},"woman-woman-girl-girl":{"id":"woman-woman-girl-girl","name":"Family: Woman, Woman, Girl, Girl","keywords":["woman","woman-girl-girl","family","home","parents","people","human","children"],"skins":[{"unified":"1f469-200d-1f469-200d-1f467-200d-1f467","native":"ð©âð©âð§âð§"}],"version":2},"man-boy":{"id":"man-boy","name":"Family: Man, Boy","keywords":["man","family","home","parent","people","human","child"],"skins":[{"unified":"1f468-200d-1f466","native":"ð¨âð¦"}],"version":4},"man-boy-boy":{"id":"man-boy-boy","name":"Family: Man, Boy, Boy","keywords":["man","boy-boy","family","home","parent","people","human","children"],"skins":[{"unified":"1f468-200d-1f466-200d-1f466","native":"ð¨âð¦âð¦"}],"version":4},"man-girl":{"id":"man-girl","name":"Family: Man, Girl","keywords":["man","family","home","parent","people","human","child"],"skins":[{"unified":"1f468-200d-1f467","native":"ð¨âð§"}],"version":4},"man-girl-boy":{"id":"man-girl-boy","name":"Family: Man, Girl, Boy","keywords":["man","girl-boy","family","girl","home","parent","people","human","children"],"skins":[{"unified":"1f468-200d-1f467-200d-1f466","native":"ð¨âð§âð¦"}],"version":4},"man-girl-girl":{"id":"man-girl-girl","name":"Family: Man, Girl, Girl","keywords":["man","girl-girl","family","home","parent","people","human","children"],"skins":[{"unified":"1f468-200d-1f467-200d-1f467","native":"ð¨âð§âð§"}],"version":4},"woman-boy":{"id":"woman-boy","name":"Family: Woman, Boy","keywords":["woman","family","home","parent","people","human","child"],"skins":[{"unified":"1f469-200d-1f466","native":"ð©âð¦"}],"version":4},"woman-boy-boy":{"id":"woman-boy-boy","name":"Family: Woman, Boy, Boy","keywords":["woman","boy-boy","family","home","parent","people","human","children"],"skins":[{"unified":"1f469-200d-1f466-200d-1f466","native":"ð©âð¦âð¦"}],"version":4},"woman-girl":{"id":"woman-girl","name":"Family: Woman, Girl","keywords":["woman","family","home","parent","people","human","child"],"skins":[{"unified":"1f469-200d-1f467","native":"ð©âð§"}],"version":4},"woman-girl-boy":{"id":"woman-girl-boy","name":"Family: Woman, Girl, Boy","keywords":["woman","girl-boy","family","girl","home","parent","people","human","children"],"skins":[{"unified":"1f469-200d-1f467-200d-1f466","native":"ð©âð§âð¦"}],"version":4},"woman-girl-girl":{"id":"woman-girl-girl","name":"Family: Woman, Girl, Girl","keywords":["woman","girl-girl","family","home","parent","people","human","children"],"skins":[{"unified":"1f469-200d-1f467-200d-1f467","native":"ð©âð§âð§"}],"version":4},"speaking_head_in_silhouette":{"id":"speaking_head_in_silhouette","name":"Speaking Head","keywords":["in","silhouette","user","person","human","sing","say","talk"],"skins":[{"unified":"1f5e3-fe0f","native":"ð£ï¸"}],"version":1},"bust_in_silhouette":{"id":"bust_in_silhouette","name":"Bust in Silhouette","keywords":["user","person","human"],"skins":[{"unified":"1f464","native":"ð¤"}],"version":1},"busts_in_silhouette":{"id":"busts_in_silhouette","name":"Busts in Silhouette","keywords":["user","person","human","group","team"],"skins":[{"unified":"1f465","native":"ð¥"}],"version":1}
244,"people_hugging":{"id":"people_hugging","name":"People Hugging","keywords":["care"],"skins":[{"unified":"1fac2","native":"ð«"}],"version":13},"footprints":{"id":"footprints","name":"Footprints","keywords":["feet","tracking","walking","beach"],"skins":[{"unified":"1f463","native":"ð£"}],"version":1},"monkey_face":{"id":"monkey_face","name":"Monkey Face","emoticons":[":o)"],"keywords":["animal","nature","circus"],"skins":[{"unified":"1f435","native":"ðµ"}],"version":1},"monkey":{"id":"monkey","name":"Monkey","keywords":["animal","nature","banana","circus"],"skins":[{"unified":"1f412","native":"ð"}],"version":1},"gorilla":{"id":"gorilla","name":"Gorilla","keywords":["animal","nature","circus"],"skins":[{"unified":"1f98d","native":"ð¦"}],"version":3},"orangutan":{"id":"orangutan","name":"Orangutan","keywords":["animal"],"skins":[{"unified":"1f9a7","native":"ð¦§"}],"version":12},"dog":{"id":"dog","name":"Dog Face","keywords":["animal","friend","nature","woof","puppy","pet","faithful"],"skins":[{"unified":"1f436","native":"ð¶"}],"version":1},"dog2":{"id":"dog2","name":"Dog","keywords":["dog2","animal","nature","friend","doge","pet","faithful"],"skins":[{"unified":"1f415","native":"ð"}],"version":1},"guide_dog":{"id":"guide_dog","name":"Guide Dog","keywords":["animal","blind"],"skins":[{"unified":"1f9ae","native":"ð¦®"}],"version":12},"service_dog":{"id":"service_dog","name":"Service Dog","keywords":["blind","animal"],"skins":[{"unified":"1f415-200d-1f9ba","native":"ðâð¦º"}],"version":12},"poodle":{"id":"poodle","name":"Poodle","keywords":["dog","animal","101","nature","pet"],"skins":[{"unified":"1f429","native":"ð©"}],"version":1},"wolf":{"id":"wolf","name":"Wolf","keywords":["animal","nature","wild"],"skins":[{"unified":"1f43a","native":"ðº"}],"version":1},"fox_face":{"id":"fox_face","name":"Fox","keywords":["face","animal","nature"],"skins":[{"unified":"1f98a","native":"ð¦"}],"version":3},"raccoon":{"id":"raccoon","name":"Raccoon","keywords":["animal","nature"],"skins":[{"unified":"1f99d","native":"ð¦"}],"version":11},"cat":{"id":"cat","name":"Cat Face","keywords":["animal","meow","nature","pet","kitten"],"skins":[{"unified":"1f431","native":"ð±"}],"version":1},"cat2":{"id":"cat2","name":"Cat","keywords":["cat2","animal","meow","pet","cats"],"skins":[{"unified":"1f408","native":"ð"}],"version":1},"black_cat":{"id":"black_cat","name":"Black Cat","keywords":["superstition","luck"],"skins":[{"unified":"1f408-200d-2b1b","native":"ðââ¬"}],"version":13},"lion_face":{"id":"lion_face","name":"Lion","keywords":["face","animal","nature"],"skins":[{"unified":"1f981","native":"ð¦"}],"version":1},"tiger":{"id":"tiger","name":"Tiger Face","keywords":["animal","cat","danger","wild","nature","roar"],"skins":[{"unified":"1f42f","native":"ð¯"}],"version":1},"tiger2":{"id":"tiger2","name":"Tiger","keywords":["tiger2","animal","nature","roar"],"skins":[{"unified":"1f405","native":"ð
"}],"version":1},"leopard":{"id":"leopard","name":"Leopard","keywords":["animal","nature"],"skins":[{"unified":"1f406","native":"ð"}],"version":1},"horse":{"id":"horse","name":"Horse Face","keywords":["animal","brown","nature"],"skins":[{"unified":"1f434","native":"ð´"}],"version":1},"moose":{"id":"moose","name":"Moose","keywords":["shrek","canada","sweden","sven","cool"],"skins":[{"unified":"1face","native":"ð«"}],"version":15},"donkey":{"id":"donkey","name":"Donkey","keywords":["eeyore","mule"],"skins":[{"unified":"1facf","native":"ð«"}],"version":15},"racehorse":{"id":"racehorse","name":"Horse","keywords":["racehorse","animal","gamble","luck"],"skins":[{"unified":"1f40e","native":"ð"}],"version":1},"unicorn_face":{"id":"unicorn_face","name":"Unicorn","keywords":["face","animal","nature","mystical"],"skins":[{"unified":"1f984","native":"ð¦"}],"version":1},"zebra_face":{"id":"zebra_face","name":"Zebra","keywords":["face","animal","nature","stripes","safari"],"skins":[{"unified":"1f993","native":"ð¦"}],"version":5},"deer":{"id":"deer","name":"Deer","keywords":["animal","nature","horns","venison"],"skins":[{"unified":"1f98c","native":"ð¦"}],"version":3},"bison":{"id":"bison","name":"Bison","keywords":["ox"],"skins":[{"unified":"1f9ac","native":"ð¦¬"}],"version":13},"cow":{"id":"cow","name":"Cow Face","keywords":["beef","ox","animal","nature","moo","milk"],"skins":[{"unified":"1f42e","native":"ð®"}],"version":1},"ox":{"id":"ox","name":"Ox","keywords":["animal","cow","beef"],"skins":[{"unified":"1f402","native":"ð"}],"version":1},"water_buffalo":{"id":"water_buffalo","name":"Water Buffalo","keywords":["animal","nature","ox","cow"],"skins":[{"unified":"1f403","native":"ð"}],"version":1},"cow2":{"id":"cow2","name":"Cow","keywords":["cow2","beef","ox","animal","nature","moo","milk"],"skins":[{"unified":"1f404","native":"ð"}],"version":1},"pig":{"id":"pig","name":"Pig Face","keywords":["animal","oink","nature"],"skins":[{"unified":"1f437","native":"ð·"}],"version":1},"pig2":{"id":"pig2","name":"Pig","keywords":["pig2","animal","nature"],"skins":[{"unified":"1f416","native":"ð"}],"version":1},"boar":{"id":"boar","name":"Boar","keywords":["animal","nature"],"skins":[{"unified":"1f417","native":"ð"}],"version":1},"pig_nose":{"id":"pig_nose","name":"Pig Nose","keywords":["animal","oink"],"skins":[{"unified":"1f43d","native":"ð½"}],"version":1},"ram":{"id":"ram","name":"Ram","keywords":["animal","sheep","nature"],"skins":[{"unified":"1f40f","native":"ð"}],"version":1},"sheep":{"id":"sheep","name":"Ewe","keywords":["sheep","animal","nature","wool","shipit"],"skins":[{"unified":"1f411","native":"ð"}],"version":1},"goat":{"id":"goat","name":"Goat","keywords":["animal","nature"],"skins":[{"unified":"1f410","native":"ð"}],"version":1}
244,"dromedary_camel":{"id":"dromedary_camel","name":"Camel","keywords":["dromedary","animal","hot","desert","hump"],"skins":[{"unified":"1f42a","native":"ðª"}],"version":1},"camel":{"id":"camel","name":"Bactrian Camel","keywords":["two","hump","animal","nature","hot","desert"],"skins":[{"unified":"1f42b","native":"ð«"}],"version":1},"llama":{"id":"llama","name":"Llama","keywords":["animal","nature","alpaca"],"skins":[{"unified":"1f999","native":"ð¦"}],"version":11},"giraffe_face":{"id":"giraffe_face","name":"Giraffe","keywords":["face","animal","nature","spots","safari"],"skins":[{"unified":"1f992","native":"ð¦"}],"version":5},"elephant":{"id":"elephant","name":"Elephant","keywords":["animal","nature","nose","th","circus"],"skins":[{"unified":"1f418","native":"ð"}],"version":1},"mammoth":{"id":"mammoth","name":"Mammoth","keywords":["elephant","tusks"],"skins":[{"unified":"1f9a3","native":"ð¦£"}],"version":13},"rhinoceros":{"id":"rhinoceros","name":"Rhinoceros","keywords":["animal","nature","horn"],"skins":[{"unified":"1f98f","native":"ð¦"}],"version":3},"hippopotamus":{"id":"hippopotamus","name":"Hippopotamus","keywords":["animal","nature"],"skins":[{"unified":"1f99b","native":"ð¦"}],"version":11},"mouse":{"id":"mouse","name":"Mouse Face","keywords":["animal","nature","cheese","wedge","rodent"],"skins":[{"unified":"1f42d","native":"ð"}],"version":1},"mouse2":{"id":"mouse2","name":"Mouse","keywords":["mouse2","animal","nature","rodent"],"skins":[{"unified":"1f401","native":"ð"}],"version":1},"rat":{"id":"rat","name":"Rat","keywords":["animal","mouse","rodent"],"skins":[{"unified":"1f400","native":"ð"}],"version":1},"hamster":{"id":"hamster","name":"Hamster","keywords":["animal","nature"],"skins":[{"unified":"1f439","native":"ð¹"}],"version":1},"rabbit":{"id":"rabbit","name":"Rabbit Face","keywords":["animal","nature","pet","spring","magic","bunny"],"skins":[{"unified":"1f430","native":"ð°"}],"version":1},"rabbit2":{"id":"rabbit2","name":"Rabbit","keywords":["rabbit2","animal","nature","pet","magic","spring"],"skins":[{"unified":"1f407","native":"ð"}],"version":1},"chipmunk":{"id":"chipmunk","name":"Chipmunk","keywords":["animal","nature","rodent","squirrel"],"skins":[{"unified":"1f43f-fe0f","native":"ð¿ï¸"}],"version":1},"beaver":{"id":"beaver","name":"Beaver","keywords":["animal","rodent"],"skins":[{"unified":"1f9ab","native":"ð¦«"}],"version":13},"hedgehog":{"id":"hedgehog","name":"Hedgehog","keywords":["animal","nature","spiny"],"skins":[{"unified":"1f994","native":"ð¦"}],"version":5},"bat":{"id":"bat","name":"Bat","keywords":["animal","nature","blind","vampire"],"skins":[{"unified":"1f987","native":"ð¦"}],"version":3},"bear":{"id":"bear","name":"Bear","keywords":["animal","nature","wild"],"skins":[{"unified":"1f43b","native":"ð»"}],"version":1},"polar_bear":{"id":"polar_bear","name":"Polar Bear","keywords":["animal","arctic"],"skins":[{"unified":"1f43b-200d-2744-fe0f","native":"ð»ââï¸"}],"version":13},"koala":{"id":"koala","name":"Koala","keywords":["animal","nature"],"skins":[{"unified":"1f428","native":"ð¨"}],"version":1},"panda_face":{"id":"panda_face","name":"Panda","keywords":["face","animal","nature"],"skins":[{"unified":"1f43c","native":"ð¼"}],"version":1},"sloth":{"id":"sloth","name":"Sloth","keywords":["animal"],"skins":[{"unified":"1f9a5","native":"ð¦¥"}],"version":12},"otter":{"id":"otter","name":"Otter","keywords":["animal"],"skins":[{"unified":"1f9a6","native":"ð¦¦"}],"version":12},"skunk":{"id":"skunk","name":"Skunk","keywords":["animal"],"skins":[{"unified":"1f9a8","native":"ð¦¨"}],"version":12},"kangaroo":{"id":"kangaroo","name":"Kangaroo","keywords":["animal","nature","australia","joey","hop","marsupial"],"skins":[{"unified":"1f998","native":"ð¦"}],"version":11},"badger":{"id":"badger","name":"Badger","keywords":["animal","nature","honey"],"skins":[{"unified":"1f9a1","native":"ð¦¡"}],"version":11},"feet":{"id":"feet","name":"Paw Prints","keywords":["feet","animal","tracking","footprints","dog","cat","pet"],"skins":[{"unified":"1f43e","native":"ð¾"}],"version":1},"turkey":{"id":"turkey","name":"Turkey","keywords":["animal","bird"],"skins":[{"unified":"1f983","native":"ð¦"}],"version":1},"chicken":{"id":"chicken","name":"Chicken","keywords":["animal","cluck","nature","bird"],"skins":[{"unified":"1f414","native":"ð"}],"version":1},"rooster":{"id":"rooster","name":"Rooster","keywords":["animal","nature","chicken"],"skins":[{"unified":"1f413","native":"ð"}],"version":1},"hatching_chick":{"id":"hatching_chick","name":"Hatching Chick","keywords":["animal","chicken","egg","born","baby","bird"],"skins":[{"unified":"1f423","native":"ð£"}],"version":1},"baby_chick":{"id":"baby_chick","name":"Baby Chick","keywords":["animal","chicken","bird"],"skins":[{"unified":"1f424","native":"ð¤"}],"version":1},"hatched_chick":{"id":"hatched_chick","name":"Front-Facing Baby Chick","keywords":["hatched","front","facing","animal","chicken","bird"],"skins":[{"unified":"1f425","native":"ð¥"}],"version":1},"bird":{"id":"bird","name":"Bird","keywords":["animal","nature","fly","tweet","spring"],"skins":[{"unified":"1f426","native":"ð¦"}],"version":1},"penguin":{"id":"penguin","name":"Penguin","keywords":["animal","nature"],"skins":[{"unified":"1f427","native":"ð§"}],"version":1},"dove_of_peace":{"id":"dove_of_peace","name":"Dove","keywords":["of","peace","animal","bird"],"skins":[{"unified":"1f54a-fe0f","native":"ðï¸"}],"version":1},"eagle":{"id":"eagle","name":"Eagle","keywords":["animal","nature","bird"],"skins":[{"unified":"1f985","native":"ð¦
"}],"version":3}
244,"duck":{"id":"duck","name":"Duck","keywords":["animal","nature","bird","mallard"],"skins":[{"unified":"1f986","native":"ð¦"}],"version":3},"swan":{"id":"swan","name":"Swan","keywords":["animal","nature","bird"],"skins":[{"unified":"1f9a2","native":"ð¦¢"}],"version":11},"owl":{"id":"owl","name":"Owl","keywords":["animal","nature","bird","hoot"],"skins":[{"unified":"1f989","native":"ð¦"}],"version":3},"dodo":{"id":"dodo","name":"Dodo","keywords":["animal","bird"],"skins":[{"unified":"1f9a4","native":"ð¦¤"}],"version":13},"feather":{"id":"feather","name":"Feather","keywords":["bird","fly"],"skins":[{"unified":"1fab6","native":"ðª¶"}],"version":13},"flamingo":{"id":"flamingo","name":"Flamingo","keywords":["animal"],"skins":[{"unified":"1f9a9","native":"ð¦©"}],"version":12},"peacock":{"id":"peacock","name":"Peacock","keywords":["animal","nature","peahen","bird"],"skins":[{"unified":"1f99a","native":"ð¦"}],"version":11},"parrot":{"id":"parrot","name":"Parrot","keywords":["animal","nature","bird","pirate","talk"],"skins":[{"unified":"1f99c","native":"ð¦"}],"version":11},"wing":{"id":"wing","name":"Wing","keywords":["angel","birds","flying"],"skins":[{"unified":"1fabd","native":"ðª½"}],"version":15},"black_bird":{"id":"black_bird","name":"Black Bird","keywords":["crow"],"skins":[{"unified":"1f426-200d-2b1b","native":"ð¦ââ¬"}],"version":15},"goose":{"id":"goose","name":"Goose","keywords":["silly","jemima","goosebumps"],"skins":[{"unified":"1fabf","native":"ðª¿"}],"version":15},"frog":{"id":"frog","name":"Frog","keywords":["animal","nature","croak","toad"],"skins":[{"unified":"1f438","native":"ð¸"}],"version":1},"crocodile":{"id":"crocodile","name":"Crocodile","keywords":["animal","nature","reptile","lizard","alligator"],"skins":[{"unified":"1f40a","native":"ð"}],"version":1},"turtle":{"id":"turtle","name":"Turtle","keywords":["animal","slow","nature","tortoise"],"skins":[{"unified":"1f422","native":"ð¢"}],"version":1},"lizard":{"id":"lizard","name":"Lizard","keywords":["animal","nature","reptile"],"skins":[{"unified":"1f98e","native":"ð¦"}],"version":3},"snake":{"id":"snake","name":"Snake","keywords":["animal","evil","nature","hiss","python"],"skins":[{"unified":"1f40d","native":"ð"}],"version":1},"dragon_face":{"id":"dragon_face","name":"Dragon Face","keywords":["animal","myth","nature","chinese","green"],"skins":[{"unified":"1f432","native":"ð²"}],"version":1},"dragon":{"id":"dragon","name":"Dragon","keywords":["animal","myth","nature","chinese","green"],"skins":[{"unified":"1f409","native":"ð"}],"version":1},"sauropod":{"id":"sauropod","name":"Sauropod","keywords":["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],"skins":[{"unified":"1f995","native":"ð¦"}],"version":5},"t-rex":{"id":"t-rex","name":"T-Rex","keywords":["t","rex","animal","nature","dinosaur","tyrannosaurus","extinct"],"skins":[{"unified":"1f996","native":"ð¦"}],"version":5},"whale":{"id":"whale","name":"Spouting Whale","keywords":["animal","nature","sea","ocean"],"skins":[{"unified":"1f433","native":"ð³"}],"version":1},"whale2":{"id":"whale2","name":"Whale","keywords":["whale2","animal","nature","sea","ocean"],"skins":[{"unified":"1f40b","native":"ð"}],"version":1},"dolphin":{"id":"dolphin","name":"Dolphin","keywords":["flipper","animal","nature","fish","sea","ocean","fins","beach"],"skins":[{"unified":"1f42c","native":"ð¬"}],"version":1},"seal":{"id":"seal","name":"Seal","keywords":["animal","creature","sea"],"skins":[{"unified":"1f9ad","native":"ð¦"}],"version":13},"fish":{"id":"fish","name":"Fish","keywords":["animal","food","nature"],"skins":[{"unified":"1f41f","native":"ð"}],"version":1},"tropical_fish":{"id":"tropical_fish","name":"Tropical Fish","keywords":["animal","swim","ocean","beach","nemo"],"skins":[{"unified":"1f420","native":"ð "}],"version":1},"blowfish":{"id":"blowfish","name":"Blowfish","keywords":["animal","nature","food","sea","ocean"],"skins":[{"unified":"1f421","native":"ð¡"}],"version":1},"shark":{"id":"shark","name":"Shark","keywords":["animal","nature","fish","sea","ocean","
244jaws","fins","beach"],"skins":[{"unified":"1f988","native":"ð¦"}],"version":3},"octopus":{"id":"octopus","name":"Octopus","keywords":["animal","creature","ocean","sea","nature","beach"],"skins":[{"unified":"1f419","native":"ð"}],"version":1},"shell":{"id":"shell","name":"Spiral Shell","keywords":["nature","sea","beach"],"skins":[{"unified":"1f41a","native":"ð"}],"version":1},"coral":{"id":"coral","name":"Coral","keywords":["ocean","sea","reef"],"skins":[{"unified":"1fab8","native":"ðª¸"}],"version":14},"jellyfish":{"id":"jellyfish","name":"Jellyfish","keywords":["sting","tentacles"],"skins":[{"unified":"1fabc","native":"ðª¼"}],"version":15},"snail":{"id":"snail","name":"Snail","keywords":["slow","animal","shell"],"skins":[{"unified":"1f40c","native":"ð"}],"version":1},"butterfly":{"id":"butterfly","name":"Butterfly","keywords":["animal","insect","nature","caterpillar"],"skins":[{"unified":"1f98b","native":"ð¦"}],"version":3},"bug":{"id":"bug","name":"Bug","keywords":["animal","insect","nature","worm"],"skins":[{"unified":"1f41b","native":"ð"}],"version":1},"ant":{"id":"ant","name":"Ant","keywords":["animal","insect","nature","bug"],"skins":[{"unified":"1f41c","native":"ð"}],"version":1},"bee":{"id":"bee","name":"Honeybee","keywords":["bee","animal","insect","nature","bug","spring","honey"],"skins":[{"unified":"1f41d","native":"ð"}],"version":1},"beetle":{"id":"beetle","name":"Beetle","keywords":["insect"],"skins":[{"unified":"1fab2","native":"ðª²"}],"version":13},"ladybug":{"id":"ladybug","name":"Lady Beetle","keywords":["ladybug","animal","insect","nature"],"skins":[{"unified":"1f41e","native":"ð"}],"version":1},"cricket":{"id":"cricket","name":"Cricket","keywords":["animal","chirp"],"skins":[{"unified":"1f997","native":"ð¦"}],"version":5},"cockroach":{"id":"cockroach","name":"Cockroach","keywords":["insect","pests"],"skins":[{"unified":"1fab3","native":"ðª³"}],"version":13},"spider":{"id":"spider","name":"Spider","keywords":["animal","arachnid"],"skins":[{"unified":"1f577-fe0f","native":"ð·ï¸"}],"version":1},"spider_web":{"id":"spider_web","name":"Spider Web","keywords":["animal","insect","arachnid","silk"],"skins":[{"unified":"1f578-fe0f","native":"ð¸ï¸"}],"version":1},"scorpion":{"id":"scorpion","name":"Scorpion","keywords":["animal","arachnid"],"skins":[{"unified":"1f982","native":"ð¦"}],"version":1},"mosquito":{"id":"mosquito","name":"Mosquito","keywords":["animal","nature","insect","malaria"],"skins":[{"unified":"1f99f","native":"ð¦"}],"version":11},"fly":{"id":"fly","name":"Fly","keywords":["insect"],"skins":[{"unified":"1fab0","native":"ðª°"}],"version":13},"worm":{"id":"worm","name":"Worm","keywords":["animal"],"skins":[{"unified":"1fab1","native":"ðª±"}],"version":13},"microbe":{"id":"microbe","name":"Microbe","keywords":["amoeba","bacteria","germs","virus","covid"],"skins":[{"unified":"1f9a0","native":"ð¦ "}],"version":11},"bouquet":{"id":"bouquet","name":"Bouquet","keywords":["flowers","nature","spring"],"skins":[{"unified":"1f490","native":"ð"}],"version":1},"cherry_blossom":{"id":"cherry_blossom","name":"Cherry Blossom","keywords":["nature","plant","spring","flower"],"skins":[{"unified":"1f338","native":"ð¸"}],"version":1},"white_flower":{"id":"white_flower","name":"White Flower","keywords":["japanese","spring"],"skins":[{"unified":"1f4ae","native":"ð®"}],"version":1},"lotus":{"id":"lotus","name":"Lotus","keywords":["flower","calm","meditation"],"skins":[{"unified":"1fab7","native":"ðª·"}],"version":14},"rosette":{"id":"rosette","name":"Rosette","keywords":["flower","decoration","military"],"skins":[{"unified":"1f3f5-fe0f","native":"ðµï¸"}],"version":1},"rose":{"id":"rose","name":"Rose","keywords":["flowers","valentines","love","spring"],"skins":[{"unified":"1f339","native":"ð¹"}],"version":1},"wilted_flower":{"id":"wilted_flower","name":"Wilted Flower","keywords":["plant","nature","rose"],"skins":[{"unified":"1f940","native":"ð¥"}],"version":3},"hibiscus":{"id":"hibiscus","name":"Hibiscus","keywords":["plant","vegetable","flowers","beach"],"skins":[{"unified":"1f33a","native":"ðº"}],"version":1},"sunflower":{"id":"sunflower","name":"Sunflower","keywords":["nature","plant","fall"],"skins":[{"unified":"1f33b","native":"ð»"}],"version":1},"blossom":{"id":"blossom","name":"Blossom","keywords":["nature","flowers","yellow"],"skins":[{"unified":"1f33c","native":"ð¼"}],"version":1},"tulip":{"id":"tulip","name":"Tulip","keywords":["flowers","plant","nature","summer","spring"],"skins":[{"unified":"1f337","native":"ð·"}],"version":1},"hyacinth":{"id":"hyacinth","name":"Hyacinth","keywords":["flower","lavender"],"skins":[{"unified":"1fabb","native":"ðª»"}],"version":15}
244,"seedling":{"id":"seedling","name":"Seedling","keywords":["plant","nature","grass","lawn","spring"],"skins":[{"unified":"1f331","native":"ð±"}],"version":1},"potted_plant":{"id":"potted_plant","name":"Potted Plant","keywords":["greenery","house"],"skins":[{"unified":"1fab4","native":"ðª´"}],"version":13},"evergreen_tree":{"id":"evergreen_tree","name":"Evergreen Tree","keywords":["plant","nature"],"skins":[{"unified":"1f332","native":"ð²"}],"version":1},"deciduous_tree":{"id":"deciduous_tree","name":"Deciduous Tree","keywords":["plant","nature"],"skins":[{"unified":"1f333","native":"ð³"}],"version":1},"palm_tree":{"id":"palm_tree","name":"Palm Tree","keywords":["plant","vegetable","nature","summer","beach","mojito","tropical"],"skins":[{"unified":"1f334","native":"ð´"}],"version":1},"cactus":{"id":"cactus","name":"Cactus","keywords":["vegetable","plant","nature"],"skins":[{"unified":"1f335","native":"ðµ"}],"version":1},"ear_of_rice":{"id":"ear_of_rice","name":"Ear of Rice","keywords":["sheaf","nature","plant"],"skins":[{"unified":"1f33e","native":"ð¾"}],"version":1},"herb":{"id":"herb","name":"Herb","keywords":["vegetable","plant","medicine","weed","grass","lawn"],"skins":[{"unified":"1f33f","native":"ð¿"}],"version":1},"shamrock":{"id":"shamrock","name":"Shamrock","keywords":["vegetable","plant","nature","irish","clover"],"skins":[{"unified":"2618-fe0f","native":"âï¸"}],"version":1},"four_leaf_clover":{"id":"four_leaf_clover","name":"Four Leaf Clover","keywords":["vegetable","plant","nature","lucky","irish"],"skins":[{"unified":"1f340","native":"ð"}],"version":1},"maple_leaf":{"id":"maple_leaf","name":"Maple Leaf","keywords":["nature","plant","vegetable","ca","fall"],"skins":[{"unified":"1f341","native":"ð"}],"version":1}
244,"fallen_leaf":{"id":"fallen_leaf","name":"Fallen Leaf","keywords":["nature","plant","vegetable","leaves"],"skins":[{"unified":"1f342","native":"ð"}],"version":1},"leaves":{"id":"leaves","name":"Leaf Fluttering in Wind","keywords":["leaves","nature","plant","tree","vegetable","grass","lawn","spring"],"skins":[{"unified":"1f343","native":"ð"}],"version":1},"empty_nest":{"id":"empty_nest","name":"Empty Nest","keywords":["bird"],"skins":[{"unified":"1fab9","native":"ðª¹"}],"version":14},"nest_with_eggs":{"id":"nest_with_eggs","name":"Nest with Eggs","keywords":["bird"],"skins":[{"unified":"1faba","native":"ðªº"}],"version":14},"mushroom":{"id":"mushroom","name":"Mushroom","keywords":["plant","vegetable"],"skins":[{"unified":"1f344","native":"ð"}],"version":1},"grapes":{"id":"grapes","name":"Grapes","keywords":["fruit","food","wine"],"skins":[{"unified":"1f347","native":"ð"}],"version":1},"melon":{"id":"melon","name":"Melon","keywords":["fruit","nature","food"],"skins":[{"unified":"1f348","native":"ð"}],"version":1},"watermelon":{"id":"watermelon","name":"Watermelon","keywords":["fruit","food","picnic","summer"],"skins":[{"unified":"1f349","native":"ð"}],"version":1},"tangerine":{"id":"tangerine","name":"Tangerine","keywords":["food","fruit","nature","orange"],"skins":[{"unified":"1f34a","native":"ð"}],"version":1},"lemon":{"id":"lemon","name":"Lemon","keywords":["fruit","nature"],"skins":[{"unified":"1f34b","native":"ð"}],"version":1},"banana":{"id":"banana","name":"Banana","keywords":["fruit","food","monkey"],"skins":[{"unified":"1f34c","native":"ð"}],"version":1},"pineapple":{"id":"pineapple","name":"Pineapple","keywords":["fruit","nature","food"],"skins":[{"unified":"1f34d","native":"ð"}],"version":1},"mango":{"id":"mango","name":"Mango","keywords":["fruit","food","tropical"],"skins":[{"unified":"1f96d","native":"ð¥"}],"version":11},"apple":{"id":"apple","name":"Red Apple","keywords":["fruit","mac","school"],"skins":[{"unified":"1f34e","native":"ð"}],"version":1},"green_apple":{"id":"green_apple","name":"Green Apple","keywords":["fruit","nature"],"skins":[{"unified":"1f34f","native":"ð"}],"version":1},"pear":{"id":"pear","name":"Pear","keywords":["fruit","nature","food"],"skins":[{"unified":"1f350","native":"ð"}],"version":1},"peach":{"id":"peach","name":"Peach","keywords":["fruit","nature","food"],"skins":[{"unified":"1f351","native":"ð"}],"version":1},"cherries":{"id":"cherries","name":"Cherries","keywords":["food","fruit"],"skins":[{"unified":"1f352","native":"ð"}],"version":1},"strawberry":{"id":"strawberry","name":"Strawberry","keywords":["fruit","food","nature"],"skins":[{"unified":"1f353","native":"ð"}],"version":1},"blueberries":{"id":"blueberries","name":"Blueberries","keywords":["fruit"],"skins":[{"unified":"1fad0","native":"ð«"}],"version":13},"kiwifruit":{"id":"kiwifruit","name":"Kiwifruit","keywords":["kiwi","fruit","food"],"skins":[{"unified":"1f95d","native":"ð¥"}],"version":3},"tomato":{"id":"tomato","name":"Tomato","keywords":["fruit","vegetable","nature","food"],"skins":[{"unified":"1f345","native":"ð
"}],"version":1},"olive":{"id":"olive","name":"Olive","keywords":["fruit"],"skins":[{"unified":"1fad2","native":"ð«"}],"version":13},"coconut":{"id":"coconut","name":"Coconut","keywords":["fruit","nature","food","palm"],"skins":[{"unified":"1f965","native":"ð¥¥"}],"version":5},"avocado":{"id":"avocado","name":"Avocado","keywords":["fruit","food"],"skins":[{"unified":"1f951","native":"ð¥"}],"version":3},"eggplant":{"id":"eggplant","name":"Eggplant","keywords":["vegetable","nature","food","aubergine"],"skins":[{"unified":"1f346","native":"ð"}],"version":1},"potato":{"id":"potato","name":"Potato","keywords":["food","tuber","vegatable","starch"],"skins":[{"unified":"1f954","native":"ð¥"}],"version":3},"carrot":{"id":"carrot","name":"Carrot","keywords":["vegetable","food","orange"],"skins":[{"unified":"1f955","native":"ð¥"}],"version":3},"corn":{"id":"corn","name":"Ear of Corn","keywords":["food","vegetable","plant"],"skins":[{"unified":"1f33d","native":"ð½"}],"version":1},"hot_pepper":{"id":"hot_pepper","name":"Hot Pepper","keywords":["food","spicy","chilli","chili"],"skins":[{"unified":"1f336-fe0f","native":"ð¶ï¸"}],"version":1},"bell_pepper":{"id":"bell_pepper","name":"Bell Pepper","keywords":["fruit","plant"],"skins":[{"unified":"1fad1","native":"ð«"}],"version":13},"cucumber":{"id":"cucumber","name":"Cucumber","keywords":["fruit","food","pickle"],"skins":[{"unified":"1f952","native":"ð¥"}],"version":3},"leafy_green":{"id":"leafy_green","name":"Leafy Green","keywords":["food","vegetable","plant","bok","choy","cabbage","kale","lettuce"],"skins":[{"unified":"1f96c","native":"ð¥¬"}],"version":11},"broccoli":{"id":"broccoli","name":"Broccoli","keywords":["fruit","food","vegetable"],"skins":[{"unified":"1f966","
244native":"ð¥¦"}],"version":5},"garlic":{"id":"garlic","name":"Garlic","keywords":["food","spice","cook"],"skins":[{"unified":"1f9c4","native":"ð§"}],"version":12},"onion":{"id":"onion","name":"Onion","keywords":["cook","food","spice"],"skins":[{"unified":"1f9c5","native":"ð§
"}],"version":12},"peanuts":{"id":"peanuts","name":"Peanuts","keywords":["food","nut"],"skins":[{"unified":"1f95c","native":"ð¥"}],"version":3},"beans":{"id":"beans","name":"Beans","keywords":["food"],"skins":[{"unified":"1fad8","native":"ð«"}],"version":14},"chestnut":{"id":"chestnut","name":"Chestnut","keywords":["food","squirrel"],"skins":[{"unified":"1f330","native":"ð°"}],"version":1},"ginger_root":{"id":"ginger_root","name":"Ginger Root","keywords":["spice","yellow","cooking","gingerbread"],"skins":[{"unified":"1fada","native":"ð«"}],"version":15},"pea_pod":{"id":"pea_pod","name":"Pea Pod","keywords":["cozy","green"],"skins":[{"unified":"1fadb","native":"ð«"}],"version":15},"bread":{"id":"bread","name":"Bread","keywords":["food","wheat","breakfast","toast"],"skins":[{"unified":"1f35e","native":"ð"}],"version":1},"croissant":{"id":"croissant","name":"Croissant","keywords":["food","bread","french"],"skins":[{"unified":"1f950","native":"ð¥"}],"version":3},"baguette_bread":{"id":"baguette_bread","name":"Baguette Bread","keywords":["food","french","france","bakery"],"skins":[{"unified":"1f956","native":"ð¥"}],"version":3},"flatbread":{"id":"flatbread","name":"Flatbread","keywords":["flour","food","bakery"],"skins":[{"unified":"1fad3","native":"ð«"}],"version":13},"pretzel":{"id":"pretzel","name":"Pretzel","keywords":["food","bread","twisted","germany","bakery"],"skins":[{"unified":"1f968","native":"ð¥¨"}],"version":5},"bagel":{"id":"bagel","name":"Bagel","keywords":["food","bread","bakery","schmear","jewish"],"skins":[{"unified":"1f96f","native":"ð¥¯"}],"version":11},"pancakes":{"id":"pancakes","name":"Pancakes","keywords":["food","breakfast","flapjacks","hotcakes","brunch"],"skins":[{"unified":"1f95e","native":"ð¥"}],"version":3},"waffle":{"id":"waffle","name":"Waffle","keywords":["food","breakfast","brunch"],"skins":[{"unified":"1f9c7","native":"ð§"}],"version":12},"cheese_wedge":{"id":"cheese_wedge","name":"Cheese Wedge","keywords":["food","chadder","swiss"],"skins":[{"unified":"1f9c0","native":"ð§"}],"version":1},"meat_on_bone":{"id":"meat_on_bone","name":"Meat on Bone","keywords":["good","food","drumstick"],"skins":[{"unified":"1f356","native":"ð"}],"version":1},"poultry_leg":{"id":"poultry_leg","name":"Poultry Leg","keywords":["food","meat","drumstick","bird","chicken","turkey"],"skins":[{"unified":"1f357","native":"ð"}],"version":1},"cut_of_meat":{"id":"cut_of_meat","name":"Cut of Meat","keywords":["food","cow","chop","lambchop","porkchop"],"skins":[{"unified":"1f969","native":"ð¥©"}],"version":5},"bacon":{"id":"bacon","name":"Bacon","keywords":["food","breakfast","pork","pig","meat","brunch"],"skins":[{"unified":"1f953","native":"ð¥"}],"version":3},"hamburger":{"id":"hamburger","name":"Hamburger","keywords":["meat","fast","food","beef","cheeseburger","mcdonalds","burger","king"],"skins":[{"unified":"1f354","native":"ð"}],"version":1},"fries":{"id":"fries","name":"French Fries","keywords":["chips","snack","fast","food","potato"],"skins":[{"unified":"1f35f","native":"ð"}],"version":1},"pizza":{"id":"pizza","name":"Pizza","keywords":["food","party","italy"],"skins":[{"unified":"1f355","native":"ð"}],"version":1},"hotdog":{"id":"hotdog","name":"Hot Dog","keywords":["hotdog","food","frankfurter","america"],"skins":[{"unified":"1f32d","native":"ð"}],"version":1},"sandwich":{"id":"sandwich","name":"Sandwich","keywords":["food","lunch","bread","toast","bakery"],"skins":[{"unified":"1f96a","native":"ð¥ª"}],"version":5},"taco":{"id":"taco","name":"Taco","keywords":["food","mexican"],"skins":[{"unified":"1f32e","native":"ð®"}],"version":1},"burrito":{"id":"burrito","name":"Burrito","keywords":["food","mexican"],"skins":[{"unified":"1f32f","native":"ð¯"}],"version":1},"tamale":{"id":"tamale","name":"Tamale","keywords":["food","masa"],"skins":[{"unified":"1fad4","native":"ð«"}],"version":13},"stuffed_flatbread":{"id":"stuffed_flatbread","name":"Stuffed Flatbread","keywords":["food","gyro","mediterranean"],"skins":[{"unified":"1f959","native":"ð¥"}],"version":3},"falafel":{"id":"falafel","name":"Falafel","keywords":["food","mediterranean"],"skins":[{"unified":"1f9c6","native":"ð§"}],"version":12},"egg":{"id":"egg","name":"Egg","keywords":["food","chicken","breakfast"],"skins":[{"unified":"1f95a","native":"ð¥"}],"version":3},"fried_egg":{"id":"fried_egg","name":"Cooking","keywords":["fried","egg","food","breakfast","kitchen","skillet"],"skins":[{"unified":"1f373","native":"ð³"}],"version":1},"shallow_pan_of_food":{"id":"shallow_pan_of_food","name":"Shallow Pan of Food","keywords":["cooking","casserole","paella","skillet"],"skins":[{"unified":"1f958","native":"ð¥"}],"version":3},"stew":{"id":"stew","name":"Pot of Food","keywords":["stew","meat","soup","hot"],"skins":[{"unified":"1f372","native":"ð²"}],"version":1},"fondue":{"id":"fondue","name":"Fondue","keywords":["cheese","pot","food"],"skins":[{"unified":"1fad5","native":"ð«"}],"version":13},"bowl_with_spoon":{"id":"bowl_with_spoon","name":"Bowl with Spoon","keywords":["food","breakfast","cereal","oatmeal","porridge"],"skins":[{"unified":"1f963","native":"ð¥£"}],"version":5},"green_salad":{"id":"green_salad","name":"Green Salad","keywords":["food","healthy","lettuce","vegetable"],"skins":[{"unified":"1f957","native":"ð¥"}],"version":3},"popcorn":{"id":"popcorn","name":"Popcorn","keywords":["food","movie","theater","films","snack","drama"],"skins":[{"unified":"1f37f","native":"ð¿"}],"version":1},"butter":{"id":"butter","name":"Butter","keywords":["food","cook"],"skins":[{"unified":"1f9c8","native":"ð§"}],"version":12},"salt":{"id":"salt","name":"Salt","keywords":["condiment","shaker"],"skins":[{"unified":"1f9c2","native":"ð§"}],"version":11},"canned_food":{"id":"canned_food","name":"Canned Food","keywords":["soup","tomatoes"],"skins":[{"unified":"1f96b","native":"ð¥«"}],"version":5},"bento":{"id":"bento","name":"Bento Box","keywords":["food","japanese","lunch"],"skins":[{"unified":"1f371","native":"ð±"}],"version":1},"rice_cracker":{"id":"rice_cracker","name":"Rice Cracker","keywords":["food","japanese","snack"],"skins":[{"unified":"1f358","native":"ð"}],"version":1},"rice_ball":{"id":"rice_ball","name":"Rice Ball","keywords":["food","japanese"],"skins":[{"unified":"1f359","native":"ð"}],"version":1},"rice":{"id":"rice","name":"Cooked Rice","keywords":["food","asian"],"skins":[{"unified":"1f35a","native":"ð"}],"version":1},"curry":{"id":"curry","name":"Curry Rice","keywords":["food","spicy","hot","indian"],"skins":[{"unified":"1f35b","native":"ð"}],"version":1},"ramen":{"id":"ramen","name":"Steaming Bowl","keywords":["ramen","food","japanese","noodle","chopsticks"],"skins":[{"unified":"1f35c","native":"ð"}],"version":1},"spaghetti":{"id":"spaghetti","name":"Spaghetti","keywords":["food","italian","pasta","noodle"],"skins":[{"unified":"1f35d","native":"ð"}],"version":1},"sweet_potato":{"id":"sweet_potato","name":"Roasted Sweet Potato","keywords":["food","nature","plant"],"skins":[{"unified":"1f360","native":"ð "}],"version":1},"oden":{"id":"oden","name":"Oden","keywords":["food","japanese"],"skins":[{"unified":"1f362","native":"ð¢"}],"version":1},"sushi":{"id":"sushi","name":"Sushi","keywords":["food","fish","japanese","rice"],"skins":[{"unified":"1f363","native":"ð£"}],"version":1},"fried_shrimp":{"id":"fried_shrimp","name":"Fried Shrimp","keywords":["food","animal","appetizer","summer"],"skins":[{"unified":"1f364","native":"ð¤"}],"version":1},"fish_cake":{"id":"fish_cake","name":"Fish Cake with Swirl","keywords":["food","japan","sea","beach","narutomaki","pink","kamaboko","surimi","ramen"],"skins":[{"unified":"1f365","native":"ð¥"}],"version":1},"moon_cake":{"id":"moon_cake","name":"Moon Cake","keywords":["food","autumn","de
244ssert"],"skins":[{"unified":"1f96e","native":"ð¥®"}],"version":11},"dango":{"id":"dango","name":"Dango","keywords":["food","dessert","sweet","japanese","barbecue","meat"],"skins":[{"unified":"1f361","native":"ð¡"}],"version":1},"dumpling":{"id":"dumpling","name":"Dumpling","keywords":["food","empanada","pierogi","potsticker","gyoza"],"skins":[{"unified":"1f95f","native":"ð¥"}],"version":5},"fortune_cookie":{"id":"fortune_cookie","name":"Fortune Cookie","keywords":["food","prophecy","dessert"],"skins":[{"unified":"1f960","native":"ð¥ "}],"version":5},"takeout_box":{"id":"takeout_box","name":"Takeout Box","keywords":["food","leftovers"],"skins":[{"unified":"1f961","native":"ð¥¡"}],"version":5},"crab":{"id":"crab","name":"Crab","keywords":["animal","crustacean"],"skins":[{"unified":"1f980","native":"ð¦"}],"version":1},"lobster":{"id":"lobster","name":"Lobster","keywords":["animal","nature","bisque","claws","seafood"],"skins":[{"unified":"1f99e","native":"ð¦"}],"version":11},"shrimp":{"id":"shrimp","name":"Shrimp","keywords":["animal","ocean","nature","seafood"],"skins":[{"unified":"1f990","native":"ð¦"}],"version":3},"squid":{"id":"squid","name":"Squid","keywords":["animal","nature","ocean","sea"],"skins":[{"unified":"1f991","native":"ð¦"}],"version":3},"oyster":{"id":"oyster","name":"Oyster","keywords":["food"],"skins":[{"unified":"1f9aa","native":"ð¦ª"}],"version":12},"icecream":{"id":"icecream","name":"Soft Ice Cream","keywords":["icecream","food","hot","dessert","summer"],"skins":[{"unified":"1f366","native":"ð¦"}],"version":1},"shaved_ice":{"id":"shaved_ice","name":"Shaved Ice","keywords":["hot","dessert","summer"],"skins":[{"unified":"1f367","native":"ð§"}],"version":1},"ice_cream":{"id":"ice_cream","name":"Ice Cream","keywords":["food","hot","dessert"],"skins":[{"unified":"1f368","native":"ð¨"}],"version":1},"doughnut":{"id":"doughnut","name":"Doughnut","keywords":["food","dessert","snack","sweet","donut"],"skins":[{"unified":"1f369","native":"ð©"}],"version":1},"cookie":{"id":"cookie","name":"Cookie","keywords":["food","snack","oreo","chocolate","sweet","dessert"],"skins":[{"unified":"1f36a","native":"ðª"}],"version":1},"birthday":{"id":"birthday","name":"Birthday Cake","keywords":["food","dessert"],"skins":[{"unified":"1f382","native":"ð"}],"version":1},"cake":{"id":"cake","name":"Shortcake","keywords":["cake","food","dessert"],"skins":[{"unified":"1f370","native":"ð°"}],"version":1},"cupcake":{"id":"cupcake","name":"Cupcake","keywords":["food","dessert","bakery","sweet"],"skins":[{"unified":"1f9c1","native":"ð§"}],"version":11},"pie":{"id":"pie","name":"Pie","keywords":["food","dessert","pastry"],"skins":[{"unified":"1f967","native":"ð¥§"}],"version":5},"chocolate_bar":{"id":"chocolate_bar","name":"Chocolate Bar","keywords":["food","snack","dessert","sweet"],"skins":[{"unified":"1f36b","native":"ð«"}],"version":1},"candy":{"id":"candy","name":"Candy","keywords":["snack","dessert","sweet","lolly"],"skins":[{"unified":"1f36c","native":"ð¬"}],"version":1},"lollipop":{"id":"lollipop","name":"Lollipop","keywords":["food","snack","candy","sweet"],"skins":[{"unified":"1f36d","native":"ð"}],"version":1},"custard":{"id":"custard","name":"Custard","keywords":["dessert","food"],"skins":[{"unified":"1f36e","native":"ð®"}],"version":1},"honey_pot":{"id":"honey_pot","name":"Honey Pot","keywords":["bees","sweet","kitchen"],"skins":[{"unified":"1f36f","native":"ð¯"}],"version":1},"baby_bottle":{"id":"baby_bottle","name":"Baby Bottle","keywords":["food","container","milk"],"skins":[{"unified":"1f37c","native":"ð¼"}],"version":1},"glass_of_milk":{"id":"glass_of_milk","name":"Glass of Milk","keywords":["beverage","drink","cow"],"skins":[{"unified":"1f95b","native":"ð¥"}],"version":3}
244,"coffee":{"id":"coffee","name":"Hot Beverage","keywords":["coffee","caffeine","latte","espresso","mug"],"skins":[{"unified":"2615","native":"â"}],"version":1},"teapot":{"id":"teapot","name":"Teapot","keywords":["drink","hot"],"skins":[{"unified":"1fad6","native":"ð«"}],"version":13},"tea":{"id":"tea","name":"Teacup Without Handle","keywords":["tea","drink","bowl","breakfast","green","british"],"skins":[{"unified":"1f375","native":"ðµ"}],"version":1},"sake":{"id":"sake","name":"Sake","keywords":["wine","drink","drunk","beverage","japanese","alcohol","booze"],"skins":[{"unified":"1f376","native":"ð¶"}],"version":1},"champagne":{"id":"champagne","name":"Bottle with Popping Cork","keywords":["champagne","drink","wine","celebration"],"skins":[{"unified":"1f37e","native":"ð¾"}],"version":1},"wine_glass":{"id":"wine_glass","name":"Wine Glass","keywords":["drink","beverage","drunk","alcohol","booze"],"skins":[{"unified":"1f377","native":"ð·"}],"version":1},"cocktail":{"id":"cocktail","name":"Cocktail Glass","keywords":["drink","drunk","alcohol","beverage","booze","mojito"],"skins":[{"unified":"1f378","native":"ð¸"}],"version":1},"tropical_drink":{"id":"tropical_drink","name":"Tropical Drink","keywords":["beverage","cocktail","summer","beach","alcohol","booze","mojito"],"skins":[{"unified":"1f379","native":"ð¹"}],"version":1},"beer":{"id":"beer","name":"Beer Mug","keywords":["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],"skins":[{"unified":"1f37a","native":"ðº"}],"version":1},"beers":{"id":"beers","name":"Clinking Beer Mugs","keywords":["beers","relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],"skins":[{"unified":"1f37b","native":"ð»"}],"version":1},"clinking_glasses":{"id":"clinking_glasses","name":"Clinking Glasses","keywords":["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],"skins":[{"unified":"1f942","native":"ð¥"}],"version":3},"tumbler_glass":{"id":"tumbler_glass","name":"Tumbler Glass","keywords":["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","shot"],"skins":[{"unified":"1f943","native":"ð¥"}],"version":3},"pouring_liquid":{"id":"pouring_liquid","name":"Pouring Liquid","keywords":["cup","water"],"skins":[{"unified":"1fad7","native":"ð«"}],"version":14},"cup_with_straw":{"id":"cup_with_straw","name":"Cup with Straw","keywords":["drink","soda"],"skins":[{"unified":"1f964","native":"ð¥¤"}],"version":5},"bubble_tea":{"id":"bubble_tea","name":"Bubble Tea","keywords":["taiwan","boba","milk","straw"],"skins":[{"unified":"1f9cb","native":"ð§"}],"version":13},"beverage_box":{"id":"beverage_box","name":"Beverage Box","keywords":["drink"],"skins":[{"unified":"1f9c3","native":"ð§"}],"version":12},"mate_drink":{"id":"mate_drink","name":"Mate","keywords":["drink","tea","beverage"],"skins":[{"unified":"1f9c9","native":"ð§"}],"version":12},"ice_cube":{"id":"ice_cube","name":"Ice","keywords":["cube","water","cold"],"skins":[{"unified":"1f9ca","native":"ð§"}],"version":12},"chopsticks":{"id":"chopsticks","name":"Chopsticks","keywords":["food"],"skins":[{"unified":"1f962","native":"ð¥¢"}],"version":5},"knife_fork_plate":{"id":"knife_fork_plate","name":"Fork and Knife with Plate","keywords":["food","eat","meal","lunch","dinner","restaurant"],"skins":[{"unified":"1f37d-fe0f","native":"ð½ï¸"}],"version":1},"fork_and_knife":{"id":"fork_and_knife","name":"Fork and Knife","keywords":["cutlery","kitchen"],"skins":[{"unified":"1f374","native":"ð´"}],"version":1},"spoon":{"id":"spoon","name":"Spoon","keywords":["cutlery","kitchen","tableware"],"skins":[{"unified":"1f944","native":"ð¥"}],"version":3},"hocho":{"id":"hocho","name":"Hocho","keywords":["knife","kitchen","blade","cutlery","weapon"],"skins":[{"unified":"1f52a","native":"ðª"}],"version":1},"jar":{"id":"jar","name":"Jar","keywords":["container","sauce"],"skins":[{"unified":"1fad9","native":"ð«"}],"version":14},"amphora":{"id":"amphora","name":"Amphora","keywords":["vase","jar"],"skins":[{"unified":"1f3fa","native":"ðº"}],"version":1},"earth_africa":{"id":"earth_africa","name":"Earth Globe Europe-Africa","keywords":["africa","showing","europe","world","international"],"skins":[{"unified":"1f30d","native":"ð"}],"version":1},"earth_americas":{"id":"earth_americas","name":"Earth Globe Americas","keywords":["showing","world","USA","international"],"skins":[{"unified":"1f30e","native":"ð"}],"version":1},"earth_asia":{"id":"earth_asia","name":"Earth Globe Asia-Australia","keywords":["asia","showing","australia","world","east","international"],"skins":[{"unified":"1f30f","native":"ð"}],"version":1}
244,"globe_with_meridians":{"id":"globe_with_meridians","name":"Globe with Meridians","keywords":["earth","international","world","internet","interweb","i18n"],"skins":[{"unified":"1f310","native":"ð"}],"version":1},"world_map":{"id":"world_map","name":"World Map","keywords":["location","direction"],"skins":[{"unified":"1f5fa-fe0f","native":"ðºï¸"}],"version":1},"japan":{"id":"japan","name":"Map of Japan","keywords":["nation","country","japanese","asia"],"skins":[{"unified":"1f5fe","native":"ð¾"}],"version":1},"compass":{"id":"compass","name":"Compass","keywords":["magnetic","navigation","orienteering"],"skins":[{"unified":"1f9ed","native":"ð§"}],"version":11},"snow_capped_mountain":{"id":"snow_capped_mountain","name":"Snow-Capped Mountain","keywords":["snow","capped","photo","nature","environment","winter","cold"],"skins":[{"unified":"1f3d4-fe0f","native":"ðï¸"}],"version":1},"mountain":{"id":"mountain","name":"Mountain","keywords":["photo","nature","environment"],"skins":[{"unified":"26f0-fe0f","native":"â°ï¸"}],"version":1},"volcano":{"id":"volcano","name":"Volcano","keywords":["photo","nature","disaster"],"skins":[{"unified":"1f30b","native":"ð"}],"version":1},"mount_fuji":{"id":"mount_fuji","name":"Mount Fuji","keywords":["photo","mountain","nature","japanese"],"skins":[{"unified":"1f5fb","native":"ð»"}],"version":1},"camping":{"id":"camping","name":"Camping","keywords":["photo","outdoors","tent"],"skins":[{"unified":"1f3d5-fe0f","native":"ðï¸"}],"version":1},"beach_with_umbrella":{"id":"beach_with_umbrella","name":"Beach with Umbrella","keywords":["weather","summer","sunny","sand","mojito"],"skins":[{"unified":"1f3d6-fe0f","native":"ðï¸"}],"version":1},"desert":{"id":"desert","name":"Desert","keywords":["photo","warm","saharah"],"skins":[{"unified":"1f3dc-fe0f","native":"ðï¸"}],"version":1},"desert_island":{"id":"desert_island","name":"Desert Island","keywords":["photo","tropical","mojito"],"skins":[{"unified":"1f3dd-fe0f","native":"ðï¸"}],"version":1},"national_park":{"id":"national_park","name":"National Park","keywords":["photo","environment","nature"],"skins":[{"unified":"1f3de-fe0f","native":"ðï¸"}],"version":1},"stadium":{"id":"stadium","name":"Stadium","keywords":["photo","place","sports","concert","venue"],"skins":[{"unified":"1f3df-fe0f","native":"ðï¸"}],"version":1},"classical_building":{"id":"classical_building","name":"Classical Building","keywords":["art","culture","history"],"skins":[{"unified":"1f3db-fe0f","native":"ðï¸"}],"version":1},"building_construction":{"id":"building_construction","name":"Building Construction","keywords":["wip","working","progress"],"skins":[{"unified":"1f3d7-fe0f","native":"ðï¸"}],"version":1},"bricks":{"id":"bricks","name":"Brick","keywords":["bricks"],"skins":[{"unified":"1f9f1","native":"ð§±"}],"version":11},"rock":{"id":"rock","name":"Rock","keywords":["stone"],"skins":[{"unified":"1faa8","native":"ðª¨"}],"version":13},"wood":{"id":"wood","name":"Wood","keywords":["nature","timber","trunk"],"skins":[{"unified":"1fab5","native":"ðªµ"}],"version":13},"hut":{"id":"hut","name":"Hut","keywords":["house","structure"],"skins":[{"unified":"1f6d6","native":"ð"}],"version":13},"house_buildings":{"id":"house_buildings","name":"Houses","keywords":["house","buildings","photo"],"skins":[{"unified":"1f3d8-fe0f","native":"ðï¸"}],"version":1},"derelict_house_building":{"id":"derelict_house_building","name":"Derelict House","keywords":["building","abandon","evict","broken"],"skins":[{"unified":"1f3da-fe0f","native":"ðï¸"}],"version":1},"house":{"id":"house","name":"House","keywords":["building","home"],"skins":[{"unified":"1f3e0","native":"ð "}],"version":1},"house_with_garden":{"id":"house_with_garden","name":"House with Garden","keywords":["home","plant","nature"],"skins":[{"unified":"1f3e1","native":"ð¡"}],"version":1},"office":{"id":"office","name":"Office Building","keywords":["bureau","work"],"skins":[{"unified":"1f3e2","native":"ð¢"}],"version":1},"post_office":{"id":"post_office","name":"Japanese Post Office","keywords":["building","envelope","communication"],"skins":[{"unified":"1f3e3","native":"ð£"}],"version":1},"european_post_office":{"id":"european_post_office","name":"Post Office","keywords":["european","building","email"],"skins":[{"unified":"1f3e4","native":"ð¤"}],"version":1},"hospital":{"id":"hospital","name":"Hospital","keywords":["building","health","surgery","doctor"],"skins":[{"unified":"1f3e5","native":"ð¥"}],"version":1},"bank":{"id":"bank","name":"Bank","keywords":["building","money","sales","cash","business","enterprise"],"skins":[{"unified":"1f3e6","native":"ð¦"}],"version":1},"hotel":{"id":"hotel","name":"Hotel","keywords":["building","accomodation","checkin"],"skins":[{"unified":"1f3e8","native":"ð¨"}],"version":1},"love_hotel":{"id":"love_hotel","name":"Love Hotel","keywords":["like","affection","dating"],"skins":[{"unified":"1f3e9","native":"ð©"}],"version":1}
244,"convenience_store":{"id":"convenience_store","name":"Convenience Store","keywords":["building","shopping","groceries"],"skins":[{"unified":"1f3ea","native":"ðª"}],"version":1},"school":{"id":"school","name":"School","keywords":["building","student","education","learn","teach"],"skins":[{"unified":"1f3eb","native":"ð«"}],"version":1},"department_store":{"id":"department_store","name":"Department Store","keywords":["building","shopping","mall"],"skins":[{"unified":"1f3ec","native":"ð¬"}],"version":1},"factory":{"id":"factory","name":"Factory","keywords":["building","industry","pollution","smoke"],"skins":[{"unified":"1f3ed","native":"ð"}],"version":1},"japanese_castle":{"id":"japanese_castle","name":"Japanese Castle","keywords":["photo","building"],"skins":[{"unified":"1f3ef","native":"ð¯"}],"version":1},"european_castle":{"id":"european_castle","name":"Castle","keywords":["european","building","royalty","history"],"skins":[{"unified":"1f3f0","native":"ð°"}],"version":1},"wedding":{"id":"wedding","name":"Wedding","keywords":["love","like","affection","couple","marriage","bride","groom"],"skins":[{"unified":"1f492","native":"ð"}],"version":1},"tokyo_tower":{"id":"tokyo_tower","name":"Tokyo Tower","keywords":["photo","japanese"],"skins":[{"unified":"1f5fc","native":"ð¼"}],"version":1},"statue_of_liberty":{"id":"statue_of_liberty","name":"Statue of Liberty","keywords":["american","newyork"],"skins":[{"unified":"1f5fd","native":"ð½"}],"version":1},"church":{"id":"church","name":"Church","keywords":["building","religion","christ"],"skins":[{"unified":"26ea","native":"âª"}],"version":1},"mosque":{"id":"mosque","name":"Mosque","keywords":["islam","worship","minaret"],"skins":[{"unified":"1f54c","native":"ð"}],"version":1},"hindu_temple":{"id":"hindu_temple","name":"Hindu Temple","keywords":["religion"],"skins":[{"unified":"1f6d5","native":"ð"}],"version":12},"synagogue":{"id":"synagogue","name":"Synagogue","keywords":["judaism","worship","temple","jewish"],"skins":[{"unified":"1f54d","native":"ð"}],"version":1},"shinto_shrine":{"id":"shinto_shrine","name":"Shinto Shrine","keywords":["temple","japan","kyoto"],"skins":[{"unified":"26e9-fe0f","native":"â©ï¸"}],"version":1},"kaaba":{"id":"kaaba","name":"Kaaba","keywords":["mecca","mosque","islam"],"skins":[{"unified":"1f54b","native":"ð"}],"version":1},"fountain":{"id":"fountain","name":"Fountain","keywords":["photo","
244summer","water","fresh"],"skins":[{"unified":"26f2","native":"â²"}],"version":1},"tent":{"id":"tent","name":"Tent","keywords":["photo","camping","outdoors"],"skins":[{"unified":"26fa","native":"âº"}],"version":1},"foggy":{"id":"foggy","name":"Foggy","keywords":["photo","mountain"],"skins":[{"unified":"1f301","native":"ð"}],"version":1},"night_with_stars":{"id":"night_with_stars","name":"Night with Stars","keywords":["evening","city","downtown"],"skins":[{"unified":"1f303","native":"ð"}],"version":1},"cityscape":{"id":"cityscape","name":"Cityscape","keywords":["photo","night","life","urban"],"skins":[{"unified":"1f3d9-fe0f","native":"ðï¸"}],"version":1},"sunrise_over_mountains":{"id":"sunrise_over_mountains","name":"Sunrise over Mountains","keywords":["view","vacation","photo"],"skins":[{"unified":"1f304","native":"ð"}],"version":1},"sunrise":{"id":"sunrise","name":"Sunrise","keywords":["morning","view","vacation","photo"],"skins":[{"unified":"1f305","native":"ð
"}],"version":1},"city_sunset":{"id":"city_sunset","name":"Cityscape at Dusk","keywords":["city","sunset","photo","evening","sky","buildings"],"skins":[{"unified":"1f306","native":"ð"}],"version":1},"city_sunrise":{"id":"city_sunrise","name":"Sunset","keywords":["city","sunrise","photo","good","morning","dawn"],"skins":[{"unified":"1f307","native":"ð"}],"version":1},"bridge_at_night":{"id":"bridge_at_night","name":"Bridge at Night","keywords":["photo","
244sanfrancisco"],"skins":[{"unified":"1f309","native":"ð"}],"version":1},"hotsprings":{"id":"hotsprings","name":"Hot Springs","keywords":["hotsprings","bath","warm","relax"],"skins":[{"unified":"2668-fe0f","native":"â¨ï¸"}],"version":1},"carousel_horse":{"id":"carousel_horse","name":"Carousel Horse","keywords":["photo","carnival"],"skins":[{"unified":"1f3a0","native":"ð "}],"version":1},"playground_slide":{"id":"playground_slide","name":"Playground Slide","keywords":["fun","park"],"skins":[{"unified":"1f6dd","native":"ð"}],"version":14},"ferris_wheel":{"id":"ferris_wheel","name":"Ferris Wheel","keywords":["photo","carnival","londoneye"],"skins":[{"unified":"1f3a1","native":"ð¡"}],"version":1},"roller_coaster":{"id":"roller_coaster","name":"Roller Coaster","keywords":["carnival","playground","photo","fun"],"skins":[{"unified":"1f3a2","native":"ð¢"}],"version":1},"barber":{"id":"barber","name":"Barber Pole","keywords":["hair","salon","style"],"skins":[{"unified":"1f488","native":"ð"}],"version":1},"circus_tent":{"id":"circus_tent","name":"Circus Tent","keywords":["festival","carnival","party"],"skins":[{"unified":"1f3aa","native":"ðª"}],"version":1},"steam_locomotive":{"id":"steam_locomotive","name":"Locomotive","keywords":["steam","transportation","vehicle","train"],"skins":[{"unified":"1f682","native":"ð"}],"version":1},"railway_car":{"id":"railway_car","name":"Railway Car","keywords":["transportation","vehicle"],"skins":[{"unified":"1f683","native":"ð"}],"version":1},"bullettrain_side":{"id":"bullettrain_side","name":"High-Speed Train","keywords":["bullettrain","side","high","speed","transportation","vehicle"],"skins":[{"unified":"1f684","native":"ð"}],"version":1},"bullettrain_front":{"id":"bullettrain_front","name":"Bullet Train","keywords":["bullettrain","front","transportation","vehicle","speed","fast","public","travel"],"skins":[{"unified":"1f685","native":"ð
"}],"version":1},"train2":{"id":"train2","name":"Train","keywords":["train2","transportation","vehicle"],"skins":[{"unified":"1f686","native":"ð"}],"version":1},"metro":{"id":"metro","name":"Metro","keywords":["transportation","blue","square","mrt","underground","tube"],"skins":[{"unified":"1f687","native":"ð"}],"version":1},"light_rail":{"id":"light_rail","name":"Light Rail","keywords":["transportation","vehicle"],"skins":[{"unified":"1f688","native":"ð"}],"version":1},"station":{"id":"station","name":"Station","keywords":["transportation","vehicle","public"],"skins":[{"unified":"1f689","native":"ð"}],"version":1},"tram":{"id":"tram","name":"Tram","keywords":["transportation","vehicle"],"skins":[{"unified":"1f68a","native":"ð"}],"version":1},"monorail":{"id":"monorail","name":"Monorail","keywords":["transportation","vehicle"],"skins":[{"unified":"1f69d","native":"ð"}],"version":1},"mountain_railway":{"id":"mountain_railway","name":"Mountain Railway","keywords":["transportation","vehicle"],"skins":[{"unified":"1f69e","native":"ð"}],"version":1},"train":{"id":"train","name":"Tram Car","keywords":["train","transportation","vehicle","carriage","public","travel"],"skins":[{"unified":"1f68b","native":"ð"}],"version":1},"bus":{"id":"bus","name":"Bus","keywords":["car","vehicle","transportation"],"skins":[{"unified":"1f68c","native":"ð"}],"version":1},"oncoming_bus":{"id":"oncoming_bus","name":"Oncoming Bus","keywords":["vehicle","transportation"],"skins":[{"unified":"1f68d","native":"ð"}],"version":1},"trolleybus":{"id":"trolleybus","name":"Trolleybus","keywords":["bart","transportation","vehicle"],"skins":[{"unified":"1f68e","native":"ð"}],"version":1},"minibus":{"id":"minibus","name":"Minibus","keywords":["vehicle","car","transportation"],"skins":[{"unified":"1f690","native":"ð"}],"version":1},"ambulance":{"id":"ambulance","name":"Ambulance","keywords":["health","911","hospital"],"skins":[{"unified":"1f691","native":"ð"}],"version":1},"fire_engine":{"id":"fire_engine","name":"Fire Engine","keywords":["transportation","cars","vehicle"],"skins":[{"unified":"1f692","native":"ð"}],"version":1}
244,"police_car":{"id":"police_car","name":"Police Car","keywords":["vehicle","cars","transportation","law","legal","enforcement"],"skins":[{"unified":"1f693","native":"ð"}],"version":1},"oncoming_police_car":{"id":"oncoming_police_car","name":"Oncoming Police Car","keywords":["vehicle","law","legal","enforcement","911"],"skins":[{"unified":"1f694","native":"ð"}],"version":1},"taxi":{"id":"taxi","name":"Taxi","keywords":["uber","vehicle","cars","transportation"],"skins":[{"unified":"1f695","native":"ð"}],"version":1},"oncoming_taxi":{"id":"oncoming_taxi","name":"Oncoming Taxi","keywords":["vehicle","cars","uber"],"skins":[{"unified":"1f696","native":"ð"}],"version":1},"car":{"id":"car","name":"Automobile","keywords":["car","red","transportation","vehicle"],"skins":[{"unified":"1f697","native":"ð"}],"version":1},"oncoming_automobile":{"id":"oncoming_automobile","name":"Oncoming Automobile","keywords":["car","vehicle","transportation"],"skins":[{"unified":"1f698","native":"ð"}],"version":1},"blue_car":{"id":"blue_car","name":"Recreational Vehicle","keywords":["blue","car","sport","utility","transportation"],"skins":[{"unified":"1f699","native":"ð"}],"version":1},"pickup_truck":{"id":"pickup_truck","name":"Pickup Truck","keywords":["car","transportation"],"skins":[{"unified":"1f6fb","native":"ð»"}],"version":13},"truck":{"id":"truck","name":"Delivery Truck","keywords":["cars","transportation"],"skins":[{"unified":"1f69a","native":"ð"}],"version":1},"articulated_lorry":{"id":"articulated_lorry","name":"Articulated Lorry","keywords":["vehicle","cars","transportation","express"],"skins":[{"unified":"1f69b","native":"ð"}],"version":1},"tractor":{"id":"tractor","name":"Tractor","keywords":["vehicle","car","farming","agriculture"],"skins":[{"unified":"1f69c","native":"ð"}],"version":1},"racing_car":{"id":"racing_car","name":"Racing Car","keywords":["sports","race","fast","formula","f1"],"skins":[{"unified":"1f3ce-fe0f","native":"ðï¸"}],"version":1},"racing_motorcycle":{"id":"racing_motorcycle","name":"Motorcycle","keywords":["racing","race","sports","fast"],"skins":[{"unified":"1f3cd-fe0f","native":"ðï¸"}],"version":1},"motor_scooter":{"id":"motor_scooter","name":"Motor Scooter","keywords":["vehicle","vespa","sasha"],"skins":[{"unified":"1f6f5","native":"ðµ"}],"version":3},"manual_wheelchair":{"id":"manual_wheelchair","name":"Manual Wheelchair","keywords":["accessibility"],"skins":[{"unified":"1f9bd","native":"ð¦½"}],"version":12},"motorized_wheelchair":{"id":"motorized_wheelchair","name":"Motorized Wheelchair","keywords":["accessibility"],"skins":[{"unified":"1f9bc","native":"ð¦¼"}],"version":12},"auto_rickshaw":{"id":"auto_rickshaw","name":"Auto Rickshaw","keywords":["move","transportation"],"skins":[{"unified":"1f6fa","native":"ðº"}],"version":12},"bike":{"id":"bike","name":"Bicycle","keywords":["bike","sports","exercise","hipster"],"skins":[{"unified":"1f6b2","native":"ð²"}],"version":1},"scooter":{"id":"scooter","name":"Scooter","keywords":["kick","vehicle","razor"],"skins":[{"unified":"1f6f4","native":"ð´"}],"version":3},"skateboard":{"id":"skateboard","name":"Skateboard","keywords":["board"],"skins":[{"unified":"1f6f9","native":"ð¹"}],"version":11},"roller_skate":{"id":"roller_skate","name":"Roller Skate","keywords":["footwear","sports"],"skins":[{"unified":"1f6fc","native":"ð¼"}],"version":13},"busstop":{"id":"busstop","name":"Bus Stop","keywords":["busstop","transportation","wait"],"skins":[{"unified":"1f68f","native":"ð"}],"version":1},"motorway":{"id":"motorway","name":"Motorway","keywords":["road","cupertino","interstate","highway"],"skins":[{"unified":"1f6e3-fe0f","native":"ð£ï¸"}],"version":1},"railway_track":{"id":"railway_track","name":"Railway Track","keywords":["train","transportation"],"skins":[{"unified":"1f6e4-fe0f","native":"ð¤ï¸"}],"version":1},"oil_drum":{"id":"oil_drum","name":"Oil Drum","keywords":["barrell"],"skins":[{"unified":"1f6e2-fe0f","native":"ð¢ï¸"}],"version":1},"fuelpump":{"id":"fuelpump","name":"Fuel Pump","keywords":["fuelpump","gas","station","petroleum"],"skins":[{"unified":"26fd","native":"â½"}],"version":1}
244,"wheel":{"id":"wheel","name":"Wheel","keywords":["car","transport"],"skins":[{"unified":"1f6de","native":"ð"}],"version":14},"rotating_light":{"id":"rotating_light","name":"Police Car Light","keywords":["rotating","ambulance","911","emergency","alert","error","pinged","law","legal"],"skins":[{"unified":"1f6a8","native":"ð¨"}],"version":1},"traffic_light":{"id":"traffic_light","name":"Horizontal Traffic Light","keywords":["transportation","signal"],"skins":[{"unified":"1f6a5","native":"ð¥"}],"version":1},"vertical_traffic_light":{"id":"vertical_traffic_light","name":"Vertical Traffic Light","keywords":["transportation","driving"],"skins":[{"unified":"1f6a6","native":"ð¦"}],"version":1},"octagonal_sign":{"id":"octagonal_sign","name":"Stop Sign","keywords":["octagonal"],"skins":[{"unified":"1f6d1","native":"ð"}],"version":3},"construction":{"id":"construction","name":"Construction","keywords":["wip","progress","caution","warning"],"skins":[{"unified":"1f6a7","native":"ð§"}],"version":1},"anchor":{"id":"anchor","name":"Anchor","keywords":["ship","ferry","sea","boat"],"skins":[{"unified":"2693","native":"â"}],"version":1},"ring_buoy":{"id":"ring_buoy","name":"Ring Buoy","keywords":["life","saver","preserver"],"skins":[{"unified":"1f6df","native":"ð"}],"version":14},"boat":{"id":"boat","name":"Sailboat","keywords":["boat","ship","summer","transportation","water","sailing"],"skins":[{"unified":"26f5","native":"âµ"}],"version":1},"canoe":{"id":"canoe","name":"Canoe","keywords":["boat","paddle","water","ship"],"skins":[{"unified":"1f6f6","native":"ð¶"}],"version":3},"speedboat":{"id":"speedboat","name":"Speedboat","keywords":["ship","transportation","vehicle","summer"],"skins":[{"unified":"1f6a4","native":"ð¤"}],"version":1},"passenger_ship":{"id":"passenger_ship","name":"Passenger Ship","keywords":["yacht","cruise","ferry"],"skins":[{"unified":"1f6f3-fe0f","native":"ð³ï¸"}],"version":1},"ferry":{"id":"ferry","name":"Ferry","keywords":["boat","ship","yacht"],"skins":[{"unified":"26f4-fe0f","native":"â´ï¸"}],"version":1},"motor_boat":{"id":"motor_boat","name":"Motor Boat","keywords":["ship"],"skins":[{"unified":"1f6e5-fe0f","native":"ð¥ï¸"}],"version":1},"ship":{"id":"ship","name":"Ship","keywords":["transportation","titanic","deploy"],"skins":[{"unified":"1f6a2","native":"ð¢"}],"version":1},"airplane":{"id":"airplane","name":"Airplane","keywords":["vehicle","transportation","flight","fly"],"skins":[{"unified":"2708-fe0f","native":"âï¸"}],"version":1},"small_airplane":{"id":"small_airplane","name":"Small Airplane","keywords":["flight","transportation","fly","vehicle"],"skins":[{"unified":"1f6e9-fe0f","native":"ð©ï¸"}],"version":1},"airplane_departure":{"id":"airplane_departure","name":"Airplane Departure","keywords":["airport","flight","landing"],"skins":[{"unified":"1f6eb","native":"ð«"}],"version":1},"airplane_arriving":{"id":"airplane_arriving","name":"Airplane Arrival","keywords":["arriving","airport","flight","boarding"],"skins":[{"unified":"1f6ec","native":"ð¬"}],"version":1},"parachute":{"id":"parachute","name":"Parachute","keywords":["fly","glide"],"skins":[{"unified":"1fa82","native":"ðª"}],"version":12},"seat":{"id":"seat","name":"Seat","keywords":["sit","airplane","transport","bus","flight","fly"],"skins":[{"unified":"1f4ba","native":"ðº"}],"version":1},"helicopter":{"id":"helicopter","name":"Helicopter","keywords":["transportation","vehicle","fly"],"skins":[{"unified":"1f681","native":"ð"}],"version":1},"suspension_railway":{"id":"suspension_railway","name":"Suspension Railway","keywords":["vehicle","transportation"],"skins":[{"unified":"1f69f","native":"ð"}],"version":1},"mountain_cableway":{"id":"mountain_cableway","name":"Mountain Cableway","keywords":["transportation","vehicle","ski"],"skins":[{"unified":"1f6a0","native":"ð "}],"version":1},"aerial_tramway":{"id":"aerial_tramway","name":"Aerial Tramway","keywords":["transportation","vehicle","ski"],"skins":[{"unified":"1f6a1","native":"ð¡"}],"version":1},"satellite":{"id":"satellite","name":"Satellite","keywords":["communication","gps","orbit","spaceflight","NASA","ISS"],"skins":[{"unified":"1f6f0-fe0f","native":"ð°ï¸"}],"version":1},"rocket":{"id":"rocket","name":"Rocket","keywords":["launch","ship","staffmode","NASA","outer","space","fly"],"skins":[{"unified":"1f680","native":"ð"}],"version":1},"flying_saucer":{"id":"flying_saucer","name":"Flying Saucer","keywords":["transportation","vehicle","ufo"],"skins":[{"unified":"1f6f8","native":"ð¸"}],"version":5},"bellhop_bell":{"id":"bellhop_bell","name":"Bellhop Bell","keywords":["service"],"skins":[{"unified":"1f6ce-fe0f","native":"ðï¸"}],"version":1},"luggage":{"id":"luggage","name":"Luggage","keywords":["packing","travel"],"skins":[{"unified":"1f9f3","native":"ð§³"}],"version":11},"hourglass":{"id":"hourglass","name":"Hourglass","keywords":["done","time","clock","oldschool","limit","exam","quiz","test"],"skins":[{"unified":"231b","native":"â"}],"version":1},"hourglass_flowing_sand":{"id":"hourglass_flowing_sand","name":"Hourglass Not Done","keywords":["flowing","sand","oldschool","time","countdown"],"skins":[{"unified":"23f3","native":"â³"}],"version":1},"watch":{"id":"watch","name":"Watch","keywords":["time","accessories"],"skins":[{"unified":"231a","native":"â"}],"version":1},"alarm_clock":{"id":"alarm_clock","name":"Alarm Clock","keywords":["time","wake"],"skins":[{"unified":"23f0","native":"â°"}],"version":1},"stopwatch":{"id":"stopwatch","name":"Stopwatch","keywords":["time","deadline"],"skins":[{"unified":"23f1-fe0f","native":"â±ï¸"}],"version":1},"timer_clock":{"id":"timer_clock","name":"Timer Clock","keywords":["alarm"],"skins":[{"unified":"23f2-fe0f","native":"â²ï¸"}],"version":1},"mantelpiece_clock":{"id":"mantelpiece_clock","name":"Mantelpiece Clock","keywords":["time"],"skins":[{"unified":"1f570-fe0f","native":"ð°ï¸"}],"version":1},"clock12":{"id":"clock12","name":"Twelve Oâclock","keywords":["clock12","o","clock","12","00:00","0000","12:00","1200","time","noon","midnight","midday","late","early","schedule"],"skins":[{"unified":"1f55b","native":"ð"}],"version":1},"clock1230":{"id":"clock1230","name":"Twelve-Thirty","keywords":["clock1230","twelve","thirty","00:30","0030","12:30","1230","time","late","early","schedule"],"skins":[{"unified":"1f567","native":"ð§"}],"version":1},"clock1":{"id":"clock1","name":"One Oâclock","keywords":["clock1","o","clock","1","1:00","100","13:00","1300","time","late","early","schedule"],"skins":[{"unified":"1f550","native":"ð"}],"version":1},"clock130":{"id":"clock130","name":"One-Thirty","keywords":["clock130","one","thirty","1:30","130","13:30","1330","time","late","early","schedule"],"skins":[{"unified":"1f55c","
244native":"ð"}],"version":1},"clock2":{"id":"clock2","name":"Two Oâclock","keywords":["clock2","o","clock","2","2:00","200","14:00","1400","time","late","early","schedule"],"skins":[{"unified":"1f551","native":"ð"}],"version":1},"clock230":{"id":"clock230","name":"Two-Thirty","keywords":["clock230","two","thirty","2:30","230","14:30","1430","time","late","early","schedule"],"skins":[{"unified":"1f55d","native":"ð"}],"version":1},"clock3":{"id":"clock3","name":"Three Oâclock","keywords":["clock3","o","clock","3","3:00","300","15:00","1500","time","late","early","schedule"],"skins":[{"unified":"1f552","native":"ð"}],"version":1},"clock330":{"id":"clock330","name":"Three-Thirty","keywords":["clock330","three","thirty","3:30","330","15:30","1530","time","late","early","schedule"],"skins":[{"unified":"1f55e","native":"ð"}],"version":1},"clock4":{"id":"clock4","name":"Four Oâclock","keywords":["clock4","o","clock","4","4:00","400","16:00","1600","time","late","early","schedule"],"skins":[{"unified":"1f553","native":"ð"}],"version":1},"clock430":{"id":"clock430","name":"Four-Thirty","keywords":["clock430","four","thirty","4:30","430","16:30","1630","time","late","early","schedule"],"skins":[{"unified":"1f55f","native":"ð"}],"version":1},"clock5":{"id":"clock5","name":"Five Oâclock","keywords":["clock5","o","clock","5","5:00","500","17:00","1700","time","late","early","schedule"],"skins":[{"unified":"1f554","native":"ð"}],"version":1},"clock530":{"id":"clock530","name":"Five-Thirty","keywords":["clock530","five","thirty","5:30","530","17:30","1730","time","late","early","schedule"],"skins":[{"unified":"1f560","native":"ð "}],"version":1},"clock6":{"id":"clock6","name":"Six Oâclock","keywords":["clock6","o","clock","6","6:00","600","18:00","1800","time","late","early","schedule","dawn","dusk"],"skins":[{"unified":"1f555","native":"ð"}],"version":1},"clock630":{"id":"clock630","name":"Six-Thirty","keywords":["clock630","six","thirty","6:30","630","18:30","1830","time","late","early","schedule"],"skins":[{"unified":"1f561","native":"ð¡"}],"version":1},"clock7":{"id":"clock7","name":"Seven Oâclock","keywords":["clock7","o","clock","7","7:00","700","19:00","1900","time","late","early","schedule"],"skins":[{"unified":"1f556","native":"ð"}],"version":1},"clock730":{"id":"clock730","name":"Seven-Thirty","keywords":["clock730","seven","thirty","7:30","730","19:30","1930","time","late","early","schedule"],"skins":[{"unified":"1f562","native":"ð¢"}],"version":1},"clock8":{"id":"clock8","name":"Eight Oâclock","keywords":["clock8","o","clock","8","8:00","800","20:00","2000","time","late","early","schedule"],"skins":[{"unified":"1f557","native":"ð"}],"version":1},"clock830":{"id":"clock830","name":"Eight-Thirty","keywords":["clock830","eight","thirty","8:30","830","20:30","2030","time","late","early","schedule"],"skins":[{"unified":"1f563","native":"ð£"}],"version":1},"clock9":{"id":"clock9","name":"Nine Oâclock","keywords":["clock9","o","clock","9","9:00","900","21:00","2100","time","late","early","schedule"],"skins":[{"unified":"1f558","native":"ð"}],"version":1},"clock930":{"id":"clock930","name":"Nine-Thirty","keywords":["clock930","nine","thirty","9:30","930","21:30","2130","time","late","early","schedule"],"skins":[{"unified":"1f564","native":"ð¤"}],"version":1},"clock10":{"id":"clock10","name":"Ten Oâclock","keywords":["clock10","o","clock","10","10:00","1000","22:00","2200","time","late","early","schedule"],"skins":[{"unified":"1f559","native":"ð"}],"version":1},"clock1030":{"id":"clock1030","name":"Ten-Thirty","keywords":["clock1030","ten","thirty","10:30","1030","22:30","2230","time","late","early","schedule"],"skins":[{"unified":"1f565","native":"ð¥"}],"version":1},"clock11":{"id":"clock11","name":"Eleven Oâclock","keywords":["clock11","o","clock","11","11:00","1100","23:00","2300","time","late","early","schedule"],"skins":[{"unified":"1f55a","native":"ð"}],"version":1},"clock1130":{"id":"clock1130","name":"Eleven-Thirty","keywords":["clock1130","eleven","thirty","11:30","1130","23:30","2330","time","late","early","schedule"],"skins":[{"unified":"1f566","native":"ð¦"}],"version":1},"new_moon":{"id":"new_moon","name":"New Moon","keywords":["nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f311","native":"ð"}],"version":1},"waxing_crescent_moon":{"id":"waxing_crescent_moon","name":"Waxing Crescent Moon","keywords":["nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f312","native":"ð"}],"version":1},"first_quarter_moon":{"id":"first_quarter_moon","name":"First Quarter Moon","keywords":["nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f313","native":"ð"}],"version":1},"moon":{"id":"moon","name":"Waxing Gibbous Moon","keywords":["nature","night","sky","gray","twilight","planet","space","evening","sleep"],"skins":[{"unified":"1f314","native":"ð"}],"version":1},"full_moon":{"id":"full_moon","name":"Full Moon","keywords":["nature","yellow","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f315","native":"ð"}],"version":1},"waning_gibbous_moon":{"id":"waning_gibbous_moon","name":"Waning Gibbous Moon","keywords":["nature","twilight","planet","space","night","evening","sleep","waxing"],"skins":[{"unified":"1f316","native":"ð"}],"version":1},"last_quarter_moon":{"id":"last_quarter_moon","name":"Last Quarter Moon","keywords":["nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f317","native":"ð"}],"version":1},"waning_crescent_moon":{"id":"waning_crescent_moon","name":"Waning Crescent Moon","keywords":["nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f318","native":"ð"}
244],"version":1},"crescent_moon":{"id":"crescent_moon","name":"Crescent Moon","keywords":["night","sleep","sky","evening","magic"],"skins":[{"unified":"1f319","native":"ð"}],"version":1},"new_moon_with_face":{"id":"new_moon_with_face","name":"New Moon Face","keywords":["with","nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f31a","native":"ð"}],"version":1},"first_quarter_moon_with_face":{"id":"first_quarter_moon_with_face","name":"First Quarter Moon Face","keywords":["with","nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f31b","native":"ð"}],"version":1},"last_quarter_moon_with_face":{"id":"last_quarter_moon_with_face","name":"Last Quarter Moon Face","keywords":["with","nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f31c","native":"ð"}],"version":1},"thermometer":{"id":"thermometer","name":"Thermometer","keywords":["weather","temperature","hot","cold"],"skins":[{"unified":"1f321-fe0f","native":"ð¡ï¸"}],"version":1},"sunny":{"id":"sunny","name":"Sun","keywords":["sunny","weather","nature","brightness","summer","beach","spring"],"skins":[{"unified":"2600-fe0f","native":"âï¸"}],"version":1},"full_moon_with_face":{"id":"full_moon_with_face","name":"Full Moon Face","keywords":["with","nature","twilight","planet","space","night","evening","sleep"],"skins":[{"unified":"1f31d","native":"ð"}],"version":1},"sun_with_face":{"id":"sun_with_face","name":"Sun with Face","keywords":["nature","morning","sky"],"skins":[{"unified":"1f31e","native":"ð"}],"version":1},"ringed_planet":{"id":"ringed_planet","name":"Ringed Planet","keywords":["outerspace"],"skins":[{"unified":"1fa90","native":"ðª"}],"version":12},"star":{"id":"star","name":"Star","keywords":["night","yellow"],"skins":[{"unified":"2b50","native":"â"}],"version":1},"star2":{"id":"star2","name":"Glowing Star","keywords":["star2","night","sparkle","awesome","good","magic"],"skins":[{"unified":"1f31f","native":"ð"}],"version":1},"stars":{"id":"stars","name":"Shooting Star","keywords":["stars","night","photo"],"skins":[{"unified":"1f320","native":"ð "}],"version":1},"milky_way":{"id":"milky_way","name":"Milky Way","keywords":["photo","
244space","stars"],"skins":[{"unified":"1f30c","native":"ð"}],"version":1},"cloud":{"id":"cloud","name":"Cloud","keywords":["weather","sky"],"skins":[{"unified":"2601-fe0f","native":"âï¸"}],"version":1},"partly_sunny":{"id":"partly_sunny","name":"Sun Behind Cloud","keywords":["partly","sunny","weather","nature","cloudy","morning","fall","spring"],"skins":[{"unified":"26c5","native":"â
"}],"version":1},"thunder_cloud_and_rain":{"id":"thunder_cloud_and_rain","name":"Cloud with Lightning and Rain","keywords":["thunder","weather"],"skins":[{"unified":"26c8-fe0f","native":"âï¸"}],"version":1},"mostly_sunny":{"id":"mostly_sunny","name":"Sun Behind Small Cloud","keywords":["mostly","sunny","weather"],"skins":[{"unified":"1f324-fe0f","native":"ð¤ï¸"}],"version":1},"barely_sunny":{"id":"barely_sunny","name":"Sun Behind Large Cloud","keywords":["barely","sunny","weather"],"skins":[{"unified":"1f325-fe0f","native":"ð¥ï¸"}],"version":1},"partly_sunny_rain":{"id":"partly_sunny_rain","name":"Sun Behind Rain Cloud","keywords":["partly","sunny","weather"],"skins":[{"unified":"1f326-fe0f","native":"ð¦ï¸"}],"version":1},"rain_cloud":{"id":"rain_cloud","name":"Cloud with Rain","keywords":["weather"],"skins":[{"unified":"1f327-fe0f","native":"ð§ï¸"}],"version":1},"snow_cloud":{"id":"snow_cloud","name":"Cloud with Snow","keywords":["weather"],"skins":[{"unified":"1f328-fe0f","native":"ð¨ï¸"}],"version":1},"lightning":{"id":"lightning","name":"Cloud with Lightning","keywords":["weather","thunder"],"skins":[{"unified":"1f329-fe0f","native":"ð©ï¸"}],"version":1},"tornado":{"id":"tornado","name":"Tornado","keywords":["cloud","weather","cyclone","twister"],"skins":[{"unified":"1f32a-fe0f","native":"ðªï¸"}],"version":1},"fog":{"id":"fog","name":"Fog","keywords":["weather"],"skins":[{"unified":"1f32b-fe0f","native":"ð«ï¸"}],"version":1},"wind_blowing_face":{"id":"wind_blowing_face","name":"Wind Face","keywords":["blowing","gust","air"],"skins":[{"unified":"1f32c-fe0f","native":"ð¬ï¸"}],"version":1},"cyclone":{"id":"cyclone","name":"Cyclone","keywords":["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],"skins":[{"unified":"1f300","native":"ð"}],"version":1},"rainbow":{"id":"rainbow","name":"Rainbow","keywords":["nature","happy","unicorn","face","photo","sky","spring"],"skins":[{"unified":"1f308","native":"ð"}],"version":1},"closed_umbrella":{"id":"closed_umbrella","name":"Closed Umbrella","keywords":["weather","rain","drizzle"],"skins":[{"unified":"1f302","native":"ð"}],"version":1},"umbrella":{"id":"umbrella","name":"Umbrella","keywords":["weather","spring"],"skins":[{"unified":"2602-fe0f","native":"âï¸"}],"version":1},"umbrella_with_rain_drops":{"id":"umbrella_with_rain_drops","name":"Umbrella with Rain Drops","keywords":["rainy","weather","spring"],"skins":[{"unified":"2614","native":"â"}],"version":1},"umbrella_on_ground":{"id":"umbrella_on_ground","name":"Umbrella on Ground","keywords":["weather","summer"],"skins":[{"unified":"26f1-fe0f","native":"â±ï¸"}],"version":1},"zap":{"id":"zap","name":"High Voltage","keywords":["zap","thunder","weather","lightning","bolt","fast"],"skins":[{"unified":"26a1","native":"â¡"}],"version":1},"snowflake":{"id":"snowflake","name":"Snowflake","keywords":["winter","season","cold","weather","christmas","xmas"],"skins":[{"unified":"2744-fe0f","native":"âï¸"}],"version":1},"snowman":{"id":"snowman","name":"Snowman","keywords":["winter","season","cold","weather","christmas","xmas","frozen"],"skins":[{"unified":"2603-fe0f","native":"âï¸"}],"version":1},"snowman_without_snow":{"id":"snowman_without_snow","name":"Snowman Without Snow","keywords":["winter","season","cold","weather","christmas","xmas","frozen"],"skins":[{"unified":"26c4","native":"â"}],"version":1},"comet":{"id":"comet","name":"Comet","keywords":["space"],"skins":[{"unified":"2604-fe0f","native":"âï¸"}],"version":1},"fire":{"id":"fire","name":"Fire","keywords":["hot","cook","flame"],"skins":[{"unified":"1f525","native":"ð¥"}],"version":1},"droplet":{"id":"droplet","name":"Droplet","keywords":["water","drip","faucet","spring"],"skins":[{"unified":"1f4a7","native":"ð§"}],"version":1}
244,"ocean":{"id":"ocean","name":"Water Wave","keywords":["ocean","sea","nature","tsunami","disaster"],"skins":[{"unified":"1f30a","native":"ð"}],"version":1},"jack_o_lantern":{"id":"jack_o_lantern","name":"Jack-O-Lantern","keywords":["jack","o","lantern","halloween","light","pumpkin","creepy","fall"],"skins":[{"unified":"1f383","native":"ð"}],"version":1},"christmas_tree":{"id":"christmas_tree","name":"Christmas Tree","keywords":["festival","vacation","december","xmas","celebration"],"skins":[{"unified":"1f384","native":"ð"}],"version":1},"fireworks":{"id":"fireworks","name":"Fireworks","keywords":["photo","festival","carnival","congratulations"],"skins":[{"unified":"1f386","native":"ð"}],"version":1},"sparkler":{"id":"sparkler","name":"Sparkler","keywords":["stars","night","shine"],"skins":[{"unified":"1f387","native":"ð"}],"version":1},"firecracker":{"id":"firecracker","name":"Firecracker","keywords":["dynamite","boom","explode","explosion","explosive"],"skins":[{"unified":"1f9e8","native":"ð§¨"}],"version":11},"sparkles":{"id":"sparkles","name":"Sparkles","keywords":["stars","shine","shiny","cool","awesome","good","magic"],"skins":[{"unified":"2728","native":"â¨"}],"version":1},"balloon":{"id":"balloon","name":"Balloon","keywords":["party","celebration","birthday","circus"],"skins":[{"unified":"1f388","native":"ð"}],"version":1},"tada":{"id":"tada","name":"Party Popper","keywords":["tada","congratulations","birthday","magic","circus","celebration"],"skins":[{"unified":"1f389","native":"ð"}],"version":1},"confetti_ball":{"id":"confetti_ball","name":"Confetti Ball","keywords":["festival","party","birthday","circus"],"skins":[{"unified":"1f38a","native":"ð"}],"version":1},"tanabata_tree":{"id":"tanabata_tree","name":"Tanabata Tree","keywords":["plant","nature","branch","summer","bamboo","wish","star","festival","tanzaku"],"skins":[{"unified":"1f38b","native":"ð"}],"version":1},"bamboo":{"id":"bamboo","name":"Pine Decoration","keywords":["bamboo","japanese","plant","nature","vegetable","panda","new","years"],"skins":[{"unified":"1f38d","native":"ð"}],"version":1},"dolls":{"id":"dolls","name":"Japanese Dolls","keywords":["toy","kimono"],"skins":[{"unified":"1f38e","native":"ð"}],"version":1},"flags":{"id":"flags","name":"Carp Streamer","keywords":["flags","fish","japanese","koinobori","banner"],"skins":[{"unified":"1f38f","native":"ð"}],"version":1},"wind_chime":{"id":"wind_chime","name":"Wind Chime","keywords":["nature","ding","spring","bell"],"skins":[{"unified":"1f390","native":"ð"}],"version":1},"rice_scene":{"id":"rice_scene","name":"Moon Viewing Ceremony","keywords":["rice","scene","photo","japan","asia","tsukimi"],"skins":[{"unified":"1f391","native":"ð"}],"version":1},"red_envelope":{"id":"red_envelope","name":"Red Envelope","keywords":["gift"],"skins":[{"unified":"1f9e7","native":"ð§§"}],"version":11},"ribbon":{"id":"ribbon","name":"Ribbon","keywords":["decoration","pink","girl","bowtie"],"skins":[{"unified":"1f380","native":"ð"}],"version":1},"gift":{"id":"gift","name":"Wrapped Gift","keywords":["present","birthday","christmas","xmas"],"skins":[{"unified":"1f381","native":"ð"}],"version":1},"reminder_ribbon":{"id":"reminder_ribbon","name":"Reminder Ribbon","keywords":["sports","cause","support","awareness"],"skins":[{"unified":"1f397-fe0f","native":"ðï¸"}],"version":1},"admission_tickets":{"id":"admission_tickets","name":"Admission Tickets","keywords":["sports","concert","entrance"],"skins":[{"unified":"1f39f-fe0f","native":"ðï¸"}],"version":1},"ticket":{"id":"ticket","name":"Ticket","keywords":["event","concert","pass"],"skins":[{"unified":"1f3ab","native":"ð«"}],"version":1},"medal":{"id":"medal","name":"Military Medal","keywords":["award","winning","army"],"skins":[{"unified":"1f396-fe0f","native":"ðï¸"}],"version":1},"trophy":{"id":"trophy","name":"Trophy","keywords":["win","award","contest","place","ftw","ceremony"],"skins":[{"unified":"1f3c6","native":"ð"}],"version":1},"sports_medal":{"id":"sports_medal","name":"Sports Medal","keywords":["award","winning"],"skins":[{"unified":"1f3c5","native":"ð
"}],"version":1},"first_place_medal":{"id":"first_place_medal","name":"1st Place Medal","keywords":["first","award","winning"],"skins":[{"unified":"1f947","native":"ð¥"}],"version":3},"second_place_medal":{"id":"second_place_medal","name":"2nd Place Medal","keywords":["second","award"],"skins":[{"unified":"1f948","native":"ð¥"}],"version":3},"third_place_medal":{"id":"third_place_medal","name":"3rd Place Medal","keywords":["third","award"],"skins":[{"unified":"1f949","native":"ð¥"}],"version":3},"soccer":{"id":"soccer","name":"Soccer Ball","keywords":["sports","football"],"skins":[{"unified":"26bd","native":"â½"}],"version":1},"baseball":{"id":"baseball","name":"Baseball","keywords":["sports","balls"],"skins":[{"unified":"26be","native":"â¾"}],"version":1},"softball":{"id":"softball","name":"Softball","keywords":["sports","balls"],"skins":[{"unified":"1f94e","native":"ð¥"}],"version":11},"basketball":{"id":"basketball","name":"Basketball","keywords":["sports","balls","NBA"],"skins":[{"unified":"1f3c0","
244native":"ð"}],"version":1},"volleyball":{"id":"volleyball","name":"Volleyball","keywords":["sports","balls"],"skins":[{"unified":"1f3d0","native":"ð"}],"version":1},"football":{"id":"football","name":"American Football","keywords":["sports","balls","NFL"],"skins":[{"unified":"1f3c8","native":"ð"}],"version":1},"rugby_football":{"id":"rugby_football","name":"Rugby Football","keywords":["sports","team"],"skins":[{"unified":"1f3c9","native":"ð"}],"version":1},"tennis":{"id":"tennis","name":"Tennis","keywords":["sports","balls","green"],"skins":[{"unified":"1f3be","native":"ð¾"}],"version":1},"flying_disc":{"id":"flying_disc","name":"Flying Disc","keywords":["sports","frisbee","ultimate"],"skins":[{"unified":"1f94f","native":"ð¥"}],"version":11},"bowling":{"id":"bowling","name":"Bowling","keywords":["sports","fun","play"],"skins":[{"unified":"1f3b3","native":"ð³"}],"version":1},"cricket_bat_and_ball":{"id":"cricket_bat_and_ball","name":"Cricket Game","keywords":["bat","and","ball","sports"],"skins":[{"unified":"1f3cf","native":"ð"}],"version":1},"field_hockey_stick_and_ball":{"id":"field_hockey_stick_and_ball","name":"Field Hockey","keywords":["stick","and","ball","sports"],"skins":[{"unified":"1f3d1","native":"ð"}],"version":1},"ice_hockey_stick_and_puck":{"id":"ice_hockey_stick_and_puck","name":"Ice Hockey","keywords":["stick","and","puck","sports"],"skins":[{"unified":"1f3d2","native":"ð"}],"version":1},"lacrosse":{"id":"lacrosse","name":"Lacrosse","keywords":["sports","ball","stick"],"skins":[{"unified":"1f94d","native":"ð¥"}],"version":11},"table_tennis_paddle_and_ball":{"id":"table_tennis_paddle_and_ball","name":"Ping Pong","keywords":["table","tennis","paddle","and","ball","sports","pingpong"],"skins":[{"unified":"1f3d3","native":"ð"}],"version":1},"badminton_racquet_and_shuttlecock":{"id":"badminton_racquet_and_shuttlecock","name":"Badminton","keywords":["racquet","and","shuttlecock","sports"],"skins":[{"unified":"1f3f8","native":"ð¸"}],"version":1},"boxing_glove":{"id":"boxing_glove","name":"Boxing Glove","keywords":["sports","fighting"],"skins":[{"unified":"1f94a","native":"ð¥"}],"version":3},"martial_arts_uniform":{"id":"martial_arts_uniform","name":"Martial Arts Uniform","keywords":["judo","karate","taekwondo"],"skins":[{"unified":"1f94b","native":"ð¥"}],"version":3},"goal_net":{"id":"goal_net","name":"Goal Net","keywords":["sports"],"skins":[{"unified":"1f945","native":"ð¥
"}],"version":3},"golf":{"id":"golf","name":"Flag in Hole","keywords":["golf","sports","business","summer"],"skins":[{"unified":"26f3","native":"â³"}],"version":1},"ice_skate":{"id":"ice_skate","name":"Ice Skate","keywords":["sports"],"skins":[{"unified":"26f8-fe0f","native":"â¸ï¸"}],"version":1},"fishing_pole_and_fish":{"id":"fishing_pole_and_fish","name":"Fishing Pole","keywords":["and","fish","food","hobby","summer"],"skins":[{"unified":"1f3a3","native":"ð£"}],"version":1},"diving_mask":{"id":"diving_mask","name":"Diving Mask","keywords":["sport","ocean"],"skins":[{"unified":"1f93f","native":"ð¤¿"}],"version":12},"running_shirt_with_sash":{"id":"running_shirt_with_sash","name":"Running Shirt","keywords":["with","sash","play","pageant"],"skins":[{"unified":"1f3bd","native":"ð½"}],"version":1},"ski":{"id":"ski","name":"Skis","keywords":["ski","sports","winter","cold","snow"],"skins":[{"unified":"1f3bf","native":"ð¿"}],"version":1},"sled":{"id":"sled","name":"Sled","keywords":["sleigh","luge","toboggan"],"skins":[{"unified":"1f6f7","native":"ð·"}],"version":5},"curling_stone":{"id":"curling_stone","name":"Curling Stone","keywords":["sports"],"skins":[{"unified":"1f94c","native":"ð¥"}],"version":5},"dart":{"id":"dart","name":"Bullseye","keywords":["dart","direct","hit","game","play","bar","target"],"skins":[{"unified":"1f3af","native":"ð¯"}],"version":1},"yo-yo":{"id":"yo-yo","name":"Yo-Yo","keywords":["yo","toy"],"skins":[{"unified":"1fa80","native":"ðª"}],"version":12},"kite":{"id":"kite","name":"Kite","keywords":["wind","fly"],"skins":[{"unified":"1fa81","native":"ðª"}],"version":12},"gun":{"id":"gun","name":"Pistol","keywords":["gun","violence","weapon","revolver"],"skins":[{"unified":"1f52b","native":"ð«"}],"version":1},"8ball":{"id":"8ball","name":"Billiards","keywords":["8ball","pool","8","ball","hobby","game","luck","magic"],"skins":[{"unified":"1f3b1","native":"ð±"}],"version":1},"crystal_ball":{"id":"crystal_ball","name":"Crystal Ball","keywords":["disco","party","magic","circus","fortune","teller"],"skins":[{"unified":"1f52e","native":"ð®"}],"version":1},"magic_wand":{"id":"magic_wand","name":"Magic Wand","keywords":["supernature","power"],"skins":[{"unified":"1fa84","native":"ðª"}],"version":13},"video_game":{"id":"video_game","name":"Video Game","keywords":["play","console","PS4","controller"],"skins":[{"unified":"1f3ae","native":"ð®"}],"version":1},"joystick":{"id":"joystick","name":"Joystick","keywords":["game","play"],"skins":[{"unified":"1f579-fe0f","native":"ð¹ï¸"}],"version":1},"slot_machine":{"id":"slot_machine","name":"Slot Machine","keywords":["bet","gamble","vegas","fruit","luck","casino"],"skins":[{"unified":"1f3b0","native":"ð°"}],"version":1},"game_die":{"id":"game_die","name":"Game Die","keywords":["dice","random","tabletop","play","luck"],"skins":[{"unified":"1f3b2","native":"ð²"}],"version":1},"jigsaw":{"id":"jigsaw","name":"Puzzle Piece","keywords":["jigsaw","interlocking"],"skins":[{"unified":"1f9e9","native":"ð§©"}],"version":11},"teddy_bear":{"id":"teddy_bear","name":"Teddy Bear","keywords":["plush","stuffed"],"skins":[{"unified":"1f9f8","native":"ð§¸"}],"version":11},"pinata":{"id":"pinata","name":"Pinata","keywords":["mexico","candy","celebration"],"skins":[{"unified":"1fa85","native":"ðª
"}],"version":13},"mirror_ball":{"id":"mirror_ball","name":"Mirror Ball","keywords":["disco","dance","party"],"skins":[{"unified":"1faa9","native":"ðª©"}],"version":14},"nesting_dolls":{"id":"nesting_dolls","name":"Nesting Dolls","keywords":["matryoshka","toy"],"skins":[{"unified":"1fa86","native":"ðª"}],"version":13},"spades":{"id":"spades","name":"Spade Suit","keywords":["spades","poker","cards","suits","magic"],"skins":[{"unified":"2660-fe0f","native":"â ï¸"}],"version":1},"hearts":{"id":"hearts","name":"Heart Suit","keywords":["hearts","poker","cards","magic","suits"],"skins":[{"unified":"2665-fe0f","native":"â¥ï¸"}],"version":1},"diamonds":{"id":"diamonds","name":"Diamond Suit","keywords":["diamonds","poker","cards","magic","suits"],"skins":[{"unified":"2666-fe0f","native":"â¦ï¸"}],"version":1},"clubs":{"id":"clubs","name":"Club Suit","keywords":["clubs","poker","cards","magic","suits"],"skins":[{"unified":"2663-fe0f","native":"â£ï¸"}],"version":1},"chess_pawn":{"id":"chess_pawn","name":"Chess Pawn","keywords":["expendable"],"skins":[{"unified":"265f-fe0f","native":"âï¸"}],"version":11},"black_joker":{"id":"black_joker","name":"Joker","keywords":["black","poker","cards","game","play","magic"],"skins":[{"unified":"1f0cf","native":"ð"}],"version":1}
244,"mahjong":{"id":"mahjong","name":"Mahjong Red Dragon","keywords":["game","play","chinese","kanji"],"skins":[{"unified":"1f004","native":"ð"}],"version":1},"flower_playing_cards":{"id":"flower_playing_cards","name":"Flower Playing Cards","keywords":["game","sunset","red"],"skins":[{"unified":"1f3b4","native":"ð´"}],"version":1},"performing_arts":{"id":"performing_arts","name":"Performing Arts","keywords":["acting","theater","drama"],"skins":[{"unified":"1f3ad","native":"ð"}],"version":1},"frame_with_picture":{"id":"frame_with_picture","name":"Framed Picture","keywords":["frame","with","photography"],"skins":[{"unified":"1f5bc-fe0f","native":"ð¼ï¸"}],"version":1},"art":{"id":"art","name":"Artist Palette","keywords":["art","design","paint","draw","colors"],"skins":[{"unified":"1f3a8","native":"ð¨"}],"version":1},"thread":{"id":"thread","name":"Thread","keywords":["needle","sewing","spool","string"],"skins":[{"unified":"1f9f5","native":"ð§µ"}],"version":11},"sewing_needle":{"id":"sewing_needle","name":"Sewing Needle","keywords":["stitches"],"skins":[{"unified":"1faa1","native":"ðª¡"}],"version":13},"yarn":{"id":"yarn","name":"Yarn","keywords":["ball","crochet","knit"],"skins":[{"unified":"1f9f6","native":"ð§¶"}],"version":11},"knot":{"id":"knot","name":"Knot","keywords":["rope","scout"],"skins":[{"unified":"1faa2","native":"ðª¢"}],"version":13},"eyeglasses":{"id":"eyeglasses","name":"Glasses","keywords":["eyeglasses","fashion","accessories","eyesight","nerdy","dork","geek"],"skins":[{"unified":"1f453","native":"ð"}],"version":1},"dark_sunglasses":{"id":"dark_sunglasses","name":"Sunglasses","keywords":["dark","face","cool","accessories"],"skins":[{"unified":"1f576-fe0f","native":"ð¶ï¸"}],"version":1},"goggles":{"id":"goggles","name":"Goggles","keywords":["eyes","protection","safety"],"skins":[{"unified":"1f97d","native":"ð¥½"}],"version":11},"lab_coat":{"id":"lab_coat","name":"Lab Coat","keywords":["doctor","experiment","scientist","chemist"],"skins":[{"unified":"1f97c","native":"ð¥¼"}],"version":11},"safety_vest":{"id":"safety_vest","name":"Safety Vest","keywords":["protection"],"skins":[{"unified":"1f9ba","native":"ð¦º"}],"version":12},"necktie":{"id":"necktie","name":"Necktie","keywords":["shirt","suitup","formal","fashion","cloth","business"],"skins":[{"unified":"1f454","native":"ð"}],"version":1},"shirt":{"id":"shirt","name":"T-Shirt","keywords":["shirt","tshirt","t","fashion","cloth","casual","tee"],"skins":[{"unified":"1f455","native":"ð"}],"version":1},"jeans":{"id":"jeans","name":"Jeans","keywords":["fashion","shopping"],"skins":[{"unified":"1f456","native":"ð"}],"version":1},"scarf":{"id":"scarf","name":"Scarf","keywords":["neck","winter","clothes"],"skins":[{"unified":"1f9e3","native":"ð§£"}],"version":5},"gloves":{"id":"gloves","name":"Gloves","keywords":["hands","winter","clothes"],"skins":[{"unified":"1f9e4","native":"ð§¤"}],"version":5},"coat":{"id":"coat","name":"Coat","keywords":["jacket"],"skins":[{"unified":"1f9e5","native":"ð§¥"}],"version":5},"socks":{"id":"socks","name":"Socks","keywords":["stockings","clothes"],"skins":[{"unified":"1f9e6","native":"ð§¦"}],"version":5},"dress":{"id":"dress","name":"Dress","keywords":["clothes","fashion","shopping"],"skins":[{"unified":"1f457","native":"ð"}],"version":1},"kimono":{"id":"kimono","name":"Kimono","keywords":["dress","fashion","women","female","japanese"],"skins":[{"unified":"1f458","native":"ð"}],"version":1},"sari":{"id":"sari","name":"Sari","keywords":["dress"],"skins":[{"unified":"1f97b","native":"ð¥»"}],"version":12},"one-piece_swimsuit":{"id":"one-piece_swimsuit","name":"One-Piece Swimsuit","keywords":["one","piece","fashion"],"skins":[{"unified":"1fa71","native":"ð©±"}],"version":12},"briefs":{"id":"briefs","name":"Briefs","keywords":["clothing"],"skins":[{"unified":"1fa72","native":"ð©²"}],"version":12},"shorts":{"id":"shorts","name":"Shorts","keywords":["clothing"],"skins":[{"unified":"1fa73","native":"ð©³"}],"version":12},"bikini":{"id":"bikini","name":"Bikini","keywords":["swimming","female","woman","girl","fashion","beach","summer"],"skins":[{"unified":"1f459","native":"ð"}],"version":1},"womans_clothes":{"id":"womans_clothes","name":"Womans Clothes","keywords":["woman","s","fashion","shopping","bags","female"],"skins":[{"unified":"1f45a","native":"ð"}],"version":1}
244,"folding_hand_fan":{"id":"folding_hand_fan","name":"Folding Hand Fan","keywords":["flamenco","hot"],"skins":[{"unified":"1faad","native":"ðª"}],"version":15},"purse":{"id":"purse","name":"Purse","keywords":["fashion","accessories","money","sales","shopping"],"skins":[{"unified":"1f45b","native":"ð"}],"version":1},"handbag":{"id":"handbag","name":"Handbag","keywords":["fashion","accessory","accessories","shopping"],"skins":[{"unified":"1f45c","native":"ð"}],"version":1},"pouch":{"id":"pouch","name":"Pouch","keywords":["clutch","bag","accessories","shopping"],"skins":[{"unified":"1f45d","native":"ð"}],"version":1},"shopping_bags":{"id":"shopping_bags","name":"Shopping Bags","keywords":["mall","buy","purchase"],"skins":[{"unified":"1f6cd-fe0f","native":"ðï¸"}],"version":1},"school_satchel":{"id":"school_satchel","name":"Backpack","keywords":["school","satchel","student","education","bag"],"skins":[{"unified":"1f392","native":"ð"}],"version":1},"thong_sandal":{"id":"thong_sandal","name":"Thong Sandal","keywords":["footwear","summer"],"skins":[{"unified":"1fa74","native":"ð©´"}],"version":13},"mans_shoe":{"id":"mans_shoe","name":"Mans Shoe","keywords":["man","s","fashion","male"],"skins":[{"unified":"1f45e","native":"ð"}],"version":1},"athletic_shoe":{"id":"athletic_shoe","name":"Running Shoe","keywords":["athletic","shoes","sports","sneakers"],"skins":[{"unified":"1f45f","native":"ð"}],"version":1},"hiking_boot":{"id":"hiking_boot","name":"Hiking Boot","keywords":["backpacking","camping"],"skins":[{"unified":"1f97e","native":"ð¥¾"}],"version":11},"womans_flat_shoe":{"id":"womans_flat_shoe","name":"Flat Shoe","keywords":["womans","ballet","slip","on","slipper"],"skins":[{"unified":"1f97f","native":"ð¥¿"}],"version":11},"high_heel":{"id":"high_heel","name":"High-Heeled Shoe","keywords":["high","heel","heeled","fashion","shoes","female","pumps","stiletto"],"skins":[{"unified":"1f460","native":"ð "}],"version":1},"sandal":{"id":"sandal","name":"Womans Sandal","keywords":["woman","s","shoes","fashion","flip","flops"],"skins":[{"unified":"1f461","native":"ð¡"}],"version":1},"ballet_shoes":{"id":"ballet_shoes","name":"Ballet Shoes","keywords":["dance"],"skins":[{"unified":"1fa70","native":"ð©°"}],"version":12},"boot":{"id":"boot","name":"Womans Boots","keywords":["boot","woman","s","shoes","fashion"],"skins":[{"unified":"1f462","native":"ð¢"}],"version":1},"hair_pick":{"id":"hair_pick","name":"Hair Pick","keywords":["afro","comb"],"skins":[{"unified":"1faae","native":"ðª®"}],"version":15},"crown":{"id":"crown","name":"Crown","keywords":["king","kod","leader","royalty","lord"],"skins":[{"unified":"1f451","native":"ð"}],"version":1},"womans_hat":{"id":"womans_hat","name":"Womans Hat","keywords":["woman","s","fashion","accessories","female","lady","spring"],"skins":[{"unified":"1f452","native":"ð"}],"version":1},"tophat":{"id":"tophat","name":"Top Hat","keywords":["tophat","magic","gentleman","classy","circus"],"skins":[{"unified":"1f3a9","native":"ð©"}],"version":1},"mortar_board":{"id":"mortar_board","name":"Graduation Cap","keywords":["mortar","board","school","college","degree","university","hat","legal","learn","education"],"skins":[{"unified":"1f393","native":"ð"}],"version":1},"billed_cap":{"id":"billed_cap","name":"Billed Cap","keywords":["baseball"],"skins":[{"unified":"1f9e2","native":"ð§¢"}],"version":5},"military_helmet":{"id":"military_helmet","name":"Military Helmet","keywords":["army","protection"],"skins":[{"unified":"1fa96","native":"ðª"}],"version":13},"helmet_with_white_cross":{"id":"helmet_with_white_cross","name":"Rescue Workerâs Helmet","keywords":["with","white","cross","worker","s","construction","build"],"skins":[{"unified":"26d1-fe0f","native":"âï¸"}],"version":1},"prayer_beads":{"id":"prayer_beads","name":"Prayer Beads","keywords":["dhikr","religious"],"skins":[{"unified":"1f4ff","native":"ð¿"}],"version":1},"lipstick":{"id":"lipstick","name":"Lipstick","keywords":["female","girl","fashion","woman"],"skins":[{"unified":"1f484","native":"ð"}],"version":1}
244,"ring":{"id":"ring","name":"Ring","keywords":["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],"skins":[{"unified":"1f48d","native":"ð"}],"version":1},"gem":{"id":"gem","name":"Gem Stone","keywords":["blue","ruby","diamond","jewelry"],"skins":[{"unified":"1f48e","native":"ð"}],"version":1},"mute":{"id":"mute","name":"Muted Speaker","keywords":["mute","sound","volume","silence","quiet"],"skins":[{"unified":"1f507","native":"ð"}],"version":1},"speaker":{"id":"speaker","name":"Speaker","keywords":["low","volume","sound","silence","broadcast"],"skins":[{"unified":"1f508","native":"ð"}],"version":1},"sound":{"id":"sound","name":"Speaker Medium Volume","keywords":["sound","broadcast"],"skins":[{"unified":"1f509","native":"ð"}],"version":1},"loud_sound":{"id":"loud_sound","name":"Speaker High Volume","keywords":["loud","sound","noise","noisy","broadcast"],"skins":[{"unified":"1f50a","native":"ð"}],"version":1},"loudspeaker":{"id":"loudspeaker","name":"Loudspeaker","keywords":["volume","sound"],"skins":[{"unified":"1f4e2","native":"ð¢"}],"version":1},"mega":{"id":"mega","name":"Megaphone","keywords":["mega","sound","speaker","volume"],"skins":[{"unified":"1f4e3","native":"ð£"}],"version":1},"postal_horn":{"id":"postal_horn","name":"Postal Horn","keywords":["instrument","music"],"skins":[{"unified":"1f4ef","native":"ð¯"}],"version":1},"bell":{"id":"bell","name":"Bell","keywords":["sound","notification","christmas","xmas","chime"],"skins":[{"unified":"1f514","native":"ð"}],"version":1},"no_bell":{"id":"no_bell","name":"Bell with Slash","keywords":["no","sound","volume","mute","quiet","silent"],"skins":[{"unified":"1f515","native":"ð"}],"version":1},"musical_score":{"id":"musical_score","name":"Musical Score","keywords":["treble","clef","compose"],"skins":[{"unified":"1f3bc","native":"ð¼"}],"version":1},"musical_note":{"id":"musical_note","name":"Musical Note","keywords":["score","tone","sound"],"skins":[{"unified":"1f3b5","native":"ðµ"}],"version":1},"notes":{"id":"notes","name":"Musical Notes","keywords":["music","score"],"skins":[{"unified":"1f3b6","native":"ð¶"}],"version":1},"studio_microphone":{"id":"studio_microphone","name":"Studio Microphone","keywords":["sing","recording","artist","talkshow"],"skins":[{"unified":"1f399-fe0f","native":"ðï¸"}],"version":1},"level_slider":{"id":"level_slider","name":"Level Slider","keywords":["scale"],"skins":[{"unified":"1f39a-fe0f","native":"ðï¸"}],"version":1},"control_knobs":{"id":"control_knobs","name":"Control Knobs","keywords":["dial"],"skins":[{"unified":"1f39b-fe0f","native":"ðï¸"}],"version":1},"microphone":{"id":"microphone","name":"Microphone","keywords":["sound","music","PA","sing","talkshow"],"skins":[{"unified":"1f3a4","native":"ð¤"}],"version":1},"headphones":{"id":"headphones","name":"Headphone","keywords":["headphones","music","score","gadgets"],"skins":[{"unified":"1f3a7","native":"ð§"}],"version":1},"radio":{"id":"radio","name":"Radio","keywords":["communication","music","podcast","program"],"skins":[{"unified":"1f4fb","native":"ð»"}],"version":1},"saxophone":{"id":"saxophone","name":"Saxophone","keywords":["music","instrument","jazz","blues"],"skins":[{"unified":"1f3b7","native":"ð·"}],"version":1},"accordion":{"id":"accordion","name":"Accordion","keywords":["music"],"skins":[{"unified":"1fa97","native":"ðª"}],"version":13},"guitar":{"id":"guitar","name":"Guitar","keywords":["music","instrument"],"skins":[{"unified":"1f3b8","native":"ð¸"}],"version":1},"musical_keyboard":{"id":"musical_keyboard","name":"Musical Keyboard","keywords":["piano","instrument","compose"],"skins":[{"unified":"1f3b9","native":"ð¹"}],"version":1},"trumpet":{"id":"trumpet","name":"Trumpet","keywords":["music","brass"],"skins":[{"unified":"1f3ba","native":"ðº"}],"version":1},"violin":{"id":"violin","name":"Violin","keywords":["music","instrument","orchestra","symphony"],"skins":[{"unified":"1f3bb","native":"ð»"}],"version":1},"banjo":{"id":"banjo","name":"Banjo","keywords":["music","instructment"],"skins":[{"unified":"1fa95","native":"ðª"}],"version":12},"drum_with_drumsticks":{"id":"drum_with_drumsticks","name":"Drum","keywords":["with","drumsticks","music","instrument","snare"],"skins":[{"unified":"1f941","native":"ð¥"}],"version":3}
244,"long_drum":{"id":"long_drum","name":"Long Drum","keywords":["music"],"skins":[{"unified":"1fa98","native":"ðª"}],"version":13},"maracas":{"id":"maracas","name":"Maracas","keywords":["music","instrument","percussion"],"skins":[{"unified":"1fa87","native":"ðª"}],"version":15},"flute":{"id":"flute","name":"Flute","keywords":["bamboo","music","instrument","pied","piper"],"skins":[{"unified":"1fa88","native":"ðª"}],"version":15},"iphone":{"id":"iphone","name":"Mobile Phone","keywords":["iphone","technology","apple","gadgets","dial"],"skins":[{"unified":"1f4f1","native":"ð±"}],"version":1},"calling":{"id":"calling","name":"Mobile Phone with Arrow","keywords":["calling","iphone","incoming"],"skins":[{"unified":"1f4f2","native":"ð²"}],"version":1},"phone":{"id":"phone","name":"Telephone","keywords":["phone","technology","communication","dial"],"skins":[{"unified":"260e-fe0f","native":"âï¸"}],"version":1},"telephone_receiver":{"id":"telephone_receiver","name":"Telephone Receiver","keywords":["technology","communication","dial"],"skins":[{"unified":"1f4de","native":"ð"}],"version":1},"pager":{"id":"pager","name":"Pager","keywords":["bbcall","oldschool","90s"],"skins":[{"unified":"1f4df","native":"ð"}],"version":1},"fax":{"id":"fax","name":"Fax Machine","keywords":["communication","technology"],"skins":[{"unified":"1f4e0","native":"ð "}],"version":1},"battery":{"id":"battery","name":"Battery","keywords":["power","energy","sustain"],"skins":[{"unified":"1f50b","native":"ð"}],"version":1},"low_battery":{"id":"low_battery","name":"Low Battery","keywords":["drained","dead"],"skins":[{"unified":"1faab","native":"ðª«"}],"version":14},"electric_plug":{"id":"electric_plug","name":"Electric Plug","keywords":["charger","power"],"skins":[{"unified":"1f50c","native":"ð"}],"version":1},"computer":{"id":"computer","name":"Laptop","keywords":["computer","technology","screen","display","monitor"],"skins":[{"unified":"1f4bb","native":"ð»"}],"version":1},"desktop_computer":{"id":"desktop_computer","name":"Desktop Computer","keywords":["technology","computing","screen"],"skins":[{"unified":"1f5a5-fe0f","native":"ð¥ï¸"}],"version":1},"printer":{"id":"printer","name":"Printer","keywords":["paper","ink"],"skins":[{"unified":"1f5a8-fe0f","native":"ð¨ï¸"}],"version":1},"keyboard":{"id":"keyboard","name":"Keyboard","keywords":["technology","computer","type","input","text"],"skins":[{"unified":"2328-fe0f","native":"â¨ï¸"}],"version":1},"three_button_mouse":{"id":"three_button_mouse","name":"Computer Mouse","keywords":["three","button","click"],"skins":[{"unified":"1f5b1-fe0f","native":"ð±ï¸"}],"version":1},"trackball":{"id":"trackball","name":"Trackball","keywords":["technology","trackpad"],"skins":[{"unified":"1f5b2-fe0f","native":"ð²ï¸"}],"version":1},"minidisc":{"id":"minidisc","name":"Minidisc","keywords":["computer","disk","technology","record","data","90s"],"skins":[{"unified":"1f4bd","native":"ð½"}],"version":1},"floppy_disk":{"id":"floppy_disk","name":"Floppy Disk","keywords":["oldschool","technology","save","90s","80s"],"skins":[{"unified":"1f4be","native":"ð¾"}],"version":1},"cd":{"id":"cd","name":"Optical Disc","keywords":["cd","disk","technology","dvd","90s"],"skins":[{"unified":"1f4bf","native":"ð¿"}
244],"version":1},"dvd":{"id":"dvd","name":"Dvd","keywords":["cd","disk","disc"],"skins":[{"unified":"1f4c0","native":"ð"}],"version":1},"abacus":{"id":"abacus","name":"Abacus","keywords":["calculation"],"skins":[{"unified":"1f9ee","native":"ð§®"}],"version":11},"movie_camera":{"id":"movie_camera","name":"Movie Camera","keywords":["film","record"],"skins":[{"unified":"1f3a5","native":"ð¥"}],"version":1},"film_frames":{"id":"film_frames","name":"Film Frames","keywords":["movie"],"skins":[{"unified":"1f39e-fe0f","native":"ðï¸"}],"version":1},"film_projector":{"id":"film_projector","name":"Film Projector","keywords":["video","tape","record","movie"],"skins":[{"unified":"1f4fd-fe0f","native":"ð½ï¸"}],"version":1},"clapper":{"id":"clapper","name":"Clapper Board","keywords":["movie","film","record"],"skins":[{"unified":"1f3ac","native":"ð¬"}],"version":1},"tv":{"id":"tv","name":"Television","keywords":["tv","technology","program","oldschool","show"],"skins":[{"unified":"1f4fa","native":"ðº"}],"version":1},"camera":{"id":"camera","name":"Camera","keywords":["gadgets","photography"],"skins":[{"unified":"1f4f7","native":"ð·"}],"version":1},"camera_with_flash":{"id":"camera_with_flash","name":"Camera with Flash","keywords":["photography","gadgets"],"skins":[{"unified":"1f4f8","native":"ð¸"}],"version":1},"video_camera":{"id":"video_camera","name":"Video Camera","keywords":["film","record"],"skins":[{"unified":"1f4f9","native":"ð¹"}],"version":1},"vhs":{"id":"vhs","name":"Videocassette","keywords":["vhs","record","video","oldschool","90s","80s"],"skins":[{"unified":"1f4fc","native":"ð¼"}],"version":1},"mag":{"id":"mag","name":"Magnifying Glass Tilted Left","keywords":["mag","search","zoom","find","detective"],"skins":[{"unified":"1f50d","native":"ð"}],"version":1}
244,"mag_right":{"id":"mag_right","name":"Magnifying Glass Tilted Right","keywords":["mag","search","zoom","find","detective"],"skins":[{"unified":"1f50e","native":"ð"}],"version":1},"candle":{"id":"candle","name":"Candle","keywords":["fire","wax"],"skins":[{"unified":"1f56f-fe0f","native":"ð¯ï¸"}],"version":1},"bulb":{"id":"bulb","name":"Light Bulb","keywords":["electricity","idea"],"skins":[{"unified":"1f4a1","native":"ð¡"}],"version":1},"flashlight":{"id":"flashlight","name":"Flashlight","keywords":["dark","camping","sight","night"],"skins":[{"unified":"1f526","native":"ð¦"}],"version":1},"izakaya_lantern":{"id":"izakaya_lantern","name":"Izakaya Lantern","keywords":["red","paper","light","halloween","spooky"],"skins":[{"unified":"1f3ee","native":"ð®"}],"version":1},"diya_lamp":{"id":"diya_lamp","name":"Diya Lamp","keywords":["lighting"],"skins":[{"unified":"1fa94","native":"ðª"}],"version":12},"notebook_with_decorative_cover":{"id":"notebook_with_decorative_cover","name":"Notebook with Decorative Cover","keywords":["classroom","notes","record","paper","study"],"skins":[{"unified":"1f4d4","native":"ð"}],"version":1},"closed_book":{"id":"closed_book","name":"Closed Book","keywords":["read","library","knowledge","textbook","learn"],"skins":[{"unified":"1f4d5","native":"ð"}],"version":1},"book":{"id":"book","name":"Open Book","keywords":["read","library","knowledge","literature","learn","study"],"skins":[{"unified":"1f4d6","native":"ð"}],"version":1},"green_book":{"id":"green_book","name":"Green Book","keywords":["read","library","knowledge","study"],"skins":[{"unified":"1f4d7","native":"ð"}],"version":1},"blue_book":{"id":"blue_book","name":"Blue Book","keywords":["read","library","knowledge","learn","study"],"skins":[{"unified":"1f4d8","native":"ð"}],"version":1},"orange_book":{"id":"orange_book","name":"Orange Book","keywords":["read","library","knowledge","textbook","study"],"skins":[{"unified":"1f4d9","native":"ð"}],"version":1},"books":{"id":"books","name":"Books","keywords":["literature","library","study"],"skins":[{"unified":"1f4da","native":"ð"}],"version":1},"notebook":{"id":"notebook","name":"Notebook","keywords":["stationery","record","notes","paper","study"],"skins":[{"unified":"1f4d3","native":"ð"}],"version":1},"ledger":{"id":"ledger","name":"Ledger","keywords":["notes","paper"],"skins":[{"unified":"1f4d2","native":"ð"}],"version":1},"page_with_curl":{"id":"page_with_curl","name":"Page with Curl","keywords":["documents","office","paper"],"skins":[{"unified":"1f4c3","native":"ð"}],"version":1},"scroll":{"id":"scroll","name":"Scroll","keywords":["documents","ancient","history","paper"],"skins":[{"unified":"1f4dc","native":"ð"}],"version":1},"page_facing_up":{"id":"page_facing_up","name":"Page Facing Up","keywords":["documents","office","paper","information"],"skins":[{"unified":"1f4c4","native":"ð"}],"version":1},"newspaper":{"id":"newspaper","name":"Newspaper","keywords":["press","headline"],"skins":[{"unified":"1f4f0","native":"ð°"}],"version":1},"rolled_up_newspaper":{"id":"rolled_up_newspaper","name":"Rolled-Up Newspaper","keywords":["rolled","up","press","headline"],"skins":[{"unified":"1f5de-fe0f","native":"ðï¸"}],"version":1},"bookmark_tabs":{"id":"bookmark_tabs","name":"Bookmark Tabs","keywords":["favorite","save","order","tidy"],"skins":[{"unified":"1f4d1","native":"ð"}],"version":1},"bookmark":{"id":"bookmark","name":"Bookmark","keywords":["favorite","label","save"],"skins":[{"unified":"1f516","native":"ð"}],"version":1},"label":{"id":"label","name":"Label","keywords":["sale","tag"],"skins":[{"unified":"1f3f7-fe0f","native":"ð·ï¸"}],"version":1},"moneybag":{"id":"moneybag","name":"Money Bag","keywords":["moneybag","dollar","payment","coins","sale"],"skins":[{"unified":"1f4b0","native":"ð°"}],"version":1},"coin":{"id":"coin","name":"Coin","keywords":["money","currency"],"skins":[{"unified":"1fa99","native":"ðª"}],"version":13},"yen":{"id":"yen","name":"Yen Banknote","keywords":["money","sales","japanese","dollar","currency"],"skins":[{"unified":"1f4b4","native":"ð´"}],"version":1},"dollar":{"id":"dollar","name":"Dollar Banknote","keywords":["money","sales","bill","currency"],"skins":[{"unified":"1f4b5","native":"ðµ"}],"version":1},"euro":{"id":"euro","name":"Euro Banknote","keywords":["money","sales","dollar","currency"],"skins":[{"unified":"1f4b6","native":"ð¶"}],"version":1},"pound":{"id":"pound","name":"Pound Banknote","keywords":["british","sterling","money","sales","bills","uk","england","currency"],"skins":[{"unified":"1f4b7","native":"ð·"}],"version":1},"money_with_wings":{"id":"money_with_wings","name":"Money with Wings","keywords":["dollar","bills","payment","sale"],"skins":[{"unified":"1f4b8","native":"ð¸"}],"version":1},"credit_card":{"id":"credit_card","name":"Credit Card","keywords":["money","sales","dollar","bill","payment","shopping"],"skins":[{"unified":"1f4b3","native":"ð³"}],"version":1},"receipt":{"id":"receipt","name":"Receipt","keywords":["accounting","expenses"],"skins":[{"unified":"1f9fe","native":"ð§¾"}],"version":11},"chart":{"id":"chart","name":"Chart Increasing with Yen","keywords":["green","square","graph","presentation","stats"],"skins":[{"unified":"1f4b9","native":"ð¹"}],"version":1},"email":{"id":"email","name":"Envelope","keywords":["email","letter","postal","inbox","communication"],"skins":[{"unified":"2709-fe0f","native":"âï¸"}],"version":1},"e-mail":{"id":"e-mail","name":"E-Mail","keywords":["e","mail","communication","inbox"],"skins":[{"unified":"1f4e7","native":"ð§"}],"version":1},"incoming_envelope":{"id":"incoming_envelope","name":"Incoming Envelope","keywords":["email","inbox"],"skins":[{"unified":"1f4e8","native":"ð¨"}],"version":1},"envelope_with_arrow":{"id":"envelope_with_arrow","name":"Envelope with Arrow","keywords":["email","communication"],"skins":[{"unified":"1f4e9","native":"ð©"}],"version":1},"outbox_tray":{"id":"outbox_tray","name":"Outbox Tray","keywords":["inbox","email"],"skins":[{"unified":"1f4e4","native":"ð¤"}],"version":1},"inbox_tray":{"id":"inbox_tray","name":"Inbox Tray","keywords":["email","documents"],"skins":[{"unified":"1f4e5","native":"ð¥"}],"version":1}
244,"package":{"id":"package","name":"Package","keywords":["mail","gift","cardboard","box","moving"],"skins":[{"unified":"1f4e6","native":"ð¦"}],"version":1},"mailbox":{"id":"mailbox","name":"Closed Mailbox with Raised Flag","keywords":["email","inbox","communication"],"skins":[{"unified":"1f4eb","native":"ð«"}],"version":1},"mailbox_closed":{"id":"mailbox_closed","name":"Closed Mailbox with Lowered Flag","keywords":["email","communication","inbox"],"skins":[{"unified":"1f4ea","native":"ðª"}],"version":1},"mailbox_with_mail":{"id":"mailbox_with_mail","name":"Open Mailbox with Raised Flag","keywords":["mail","email","inbox","communication"],"skins":[{"unified":"1f4ec","native":"ð¬"}],"version":1},"mailbox_with_no_mail":{"id":"mailbox_with_no_mail","name":"Open Mailbox with Lowered Flag","keywords":["no","mail","email","inbox"],"skins":[{"unified":"1f4ed","native":"ð"}],"version":1},"postbox":{"id":"postbox","name":"Postbox","keywords":["email","letter","envelope"],"skins":[{"unified":"1f4ee","native":"ð®"}],"version":1},"ballot_box_with_ballot":{"id":"ballot_box_with_ballot","name":"Ballot Box with Ballot","keywords":["election","vote"],"skins":[{"unified":"1f5f3-fe0f","native":"ð³ï¸"}],"version":1},"pencil2":{"id":"pencil2","name":"Pencil","keywords":["pencil2","stationery","write","paper","writing","school","study"],"skins":[{"unified":"270f-fe0f","native":"âï¸"}],"version":1},"black_nib":{"id":"black_nib","name":"Black Nib","keywords":["pen","stationery","writing","write"],"skins":[{"unified":"2712-fe0f","native":"âï¸"}],"version":1},"lower_left_fountain_pen":{"id":"lower_left_fountain_pen","name":"Fountain Pen","keywords":["lower","left","stationery","writing","write"],"skins":[{"unified":"1f58b-fe0f","native":"ðï¸"}],"version":1},"lower_left_ballpoint_pen":{"id":"lower_left_ballpoint_pen","name":"Pen","keywords":["lower","left","ballpoint","stationery","writing","write"],"skins":[{"unified":"1f58a-fe0f","native":"ðï¸"}],"version":1},"lower_left_paintbrush":{"id":"lower_left_paintbrush","name":"Paintbrush","keywords":["lower","left","drawing","creativity","art"],"skins":[{"unified":"1f58c-fe0f","native":"ðï¸"}],"version":1},"lower_left_crayon":{"id":"lower_left_crayon","name":"Crayon","keywords":["lower","left","drawing","creativity"],"skins":[{"unified":"1f58d-fe0f","native":"ðï¸"}],"version":1},"memo":{"id":"memo","name":"Memo","keywords":["pencil","write","documents","stationery","paper","writing","legal","exam","quiz","test","study","compose"],"skins":[{"unified":"1f4dd","native":"ð"}],"version":1},"briefcase":{"id":"briefcase","name":"Briefcase","keywords":["business","documents","work","law","legal","job","career"],"skins":[{"unified":"1f4bc","native":"ð¼"}],"version":1},"file_folder":{"id":"file_folder","name":"File Folder","keywords":["documents","business","office"],"skins":[{"unified":"1f4c1","native":"ð"}],"version":1},"open_file_folder":{"id":"open_file_folder","name":"Open File Folder","keywords":["documents","load"],"skins":[{"unified":"1f4c2","native":"ð"}],"version":1},"card_index_dividers":{"id":"card_index_dividers","name":"Card Index Dividers","keywords":["organizing","business","stationery"],"skins":[{"unified":"1f5c2-fe0f","native":"ðï¸"}],"version":1},"date":{"id":"date","name":"Calendar","keywords":["date","schedule"],"skins":[{"unified":"1f4c5","native":"ð
"}],"version":1},"calendar":{"id":"calendar","name":"Tear-off Calendar","keywords":["tear","off","schedule","date","planning"],"skins":[{"unified":"1f4c6","native":"ð"}],"version":1},"spiral_note_pad":{"id":"spiral_note_pad","name":"Spiral Notepad","keywords":["note","pad","memo","stationery"],"skins":[{"unified":"1f5d2-fe0f","native":"ðï¸"}],"version":1},"spiral_calendar_pad":{"id":"spiral_calendar_pad","name":"Spiral Calendar","keywords":["pad","date","schedule","planning"],"skins":[{"unified":"1f5d3-fe0f","native":"ðï¸"}],"version":1},"card_index":{"id":"card_index","name":"Card Index","keywords":["business","stationery"],"skins":[{"unified":"1f4c7","native":"ð"}],"version":1},"chart_with_upwards_trend":{"id":"chart_with_upwards_trend","name":"Chart Increasing","keywords":["with","upwards","trend","graph","presentation","stats","re
244covery","business","economics","money","sales","good","success"],"skins":[{"unified":"1f4c8","native":"ð"}],"version":1},"chart_with_downwards_trend":{"id":"chart_with_downwards_trend","name":"Chart Decreasing","keywords":["with","downwards","trend","graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],"skins":[{"unified":"1f4c9","native":"ð"}],"version":1},"bar_chart":{"id":"bar_chart","name":"Bar Chart","keywords":["graph","presentation","stats"],"skins":[{"unified":"1f4ca","native":"ð"}],"version":1},"clipboard":{"id":"clipboard","name":"Clipboard","keywords":["stationery","documents"],"skins":[{"unified":"1f4cb","native":"ð"}],"version":1},"pushpin":{"id":"pushpin","name":"Pushpin","keywords":["stationery","mark","here"],"skins":[{"unified":"1f4cc","native":"ð"}],"version":1},"round_pushpin":{"id":"round_pushpin","name":"Round Pushpin","keywords":["stationery","location","map","here"],"skins":[{"unified":"1f4cd","native":"ð"}],"version":1},"paperclip":{"id":"paperclip","name":"Paperclip","keywords":["documents","stationery"],"skins":[{"unified":"1f4ce","native":"ð"}],"version":1},"linked_paperclips":{"id":"linked_paperclips","name":"Linked Paperclips","keywords":["documents","stationery"],"skins":[{"unified":"1f587-fe0f","native":"ðï¸"}],"version":1},"straight_ruler":{"id":"straight_ruler","name":"Straight Ruler","keywords":["stationery","calculate","length","math","school","drawing","architect","sketch"],"skins":[{"unified":"1f4cf","native":"ð"}],"version":1},"triangular_ruler":{"id":"triangular_ruler","name":"Triangular Ruler","keywords":["stationery","math","architect","sketch"],"skins":[{"unified":"1f4d0","native":"ð"}],"version":1},"scissors":{"id":"scissors","name":"Scissors","keywords":["stationery","cut"],"skins":[{"unified":"2702-fe0f","native":"âï¸"}],"version":1},"card_file_box":{"id":"card_file_box","name":"Card File Box","keywords":["business","stationery"],"skins":[{"unified":"1f5c3-fe0f","native":"ðï¸"}],"version":1},"file_cabinet":{"id":"file_cabinet","name":"File Cabinet","keywords":["filing","organizing"],"skins":[{"unified":"1f5c4-fe0f","native":"ðï¸"}],"version":1},"wastebasket":{"id":"wastebasket","name":"Wastebasket","keywords":["bin","trash","rubbish","garbage","toss"],"skins":[{"unified":"1f5d1-fe0f","native":"ðï¸"}],"version":1},"lock":{"id":"lock","name":"Lock","keywords":["locked","security","password","padlock"],"skins":[{"unified":"1f512","native":"ð"}],"version":1},"unlock":{"id":"unlock","name":"Unlocked","keywords":["unlock","privacy","security"],"skins":[{"unified":"1f513","native":"ð"}],"version":1},"lock_with_ink_pen":{"id":"lock_with_ink_pen","name":"Locked with Pen","keywords":["lock","ink","security","secret"],"skins":[{"unified":"1f50f","native":"ð"}],"version":1},"closed_lock_with_key":{"id":"closed_lock_with_key","name":"Locked with Key","keywords":["closed","lock","security","privacy"],"skins":[{"unified":"1f510","native":"ð"}],"version":1},"key":{"id":"key","name":"Key","keywords":["lock","door","password"],"skins":[{"unified":"1f511","native":"ð"}],"version":1},"old_key":{"id":"old_key","name":"Old Key","keywords":["lock","door","password"],"skins":[{"unified":"1f5dd-fe0f","native":"ðï¸"}],"version":1},"hammer":{"id":"hammer","name":"Hammer","keywords":["tools","build","create"],"skins":[{"unified":"1f528","native":"ð¨"}],"version":1},"axe":{"id":"axe","name":"Axe","keywords":["tool","chop","cut"],"skins":[{"unified":"1fa93","native":"ðª"}],"version":12},"pick":{"id":"pick","name":"Pick","keywords":["tools","dig"],"skins":[{"unified":"26cf-fe0f","native":"âï¸"}],"version":1},"hammer_and_pick":{"id":"hammer_and_pick","name":"Hammer and Pick","keywords":["tools","build","create"],"skins":[{"unified":"2692-fe0f","native":"âï¸"}],"version":1},"hammer_and_wrench":{"id":"hammer_and_wrench","name":"Hammer and Wrench","keywords":["tools","build","create"],"skins":[{"unified":"1f6e0-fe0f","native":"ð ï¸"}],"version":1},"dagger_knife":{"id":"dagger_knife","name":"Dagger","keywords":["knife","weapon"],"skins":[{"unified":"1f5e1-fe0f","native":"ð¡ï¸"}],"version":1},"crossed_swords":{"id":"crossed_swords","name":"Crossed Swords","keywords":["weapon"],"skins":[{"unified":"2694-fe0f","native":"âï¸"}],"version":1},"bomb":{"id":"bomb","name":"Bomb","keywords":["boom","explode","explosion","terrorism"],"skins":[{"unified":"1f4a3","native":"ð£"}],"version":1},"boomerang":{"id":"boomerang","name":"Boomerang","keywords":["weapon"],"skins":[{"unified":"1fa83","native":"ðª"}],"version":13},"bow_and_arrow":{"id":"bow_and_arrow","name":"Bow and Arrow","keywords":["sports"],"skins":[{"unified":"1f3f9","native":"ð¹"}],"version":1},"shield":{"id":"shield","name":"Shield","keywords":["protection","security"],"skins":[{"unified":"1f6e1-fe0f","native":"ð¡ï¸"}],"version":1}
244,"carpentry_saw":{"id":"carpentry_saw","name":"Carpentry Saw","keywords":["cut","chop"],"skins":[{"unified":"1fa9a","native":"ðª"}],"version":13},"wrench":{"id":"wrench","name":"Wrench","keywords":["tools","diy","ikea","fix","maintainer"],"skins":[{"unified":"1f527","native":"ð§"}],"version":1},"screwdriver":{"id":"screwdriver","name":"Screwdriver","keywords":["tools"],"skins":[{"unified":"1fa9b","native":"ðª"}],"version":13},"nut_and_bolt":{"id":"nut_and_bolt","name":"Nut and Bolt","keywords":["handy","tools","fix"],"skins":[{"unified":"1f529","native":"ð©"}],"version":1},"gear":{"id":"gear","name":"Gear","keywords":["cog"],"skins":[{"unified":"2699-fe0f","native":"âï¸"}],"version":1},"compression":{"id":"compression","name":"Clamp","keywords":["compression","tool"],"skins":[{"unified":"1f5dc-fe0f","native":"ðï¸"}],"version":1},"scales":{"id":"scales","name":"Balance Scale","keywords":["scales","law","fairness","weight"],"skins":[{"unified":"2696-fe0f","native":"âï¸"}],"version":1},"probing_cane":{"id":"probing_cane","name":"White Cane","keywords":["probing","accessibility"],"skins":[{"unified":"1f9af","native":"ð¦¯"}],"version":12},"link":{"id":"link","name":"Link","keywords":["rings","url"],"skins":[{"unified":"1f517","native":"ð"}],"version":1},"chains":{"id":"chains","name":"Chains","keywords":["lock","arrest"],"skins":[{"unified":"26d3-fe0f","native":"âï¸"}],"version":1},"hook":{"id":"hook","name":"Hook","keywords":["tools"],"skins":[{"unified":"1fa9d","native":"ðª"}],"version":13},"toolbox":{"id":"toolbox","name":"Toolbox","keywords":["tools","diy","fix","maintainer","mechanic"],"skins":[{"unified":"1f9f0","native":"ð§°"}],"version":11},"magnet":{"id":"magnet","name":"Magnet","keywords":["attraction","magnetic"],"skins":[{"unified":"1f9f2","native":"ð§²"}],"version":11},"ladder":{"id":"ladder","name":"Ladder","keywords":["tools"],"skins":[{"unified":"1fa9c","native":"ðª"}],"version":13},"alembic":{"id":"alembic","name":"Alembic","keywords":["distilling","science","experiment","chemistry"],"skins":[{"unified":"2697-fe0f","native":"âï¸"}],"version":1},"test_tube":{"id":"test_tube","name":"Test Tube","keywords":["chemistry","experiment","lab","science"],"skins":[{"unified":"1f9ea","native":"ð§ª"}],"version":11},"petri_dish":{"id":"petri_dish","name":"Petri Dish","keywords":["bacteria","biology","culture","lab"],"skins":[{"unified":"1f9eb","native":"ð§«"}],"version":11},"dna":{"id":"dna","name":"Dna","keywords":["biologist","genetics","life"],"skins":[{"unified":"1f9ec","native":"ð§¬"}],"version":11},"microscope":{"id":"microscope","name":"Microscope","keywords":["laboratory","experiment","zoomin","science","study"],"skins":[{"unified":"1f52c","native":"ð¬"}],"version":1},"telescope":{"id":"telescope","name":"Telescope","keywords":["stars","space","zoom","science","astronomy"],"skins":[{"unified":"1f52d","native":"ð"}],"version":1},"satellite_antenna":{"id":"satellite_antenna","name":"Satellite Antenna","keywords":["communication","future","radio","space"],"skins":[{"unified":"1f4e1","native":"ð¡"}],"version":1},"syringe":{"id":"syringe","name":"Syringe","keywords":["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],"skins":[{"unified":"1f489","native":"ð"}],"version":1},"drop_of_blood":{"id":"drop_of_blood","name":"Drop of Blood","keywords":["period","hurt","harm","wound"],"skins":[{"unified":"1fa78","native":"ð©¸"}],"version":12},"pill":{"id":"pill","name":"Pill","keywords":["health","medicine","doctor","pharmacy","drug"],"skins":[{"unified":"1f48a","native":"ð"}],"version":1},"adhesive_bandage":{"id":"adhesive_bandage","name":"Adhesive Bandage","keywords":["heal"],"skins":[{"unified":"1fa79","native":"ð©¹"}],"version":12},"crutch":{"id":"crutch","name":"Crutch","keywords":["accessibility","assist"],"skins":[{"unified":"1fa7c","native":"ð©¼"}],"version":14},"stethoscope":{"id":"stethoscope","name":"Stethoscope","keywords":["health"],"skins":[{"unified":"1fa7a","native":"ð©º"}],"version":12},"x-ray":{"id":"x-ray","name":"X-Ray","keywords":["x","ray","skeleton","medicine"],"skins":[{"unified":"1fa7b","native":"ð©»"}],"version":14}
244,"door":{"id":"door","name":"Door","keywords":["house","entry","exit"],"skins":[{"unified":"1f6aa","native":"ðª"}],"version":1},"elevator":{"id":"elevator","name":"Elevator","keywords":["lift"],"skins":[{"unified":"1f6d7","native":"ð"}],"version":13},"mirror":{"id":"mirror","name":"Mirror","keywords":["reflection"],"skins":[{"unified":"1fa9e","native":"ðª"}],"version":13},"window":{"id":"window","name":"Window","keywords":["scenery"],"skins":[{"unified":"1fa9f","native":"ðª"}],"version":13},"bed":{"id":"bed","name":"Bed","keywords":["sleep","rest"],"skins":[{"unified":"1f6cf-fe0f","native":"ðï¸"}],"version":1},"couch_and_lamp":{"id":"couch_and_lamp","name":"Couch and Lamp","keywords":["read","chill"],"skins":[{"unified":"1f6cb-fe0f","native":"ðï¸"}],"version":1},"chair":{"id":"chair","name":"Chair","keywords":["sit","furniture"],"skins":[{"unified":"1fa91","native":"ðª"}],"version":12},"toilet":{"id":"toilet","name":"Toilet","keywords":["restroom","wc","washroom","bathroom","potty"],"skins":[{"unified":"1f6bd","native":"ð½"}],"version":1},"plunger":{"id":"plunger","name":"Plunger","keywords":["toilet"],"skins":[{"unified":"1faa0","native":"ðª "}],"version":13},"shower":{"id":"shower","name":"Shower","keywords":["clean","water","bathroom"],"skins":[{"unified":"1f6bf","native":"ð¿"}],"version":1},"bathtub":{"id":"bathtub","name":"Bathtub","keywords":["clean","shower","bathroom"],"skins":[{"unified":"1f6c1","native":"ð"}],"version":1},"mouse_trap":{"id":"mouse_trap","name":"Mouse Trap","keywords":["cheese"],"skins":[{"unified":"1faa4","native":"ðª¤"}],"version":13},"razor":{"id":"razor","name":"Razor","keywords":["cut"],"skins":[{"unified":"1fa92","native":"ðª"}],"version":12},"lotion_bottle":{"id":"lotion_bottle","name":"Lotion Bottle","keywords":["moisturizer","sunscreen"],"skins":[{"unified":"1f9f4","native":"ð§´"}],"version":11},"safety_pin":{"id":"safety_pin","name":"Safety Pin","keywords":["diaper"],"skins":[{"unified":"1f9f7","native":"ð§·"}],"version":11},"broom":{"id":"broom","name":"Broom","keywords":["cleaning","sweeping","witch"],"skins":[{"unified":"1f9f9","native":"ð§¹"}],"version":11},"basket":{"id":"basket","name":"Basket","keywords":["laundry"],"skins":[{"unified":"1f9fa","native":"ð§º"}],"version":11},"roll_of_paper":{"id":"roll_of_paper","name":"Roll of Paper","keywords":[],"skins":[{"unified":"1f9fb","native":"ð§»"}],"version":11},"bucket":{"id":"bucket","name":"Bucket","keywords":["water","container"],"skins":[{"unified":"1faa3","native":"ðª£"}],"version":13},"soap":{"id":"soap","name":"Soap","keywords":["bar","bathing","cleaning","lather"],"skins":[{"unified":"1f9fc","native":"ð§¼"}],"version":11},"bubbles":{"id":"bubbles","name":"Bubbles","keywords":["soap","fun","carbonation","sparkling"],"skins":[{"unified":"1fae7","native":"ð«§"}],"version":14},"toothbrush":{"id":"toothbrush","name":"Toothbrush","keywords":["hygiene","dental"],"skins":[{"unified":"1faa5","native":"ðª¥"}],"version":13},"sponge":{"id":"sponge","name":"Sponge","keywords":["absorbing","cleaning","porous"],"skins":[{"unified":"1f9fd","native":"ð§½"}],"version":11},"fire_extinguisher":{"id":"fire_extinguisher","name":"Fire Extinguisher","keywords":["quench"],"skins":[{"unified":"1f9ef","native":"ð§¯"}],"version":11},"shopping_trolley":{"id":"shopping_trolley","name":"Shopping Cart","keywords":["trolley"],"skins":[{"unified":"1f6d2","native":"ð"}],"version":3},"smoking":{"id":"smoking","name":"Cigarette","keywords":["smoking","kills","tobacco","joint","smoke"],"skins":[{"unified":"1f6ac","native":"ð¬"}],"version":1},"coffin":{"id":"coffin","name":"Coffin","keywords":["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],"skins":[{"unified":"26b0-fe0f","native":"â°ï¸"}],"version":1},"headstone":{"id":"headstone","name":"Headstone","keywords":["death","rip","grave"],"skins":[{"unified":"1faa6","native":"ðª¦"}],"version":13},"funeral_urn":{"id":"funeral_urn","name":"Funeral Urn","keywords":["dead","die","death","rip","ashes"],"skins":[{"unified":"26b1-fe0f","native":"â±ï¸"}],"version":1},"nazar_amulet":{"id":"nazar_amulet","name":"Nazar Amulet","keywords":["bead","charm"],"skins":[{"unified":"1f9ff","native":"ð§¿"}],"version":11},"hamsa":{"id":"hamsa","name":"Hamsa","keywords":["religion","protection"],"skins":[{"unified":"1faac","native":"ðª¬"}],"version":14},"moyai":{"id":"moyai","name":"Moai","keywords":["moyai","rock","easter","island"],"skins":[{"unified":"1f5ff","native":"ð¿"}],"version":1},"placard":{"id":"placard","name":"Placard","keywords":["announcement"],"skins":[{"unified":"1faa7","native":"ðª§"}],"version":13},"identification_card":{"id":"identification_card","name":"Identification Card","keywords":["document"],"skins":[{"unified":"1faaa","native":"ðªª"}],"version":14}
244,"atm":{"id":"atm","name":"Atm Sign","keywords":["money","sales","cash","blue","square","payment","bank"],"skins":[{"unified":"1f3e7","native":"ð§"}],"version":1},"put_litter_in_its_place":{"id":"put_litter_in_its_place","name":"Litter in Bin Sign","keywords":["put","its","place","blue","square","human","info"],"skins":[{"unified":"1f6ae","native":"ð®"}],"version":1},"potable_water":{"id":"potable_water","name":"Potable Water","keywords":["blue","square","liquid","restroom","cleaning","faucet"],"skins":[{"unified":"1f6b0","native":"ð°"}],"version":1},"wheelchair":{"id":"wheelchair","name":"Wheelchair Symbol","keywords":["blue","square","disabled","accessibility"],"skins":[{"unified":"267f","native":"â¿"}],"version":1},"mens":{"id":"mens","name":"Menâs Room","keywords":["mens","men","s","toilet","restroom","wc","blue","square","gender","male"],"skins":[{"unified":"1f6b9","native":"ð¹"}],"version":1},"womens":{"id":"womens","name":"Womenâs Room","keywords":["womens","women","s","purple","square","woman","female","toilet","loo","restroom","gender"],"skins":[{"unified":"1f6ba","native":"ðº"}],"version":1},"restroom":{"id":"restroom","name":"Restroom","keywords":["blue","square","toilet","refresh","wc","gender"],"skins":[{"unified":"1f6bb","native":"ð»"}],"version":1},"baby_symbol":{"id":"baby_symbol","name":"Baby Symbol","keywords":["orange","square","child"],"skins":[{"unified":"1f6bc","native":"ð¼"}],"version":1},"wc":{"id":"wc","name":"Water Closet","keywords":["wc","toilet","restroom","blue","square"],"skins":[{"unified":"1f6be","native":"ð¾"}],"version":1},"passport_control":{"id":"passport_control","name":"Passport Control","keywords":["custom","blue","square"],"skins":[{"unified":"1f6c2","native":"ð"}],"version":1},"customs":{"id":"customs","name":"Customs","keywords":["passport","border","blue","square"],"skins":[{"unified":"1f6c3","native":"ð"}],"version":1},"baggage_claim":{"id":"baggage_claim","name":"Baggage Claim","keywords":["blue","square","airport","transport"],"skins":[{"unified":"1f6c4","native":"ð"}],"version":1},"left_luggage":{"id":"left_luggage","name":"Left Luggage","keywords":["blue","square","travel"],"skins":[{"unified":"1f6c5","native":"ð
"}],"version":1},"warning":{"id":"warning","name":"Warning","keywords":["exclamation","wip","alert","error","problem","issue"],"skins":[{"unified":"26a0-fe0f","native":"â ï¸"}],"version":1},"children_crossing":{"id":"children_crossing","name":"Children Crossing","keywords":["school","warning","danger","sign","driving","yellow","diamond"],"skins":[{"unified":"1f6b8","native":"ð¸"}],"version":1},"no_entry":{"id":"no_entry","name":"No Entry","keywords":["limit","security","privacy","bad","denied","stop","circle"],"skins":[{"unified":"26d4","native":"â"}],"version":1},"no_entry_sign":{"id":"no_entry_sign","name":"Prohibited","keywords":["no","entry","sign","forbid","stop","limit","denied","disallow","circle"],"skins":[{"unified":"1f6ab","native":"ð«"}],"version":1},"no_bicycles":{"id":"no_bicycles","name":"No Bicycles","keywords":["cyclist","prohibited","circle"],"skins":[{"unified":"1f6b3","native":"ð³"}],"version":1},"no_smoking":{"id":"no_smoking","name":"No Smoking","keywords":["cigarette","blue","square","smell","smoke"],"skins":[{"unified":"1f6ad","native":"ð"}],"version":1},"do_not_litter":{"id":"do_not_litter","name":"No Littering","keywords":["do","not","litter","trash","bin","garbage","circle"],"skins":[{"unified":"1f6af","native":"ð¯"}],"version":1},"non-potable_water":{"id":"non-potable_water","name":"Non-Potable Water","keywords":["non","potable","drink","faucet","tap","circle"],"skins":[{"unified":"1f6b1","native":"ð±"}],"version":1},"no_pedestrians":{"id":"no_pedestrians","name":"No Pedestrians","keywords":["rules","crossing","walking","circle"],"skins":[{"unified":"1f6b7","native":"ð·"}],"version":1},"no_mobile_phones":{"id":"no_mobile_phones","name":"No Mobile Phones","keywords":["iphone","mute","circle"],"skins":[{"unified":"1f4f5","native":"ðµ"}],"version":1},"underage":{"id":"underage","name":"No One Under Eighteen","keywords":["underage","18","drink","pub","night","minor","circle"],"skins":[{"unified":"1f51e","native":"ð"}],"version":1},"radioactive_sign":{"id":"radioactive_sign","name":"Radioactive","keywords":["sign","nuclear","danger"],"skins":[{"unified":"2622-fe0f","native":"â¢ï¸"}],"version":1},"biohazard_sign":{"id":"biohazard_sign","name":"Biohazard","keywords":["sign","danger"],"skins":[{"unified":"2623-fe0f","native":"â£ï¸"}],"version":1},"arrow_up":{"id":"arrow_up","name":"Up Arrow","keywords":["blue","square","continue","top","direction"],"skins":[{"unified":"2b06-fe0f","native":"â¬ï¸"}],"version":1}
244,"arrow_upper_right":{"id":"arrow_upper_right","name":"Up-Right Arrow","keywords":["upper","right","up","blue","square","point","direction","diagonal","northeast"],"skins":[{"unified":"2197-fe0f","native":"âï¸"}],"version":1},"arrow_right":{"id":"arrow_right","name":"Right Arrow","keywords":["blue","square","next"],"skins":[{"unified":"27a1-fe0f","native":"â¡ï¸"}],"version":1},"arrow_lower_right":{"id":"arrow_lower_right","name":"South East Arrow","keywords":["lower","right","down","blue","square","direction","diagonal","southeast"],"skins":[{"unified":"2198-fe0f","native":"âï¸"}],"version":1},"arrow_down":{"id":"arrow_down","name":"Down Arrow","keywords":["blue","square","direction","bottom"],"skins":[{"unified":"2b07-fe0f","native":"â¬ï¸"}],"version":1},"arrow_lower_left":{"id":"arrow_lower_left","name":"Down-Left Arrow","keywords":["lower","left","down","blue","square","direction","diagonal","southwest"],"skins":[{"unified":"2199-fe0f","native":"âï¸"}],"version":1},"arrow_left":{"id":"arrow_left","name":"Left Arrow","keywords":["blue","square","previous","back"],"skins":[{"unified":"2b05-fe0f","native":"â¬
ï¸"}],"version":1},"arrow_upper_left":{"id":"arrow_upper_left","name":"Up-Left Arrow","keywords":["upper","left","up","blue","square","point","direction","diagonal","northwest"],"skins":[{"unified":"2196-fe0f","native":"âï¸"}],"version":1},"arrow_up_down":{"id":"arrow_up_down","name":"Up Down Arrow","keywords":["blue","square","direction","way","vertical"],"skins":[{"unified":"2195-fe0f","native":"âï¸"}],"version":1},"left_right_arrow":{"id":"left_right_arrow","name":"Left Right Arrow","keywords":["shape","direction","horizontal","sideways"],"skins":[{"unified":"2194-fe0f","native":"âï¸"}],"version":1},"leftwards_arrow_with_hook":{"id":"leftwards_arrow_with_hook","name":"Right Arrow Curving Left","keywords":["leftwards","with","hook","back","return","blue","square","undo","enter"],"skins":[{"unified":"21a9-fe0f","native":"â©ï¸"}],"version":1},"arrow_right_hook":{"id":"arrow_right_hook","name":"Left Arrow Curving Right","keywords":["hook","blue","square","return","rotate","direction"],"skins":[{"unified":"21aa-fe0f","native":"âªï¸"}],"version":1},"arrow_heading_up":{"id":"arrow_heading_up","name":"Right Arrow Curving Up","keywords":["heading","blue","square","direction","top"],"skins":[{"unified":"2934-fe0f","native":"⤴ï¸"}],"version":1},"arrow_heading_down":{"id":"arrow_heading_down","name":"Right Arrow Curving Down","keywords":["heading","blue","square","direction","bottom"],"skins":[{"unified":"2935-fe0f","native":"⤵ï¸"}],"version":1},"arrows_clockwise":{"id":"arrows_clockwise","name":"Clockwise Vertical Arrows","keywords":["sync","cycle","round","repeat"],"skins":[{"unified":"1f503","native":"ð"}],"version":1},"arrows_counterclockwise":{"id":"arrows_counterclockwise","name":"Counterclockwise Arrows Button","keywords":["blue","square","sync","cycle"],"skins":[{"unified":"1f504","native":"ð"}],"version":1},"back":{"id":"back","name":"Back Arrow","keywords":["words","return"],"skins":[{"unified":"1f519","native":"ð"}],"version":1},"end":{"id":"end","name":"End Arrow","keywords":["words"],"skins":[{"unified":"1f51a","native":"ð"}],"version":1},"on":{"id":"on","name":"On! Arrow","keywords":["on","words"],"skins":[{"unified":"1f51b","native":"ð"}],"version":1},"soon":{"id":"soon","name":"Soon Arrow","keywords":["words"],"skins":[{"unified":"1f51c","native":"ð"}],"version":1},"top":{"id":"top","name":"Top Arrow","keywords":["words","blue","square"],"skins":[{"unified":"1f51d","native":"ð"}],"version":1},"place_of_worship":{"id":"place_of_worship","name":"Place of Worship","keywords":["religion","church","temple","prayer"],"skins":[{"unified":"1f6d0","native":"ð"}],"version":1},"atom_symbol":{"id":"atom_symbol","name":"Atom Symbol","keywords":["science","physics","chemistry"],"skins":[{"unified":"269b-fe0f","native":"âï¸"}],"version":1},"om_symbol":{"id":"om_symbol","name":"Om","keywords":["symbol","hinduism","buddhism","sikhism","jainism"],"skins":[{"unified":"1f549-fe0f","native":"ðï¸"}],"version":1},"star_of_david":{"id":"star_of_david","name":"Star of David","keywords":["judaism"],"skins":[{"unified":"2721-fe0f","native":"â¡ï¸"}],"version":1},"wheel_of_dharma":{"id":"wheel_of_dharma","name":"Wheel of Dharma","keywords":["hinduism","buddhism","sikhism","jainism"],"skins":[{"unified":"2638-fe0f","native":"â¸ï¸"}],"version":1}
244,"yin_yang":{"id":"yin_yang","name":"Yin Yang","keywords":["balance"],"skins":[{"unified":"262f-fe0f","native":"â¯ï¸"}],"version":1},"latin_cross":{"id":"latin_cross","name":"Latin Cross","keywords":["christianity"],"skins":[{"unified":"271d-fe0f","native":"âï¸"}],"version":1},"orthodox_cross":{"id":"orthodox_cross","name":"Orthodox Cross","keywords":["suppedaneum","religion"],"skins":[{"unified":"2626-fe0f","native":"â¦ï¸"}],"version":1},"star_and_crescent":{"id":"star_and_crescent","name":"Star and Crescent","keywords":["islam"],"skins":[{"unified":"262a-fe0f","native":"âªï¸"}],"version":1},"peace_symbol":{"id":"peace_symbol","name":"Peace Symbol","keywords":["hippie"],"skins":[{"unified":"262e-fe0f","native":"â®ï¸"}],"version":1},"menorah_with_nine_branches":{"id":"menorah_with_nine_branches","name":"Menorah","keywords":["with","nine","branches","hanukkah","candles","jewish"],"skins":[{"unified":"1f54e","native":"ð"}],"version":1},"six_pointed_star":{"id":"six_pointed_star","name":"Dotted Six-Pointed Star","keywords":["six","pointed","purple","square","religion","jewish","hexagram"],"skins":[{"unified":"1f52f","native":"ð¯"}],"version":1},"khanda":{"id":"khanda","name":"Khanda","keywords":["Sikhism","religion"],"skins":[{"unified":"1faaf","native":"ðª¯"}],"version":15},"aries":{"id":"aries","name":"Aries","keywords":["sign","purple","square","zodiac","astrology"],"skins":[{"unified":"2648","native":"â"}],"version":1},"taurus":{"id":"taurus","name":"Taurus","keywords":["purple","square","sign","zodiac","astrology"],"skins":[{"unified":"2649","native":"â"}],"version":1},"gemini":{"id":"gemini","name":"Gemini","keywords":["sign","zodiac","purple","square","astrology"],"skins":[{"unified":"264a","native":"â"}],"version":1},"cancer":{"id":"cancer","name":"Cancer","keywords":["sign","zodiac","purple","square","astrology"],"skins":[{"unified":"264b","native":"â"}],"version":1},"leo":{"id":"leo","name":"Leo","keywords":["sign","purple","square","zodiac","astrology"],"skins":[{"unified":"264c","native":"â"}],"version":1},"virgo":{"id":"virgo","name":"Virgo","keywords":["sign","zodiac","purple","square","astrology"],"skins":[{"unified":"264d","native":"â"}],"version":1},"libra":{"id":"libra","name":"Libra","keywords":["sign","purple","square","zodiac","astrology"],"skins":[{"unified":"264e","native":"â"}],"version":1},"scorpius":{"id":"scorpius","name":"Scorpio","keywords":["scorpius","sign","zodiac","purple","square","astrology"],"skins":[{"unified":"264f","native":"â"}],"version":1},"sagittarius":{"id":"sagittarius","name":"Sagittarius","keywords":["sign","zodiac","purple","square","astrology"],"skins":[{"unified":"2650","native":"â"}],"version":1},"capricorn":{"id":"capricorn","name":"Capricorn","keywords":["sign","zodiac","purple","square","astrology"],"skins":[{"unified":"2651","native":"â"}],"version":1},"aquarius":{"id":"aquarius","name":"Aquarius","keywords":["sign","purple","square","zodiac","astrology"],"skins":[{"unified":"2652","native":"â"}],"version":1},"pisces":{"id":"pisces","name":"Pisces","keywords":["purple","square","sign","zodiac","astrology"],"skins":[{"unified":"2653","native":"â"}],"version":1},"ophiuchus":{"id":"ophiuchus","name":"Ophiuchus","keywords":["sign","purple","square","constellation","astrology"],"skins":[{"unified":"26ce","native":"â"}],"version":1},"twisted_rightwards_arrows":{"id":"twisted_rightwards_arrows","name":"Shuffle Tracks Button","keywords":["twisted","rightwards","arrows","blue","square","music","random"],"skins":[{"unified":"1f500","native":"ð"}],"version":1},"repeat":{"id":"repeat","name":"Repeat Button","keywords":["loop","record"],"skins":[{"unified":"1f501","native":"ð"}],"version":1},"repeat_one":{"id":"repeat_one","name":"Repeat Single Button","keywords":["one","blue","square","loop"],"skins":[{"unified":"1f502","native":"ð"}],"version":1},"arrow_forward":{"id":"arrow_forward","name":"Play Button","keywords":["arrow","forward","blue","square","right","direction"],"skins":[{"unified":"25b6-fe0f","native":"â¶ï¸"}],"version":1},"fast_forward":{"id":"fast_forward","name":"Fast-Forward Button","keywords":["fast","forward","blue","square","play","speed","continue"],"skins":[{"unified":"23e9","native":"â©"}],"version":1},"black_right_pointing_double_triangle_with_vertical_bar":{"id":"black_right_pointing_double_triangle_with_vertical_bar","name":"Next Track Button","keywords":["black","right","pointing","double","triangle","with","vertical","bar","forward","blue","square"],"skins":[{"unified":"23ed-fe0f","native":"âï¸"}],"version":1},"black_right_pointing_triangle_with_double_vertical_bar":{"id":"black_right_pointing_triangle_with_double_vertical_bar","name":"Play or Pause Button","keywords":["black","right","pointing","triangle","with","double","vertical","bar","blue","square"],"skins":[{"unified":"23ef-fe0f","native":"â¯ï¸"}],"version":1},"arrow_backward":{"id":"arrow_backward","name":"Reverse Button","keywords":["arrow","backward","blue","square","left","direction"],"skins":[{"unified":"25c0-fe0f","native":"âï¸"}],"version":1},"rewind":{"id":"rewind","name":"Fast Reverse Button","keywords":["rewind","play","blue","square"],"skins":[{"unified":"23ea","native":"âª"}],"version":1},"black_left_pointing_double_triangle_with_vertical_bar":{"id":"black_left_pointing_double_triangle_with_vertical_bar","name":"Last Track Button","keywords":["black","left","pointing","double","triangle","with","vertical","bar","backward"],"skins":[{"unified":"23ee-fe0f","native":"â®ï¸"}],"version":1},"arrow_up_small":{"id":"arrow_up_small","name":"Upwards Button","keywords":["arrow","up","small","blue","square","triangle","direction","point","forward","top"],"skins":[{"unified":"1f53c","native":"ð¼"}],"version":1},"arrow_double_up":{"id":"arrow_double_up","name":"Fast Up Button","keywords":["arrow","double","blue","square","direction","top"],"skins":[{"unified":"23eb","native":"â«"}],"version":1},"arrow_down_small":{"id":"arrow_down_small","name":"Downwards Button","keywords":["arrow","down","small","blue","square","direction","bottom"],"skins":[{"unified":"1f53d","native":"ð½"}],"version":1},"arrow_double_down":{"id":"arrow_double_down","name":"Fast Down Button","keywords":["arrow","double","blue","square","direction","bottom"],"skins":[{"unified":"23ec","native":"â¬"}],"version":1},"double_vertical_bar":{"id":"double_vertical_bar","name":"Pause Button","keywords":["double","vertical","bar","blue","square"],"skins":[{"unified":"23f8-fe0f","native":"â¸ï¸"}],"version":1},"black_square_for_stop":{"id":"black_square_for_stop","name":"Stop Button","keywords":["black","square","for","blue"],"skins":[{"unified":"23f9-fe0f","native":"â¹ï¸"}],"version":1},"black_circle_for_record":{"id":"black_circle_for_record","name":"Record Button","keywords":["black","circle","for","blue","square"],"skins":[{"unified":"23fa-fe0f","native":"âºï¸"}],"version":1},"eject":{"id":"eject","name":"Eject Button","keywords":["blue","square"],"skins":[{"unified":"23cf-fe0f","native":"âï¸"}],"version":1},"cinema":{"id":"cinema","name":"Cinema","keywords":["blue","square","record","film","movie","curtain","stage","theater"],"skins":[{"unified":"1f3a6","native":"ð¦"}],"version":1},"low_brightness":{"id":"low_brightness","name":"Dim Button","keywords":["low","brightness","sun","afternoon","warm","summer"],"skins":[{"unified":"1f505","native":"ð
"}],"version":1},"high_brightness":{"id":"high_brightness","name":"Bright Button","keywords":["high","brightness","sun","light"],"skins":[{"unified":"1f506","native":"ð"}],"version":1},"signal_strength":{"id":"signal_strength","name":"Antenna Bars","keywords":["signal","strength","blue","square","reception","phone","internet","connection","wifi","bluetooth"],"skins":[{"unified":"1f4f6","native":"ð¶"}],"version":1},"wireless":{"id":"wireless","name":"Wireless","keywords":["wifi","internet","contactless","signal"],"skins":[{"unified":"1f6dc","native":"ð"}],"version":15},"vibration_mode":{"id":"vibration_mode","name":"Vibration Mode","keywords":["orange","square","phone"],"skins":[{"unified":"1f4f3","native":"ð³"}],"version":1},"mobile_phone_off":{"id":"mobile_phone_off","name":"Mobile Phone off","keywords":["mute","orange","square","silence","quiet"],"skins":[{"unified":"1f4f4","native":"ð´"}],"version":1},"female_sign":{"id":"female_sign","name":"Female Sign","keywords":["woman","women","lady","girl"],"skins":[{"unified":"2640-fe0f","native":"âï¸"}],"version":4},"male_sign":{"id":"male_sign","name":"Male Sign","keywords":["man","boy","men"],"skins":[{"unified":"2642-fe0f","native":"âï¸"}],"version":4},"transgender_symbol":{"id":"transgender_symbol","name":"Transgender Symbol","keywords":["lgbtq"],"skins":[{"unified":"26a7-fe0f","native":"â§ï¸"}],"version":13},"heavy_multiplication_x":{"id":"heavy_multiplication_x","name":"Multiply","keywords":["heavy","multiplication","x","sign","math","calculation"],"skins":[{"unified":"2716-fe0f","native":"âï¸"}],"version":1},"heavy_plus_sign":{"id":"heavy_plus_sign","name":"Plus","keywords":["heavy","sign","math","calculation","addition","more","increase"],"skins":[{"unified":"2795","native":"â"}],"version":1},"heavy_minus_sign":{"id":"heavy_minus_sign","name":"Minus","keywords":["heavy","sign","math","calculation","subtract","less"],"skins":[{"unified":"2796","native":"â"}],"version":1},"heavy_division_sign":{"id":"heavy_division_sign","name":"Divide","keywords":["heavy","division","sign","math","calculation"],"skins":[{"unified":"2797","native":"â"}],"version":1},"heavy_equals_sign":{"id":"heavy_equals_sign","name":"Heavy Equals Sign","keywords":["math"],"skins":[{"unified":"1f7f0","native":"ð°"}],"version":14},"infinity":{"id":"infinity","name":"Infinity","keywords":["forever"],"skins":[{"unified":"267e-fe0f","native":"â¾ï¸"}],"version":11},"bangbang":{"id":"bangbang","name":"Double Exclamation Mark","keywords":["bangbang","surprise"],"skins":[{"unified":"203c-fe0f","native":"â¼ï¸"}],"version":1},"interrobang":{"id":"interrobang","name":"Exclamation Question Mark","keywords":["interrobang","wat","punctuation","surprise"],"skins":[{"unified":"2049-fe0f","native":"âï¸"}],"version":1},"question":{"id":"question","name":"Red Question Mark","keywords":["doubt","confused"],"skins":[{"unified":"2753","native":"â"}],"version":1},"grey_question":{"id":"grey_question","name":"White Question Mark","keywords":["grey","doubts","gray","huh","confused"],"skins":[{"unified":"2754","native":"â"}],"version":1},"grey_exclamation":{"id":"grey_exclamation","name":"White Exclamation Mark","keywords":["grey","surprise","punctuation","gray","wow","warning"],"skins":[{"unified":"2755","native":"â"}],"version":1},"exclamation":{"id":"exclamation","name":"Red Exclamation Mark","keywords":["heavy","danger","surprise","punctuation","wow","warning"],"skins":[{"unified":"2757","native":"â"}],"version":1},"wavy_dash":{"id":"wavy_dash","name":"Wavy Dash","keywords":["draw","line","moustache","mustache","squiggle","scribble"],"skins":[{"unified":"3030-fe0f","native":"ã°ï¸"}],"version":1},"currency_exchange":{"id":"currency_exchange","name":"Currency Exchange","keywords":["money","sales","dollar","travel"],"skins":[{"unified":"1f4b1","native":"ð±"}],"version":1},"heavy_dollar_sign":{"id":"heavy_dollar_sign","name":"Heavy Dollar Sign","keywords":["money","sales","payment","currency","buck"],"skins":[{"unified":"1f4b2","native":"ð²"}],"version":1},"medical_symbol":{"id":"medical_symbol","name":"Medical Symbol","keywords":["staff","of","aesculapius","health","hospital"],"skins":[{"unified":"2695-fe0f","native":"âï¸"}],"version":4},"recycle":{"id":"recycle","name":"Recycling Symbol","keywords":["recycle","arrow","environment","garbage","trash"],"skins":[{"unified":"267b-fe0f","native":"â»ï¸"}],"version":1},"fleur_de_lis":{"id":"fleur_de_lis","name":"Fleur-De-Lis","keywords":["fleur","de","lis","decorative","scout"],"skins":[{"unified":"269c-fe0f","native":"âï¸"}],"version":1},"trident":{"id":"trident","name":"Trident Emblem","keywords":["weapon","
244spear"],"skins":[{"unified":"1f531","native":"ð±"}],"version":1},"name_badge":{"id":"name_badge","name":"Name Badge","keywords":["fire","forbid"],"skins":[{"unified":"1f4db","native":"ð"}],"version":1},"beginner":{"id":"beginner","name":"Japanese Symbol for Beginner","keywords":["badge","shield"],"skins":[{"unified":"1f530","native":"ð°"}],"version":1},"o":{"id":"o","name":"Hollow Red Circle","keywords":["o","round"],"skins":[{"unified":"2b55","native":"â"}],"version":1},"white_check_mark":{"id":"white_check_mark","name":"Check Mark Button","keywords":["white","green","square","ok","agree","vote","election","answer","tick"],"skins":[{"unified":"2705","native":"â
"}],"version":1},"ballot_box_with_check":{"id":"ballot_box_with_check","name":"Check Box with Check","keywords":["ballot","ok","agree","confirm","black","square","vote","election","yes","tick"],"skins":[{"unified":"2611-fe0f","native":"âï¸"}],"version":1},"heavy_check_mark":{"id":"heavy_check_mark","name":"Check Mark","keywords":["heavy","ok","nike","answer","yes","tick"],"skins":[{"unified":"2714-fe0f","native":"âï¸"}],"version":1},"x":{"id":"x","name":"Cross Mark","keywords":["x","no","delete","remove","cancel","red"],"skins":[{"unified":"274c","native":"â"}],"version":1},"negative_squared_cross_mark":{"id":"negative_squared_cross_mark","name":"Cross Mark Button","keywords":["negative","squared","x","green","square","no","deny"],"skins":[{"unified":"274e","native":"â"}],"version":1},"curly_loop":{"id":"curly_loop","name":"Curly Loop","keywords":["scribble","draw","shape","squiggle"],"skins":[{"unified":"27b0","native":"â°"}],"version":1},"loop":{"id":"loop","name":"Double Curly Loop","keywords":["tape","cassette"],"skins":[{"unified":"27bf","native":"â¿"}],"version":1},"part_alternation_mark":{"id":"part_alternation_mark","name":"Part Alternation Mark","keywords":["graph","presentation","stats","business","economics","bad"],"skins":[{"unified":"303d-fe0f","native":"ã½ï¸"}],"version":1},"eight_spoked_asterisk":{"id":"eight_spoked_asterisk","name":"Eight Spoked Asterisk","keywords":["star","sparkle","green","square"],"skins":[{"unified":"2733-fe0f","native":"â³ï¸"}],"version":1},"eight_pointed_black_star":{"id":"eight_pointed_black_star","name":"Eight-Pointed Star","keywords":["eight","pointed","black","orange","square","shape","polygon"],"skins":[{"unified":"2734-fe0f","native":"â´ï¸"}],"version":1},"sparkle":{"id":"sparkle","name":"Sparkle","keywords":["stars","green","square","awesome","good","fireworks"],"skins":[{"unified":"2747-fe0f","native":"âï¸"}],"version":1},"copyright":{"id":"copyright","name":"Copyright","keywords":["ip","license","circle","law","legal"],"skins":[{"unified":"00a9-fe0f","native":"©ï¸"}],"version":1},"registered":{"id":"registered","name":"Registered","keywords":["alphabet","circle"],"skins":[{"unified":"00ae-fe0f","native":"®ï¸"}],"version":1},"tm":{"id":"tm","name":"Trade Mark","keywords":["tm","trademark","brand","law","legal"],"skins":[{"unified":"2122-fe0f","native":"â¢ï¸"}],"version":1},"hash":{"id":"hash","name":"Hash Key","keywords":["keycap","","symbol","blue","square","twitter"],"skins":[{"unified":"0023-fe0f-20e3","native":"#ï¸â£"}],"version":1},"keycap_star":{"id":"keycap_star","name":"Keycap: *","keywords":["keycap","star",""],"skins":[{"unified":"002a-fe0f-20e3","native":"*ï¸â£"}],"version":2},"zero":{"id":"zero","name":"Keycap 0","keywords":["zero","numbers","blue","square","null"],"skins":[{"unified":"0030-fe0f-20e3","native":"0ï¸â£"}],"version":1},"one":{"id":"one","name":"Keycap 1","keywords":["one","blue","square","numbers"],"skins":[{"unified":"0031-fe0f-20e3","native":"1ï¸â£"}],"version":1},"two":{"id":"two","name":"Keycap 2","keywords":["two","numbers","prime","blue","square"],"skins":[{"unified":"0032-fe0f-20e3","native":"2ï¸â£"}],"version":1},"three":{"id":"three","name":"Keycap 3","keywords":["three","numbers","prime","blue","square"],"skins":[{"unified":"0033-fe0f-20e3","native":"3ï¸â£"}],"version":1},"four":{"id":"four","name":"Keycap 4","keywords":["four","numbers","blue","square"],"skins":[{"unified":"0034-fe0f-20e3","native":"4ï¸â£"}],"version":1},"five":{"id":"five","name":"Keycap 5","keywords":["five","numbers","blue","square","prime"],"skins":[{"unified":"0035-fe0f-20e3","native":"5ï¸â£"}],"version":1},"six":{"id":"six","name":"Keycap 6","keywords":["six","numbers","blue","square"],"skins":[{"unified":"0036-fe0f-20e3","native":"6ï¸â£"}],"version":1},"seven":{"id":"seven","name":"Keycap 7","keywords":["seven","numbers","blue","square","prime"],"skins":[{"unified":"0037-fe0f-20e3","native":"7ï¸â£"}],"version":1}
244,"eight":{"id":"eight","name":"Keycap 8","keywords":["eight","blue","square","numbers"],"skins":[{"unified":"0038-fe0f-20e3","native":"8ï¸â£"}],"version":1},"nine":{"id":"nine","name":"Keycap 9","keywords":["nine","blue","square","numbers"],"skins":[{"unified":"0039-fe0f-20e3","native":"9ï¸â£"}],"version":1},"keycap_ten":{"id":"keycap_ten","name":"Keycap 10","keywords":["ten","numbers","blue","square"],"skins":[{"unified":"1f51f","native":"ð"}],"version":1},"capital_abcd":{"id":"capital_abcd","name":"Input Latin Uppercase","keywords":["capital","abcd","alphabet","words","blue","square"],"skins":[{"unified":"1f520","native":"ð "}],"version":1},"abcd":{"id":"abcd","name":"Input Latin Lowercase","keywords":["abcd","blue","square","alphabet"],"skins":[{"unified":"1f521","native":"ð¡"}],"version":1},"symbols":{"id":"symbols","name":"Input Symbols","keywords":["blue","square","music","note","ampersand","percent","glyphs","characters"],"skins":[{"unified":"1f523","native":"ð£"}],"version":1},"abc":{"id":"abc","name":"Input Latin Letters","keywords":["abc","blue","square","alphabet"],"skins":[{"unified":"1f524","native":"ð¤"}],"version":1},"a":{"id":"a","name":"A Button (blood Type)","keywords":["red","square","alphabet","letter"],"skins":[{"unified":"1f170-fe0f","native":"ð
°ï¸"}],"version":1},"ab":{"id":"ab","name":"Negative Squared Ab","keywords":["button","red","square","alphabet"],"skins":[{"unified":"1f18e","native":"ð"}],"version":1},"b":{"id":"b","name":"B Button (blood Type)","keywords":["red","square","alphabet","letter"],"skins":[{"unified":"1f171-fe0f","native":"ð
±ï¸"}],"version":1},"cl":{"id":"cl","name":"Cl Button","keywords":["alphabet","words","red","square"],"skins":[{"unified":"1f191","native":"ð"}],"version":1},"cool":{"id":"cool","name":"Cool Button","keywords":["words","blue","square"],"skins":[{"unified":"1f192","native":"ð"}],"version":1},"free":{"id":"free","name":"Free Button","keywords":["blue","square","words"],"skins":[{"unified":"1f193","native":"ð"}],"version":1},"information_source":{"id":"information_source","name":"Information","keywords":["source","blue","square","alphabet","letter"],"skins":[{"unified":"2139-fe0f","native":"â¹ï¸"}],"version":1},"id":{"id":"id","name":"Id Button","keywords":["purple","square","words"],"skins":[{"unified":"1f194","native":"ð"}],"version":1},"m":{"id":"m","name":"Circled M","keywords":["alphabet","blue","circle","letter"],"skins":[{"unified":"24c2-fe0f","native":"âï¸"}],"version":1},"new":{"id":"new","name":"New Button","keywords":["blue","square","words","start"],"skins":[{"unified":"1f195","native":"ð"}],"version":1},"ng":{"id":"ng","name":"Ng Button","keywords":["blue","square","words","shape","icon"],"skins":[{"unified":"1f196","native":"ð"}],"version":1},"o2":{"id":"o2","name":"O Button (blood Type)","keywords":["o2","alphabet","red","square","letter"],"skins":[{"unified":"1f17e-fe0f","native":"ð
¾ï¸"}],"version":1},"ok":{"id":"ok","name":"Ok Button","keywords":["good","agree","yes","blue","square"],"skins":[{"unified":"1f197","native":"ð"}],"version":1},"parking":{"id":"parking","name":"P Button","keywords":["parking","cars","blue","square","alphabet","letter"],"skins":[{"unified":"1f17f-fe0f","native":"ð
¿ï¸"}],"version":1},"sos":{"id":"sos","name":"Sos Button","keywords":["help","red","square","words","emergency","911"],"skins":[{"unified":"1f198","native":"ð"}],"version":1},"up":{"id":"up","name":"Up! Button","keywords":["up","blue","square","above","high"],"skins":[{"unified":"1f199","native":"ð"}],"version":1},"vs":{"id":"vs","name":"Vs Button","keywords":["words","orange","square"],"skins":[{"unified":"1f19a","native":"ð"}],"version":1},"koko":{"id":"koko","name":"Squared Katakana Koko","keywords":["japanese","here","button","blue","square","destination"],"skins":[{"unified":"1f201","native":"ð"}],"version":1},"sa":{"id":"sa","name":"Squared Katakana Sa","keywords":["japanese","service","charge","button","blue","square"],"skins":[{"unified":"1f202-fe0f","native":"ðï¸"}],"version":1},"u6708":{"id":"u6708","name":"Japanese âmonthly Amountâ Button","keywords":["u6708","monthly","amount","chinese","month","moon","orange","square","kanji"],"skins":[{"unified":"1f237-fe0f","native":"ð·ï¸"}],"version":1},"u6709":{"id":"u6709","name":"Squared Cjk Unified Ideograph-6709","keywords":["u6709","japanese","not","free","of","charge","button","orange","square","chinese","have","kanji"],"skins":[{"unified":"1f236","native":"ð¶"}],"version":1},"u6307":{"id":"u6307","name":"Japanese âreservedâ Button","keywords":["u6307","reserved","chinese","point","green","square","kanji"],"skins":[{"unified":"1f22f","native":"ð¯"}],"version":1},"ideograph_advantage":{"id":"ideograph_advantage","name":"Japanese âbargainâ Button","keywords":["ideograph","advantage","bargain","chinese","kanji","obtain","get","circle"],"skins":[{"unified":"1f250","native":"ð"}],"version":1}
244,"u5272":{"id":"u5272","name":"Japanese âdiscountâ Button","keywords":["u5272","discount","cut","divide","chinese","kanji","pink","square"],"skins":[{"unified":"1f239","native":"ð¹"}],"version":1},"u7121":{"id":"u7121","name":"Japanese âfree of Chargeâ Button","keywords":["u7121","free","charge","nothing","chinese","kanji","orange","square"],"skins":[{"unified":"1f21a","native":"ð"}],"version":1},"u7981":{"id":"u7981","name":"Japanese âprohibitedâ Button","keywords":["u7981","prohibited","kanji","chinese","forbidden","limit","restricted","red","square"],"skins":[{"unified":"1f232","native":"ð²"}],"version":1},"accept":{"id":"accept","name":"Circled Ideograph Accept","keywords":["japanese","acceptable","button","ok","good","chinese","kanji","agree","yes","orange","circle"],"skins":[{"unified":"1f251","native":"ð"}],"version":1},"u7533":{"id":"u7533","name":"Japanese âapplicationâ Button","keywords":["u7533","application","chinese","kanji","orange","square"],"skins":[{"unified":"1f238","native":"ð¸"}],"version":1},"u5408":{"id":"u5408","name":"Japanese âpassing Gradeâ Button","keywords":["u5408","passing","grade","chinese","join","kanji","red","square"],"skins":[{"unified":"1f234","native":"ð´"}],"version":1},"u7a7a":{"id":"u7a7a","name":"Japanese âvacancyâ Button","keywords":["u7a7a","vacancy","kanji","chinese","empty","sky","blue","square"],"skins":[{"unified":"1f233","native":"ð³"}],"version":1},"congratulations":{"id":"congratulations","name":"Circled Ideograph Congratulation","keywords":["congratulations","japanese","button","chinese","kanji","red","circle"],"skins":[{"unified":"3297-fe0f","native":"ãï¸"}],"version":1},"secret":{"id":"secret","name":"Circled Ideograph Secret","keywords":["japanese","button","privacy","chinese","sshh","kanji","red","circle"],"skins":[{"unified":"3299-fe0f","native":"ãï¸"}],"version":1},"u55b6":{"id":"u55b6","name":"Squared Cjk Unified Ideograph-55b6","keywords":["u55b6","japanese","open","for","business","button","opening","hours","orange","square"],"skins":[{"unified":"1f23a","native":"ðº"}],"version":1},"u6e80":{"id":"u6e80","name":"Japanese âno Vacancyâ Button","keywords":["u6e80","no","vacancy","full","chinese","red","square","kanji"],"skins":[{"unified":"1f235","native":"ðµ"}],"version":1},"red_circle":{"id":"red_circle","name":"Red Circle","keywords":["shape","error","danger"],"skins":[{"unified":"1f534","native":"ð´"}],"version":1},"large_orange_circle":{"id":"large_orange_circle","name":"Orange Circle","keywords":["large","round"],"skins":[{"unified":"1f7e0","native":"ð "}],"version":12},"large_yellow_circle":{"id":"large_yellow_circle","name":"Yellow Circle","keywords":["large","round"],"skins":[{"unified":"1f7e1","native":"ð¡"}],"version":12},"large_green_circle":{"id":"large_green_circle","name":"Green Circle","keywords":["large","round"],"skins":[{"unified":"1f7e2","native":"ð¢"}],"version":12},"large_blue_circle":{"id":"large_blue_circle","name":"Blue Circle","keywords":["large","shape","icon","button"],"skins":[{"unified":"1f535","native":"ðµ"}],"version":1},"large_purple_circle":{"id":"large_purple_circle","name":"Purple Circle","keywords":["large","round"],"skins":[{"unified":"1f7e3","native":"ð£"}],"version":12},"large_brown_circle":{"id":"large_brown_circle","name":"Brown Circle","keywords":["large","round"],"skins":[{"unified":"1f7e4","native":"ð¤"}],"version":12},"black_circle":{"id":"black_circle","name":"Black Circle","keywords":["shape","button","round"],"skins":[{"unified":"26ab","native":"â«"}],"version":1},"white_circle":{"id":"white_circle","name":"White Circle","keywords":["shape","round"],"skins":[{"unified":"26aa","native":"âª"}],"version":1},"large_red_square":{"id":"large_red_square","name":"Red Square","keywords":["large"],"skins":[{"unified":"1f7e5","native":"ð¥"}],"version":12},"large_orange_square":{"id":"large_orange_square","name":"Orange Square","keywords":["large"],"skins":[{"unified":"1f7e7","native":"ð§"}],"version":12},"large_yellow_square":{"id":"large_yellow_square","name":"Yellow Square","keywords":["large"],"skins":[{"unified":"1f7e8","native":"ð¨"}],"version":12}
244,"large_green_square":{"id":"large_green_square","name":"Green Square","keywords":["large"],"skins":[{"unified":"1f7e9","native":"ð©"}],"version":12},"large_blue_square":{"id":"large_blue_square","name":"Blue Square","keywords":["large"],"skins":[{"unified":"1f7e6","native":"ð¦"}],"version":12},"large_purple_square":{"id":"large_purple_square","name":"Purple Square","keywords":["large"],"skins":[{"unified":"1f7ea","native":"ðª"}],"version":12},"large_brown_square":{"id":"large_brown_square","name":"Brown Square","keywords":["large"],"skins":[{"unified":"1f7eb","native":"ð«"}],"version":12},"black_large_square":{"id":"black_large_square","name":"Black Large Square","keywords":["shape","icon","button"],"skins":[{"unified":"2b1b","native":"â¬"}],"version":1},"white_large_square":{"id":"white_large_square","name":"White Large Square","keywords":["shape","icon","stone","button"],"skins":[{"unified":"2b1c","native":"â¬"}],"version":1},"black_medium_square":{"id":"black_medium_square","name":"Black Medium Square","keywords":["shape","button","icon"],"skins":[{"unified":"25fc-fe0f","native":"â¼ï¸"}],"version":1},"white_medium_square":{"id":"white_medium_square","name":"White Medium Square","keywords":["shape","stone","icon"],"skins":[{"unified":"25fb-fe0f","native":"â»ï¸"}],"version":1},"black_medium_small_square":{"id":"black_medium_small_square","name":"Black Medium Small Square","keywords":["icon","shape","button"],"skins":[{"unified":"25fe","native":"â¾"}],"version":1},"white_medium_small_square":{"id":"white_medium_small_square","name":"White Medium Small Square","keywords":["shape","stone","icon","button"],"skins":[{"unified":"25fd","native":"â½"}],"version":1},"black_small_square":{"id":"black_small_square","name":"Black Small Square","keywords":["shape","icon"],"skins":[{"unified":"25aa-fe0f","native":"âªï¸"}],"version":1},"white_small_square":{"id":"white_small_square","name":"White Small Square","keywords":["shape","icon"],"skins":[{"unified":"25ab-fe0f","native":"â«ï¸"}],"version":1},"large_orange_diamond":{"id":"large_orange_diamond","name":"Large Orange Diamond","keywords":["shape","jewel","gem"],"skins":[{"unified":"1f536","native":"ð¶"}],"version":1},"large_blue_diamond":{"id":"large_blue_diamond","name":"Large Blue Diamond","keywords":["shape","jewel","gem"],"skins":[{"unified":"1f537","native":"ð·"}],"version":1},"small_orange_diamond":{"id":"small_orange_diamond","name":"Small Orange Diamond","keywords":["shape","jewel","gem"],"skins":[{"unified":"1f538","native":"ð¸"}],"version":1},"small_blue_diamond":{"id":"small_blue_diamond","name":"Small Blue Diamond","keywords":["shape","jewel","gem"],"skins":[{"unified":"1f539","native":"ð¹"}],"version":1},"small_red_triangle":{"id":"small_red_triangle","name":"Red Triangle Pointed Up","keywords":["small","shape","direction","top"],"skins":[{"unified":"1f53a","native":"ðº"}],"version":1},"small_red_triangle_down":{"id":"small_red_triangle_down","name":"Red Triangle Pointed Down","keywords":["small","shape","direction","bottom"],"skins":[{"unified":"1f53b","native":"ð»"}],"version":1},"diamond_shape_with_a_dot_inside":{"id":"diamond_shape_with_a_dot_inside","name":"Diamond with a Dot","keywords":["shape","inside","jewel","blue","gem","crystal","fancy"],"skins":[{"unified":"1f4a0","native":"ð "}],"version":1},"radio_button":{"id":"radio_button","name":"Radio Button","keywords":["input","old","music","circle"],"skins":[{"unified":"1f518","native":"ð"}],"version":1},"white_square_button":{"id":"white_square_button","name":"White Square Button","keywords":["shape","input"],"skins":[{"unified":"1f533","native":"ð³"}],"version":1},"black_square_button":{"id":"black_square_button","name":"Black Square Button","keywords":["shape","input","frame"],"skins":[{"unified":"1f532","native":"ð²"}],"version":1},"checkered_flag":{"id":"checkered_flag","name":"Chequered Flag","keywords":["checkered","contest","finishline","race","gokart"],"skins":[{"unified":"1f3c1","native":"ð"}],"version":1},"triangular_flag_on_post":{"id":"triangular_flag_on_post","name":"Triangular Flag","keywords":["on","post","mark","milestone","place"],"skins":[{"unified":"1f6a9","native":"ð©"}],"version":1},"crossed_flags":{"id":"crossed_flags","name":"Crossed Flags","keywords":["japanese","nation","country","border"],"skins":[{"unified":"1f38c","native":"ð"}],"version":1}
244,"waving_black_flag":{"id":"waving_black_flag","name":"Black Flag","keywords":["waving","pirate"],"skins":[{"unified":"1f3f4","native":"ð´"}],"version":1},"waving_white_flag":{"id":"waving_white_flag","name":"White Flag","keywords":["waving","losing","loser","lost","surrender","give","up","fail"],"skins":[{"unified":"1f3f3-fe0f","native":"ð³ï¸"}],"version":1},"rainbow-flag":{"id":"rainbow-flag","name":"Rainbow Flag","keywords":["pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],"skins":[{"unified":"1f3f3-fe0f-200d-1f308","native":"ð³ï¸âð"}],"version":4},"transgender_flag":{"id":"transgender_flag","name":"Transgender Flag","keywords":["lgbtq"],"skins":[{"unified":"1f3f3-fe0f-200d-26a7-fe0f","native":"ð³ï¸ââ§ï¸"}],"version":13},"pirate_flag":{"id":"pirate_flag","name":"Pirate Flag","keywords":["skull","crossbones","banner"],"skins":[{"unified":"1f3f4-200d-2620-fe0f","native":"ð´ââ ï¸"}],"version":11},"flag-ac":{"id":"flag-ac","name":"Ascension Island Flag","keywords":["ac"],"skins":[{"unified":"1f1e6-1f1e8","native":"ð¦ð¨"}],"version":2},"flag-ad":{"id":"flag-ad","name":"Andorra Flag","keywords":["ad","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1e9","native":"ð¦ð©"}],"version":2},"flag-ae":{"id":"flag-ae","name":"United Arab Emirates Flag","keywords":["ae","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1ea","native":"ð¦ðª"}],"version":2},"flag-af":{"id":"flag-af","name":"Afghanistan Flag","keywords":["af","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1eb","native":"ð¦ð«"}],"version":2},"flag-ag":{"id":"flag-ag","name":"Antigua & Barbuda Flag","keywords":["ag","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1ec","native":"ð¦ð¬"}],"version":2},"flag-ai":{"id":"flag-ai","name":"Anguilla Flag","keywords":["ai","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1ee","native":"ð¦ð®"}],"version":2},"flag-al":{"id":"flag-al","name":"Albania Flag","keywords":["al","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1f1","native":"ð¦ð±"}],"version":2},"flag-am":{"id":"flag-am","name":"Armenia Flag","keywords":["am","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1f2","native":"ð¦ð²"}],"version":2},"flag-ao":{"id":"flag-ao","name":"Angola Flag","keywords":["ao","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1f4","native":"ð¦ð´"}],"version":2},"flag-aq":{"id":"flag-aq","name":"Antarctica Flag","keywords":["aq","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1f6","native":"ð¦ð¶"}],"version":2},"flag-ar":{"id":"flag-ar","name":"Argentina Flag","keywords":["ar","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1f7","native":"ð¦ð·"}],"version":2},"flag-as":{"id":"flag-as","name":"American Samoa Flag","keywords":["as","ws","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1f8","native":"ð¦ð¸"}],"version":2},"flag-at":{"id":"flag-at","name":"Austria Flag","keywords":["at","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1f9","native":"ð¦ð¹"}],"version":2},"flag-au":{"id":"flag-au","name":"Australia Flag","keywords":["au","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1fa","native":"ð¦ðº"}],"version":2},"flag-aw":{"id":"flag-aw","name":"Aruba Flag","keywords":["aw","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1fc","native":"ð¦ð¼"}],"version":2},"flag-ax":{"id":"flag-ax","name":"Ã
land Islands Flag","keywords":["ax","aland","Aland","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1fd","native":"ð¦ð½"}],"version":2},"flag-az":{"id":"flag-az","name":"Azerbaijan Flag","keywords":["az","nation","country","banner"],"skins":[{"unified":"1f1e6-1f1ff","native":"ð¦ð¿"}],"version":2},"flag-ba":{"id":"flag-ba","name":"Bosnia & Herzegovina Flag","keywords":["ba","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1e6","native":"ð§ð¦"}],"version":2},"flag-bb":{"id":"flag-bb","name":"Barbados Flag","keywords":["bb","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1e7","native":"ð§ð§"}],"version":2},"flag-bd":{"id":"flag-bd","name":"Bangladesh Flag","keywords":["bd","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1e9","native":"ð§ð©"}],"version":2}
244,"flag-be":{"id":"flag-be","name":"Belgium Flag","keywords":["be","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1ea","native":"ð§ðª"}],"version":2},"flag-bf":{"id":"flag-bf","name":"Burkina Faso Flag","keywords":["bf","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1eb","native":"ð§ð«"}],"version":2},"flag-bg":{"id":"flag-bg","name":"Bulgaria Flag","keywords":["bg","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1ec","native":"ð§ð¬"}],"version":2},"flag-bh":{"id":"flag-bh","name":"Bahrain Flag","keywords":["bh","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1ed","native":"ð§ð"}],"version":2},"flag-bi":{"id":"flag-bi","name":"Burundi Flag","keywords":["bi","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1ee","native":"ð§ð®"}],"version":2},"flag-bj":{"id":"flag-bj","name":"Benin Flag","keywords":["bj","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1ef","native":"ð§ð¯"}],"version":2},"flag-bl":{"id":"flag-bl","name":"St. Barthélemy Flag","keywords":["bl","st","barthelemy","saint","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1f1","native":"ð§ð±"}],"version":2},"flag-bm":{"id":"flag-bm","name":"Bermuda Flag","keywords":["bm","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1f2","native":"ð§ð²"}],"version":2},"flag-bn":{"id":"flag-bn","name":"Brunei Flag","keywords":["bn","darussalam","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1f3","native":"ð§ð³"}],"version":2},"flag-bo":{"id":"flag-bo","name":"Bolivia Flag","keywords":["bo","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1f4","native":"ð§ð´"}],"version":2},"flag-bq":{"id":"flag-bq","name":"Caribbean Netherlands Flag","keywords":["bq","bonaire","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1f6","native":"ð§ð¶"}],"version":2},"flag-br":{"id":"flag-br","name":"Brazil Flag","keywords":["br","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1f7","native":"ð§ð·"}],"version":2},"flag-bs":{"id":"flag-bs","name":"Bahamas Flag","keywords":["bs","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1f8","native":"ð§ð¸"}],"version":2},"flag-bt":{"id":"flag-bt","name":"Bhutan Flag","keywords":["bt","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1f9","native":"ð§ð¹"}],"version":2},"flag-bv":{"id":"flag-bv","name":"Bouvet Island Flag","keywords":["bv","norway"],"skins":[{"unified":"1f1e7-1f1fb","native":"ð§ð»"}],"version":2},"flag-bw":{"id":"flag-bw","name":"Botswana Flag","keywords":["bw","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1fc","native":"ð§ð¼"}],"version":2},"flag-by":{"id":"flag-by","name":"Belarus Flag","keywords":["by","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1fe","native":"ð§ð¾"}],"version":2},"flag-bz":{"id":"flag-bz","name":"Belize Flag","keywords":["bz","nation","country","banner"],"skins":[{"unified":"1f1e7-1f1ff","native":"ð§ð¿"}],"version":2},"flag-ca":{"id":"flag-ca","name":"Canada Flag","keywords":["ca","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1e6","native":"ð¨ð¦"}],"version":2},"flag-cc":{"id":"flag-cc","name":"Cocos (keeling) Islands Flag","keywords":["cc","keeling","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1e8","native":"ð¨ð¨"}],"version":2},"flag-cd":{"id":"flag-cd","name":"Congo - Kinshasa Flag","keywords":["cd","democratic","republic","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1e9","native":"ð¨ð©"}],"version":2},"flag-cf":{"id":"flag-cf","name":"Central African Republic Flag","keywords":["cf","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1eb","native":"ð¨ð«"}],"version":2},"flag-cg":{"id":"flag-cg","name":"Congo - Brazzaville Flag","keywords":["cg","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1ec","native":"ð¨ð¬"}],"version":2},"flag-ch":{"id":"flag-ch","name":"Switzerland Flag","keywords":["ch","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1ed","native":"ð¨ð"}],"version":2},"flag-ci":{"id":"flag-ci","name":"Côte Dâivoire Flag","keywords":["ci","cote","d","ivoire","ivory","co
244ast","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1ee","native":"ð¨ð®"}],"version":2},"flag-ck":{"id":"flag-ck","name":"Cook Islands Flag","keywords":["ck","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1f0","native":"ð¨ð°"}],"version":2},"flag-cl":{"id":"flag-cl","name":"Chile Flag","keywords":["cl","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1f1","native":"ð¨ð±"}],"version":2},"flag-cm":{"id":"flag-cm","name":"Cameroon Flag","keywords":["cm","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1f2","native":"ð¨ð²"}],"version":2},"cn":{"id":"cn","name":"China Flag","keywords":["cn","chinese","prc","country","nation","banner"],"skins":[{"unified":"1f1e8-1f1f3","native":"ð¨ð³"}],"version":1},"flag-co":{"id":"flag-co","name":"Colombia Flag","keywords":["co","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1f4","native":"ð¨ð´"}],"version":2},"flag-cp":{"id":"flag-cp","name":"Clipperton Island Flag","keywords":["cp"],"skins":[{"unified":"1f1e8-1f1f5","native":"ð¨ðµ"}],"version":2},"flag-cr":{"id":"flag-cr","name":"Costa Rica Flag","keywords":["cr","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1f7","native":"ð¨ð·"}],"version":2},"flag-cu":{"id":"flag-cu","name":"Cuba Flag","keywords":["cu","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1fa","native":"ð¨ðº"}],"version":2},"flag-cv":{"id":"flag-cv","name":"Cape Verde Flag","keywords":["cv","cabo","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1fb","native":"ð¨ð»"}],"version":2},"flag-cw":{"id":"flag-cw","name":"Curaçao Flag","keywords":["cw","curacao","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1fc","native":"ð¨ð¼"}],"version":2},"flag-cx":{"id":"flag-cx","name":"Christmas Island Flag","keywords":["cx","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1fd","native":"ð¨ð½"}],"version":2},"flag-cy":{"id":"flag-cy","name":"Cyprus Flag","keywords":["cy","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1fe","native":"ð¨ð¾"}],"version":2},"flag-cz":{"id":"flag-cz","name":"Czechia Flag","keywords":["cz","nation","country","banner"],"skins":[{"unified":"1f1e8-1f1ff","native":"ð¨ð¿"}],"version":2},"de":{"id":"de","name":"Germany Flag","keywords":["de","german","nation","country","banner"],"skins":[{"unified":"1f1e9-1f1ea","native":"ð©ðª"}],"version":1},"flag-dg":{"id":"flag-dg","name":"Diego Garcia Flag","keywords":["dg"],"skins":[{"unified":"1f1e9-1f1ec","native":"ð©ð¬"}],"version":2},"flag-dj":{"id":"flag-dj","name":"Djibouti Flag","keywords":["dj","nation","country","banner"],"skins":[{"unified":"1f1e9-1f1ef","native":"ð©ð¯"}],"version":2},"flag-dk":{"id":"flag-dk","name":"Denmark Flag","keywords":["dk","nation","country","banner"],"skins":[{"unified":"1f1e9-1f1f0","native":"ð©ð°"}],"version":2},"flag-dm":{"id":"flag-dm","name":"Dominica Flag","keywords":["dm","nation","country","banner"],"skins":[{"unified":"1f1e9-1f1f2","native":"ð©ð²"}],"version":2},"flag-do":{"id":"flag-do","name":"Dominican Republic Flag","keywords":["do","nation","country","banner"],"skins":[{"unified":"1f1e9-1f1f4","native":"ð©ð´"}],"version":2},"flag-dz":{"id":"flag-dz","name":"Algeria Flag","keywords":["dz","nation","country","banner"],"skins":[{"unified":"1f1e9-1f1ff","native":"ð©ð¿"}],"version":2},"flag-ea":{"id":"flag-ea","name":"Ceuta & Melilla Flag","keywords":["ea"],"skins":[{"unified":"1f1ea-1f1e6","native":"ðªð¦"}],"version":2},"flag-ec":{"id":"flag-ec","name":"Ecuador Flag","keywords":["ec","nation","country","banner"],"skins":[{"unified":"1f1ea-1f1e8","native":"ðªð¨"}],"version":2},"flag-ee":{"id":"flag-ee","name":"Estonia Flag","keywords":["ee","nation","country","banner"],"skins":[{"unified":"1f1ea-1f1ea","native":"ðªðª"}],"version":2},"flag-eg":{"id":"flag-eg","name":"Egypt Flag","keywords":["eg","nation","country","banner"],"skins":[{"unified":"1f1ea-1f1ec","native":"ðªð¬"}],"version":2},"flag-eh":{"id":"flag-eh","name":"Western Sahara Flag","keywords":["eh","nation","country","banner"],"skins":[{"unified":"1f1ea-1f1ed","native":"ðªð"}],"version":2},"flag-er":{"id":"flag-er","name":"Eritrea Flag","keywords":["er","nation","country","banner"],"skins":[{"unified":"1f1ea-1f1f7","native":"ðªð·"}],"version":2},"es":{"id":"es","name":"Spain Flag","keywords":["es","nation","country","banner"],"skins":[{"unified":"1f1ea-1f1f8","native":"ðªð¸"}],"version":1},"flag-et":{"id":"flag-et","name":"Ethiopia Flag","keywords":["et","nation","country","banner"],"skins":[{"unified":"1f1ea-1f1f9","native":"ðªð¹"}],"version":2},"flag-eu":{"id":"flag-eu","name":"European Union Flag","keywords":["eu","banner"],"skins":[{"unified":"1f1ea-1f1fa","native":"ðªðº"}],"version":2},"flag-fi":{"id":"flag-fi","name":"Finland Flag","keywords":["fi","nation","country","banner"],"skins":[{"unified":"1f1eb-1f1ee","native":"ð«ð®"}],"version":2},"flag-fj":{"id":"flag-fj","name":"Fiji Flag","keywords":["fj","nation","country","banner"],"skins":[{"unified":"1f1eb-1f1ef","native":"ð«ð¯"}],"version":2},"flag-fk":{"id":"flag-fk","name":"Falkland Islands Flag","keywords":["fk","malvinas","nation","country","banner"],"skins":[{"unified":"1f1eb-1f1f0","native":"ð«ð°"}],"version":2},"flag-fm":{"id":"flag-fm","name":"Micronesia Flag","keywords":["fm","federated","states","nation","country","banner"],"skins":[{"unified":"1f1eb-1f1f2","native":"ð«ð²"}],"version":2},"flag-fo":{"id":"flag-fo","name":"Faroe Islands Flag","keywords":["fo","nation","country","banner"],"skins":[{"unified":"1f1eb-1f1f4","native":"ð«ð´"}],"version":2},"fr":{"id":"fr","name":"France Flag","keywords":["fr","banner","nation","french","country"],"skins":[{"unified":"1f1eb-1f1f7","native":"ð«ð·"}],"version":1},"flag-ga":{"id":"flag-ga","name":"Gabon Flag","keywords":["ga","
244nation","country","banner"],"skins":[{"unified":"1f1ec-1f1e6","native":"ð¬ð¦"}],"version":2},"gb":{"id":"gb","name":"United Kingdom Flag","keywords":["gb","uk","great","britain","northern","ireland","nation","country","banner","british","UK","english","england","union","jack"],"skins":[{"unified":"1f1ec-1f1e7","native":"ð¬ð§"}],"version":1},"flag-gd":{"id":"flag-gd","name":"Grenada Flag","keywords":["gd","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1e9","native":"ð¬ð©"}],"version":2},"flag-ge":{"id":"flag-ge","name":"Georgia Flag","keywords":["ge","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1ea","native":"ð¬ðª"}],"version":2},"flag-gf":{"id":"flag-gf","name":"French Guiana Flag","keywords":["gf","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1eb","native":"ð¬ð«"}],"version":2},"flag-gg":{"id":"flag-gg","name":"Guernsey Flag","keywords":["gg","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1ec","native":"ð¬ð¬"}],"version":2},"flag-gh":{"id":"flag-gh","name":"Ghana Flag","keywords":["gh","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1ed","native":"ð¬ð"}],"version":2},"flag-gi":{"id":"flag-gi","name":"Gibraltar Flag","keywords":["gi","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1ee","native":"ð¬ð®"}],"version":2},"flag-gl":{"id":"flag-gl","name":"Greenland Flag","keywords":["gl","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1f1","native":"ð¬ð±"}],"version":2},"flag-gm":{"id":"flag-gm","name":"Gambia Flag","keywords":["gm","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1f2","native":"ð¬ð²"}],"version":2},"flag-gn":{"id":"flag-gn","name":"Guinea Flag","keywords":["gn","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1f3","native":"ð¬ð³"}],"version":2},"flag-gp":{"id":"flag-gp","name":"Guadeloupe Flag","keywords":["gp","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1f5","native":"ð¬ðµ"}],"version":2},"flag-gq":{"id":"flag-gq","name":"Equatorial Guinea Flag","keywords":["gq","gn","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1f
2446","native":"ð¬ð¶"}],"version":2},"flag-gr":{"id":"flag-gr","name":"Greece Flag","keywords":["gr","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1f7","native":"ð¬ð·"}],"version":2},"flag-gs":{"id":"flag-gs","name":"South Georgia & South Sandwich Islands Flag","keywords":["gs","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1f8","native":"ð¬ð¸"}],"version":2},"flag-gt":{"id":"flag-gt","name":"Guatemala Flag","keywords":["gt","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1f9","native":"ð¬ð¹"}],"version":2},"flag-gu":{"id":"flag-gu","name":"Guam Flag","keywords":["gu","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1fa","native":"ð¬ðº"}],"version":2},"flag-gw":{"id":"flag-gw","name":"Guinea-Bissau Flag","keywords":["gw","guinea","bissau","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1fc","native":"ð¬ð¼"}],"version":2},"flag-gy":{"id":"flag-gy","name":"Guyana Flag","keywords":["gy","nation","country","banner"],"skins":[{"unified":"1f1ec-1f1fe","native":"ð¬ð¾"}],"version":2},"flag-hk":{"id":"flag-hk","name":"Hong Kong Sar China Flag","keywords":["hk","nation","country","banner"],"skins":[{"unified":"1f1ed-1f1f0","native":"ðð°"}],"version":2},"flag-hm":{"id":"flag-hm","name":"Heard & Mcdonald Islands Flag","keywords":["hm"],"skins":[{"unified":"1f1ed-1f1f2","native":"ðð²"}],"version":2},"flag-hn":{"id":"flag-hn","name":"Honduras Flag","keywords":["hn","nation","country","banner"],"skins":[{"unified":"1f1ed-1f1f3","native":"ðð³"}],"version":2},"flag-hr":{"id":"flag-hr","name":"Croatia Flag","keywords":["hr","nation","country","banner"],"skins":[{"unified":"1f1ed-1f1f7","native":"ðð·"}],"version":2},"flag-ht":{"id":"flag-ht","name":"Haiti Flag","keywords":["ht","nation","country","banner"],"skins":[{"unified":"1f1ed-1f1f9","native":"ðð¹"}],"version":2},"flag-hu":{"id":"flag-hu","name":"Hungary Flag","keywords":["hu","nation","country","banner"],"skins":[{"unified":"1f1ed-1f1fa","native":"ððº"}],"version":2},"flag-ic":{"id":"flag-ic","name":"Canary Islands Flag","keywords":["ic","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1e8","native":"ð®ð¨"}],"version":2},"flag-id":{"id":"flag-id","name":"Indonesia Flag","keywords":["id","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1e9","native":"ð®ð©"}],"version":2},"flag-ie":{"id":"flag-ie","name":"Ireland Flag","keywords":["ie","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1ea","native":"ð®ðª"}],"version":2},"flag-il":{"id":"flag-il","name":"Israel Flag","keywords":["il","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1f1","native":"ð®ð±"}],"version":2},"flag-im":{"id":"flag-im","name":"Isle of Man Flag","keywords":["im","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1f2","native":"ð®ð²"}],"version":2},"flag-in":{"id":"flag-in","name":"India Flag","keywords":["in","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1f3","native":"ð®ð³"}],"version":2},"flag-io":{"id":"flag-io","name":"British Indian Ocean Territory Flag","keywords":["io","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1f4","native":"ð®ð´"}],"version":2},"flag-iq":{"id":"flag-iq","name":"Iraq Flag","keywords":["iq","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1f6","native":"ð®ð¶"}],"version":2},"flag-ir":{"id":"flag-ir","name":"Iran Flag","keywords":["ir","islamic","republic","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1f7","native":"ð®ð·"}],"version":2},"flag-is":{"id":"flag-is","name":"Iceland Flag","keywords":["is","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1f8","native":"ð®ð¸"}],"version":2},"it":{"id":"it","name":"Italy Flag","keywords":["it","nation","country","banner"],"skins":[{"unified":"1f1ee-1f1f9","native":"ð®ð¹"}],"version":1},"flag-je":{"id":"flag-je","name":"Jersey Flag","keywords":["je","nation","country","banner"],"skins":[{"unified":"1f1ef-1f1ea","native":"ð¯ðª"}],"version":2},"flag-jm":{"id":"flag-jm","name":"Jamaica Flag","keywords":["jm","nation","country","banner"],"skins":[{"unified":"1f1ef-1f1f2","native":"ð¯ð²"}],"version":2},"flag-jo":{"id":"flag-jo","name":"Jordan Flag","keywords":["jo","nation","country","banner"],"skins":[{"unified":"1f1ef-1f1f4","native":"ð¯ð´"}],"version":2},"jp":{"id":"jp","name":"Japan Flag","keywords":["jp","japanese","nation","country","banner","ja"],"skins":[{"unified":"1f1ef-1f1f5","native":"ð¯ðµ"}],"version":1},"flag-ke":{"id":"flag-ke","name":"Kenya Flag","keywords":["ke","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1ea","native":"ð°ðª"}],"version":2},"flag-kg":{"id":"flag-kg","name":"Kyrgyzstan Flag","keywords":["kg","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1ec","native":"ð°ð¬"}],"version":2},"flag-kh":{"id":"flag-kh","name":"Cambodia Flag","keywords":["kh","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1ed","native":"ð°ð"}],"version":2},"flag-ki":{"id":"flag-ki","name":"Kiribati Flag","keywords":["ki","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1ee","native":"ð°ð®"}],"version":2},"flag-km":{"id":"flag-km","name":"Comoros Flag","keywords":["km","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1f2","native":"ð°ð²"}],"version":2},"flag-kn":{"id":"flag-kn","name":"St. Kitts & Nevis Flag","keywords":["kn","st","saint","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1f3","native":"ð°ð³"}],"version":2},"flag-kp":{"id":"flag-kp","name":"North Korea Flag","keywords":["kp","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1f5","native":"ð°ðµ"}],"version":2},"kr":{"id":"kr","name":"South Korea Flag","keywords":["kr","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1f7","native":"ð°ð·"}],"version":1},"flag-kw":{"id":"flag-kw","name":"Kuwait Flag","keywords":["kw","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1fc","native":"ð°ð¼"}],"version":2},"flag-ky":{"id":"flag-ky","name":"Cayman Islands Flag","keywords":["ky","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1fe","native":"ð°ð¾"}],"version":2},"flag-kz":{"id":"flag-kz","name":"Kazakhstan Flag","keywords":["kz","nation","country","banner"],"skins":[{"unified":"1f1f0-1f1ff","native":"ð°ð¿"}],"version":2},"flag-la":{"id":"flag-la","name":"Laos Flag","keywords":["la","lao","democratic","republic","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1e6","native":"ð±ð¦"}],"version":2},"flag-lb":{"id":"flag-lb","name":"Lebanon Flag","keywords":["lb","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1e7","native":"ð±ð§"}],"version":2},"flag-lc":{"id":"flag-lc","name":"St. Lucia Flag","keywords":["lc","st","saint","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1e8","native":"ð±ð¨"}],"version":2},"flag-li":{"id":"flag-li","name":"Liechtenstein Flag","keywords":["li","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1ee","native":"ð±ð®"}],"version":2},"flag-lk":{"id":"flag-lk","name":"Sri Lanka Flag","keywords":["lk","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1f0","native":"ð±ð°"}],"version":2},"flag-lr":{"id":"flag-lr","name":"Liberia Flag","keywords":["lr","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1f7","native":"ð±ð·"}],"version":2},"flag-ls":{"id":"flag-ls","name":"Lesotho Flag","keywords":["ls","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1f8","native":"ð±ð¸"}],"version":2},"flag-lt":{"id":"flag-lt","name":"Lithuania Flag","keywords":["lt","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1f9","native":"ð±ð¹"}],"version":2},"flag-lu":{"id":"flag-lu","name":"Luxembourg Flag","keywords":["lu","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1fa","native":"ð±ðº"}],"version":2},"flag-lv":{"id":"flag-lv","name":"Latvia Flag","keywords":["lv","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1fb","native":"ð±ð»"}],"version":2},"flag-ly":{"id":"flag-ly","name":"Libya Flag","keywords":["ly","nation","country","banner"],"skins":[{"unified":"1f1f1-1f1fe","native":"ð±ð¾"}],"version":2},"flag-ma":{"id":"flag-ma","name":"Morocco Flag","keywords":["ma","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1e6","native":"ð²ð¦"}],"version":2},"flag-mc":{"id":"flag-mc","name":"Monaco Flag","keywords":["mc","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1e8","native":"ð²ð¨"}],"version":2},"flag-md":{"id":"flag-md","name":"Moldova Flag","keywords":["md","republic","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1e9","native":"ð²ð©"}],"version":2},"flag-me":{"id":"flag-me","name":"Montenegro Flag","keywords":["me","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1ea","native":"ð²ðª"}],"version":2},"flag-mf":{"id":"flag-mf","name":"St. Martin Flag","keywords":["mf","st"],"skins":[{"unified":"1f1f2-1f1eb","native":"ð²ð«"}],"version":2},"flag-mg":{"id":"flag-mg","name":"Madagascar Flag","keywords":["mg","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1ec","native":"ð²ð¬"}],"version":2},"flag-mh":{"id":"flag-mh","name":"Marshall Islands Flag","keywords":["mh","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1ed","native":"ð²ð"}],"version":2},"flag-mk":{"id":"flag-mk","name":"North Macedonia Flag","keywords":["mk","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f0","native":"ð²ð°"}],"version":2},"flag-ml":{"id":"flag-ml","name":"Mali Flag","keywords":["ml","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f1","native":"ð²ð±"}],"version":2},"flag-mm":{"id":"flag-mm","name":"Myanmar (burma) Flag","keywords":["mm","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f2","native":"ð²ð²"}],"version":2},"flag-mn":{"id":"flag-mn","name":"Mongolia Flag","keywords":["mn","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f3","native":"ð²ð³"}],"version":2},"flag-mo":{"id":"flag-mo","name":"Macao Sar China Flag","keywords":["mo","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f4","native":"ð²ð´"}],"version":2},"flag-mp":{"id":"flag-mp","name":"Northern Mariana Islands Flag","keywords":["mp","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f5","native":"ð²ðµ"}],"version":2}
244,"flag-mq":{"id":"flag-mq","name":"Martinique Flag","keywords":["mq","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f6","native":"ð²ð¶"}],"version":2},"flag-mr":{"id":"flag-mr","name":"Mauritania Flag","keywords":["mr","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f7","native":"ð²ð·"}],"version":2},"flag-ms":{"id":"flag-ms","name":"Montserrat Flag","keywords":["ms","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f8","native":"ð²ð¸"}],"version":2},"flag-mt":{"id":"flag-mt","name":"Malta Flag","keywords":["mt","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1f9","native":"ð²ð¹"}],"version":2},"flag-mu":{"id":"flag-mu","name":"Mauritius Flag","keywords":["mu","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1fa","native":"ð²ðº"}],"version":2},"flag-mv":{"id":"flag-mv","name":"Maldives Flag","keywords":["mv","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1fb","native":"ð²ð»"}],"version":2},"flag-mw":{"id":"flag-mw","name":"Malawi Flag","keywords":["mw","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1fc","native":"ð²ð¼"}],"version":2},"flag-mx":{"id":"flag-mx","name":"Mexico Flag","keywords":["mx","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1fd","native":"ð²ð½"}],"version":2},"flag-my":{"id":"flag-my","name":"Malaysia Flag","keywords":["my","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1fe","native":"ð²ð¾"}],"version":2},"flag-mz":{"id":"flag-mz","name":"Mozambique Flag","keywords":["mz","nation","country","banner"],"skins":[{"unified":"1f1f2-1f1ff","native":"ð²ð¿"}],"version":2},"flag-na":{"id":"flag-na","name":"Namibia Flag","keywords":["na","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1e6","native":"ð³ð¦"}],"version":2},"flag-nc":{"id":"flag-nc","name":"New Caledonia Flag","keywords":["nc","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1e8","native":"ð³ð¨"}],"version":2},"flag-ne":{"id":"flag-ne","name":"Niger Flag","keywords":["ne","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1ea","native":"ð³ðª"}],"version":2},"flag-nf":{"id":"flag-nf","name":"Norfolk Island Flag","keywords":["nf","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1eb","native":"ð³ð«"}],"version":2},"flag-ng":{"id":"flag-ng","name":"Nigeria Flag","keywords":["ng","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1ec","native":"ð³ð¬"}],"version":2},"flag-ni":{"id":"flag-ni","name":"Nicaragua Flag","keywords":["ni","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1ee","native":"ð³ð®"}],"version":2},"flag-nl":{"id":"flag-nl","name":"Netherlands Flag","keywords":["nl","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1f1","native":"ð³ð±"}],"version":2},"flag-no":{"id":"flag-no","name":"Norway Flag","keywords":["no","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1f4","native":"ð³ð´"}],"version":2},"flag-np":{"id":"flag-np","name":"Nepal Flag","keywords":["np","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1f5","native":"ð³ðµ"}],"version":2},"flag-nr":{"id":"flag-nr","name":"Nauru Flag","keywords":["nr","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1f7","native":"ð³ð·"}],"version":2},"flag-nu":{"id":"flag-nu","name":"Niue Flag","keywords":["nu","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1fa","native":"ð³ðº"}],"version":2},"flag-nz":{"id":"flag-nz","name":"New Zealand Flag","keywords":["nz","nation","country","banner"],"skins":[{"unified":"1f1f3-1f1ff","native":"ð³ð¿"}],"version":2},"flag-om":{"id":"flag-om","name":"Oman Flag","keywords":["om","symbol","nation","country","banner"],"skins":[{"unified":"1f1f4-1f1f2","native":"ð´ð²"}],"version":2},"flag-pa":{"id":"flag-pa","name":"Panama Flag","keywords":["pa","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1e6","native":"ðµð¦"}],"version":2},"flag-pe":{"id":"flag-pe","name":"Peru Flag","keywords":["pe","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1ea","native":"ðµðª"}],"version":2},"flag-pf":{"id":"flag-pf","name":"French Polynesia Flag","keywords":["pf","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1eb","native":"ðµð«"}],"version":2},"flag-pg":{"id":"flag-pg","name":"Papua New Guinea Flag","keywords":["pg","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1ec","native":"ðµð¬"}],"version":2},"flag-ph":{"id":"flag-ph","name":"Philippines Flag","keywords":["ph","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1ed","native":"ðµð"}],"version":2}
244,"flag-pk":{"id":"flag-pk","name":"Pakistan Flag","keywords":["pk","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1f0","native":"ðµð°"}],"version":2},"flag-pl":{"id":"flag-pl","name":"Poland Flag","keywords":["pl","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1f1","native":"ðµð±"}],"version":2},"flag-pm":{"id":"flag-pm","name":"St. Pierre & Miquelon Flag","keywords":["pm","st","saint","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1f2","native":"ðµð²"}],"version":2},"flag-pn":{"id":"flag-pn","name":"Pitcairn Islands Flag","keywords":["pn","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1f3","native":"ðµð³"}],"version":2},"flag-pr":{"id":"flag-pr","name":"Puerto Rico Flag","keywords":["pr","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1f7","native":"ðµð·"}],"version":2},"flag-ps":{"id":"flag-ps","name":"Palestinian Territories Flag","keywords":["ps","palestine","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1f8","native":"ðµð¸"}],"version":2},"flag-pt":{"id":"flag-pt","name":"Portugal Flag","keywords":["pt","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1f9","native":"ðµð¹"}],"version":2},"flag-pw":{"id":"flag-pw","name":"Palau Flag","keywords":["pw","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1fc","native":"ðµð¼"}],"version":2},"flag-py":{"id":"flag-py","name":"Paraguay Flag","keywords":["py","nation","country","banner"],"skins":[{"unified":"1f1f5-1f1fe","native":"ðµð¾"}],"version":2}
244,"flag-qa":{"id":"flag-qa","name":"Qatar Flag","keywords":["qa","nation","country","banner"],"skins":[{"unified":"1f1f6-1f1e6","native":"ð¶ð¦"}],"version":2},"flag-re":{"id":"flag-re","name":"Réunion Flag","keywords":["re","reunion","nation","country","banner"],"skins":[{"unified":"1f1f7-1f1ea","native":"ð·ðª"}],"version":2},"flag-ro":{"id":"flag-ro","name":"Romania Flag","keywords":["ro","nation","country","banner"],"skins":[{"unified":"1f1f7-1f1f4","native":"ð·ð´"}],"version":2},"flag-rs":{"id":"flag-rs","name":"Serbia Flag","keywords":["rs","nation","country","banner"],"skins":[{"unified":"1f1f7-1f1f8","native":"ð·ð¸"}],"version":2},"ru":{"id":"ru","name":"Russia Flag","keywords":["ru","russian","federation","nation","country","banner"],"skins":[{"unified":"1f1f7-1f1fa","native":"ð·ðº"}],"version":1},"flag-rw":{"id":"flag-rw","name":"Rwanda Flag","keywords":["rw","nation","country","banner"],"skins":[{"unified":"1f1f7-1f1fc","native":"ð·ð¼"}],"version":2},"flag-sa":{"id":"flag-sa","name":"Saudi Arabia Flag","keywords":["sa","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1e6","native":"ð¸ð¦"}],"version":2},"flag-sb":{"id":"flag-sb","name":"Solomon Islands Flag","keywords":["sb","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1e7","native":"ð¸ð§"}],"version":2},"flag-sc":{"id":"flag-sc","name":"Seychelles Flag","keywords":["sc","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1e8","native":"ð¸ð¨"}],"version":2},"flag-sd":{"id":"flag-sd","name":"Sudan Flag","keywords":["sd","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1e9","native":"ð¸ð©"}],"version":2},"flag-se":{"id":"flag-se","name":"Sweden Flag","keywords":["se","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1ea","native":"ð¸ðª"}],"version":2},"flag-sg":{"id":"flag-sg","name":"Singapore Flag","keywords":["sg","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1ec","native":"ð¸ð¬"}],"version":2},"flag-sh":{"id":"flag-sh","name":"St. Helena Flag","keywords":["sh","st","saint","ascension","tristan","cunha","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1ed","native":"ð¸ð"}],"version":2},"flag-si":{"id":"flag-si","name":"Slovenia Flag","keywords":["si","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1ee","native":"ð¸ð®"}],"version":2},"flag-sj":{"id":"flag-sj","name":"Svalbard & Jan Mayen Flag","keywords":["sj"],"skins":[{"unified":"1f1f8-1f1ef","native":"ð¸ð¯"}],"version":2},"flag-sk":{"id":"flag-sk","name":"Slovakia Flag","keywords":["sk","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1f0","native":"ð¸ð°"}],"version":2},"flag-sl":{"id":"flag-sl","name":"Sierra Leone Flag","keywords":["sl","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1f1","native":"ð¸ð±"}],"version":2},"flag-sm":{"id":"flag-sm","name":"San Marino Flag","keywords":["sm","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1f2","native":"ð¸ð²"}],"version":2},"flag-sn":{"id":"flag-sn","name":"Senegal Flag","keywords":["sn","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1f3","native":"ð¸ð³"}],"version":2},"flag-so":{"id":"flag-so","name":"Somalia Flag","keywords":["so","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1f4","native":"ð¸ð´"}],"version":2},"flag-sr":{"id":"flag-sr","name":"Suriname Flag","keywords":["sr","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1f7","native":"ð¸ð·"}],"version":2},"flag-ss":{"id":"flag-ss","name":"South Sudan Flag","keywords":["ss","sd","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1f8","native":"ð¸ð¸"}],"version":2},"flag-st":{"id":"flag-st","name":"São Tomé & PrÃncipe Flag","keywords":["st","sao","tome","principe","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1f9","native":"ð¸ð¹"}],"version":2},"flag-sv":{"id":"flag-sv","name":"El Salvador Flag","keywords":["sv","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1fb","native":"ð¸ð»"}],"version":2},"flag-sx":{"id":"flag-sx","name":"Sint Maarten Flag","keywords":["sx","dutch","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1fd","native":"ð¸ð½"}],"version":2},"flag-sy":{"id":"flag-sy","name":"Syria Flag","keywords":["sy","syrian","arab","republic","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1fe","native":"ð¸ð¾"}],"version":2}
244,"flag-sz":{"id":"flag-sz","name":"Eswatini Flag","keywords":["sz","nation","country","banner"],"skins":[{"unified":"1f1f8-1f1ff","native":"ð¸ð¿"}],"version":2},"flag-ta":{"id":"flag-ta","name":"Tristan Da Cunha Flag","keywords":["ta"],"skins":[{"unified":"1f1f9-1f1e6","native":"ð¹ð¦"}],"version":2},"flag-tc":{"id":"flag-tc","name":"Turks & Caicos Islands Flag","keywords":["tc","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1e8","native":"ð¹ð¨"}],"version":2},"flag-td":{"id":"flag-td","name":"Chad Flag","keywords":["td","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1e9","native":"ð¹ð©"}],"version":2},"flag-tf":{"id":"flag-tf","name":"French Southern Territories Flag","keywords":["tf","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1eb","native":"ð¹ð«"}],"version":2},"flag-tg":{"id":"flag-tg","name":"Togo Flag","keywords":["tg","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1ec","native":"ð¹ð¬"}],"version":2},"flag-th":{"id":"flag-th","name":"Thailand Flag","keywords":["th","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1ed","native":"ð¹ð"}],"version":2},"flag-tj":{"id":"flag-tj","name":"Tajikistan Flag","keywords":["tj","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1ef","native":"ð¹ð¯"}],"version":2},"flag-tk":{"id":"flag-tk","name":"Tokelau Flag","keywords":["tk","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1f0","native":"ð¹ð°"}],"version":2},"flag-tl":{"id":"flag-tl","name":"Timor-Leste Flag","keywords":["tl","timor","leste","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1f1","native":"ð¹ð±"}],"version":2},"flag-tm":{"id":"flag-tm","name":"Turkmenistan Flag","keywords":["tm","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1f2","native":"ð¹ð²"}],"version":2},"flag-tn":{"id":"flag-tn","name":"Tunisia Flag","keywords":["tn","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1f3","native":"ð¹ð³"}],"version":2},"flag-to":{"id":"flag-to","name":"Tonga Flag","keywords":["to","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1f4","native":"ð¹ð´"}],"version":2},"flag-tr":{"id":"flag-tr","name":"Turkey Flag","keywords":["tr","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1f7","native":"ð¹ð·"}],"version":2},"flag-tt":{"id":"flag-tt","name":"Trinidad & Tobago Flag","keywords":["tt","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1f9","native":"ð¹ð¹"}],"version":2},"flag-tv":{"id":"flag-tv","name":"Tuvalu Flag","keywords":["tv","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1fb","native":"ð¹ð»"}],"version":2},"flag-tw":{"id":"flag-tw","name":"Taiwan Flag","keywords":["tw","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1fc","native":"ð¹ð¼"}],"version":2},"flag-tz":{"id":"flag-tz","name":"Tanzania Flag","keywords":["tz","united","republic","nation","country","banner"],"skins":[{"unified":"1f1f9-1f1ff","native":"ð¹ð¿"}],"version":2},"flag-ua":{"id":"flag-ua","name":"Ukraine Flag","keywords":["ua","nation","country","banner"],"skins":[{"unified":"1f1fa-1f1e6","native":"ðºð¦"}],"version":2},"flag-ug":{"id":"flag-ug","name":"Uganda Flag","keywords":["ug","nation","country","banner"],"skins":[{"unified":"1f1fa-1f1ec","native":"ðºð¬"}],"version":2},"flag-um":{"id":"flag-um","name":"U.s. Outlying Islands Flag","keywords":["um","u","s"],"skins":[{"unified":"1f1fa-1f1f2","native":"ðºð²"}],"version":2},"flag-un":{"id":"flag-un","name":"United Nations Flag","keywords":["un","banner"],"skins":[{"unified":"1f1fa-1f1f3","native":"ðºð³"}],"version":4},"us":{"id":"us","name":"United States Flag","keywords":["us","america","nation","country","banner"],"skins":[{"unified":"1f1fa-1f1f8","native":"ðºð¸"}],"version":1},"flag-uy":{"id":"flag-uy","name":"Uruguay Flag","keywords":["uy","nation","country","banner"],"skins":[{"unified":"1f1fa-1f1fe","native":"ðºð¾"}],"version":2},"flag-uz":{"id":"flag-uz","name":"Uzbekistan Flag","keywords":["uz","nation","country","banner"],"skins":[{"unified":"1f1fa-1f1ff","native":"ðºð¿"}],"version":2},"flag-va":{"id":"flag-va","name":"Vatican City Flag","keywords":["va","nation","country","banner"],"skins":[{"unified":"1f1fb-1f1e6","native":"ð»ð¦"}],"version":2},"flag-vc":{"id":"flag-vc","name":"St. Vincent & Grenadines Flag","keywords":["vc","st","saint","nation","country","banner"],"skins":[{"unified":"1f1fb-1f1e8","native":"ð»ð¨"}],"version":2},"flag-ve":{"id":"flag-ve","name":"Venezuela Flag","keywords":["ve","bolivarian","republic","nation","country","banner"],"skins":[{"unified":"1f1fb-1f1ea","native":"ð»ðª"}],"version":2},"flag-vg":{"id":"flag-vg","name":"British Virgin Islands Flag","keywords":["vg","bvi","nation","country","banner"],"skins":[{"unified":"1f1fb-1f1ec","native":"ð»ð¬"}],"version":2},"flag-vi":{"id":"flag-vi","name":"U.s. Virgin Islands Flag","keywords":["vi","u","s","us","nation","country","banner"],"skins":[{"unified":"1f1fb-1f1ee","native":"ð»ð®"}],"version":2},"flag-vn":{"id":"flag-vn","name":"Vietnam Flag","keywords":["vn","viet","nam","nation","country","banner"],"skins":[{"unified":"1f1fb-1f1f3","native":"ð»ð³"}],"version":2},"flag-vu":{"id":"flag-vu","name":"Vanuatu Flag","keywords":["vu","nation","country","banner"],"skins":[{"unified":"1f1fb-1f1fa","native":"ð»ðº"}],"version":2}
244,"flag-wf":{"id":"flag-wf","name":"Wallis & Futuna Flag","keywords":["wf","nation","country","banner"],"skins":[{"unified":"1f1fc-1f1eb","native":"ð¼ð«"}],"version":2},"flag-ws":{"id":"flag-ws","name":"Samoa Flag","keywords":["ws","nation","country","banner"],"skins":[{"unified":"1f1fc-1f1f8","native":"ð¼ð¸"}],"version":2},"flag-xk":{"id":"flag-xk","name":"Kosovo Flag","keywords":["xk","nation","country","banner"],"skins":[{"unified":"1f1fd-1f1f0","native":"ð½ð°"}],"version":2},"flag-ye":{"id":"flag-ye","name":"Yemen Flag","keywords":["ye","nation","country","banner"],"skins":[{"unified":"1f1fe-1f1ea","native":"ð¾ðª"}],"version":2},"flag-yt":{"id":"flag-yt","name":"Mayotte Flag","keywords":["yt","nation","country","banner"],"skins":[{"unified":"1f1fe-1f1f9","native":"ð¾ð¹"}],"version":2},"flag-za":{"id":"flag-za","name":"South Africa Flag","keywords":["za","nation","country","banner"],"skins":[{"unified":"1f1ff-1f1e6","native":"ð¿ð¦"}],"version":2},"flag-zm":{"id":"flag-zm","name":"Zambia Flag","keywords":["zm","nation","country","banner"],"skins":[{"unified":"1f1ff-1f1f2","native":"ð¿ð²"}],"version":2},"flag-zw":{"id":"flag-zw","name":"Zimbabwe Flag","keywords":["zw","nation","country","banner"],"skins":[{"unified":"1f1ff-1f1fc","native":"ð¿ð¼"}],"version":2},"flag-england":{"id":"flag-england","name":"England Flag","keywords":["english"],"skins":[{"unified":"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f","native":"ð´ó §ó ¢ó ¥ó ®ó §ó ¿"}],"version":5},"flag-scotland":{"id":"flag-scotland","name":"Scotland Flag","keywords":["scottish"],"skins":[{"unified":"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f","native":"ð´ó §ó ¢ó ³ó £ó ´ó ¿"}],"version":5},"flag-wales":{"id":"flag-wales","name":"Wales Flag","keywords":["welsh"],"skins":[{"unified":"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f","native":"ð´ó §ó ¢ó ·ó ¬ó ³ó ¿"}],"version":5}}`),f7={satisfied:"laughing",grinning_face_with_star_eyes:"star-struck",grinning_face_with_one_large_and_one_small_eye:"zany_face",smiling_face_with_smiling_eyes_and_hand_covering_mouth:"face_with_hand_over_mouth",face_with_finger_covering_closed_lips:"shushing_face",face_with_one_eyebrow_raised:"face_with_raised_eyebrow",face_with_open_mouth_vomiting:"face_vomiting",shocked_face_with_exploding_head:"exploding_head",serious_face_with_symbols_covering_mouth:"face_with_symbols_on_mouth",poop:"hankey",shit:"hankey",collision:"boom",raised_hand:"hand",hand_with_index_and_middle_fingers_crossed:"crossed_fingers",sign_of_the_horns:"the_horns",reversed_hand_with_middle_finger_extended:"middle_finger",thumbsup:"+1",thumbsdown:"-1",punch:"facepunch",mother_christmas:"mrs_claus",running:"runner","man-with-bunny-ears-partying":"men-with-bunny-ears-partying","woman-with-bunny-ears-partying":"women-with-bunny-ears-partying",women_holding_hands:"two_women_holding_hands",woman_and_man_holding_hands:"man_and_woman_holding_hands",couple:"man_and_woman_holding_hands",men_holding_hands:"two_men_holding_hands",paw_prints:"feet",flipper:"dolphin",honeybee:"bee",lady_beetle:"ladybug",cooking:"fried_egg",knife:"hocho",red_car:"car",sailboat:"boat",waxing_gibbous_moon:"moon",sun_small_cloud:"mostly_sunny",sun_behind_cloud:"barely_sunny",sun_behind_rain_cloud:"partly_sunny_rain",lightning_cloud:"lightning",tornado_cloud:"tornado",tshirt:"shirt",shoe:"mans_shoe",telephone:"phone",lantern:"izakaya_lantern",open_book:"book",envelope:"email",pencil:"memo",heavy_exclamation_mark:"exclamation",staff_of_aesculapius:"medical_symbol","flag-cn":"cn","flag-de":"de","flag-es":"es","flag-fr":"fr",uk:"gb","flag-gb":"gb","flag-it":"it","flag-jp":"jp","flag-kr":"kr","flag-ru":"ru","flag-us":"us"},c7={cols:61,rows:61},u7={categories:l7,emojis:d7,aliases:f7,sheet:c7};function Oy(t){return t&&t.__esModule?t.default:t}function hn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xd,we,Py,Co,zy,O1,Vl={},Hy=[],h7=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Mi(t,e){for(var n in e)t[n]=e[n];return t}function Wy(t){var e=t.parentNode;e&&e.removeChild(t)}function Pc(t,e,n){var i,r,s,o={};for(s in e)s=="key"?i=e[s]:s=="ref"?r=e[s]:o[s]=e[s];if(arguments.length>2&&(o.children=arguments.length>3?xd.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(s in t.defaultProps)o[s]===void 0&&(o[s]=t.defaultProps[s]);return Va(t,o,i,r,null)}function Va(t,e,n,i,r){var s={type:t,props:e,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:r??++Py};return r==null&&we.vnode!=null&&we.vnode(s),s}function ei(){return{current:null}}function bs(t){return t.children}function $n(t,e){this.props=t,this.context=e}function ys(t,e){if(e==null)return t.__?ys(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?ys(t):null}function $y(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return $y(t)}}function P1(t){(!t.__d&&(t.__d=!0)&&Co.push(t)&&!Gl.__r++||O1!==we.debounceRendering)&&((O1=we.debounceRendering)||zy)(Gl)}function Gl(){for(var t;Gl.__r=Co.length;)t=Co.sort(function(e,n){return e.__v.__b-n.__v.__b}),Co=[],t.some(function(e){var n,i,r,s,o,a;e.__d&&(o=(s=(n=e).__v).__e,(a=n.__P)&&(i=[],(r=Mi({},s)).__v=s.__v+1,ph(a,s,r,n.__n,a.ownerSVGElement!==void 0,s.__h!=null?[o]:null,i,o??ys(s),s.__h),Jy(i,s),s.__e!=o&&$y(s)))})}function Vy(t,e,n,i,r,s,o,a,l,f){var c,u,h,m,p,g,v,b=i&&i.__k||Hy,w=b.length;
vendor: 1,230 bytes, line 244
244for(n.__k=[],c=0;c<e.length;c++)if((m=n.__k[c]=(m=e[c])==null||typeof m=="boolean"?null:typeof m=="string"||typeof m=="number"||typeof m=="bigint"?Va(null,m,null,null,m):Array.isArray(m)?Va(bs,{children:m},null,null,null):m.__b>0?Va(m.type,m.props,m.key,null,m.__v):m)!=null){if(m.__=n,m.__b=n.__b+1,(h=b[c])===null||h&&m.key==h.key&&m.type===h.type)b[c]=void 0;else for(u=0;u<w;u++){if((h=b[u])&&m.key==h.key&&m.type===h.type){b[u]=void 0;break}h=null}ph(t,m,h=h||Vl,r,s,o,a,l,f),p=m.__e,(u=m.ref)&&h.ref!=u&&(v||(v=[]),h.ref&&v.push(h.ref,null,m),v.push(u,m.__c||p,m)),p!=null?(g==null&&(g=p),typeof m.type=="function"&&m.__k===h.__k?m.__d=l=Gy(m,l,t):l=Ky(t,m,h,b,p,l),typeof n.type=="function"&&(n.__d=l)):l&&h.__e==l&&l.parentNode!=t&&(l=ys(h))}for(n.__e=g,c=w;c--;)b[c]!=null&&(typeof n.type=="function"&&b[c].__e!=null&&b[c].__e==n.__d&&(n.__d=ys(i,c+1)),Qy(b[c],b[c]));if(v)for(c=0;c<v.length;c++)Uy(v[c],v[++c],v[++c])}function Gy(t,e,n){for(var i,r=t.__k,s=0;r&&s<r.length;s++)(i=r[s])&&(i.__=t,e=typeof i.type=="function"?Gy(i,e,n):Ky(n,i,i,r,i.__e,e));return e}function Kl(t,e){return e=e||[],t==null||typeof t=="boolean"||(Array.isArray(t)?t.some(function(n){Kl(n,e)}):e.push(t)),e}function Ky(t,e,n,i,r,s){var o,a,l;
vendor: 5,393 bytes, line 244
244if(e.__d!==void 0)o=e.__d,e.__d=void 0;else if(n==null||r!=s||r.parentNode==null)e:if(s==null||s.parentNode!==t)t.appendChild(r),o=null;else{for(a=s,l=0;(a=a.nextSibling)&&l<i.length;l+=2)if(a==r)break e;t.insertBefore(r,s),o=s}return o!==void 0?o:r.nextSibling}function p7(t,e,n,i,r){var s;for(s in n)s==="children"||s==="key"||s in e||Jl(t,s,null,n[s],i);for(s in e)r&&typeof e[s]!="function"||s==="children"||s==="key"||s==="value"||s==="checked"||n[s]===e[s]||Jl(t,s,e[s],n[s],i)}function z1(t,e,n){e[0]==="-"?t.setProperty(e,n):t[e]=n==null?"":typeof n!="number"||h7.test(e)?n:n+"px"}function Jl(t,e,n,i,r){var s;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof i=="string"&&(t.style.cssText=i=""),i)for(e in i)n&&e in n||z1(t.style,e,"");if(n)for(e in n)i&&n[e]===i[e]||z1(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")s=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+s]=n,n?i||t.addEventListener(e,s?W1:H1,s):t.removeEventListener(e,s?W1:H1,s);else if(e!=="dangerouslySetInnerHTML"){if(r)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n!=null&&(n!==!1||e[0]==="a"&&e[1]==="r")?t.setAttribute(e,n):t.removeAttribute(e))}}function H1(t){this.l[t.type+!1](we.event?we.event(t):t)}function W1(t){this.l[t.type+!0](we.event?we.event(t):t)}function ph(t,e,n,i,r,s,o,a,l){var f,c,u,h,m,p,g,v,b,w,A,y=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,a=e.__e=n.__e,e.__h=null,s=[a]),(f=we.__b)&&f(e);try{e:if(typeof y=="function"){if(v=e.props,b=(f=y.contextType)&&i[f.__c],w=f?b?b.props.value:f.__:i,n.__c?g=(c=e.__c=n.__c).__=c.__E:("prototype"in y&&y.prototype.render?e.__c=c=new y(v,w):(e.__c=c=new $n(v,w),c.constructor=y,c.render=g7),b&&b.sub(c),c.props=v,c.state||(c.state={}),c.context=w,c.__n=i,u=c.__d=!0,c.__h=[]),c.__s==null&&(c.__s=c.state),y.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Mi({},c.__s)),Mi(c.__s,y.getDerivedStateFromProps(v,c.__s))),h=c.props,m=c.state,u)y.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(y.getDerivedStateFromProps==null&&v!==h&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,w),!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,w)===!1||e.__v===n.__v){c.props=v,c.state=c.__s,e.__v!==n.__v&&(c.__d=!1),c.__v=e,e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(x){x&&(x.__=e)}),c.__h.length&&o.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,w),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(h,m,p)})}c.context=w,c.props=v,c.state=c.__s,(f=we.__r)&&f(e),c.__d=!1,c.__v=e,c.__P=t,f=c.render(c.props,c.state,c.context),c.state=c.__s,c.getChildContext!=null&&(i=Mi(Mi({},i),c.getChildContext())),u||c.getSnapshotBeforeUpdate==null||(p=c.getSnapshotBeforeUpdate(h,m)),A=f!=null&&f.type===bs&&f.key==null?f.props.children:f,Vy(t,Array.isArray(A)?A:[A],e,n,i,r,s,o,a,l),c.base=e.__e,e.__h=null,c.__h.length&&o.push(c),g&&(c.__E=c.__=null),c.__e=!1}else s==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=m7(n.__e,e,n,i,r,s,o,l);(f=we.diffed)&&f(e)}catch(x){e.__v=null,(l||s!=null)&&(e.__e=a,e.__h=!!l,s[s.indexOf(a)]=null),we.__e(x,e,n)}}function Jy(t,e){we.__c&&we.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(i){i.call(n)})}catch(i){we.__e(i,n.__v)}})}function m7(t,e,n,i,r,s,o,a){var l,f,c,u=n.props,h=e.props,m=e.type,p=0;if(m==="svg"&&(r=!0),s!=null){for(;p<s.length;p++)if((l=s[p])&&"setAttribute"in l==!!m&&(m?l.localName===m:l.nodeType===3)){t=l,s[p]=null;break}}if(t==null){if(m===null)return document.createTextNode(h);t=r?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,h.is&&h),s=null,a=!1}if(m===null)u===h||a&&t.data===h||(t.data=h);else{if(s=s&&xd.call(t.childNodes),f=(u=n.props||Vl).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!a){if(s!=null)for(u={},p=0;p<t.attributes.length;p++)u[t.attributes[p].name]=t.attributes[p].value;(c||f)&&(c&&(f&&c.__html==f.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(p7(t,h,u,r,a),c)e.__k=[];else if(p=e.props.children,Vy(t,Array.isArray(p)?p:[p],e,n,i,r&&m!=="foreignObject",s,o,s?s[0]:n.__k&&ys(n,0),a),s!=null)for(p=s.length;p--;)s[p]!=null&&Wy(s[p]);a||("value"in h&&(p=h.value)!==void 0&&(p!==u.value||p!==t.value||m==="progress"&&!p)&&Jl(t,"value",p,u.value,!1),"checked"in h&&(p=h.checked)!==void 0&&p!==t.checked&&Jl(t,"checked",p,u.checked,!1))}return t}function Uy(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(i){we.__e(i,n)}}function Qy(t,e,n){var i,r;if(we.unmount&&we.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||Uy(i,null,e)),(i=t.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(s){we.__e(s,e)}i.base=i.__P=null}if(i=t.__k)for(r=0;r<i.length;r++)i[r]&&Qy(i[r],e,typeof t.type!="function");n||t.__e==null||Wy(t.__e),t.__e=t.__d=void 0}function g7(t,e,n){return this.constructor(t,n)}function qy(t,e,n){var i,r,s;we.__&&we.__(t,e),r=(i=typeof n=="function")?null:n&&n.__k||e.__k,s=[],ph(e,t=(!i&&n||e).__k=Pc(bs,null,[t]),r||Vl,Vl,e.ownerSVGElement!==void 0,!i&&n?[n]:r?null:e.firstChild?xd.call(e.childNodes):null,
244s,!i&&n?n:r?r.__e:e.firstChild,i),Jy(s,t)}xd=Hy.slice,we={__e:function(t,e){for(var n,i,r;e=e.__;)if((n=e.__c)&&!n.__)try{if((i=n.constructor)&&i.getDerivedStateFromError!=null&&(n.setState(i.getDerivedStateFromError(t)),r=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(t),r=n.__d),r)return n.__E=n}catch(s){t=s}throw t}},Py=0,$n.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Mi({},this.state),typeof t=="function"&&(t=t(Mi({},n),this.props)),t&&Mi(n,t),t!=null&&this.__v&&(e&&this.__h.push(e),P1(this))},$n.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),P1(this))},$n.prototype.render=bs,Co=[],zy=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Gl.__r=0;var v7=0;function O(t,e,n,i,r){var s,o,a={};for(o in e)o=="ref"?s=e[o]:a[o]=e[o];var l={type:t,props:a,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--v7,__source:i,__self:r};if(typeof t=="function"&&(s=t.defaultProps))for(o in s)a[o]===void 0&&(a[o]=s[o]);return we.vnode&&we.vnode(l),l}function b7(t,e){try{window.localStorage[`emoji-mart.${t}`]=JSON.stringify(e)}catch{}}function y7(t){try{const e=window.localStorage[`emoji-mart.${t}`];if(e)return JSON.parse(e)}catch{}}var Pi={set:b7,get:y7};const If=new Map,k7=[{v:15,emoji:"ð«¨"},{v:14,emoji:"ð« "},{v:13.1,emoji:"ð¶âð«ï¸"},{v:13,emoji:"ð¥¸"},{v:12.1,emoji:"ð§âð¦°"},{v:12,emoji:"ð¥±"},{v:11,emoji:"ð¥°"},{v:5,emoji:"ð¤©"},{v:4,emoji:"ð±ââï¸"},{v:3,emoji:"ð¤£"},{v:2,emoji:"ðð»"},{v:1,emoji:"ð"}];function w7(){for(const{v:t,emoji:e}of k7)if(Yy(e))return t}function A7(){return!Yy("ð¨ð¦")}function Yy(t){if(If.has(t))return If.get(t);const e=x7(t);return If.set(t,e),e}const x7=(()=>{let t=null;try{navigator.userAgent.includes("jsdom")||(t=document.createElement("canvas").getContext("2d",{willReadFrequently:!0}))}catch{}if(!t)return()=>!1;const e=25,n=20,i=Math.floor(e/2);return t.font=i+"px Arial, Sans-Serif",t.textBaseline="top",t.canvas.width=n*2,t.canvas.height=e,r=>{t.clearRect(0,0,n*2,e),t.fillStyle="#FF0000",t.fillText(r,0,22),t.fillStyle="#0000FF",t.fillText(r,n,22);const s=t.getImageData(0,0,n,e).data,o=s.length;let a=0;for(;a<o&&!s[a+3];a+=4);if(a>=o)return!1;const l=n+a/4%n,f=Math.floor(a/4/n),c=t.getImageData(l,f,1,1).data;return!(s[a]!==c[0]||s[a+2]!==c[2]||t.measureText(r).width>=n)}})();var $1={latestVersion:w7,noCountryFlags:A7};const zc=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let It=null;function _7(t){It||(It=Pi.get("frequently")||{});const e=t.id||t;e&&(It[e]||(It[e]=0),It[e]+=1,Pi.set("last",e),Pi.set("frequently",It))}function C7({maxFrequentRows:t,perLine:e}){if(!t)return[];It||(It=Pi.get("frequently"));let n=[];if(!It){It={};for(let s in zc.slice(0,e)){const o=zc[s];It[o]=e-s,n.push(o)}return n}const i=t*e,r=Pi.get("last");for(let s in It)n.push(s);if(n.sort((s,o)=>{const a=It[o],l=It[s];return a==l?s.localeCompare(o):a-l}),n.length>i){const s=n.slice(i);n=n.slice(0,i);for(let o of s)o!=r&&delete It[o];r&&n.indexOf(r)==-1&&(delete It[n[n.length-1]],n.splice(-1,1,r)),Pi.set("frequently",It)}return n}var Zy={add:_7,get:C7,DEFAULTS:zc},Xy={};Xy=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldnât be found","pick":"Pick an emojiâ¦","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var di={autoFocus:{value:!1},dynamicWidth:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:15,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14,15]},exceptEmojis:{value:[]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","be","cs","de","es","fa","fi","fr","hi","it","ja","ko","nl","pl","pt","ru","sa","tr","uk","vi","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let Ft=null,Fe=null;const Bf={};async function V1(t){if(Bf[t])return Bf[t];const n=await(await fetch(t)).json();return Bf[t]=n,n}let Ef=null,ek=null,tk=!1;function _d(t,{caller:e}={}){return Ef||(Ef=new Promise(n=>{ek=n})),t?S7(t):e&&!tk&&console.warn(`\`${e}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),Ef}async function S7(t){tk=!0;let{emojiVersion:e,set:n,locale:i}=t;if(e||(e=di.emojiVersion.value),n||(n=di.set.value),i||(i=di.locale.value),Fe)Fe.categories=Fe.categories.filter(l=>!l.name);else{Fe=(typeof t.data=="function"?await t.data():t.data)||await V1(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${n}.json`),Fe.emoticons={},Fe.natives={},Fe.categories.unshift({id:"frequent",emojis:[]});for(const l in Fe.aliases){const f=Fe.aliases[l],c=Fe.emojis[f];c&&(c.aliases||(c.aliases=[]),c.aliases.push(l))}Fe.originalCategories=Fe.categories}if(Ft=(typeof t.i18n=="function"?await t.i18n():t.i18n)||(i=="en"?Oy(Xy):await V1(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${i}.json`)),t.custom)for(let l in t.custom){l=parseInt(l);const f=t.custom[l],c=t.custom[l-1];if(!(!f.emojis||!f.emojis.length)){f.id||(f.id=`custom_${l+1}`),f.name||(f.name=Ft.categories.custom),c&&!f.icon&&(f.target=c.target||c),Fe.categories.push(f);for(const u of f.emojis)Fe.emojis[u.id]=u}}t.categories&&(Fe.categories=Fe.originalCategories.filter(l=>t.categories.indexOf(l.id)!=-1).sort((l,f)=>{const c=t.categories.indexOf(l.id),u=t.categories.indexOf(f.id);return c-u}));let r=null,s=null;n=="native"&&(r=$1.latestVersion(),s=t.noCountryFlags||$1.noCountryFlags());let o=Fe.categories.length,a=!1;for(;o--;){const l=Fe.categories[o];if(l.id=="frequent"){let{maxFrequentRows:u,perLine:h}=t;u=u>=0?u:di.maxFrequentRows.value,h||(h=di.perLine.value),l.emojis=Zy.get({maxFrequentRows:u,perLine:h})}if(!l.emojis||!l.emojis.length){Fe.categories.splice(o,1);continue}const{categoryIcons:f}=t;if(f){const u=f[l.id];u&&!l.icon&&(l.icon=u)}let c=l.emojis.length;for(;c--;){const u=l.emojis[c],h=u.id?u:Fe.emojis[u],m=()=>{l.emojis.splice(c,1)};if(!h||t.exceptEmojis&&t.exceptEmojis.includes(h.id)){m();continue}if(r&&h.version>
244r){m();continue}if(s&&l.id=="flags"&&!M7.includes(h.id)){m();continue}if(!h.search){if(a=!0,h.search=","+[[h.id,!1],[h.name,!0],[h.keywords,!1],[h.emoticons,!1]].map(([g,v])=>{if(g)return(Array.isArray(g)?g:[g]).map(b=>(v?b.split(/[-|_|\s]+/):[b]).map(w=>w.toLowerCase())).flat()}).flat().filter(g=>g&&g.trim()).join(","),h.emoticons)for(const g of h.emoticons)Fe.emoticons[g]||(Fe.emoticons[g]=h.id);let p=0;for(const g of h.skins){if(!g)continue;p++;const{native:v}=g;v&&(Fe.natives[v]=h.id,h.search+=`,${v}`);const b=p==1?"":`:skin-tone-${p}:`;g.shortcodes=`:${h.id}:${b}`}}}}a&&is.reset(),ek()}function nk(t,e,n){t||(t={});const i={};for(let r in e)i[r]=ik(r,t,e,n);return i}function ik(t,e,n,i){const r=n[t];let s=i&&i.getAttribute(t)||(e[t]!=null&&e[t]!=null?e[t]:null);return r&&(s!=null&&r.value&&typeof r.value!=typeof s&&(typeof r.value=="boolean"?s=s!="false":s=r.value.constructor(s)),r.transform&&s&&(s=r.transform(s)),(s==null||r.choices&&r.choices.indexOf(s)==-1)&&(s=r.value)),s}const j7=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;let Hc=null;function I7(t){return t.id?t:Fe.emojis[t]||Fe.emojis[Fe.aliases[t]]||Fe.emojis[Fe.natives[t]]}function B7(){Hc=null}async function E7(t,{maxResults:e,caller:n}={}){if(!t||!t.trim().length)return null;e||(e=90),await _d(null,{caller:n||"SearchIndex.search"});const i=t.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((a,l,f)=>a.trim()&&f.indexOf(a)==l);if(!i.length)return;let r=Hc||(Hc=Object.values(Fe.emojis)),s,o;for(const a of i){if(!r.length)break;s=[],o={};for(const l of r){if(!l.search)continue;const f=l.search.indexOf(`,${a}`);f!=-1&&(s.push(l),o[l.id]||(o[l.id]=0),o[l.id]+=l.id==a?0:f+1)}r=s}return s.length<2||(s.sort((a,l)=>{const f=o[a.id],c=o[l.id];return f==c?a.id.localeCompare(l.id):f-c}),s.length>e&&(s=s.slice(0,e))),s}var is={search:E7,get:I7,reset:B7,SHORTCODES_REGEX:j7};const M7=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","
244waving_white_flag"];function T7(t,e){return Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every((n,i)=>n==e[i])}async function F7(t=1){for(let e in[...Array(t).keys()])await new Promise(requestAnimationFrame)}function D7(t,{skinIndex:e=0}={}){const n=t.skins[e]||(e=0,t.skins[e]),i={id:t.id,name:t.name,native:n.native,unified:n.unified,keywords:t.keywords,shortcodes:n.shortcodes||t.shortcodes};return t.skins.length>1&&(i.skin=e+1),n.src&&(i.src=n.src),t.aliases&&t.aliases.length&&(i.aliases=t.aliases),t.emoticons&&t.emoticons.length&&(i.emoticons=t.emoticons),i}const N7={activity:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:O("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:O("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:O("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:O("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.
244009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),O("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),O("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.87
2447 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:O("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),O("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:O("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),O("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4
244174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),O("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:O("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},R7={loupe:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:O("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:O("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})};var Ul={categories:N7,search:R7};function Wc(t){let{id:e,skin:n,emoji:i}=t;if(t.shortcodes){const a=t.shortcodes.match(is.SHORTCODES_REGEX);a&&(e=a[1],a[2]&&(n=a[2]))}if(i||(i=is.get(e||t.native)),!i)return t.fallback;
244const r=i.skins[n-1]||i.skins[0],s=r.src||(t.set!="native"&&!t.spritesheet?typeof t.getImageURL=="function"?t.getImageURL(t.set,r.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${t.set}@15.0.1/img/${t.set}/64/${r.unified}.png`:void 0),o=typeof t.getSpritesheetURL=="function"?t.getSpritesheetURL(t.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${t.set}@15.0.1/img/${t.set}/sheets-256/64.png`;return O("span",{class:"emoji-mart-emoji","data-emoji-set":t.set,children:s?O("img",{style:{maxWidth:t.size||"1em",maxHeight:t.size||"1em",display:"inline-block"},alt:r.native||r.shortcodes,src:s}):t.set=="native"?O("span",{style:{fontSize:t.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:r.native}):O("span",{style:{display:"block",width:t.size,height:t.size,backgroundImage:`url(${o})`,backgroundSize:`${100*Fe.sheet.cols}% ${100*Fe.sheet.rows}%`,backgroundPosition:`${100/(Fe.sheet.cols-1)*r.x}% ${100/(Fe.sheet.rows-1)*r.y}%`}})})}const L7=typeof window<"u"&&window.HTMLElement?window.HTMLElement:Object;class rk extends L7{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let n in e)this.attributeChangedCallback(n,null,e[n])}attributeChangedCallback(e,n,i){if(!this.component)return;const r=ik(e,{[e]:i},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:r}):(this.component.props[e]=r,this.component.forceUpdate())}disconnectedCallback(){this.disconnected=!0,this.component&&this.component.unregister&&this.component.unregister()}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let n=null;const i=e.parent||(n=e.ref&&e.ref.current);n&&(n.innerHTML=""),i&&i.appendChild(this)}}}class O7 extends rk{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const n=document.createElement("style");n.textContent=e,this.shadowRoot.insertBefore(n,this.shadowRoot.firstChild)}constructor(e,{styles:n}={}){super(e),this.setShadow(),this.injectStyles(n)}}var sk={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:t=>/\D/.test(t)?t:`${t}px`},set:di.set,skin:di.skin};class ok extends rk{async connectedCallback(){const e=nk(this.props,sk,this);e.element=this,e.ref=n=>{this.component=n},await _d(),!this.disconnected&&qy(O(Wc,{...e}),this)}constructor(e){super(e)}}hn(ok,"Props",sk);typeof customElements<"u"&&!customElements.get("em-emoji")&&customElements.define("em-emoji",ok);var G1,$c=[],K1=we.__b,J1=we.__r,U1=we.diffed,Q1=we.__c,q1=we.unmount;function P7(){var t;for($c.sort(function(e,n){return e.__v.__b-n.__v.__b});t=$c.pop();)if(t.__P)try{t.__H.__h.forEach(Ga),t.__H.__h.forEach(Vc),t.__H.__h=[]}catch(e){t.__H.__h=[],we.__e(e,t.__v)}}we.__b=function(t){K1&&K1(t)},we.__r=function(t){J1&&J1(t);var e=t.__c.__H;e&&(e.__h.forEach(Ga),e.__h.forEach(Vc),e.__h=[])},we.diffed=function(t){U1&&U1(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&($c.push(e)!==1&&G1===we.requestAnimationFrame||((G1=we.requestAnimationFrame)||function(n){var i,r=function(){clearTimeout(s),Y1&&cancelAnimationFrame(i),setTimeout(n)},s=setTimeout(r,100);Y1&&(i=requestAnimationFrame(r))})(P7))},we.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Ga),n.__h=n.__h.filter(function(i){return!i.__||Vc(i)})}catch(i){e.some(function(r){r.__h&&(r.__h=[])}),e=[],we.__e(i,n.__v)}}),Q1&&Q1(t,e)},we.unmount=function(t){q1&&q1(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(i){try{Ga(i)}catch(r){e=r}}),e&&we.__e(e,n.__v))};var Y1=typeof requestAnimationFrame=="function";function Ga(t){var e=t.__c;typeof e=="function"&&(t.__c=void 0,e())}function Vc(t){t.__c=t.__()}function z7(t,e){for(var n in e)t[n]=e[n];return t}function Z1(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var i in e)if(i!=="__source"&&t[i]!==e[i])return!0;return!1}function Ql(t){this.props=t}(Ql.prototype=new $n).isPureReactComponent=!0,Ql.prototype.shouldComponentUpdate=function(t,e){return Z1(this.props,t)||Z1(this.state,e)};var X1=we.__b;we.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),X1&&X1(t)};var H7=we.__e;we.__e=function(t,e,n){if(t.then){for(var i,r=e;r=r.__;)if((i=r.__c)&&i.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),i.__c(t,e)}H7(t,e,n)};var em=we.unmount;function Mf(){this.__u=0,this.t=null,this.__b=null}function ak(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}
vendor: 1,175 bytes, line 244
244function Aa(){this.u=null,this.o=null}we.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),em&&em(t)},(Mf.prototype=new $n).__c=function(t,e){var n=e.__c,i=this;i.t==null&&(i.t=[]),i.t.push(n);var r=ak(i.__v),s=!1,o=function(){s||(s=!0,n.__R=null,r?r(a):a())};n.__R=o;var a=function(){if(!--i.__u){if(i.state.__e){var f=i.state.__e;i.__v.__k[0]=(function u(h,m,p){return h&&(h.__v=null,h.__k=h.__k&&h.__k.map(function(g){return u(g,m,p)}),h.__c&&h.__c.__P===m&&(h.__e&&p.insertBefore(h.__e,h.__d),h.__c.__e=!0,h.__c.__P=p)),h})(f,f.__c.__P,f.__c.__O)}var c;for(i.setState({__e:i.__b=null});c=i.t.pop();)c.forceUpdate()}},l=e.__h===!0;i.__u++||l||i.setState({__e:i.__b=i.__v.__k[0]}),t.then(o,o)},Mf.prototype.componentWillUnmount=function(){this.t=[]},Mf.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=(function s(o,a,l){return o&&(o.__c&&o.__c.__H&&(o.__c.__H.__.forEach(function(f){typeof f.__c=="function"&&f.__c()}),o.__c.__H=null),(o=z7({},o)).__c!=null&&(o.__c.__P===l&&(o.__c.__P=a),o.__c=null),o.__k=o.__k&&o.__k.map(function(f){return s(f,a,l)})),o}
vendor: 1,505 bytes, line 244
244)(this.__b,n,i.__O=i.__P)}this.__b=null}var r=e.__e&&Pc(bs,null,t.fallback);return r&&(r.__h=null),[Pc(bs,null,e.__e?null:t.children),r]};var tm=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};(Aa.prototype=new $n).__e=function(t){var e=this,n=ak(e.__v),i=e.o.get(t);return i[0]++,function(r){var s=function(){e.props.revealOrder?(i.push(r),tm(e,t,i)):r()};n?n(s):s()}},Aa.prototype.render=function(t){this.u=null,this.o=new Map;var e=Kl(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Aa.prototype.componentDidUpdate=Aa.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){tm(t,n,e)})};var W7=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,$7=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,V7=typeof document<"u",G7=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};$n.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty($n.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]}
244,set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var nm=we.event;function K7(){}function J7(){return this.cancelBubble}function U7(){return this.defaultPrevented}we.event=function(t){return nm&&(t=nm(t)),t.persist=K7,t.isPropagationStopped=J7,t.isDefaultPrevented=U7,t.nativeEvent=t};var im={configurable:!0,get:function(){return this.class}},rm=we.vnode;we.vnode=function(t){var e=t.type,n=t.props,i=n;if(typeof e=="string"){var r=e.indexOf("-")===-1;for(var s in i={},n){var o=n[s];V7&&s==="children"&&e==="noscript"||s==="value"&&"defaultValue"in n&&o==null||(s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&o===!0?o="":/ondoubleclick/i.test(s)?s="ondblclick":/^onchange(textarea|input)/i.test(s+e)&&!G7(n.type)?s="oninput":/^onfocus$/i.test(s)?s="onfocusin":/^onblur$/i.test(s)?s="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(s)?s=s.toLowerCase():r&&$7.test(s)?s=s.replace(/[A-Z0-9]/,"-$&").toLowerCase():o===null&&(o=void 0),i[s]=o)}e=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Kl(n.children).forEach(function(a){a.props.selected=i.value.indexOf(a.props.value)!=-1})),e=="select"&&i.defaultValue!=null&&(i.value=Kl(n.children).forEach(function(a){a.props.selected=i.multiple?i.defaultValue.indexOf(a.props.value)!=-1:i.defaultValue==a.props.value})),t.props=i,n.class!=n.className&&(im.enumerable="className"in n,n.className!=null&&(i.class=n.className),Object.defineProperty(i,"className",im))}t.$$typeof=W7,rm&&rm(t)};var sm=we.__r;we.__r=function(t){sm&&sm(t),t.__c};const Q7={light:"outline",dark:"solid"};class q7 extends Ql{renderIcon(e){const{icon:n}=e;if(n){if(n.svg)return O("span",{class:"flex",dangerouslySetInnerHTML:{__html:n.svg}});if(n.src)return O("img",{src:n.src})}const i=Ul.categories[e.id]||Ul.categories.custom,r=this.props.icons=="auto"?Q7[this.props.theme]:this.props.icons;return i[r]||i}render(){let e=null;return O("nav",{id:"nav",class:"padding","data-position":this.props.position,dir:this.props.dir,children:O("div",{class:"flex relative",children:[this.categories.map((n,i)=>{const r=n.name||Ft.categories[n.id],s=!this.props.unfocused&&n.id==this.state.categoryId;return s&&(e=i),O("button",{"aria-label":r,"aria-selected":s||void 0,title:r,type:"button",class:"flex flex-grow flex-center",onMouseDown:o=>o.preventDefault(),onClick:()=>{this.props.onClick({category:n,i})},children:this.renderIcon(n)})}),O("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:e==null?0:1,transform:this.props.dir==="rtl"?`scaleX(-1) translateX(${e*100}%)`:`translateX(${e*100}%)`}})]})})}constructor(){super(),this.categories=Fe.categories.filter(e=>!e.target),this.state={categoryId:this.categories[0].id}}}class Y7 extends Ql{shouldComponentUpdate(e){for(let n in e)if(n!="children"&&e[n]!=this.props[n])return!0;return!1}render(){return this.props.children}}const xa={rowsPerRender:10};class Z7 extends $n{getInitialState(e=this.props){return{skin:Pi.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.dir=Ft.rtl?"rtl":"ltr",this.refs={menu:ei(),navigation:ei(),scroll:ei(),search:ei(),searchInput:ei(),skinToneButton:ei(),skinToneRadio:ei()},this.initGrid(),this.props.stickySearch==!1&&this.props.searchPosition=="sticky"&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:e}=this.refs;e.current&&e.current.focus()}}componentWillReceiveProps(e){this.nextState||(this.nextState={});for(const n in e)this.nextState[n]=e[n];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let n=!1;for(const r in this.nextState)this.props[r]=this.nextState[r],(r==="custom"||r==="categories")&&(n=!0);delete this.nextState;const i=this.getInitialState();if(n)return this.reset(i);this.setState(i)})}componentWillUnmount(){this.unregister()}async reset(e={}){await _d(this.props),this.initGrid(),this.unobserve(),this.setState(e,()=>{this.observeCategories(),this.observeRows()})}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){document.removeEventListener("click",this.handleClickOutside),this.darkMedia?.removeEventListener("change",this.darkMediaCallback),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve({except:e=[]}={}){Array.isArray(e)||(e=[e]);for(const n of this.observers)e.includes(n)||n.disconnect();this.observers=[].concat(e)}initGrid(){const{categories:e}=Fe;this.refs.categories=new Map;const n=Fe.categories.map(r=>r.id).join(",");this.navKey&&this.navKey!=n&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=n,this.grid=[],this.grid.set
244size=0;const i=(r,s)=>{const o=[];o.__categoryId=s.id,o.__index=r.length,this.grid.push(o);const a=this.grid.length-1,l=a%xa.rowsPerRender?{}:ei();return l.index=a,l.posinset=this.grid.setsize+1,r.push(l),o};for(let r of e){const s=[];let o=i(s,r);for(let a of r.emojis)o.length==this.getPerLine()&&(o=i(s,r)),this.grid.setsize+=1,o.push(a);this.refs.categories.set(r.id,{root:ei(),rows:s})}}initTheme(e){if(e!="auto")return e;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addEventListener("change",this.darkMediaCallback)}return this.darkMedia.matches?"dark":"light"}initDynamicPerLine(e=this.props){if(!e.dynamicWidth)return;const{element:n,emojiButtonSize:i}=e,r=()=>{const{width:o}=n.getBoundingClientRect();return Math.floor(o/i)},s=new ResizeObserver(()=>{this.unobserve({except:s}),this.setState({perLine:r()},()=>{this.initGrid(),this.forceUpdate(()=>{this.observeCategories(),this.observeRows()})})});return s.observe(n),this.observers.push(s),r()}getPerLine(){return this.state.perLine||this.props.perLine}getEmojiByPos([e,n]){const i=this.state.searchResults||this.grid,r=i[e]&&i[e][n];if(r)return is.get(r)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const n=new Map,i=o=>{o!=e.state.categoryId&&e.setState({categoryId:o})},r={root:this.refs.scroll.current,threshold:[0,1]},s=new IntersectionObserver(o=>{for(const l of o){const f=l.target.dataset.id;n.set(f,l.intersectionRatio)}const a=[...n];for(const[l,f]of a)if(f){i(l);break}},r);for(const{root:o}of this.refs.categories.values())s.observe(o.current);this.observers.push(s)}observeRows(){const e={...this.state.visibleRows},n=new IntersectionObserver(i=>{for(const r of i){const s=parseInt(r.target.dataset.index);r.isIntersecting?e[s]=!0:delete e[s]}this.setState({visibleRows:e})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(xa.rowsPerRender+5)}px 0px ${this.props.emojiButtonSize*xa.rowsPerRender}px`});for(const{rows:i}of this.refs.categories.values())for(const r of i)r.current&&n.observe(r.current);this.observers.push(n)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;e&&e.blur()}navigate({e,input:n,left:i,right:r,up:s,down:o}){const a=this.state.searchResults||this.grid;if(!a.length)return;let[l,f]=this.state.pos;const c=(()=>{if(l==0&&f==0&&!e.repeat&&(i||s))return null;if(l==-1)return!e.repeat&&(r||o)&&n.selectionStart==n.value.length?[0,0]:null;if(i||r){let u=a[l];const h=i?-1:1;if(f+=h,!u[f]){if(l+=h,u=a[l],!u)return l=i?0:a.length-1,f=i?0:a[l].length-1,[l,f];f=i?u.length-1:0}return[l,f]}if(s||o){l+=s?-1:1;const u=a[l];return u?(u[f]||(f=u.length-1),[l,f]):(l=s?0:a.length-1,f=s?0:a[l].length-1,[l,f])}})();if(c)e.preventDefault();else{this.state.pos[0]>-1&&this.setState({pos:[-1,-1]});return}this.setState({pos:c,keyboard:!0},()=>{this.scrollTo({row:c[0]})})}scrollTo({categoryId:e,row:n}){const i=this.state.searchResults||this.grid;if(!i.length)return;const r=this.refs.scroll.current,s=r.getBoundingClientRect();let o=0;if(n>=0&&(e=i[n].__categoryId),e&&(o=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(s.top-r.scrollTop)+1),n>=0)if(!n)o=0;else{const a=i[n].__index,l=o+a*this.props.emojiButtonSize,f=l+this.props.emojiButtonSize+this.props.emojiButtonSize*.88;if(l<r.scrollTop)o=l;else if(f>r.scrollTop+s.height)o=f-s.height;else return}this.ignoreMouse(),r.scrollTop=o}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout(()=>{delete this.mouseIsIgnored},100)}handleEmojiOver(e){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:e||[-1,-1],keyboard:!1})}handleEmojiClick({e,emoji:n,pos:i}){if(this.props.onEmojiSelect&&(!n&&i&&(n=this.getEmojiByPos(i)),n)){const r=D7(n,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&Zy.add(r,this.props),this.props.onEmojiSelect(r,e)}}closeSkins(){this.state.showSkins&&(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(e){this.setState({tempSkin:e})}handleSkinClick(e){this.ignoreMouse(),this.closeSkins(),this.setState({skin:e,tempSkin:null}),Pi.set("skin",e)}renderNav(){return O(q7,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,dir:this.dir,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const e=this.getEmojiByPos(this.state.pos),n=this.state.searchResults&&!this.state.searchResults.length;return O("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-
244position":this.props.previewPosition,children:[O("div",{class:"flex flex-middle flex-grow",children:[O("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:O(Wc,{emoji:e,id:n?this.props.noResultsEmoji||"cry":this.props.previewEmoji||(this.props.previewPosition=="top"?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),O("div",{class:`margin-${this.dir[0]}`,children:e||n?O("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[O("div",{class:"preview-title ellipsis",children:e?e.name:Ft.search_no_results_1}),O("div",{class:"preview-subtitle ellipsis color-c",children:e?e.skins[0].shortcodes:Ft.search_no_results_2})]}):O("div",{class:"preview-placeholder color-c",children:Ft.pick})})]}),!e&&this.props.skinTonePosition=="preview"&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:n,posinset:i,grid:r}){const s=this.props.emojiButtonSize,o=this.state.tempSkin||this.state.skin,l=(e.skins[o-1]||e.skins[0]).native,f=T7(this.state.pos,n),c=n.concat(e.id).join("");return O(Y7,{selected:f,skin:o,size:s,children:O("button",{"aria-label":l,"aria-selected":f||void 0,"aria-posinset":i,"aria-setsize":r.setsize,"data-keyboard":this.state.keyboard,title:this.props.previewPosition=="none"?e.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:u=>this.handleEmojiClick({e:u,emoji:e}),onMouseEnter:()=>this.handleEmojiOver(n),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[O("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(i-1)%this.props.emojiButtonColors.length]:void 0}}),O(Wc,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:o,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},c)}renderSearch(){const e=this.props.previewPosition=="none"||this.props.skinTonePosition=="search";return O("div",{children:[O("div",{class:"spacer"}),O("div",{class:"flex flex-middle",children:[O("div",{class:"search relative flex-grow",children:[O("input",{type:"search",ref:this.refs.searchInput,placeholder:Ft.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),O("span",{class:"icon loupe flex",children:Ul.search.loupe}),this.state.searchResults&&O("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:Ul.search.delete})]}),e&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?O("div",{class:"category",ref:this.refs.search,children:[O("div",{class:`sticky padding-small align-${this.dir[0]}`,children:Ft.categories.search}),O("div",{children:e.length?e.map((n,i)=>O("div",{class:"flex",children:n.map((r,s)=>this.renderEmojiButton(r,{pos:[i,s],posinset:i*this.props.perLine+s+1,grid:e}))})):O("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&O("a",{onClick:this.props.onAddCustomEmoji,children:Ft.add_custom})})})]}):null}renderCategories(){const{categories:e}=Fe,n=!!this.state.searchResults,i=this.getPerLine();return O("div",{style:{visibility:n?"hidden":void 0,display:n?"none":void 0,height:"100%"},children:e.map(r=>{const{root:s,rows:o}=this.refs.categories.get(r.id);return O("div",{"data-id":r.target?r.target.id:r.id,class:"category",ref:s,children:[O("div",{class:`sticky padding-small align-${this.dir[0]}`,children:r.name||Ft.categories[r.id]}),O("div",{class:"relative",style:{height:o.length*this.props.emojiButtonSize},children:o.map((a,l)=>{const f=a.index-a.index%xa.rowsPerRender,c=this.state.visibleRows[f],u="current"in a?a:void 0;if(!c&&!u)return null;const h=l*i,m=h+i,p=r.emojis.slice(h,m);return p.length<i&&p.push(...new Array(i-p.length)),O("div",{"data-index":a.index,ref:u,class:"flex row",style:{to
244p:l*this.props.emojiButtonSize},children:c&&p.map((g,v)=>{if(!g)return O("div",{style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize}});const b=is.get(g);return this.renderEmojiButton(b,{pos:[a.index,v],posinset:a.posinset+v,grid:this.grid})})},a.index)})})]})})})}renderSkinToneButton(){return this.props.skinTonePosition=="none"?null:O("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:O("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":Ft.skins.choose,title:Ft.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:O("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos),n=e?e.name:"";return O("div",{"aria-live":"polite",class:"sr-only",children:n})}renderSkins(){const n=this.refs.skinToneButton.current.getBoundingClientRect(),i=this.base.getBoundingClientRect(),r={};return this.dir=="ltr"?r.right=i.right-n.right-3:r.left=n.left-i.left-3,this.props.previewPosition=="bottom"&&this.props.skinTonePosition=="preview"?r.bottom=i.bottom-n.top+6:(r.top=n.bottom-i.top+3,r.bottom="auto"),O("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":Ft.skins.choose,class:"menu hidden","data-position":r.top?"top":"bottom",style:r,children:[...Array(6).keys()].map(s=>{const o=s+1,a=this.state.skin==o;return O("div",{children:[O("input",{type:"radio",name:"skin-tone",value:o,"aria-label":Ft.skins[o],ref:a?this.refs.skinToneRadio:null,defaultChecked:a,onChange:()=>this.handleSkinMouseOver(o),onKeyDown:l=>{(l.code=="Enter"||l.code=="Space"||l.code=="Tab")&&(l.preventDefault(),this.handleSkinClick(o))}}),O("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(o),onMouseEnter:()=>this.handleSkinMouseOver(o),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[O("span",{class:`skin-tone skin-tone-${o}`}),O("span",{class:"margin-small-lr",children:Ft.skins[o]})]})]})})})}render(){const e=this.props.perLine*this.props.emojiButtonSize;return O("section",{id:"root",class:"flex flex-column",dir:this.dir,style:{width:this.props.dynamicWidth?"100%":`calc(${e}px + (var(--padding) + var(--sidebar-width)))`},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:[this.props.previewPosition=="top"&&this.renderPreview(),this.props.navPosition=="top"&&this.renderNav(),this.props.searchPosition=="sticky"&&O("div",{class:"padding-lr",children:this.renderSearch()}),O("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:O("div",{style:{width:this.props.dynamicWidth?"100%":e,height:"100%"},children:[this.props.searchPosition=="static"&&this.renderSearch(),this.renderSearchResults(),this.renderCategories()]})}),this.props.navPosition=="bottom"&&this.renderNav(),this.props.previewPosition=="bottom"&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),hn(this,"darkMediaCallback",()=>{this.props.theme=="auto"&&this.setState({theme:this.darkMedia.matches?"dark":"light"})}),hn(this,"handleClickOutside",n=>{const{element:i}=this.props;n.target!=i&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside(n))}),hn(this,"handleBaseClick",n=>{this.state.showSkins&&(n.target.closest(".menu")||(n.preventDefault(),n.stopImmediatePropagation(),this.closeSkins()))}),hn(this,"handleBaseKeydown",n=>{this.state.showSkins&&n.key=="Escape"&&(n.preventDefault(),n.stopImmediatePropagation(),this.closeSkins())}),hn(this,"handleSearchClick",()=>{this.getEmojiByPos(this.state.pos)&&this.setState({pos:[-1,-1]})}),hn(this,"handleSearchInput",async()=>{const n=this.refs.searchInput.current;if(!n)return;const{value:i}=n,r=await is.search(i),s=()=>{this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0)};if(!r)return this.setState({searchResults:r,pos:[-1,-1]},s);const o=n.selectionStart==n.value.length?[0,0]:[-1,-1],a=[];a.setsize=r.length;let l=null;for(let f of r)(!a.length||l.length==this.getPerLine())&&(l=[],l.__categoryId="search",l.__index=a.length,a.push(l)),l.push(f);this.ignoreMouse(),this.setState({searchResults:a,pos:o},s)}),hn(this,"handleSearchKeyDown",n=>{const i=n.currentTarget;switch(n.stopImmediatePropagation(),n.key){case"ArrowLeft":this.navigate({e:n,input:i,left:!0});break;case"ArrowRight":this.navigate({e:n,input:i,right:!0});break;case"ArrowUp":this.navigate({e:n,input:i,up:!0});break;case"ArrowDown":this.navigate({e:n,input:i,down:!0});break;case"Enter":n.preventDefault(),this.handleEmojiClick({e:n,pos:this.state.pos});break;case"Escape":n.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch();break}}),hn(this,"clearSearch",()=>{const n=this.refs.searchInput.current;n&&(n.value="",n.focus(),this.handleSearchInput())}),hn(this,"handleCategoryClick",({category:n,i})=>{this.scrollTo(i==0?{row:-1}:{categoryId:n.id})}),hn(this,"openSkins",n=>{const{currentTarget:i}=n,r=i.getBoundingClientRect();this.setState({showSkins:r},async()=>{await F7(2);const s=this.refs.menu.current;s&&(s.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))})}),this.observers=[],this.state={pos:[-1,-1],perLine:this.initDynamicPerLine(e),visibleRows:{0:!0},...this.getInitialState(e)}}}class mh extends O7{async connectedCallback(){const e=nk(this.props,di,this);e.element=this,e.ref=n=>{this.component=n},await _d(e),!this.disconnected&&qy(O(Z7,{...e}),this.shadowRoot)}constructor(e){super(e,{styles:Oy(lk)})}}hn(mh,"Props",di);typeof customElements<"u"&&!customElements.get("em-emoji-picker")&&customElements.define("em-emoji-picker",mh);var lk={};lk=`:host { 245 width: min-content; 246 height: 435px; 247 min-height: 230px; 248 border-radius: var(--border-radius); 249 box-shadow: var(--shadow); 250 --border-radius: 10px; 251 --category-icon-size: 18px; 252 --font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; 253 --font-size: 15px; 254 --preview-placeholder-size: 21px; 255 --preview-title-size: 1.1em; 256 --preview-subtitle-size: .9em; 257 --shadow-color: 0deg 0% 0%; 258 --shadow: .3px .5px 2.7px hsl(var(--shadow-color) / .14), .4px .8px 1px -3.2px hsl(var(--shadow-color) / .14), 1px 2px 2.5px -4.5px hsl(var(--shadow-color) / .14); 259 display: flex; 260} 261 262[data-theme="light"] { 263 --em-rgb-color: var(--rgb-color, 34, 36, 39); 264 --em-rgb-accent: var(--rgb-accent, 34, 102, 237); 265 --em-rgb-background: var(--rgb-background, 255, 255, 255); 266 --em-rgb-input: var(--rgb-input, 255, 255, 255); 267 --em-color-border: var(--color-border, rgba(0, 0, 0, .05)); 268 --em-color-border-over: var(--color-border-over, rgba(0, 0, 0, .1)
268); 269} 270 271[data-theme="dark"] { 272 --em-rgb-color: var(--rgb-color, 222, 222, 221); 273 --em-rgb-accent: var(--rgb-accent, 58, 130, 247); 274 --em-rgb-background: var(--rgb-background, 21, 22, 23); 275 --em-rgb-input: var(--rgb-input, 0, 0, 0); 276 --em-color-border: var(--color-border, rgba(255, 255, 255, .1)); 277 --em-color-border-over: var(--color-border-over, rgba(255, 255, 255, .2)); 278} 279 280#root { 281 --color-a: rgb(var(--em-rgb-color)); 282 --color-b: rgba(var(--em-rgb-color), .65); 283 --color-c: rgba(var(--em-rgb-color), .45); 284 --padding: 12px; 285 --padding-small: calc(var(--padding) / 2); 286 --sidebar-width: 16px; 287 --duration: 225ms; 288 --duration-fast: 125ms; 289 --duration-instant: 50ms; 290 --easing: cubic-bezier(.4, 0, .2, 1); 291 width: 100%; 292 text-align: left; 293 border-radius: var(--border-radius); 294 background-color: rgb(var(--em-rgb-background)); 295 position: relative; 296} 297 298@media (prefers-reduced-motion) { 299 #root { 300 --duration: 0; 301 --duration-fast: 0; 302 --duration-instant: 0; 303 } 304} 305 306#root[data-menu] button { 307 cursor: auto; 308} 309 310#root[data-menu] .menu button { 311 cursor: pointer; 312} 313 314:host, #root, input, button { 315 color: rgb(var(--em-rgb-color)); 316 font-family: var(--font-family); 317 font-size: var(--font-size); 318 -webkit-font-smoothing: antialiased; 319 -moz-osx-font-smoothing: grayscale; 320 line-height: normal; 321} 322 323*, :before, :after { 324 box-sizing: border-box; 325 min-width: 0; 326 margin: 0; 327 padding: 0; 328} 329 330.relative { 331 position: relative; 332} 333 334.flex { 335 display: flex; 336} 337 338.flex-auto { 339 flex: none; 340} 341 342.flex-center { 343 justify-content: center; 344} 345 346.flex-column { 347 flex-direction: column; 348} 349 350.flex-grow { 351 flex: auto; 352} 353 354.flex-middle { 355 align-items: center; 356} 357 358.flex-wrap { 359 flex-wrap: wrap; 360} 361 362.padding { 363 padding: var(--padding); 364} 365 366.padding-t { 367 padding-top: var(--padding); 368} 369 370.padding-lr { 371 padding-left: var(--padding); 372 padding-right: var(--padding); 373} 374 375.padding-r { 376 padding-right: var(--padding); 377} 378 379.padding-small { 380 padding: var(--padding-small); 381} 382 383.padding-small-b { 384 padding-bottom: var(--padding-small); 385} 386 387.padding-small-lr { 388 padding-left: var(--padding-small); 389 padding-right: var(--padding-small); 390} 391 392.margin { 393 margin: var(--padding); 394} 395 396.margin-r { 397 margin-right: var(--padding); 398} 399 400.margin-l { 401 margin-left: var(--padding); 402} 403 404.margin-small-l { 405 margin-left: var(--padding-small); 406} 407 408.margin-small-lr { 409 margin-left: var(--padding-small); 410 margin-right: var(--padding-small); 411} 412 413.align-l { 414 text-align: left; 415} 416 417.align-r { 418 text-align: right; 419} 420 421.color-a { 422 color: var(--color-a); 423} 424 425.color-b { 426 color: var(--color-b); 427} 428 429.color-c { 430 color: var(--color-c); 431} 432 433.ellipsis { 434 white-space: nowrap; 435 max-width: 100%; 436 width: auto; 437 text-overflow: ellipsis; 438 overflow: hidden; 439} 440 441.sr-only { 442 width: 1px; 443 height: 1px; 444 position: absolute; 445 top: auto; 446 left: -10000px; 447 overflow: hidden; 448} 449 450a { 451 cursor: pointer; 452 color: rgb(var(--em-rgb-accent)); 453} 454 455a:hover { 456 text-decoration: underline; 457} 458 459.spacer { 460 height: 10px; 461} 462 463[dir="rtl"] .scroll { 464 padding-left: 0; 465 padding-right: var(--padding); 466} 467 468.scroll { 469 padding-right: 0; 470 overflow-x: hidden; 471 overflow-y: auto; 472} 473 474.scroll::-webkit-scrollbar {
475 width: var(--sidebar-width); 476 height: var(--sidebar-width); 477} 478 479.scroll::-webkit-scrollbar-track { 480 border: 0; 481} 482 483.scroll::-webkit-scrollbar-button { 484 width: 0; 485 height: 0; 486 display: none; 487} 488 489.scroll::-webkit-scrollbar-corner { 490 background-color: rgba(0, 0, 0, 0); 491} 492 493.scroll::-webkit-scrollbar-thumb { 494 min-height: 20%; 495 min-height: 65px; 496 border: 4px solid rgb(var(--em-rgb-background)); 497 border-radius: 8px; 498} 499 500.scroll::-webkit-scrollbar-thumb:hover { 501 background-color: var(--em-color-border-over) !important; 502} 503 504.scroll:hover::-webkit-scrollbar-thumb { 505 background-color: var(--em-color-border); 506} 507 508.sticky { 509 z-index: 1; 510 background-color: rgba(var(--em-rgb-background), .9); 511 -webkit-backdrop-filter: blur(4px); 512 backdrop-filter: blur(4px); 513 font-weight: 500; 514 position: sticky; 515 top: -1px; 516} 517 518[dir="rtl"] .search input[type="search"] { 519 padding: 10px 2.2em 10px 2em; 520} 521 522[dir="rtl"] .search .loupe { 523 left: auto; 524 right: .7em; 525} 526 527[dir="rtl"] .search .delete { 528 left: .7em; 529 right: auto; 530} 531 532.search { 533 z-index: 2; 534 position: relative; 535} 536 537.search input, .search button { 538 font-size: calc(var(--font-size) - 1px); 539} 540 541.search input[type="search"] { 542 width: 100%; 543 background-color: var(--em-color-border); 544 transition-duration: var(--duration); 545 transition-property: background-color, box-shadow; 546 transition-timing-function: var(--easing); 547 border: 0; 548 border-radius: 10px; 549 outline: 0; 550 padding: 10px 2em 10px 2.2em; 551 display: block; 552} 553 554.search input[type="search"]::-ms-input-placeholder { 555 color: inherit; 556 opacity: .6; 557} 558 559.search input[type="search"]::placeholder { 560 color: inherit; 561 opacity: .6; 562} 563 564.search input[type="search"], .search input[type="search"]::-webkit-search-decoration, .search input[type="search"]::-webkit-search-cancel-button, .search input[type="search"]::-webkit-search-results-button, .search input[type="search"]::-webkit-search-results-decoration { 565 -webkit-appearance: none; 566 -ms-appearance: none; 567 appearance: none; 568} 569 570.search input[type="search"]:focus { 571 background-color: rgb(var(--em-rgb-input)); 572 box-shadow: inset 0 0 0 1px rgb(var(--em-rgb-accent)), 0 1px 3px rgba(65, 69, 73, .2); 573} 574 575.search .icon { 576 z-index: 1; 577 color: rgba(var(--em-rgb-color), .7); 578 position: absolute; 579 top: 50%; 580 transform: translateY(-50%); 581} 582 583.search .loupe { 584 pointer-events: none; 585 left: .7em; 586} 587 588.search .delete { 589 right: .7em; 590} 591 592svg { 593 fill: currentColor; 594 width: 1em; 595 height: 1em; 596} 597 598button { 599 -webkit-appearance: none; 600 -ms-appearance: none; 601 appearance: none; 602 cursor: pointer; 603 color: currentColor; 604 background-color: rgba(0, 0, 0, 0); 605 border: 0; 606} 607 608#nav { 609 z-index: 2; 610 padding-top: 12px; 611 padding-bottom: 12px; 612 padding-right: var(--sidebar-width); 613 position: relative; 614} 615 616#nav button { 617 color: var(--color-b); 618 transition: color var(--duration) var(--easing); 619} 620 621#nav button:hover { 622 color: var(--color-a); 623} 624 625#nav svg, #nav img { 626 width: var(--category-icon-size); 627 height: var(--category-icon-size); 628} 629 630#nav[dir="rtl"] .bar { 631 left: auto; 632 right: 0; 633} 634 635#nav .bar { 636 width: 100%; 637 height: 3px; 638 background-color: rgb(var(--em-rgb-accent)); 639 transition: transform var(--duration) var(--easing); 640 border-radius: 3px 3px 0 0; 641 position: absolute; 642 bottom: -12px; 643 left: 0; 644} 645 646#nav button[aria-selected] { 647 color: rgb(var(--em-rgb-accent)); 648} 649 650#preview { 651 z-index: 2; 652 padding: calc(var(--padding) + 4px) var(--padding); 653 padding-right: var(--sidebar-width); 654 position: relative; 655} 656 657#preview .preview-placeholder { 658 font-size: var(--preview-placeholder-size); 659} 660 661#preview .preview-title { 662 font-size: var(--preview-title-size); 663} 664 665#preview .preview-subtitle { 666 font-size: var(--preview-subtitle-size); 667} 668 669#nav:before, #preview:before { 670 content: ""; 671 height: 2px; 672 position: absolute; 673 left: 0; 674 right: 0; 675} 676
677#nav[data-position="top"]:before, #preview[data-position="top"]:before { 678 background: linear-gradient(to bottom, var(--em-color-border), transparent); 679 top: 100%; 680} 681 682#nav[data-position="bottom"]:before, #preview[data-position="bottom"]:before { 683 background: linear-gradient(to top, var(--em-color-border), transparent); 684 bottom: 100%; 685} 686 687.category:last-child { 688 min-height: calc(100% + 1px); 689} 690 691.category button { 692 font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, sans-serif; 693 position: relative; 694} 695 696.category button > * { 697 position: relative; 698} 699 700.category button .background { 701 opacity: 0; 702 background-color: var(--em-color-border); 703 transition: opacity var(--duration-fast) var(--easing) var(--duration-instant); 704 position: absolute; 705 top: 0; 706 bottom: 0; 707 left: 0; 708 right: 0; 709} 710 711.category button:hover .background { 712 transition-duration: var(--duration-instant); 713 transition-delay: 0s; 714} 715 716.category button[aria-selected] .background { 717 opacity: 1; 718} 719 720.category button[data-keyboard] .background { 721 transition: none; 722} 723 724.row { 725 width: 100%; 726 position: absolute; 727 top: 0; 728 left: 0; 729} 730 731.skin-tone-button { 732 border: 1px solid rgba(0, 0, 0, 0); 733 border-radius: 100%; 734} 735 736.skin-tone-button:hover { 737 border-color: var(--em-color-border); 738} 739 740.skin-tone-button:active .skin-tone { 741 transform: scale(.85) !important; 742} 743 744.skin-tone-button .skin-tone { 745 transition: transform var(--duration) var(--easing); 746} 747 748.skin-tone-button[aria-selected] { 749 background-color: var(--em-color-border); 750 border-top-color: rgba(0, 0, 0, .05); 751 border-bottom-color: rgba(0, 0, 0, 0); 752 border-left-width: 0; 753 border-right-width: 0; 754} 755 756.skin-tone-button[aria-selected] .skin-tone { 757 transform: scale(.9); 758} 759 760.menu { 761 z-index: 2; 762 white-space: nowrap; 763 border: 1px solid var(--em-color-border); 764 background-color: rgba(var(--em-rgb-background), .9); 765 -webkit-backdrop-filter: blur(4px); 766 backdrop-filter: blur(4px); 767 transition-property: opacity, transform; 768 transition-duration: var(--duration); 769 transition-timing-function: var(--easing); 770 border-radius: 10px; 771 padding: 4px; 772 position: absolute; 773 box-shadow: 1px 1px 5px rgba(0, 0, 0, .05); 774} 775 776.menu.hidden { 777 opacity: 0; 778} 779 780.menu[data-position="bottom"] { 781 transform-origin: 100% 100%; 782} 783 784.menu[data-position="bottom"].hidden { 785 transform: scale(.9)rotate(-3deg)translateY(5%); 786} 787 788.menu[data-position="top"] { 789 transform-origin: 100% 0; 790} 791 792.menu[data-position="top"].hidden { 793 transform: scale(.9)rotate(3deg)translateY(-5%); 794} 795 796.menu input[type="radio"] { 797 clip: rect(0 0 0 0); 798 width: 1px; 799 height: 1px; 800 border: 0; 801 margin: 0; 802 padding: 0; 803 position: absolute; 804 overflow: hidden; 805} 806 807.menu input[type="radio"]:checked + .option { 808 box-shadow: 0 0 0 2px rgb(var(--em-rgb-accent)); 809} 810 811.option { 812 width: 100%; 813 border-radius: 6px; 814 padding: 4px 6px; 815} 816 817.option:hover { 818 color: #fff; 819 background-color: rgb(var(--em-rgb-accent)); 820} 821 822.skin-tone { 823 width: 16px; 824 height: 16px; 825 border-radius: 100%; 826 display: inline-block; 827 position: relative; 828 overflow: hidden; 829} 830 831.skin-tone:after { 832 content: ""; 833 mix-blend-mode: overlay; 834 background: linear-gradient(rgba(255, 255, 255, .2), rgba(0, 0, 0, 0)); 835 border: 1px solid rgba(0, 0, 0, .8); 836 border-radius: 100%; 837 position: absolute; 838 top: 0; 839 bottom: 0; 840 left: 0; 841 right: 0; 842 box-shadow: inset 0 -2px 3px #000, inset 0 1px 2px #fff; 843} 844 845.skin-tone-1 { 846 background-color: #ffc93a; 847} 848 849.skin-tone-2 { 850 background-color: #ffdab7; 851} 852 853.skin-tone-3 { 854 background-color: #e7b98f; 855} 856 857.skin-tone-4 { 858 background-color: #c88c61; 859} 860 861.skin-tone-5 { 862 background-color: #a46134; 863} 864 865.skin-tone-6 { 866 background-color: #5d4437; 867} 868 869[data-index] { 870 justify-content: space-between; 871} 872 873[data-emoji-set="twitter"] .skin-tone:after { 874 box-shadow: none; 875 border-color: rgba(0, 0, 0, .5); 876} 877 878[data-emoji-set="twitter"] .skin-tone-1 { 879 background-color: #fade72; 880} 881 882[data-emoji-set="twitter"] .skin-tone-2 { 883 background-color: #f3dfd0; 884} 885 886[data-emoji-set="twitter"] .skin-tone-3 { 887 background-color: #eed3a8; 888} 889 890[data-emoji-set="twitter"] .skin-tone-4 { 891 background-color: #cfad8d; 892} 893 894[data-emoji-set="twitter"] .skin-tone-5 { 895 background-color: #a8805d; 896} 897 898[data-emoji-set="twitter"] .skin-tone-6 { 899 background-color: #765542; 900} 901 902[data-emoji-set="google"] .skin-tone:after { 903 box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, .4); 904} 905 906[data-emoji-set="google"] .skin-tone-1 { 907 background-color: #f5c748; 908} 909 910[data-emoji-set="google"] .skin-tone-2 {
911 background-color: #f1d5aa; 912} 913 914[data-emoji-set="google"] .skin-tone-3 { 915 background-color: #d4b48d; 916} 917 918[data-emoji-set="google"] .skin-tone-4 { 919 background-color: #aa876b; 920} 921 922[data-emoji-set="google"] .skin-tone-5 { 923 background-color: #916544; 924} 925 926[data-emoji-set="google"] .skin-tone-6 { 927 background-color: #61493f; 928} 929 930[data-emoji-set="facebook"] .skin-tone:after { 931 border-color: rgba(0, 0, 0, .4); 932 box-shadow: inset 0 -2px 3px #000, inset 0 1px 4px #fff; 933} 934 935[data-emoji-set="facebook"] .skin-tone-1 { 936 background-color: #f5c748; 937} 938 939[data-emoji-set="facebook"] .skin-tone-2 { 940 background-color: #f1d5aa; 941} 942 943[data-emoji-set="facebook"] .skin-tone-3 { 944 background-color: #d4b48d; 945} 946 947[data-emoji-set="facebook"] .skin-tone-4 { 948 background-color: #aa876b; 949} 950 951[data-emoji-set="facebook"] .skin-tone-5 { 952 background-color: #916544; 953} 954 955[data-emoji-set="facebook"] .skin-tone-6 { 956 background-color: #61493f; 957} 958 959`;function X7(t){const e=k.useRef(null),n=k.useRef(null);return n.current&&n.current.update(t),k.useEffect(()=>(n.current=new mh({...t,ref:e}),()=>{n.current=null}),[]),K.createElement("div",{ref:e})}const ej=t=>{const{state:e}=t,{selection:n}=e;if(!n.empty)return!1;const{from:i}=n,{doc:r}=e,s=r.resolve(i),o=s.marks();if(o&&o.length>0){let f=i,c=i,u=!1;if(o.forEach(h=>{try{const m=md(s,h.type);m&&(f=Math.min(f,m.from),c=Math.max(c,m.to),u=!0)}catch(m){console.warn("Could not get mark range for",h.type.name,m)}}),u&&f<c)return t.chain().focus().setTextSelection({from:f,to:c}).run(),!0}for(let f=s.depth;f>=0;f--){const c=s.node(f),u=s.start(f),h=s.end(f);if(f!==0&&(c.isTextblock||c.content&&c.content.size>0))try{if(c.isTextblock&&u<h)return t.chain().focus().setTextSelection({from:u,to:h}).run(),!0;if(!c.isTextblock&&c.isLeaf){const m=u-1;if(m>=0)return t.chain().focus().setNodeSelection(m).run(),!0}}catch(m){console.warn("Selection failed at depth",f,m)}}const a=s.start(s.depth),l=s.end(s.depth);return a<l?(t.chain().focus().setTextSelection({from:a,to:l}).run(),!0):!1},tj=(t,e)=>{ej(t),e()},nj=(t,e)=>{const{selection:n}=t.state;n.empty,e()},gh=t=>{if(!t||t.trim()==="")return t;try{const e=document.createElement("div");return e.innerHTML=t,(i=>{Array.from(i.querySelectorAll("span")).reverse().forEach(s=>{const o=s.hasAttribute("style")&&s.getAttribute("style")?.trim(),a=s.hasAttribute("data-inline-doc"),l=s.hasAttribute("class")&&s.getAttribute("class")?.trim();if(!o&&!a&&!l){const f=document.createDocumentFragment();for(;s.firstChild;)f.appendChild(s.firstChild);s.parentNode?.replaceChild(f,s)}})})(e),e.innerHTML}catch(e){return console.error("Error during plain span stripping:",e),t}},dk=t=>{if(!t)return t;try{const e=document.createElement("div");e.innerHTML=t;const n=["p","div","h1","h2","h3","h4","h5","h6","section","article","header","footer","main","aside","blockquote","pre"];n.forEach(s=>{const o=e.querySelectorAll(s);Array.from(o).reverse().forEach(a=>{const l=document.createElement("span");Array.from(a.attributes).forEach(c=>{l.setAttribute(c.name,c.value)}),l.innerHTML=a.innerHTML;const f=a.nextElementSibling;f&&n.includes(f.tagName.toLowerCase())&&(l.innerHTML+=" "),a.parentNode?.replaceChild(l,a)})}),e.querySelectorAll("br").forEach(s=>{const o=document.createTextNode(" ");s.parentNode?.replaceChild(o,s)});let r=e.innerHTML;return r=r.replace(/\s+/g," ").trim(),r}catch(e){return console.error("Error during block-to-inline conversion:",e),t}},om=t=>{if(!t||t.trim()==="")return"";try{const e=document.createElement("div");e.innerHTML=t;let n=t;const i=e.querySelector("[data-inline-doc]");return i?n=i.innerHTML:e.querySelector("p, div, h1, h2, h3, h4, h5, h6, section, article, header, footer, main, aside, blockquote, pre")?n=dk(t):n=n.replace(/<p[^>]*>/g,"").replace(/<\/p>/g,""),n=n.trim(),n===""||n==="<br>"||n==="<br/>"?"":n}catch(e){return console.error("Error during inline content processing:",e),t.trim()}},ij=t=>{if(!t)return t;try{let e=gh(t);return e=dk(e),e.includes("data-inline-doc")?e:`<span data-inline-doc="">${e}</span>`}catch(e){return console.error("Error during content preparation:",e),t}},am=t=>{if(!t||t.trim()==="")return t;try{return gh(t)}catch(e){return console.error("Error during rich content sanitization:",e),t}},rj=t=>{if(!t)return'<span data-inline-doc=""></span>';try{let e=gh(t);const n=document.createElement("div");n.innerHTML=e;const i=n.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, section, article, header, footer, main, aside, blockquote, pre");if(i.length>0){let r="";
959return i.forEach((s,o)=>{const a=s.innerHTML;o>0&&(r+=" "),r+=a}),`<span data-inline-doc="">${r}</span>`}else return`<span data-inline-doc="">${e}</span>`}catch(e){console.error("Error processing initial content:",e);try{const n=document.createElement("div");return n.innerHTML=t,`<span data-inline-doc="">${n.textContent||n.innerText||""}</span>`}catch(n){return console.error("Text extraction fallback failed:",n),'<span data-inline-doc=""></span>'}}},Cd=t=>t.isActive("link"),Sd=t=>t.getAttributes("link")||{},sj=(t,e)=>{if(Cd(t)){const i={...Sd(t),color:e};return t.chain().focus().updateLinkStyle(i).run(),t.chain().focus().unsetMark("textStyle").run(),!0}return!1},oj=(t,e)=>{if(Cd(t)){const i={...Sd(t),backgroundColor:e};return t.chain().focus().updateLinkStyle(i).run(),t.chain().focus().unsetMark("textStyle").run(),!0}return!1},aj=t=>Cd(t)&&Sd(t).color||"",lj=t=>Cd(t)&&Sd(t).backgroundColor||"",dj=(t,e,n="rich")=>{if(sj(t,e))return;const{selection:i}=t.state;i.empty?e?t.chain().focus().setMark("textStyle",{color:e}).run():t.chain().focus().unsetMark("textStyle").run():e?t.chain().focus().setMark("textStyle",{color:e}).run():t.chain().focus().unsetMark("textStyle").run()},fj=(t,e,n="rich")=>{if(oj(t,e))return;const{selection:i}=t.state;i.empty?e?t.chain().focus().setMark("textStyle",{backgroundColor:e}).run():t.chain().focus().unsetMark("textStyle").run():e?t.chain().focus().setMark("textStyle",{backgroundColor:e}).run():t.chain().focus().unsetMark("textStyle").run()},cj=t=>{const e=aj(t);if(e)return e;const{color:n}=t.getAttributes("textStyle");return n||""},uj=t=>{const e=lj(t);if(e)return e;const{backgroundColor:n}=t.getAttributes("textStyle");return n||""},hj=(t,e,n="url")=>{let i=e.trim();switch(n){case"email":i=`mailto:${i}`;break;case"phone":i=`tel:${i}`;break;case"anchor":i=`#${i}`;break}t.chain().focus().setLink({href:i}).run()},xn=({onClick:t,disabled:e=!1,isActive:n=!1,title:i,children:r})=>{const o=gi()?24:28;return d.jsx(Ke,{title:i,children:d.jsx("button",{type:"button",onClick:t,disabled:e,style:{width:o,height:o},className:o7(n,e),children:r})})},lm=({icon:t,currentColor:e,onColorChange:n,title:i,isActive:r=!1})=>{const s=a=>{const l=a?.toHexString()||"";n(l)},o=()=>{n("")};return d.jsx(Ke,{title:i,children:d.jsx(sg,{value:e||void 0,onChange:s,onClear:o,allowClear:!0,size:"small",showText:!1,presets:[{label:"Recommended",colors:["#000000","#ffffff","#1f2937","#f9fafb","#f3f4f6","#e5e7eb","#d1d5db","#9ca3af","#6b7280","#4b5563","#374151","#111827","#fdf2f2","#fde8e8","#fbd5d5","#f8b4b4","#f98080","#f05252","#e02424","#c81e1e","#9b1c1c","#771d1d","#fdfdea","#fdf6b2","#fce96a","#faca15","#e3a008","#c27803","#9f580a","#8e4b10","#723b13","#633112","#f3faf7","#def7ec","#bcf0da","#84e1bc","#31c48d","#0e9f6e","#057a55","#046c4e","#03543f","#014737","#ebf5ff","#e1effe","#c3ddfd","#a4cafe","#76a9fa","#3f83f8","#1c64f2","#1a56db","#1e429f","#233876","#f0f5ff","#e5edff","#cddbfe","#b4c6fc","#8da2fb","#6875f5","#5850ec","#5145cd","#42389d","#362f78","#f6f5ff","#edebfe","#dcd7fe","#cabffd","#ac94fa","#9061f9","#7e3af2","#6c2bd9","#5521b5","#4a1d96","#fdf2f8","#fce8f3","#fad1e8","#f8b4d9","#f17eb8","#e74694","#d61f69","#bf125d","#99154b","#751a3d"]}],children:d.jsxs("div",{style:{position:"relative"},children:[d.jsx(xn,{title:i,isActive:r,children:d.jsx(ae,{icon:t,size:"xs"})}),d.jsx("div",{style:{position:"absolute",bottom:"2px",left:"2px",right:"2px",height:"3px",backgroundColor:e||"#ffffff",borderRadius:"1px"}})]})})})},Ps=()=>d.jsx("div",{className:a7}),pj=({onEmojiSelect:t,title:e})=>{const[n,i]=K.useState(!1),r=s=>{t(s),i(!1)};return d.jsx(pr,{content:d.jsx("div",{style:{border:"none",maxHeight:"300px",overflow:"auto"},onClick:s=>s.stopPropagation(),children:d.jsx(X7,{data:u7,onEmojiSelect:r,theme:"light",set:"native",skinTonePosition:"none",perLine:8,maxFrequentRows:2})}),trigger:"click",placement:"bottom",arrow:!1,overlayClassName:"tiptap-emoji-popover",title:e,open:n,onOpenChange:i,children:d.jsx("span",{children:d.jsx(xn,{title:e,onClick:()=>i(!n),children:d.jsx(ae,{icon:aw,size:"xs"})})})})},mj=({editor:t,title:e})=>{const[n,i]=K.useState(!1),[r,s]=K.useState("url"),[o,a]=K.useState(""),l=()=>{const{href:p}=t.getAttributes("link");return p||""},f=t.isActive("link");K.useEffect(()=>{if(n){const p=l();p?(a(p),p.startsWith("mailto:")?(s("email"),a(p.replace("mailto:",""))):p.startsWith("tel:")?(s("phone"),a(p.replace("tel:",""))):p.startsWith("#")?(s("anchor"),a(p.replace("#",""))):(s("url"),a(p))):(a(""),s("url"))}},[n,f]);const c=()=>{o.trim()?hj(t,o,r):t.chain().focus().unsetLink().run(),i(!1),a("")},u=()=>{t.chain().focus().unsetLink().run(),i(!1),a("")},h=[{value:"url",label:"URL"},{value:"email",label:"Email"},{value:"phone",label:"Phone"},{value:"anchor",label:"Anchor"}],m=()=>{switch(r){case"email":return"[email protected] or {{ contact.email }}";case"phone":return"+1234567890 or {{ contact.phone }}";case"anchor":return"section-name";default:return"https://example.com or {{ url }}"}};return d.jsx(pr,{content:d.jsxs("div",{style:{width:"300px",padding:"8px"},children:[d.jsxs("div",{style:{marginBottom:"12px"},children:[d.jsx("label",{style:{display:"block",marginBottom:"4px",fontSize:"14px",fontWeight:"500"},children:"Link Type"}),d.jsx(re,{value:r,onChange:s,options:h,style:{width:"100%"},size:"small"})]}),d.jsxs("div",{style:{marginBottom:"12px"},children:[d.jsx("label",{style:{display:"block",marginBottom:"4px",fontSize:"14px",fontWeight:"500"},children:r==="url"?"URL":r==="email"?"Email Address":r==="phone"?"Phone Number":"Anchor ID"}),d.jsx(We,{value:o,onChange:p=>a(p.target.value),placeholder:m(),size:"small",onPressEnter:c})]}),d.jsxs("div",{style:{display:"flex",gap:"8px",justifyContent:"flex-end"},children:[d.jsx(Ee,{size:"small",onClick:()=>i(!1),children:"Cancel"}),f&&d.jsx(Ee,{size:"small",onClick:u,danger:!0,children:"Remove Link"}),d.jsx(Ee,{size:"small",type:"primary",onClick:c,children:f?"Update Link":"Insert Link"})]})]}),trigger:"click",arrow:!1,overlayClassName:"tiptap-link-popover",title:"Insert Link",open:n,onOpenChange:i,children:d.jsx("span",{children:d.jsx(xn,{title:e,isActive:f,onClick:()=>i(!n),children:d.jsx(ae,{icon:lw,size:"xs"})})})})},fk=({editor:t,buttons:e,mode:n="rich"})=>{const i=gi();if(!t)return null;const s=e||["undo","redo","bold","italic","underline","strikethrough","textColor","backgroundColor","emoji","link","superscript","subscript"],o=p=>i&&(p==="superscript"||p==="subscript")?!1:s.includes(p),a=i?4:"small",l=()=>cj(t),f=()=>uj(t),c=p=>{dj(t,p,n)},u=p=>{fj(t,p,n)},h=p=>{t.chain().focus().insertContent(p.native).run()},m=p=>n==="inline"?()=>nj(t,p):()=>tj(t,p);return d.jsxs("span",{style:r7,className:`${s7} tiptap-toolbar`,children:[(o("undo")||o("redo"))&&d.jsxs(d.Fragment,{children:[d.jsxs(ai,{size:a,children:[o("undo")&&d.jsx(xn,{onClick:()=>
959t.chain().focus().undo().run(),disabled:!t.can().chain().focus().undo().run(),title:"Undo",children:d.jsx(ae,{icon:Z2,size:"xs"})}),o("redo")&&d.jsx(xn,{onClick:()=>t.chain().focus().redo().run(),disabled:!t.can().chain().focus().redo().run(),title:"Redo",children:d.jsx(ae,{icon:X2,size:"xs"})})]}),d.jsx(Ps,{})]}),(o("bold")||o("italic")||o("underline")||o("strikethrough"))&&d.jsxs(d.Fragment,{children:[d.jsxs(ai,{size:a,children:[o("bold")&&d.jsx(xn,{onClick:m(()=>t.chain().focus().toggleBold().run()),disabled:!t.can().chain().focus().toggleBold().run(),isActive:t.isActive("bold"),title:"Bold",children:d.jsx(ae,{icon:ew,size:"xs"})}),o("italic")&&d.jsx(xn,{onClick:m(()=>t.chain().focus().toggleItalic().run()),disabled:!t.can().chain().focus().toggleItalic().run(),isActive:t.isActive("italic"),title:"Italic",children:d.jsx(ae,{icon:tw,size:"xs"})}),o("underline")&&d.jsx(xn,{onClick:m(()=>t.chain().focus().toggleUnderline().run()),disabled:!t.can().chain().focus().toggleUnderline().run(),isActive:t.isActive("underline"),title:"Underline",children:d.jsx(ae,{icon:nw,size:"xs"})}),o("strikethrough")&&d.jsx(xn,{onClick:m(()=>t.chain().focus().toggleStrike().run()),disabled:!t.can().chain().focus().toggleStrike().run(),isActive:t.isActive("strike"),title:"Strikethrough",children:d.jsx(ae,{icon:iw,size:"xs"})})]}),d.jsx(Ps,{})]}),(o("textColor")||o("backgroundColor"))&&d.jsxs(d.Fragment,{children:[d.jsxs(ai,{size:a,children:[o("textColor")&&d.jsx(lm,{icon:jo,currentColor:l(),onColorChange:c,title:"Text Color",isActive:!!l()}),o("backgroundColor")&&d.jsx(lm,{icon:rw,currentColor:f(),onColorChange:u,title:"Background Color",isActive:!!f()})]}),d.jsx(Ps,{})]}),o("emoji")&&d.jsxs(d.Fragment,{children:[d.jsx(ai,{size:a,children:d.jsx(pj,{onEmojiSelect:h,title:"Insert Emoji"})}),d.jsx(Ps,{})]}),o("link")&&d.jsxs(d.Fragment,{children:[d.jsx(ai,{size:a,children:d.jsx(mj,{editor:t,title:"Insert Link"})}),d.jsx(Ps,{})]}),(o("superscript")||o("subscript"))&&d.jsx(d.Fragment,{children:d.jsxs(ai,{size:a,children:[o("superscript")&&d.jsx(xn,{onClick:m(()=>t.chain().focus().toggleSuperscript().run()),isActive:t.isActive("superscript"),title:"Superscript",children:d.jsx(ae,{icon:sw,size:"xs"})}),o("subscript")&&d.jsx(xn,{onClick:m(()=>t.chain().focus().toggleSubscript().run()),isActive:t.isActive("subscript"),title:"Subscript",children:d.jsx(ae,{icon:ow,size:"xs"})})]})})]})},gj=({content:t="",onChange:e,readOnly:n=!1,placeholder:i="Start writing...",autoFocus:r=!1,buttons:s,containerStyle:o})=>{const a=k.useRef(!1);k.useEffect(()=>{Ly()},[]);const l=k.useCallback(c=>{e&&!n&&!a.current&&e(c)},[e,n]),f=Eb({extensions:n7(),content:am(t),editable:!n,editorProps:{attributes:{"data-placeholder":i}},onUpdate:({editor:c})=>{const u=c.getHTML();l(u)}},[l,n,i]);return k.useEffect(()=>{if(f&&t!==f.getHTML()){a.current=!0;const c=am(t);try{f.commands.setContent(c,!1)}catch(u){console.error("Error setting content in rich editor:",u);try{const h=document.createElement("div");h.innerHTML=c;const m=h.textContent||h.innerText||"";f.commands.setContent(`<p>${m}</p>`,!1),console.warn("Fell back to text-only content due to parsing error")}catch(h){console.error("Fallback content extraction also failed:",h)}}setTimeout(()=>{a.current=!1},0)}},[t,f]),k.useEffect(()=>{f&&f.setEditable(!n)},[n,f]),k.useEffect(()=>{if(f&&r&&!n){const c=setTimeout(()=>{f.commands.focus("end")},50);return()=>clearTimeout(c)}},[f,r,n]),f?d.jsxs("div",{style:o,children:[!n&&d.jsx(fk,{editor:f,buttons:s,mode:"rich"}),d.jsx(qu,{editor:f,style:{border:"none",outline:"none"}})]}):null},vj=({content:t="",onChange:e,readOnly:n=!1,placeholder:i="Start typing...",autoFocus:r=!1,buttons:s,containerStyle:o})=>{const a=k.useRef(!1);k.useEffect(()=>{Ly()},[]);const l=k.useCallback(c=>{if(e&&!n&&!a.current){const u=om(c);e(u)}},[e,n]),f=Eb({extensions:i7(),content:rj(t),editable:!n,editorProps:{attributes:{"data-placeholder":i,"data-inline-mode":"true"}},onUpdate:({editor:c})=>{const u=c.getHTML();l(u)}},[l,n,i]);return k.useEffect(()=>{if(f){const c=f.getHTML(),u=om(c);if(t!==u){a.current=!0;const m=ij(t);try{f.commands.setContent(m,!1)}catch(p){console.error("Error setting content in inline editor:",p);try{const g=document.createElement("div");g.innerHTML=t;const b=`<span data-inline-doc="">${g.textContent||g.innerText||""}</span>`;f.commands.setContent(b,!1),console.warn("Fell back to text-only content due to parsing error")}catch(g){console.error("Fallback content extraction also failed:",g)}}setTimeout(()=>{a.current=!1},0)}}},[t,f]),k.useEffect(()=>{f&&f.setEditable(!n)},[n,f]),k.useEffect(()=>{if(f&&r&&!n){const c=setTimeout(()=>{f.commands.focus("end")},50);return()=>clearTimeout(c)}},[f,r,n]),f?d.jsxs("div",{style:o,children:[!n&&d.jsx(fk,{editor:f,buttons:s,mode:"inline"}),d.jsx(qu,{editor:f,style:{border:"none",outline:"none"}})]}):null},bj=(t,e,n,i)=>{const[r,s]=K.useState(t),[o,a]=K.useState(!1),l=K.useRef(void 0),f=K.useRef(t),c=K.useRef(null);K.useEffect(()=>{!o&&t!==f.current&&(s(t),f.current=t)}
959,[t,o]),K.useEffect(()=>{o&&!c.current&&i&&n?c.current={blockData:JSON.parse(JSON.stringify(i)),onUpdateBlock:n}:o||(c.current=null)},[o,i,n]);const u=K.useCallback(p=>{l.current&&clearTimeout(l.current),l.current=window.setTimeout(()=>{const g=c.current;if(g&&p!==f.current){const v={...g.blockData,content:p};g.onUpdateBlock(e,v),f.current=p}a(!1)},500)},[e]),h=K.useCallback(p=>{s(p),a(!0),u(p)},[u]),m=K.useCallback(()=>{l.current&&(clearTimeout(l.current),l.current=void 0);const p=c.current;if(p&&r!==f.current){const g={...p.blockData,content:r};p.onUpdateBlock(e,g),f.current=r}a(!1)},[e,r]);return K.useEffect(()=>()=>{l.current&&(clearTimeout(l.current),l.current=void 0)},[]),{localContent:r,handleContentChange:h,handleSave:m,isEditing:o}};class yj extends lt{getIcon(){return d.jsx(ae,{icon:jo,className:"opacity-70"})}getLabel(){return"Text"}getDescription(){return d.jsxs("div",{children:[d.jsx("div",{style:{marginBottom:8},children:"Add paragraphs, headings, and formatted text content"}),d.jsx("div",{style:{opacity:.7},children:d.jsxs("div",{style:{width:60,height:30,border:"2px solid #722ed1",borderRadius:4,backgroundColor:"#f9f0ff",padding:4},children:[d.jsx("div",{style:{height:3,backgroundColor:"#722ed1",marginBottom:2,borderRadius:1}}),d.jsx("div",{style:{height:2,backgroundColor:"#d3adf7",marginBottom:1,borderRadius:1,width:"80%"}}),d.jsx("div",{style:{height:2,backgroundColor:"#d3adf7",borderRadius:1,width:"60%"}}),d.jsx(ae,{icon:jo,style:{position:"absolute",marginTop:-25,marginLeft:40,fontSize:10,color:"#722ed1"}})]})})]})}getCategory(){return"content"}getDefaults(){return{...qe["mj-text"]||{},content:"<p>Start typing your content...</p>"}}canHaveChildren(){return!1}getValidChildTypes(){return[]}renderSettingsPanel(e,n,i){const r=this.block.attributes,s=[];return i&&S.findAllBlocksByType(i,"mj-font").forEach(a=>{const l=a.attributes;l?.name&&l?.href&&s.push({name:l.name,href:l.href})}),d.jsxs(dt,{title:"Text Attributes",children:[d.jsx(P,{label:"Colors",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Text"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(Tt,{value:r.color||void 0,onChange:o=>e({color:o||void 0})})})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Container"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(Tt,{value:r.containerBackgroundColor||void 0,onChange:o=>e({containerBackgroundColor:o||void 0}),placeholder:"None"})})]})})]})}),d.jsx(P,{label:"Font Styling",layout:"vertical",children:d.jsx(wu,{value:{fontFamily:r.fontFamily,fontSize:r.fontSize,fontWeight:r.fontWeight,fontStyle:r.fontStyle,textTransform:r.textTransform,textDecoration:r.textDecoration,lineHeight:r.lineHeight,letterSpacing:r.letterSpacing,textAlign:r.align},defaultValue:{fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:n.fontWeight,fontStyle:n.fontStyle,textTransform:n.textTransform||"none",textDecoration:n.textDecoration,lineHeight:n.lineHeight,letterSpacing:n.letterSpacing,textAlign:n.align},onChange:o=>{e({fontFamily:o.fontFamily,fontSize:o.fontSize,fontWeight:o.fontWeight,fontStyle:o.fontStyle,textTransform:o.textTransform,textDecoration:o.textDecoration,lineHeight:o.lineHeight,letterSpacing:o.letterSpacing,align:o.textAlign})},importedFonts:s})}),d.jsx(P,{label:"Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:o=>{e({paddingTop:o.top,paddingRight:o.right,paddingBottom:o.bottom,paddingLeft:o.left})}})}),d.jsx(P,{label:"Height",children:d.jsx(l0,{value:r.height,onChange:o=>e({height:o})})}),d.jsx(P,{label:"CSS Class",children:d.jsx(st,{value:r.cssClass||"",onChange:o=>e({cssClass:o||void 0}),placeholder:"Enter CSS class name"})})]})}getEdit(e){return d.jsx(kj,{block:this.block,...e})}}const kj=({block:t,selectedBlockId:e,onSelectBlock:n,onUpdateBlock:i,onCloneBlock:r,onDeleteBlock:s,attributeDefaults:o,onSaveBlock:a,savedBlocks:l})=>{const f=t.id,c=e===t.id,u=`email-block-hover email-text-preview ${c?"selected":""}`.trim(),h=c?{position:"relative",zIndex:10}:{},m=C=>{C.stopPropagation(),n&&n(t.id)},p=S.mergeWithAllDefaults("mj-text",t.attributes,o),g={padding:`${p.paddingTop} ${p.paddingRight} ${p.paddingBottom} ${p.paddingLeft}`,color:p.color,fontSize:p.fontSize,fontFamily:p.fontFamily,fontWeight:p.fontWeight,fontStyle:p.fontStyle,textAlign:p.align,lineHeight:p.lineHeight,textDecoration:p.textDecoration,textTransform:p.textTransform,letterSpacing:p.letterSpacing,backgroundColor:p.containerBackgroun
959dColor,height:p.height,width:p.width,verticalAlign:p.verticalAlign,...h},v="content"in t?t.content:void 0,b=typeof v=="string"?v:"<p>Start typing your content...</p>",{localContent:w,handleContentChange:A,handleSave:y}=bj(b,t.id,i,t),x=K.useRef(c);return K.useEffect(()=>{x.current&&!c&&y(),x.current=c},[c,y]),d.jsx("div",{className:u,onClick:m,style:{position:"relative"},"data-block-id":t.id,children:c?d.jsx("div",{style:{position:"relative",border:"none",...g,outline:"none",cursor:"text"},children:d.jsx(gj,{content:w,onChange:A,readOnly:!c,autoFocus:c})}):d.jsx("div",{style:g,dangerouslySetInnerHTML:{__html:w},onClick:C=>{const _=C.target;(_.tagName==="A"||_.closest("a"))&&(C.preventDefault(),C.stopPropagation(),n&&n(t.id))}})},f)},wj=(t,e,n,i)=>{const[r,s]=K.useState(t),[o,a]=K.useState(!1),l=K.useRef(void 0),f=K.useRef(t),c=K.useRef(null);K.useEffect(()=>{!o&&t!==f.current&&(s(t),f.current=t)},[t,o]),K.useEffect(()=>{o&&!c.current&&i&&n?c.current={blockData:JSON.parse(JSON.stringify(i)),onUpdateBlock:n}:o||(c.current=null)},[o,i,n]);const u=K.useCallback(p=>{l.current&&clearTimeout(l.current),l.current=window.setTimeout(()=>{const g=c.current;if(g&&p!==f.current){const v={...g.blockData,content:p};g.onUpdateBlock(e,v),f.current=p}a(!1)},500)},[e]),h=K.useCallback(p=>{s(p),a(!0),u(p)},[u]),m=K.useCallback(()=>{l.current&&(clearTimeout(l.current),l.current=void 0);const p=c.current;if(p&&r!==f.current){const g={...p.blockData,content:r};p.onUpdateBlock(e,g),f.current=r}a(!1)},[e,r]);return K.useEffect(()=>()=>{l.current&&(clearTimeout(l.current),l.current=void 0)},[]),{localContent:r,handleContentChange:h,handleSave:m,isEditing:o}};class Aj extends lt{getIcon(){return d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa",children:[d.jsx("path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"}),d.jsx("path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6"})]})}getLabel(){return"Button"}getDescription(){return"Interactive call-to-action buttons with customizable styling"}getCategory(){return"content"}getDefaults(){return qe["mj-button"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}renderSettingsPanel(e,n,i){const r=this.block.attributes,s=[];return i&&S.findAllBlocksByType(i,"mj-font").forEach(a=>{const l=a.attributes;l?.name&&l?.href&&s.push({name:l.name,href:l.href})}),d.jsxs(dt,{title:"Button Attributes",children:[d.jsx(P,{label:"Link URL",children:d.jsx(st,{value:r.href||"",onChange:o=>e({href:o||void 0}),placeholder:"Enter button link URL or {{ url }}",buttonText:"Set link",validateUri:!0})}),d.jsx(P,{label:"Colors",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Backgroun
959d"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(Tt,{value:r.backgroundColor||void 0,onChange:o=>e({backgroundColor:o||void 0})})})]})}),d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Text"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(Tt,{value:r.color||void 0,onChange:o=>e({color:o||void 0})})})]})}),d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Container"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(Tt,{value:r.containerBackgroundColor||void 0,onChange:o=>e({containerBackgroundColor:o||void 0}),placeholder:"None"})})]})})]})}),d.jsx(P,{label:"Border radius",children:d.jsx(mr,{value:r.borderRadius,onChange:o=>e({borderRadius:o}),defaultValue:n.borderRadius})}),d.jsx(P,{label:"Button Align",children:d.jsx(js,{value:r.align||"center",onChange:o=>e({align:o})})}),d.jsx(P,{label:"Font Styling",layout:"vertical",children:d.jsx(wu,{value:{fontFamily:r.fontFamily,fontSize:r.fontSize,fontWeight:r.fontWeight,fontStyle:r.fontStyle,textTransform:r.textTransform,textDecoration:r.textDecoration,lineHeight:r.lineHeight,letterSpacing:r.letterSpacing,textAlign:r.textAlign},defaultValue:{fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:n.fontWeight,fontStyle:n.fontStyle,textTransform:n.textTransform||"none",textDecoration:n.textDecoration,lineHeight:n.lineHeight,letterSpacing:n.letterSpacing,textAlign:n.textAlign},onChange:o=>{e({fontFamily:o.fontFamily,fontSize:o.fontSize,fontWeight:o.fontWeight,fontStyle:o.fontStyle,textTransform:o.textTransform,textDecoration:o.textDecoration,lineHeight:o.lineHeight,letterSpacing:o.letterSpacing,textAlign:o.textAlign})},importedFonts:s})}),d.jsx(P,{label:"Button Padding",layout:"vertical",children:d.jsx(En,{value:r.innerPadding,defaultValue:n.innerPadding,onChange:o=>{e({innerPadding:o})}})}),d.jsx(P,{label:"Container Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:o=>{e({paddingTop:o.top,paddingRight:o.right,paddingBottom:o.bottom,paddingLeft:o.left})}})}),d.jsx(P,{label:"Border",layout:"vertical",children:d.jsx(ls,{className:"-mt-6",value:{borderTop:r.borderTop,borderRight:r.borderRight,borderBottom:r.borderBottom,borderLeft:r.borderLeft},onChange:o=>{e({borderTop:o.borderTop,borderRight:o.borderRight,borderBottom:o.borderBottom,borderLeft:o.borderLeft})}})}),d.jsx(P,{label:"Button Size",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Width"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(et,{size:"small",value:this.parseWidthNumber(r.width),onChange:o=>e({width:o?`${o}px`:void 0}),placeholder:(this.parseWidthNumber(n.width)||"Auto").toString(),min:0,max:1e3,step:1,suffix:"px",style:{width:"100%"}})})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Height"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(et,{size:"small",value:this.parseHeightNumber(r.height),onChange:o=>e({height:o?`${o}px`:void 0}),placeholder:(this.parseHeightNumber(n.height)||"Auto").toString(),min:0,max:1e3,step:1,suffix:"px",style:{width:"100%"}})})]})})]})}),d.jsx(P,{label:"CSS Class",children:d.jsx(st,{value:r.cssClass||"",onChange:o=>e({cssClass:o||void 0}),placeholder:"Enter CSS class name"})})]})}parseHeightNumber(e){if(!e)return;const n=e.match(/^(\d+(?:\.\d+)?)px?$/);return n?parseFloat(n[1]):void 0}parseWidthNumber(e){if(!e)return;const n=e.match(/^(\d+(?:\.\d+)?)px?$/);return n?parseFloat(n[1]):void 0}getEdit(e){return d.jsx(xj,{block:this.block,...e})}}const xj=({block:t,selectedBlockId:e,onSelectBlock:n,onUpdateBlock:i,onCloneBlock:r,onDeleteBlock:s,attributeDefaults:o,onSaveBlock:a,savedBlocks:l})=>{const f=t.id,c=e===t.id,u=`email-block-hover ${c?"selected":""}`.trim(),h=c?{position:"relative",zIndex:10}:{},m=I=>{I.stopPropagation(),n&&n(t.id)},p=S.mergeWithAllDefaults("mj-button",t.attributes,o),g={padding:`${p.paddingTop||"10px"} ${p.paddingRight||"25px"} ${p.paddingBottom||"10px"} ${p.paddingLeft||"25px"}`,textAlign:p.align||"center",backgroundColor:p.containerBackgroun
959dColor,fontSize:"0px",verticalAlign:"middle",wordBreak:"break-word",...h},v={display:"inline-block",verticalAlign:"top",borderCollapse:"separate",lineHeight:"100%"},b={display:"inline-block",margin:"0",padding:p.innerPadding||"10px 25px",backgroundColor:p.backgroundColor,cursor:"pointer",fontFamily:p.fontFamily,fontSize:p.fontSize,fontWeight:p.fontWeight,fontStyle:p.fontStyle,lineHeight:p.lineHeight||"120%",letterSpacing:p.letterSpacing,textTransform:p.textTransform,textDecoration:p.textDecoration||"none",textAlign:p.textAlign,verticalAlign:p.verticalAlign,width:p.width,height:p.height,border:p.border||"none",borderTop:p.borderTop,borderRight:p.borderRight,borderBottom:p.borderBottom,borderLeft:p.borderLeft,borderRadius:p.borderRadius},w="content"in t?t.content:void 0,A=typeof w=="string"?w:"Button",{localContent:y,handleContentChange:x,handleSave:C}=wj(A,t.id,i,t),_=K.useRef(c);K.useEffect(()=>{_.current&&!c&&C(),_.current=c},[c,C]);const j={color:p.color,fontFamily:p.fontFamily,fontSize:p.fontSize,fontWeight:p.fontWeight,fontStyle:p.fontStyle,lineHeight:p.lineHeight||"120%",letterSpacing:p.letterSpacing,textTransform:p.textTransform,textDecoration:p.textDecoration||"none",textAlign:p.textAlign,backgroundColor:"transparent",border:"none",outline:"none",width:"100%",minHeight:"1em"};return d.jsx("div",{style:{...g,position:"relative"},className:u,onClick:m,"data-block-id":t.id,children:d.jsx("div",{style:v,children:d.jsx("div",{style:b,children:c?d.jsx("span",{style:{border:"none",...j,outline:"none",cursor:"text"},children:d.jsx(vj,{content:y,onChange:x,readOnly:!c,autoFocus:c,placeholder:"Enter button text...",buttons:["undo","redo","bold","italic","underline","strikethrough","textColor","backgroundColor","emoji","superscript","subscript"]})}):d.jsx("span",{style:{color:p.color},dangerouslySetInnerHTML:{__html:y}})})})},f)};class _j extends lt{getIcon(){return d.jsx(ae,{icon:Bh,className:"opacity-70"})}getLabel(){return"Image"}getDescription(){return d.jsxs("div",{children:[d.jsx("div",{style:{marginBottom:8},children:"Display images, logos, and visual content"}),d.jsx("div",{style:{opacity:.7},children:d.jsx("div",{style:{width:60,height:30,border:"2px solid #13c2c2",borderRadius:4,backgroundColor:"#e6fffb",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:d.jsx("div",{style:{width:40,height:20,backgroundColor:"#87e8de",borderRadius:2,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx(ae,{icon:Bh,style:{fontSize:10,color:"#13c2c2"}})})})})]})}getCategory(){return"content"}getDefaults(){return qe["mj-image"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,onCloneBlock:r,onDeleteBlock:s,attributeDefaults:o,onSaveBlock:a,savedBlocks:l}=e,f=this.block.id,c=n===this.block.id,u=`email-block-hover ${c?"selected":""}`.trim(),h=c?{position:"relative",zIndex:10}:{},m=x=>{x.stopPropagation(),i&&i(this.block.id)},p=S.mergeWithAllDefaults("mj-image",this.block.attributes,o),g={fontSize:"0px",padding:`${p.paddingTop||"10px"} ${p.paddingRight||"25px"} ${p.paddingBottom||"10px"} ${p.paddingLeft||"25px"}`,wordBreak:"break-word",backgroundColor:p.containerBackgroundColor,textAlign:p.align,...h},v={borderCollapse:"collapse",borderSpacing:"0px",display:"inline-block"},b={width:p.width},w={border:p.border||"none",borderTop:p.borderTop,borderRight:p.borderRight,borderBottom:p.borderBottom,borderLeft:p.borderLeft,borderRadius:p.borderRadius,display:"block",outline:"none",textDecoration:"none",height:p.height||"auto",width:"100%",fontSize:"13px"},A=d.jsx("img",{src:p.src||"https://via.placeholder.com/300x200",alt:p.alt||"",title:p.title,useMap:p.usemap,sizes:p.sizes,srcSet:p.srcset,style:w,width:p.width?parseInt(p.width):void 0,height:p.height&&p.height!=="auto"?parseInt(p.height):void 0}),y=p.href?d.jsx("a",{href:p.href,target:p.target||"_blank",rel:p.rel,style:{textDecoration:"none",display:"block",borderRadius:p.borderRadius,overflow:"hidden"},children:A}):A;return d.jsx("div",{className:`${p.cssClass||""} ${u}`.trim(),onClick:m,style:{...g,position:"relative"},"data-block-id":this.block.id,children:d.jsx("table",{border:0,cellPadding:"0",cellSpacing:"0",role:"presentation",style:v,children:d.jsx("tbody",{children:d.jsx("tr",{children:d.jsx("td",{style:b,children:y})})})})},f)}renderSettingsPanel(e,n,i){const r=this.block.attributes;return d.jsxs(dt,{title:"Image Attributes",children:[d.jsx(P,{label:"Image",className:"mt-0",layout:"vertical",children:d.jsx(a0,{size:"small",value:r.src||"",onChange:s=>e({src:s||void 0}),placeholder:"Enter image URL",acceptFileType:"image/*",acceptItem:s=>!s.is_folder&&s.file_info?.content_type?.startsWith("image/"),buttonText:"Browse Images",contextImages:F2(i)})}),d.jsx(P,{label:"Link",children:d.jsx(st,{value:r.href||"",onChange:s=>e({href:s||void 0}),placeholder:"Enter link URL or {{ url }}",buttonText:"Set link",validateUri:!0})}),d.jsx(P,{label:"Alt text",children:d.jsx(st,{value:r.alt||"",onChange:s=>e({alt:s||void 0}),placeholder:"Alternative text"})}),d.jsx(P,{label:"Align",children:d.jsx(js,{value:r.align||"center",onChange:s=>e({align:s})})}),d.jsx(P,{label:"Width",children:d.jsx(o0,{value:r.width,onChange:s=>e({width:s}),placeholder:n.width||"Auto"})}),d.jsx(P,{label:"Full width on mobile",help:'If "true", will be full width on mobile even if width is set',children:d.jsx(_n,{size:"small",checked:r.fluidOnMobile==="true",onCh
959ange:s=>e({fluidOnMobile:s?"true":void 0})})}),d.jsx(P,{label:"Height",children:d.jsx(l0,{value:r.height,onChange:s=>e({height:s}),placeholder:n.height||"Auto"})}),d.jsx(P,{label:"Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:s=>{e({paddingTop:s.top,paddingRight:s.right,paddingBottom:s.bottom,paddingLeft:s.left})}})}),d.jsx(P,{label:"Container Background",children:d.jsx(Tt,{value:r.containerBackgroundColor||void 0,onChange:s=>{e({containerBackgroundColor:s||void 0})}})}),d.jsx(P,{label:"Border Radius",children:d.jsx(mr,{value:r.borderRadius,onChange:s=>e({borderRadius:s}),defaultValue:n.borderRadius})}),d.jsx(P,{label:"Border",layout:"vertical",children:d.jsx(ls,{className:"-mt-6",value:{borderTop:r.borderTop,borderRight:r.borderRight,borderBottom:r.borderBottom,borderLeft:r.borderLeft},onChange:s=>{e({borderTop:s.borderTop,borderRight:s.borderRight,borderBottom:s.borderBottom,borderLeft:s.borderLeft})}})}),d.jsx(P,{label:"CSS Class",children:d.jsx(st,{value:r.cssClass||"",onChange:s=>e({cssClass:s||void 0}),placeholder:"Enter CSS class name"})})]})}}const ck=({value:t,onChange:e,placeholder:n="Enter width"})=>{const[i,r]=k.useState(),[s,o]=k.useState("%");k.useEffect(()=>{if(t){const f=t.match(/^(\d+(?:\.\d+)?)(px|%)$/);if(f)r(parseFloat(f[1])),o(f[2]);else{const c=parseFloat(t);isNaN(c)?(r(void 0),o("%")):(r(c),o("%"))}}else r(void 0),o("%")},[t]);const a=f=>{r(f||void 0),e(f?`${f}${s}`:void 0)},l=f=>{const c=f;o(c),i&&e(`${i}${c}`)};return d.jsxs("div",{className:"flex items-center gap-1",children:[d.jsx(et,{size:"small",value:i,onChange:a,placeholder:n,min:0,step:s==="%"?1:10,className:"flex-1",style:{width:80}}),d.jsx(Ar,{size:"small",value:s,onChange:l,options:[{label:"%",value:"%"},{label:"px",value:"px"}],style:{width:70}})]})};class Cj extends lt{getIcon(){return d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa",children:d.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"})})}getLabel(){return"Divider"}getDescription(){return"Horizontal divider line to separate content sections"}getCategory(){return"content"}getDefaults(){return qe["mj-divider"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}renderSettingsPanel(e,n,i){const r=this.block.attributes;return d.jsxs(dt,{title:"Divider Attributes",children:[d.jsx(P,{label:"Border Style",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Color"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(Tt,{value:r.borderColor||void 0,onChange:s=>e({borderColor:s||void 0})})})]})}),d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Style"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsxs(re,{size:"small",value:r.borderStyle||"solid",onChange:s=>e({borderStyle:s}),style:{width:"100%"},children:[d.jsx(re.Option,{value:"solid",children:"Solid"}),d.jsx(re.Option,{value:"dashed",children:"Dashed"}),d.jsx(re.Option,{value:"dotted",children:"Dotted"})]})})]})}),d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Width"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(et,{size:"small",value:this.parsePixelValue(r.borderWidth),onChange:s=>e({borderWidth:s?`${s}px`:void 0}),placeholder:(this.parsePixelValue(n.borderWidth)||4).toString(),min:0,max:50,step:1,suffix:"px",style:{width:"100%"}})})]})})]})}),d.jsx(P,{label:"Divider Width",children:d.jsx(ck,{value:r.width,onChange:s=>e({width:s}),placeholder:n.width||"Auto"})}),d.jsx(P,{label:"Container Background",children:d.jsx(Tt,{value:r.containerBackgroundColor||void 0,onChange:s=>
959e({containerBackgroundColor:s||void 0}),placeholder:"Transparent"})}),d.jsx(P,{label:"Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:s=>{e({paddingTop:s.top,paddingRight:s.right,paddingBottom:s.bottom,paddingLeft:s.left})}})}),d.jsx(P,{label:"Alignment",children:d.jsx(js,{value:r.align||"center",onChange:s=>e({align:s})})}),d.jsx(P,{label:"CSS Class",children:d.jsx(st,{value:r.cssClass||"",onChange:s=>e({cssClass:s||void 0}),placeholder:"Enter CSS class name"})})]})}parsePixelValue(e){if(!e)return;const n=e.match(/^(\d+(?:\.\d+)?)px?$/);return n?parseFloat(n[1]):void 0}parseWidthNumber(e){if(!e)return;const n=e.match(/^(\d+(?:\.\d+)?)px?$/);return n?parseFloat(n[1]):void 0}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,attributeDefaults:r}=e,s=this.block.id,o=n===this.block.id,a=`email-block-hover ${o?"selected":""}`.trim(),l=o?{position:"relative",zIndex:10}:{},f=m=>{m.stopPropagation(),i&&i(this.block.id)},c=S.mergeWithAllDefaults("mj-divider",this.block.attributes,r),u={padding:`${c.paddingTop||"10px"} ${c.paddingRight||"25px"} ${c.paddingBottom||"10px"} ${c.paddingLeft||"25px"}`,backgroundColor:c.containerBackgroundColor,textAlign:c.align||"center",fontSize:"0px",...l},h={display:"inline-block",width:c.width||"100%",height:"0px",border:"none",borderTop:`${c.borderWidth||"4px"} ${c.borderStyle||"solid"} ${c.borderColor||"#000000"}`,margin:"0px",fontSize:"1px",lineHeight:"1px"};return d.jsx("div",{style:u,className:a,onClick:f,children:d.jsx("div",{style:h,children:"Â "})},s)}}class Sj extends lt{getIcon(){return d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa",children:[d.jsx("path",{d:"M12 22v-6"}),d.jsx("path",{d:"M12 8V2"}),d.jsx("path",{d:"M4 12H2"}),d.jsx("path",{d:"M10 12H8"}),d.jsx("path",{d:"M16 12h-2"}),d.jsx("path",{d:"M22 12h-2"}),d.jsx("path",{d:"m15 19-3 3-3-3"}),d.jsx("path",{d:"m15 5-3-3-3 3"})]})}getLabel(){return"Spacer"}getDescription(){return"Vertical spacing component to add space between content elements"}getCategory(){return"layout"}getDefaults(){return qe["mj-spacer"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}renderSettingsPanel(e,n,i){const r=this.block.attributes;return d.jsxs(dt,{title:"Spacer Attributes",children:[d.jsx(P,{label:"Height",children:d.jsx(et,{size:"small",value:this.parsePixelValue(r.height),onChange:s=>e({height:s?`${s}px`:void 0}),placeholder:(this.parsePixelValue(n.height)||20).toString(),min:0,max:500,step:1,suffix:"px",style:{width:"100%"}})}),d.jsx(P,{label:"Container Background",children:d.jsx(Tt,{value:r.containerBackgroundColor||void 0,onChange:s=>e({containerBackgroundColor:s||void 0}),placeholder:"Transparent"})}),d.jsx(P,{label:"Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:s=>{e({paddingTop:s.top,paddingRight:s.right,paddingBottom:s.bottom,paddingLeft:s.left})}})}),d.jsx(P,{label:"CSS Class",children:d.jsx(st,{value:r.cssClass||"",onChange:s=>e({cssClass:s||void 0}),placeholder:"Enter CSS class name"})})]})}parsePixelValue(e){if(!e)return;const n=e.match(/^(\d+(?:\.\d+)?)px?$/);return n?parseFloat(n[1]):void 0}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,onCloneBlock:r,onDeleteBlock:s,attributeDefaults:o,onSaveBlock:a,savedBlocks:l}=e,f=this.block.id,c=n===this.block.id,u=`email-block-hover ${c?"selected":""}`.trim(),h=c?{position:"relative",zIndex:10}:{},m=b=>{b.stopPropagation(),i&&i(this.block.id)},p=S.mergeWithAllDefaults("mj-spacer",this.block.attributes,o),g={padding:`${p.paddingTop||"0px"} ${p.paddingRight||"0px"} ${p.paddingBottom||"0px"} ${p.paddingLeft||"0px"}
959`,backgroundColor:p.containerBackgroundColor,fontSize:"0px",lineHeight:"0px",...h},v={display:"block",width:"100%",height:p.height||"20px",fontSize:"1px",lineHeight:"1px",backgroundColor:"transparent"};return d.jsx("div",{className:`${p.cssClass||""} ${u}`.trim(),onClick:m,style:{...g,position:"relative"},"data-block-id":this.block.id,children:d.jsx("div",{style:v,children:"Â "})},f)}}const jj={prefix:"fab",iconName:"google",icon:[488,512,[],"f1a0","M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"]},Ij={prefix:"fab",iconName:"xing",icon:[384,512,[],"f168","M162.7 210c-1.8 3.3-25.2 44.4-70.1 123.5-4.9 8.3-10.8 12.5-17.7 12.5H9.8c-7.7 0-12.1-7.5-8.5-14.4l69-121.3c.2 0 .2-.1 0-.3l-43.9-75.6c-4.3-7.8.3-14.1 8.5-14.1H100c7.3 0 13.3 4.1 18 12.2l44.7 77.5zM382.6 46.1l-144 253v.3L330.2 466c3.9 7.1.2 14.1-8.5 14.1h-65.2c-7.6 0-13.6-4-18-12.2l-92.4-168.5c3.3-5.8 51.5-90.8 144.8-255.2 4.6-8.1 10.4-12.2 17.5-12.2h65.7c8 0 12.3 6.7 8.5 14.1z"]},Bj={prefix:"fab",iconName:"soundcloud",icon:[640,512,[],"f1be","M639.8 298.6c-1.3 23.1-11.5 44.8-28.4 60.5s-39.2 24.4-62.3 24.1h-218c-4.8 0-9.4-2-12.8-5.4s-5.3-8-5.3-12.8V130.2c-.2-4 .9-8 3.1-11.4s5.3-6.1 9-7.7c0 0 20.1-13.9 62.3-13.9c25.8 0 51.1 6.9 73.3 20.1c17.3 10.2 32.3 23.8 44.1 40.1s20 34.8 24.2 54.4c7.5-2.1 15.3-3.2 23.1-3.2c11.7-.1 23.3 2.2 34.2 6.7S606.8 226.6 615 235s14.6 18.3 18.9 29.3s6.3 22.6 5.9 34.3zm-354-153.5c.1-1 0-2-.3-2.9s-.8-1.8-1.5-2.6s-1.5-1.3-2.4-1.7s-1.9-.6-2.9-.6s-2 .2-2.9 .6s-1.7 1-2.4 1.7s-1.2 1.6-1.5 2.6s-.4 1.9-.3 2.9c-6 78.9-10.6 152.9 0 231.6c.2 1.7 1 3.3 2.3 4.5s3 1.8 4.7 1.8s3.4-.6 4.7-1.8s2.1-2.8 2.3-4.5c11.3-79.4 6.6-152 0-231.6zm-44 27.3c-.2-1.8-1.1-3.5-2.4-4.7s-3.1-1.9-5-1.9s-3.6 .7-5 1.9s-2.2 2.9-2.4 4.7c-7.9 67.9-7.9 136.5 0 204.4c.3 1.8 1.2 3.4 2.5 4.5s3.1 1.8 4.8 1.8s3.5-.6 4.8-1.8s2.2-2.8 2.5-4.5c8.8-67.8 8.8-136.5 .1-204.4zm-44.3-6.9c-.2-1.8-1-3.4-2.3-4.6s-3-1.8-4.8-1.8s-3.5 .7-4.8 1.8s-2.1 2.8-2.3 4.6c-6.7 72-10.2 139.3 0 211.1c0 1.9 .7 3.7 2.1 5s3.1 2.1 5 2.1s3.7-.7 5-2.1s2.1-3.1 2.1-5c10.5-72.8 7.3-138.2 .1-211.1zm-44 20.6c0-1.9-.8-3.8-2.1-5.2s-3.2-2.1-5.2-2.1s-3.8 .8-5.2 2.1s-2.1 3.2-2.1 5.2c-8.1 63.3-8.1 127.5 0 190.8c.2 1.8 1 3.4 2.4 4.6s3.1 1.9 4.8 1.9s3.5-.7 4.8-1.9s2.2-2.8 2.4-4.6c8.8-63.3 8.9-127.5 .3-190.8zM109 233.7c0-1.9-.8-3.8-2.1-5.1s-3.2-2.1-5.1-2.1s-3.8 .8-5.1 2.1s-2.1 3.2-2.1 5.1c-10.5 49.2-5.5 93.9 .4 143.6c.3 1.6 1.1 3.1 2.3 4.2s2.8 1.7 4.5 1.7s3.2-.6 4.5-1.7s2.1-2.5 2.3-4.2c6.6-50.4 11.6-94.1 .4-143.6zm-44.1-7.5c-.2-1.8-1.1-3.5-2.4-4.8s-3.2-1.9-5-1.9s-3.6 .7-5 1.9s-2.2 2.9-2.4 4.8c-9.3 50.2-6.2 94.4 .3 144.5c.7 7.6 13.6 7.5 14.4 0c7.2-50.9 10.5-93.8 .3-144.5zM20.3 250.8c-.2-1.8-1.1-3.5-2.4-4.8s-3.2-1.9-5-1.9s-3.6 .7-5 1.9s-2.3 2.9-2.4 4.8c-8.5 33.7-5.9 61.6 .6 95.4c.2 1.7 1 3.3 2.3 4.4s2.9 1.8 4.7 1.8s3.4-.6 4.7-1.8s2.1-2.7 2.3-4.4c7.5-34.5 11.2-61.8 .4-95.4z"]},Ej={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},Mj={prefix:"fab",iconName:"vimeo",icon:[448,512,[],"f40a","M403.2 32H44.8C20.1 32 0 52.1 0 76.8v358.4C0 459.9 20.1 480 44.8 480h358.4c24.7 0 44.8-20.1 44.8-44.8V76.8c0-24.7-20.1-44.8-44.8-44.8zM377 180.8c-1.4 31.5-23.4 74.7-66 129.4-44 57.2-81.3 85.8-111.7 85.8-18.9 0-34.8-17.4-47.9-52.3-25.5-93.3-36.4-148-57.4-148-2.4 0-10.9 5.1-25.4 15.2l-15.2-19.6c37.3-32.8 72.9-69.2 95.2-71.2 25.2-2.4 40.7 14.8 46.5 51.7 20.7 131.2 29.9 151 67.6 91.6 13.5-21.4 20.8-37.7 21.8-48.9 3.5-33.2-25.9-30.9-45.8-22.4 15.9-52.1 46.3-77.4 91.2-76 33.3.9 49 22.5 47.1 64.7z"]},uk={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},Tj={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"]},Fj={prefix:"fab",iconName:"snapchat",icon:[512,512,[62124,"snapchat-ghost"],"f2ab","M496.926,366.6c-3.373-9.176-9.8-14.086-17.112-18.153-1.376-.806-2.641-1.451-3.72-1.947-2.182-1.128-4.414-2.22-6.634-3.373-22.8-12.09-40.609-27.341-52.959-45.42a102.889,102.889,0,0,1-9.089-16.12c-1.054-3.013-1-4.724-.248-6.287a10.221,10.221,0,0,1,2.914-3.038c3.918-2.591,7.96-5.22,10.7-6.993,4.885-3.162,8.754-5.667,11.246-7.44,9.362-6.547,15.909-13.5,20-21.278a42.371,42.371,0,0,0,2.1-35.191c-6.2-16.318-21.613-26.449-40.287-26.449a55.543,55.543,0,0,0-11.718,1.24c-1.029.224-2.059.459-3.063.72.174-11.16-.074-22.94-1.066-34.534-3.522-40.758-17.794-62.123-32.674-79.16A130.167,130.167,0,0,0,332.1,36.443C309.515,23.547,283.91,17,256,17S202.6,23.547,180,36.443a129.735,129.735,0,0,0-33.281,26.783c-14.88,17.038-29.152,38.44-32.673,79.161-.992,11.594-1.24,23.435-1.079,34.533-1-.26-2.021-.5-3.051-.719a55.461,55.461,0,0,0-11.717-1.24c-18.687,0-34.125,10.131-40.3,26.449a42.423,42.423,0,0,0,2.046,35.228c4.105,7.774,10.652,14.731,20.014,21.278,2.48,1.736,6.361,4.24,11.246,7.44,2.641,1.711,6.5,4.216,10.28,6.72a11.054,11.054,0,0,1,3.3,3.311c.794,1.624.818,3.373-.36,6.6a102.02,102.02,0,0,1-8.94,15.785c-12.077,17.669-29.363,32.648-51.434,44.639C32.355,348.608,20.2,352.75,15.069,366.7c-3.868,10.528-1.339,22.506,8.494,32.6a49.137,49.137,0,0,0,12.4,9.387,134.337,134.337,0,0,0,30.342,12.139,20.024,20.024,0,0,1,6.126,2.741c3.583,3.137,3.075,7.861,7.849,14.78a34.468,34.468,0,0,0,8.977,9.127c10.019,6.919,21.278,7.353,33.207,7.811,10.776.41,22.989.881,36.939,5.481,5.778,1.91,11.78,5.605,18.736,9.92C194.842,480.951,217.707,495,255.973,495s61.292-14.123,78.118-24.428c6.907-4.24,12.872-7.9,18.489-9.758,13.949-4.613,26.163-5.072,36.939-5.481,11.928-.459,23.187-.893,33.206-7.812a34.584,34.584,0,0,0,10.218-11.16c3.434-5.84,3.348-9.919,6.572-12.771a18.971,18.971,0,0,1,5.753-2.629A134.893,134.893,0,0,0,476.02,408.71a48.344,48.344,0,0,0,13.019-10.193l.124-.149C498.389,388.5,500.708,376.867,496.926,366.6Zm-34.013,18.277c-20.745,11.458-34.533,10.23-45.259,17.137-9.114,5.865-3.72,18.513-10.342,23.076-8.134,5.617-32.177-.4-63.239,9.858-25.618,8.469-41.961,32.822-88.038,32.822s-62.036-24.3-88.076-32.884c-31-10.255-55.092-4.241-63.239-9.858-6.609-4.563-1.24-17.211-10.341-23.076-10.739-6.907-24.527-5.679-45.26-17.075-13.206-7.291-5.716-11.8-1.314-13.937,75.143-36.381,87.133-92.552,87.666-96.719.645-5.046,1.364-9.014-4.191-14.148-5.369-4.96-29.189-19.7-35.8-24.316-10.937-7.638-15.748-15.264-12.2-24.638,2.48-6.485,8.531-8.928,14.879-8.928a27.643,27.643,0,0,1,5.965.67c12,2.6,23.659,8.617,30.392,10.242a10.749,10.749,0,0,0,2.48.335c3.6,0,4.86-1.811,4.612-5.927-.768-13.132-2.628-38.725-.558-62.644,2.84-32.909,13.442-49.215,26.04-63.636,6.051-6.932,34.484-36.976,88.857-36.976s82.88,29.92,88.931,36.827c12.611,14.421,23.225,30.727,26.04,63.636,2.071,23.919.285,49.525-.558,62.644-.285,4.327,1.017,5.927,4.613,5.927a10.648,10.648,0,0,0,2.48-.335c6.745-1.624,18.4-7.638,30.4-10.242a27.641,27.641,0,0,1,5.964-.67c6.386,0,12.4,2.48,14.88,8.928,3.546,9.374-1.24,17-12.189,24.639-6.609,4.612-30.429,19.343-35.8,24.315-5.568,5.134-4.836,9.1-4.191,14.149.533,4.228,12.511,60.4,87.666,96.718C468.629,373.011,476.119,377.524,462.913,384.877Z"]},Dj={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},Nj={prefix:"fab",iconName:"youtube",icon:[576,512,[61802],"f167","M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]},Rj={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},Lj={prefix:"fab",iconName:"pinterest",icon:[496,512,[],"f0d2","M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"]},Oj={prefix:"fab",iconName:"dribbble",icon:[512,512,[],"f17d","M256 8C119.252 8 8 119.252 8 256s111.252 248 248 248 248-111.252 248-248S392.748 8 256 8zm163.97 114.366c29.503 36.046 47.369 81.957 47.835 131.955-6.984-1.477-77.018-15.682-147.502-6.818-5.752-14.041-11.181-26.393-18.617-41.614 78.321-31.977 113.818-77.482 118.284-83.523zM396.421 97.87c-3.81 5.427-35.697 48.286-111.021 76.519-34.712-63.776-73.185-116.168-79.04-124.008 67.176-16.193 137.966 1.27 190.061 47.489zm-230.48-33.25c5.585 7.659 43.438 60.116 78.537 122.509-99.087 26.313-186.36 25.934-195.834 25.809C62.38 147.205 106.678 92.573 165.941 64.62zM44.17 256.323c0-2.166.043-4.322.108-6.473 9.268.19 111.92 1.513 217.706-30.146 6.064 11.868 11.857 23.915 17.174 35.949-76.599 21.575-146.194 83.527-180.531 142.306C64.794 360.405 44.17 310.73 44.17 256.323zm81.807 167.113c22.127-45.233 82.178-103.622 167.579-132.756 29.74 77.283 42.039 142.053 45.189 160.638-68.112 29.013-150.015 21.053-212.768-27.882zm248.38 8.489c-2.171-12.886-13.446-74.897-41.152-151.033 66.38-10.626 124.7 6.768 131.947 9.055-9.442 58.941-43.273 109.844-90.795 141.978z"]},Pj={prefix:"fab",iconName:"tumblr",icon:[320,512,[],"f173","M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"]},zj={prefix:"fab",iconName:"square-x-twitter",icon:[448,512,[],"e61a","M64 32C28.7 32 0 60.7 0 96V4
95916c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"]},Hj={prefix:"fab",iconName:"medium",icon:[640,512,[62407,"medium-m"],"f23a","M180.5,74.262C80.813,74.262,0,155.633,0,256S80.819,437.738,180.5,437.738,361,356.373,361,256,280.191,74.262,180.5,74.262Zm288.25,10.646c-49.845,0-90.245,76.619-90.245,171.095s40.406,171.1,90.251,171.1,90.251-76.619,90.251-171.1H559C559,161.5,518.6,84.908,468.752,84.908Zm139.506,17.821c-17.526,0-31.735,68.628-31.735,153.274s14.2,153.274,31.735,153.274S640,340.631,640,256C640,171.351,625.785,102.729,608.258,102.729Z"]};class Gc extends lt{getSocialFontAwesomeIcon(e){if(this.block.attributes.src)return d.jsx(ae,{icon:Eh});switch(e?.toLowerCase()){case"facebook":return d.jsx(ae,{icon:Tj});case"twitter":return d.jsx(ae,{icon:Rj});case"x":return d.jsx(ae,{icon:zj});case"instagram":return d.jsx(ae,{icon:uk});case"linkedin":return d.jsx(ae,{icon:Ej});case"github":return d.jsx(ae,{icon:Dj});case"youtube":return d.jsx(ae,{icon:Nj});case"pinterest":return d.jsx(ae,{icon:Lj});case"google":return d.jsx(ae,{icon:jj});case"snapchat":return d.jsx(ae,{icon:Fj});case"dribbble":return d.jsx(ae,{icon:Oj});case"medium":return d.jsx(ae,{icon:Hj});case"tumblr":return d.jsx(ae,{icon:Pj});case"vimeo":return d.jsx(ae,{icon:Mj});case"soundcloud":return d.jsx(ae,{icon:Bj});case"xing":return d.jsx(ae,{icon:Ij});default:return d.jsx(ae,{icon:Eh})}}getIcon(){const e=this.block.attributes;return this.getSocialFontAwesomeIcon(e.name)}getLabel(){const e=this.block.attributes;return e.name?e.name.charAt(0).toUpperCase()+e.name.slice(1):"Social Element"}getDescription(){return"Individual social media icon and link"}getCategory(){return"content"}getDefaults(){return qe["mj-social-element"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}renderSettingsPanel(e,n,i){const r=this.block.attributes;return d.jsxs(dt,{title:"Social Element Attributes",children:[d.jsx(P,{label:"Social Network",children:d.jsxs(re,{size:"small",value:r.name||"custom",onChange:s=>e({name:s==="custom"?void 0:s}),style:{width:"100%"},children:[d.jsx(re.Option,{value:"custom",children:"Custom"}),d.jsx(re.Option,{value:"facebook",children:"Facebook"}),d.jsx(re.Option,{value:"twitter",children:"Twitter"}),d.jsx(re.Option,{value:"x",children:"X (Twitter)"}),d.jsx(re.Option,{value:"instagram",children:"Instagram"}),d.jsx(re.Option,{value:"linkedin",children:"LinkedIn"}),d.jsx(re.Option,{value:"github",children:"GitHub"}),d.jsx(re.Option,{value:"youtube",children:"YouTube"}),d.jsx(re.Option,{value:"pinterest",children:"Pinterest"}),d.jsx(re.Option,{value:"google",children:"Google"}),d.jsx(re.Option,{value:"snapchat",children:"Snapchat"}),d.jsx(re.Option,{value:"dribbble",children:"Dribbble"}),d.jsx(re.Option,{value:"medium",children:"Medium"}),d.jsx(re.Option,{value:"tumblr",children:"Tumblr"}),d.jsx(re.Option,{value:"vimeo",children:"Vimeo"}),d.jsx(re.Option,{value:"soundcloud",children:"SoundCloud"}),d.jsx(re.Option,{value:"xing",children:"Xing"}),d.jsx(re.Option,{value:"web",children:"Website"})]})}),d.jsx(P,{label:"Link URL",children:d.jsx(st,{value:r.href||"",onChange:s=>e({href:s||void 0}),placeholder:"https://example.com or {{ url }}",buttonText:"Set link URL",validateUri:!0})}),d.jsx(P,{label:"Custom Icon URL",children:d.jsx(We,{size:"small",value:r.src||"",onChange:s=>e({src:s.target.value||void 0}),placeholder:"https://example.com/icon.png",style:{width:"100%"},disabled:!!(r.name&&r.name!=="custom")})}),d.jsx(P,{label:"Alt Text",children:d.jsx(We,{size:"small",value:r.alt||"",onChange:s=>e({alt:s.target.value||void 0}),placeholder:"Social media icon",style:{width:"100%"}})}),d.jsx(P,{label:"Alignment",children:d.jsx(js,{value:r.align||"center",onChange:s=>e({align:s})})}),d.jsx(P,{label:"Icon Settings",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Size"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(et,{size:"small",value:this.parsePixelValue(r.iconSize),onChange:s=>e({iconSize:s?`${s}px`:void 0}),placeholder:(this.parsePixelValue(n.iconSize)||20).toString(),min:10,max:100,step:1,suffix:"px",style:{width:"100%"}})})]})}),d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Height"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(et,{size:"small",value:this.parsePixelValue(r.iconHeight),onChange:s=>e({iconHeight:s?`${s}px`:void 0}),placeholder:(this.parsePixelValue(n.iconHeight)||20).toString(),min:10,max:100,step:1,suffix:"px",style:{width:"100%"}})})]})})]})}),d.jsx(P,{label:"Icon Styling",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Backgroun
959d"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(Tt,{value:r.backgroundColor||void 0,onChange:s=>e({backgroundColor:s||void 0})})})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Border Radius"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(mr,{value:r.borderRadius,onChange:s=>e({borderRadius:s}),defaultValue:n.borderRadius})})]})})]})}),d.jsx(P,{label:"Text Settings",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Color"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(Tt,{value:r.color||void 0,onChange:s=>e({color:s||void 0})})})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Font Size"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(et,{size:"small",value:this.parsePixelValue(r.fontSize),onChange:s=>e({fontSize:s?`${s}px`:void 0}),placeholder:(this.parsePixelValue(n.fontSize)||13).toString(),min:8,max:48,step:1,suffix:"px",style:{width:"100%"}})})]})})]})}),d.jsx(P,{label:"Font Settings",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Weight"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsxs(re,{size:"small",value:r.fontWeight||"normal",onChange:s=>e({fontWeight:s}),style:{width:"100%"},children:[d.jsx(re.Option,{value:"normal",children:"Normal"}),d.jsx(re.Option,{value:"bold",children:"Bold"}),d.jsx(re.Option,{value:"lighter",children:"Lighter"}),d.jsx(re.Option,{value:"100",children:"100"}),d.jsx(re.Option,{value:"200",children:"200"}),d.jsx(re.Option,{value:"300",children:"300"}),d.jsx(re.Option,{value:"400",children:"400"}),d.jsx(re.Option,{value:"500",children:"500"}),d.jsx(re.Option,{value:"600",children:"600"}),d.jsx(re.Option,{value:"700",children:"700"}),d.jsx(re.Option,{value:"800",children:"800"}),d.jsx(re.Option,{value:"900",children:"900"})]})})]})}),d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Style"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsxs(re,{size:"small",value:r.fontStyle||"normal",onChange:s=>e({fontStyle:s}),style:{width:"100%"},children:[d.jsx(re.Option,{value:"normal",children:"Normal"}),d.jsx(re.Option,{value:"italic",children:"Italic"}),d.jsx(re.Option,{value:"oblique",children:"Oblique"})]})})]})}),d.jsx(Ce,{span:8,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Decoration"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsxs(re,{size:"small",value:r.textDecoration||"none",onChange:s=>e({textDecoration:s}),style:{width:"100%"},children:[d.jsx(re.Option,{value:"none",children:"None"}),d.jsx(re.Option,{value:"underline",children:"Underline"}),d.jsx(re.Option,{value:"overline",children:"Overline"}),d.jsx(re.Option,{value:"line-through",children:"Line Through"})]})})]})})]})}),d.jsx(P,{label:"Font Family",children:d.jsx(We,{size:"small",value:r.fontFamily||"",onChange:s=>e({fontFamily:s.target.value||void 0}),placeholder:n.fontFamily||"Ubuntu, Helvetica, Arial, sans-serif",style:{width:"100%"}})}),d.jsx(P,{label:"Line Height",children:d.jsx(st,{value:r.lineHeight||"",onChange:s=>e({lineHeight:s||void 0}),placeholder:n.lineHeight||"22px",buttonText:"Set height"})}),d.jsx(P,{label:"Vertical Align",children:d.jsxs(re,{size:"small",value:r.verticalAlign||"middle",onChange:s=>e({verticalAlign:s}),style:{width:"100%"},children:[d.jsx(re.Option,{value:"top",children:"Top"}),d.jsx(re.Option,{value:"middle",children:"Middle"}),d.jsx(re.Option,{value:"bottom",children:"Bottom"})]})}),d.jsx(P,{label:"Link Settings",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Target"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsxs(re,{size:"small",value:r.target||"_blank",onChange:s=>e({target:s}),style:{width:"100%"},children:[d.jsx(re.Option,{value:"_blank",children:"New Window"}),d.jsx(re.Option,{value:"_self",children:"Same Window"}),d.jsx(re.Option,{value:"_parent",children:"Parent Frame"}),d.jsx(re.Option,{value:"_top",children:"Top Frame"})]})})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Rel"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(We,{size:"small",value:r.rel||"",onChange:s=>e({rel:s.target.value||void 0}),placeholder:"noopener",style:{width:"100%"}})})]})})]})}),d.jsx(P,{label:"Title",children:d.jsx(We,{size:"small",value:r.title||"",onChange:s=>e({title:s.target.value||void 0}),placeholder:"Tooltip text",style:{width:"100%"}})}),d.jsx(P,{label:"Padding Settings",layout:"vertical",children:d.jsxs(ct,{gutter:16,children:[d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Icon Padding"}),d.jsx("div",{style:{marginTop:"4px"}
959,children:d.jsx(st,{value:r.iconPadding||"",onChange:s=>e({iconPadding:s||void 0}),placeholder:n.iconPadding||"0px",buttonText:"Set padding"})})]})}),d.jsx(Ce,{span:12,children:d.jsxs("div",{className:"mb-2",children:[d.jsx("span",{className:"text-xs text-gray-500",children:"Text Padding"}),d.jsx("div",{style:{marginTop:"4px"},children:d.jsx(st,{value:r.textPadding||"",onChange:s=>e({textPadding:s||void 0}),placeholder:n.textPadding||"4px 4px 4px 0",buttonText:"Set padding"})})]})})]})}),d.jsx(P,{label:"Element Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:s=>{e({paddingTop:s.top,paddingRight:s.right,paddingBottom:s.bottom,paddingLeft:s.left})}})}),d.jsx(P,{label:"CSS Class",children:d.jsx(st,{value:r.cssClass||"",onChange:s=>e({cssClass:s||void 0}),placeholder:"Enter CSS class name"})})]})}parsePixelValue(e){if(!e)return;const n=e.match(/^(\d+(?:\.\d+)?)px?$/);return n?parseFloat(n[1]):void 0}getNetworkDefaultColor(e){return{facebook:"transparent","facebook-noshare":"transparent",twitter:"transparent","twitter-noshare":"transparent",x:"transparent","x-noshare":"transparent",google:"transparent","google-noshare":"transparent",pinterest:"transparent","pinterest-noshare":"transparent",linkedin:"transparent","linkedin-noshare":"transparent",tumblr:"transparent","tumblr-noshare":"transparent",xing:"transparent","xing-noshare":"transparent",github:"transparent",instagram:"transparent",youtube:"transparent",vimeo:"transparent",medium:"transparent",soundcloud:"transparent",dribbble:"transparent",snapchat:"transparent",web:"transparent"}[e||""]||"transparent"}getSocialIcon(e){return{facebook:"https://www.mailjet.com/images/theme/v1/icons/ico-social/facebook.png",twitter:"https://www.mailjet.com/images/theme/v1/icons/ico-social/twitter.png",x:"https://www.mailjet.com/images/theme/v1/icons/ico-social/twitter-x.png",instagram:"https://www.mailjet.com/images/theme/v1/icons/ico-social/instagram.png",linkedin:"https://www.mailjet.com/images/theme/v1/icons/ico-social/linkedin.png",github:"https://www.mailjet.com/images/theme/v1/icons/ico-social/github.png",youtube:"https://www.mailjet.com/images/theme/v1/icons/ico-social/youtube.png",pinterest:"https://www.mailjet.com/images/theme/v1/icons/ico-social/pinterest.png",google:"https://www.mailjet.com/images/theme/v1/icons/ico-social/google-plus.png",snapchat:"https://www.mailjet.com/images/theme/v1/icons/ico-social/snapchat.png",dribbble:"https://www.mailjet.com/images/theme/v1/icons/ico-social/dribbble.png",medium:"https://www.mailjet.com/images/theme/v1/icons/ico-social/medium.png",tumblr:"https://www.mailjet.com/images/theme/v1/icons/ico-social/tumblr.png",vimeo:"https://www.mailjet.com/images/theme/v1/icons/ico-social/vimeo.png",soundcloud:"https://www.mailjet.com/images/theme/v1/icons/ico-social/soundcloud.png",xing:"https://www.mailjet.com/images/theme/v1/icons/ico-social/xing.png",web:"https://www.mailjet.com/images/theme/v1/icons/ico-social/web.png"}[e||""]||"https://www.mailjet.com/images/theme/v1/icons/ico-social/web.png"}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,attributeDefaults:r,onCloneBlock:s,onDeleteBlock:o,onSaveBlock:a,savedBlocks:l}=e,f=this.block.id,c=n===this.block.id,u=`email-block-hover ${c?"selected":""}`.trim(),h=c?{position:"relative",zIndex:10}:{},m=N=>{N.stopPropagation(),i&&i(this.block.id)},p=S.mergeWithAllDefaults("mj-social-element",this.block.attributes,r),g=this.block.content||"",v=p.src||this.getSocialIcon(p.name),b=this.parsePixelValue(p.iconSize)||20,w=this.parsePixelValue(p.iconHeight)||20,A={padding:`${p.paddingTop||"4px"} ${p.paddingRight||"4px"} ${p.paddingBottom||"4px"} ${p.paddingLeft||"4px"}`,verticalAlign:p.verticalAlign||"middle"},y={backgroundColor:p.backgroundColor||this.getNetworkDefaultColor(p.name),borderRadius:p.borderRadius||"3px",width:`${b}px`,border:"0",borderCollapse:"collapse",borderSpacing:"0"},x={fontSize:"0",height:`${w}px`,verticalAlign:"middle",width:`${b}px`,padding:p.iconPadding||"0px"},C={borderRadius:p.borderRadius||"3px",display:"block",width:`${b}px`,height:`${w}px`,objectFit:"cover"},_={verticalAlign:"middle",padding:p.textPadding||"4px 4px 4px 0"},j={color:p.color||"#333333",fontSize:p.fontSize||"15px",fontFamily:p.fontFamily||"Ubuntu, Helvetica, Arial, sans-serif",lineHeight:p.lineHeight||"22px",textDecoration:p.textDecoration||"none",fontWeight:p.fontWeight||"normal",fontStyle:p.fontStyle||"normal"},I=d.jsx("img",{alt:p.alt||"",height:w,src:v,style:C,width:b}),E=d.jsx("a",{href:p.href||"#",target:p.target||"_blank",rel:p.rel,title:p.title,onClick:N=>N.preventDefault(),style:{textDecoration:"none"},children:I}),F=g?d.jsx("a",{href:p.href||"#",target:p.target||"_blank",rel:p.rel,title:p.title,style:j,onClick:N=>N.preventDefault(),children:g}):null;return d.jsx("table",{align:"center",border:0,cellPadding:0,cellSpacing:0,role:"presentation",style:{float:"none",display:"inline-table",...h},className:u,onClick:m,"data-block-id":this.block.id,children:d.jsx("tbody",{children:d.jsxs("tr",{children:[d.jsx("td",{style:A,children:d.jsx("table",{border:0,cellPadding:0,cellSpacing:0,role:"presentation",style:y,children:d.jsx("tbody",{children:d.jsx("tr",{children:d.jsx("td",{style:x,children:E})})})})}),g&&d.jsx("td",{style:_,children:F})]})})},f)}}
959class Wj extends lt{getIcon(){return d.jsx(ae,{icon:uk})}getLabel(){return"Social"}getDescription(){return"Social media icons and links for connecting with your audience"}getCategory(){return"content"}getDefaults(){return qe["mj-social"]||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-social-element"]}renderSettingsPanel(e,n,i){const r=this.block.attributes;return d.jsxs(dt,{title:"Social Attributes",children:[d.jsx(P,{label:"Container color",children:d.jsx(Tt,{value:r.containerBackgroundColor||void 0,onChange:s=>e({containerBackgroundColor:s||void 0}),placeholder:"None"})}),d.jsx(P,{label:"Font Styling",layout:"vertical",children:d.jsx(wu,{value:{fontFamily:void 0,fontSize:void 0,fontWeight:void 0,fontStyle:void 0,textTransform:void 0,textDecoration:void 0,lineHeight:r.lineHeight,letterSpacing:void 0,textAlign:r.align},defaultValue:{fontFamily:void 0,fontSize:void 0,fontWeight:void 0,fontStyle:void 0,textTransform:void 0,textDecoration:void 0,lineHeight:n.lineHeight,letterSpacing:void 0,textAlign:n.align},onChange:s=>{e({lineHeight:s.lineHeight,align:s.textAlign})},importedFonts:[]})}),d.jsx(P,{label:"Padding",layout:"vertical",children:d.jsx(En,{value:r.innerPadding,defaultValue:n.innerPadding,onChange:s=>{e({innerPadding:s})}})}),d.jsx(P,{label:"CSS Class",children:d.jsx(st,{value:r.cssClass||"",onChange:s=>e({cssClass:s||void 0}),placeholder:"Enter CSS class name"})})]})}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,attributeDefaults:r,onCloneBlock:s,onDeleteBlock:o,onSaveBlock:a,savedBlocks:l}=e,f=this.block.id,c=n===this.block.id,u=`email-block-hover ${c?"selected":""}`.trim(),h=c?{position:"relative",zIndex:10}:{},m=x=>{x.stopPropagation(),i&&i(this.block.id)},p=S.mergeWithAllDefaults("mj-social",this.block.attributes,r),g={width:"100%",border:"0",borderCollapse:"collapse",borderSpacing:"0",...h},v={margin:"0px auto",maxWidth:"600px"},b={width:"100%",border:"0",borderCollapse:"collapse",borderSpacing:"0"},w={direction:"ltr",fontSize:"0px",padding:`${p.paddingTop||"10px"} ${p.paddingRight||"25px"} ${p.paddingBottom||"10px"} ${p.paddingLeft||"25px"}`,textAlign:p.align||"center",wordBreak:"break-word"},A=this.block.children&&this.block.children.length>0;let y;return A?p.mode==="vertical"?y=d.jsx("div",{children:this.block.children.map((C,_)=>{const j=new Gc(C);return d.jsx("div",{style:{display:"block",marginBottom:_<this.block.children.length-1?"4px":"0"},children:j.getEdit(e)},C.id||_)})}):y=d.jsx("div",{style:{display:"inline-block"},children:this.block.children.map((C,_)=>{const j=new Gc(C);return d.jsx(K.Fragment,{children:j.getEdit(e)},C.id||_)})}):y=d.jsx("div",{style:{color:"#999",fontSize:"14px",fontFamily:"Arial, sans-serif",padding:"20px",fontStyle:"italic"},children:"Add social elements to this social block"}),d.jsx("table",{align:"center",border:0,cellPadding:0,cellSpacing:0,role:"presentation",style:g,className:u,onClick:m,"data-block-id":this.block.id,children:d.jsx("tbody",{children:d.jsx("tr",{children:d.jsx("td",{style:{lineHeight:"0px",fontSize:"0px"},children:d.jsx("div",{style:v,children:d.jsx("table",{align:"center",border:0,cellPadding:0,cellSpacing:0,role:"presentation",style:b,children:d.jsx("tbody",{children:d.jsx("tr",{children:d.jsx("td",{style:w,children:y})})})})})})})})},f)}}const $j=t=>{const e=/\{\{.*?\}\}|\{%.*?%\}/,n=i=>{if(i.content&&e.test(i.content))return!0;if(i.attributes){const r=i.attributes;if(r.content&&typeof r.content=="string"&&e.test(r.content))return!0}return i.children&&i.children.length>0?i.children.some(r=>n(r)):!1};return n(t)};class Vj extends lt{getIcon(){return d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa",children:[d.jsx("rect",{width:"20",height:"12",x:"2",y:"6",rx:"2"}),d.jsx("path",{d:"M12 12h.01"}),d.jsx("path",{d:"M17 12h.01"}),d.jsx("path",{d:"M7 12h.01"})]})}getLabel(){return"Section"}getDescription(){return"Container for columns that organizes email layout horizontally"}getCategory(){return"layout"}getDefaults(){return qe["mj-section"]||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-column","mj-group","mj-raw"]}renderSettingsPanel(e,n,i){const r=this.block.attributes,s=(a,l)=>{e({[a]:l})},o=a=>{e(a)};return d.jsx(dt,{title:"Section Attributes",children:d.jsxs("div",{className:"space-y-4",children:[d.jsx(ku,{value:{backgroundColor:r.backgroundColor,backgroundUrl:r.backgroundUrl,backgroundSize:r.backgroundSize,backgroundRepeat:r.backgroundRepeat,backgroundPosition:r.backgroundPosition,backgroundPositionX:r.backgroundPositionX,backgroundPositionY:r.backgroundPositionY},onChange:o}),d.jsx(P,{label:"Border",layout:"vertical",children:d.jsx(ls,{className:"-mt-6",value:{borderTop:r.borderTop,borderRight:r.borderRight,borderBottom:r.borderBottom,borderLeft:r.borderLeft},onChange:a=>{e({borderTop:a.borderTop,borderRight:a.borderRight,borderBottom:a.borderBottom,borderLeft:a.borderLeft})}})}),d.jsx(P,{label:"Border radius",children:d.jsx(mr,{value:r.borderRadius,onChange:a=>e({borderRadius:a}),defaultValue:n.borderRadius})}),d.jsx(P,{label:"Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:a=>{e({paddingTop:a.top,paddingRight:a.right,paddingBottom:a.bottom,paddingLeft:a.left})}})}),d.jsx(P,{label:"Text Alignment",children:d.jsx(js,{value:r.textAlign||n.textAlign||"left",onChange:a=>s("textAlign",a)})}),d.jsx(P,{label:"Text Direction",children:d.jsxs(vt.Group,{size:"small",value:r.direction||n.direction||"ltr",onChange:a=>s("direction",a.target.value),children:[d.jsx(vt.Button,{value:"ltr",children:d.jsx(Ke,{title:"Left to Right",children:"LTR"})}),d.jsx(vt.Button,{value:"rtl",children:d.jsx(Ke,{title:"Right to Left",children:"RTL"})})]})}),d.jsx(P,{label:"Full Width",help:"Makes the section span the entire email viewport width, ignoring container constraints (typically 600px). Useful for full-bleed backgrounds and hero sections.",children:d.jsx(_n,{size:"small",checked:r.fullWidth==="full-width",onChange:a=>s("fullWidth",a?"full-width":void 0)})}),d.jsx(P,{label:"Visibility",help:"Control which channels can see this section",children:d.jsx(re,{size:"small",value:r.visibility||"all",onChange:a=>s("visibility",a),style:{width:"100%"},options:[{value:"all",label:"All Channels"},{value:"email_only",label:"Email Only"},{value:"web_only",label:"Web Only"}]})}),$j(this.block)&&r.visibility!=="email_only"&&d.jsx(nu,{type:"warning",message:"Personalization Not Available for Web",description:"This section contains Liquid template tags (e.g., {{ contact.name }}). Web publications don't have access to contact data, so these tags will not render properly. Consider marking this section as 'Email Only' or remove personalization tags.",showIcon:!0,closable:!0}),d.jsx(P,{label:"CSS Class",help:"Custom CSS class for styling",children:d.jsx(st,{value:r.cssClass,onChange:a=>
959s("cssClass",a),placeholder:"my-custom-class",buttonText:"Set Value"})})]})})}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,onCloneBlock:r,onDeleteBlock:s,attributeDefaults:o,emailTree:a,onUpdateBlock:l,onSaveBlock:f,savedBlocks:c}=e,u=this.block.id,h=n===this.block.id,m=`email-block-hover ${h?"selected":""}`.trim(),p=h?{position:"relative",zIndex:10}:{},g=C=>{C.stopPropagation(),i&&i(this.block.id)},v=S.mergeWithAllDefaults("mj-section",this.block.attributes,o),b={backgroundColor:v.backgroundColor,backgroundImage:v.backgroundUrl?`url(${v.backgroundUrl})`:void 0,backgroundRepeat:v.backgroundRepeat,backgroundSize:v.backgroundSize,...v.backgroundPosition?{backgroundPosition:v.backgroundPosition}:{...v.backgroundPositionX&&{backgroundPositionX:v.backgroundPositionX},...v.backgroundPositionY&&{backgroundPositionY:v.backgroundPositionY}},margin:"0px auto",borderRadius:v.borderRadius!=="0px"?v.borderRadius:void 0,...p},w={backgroundColor:v.backgroundColor,width:"100%",borderTop:v.borderTop!=="none"?v.borderTop:void 0,borderRight:v.borderRight!=="none"?v.borderRight:void 0,borderBottom:v.borderBottom!=="none"?v.borderBottom:void 0,borderLeft:v.borderLeft!=="none"?v.borderLeft:void 0},A={direction:v.direction,fontSize:"0px",padding:`${v.paddingTop||"20px"} ${v.paddingRight||"0"} ${v.paddingBottom||"20px"} ${v.paddingLeft||"0"}`,textAlign:v.textAlign},x=this.block.children&&this.block.children.some(C=>C.type==="mj-column"||C.type==="mj-group")?d.jsx("table",{role:"presentation",border:0,cellPadding:"0",cellSpacing:"0",style:{width:"100%"},children:d.jsx("tbody",{children:d.jsx("tr",{children:this.block.children?.map(C=>d.jsx("td",{style:{verticalAlign:"top"},children:S.renderEmailBlock(C,o,n,i,a,l,r,s,f,c)},C.id))})})}):d.jsx("div",{style:{padding:"20px",backgroundColor:"#fff3cd",border:"1px solid #ffeaa7",borderRadius:"4px",color:"#856404",fontSize:"14px",textAlign:"center",margin:"10px"},children:"â ï¸ This section is empty. Add columns or groups to display content."});return d.jsx("div",{style:{...b,position:"relative"},className:`${v.cssClass||""} ${m}`.trim(),onClick:g,"data-block-id":this.block.id,children:d.jsx("table",{align:"center",border:0,cellPadding:"0",cellSpacing:"0",role:"presentation",style:w,children:d.jsx("tbody",{children:d.jsx("tr",{children:d.jsx("td",{style:A,children:x})})})})},u)}}class Gj extends lt{getIcon(e){return d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa",children:[d.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),d.jsx("path",{d:"M12 3v18"})]})}getLabel(){return"Column"}getDescription(){return"Vertical container within sections for organizing content in columns"}getCategory(){return"layout"}getDefaults(){return qe["mj-column"]||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-text","mj-image","mj-button","mj-divider","mj-spacer","mj-social","mj-raw"]}renderSettingsPanel(e,n,i){const r=this.block.attributes,s=(o,a)=>{e({[o]:a})};return d.jsx(dt,{title:"Column Attributes",children:d.jsxs("div",{className:"space-y-4",children:[d.jsx(P,{label:"Width",help:"Column width (e.g., '50%', '300px', 'auto')",children:d.jsx(st,{value:r.width,onChange:o=>s("width",o),placeholder:n.width||"100%",buttonText:"Set Width"})}),d.jsx(P,{label:"Vertical Alignment",children:d.jsxs(vt.Group,{size:"small",value:r.verticalAlign||n.verticalAlign||"top",onChange:o=>s("verticalAlign",o.target.value),children:[d.jsx(vt.Button,{value:"top",children:d.jsx(Ke,{title:"Align to top",children:"Top"})}),d.jsx(vt.Button,{value:"middle",children:d.jsx(Ke,{title:"Align to middle",children:"Middle"})}),d.jsx(vt.Button,{value:"bottom",children:d.jsx(Ke,{title:"Align to bottom",children:"Bottom"})})]})}),d.jsx(P,{label:"Background color",children:d.jsx(Tt,{value:r.backgroundColor||void 0,onChange:o=>e({backgroundColor:o||void 0})})}),d.jsx(P,{label:"Inner background color",help:"Requires a padding",children:d.jsx(Tt,{value:r.innerBackgroundColor||void 0,onChange:o=>
959e({innerBackgroundColor:o||void 0}),placeholder:"None"})}),d.jsx(P,{label:"Border",layout:"vertical",children:d.jsx(ls,{className:"-mt-6",value:{borderTop:r.borderTop,borderRight:r.borderRight,borderBottom:r.borderBottom,borderLeft:r.borderLeft},onChange:o=>{e({borderTop:o.borderTop,borderRight:o.borderRight,borderBottom:o.borderBottom,borderLeft:o.borderLeft})}})}),d.jsx(P,{label:"Border radius",children:d.jsx(mr,{value:r.borderRadius,onChange:o=>e({borderRadius:o}),defaultValue:n.borderRadius})}),d.jsx(P,{label:"Inner border",layout:"vertical",children:d.jsx(ls,{className:"-mt-6",value:{borderTop:r.innerBorderTop,borderRight:r.innerBorderRight,borderBottom:r.innerBorderBottom,borderLeft:r.innerBorderLeft},onChange:o=>{e({innerBorderTop:o.borderTop,innerBorderRight:o.borderRight,innerBorderBottom:o.borderBottom,innerBorderLeft:o.borderLeft})}})}),d.jsx(P,{label:"Inner border radius",children:d.jsx(mr,{value:r.innerBorderRadius,onChange:o=>e({innerBorderRadius:o}),defaultValue:n.innerBorderRadius})}),d.jsx(P,{label:"Padding",layout:"vertical",children:d.jsx(En,{value:{top:r.paddingTop,right:r.paddingRight,bottom:r.paddingBottom,left:r.paddingLeft},defaultValue:{top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom,left:n.paddingLeft},onChange:o=>{e({paddingTop:o.top,paddingRight:o.right,paddingBottom:o.bottom,paddingLeft:o.left})}})}),d.jsx(P,{label:"CSS Class",help:"Custom CSS class for styling",children:d.jsx(st,{value:r.cssClass,onChange:o=>s("cssClass",o),placeholder:"my-custom-class",buttonText:"Set Value"})})]})})}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,onCloneBlock:r,onDeleteBlock:s,attributeDefaults:o,emailTree:a,onUpdateBlock:l,onSaveBlock:f,savedBlocks:c}=e,u=this.block.id,h=n===this.block.id,m=`email-block-hover ${h?"selected":""}`.trim(),p=h?{position:"relative",zIndex:10}:{},g=I=>{I.stopPropagation(),i&&i(this.block.id)},v=S.mergeWithAllDefaults("mj-column",this.block.attributes,o),b=v.width&&v.width.includes("%")?v.width.replace("%",""):"100",w={fontSize:"0px",textAlign:"left",direction:"ltr",display:"inline-block",verticalAlign:v.verticalAlign||"top",width:v.width||"100%",...p},A={verticalAlign:"top"},y={fontSize:"0px",padding:`${v.paddingTop||"10px"} ${v.paddingRight||"25px"} ${v.paddingBottom||"10px"} ${v.paddingLeft||"25px"}`,wordBreak:"break-word",backgroundColor:v.backgroundColor,borderTop:v.borderTop,borderRight:v.borderRight,borderBottom:v.borderBottom,borderLeft:v.borderLeft,borderRadius:v.borderRadius},x={backgroundColor:v.innerBackgroundColor,borderTop:v.innerBorderTop,borderRight:v.innerBorderRight,borderBottom:v.innerBorderBottom,borderLeft:v.innerBorderLeft,borderRadius:v.innerBorderRadius,fontSize:"13px"},C=this.block.children&&this.block.children.length>0,_=v.innerBackgroundColor||v.innerBorderTop||v.innerBorderRight||v.innerBorderBottom||v.innerBorderLeft||v.innerBorderRadius,j=C?this.block.children?.map(I=>d.jsx(K.Fragment,{children:S.renderEmailBlock(I,o,n,i,a,l,r,s,f,c)},I.id)):d.jsx("div",{style:{padding:"15px",backgroundColor:"#f8f9fa",border:"2px dashed #dee2e6",borderRadius:"4px",color:"#6c757d",fontSize:"12px",textAlign:"center",margin:"5px"},children:"ð Empty column. Add text, button, or image content."});return d.jsx("div",{className:`mj-column-per-${b} mj-outlook-group-fix ${v.cssClass||""} ${m}`.trim(),style:{...w,position:"relative"},onClick:g,"data-block-id":this.block.id,children:d.jsx("table",{border:0,cellPadding:"0",cellSpacing:"0",role:"presentation",style:A,width:"100%",children:d.jsx("tbody",{children:d.jsx("tr",{children:d.jsx("td",{align:"left",style:y,children:_?d.jsx("div",{style:x,children:j}):d.jsx("div",{style:{fontSize:"13px"},children:j})})})})})},u)}}class Kj extends lt{getIcon(){return d.jsx(ae,{icon:Mh,className:"opacity-70"})}getLabel(){return"Group"}getDescription(){return d.jsxs("div",{children:[d.jsx("div",{style:{marginBottom:8},children:"Prevent columns from stacking on mobile devices"}),d.jsx("div",{style:{opacity:.7},children:d.jsxs("div",{style:{width:60,height:30,border:"2px solid #722ed1",borderRadius:4,backgroundColor:"#f9f0ff",padding:4,display:"flex",alignItems:"center",justifyContent:"center"},children:[d.jsxs("div",{style:{display:"flex",gap:2},children:[d.jsx("div",{style:{width:8,height:16,backgroundColor:"#722ed1",borderRadius:1}}),d.jsx("div",{style:{width:8,height:16,backgroundColor:"#d3adf7",borderRadius:1}}),d.jsx("div",{style:{width:8,height:16,backgroundColor:"#722ed1",borderRadius:1}})]}),d.jsx(ae,{icon:Mh,style:{position:"absolute",marginTop:-20,marginLeft:40,fontSize:8,color:"#722ed1"}})]})})]})}getCategory(){return"layout"}getDefaults(){return qe["mj-group"]||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-column"]}renderSettingsPanel(e,n,i){const r=this.block.attributes,s=(a,l)=>{e({[a]:l})},o=a=>{e(a)};return d.jsx(dt,{title:"Group Attributes",children:d.jsxs("div",{className:"space-y-4",children:[d.jsx(P,{label:"Width",children:d.jsx(ck,{value:r.width,onChange:a=>e({width:a}),placeholder:n.width||"100%"})}),d.jsx(P,{label:"Vertical Align",children:d.jsx(re,{size:"small",value:r.verticalAlign||n.verticalAlign||"top",onChange:a=>s("verticalAlign",a),options:[{value:"top",label:"Top"},{value:"middle",label:"Middle"},{value:"bottom",label:"Bottom"}],style:{width:"100%"}})}),d.jsx(P,{label:"Height",children:d.jsx(st,{value:r.height||"",onChange:a=>s("height",a||void 0),placeholder:"auto",buttonText:"Set height"})}),d.jsx(ku,{value:{backgroundColor:r.backgroundColor,backgroundUrl:r.backgroundUrl,backgroundSize:r.backgroundSize,backgroundRepeat:r.backgroundRepeat,backgroundPosition:r.backgroundPosition,backgroundPositionX:r.backgroundPositionX,backgroundPositionY:r.backgroundPositionY},onChange:o}),d.jsx(P,{label:"Text Direction",children:d.jsxs(vt.Group,{size:"small",value:r.direction||n.direction||"ltr",onChange:a=>s("direction",a.target.value),children:[d.jsx(vt.Button,{value:"ltr",children:d.jsxs(Ke,{title:"Left to Right",children:[d.jsx(ae,{icon:dw,style:{marginRight:4}}),"LTR"]})}),d.jsx(vt.Button,{value:"rtl",children:d.jsxs(Ke,{title:"Right to Left",children:[d.jsx(ae,{icon:fw,style:{marginRight:4}}),"RTL"]})})]})}),d.jsx(P,{label:"CSS Class",help:"Custom CSS class for styling",children:d.jsx(st,{value:r.cssClass,onChange:a=>
959s("cssClass",a),placeholder:"my-custom-class",buttonText:"Set Value"})})]})})}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,onUpdateBlock:r,attributeDefaults:s,emailTree:o,onCloneBlock:a,onDeleteBlock:l,onSaveBlock:f,savedBlocks:c}=e,u=this.block.id,h=n===this.block.id,m=`email-block-hover ${h?"selected":""}`.trim(),p=h?{zIndex:10}:{},g=A=>{A.stopPropagation(),i&&i(this.block.id)},v=S.mergeWithAllDefaults("mj-group",this.block.attributes,s),b={display:"flex",flexDirection:v.direction==="rtl"?"row-reverse":"row",width:v.width,verticalAlign:v.verticalAlign,backgroundColor:v.backgroundColor,alignItems:v.verticalAlign==="middle"?"center":v.verticalAlign==="bottom"?"flex-end":"flex-start",...p},w=this.block.children||[];return d.jsx("div",{style:{...b,position:"relative"},className:`${v.cssClass||""} ${m}`.trim(),onClick:g,"data-block-id":this.block.id,children:w.length===0?d.jsx("div",{style:{width:"100%",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",color:"#722ed1",fontSize:"12px",fontStyle:"italic"},children:"Group (drag columns here)"}):w.map(A=>d.jsx(K.Fragment,{children:S.renderEmailBlock(A,s,n,i,o,r,a,l,f,c)},A.id))},u)}}class Jj extends lt{getIcon(){return d.jsx(ae,{icon:rg,className:"opacity-70"})}getLabel(){return"Breakpoint"}getDescription(){return"Configure the responsive breakpoint for mobile view"}getCategory(){return"layout"}getDefaults(){return qe["mj-breakpoint"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}getEdit(e){return null}renderSettingsPanel(e,n,i){const r=this.block.attributes;return d.jsxs(dt,{title:"Breakpoint Attributes",children:[d.jsxs("div",{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:[d.jsx("div",{className:"text-xs text-blue-700 font-medium mb-1",children:"ð± Mobile Breakpoint"}),d.jsx("div",{className:"text-xs text-blue-600",children:"Sets the screen width below which the email will switch to mobile layout. Most email clients use 480px as the standard mobile breakpoint."})]}),d.jsxs("div",{className:"mb-4 p-3 bg-amber-50 border border-amber-200 rounded-lg",children:[d.jsx("div",{className:"text-xs text-amber-700 font-medium mb-1",children:"ð Preview Mode Required"}),d.jsxs("div",{className:"text-xs text-amber-600",children:["Switch to ",d.jsx("strong",{children:"Preview mode"})," to see the breakpoint effects. The edit mode shows the raw structure, but only preview mode compiles the MJML template and renders the responsive behavior properly."]})]}),d.jsx("div",{className:"mt-4 p-3 bg-gray-50 border border-gray-200 rounded-lg",children:d.jsxs("div",{className:"text-xs text-gray-600",children:[d.jsx("div",{className:"font-medium mb-1",children:"ð¡ How it works:"}),d.jsxs("ul",{className:"space-y-1 ml-3",children:[d.jsx("li",{children:"⢠Sets the responsive breakpoint for the entire email"}),d.jsx("li",{children:"⢠Only one breakpoint per email template is allowed"}),d.jsx("li",{children:"⢠Affects how columns stack on mobile devices"}),d.jsx("li",{children:"⢠Standard value is 480px for most email clients"})]})]})}),d.jsx(P,{label:"Breakpoint Width",help:"Screen width below which mobile layout is activated. Common values: 480px, 600px, 768px",children:d.jsx(et,{size:"small",value:r.width?parseInt(r.width.replace("px","")):void 0,onChange:s=>e({width:s?`${s}px`:void 0}),placeholder:parseInt((n.width||"480px").replace("px","")).toString(),min:240,max:1200,step:10,suffix:"px",style:{width:"120px"}})})]})}}const Uj=({value:t,onChange:e,buttonText:n="Import Font"})=>{const[i,r]=k.useState(!1),[s,o]=k.useState({name:t?.name||"",href:t?.href||""}),a=A=>/\{\{[^}]+\}\}/.test(A),l=A=>{if(!A.trim())return!1;if(a(A))return!0;try{return new URL(A),!0}catch{return!1}},f=s.name.trim()&&s.href.trim()&&l(s.href),c=A=>{r(A),A&&o({name:t?.name||"",href:t?.href||""})},u=()=>{f&&(e({name:s.name.trim(),href:s.href.trim()}),r(!1))},h=()=>{o({name:t?.name||"",href:t?.href||""}),r(!1)},m=()=>{e(void 0),r(!1)},p=A=>{const y=v.find(x=>x.name===A);y&&g(y.name,y.url)},g=(A,y)=>{e({name:A,href:y}),r(!1)},v=[{name:"Open Sans",url:"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap"},{name:"Roboto",url:"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap"},{name:"Lato",url:"https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap"},{name:"Montserrat",url:"https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap"},{name:"Source Sans Pro",url:"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap"}],b=d.jsxs("div",{className:"w-80",children:[d.jsxs("div",{className:"mb-3",children:[d.jsx("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:"Font Name"}),d.jsx(We,{size:"small",value:s.name,onChange:A=>o(y=>({...y,name:A.target.value})),placeholder:"e.g., Raleway, Open Sans",autoFocus:!0})]}),d.jsxs("div",{className:"mb-3",children:[d.jsx("label",{className:"block text-xs font-medium text-gray-700 mb-1",children:"CSS File URL"}
959),d.jsx(We,{size:"small",value:s.href,onChange:A=>o(y=>({...y,href:A.target.value})),placeholder:"https://fonts.googleapis.com/css?family=... or {{ font_url }}",status:s.href&&!l(s.href)?"error":void 0}),s.href&&!l(s.href)&&d.jsxs("div",{className:"text-xs text-red-500 mt-1",children:["Invalid URL format. Use a valid URL or liquid expression like ","{{ variable }}"]})]}),d.jsxs("div",{className:"mb-3",children:[d.jsx("div",{className:"text-xs font-medium text-gray-700 mb-2",children:"Or select a popular Google Font"}),d.jsx(re,{size:"small",placeholder:"Select a popular Google Font",onChange:p,style:{width:"100%"},options:v.map(A=>({value:A.name,label:A.name}))})]}),d.jsxs("div",{className:"flex justify-between gap-2",children:[d.jsx(Ee,{size:"small",onClick:m,danger:!0,type:"text",children:"Clear"}),d.jsxs("div",{className:"flex gap-2",children:[d.jsx(Ee,{size:"small",onClick:h,children:"Cancel"}),d.jsx(Ee,{size:"small",type:"primary",onClick:u,disabled:!f,children:"Import Font"})]})]})]});return t?.name&&t?.href?d.jsxs("div",{className:"flex flex-col gap-2",children:[d.jsxs("div",{className:"flex-1",children:[d.jsx("div",{className:"text-xs font-medium text-gray-700",children:t.name}),d.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-blue-600 hover:text-blue-800 underline break-all block leading-relaxed",children:t.href})]}),d.jsx(pr,{content:b,title:"Edit Font Import",trigger:"click",open:i,onOpenChange:c,placement:"left",children:d.jsx(Ee,{type:"primary",ghost:!0,block:!0,size:"small",className:"self-start",children:"Edit"})})]}):d.jsx(pr,{content:b,title:"Import Custom Font",trigger:"click",open:i,onOpenChange:c,placement:"left",children:d.jsx(Ee,{size:"small",type:"primary",ghost:!0,block:!0,children:n})})};class Qj extends lt{getIcon(){return d.jsx(ae,{icon:jo,className:"opacity-70"})}getLabel(){return"Font Import"}getDescription(){return"Import custom fonts from hosted CSS files"}getCategory(){return"layout"}getDefaults(){return qe["mj-font"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}getEdit(e){return null}renderSettingsPanel(e,n,i){const r=this.block.attributes;return d.jsxs(dt,{title:"Font Attributes",children:[d.jsx(nu,{type:"info",message:d.jsx(d.Fragment,{children:d.jsxs("div",{className:"text-xs text-gray-600",children:[d.jsxs("div",{className:"font-medium mb-1",children:[d.jsx(ae,{icon:W2,className:"mr-2"}),"How to use:"]}),d.jsxs("ul",{className:"space-y-1 ml-3",children:[d.jsx("li",{children:"⢠Import fonts from hosted CSS files (like Google Fonts) to use in your email. The font will only take effect if you actually use it in text elements."}),d.jsxs("li",{children:["⢠Use the font name in text elements:"," ",d.jsx("code",{className:"bg-white px-1 rounded",children:'font-family="Raleway, Arial"'})]}),d.jsx("li",{children:"⢠Always provide fallback fonts for better compatibility"}),d.jsx("li",{children:"⢠Test in different email clients as support varies"})]})]})})}),d.jsx(P,{label:"Font Configuration",help:"Configure both the font name and CSS file URL together",layout:"vertical",children:d.jsx(Uj,{value:{name:r.name,href:r.href},onChange:s=>{e(s?{name:s.name,href:s.href}:{name:void 0,href:void 0})},buttonText:"Import Font"})})]})}}function dm(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function qj(t){if(Array.isArray(t))return t}function Yj(t,e,n){return(e=rI(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zj(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var i,r,s,o,a=[],l=!0,f=!1;try{if(s=(n=n.call(t)).next,e!==0)for(;!(l=(i=s.call(n)).done)&&(a.push(i.value),a.length!==e);l=!0);}catch(c){f=!0,r=c}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(f)throw r}}return a}}function Xj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 960In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function cm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};
960e%2?fm(Object(n),!0).forEach(function(i){Yj(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fm(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function eI(t,e){if(t==null)return{};var n,i,r=tI(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)===-1&&{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function tI(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)!==-1)continue;n[i]=t[i]}return n}function nI(t,e){return qj(t)||Zj(t,e)||sI(t,e)||Xj()}function iI(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function rI(t){var e=iI(t,"string");return typeof e=="symbol"?e:e+""}function sI(t,e){if(t){if(typeof t=="string")return dm(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dm(t,e):void 0}}function oI(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function um(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function hm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?um(Object(n),!0).forEach(function(i){oI(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):um(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function aI(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(i){return e.reduceRight(function(r,s){return s(r)},i)}}function ao(t){return function e(){for(var n=this,i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return r.length>=t.length?t.apply(this,r):function(){for(var o=arguments.length,a=new Array(o),l=0;l<o;l++)a[l]=arguments[l];return e.apply(n,[].concat(r,a))}}}function ql(t){return{}.toString.call(t).includes("Object")}function lI(t){return!Object.keys(t).length}function Go(t){return typeof t=="function"}function dI(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function fI(t,e){return ql(e)||zi("changeType"),Object.keys(e).some(function(n){return!dI(t,n)})&&zi("changeField"),e}function cI(t){Go(t)||zi("selectorType")}function uI(t){Go(t)||ql(t)||zi("handlerType"),ql(t)&&Object.values(t).some(function(e){return!Go(e)})&&zi("handlersType")}function hI(t){t||zi("initialIsRequired"),ql(t)||zi("initialType"),lI(t)&&zi("initialContent")}function pI(t,e){throw new Error(t[e]||t.default)}var mI={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},zi=ao(pI)(mI),_a={changes:fI,selector:cI,handler:uI,initial:hI};function gI(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_a.initial(t),_a.handler(e);var n={current:t},i=ao(yI)(n,e),r=ao(bI)(n),s=ao(_a.changes)(t),o=ao(vI)(n);function a(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(c){return c};return _a.selector(f),f(n.current)}function l(f){aI(i,r,s,o)(f)}return[a,l]}function vI(t,e){return Go(e)?e(t.current):e}function bI(t,e){return t.current=hm(hm({},t.current),e),e}function yI(t,e,n){return Go(e)?e(t.current):Object.keys(n).forEac
960h(function(i){var r;return(r=e[i])===null||r===void 0?void 0:r.call(e,t.current[i])}),n}var kI={create:gI},wI={paths:{vs:"https://cdn.jsdelivr.net/npm/[email protected]/min/vs"}};function AI(t){return function e(){for(var n=this,i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return r.length>=t.length?t.apply(this,r):function(){for(var o=arguments.length,a=new Array(o),l=0;l<o;l++)a[l]=arguments[l];return e.apply(n,[].concat(r,a))}}}function xI(t){return{}.toString.call(t).includes("Object")}function _I(t){return t||pm("configIsRequired"),xI(t)||pm("configType"),t.urls?(CI(),{paths:{vs:t.urls.monacoBase}}):t}function CI(){console.warn(hk.deprecation)}function SI(t,e){throw new Error(t[e]||t.default)}var hk={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning! 961 You are using deprecated way of configuration. 962 963 Instead of using 964 monaco.config({ urls: { monacoBase: '...' } }) 965 use 966 monaco.config({ paths: { vs: '...' } }) 967 968 For more please check the link https://github.com/suren-atoyan/monaco-loader#config 969 `},pm=AI(SI)(hk),jI={config:_I},II=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return function(r){return n.reduceRight(function(s,o){return o(s)},r)}};function pk(t,e){return Object.keys(e).forEach(function(n){e[n]instanceof Object&&t[n]&&Object.assign(e[n],pk(t[n],e[n]))}),cm(cm({},t),e)}var BI={type:"cancelation",msg:"operation is manually canceled"};function Tf(t){var e=!1,n=new Promise(function(i,r){t.then(function(s){return e?r(BI):i(s)}),t.catch(r)});return n.cancel=function(){return e=!0},n}var EI=["monaco"],MI=kI.create({config:wI,isInitialized:!1,resolve:null,reject:null,monaco:null}),mk=nI(MI,2),Xo=mk[0],jd=mk[1];function TI(t){var e=jI.config(t),n=e.monaco,i=eI(e,EI);jd(function(r){return{config:pk(r.config,i),monaco:n}})}function FI(){var t=Xo(function(e){var n=e.monaco,i=e.isInitialized,r=e.resolve;return{monaco:n,isInitialized:i,resolve:r}});if(!t.isInitialized){if(jd({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),Tf(Ff);if(window.monaco&&window.monaco.editor)return gk(window.monaco),t.resolve(window.monaco),Tf(Ff);II(DI,RI)(LI)}return Tf(Ff)}function DI(t){return document.body.appendChild(t)}function NI(t){var e=document.createElement("script");return t&&(e.src=t),e}function RI(t){var e=Xo(function(i){var r=i.config,s=i.reject;return{config:r,reject:s}}),n=NI("".concat(e.config.paths.vs,"/loader.js"));return n.onload=function(){return t()},n.onerror=e.reject,n}function LI(){var t=Xo(function(n){var i=n.config,r=n.resolve,s=n.reject;return{config:i,resolve:r,reject:s}}),e=window.require;e.config(t.config),e(["vs/editor/editor.main"],function(n){var i=n.m||n;gk(i),t.resolve(i)},function(n){t.reject(n)})}function gk(t){Xo().monaco||jd({monaco:t})}function OI(){return Xo(function(t){var e=t.monaco;return e})}var Ff=new Promise(function(t,e){return jd({resolve:t,reject:e})}),vk={config:TI,init:FI,__getMonacoInstance:OI},PI={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},Df=PI,zI={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},HI=zI;function WI({children:t}){return K.createElement("div",{style:HI.container},t)}var $I=WI,VI=$I;function GI({width:t,height:e,isEditorReady:n,loading:i,_ref:r,className:s,wrapperProps:o}){return K.createElement("section",{style:{...Df.wrapper,width:t,height:e},...o},!n&&K.createElement(VI,null,i),K.createElement("div",{ref:r,style:{...Df.fullWidth,...!n&&Df.hide},className:s}))}var KI=GI,bk=k.memo(KI);function JI(t){k.useEffect(t,[])}var yk=JI;function UI(t,e,n=!0){let i=k.useRef(!0);k.useEffect(i.current||!n?()=>{i.current=!1}:t,e)}var sn=UI;function So(){}function es(t,e,n,i){return QI(t,i)||qI(t,e,n,i)}function QI(t,e){return t.editor.getModel(kk(t,e))}function qI(t,e,n,i){return t.editor.createModel(e,n,i?kk(t,i):void 0)}function kk(t,e){return t.Uri.parse(e)}function YI({original:t,modified:e,language:n,originalLanguage:i,modifiedLanguage:r,originalModelPath:s,modifiedModelPath:o,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:l=!1,theme:f="light",loading:c="Loading...",options:u={},height:h="100%",width:m="100%",className:p,wrapperProps:g={},beforeMount:v=So,onMount:b=So}){let[w,A]=k.useState(!1),[y,x]=k.useState(!0),C=k.useRef(null),_=k.useRef(null),j=k.useRef(null),I=k.useRef(b),E=k.useRef(v),F=k.useRef(!1);yk(()=>{let M=vk.init();return M.then(D=>(_.current=D)&&x(!1)).catch(D=>D?.type!=="cancelation"&&console.error("Monaco initialization: error:",D)),()=>C.current?B():M.cancel()}),sn(()=>
969{if(C.current&&_.current){let M=C.current.getOriginalEditor(),D=es(_.current,t||"",i||n||"text",s||"");D!==M.getModel()&&M.setModel(D)}},[s],w),sn(()=>{if(C.current&&_.current){let M=C.current.getModifiedEditor(),D=es(_.current,e||"",r||n||"text",o||"");D!==M.getModel()&&M.setModel(D)}},[o],w),sn(()=>{let M=C.current.getModifiedEditor();M.getOption(_.current.editor.EditorOption.readOnly)?M.setValue(e||""):e!==M.getValue()&&(M.executeEdits("",[{range:M.getModel().getFullModelRange(),text:e||"",forceMoveMarkers:!0}]),M.pushUndoStop())},[e],w),sn(()=>{C.current?.getModel()?.original.setValue(t||"")},[t],w),sn(()=>{let{original:M,modified:D}=C.current.getModel();_.current.editor.setModelLanguage(M,i||n||"text"),_.current.editor.setModelLanguage(D,r||n||"text")},[n,i,r],w),sn(()=>{_.current?.editor.setTheme(f)},[f],w),sn(()=>{C.current?.updateOptions(u)},[u],w);let N=k.useCallback(()=>{if(!_.current)return;E.current(_.current);let M=es(_.current,t||"",i||n||"text",s||""),D=es(_.current,e||"",r||n||"text",o||"");C.current?.setModel({original:M,modified:D})},[n,e,r,t,i,s,o]),T=k.useCallback(()=>{!F.current&&j.current&&(C.current=_.current.editor.createDiffEditor(j.current,{automaticLayout:!0,...u}),N(),_.current?.editor.setTheme(f),A(!0),F.current=!0)},[u,f,N]);k.useEffect(()=>{w&&I.current(C.current,_.current)},[w]),k.useEffect(()=>{!y&&!w&&T()},[y,w,T]);function B(){let M=C.current?.getModel();a||M?.original?.dispose(),l||M?.modified?.dispose(),C.current?.dispose()}return K.createElement(bk,{width:m,height:h,isEditorReady:w,loading:c,_ref:j,className:p,wrapperProps:g})}var ZI=YI;k.memo(ZI);function XI(t){let e=k.useRef();return k.useEffect(()=>{e.current=t},[t]),e.current}var eB=XI,Ca=new Map;function tB({defaultValue:t,defaultLanguage:e,defaultPath:n,value:i,language:r,path:s,theme:o="light",line:a,loading:l="Loading...",options:f={},overrideServices:c={},saveViewState:u=!0,keepCurrentModel:h=!1,width:m="100%",height:p="100%",className:g,wrapperProps:v={},beforeMount:b=So,onMount:w=So,onChange:A,onValidate:y=So}){let[x,C]=k.useState(!1),[_,j]=k.useState(!0),I=k.useRef(null),E=k.useRef(null),F=k.useRef(null),N=k.useRef(w),T=k.useRef(b),B=k.useRef(),M=k.useRef(i),D=eB(s),G=k.useRef(!1),ge=k.useRef(!1);yk(()=>{let H=vk.init();return H.then(X=>(I.current=X)&&j(!1)).catch(X=>X?.type!=="cancelation"&&console.error("Monaco initialization: error:",X)),()=>E.current?me():H.cancel()}),sn(()=>{let H=es(I.current,t||i||"",e||r||"",s||n||"");H!==E.current?.getModel()&&(u&&Ca.set(D,E.current?.saveViewState()),E.current?.setModel(H),u&&E.current?.restoreViewState(Ca.get(s)))},[s],x),sn(()=>{E.current?.updateOptions(f)},[f],x),sn(()=>{!E.current||i===void 0||(E.current.getOption(I.current.editor.EditorOption.readOnly)?E.current.setValue(i):i!==E.current.getValue()&&(ge.current=!0,E.current.executeEdits("",[{range:E.current.getModel().getFullModelRange(),text:i,forceMoveMarkers:!0}]),E.current.pushUndoStop(),ge.current=!1))},[i],x),sn(()=>{let H=E.current?.getModel();H&&r&&I.current?.editor.setModelLanguage(H,r)},[r],x),sn(()=>{a!==void 0&&E.current?.revealLine(a)},[a],x),sn(()=>{I.current?.editor.setTheme(o)},[o],x);let fe=k.useCallback(()=>{if(!(!F.current||!I.current)&&!G.current){T.current(I.current);let H=s||n,X=es(I.current,i||t||"",e||r||"",H||"");E.current=I.current?.editor.create(F.current,{model:X,automaticLayout:!0,...f},c),u&&E.current.restoreViewState(Ca.get(H)),I.current.editor.setTheme(o),a!==void 0&&E.current.revealLine(a),C(!0),G.current=!0}},[t,e,n,i,r,s,f,c,u,o,a]);k.useEffect(()=>{x&&N.current(E.current,I.current)},[x]),k.useEffect(()=>{!_&&!x&&fe()},[_,x,fe]),M.current=i,k.useEffect(()=>{x&&A&&(B.current?.dispose(),B.current=E.current?.onDidChangeModelContent(H=>{ge.current||A(E.current.getValue(),H)}))},[x,A]),k.useEffect(()=>{if(x){let H=I.current.editor.onDidChangeMarkers(X=>{let ie=E.current.getModel()?.uri;if(ie&&X.find(W=>W.path===ie.path)){let W=I.current.editor.getModelMarkers({resource:ie});y?.(W)}});return()=>{H?.dispose()}}return()=>{}},[x,y]);function me(){B.current?.dispose(),h?u&&Ca.set(s,E.current.saveViewState()):E.current.getModel()?.dispose(),E.current.dispose()}return K.createElement(bk,{width:m,height:p,isEditorReady:x,loading:l,_ref:F,className:g,wrapperProps:v})}var nB=tB,Kc=k.memo(nB);const wk=({code:t,language:e="css",maxHeight:n=120,onExpand:i,showExpandButton:r=!0})=>{const[s,o]=k.useState(!1),a=()=>{i?i():o(!s)},l=s?"auto":`${n}px`;return t.trim()?d.jsxs("div",{className:"relative bg-gray-50 border border-gray-200 rounded-lg overflow-hidden",children:[r&&d.jsx(Ee,{type:"primary",ghost:!0,size:"small",icon:d.jsx(ae,{icon:cw}),onClick:a,style:{position:"absolute",top:4,right:4,zIndex:10,backgroundColor:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(2px)"},title:s?"Collapse":"Expand"}),d.jsx("div",{style:{height:l,overflow:s?"visible":"hidden"},children:d.jsx(bw,{theme:yw.github,code:t,language:e,children:({className:f,style:c,tokens:u,getLineProps:h,getTokenProps:m})=>d.jsx("pre",{className:`${f} p-3 m-0 text-xs leading-relaxed`,style:{...c,backgroundColor:"#f6f8fa",fontFamily:'Monaco, Menlo, "Ubuntu Mono", monospace'},children:u.map((p,g)=>d.jsx("div",{...h({line:p}),children:p.map((v,b)=>d.jsx("span",{...m({token:v})},b))},g))})})}),!s&&t.split(` 970`).length*20>n&&d.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-8 bg-gradient-to-t from-gray-50 to-transparent pointer-events-none"})]}):d.jsxs("div",{className:"bg-gray-50 border border-gray-200 rounded-lg p-4 text-center text-gray-500 text-sm",children:["No ",e.toUpperCase()," content to preview"]})};class iB extends lt{getIcon(){return d.jsx(ae,{icon:uw,className:"opacity-70"})}getLabel(){return"Custom CSS"}getDescription(){return"Add custom CSS styles to your email"}getCategory(){return"layout"}getDefaults(){return qe["mj-style"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}getEdit(e){return null}renderSettingsPanel(e,n,i){const r=this.block.attributes,s=()=>{const[o,a]=k.useState(!1),[l,f]=k.useState(this.block.content||""),c=()=>{f(this.block.content||""),a(!0)},u=()=>{e({content:l}),a(!1)},h=()=>{f(this.block.content||""),a(!1)},m={minimap:{enabled:!0},fontSize:14,lineNumbers:"on",roundedSelection:!1,scrollBeyondLastLine:!1,readOnly:!1,automaticLayout:!0,wordWrap:"on",folding:!0,lineDecorationsWidth:0,lineNumbersMinChars:3,renderLineHighlight:"line",selectOnLineNumbers:!0,scrollbar:{vertical:"visible",horizontal:"visible",verticalScrollbarSize:12,horizontalScrollbarSize:12}},p=b=>{b.languages.css.cssDefaults.setOptions({validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}})},g=this.block.content||"",v=g.trim().length>0;return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"flex flex-col gap-3",children:[v&&d.jsx(wk,{code:g,maxHeight:120,onExpand:c,showExpandButton:!0}),d.jsx(Ee,{type:"primary",ghost:!0,size:"small",block:!0,onClick:c,className:"self-start",children:v?"Edit CSS":"Add CSS"})]}),d.jsx(Ua,{title:"CSS Style Editor",placement:"right",open:o,onClose:h,width:"60vw",styles:{body:{padding:0}},extra:d.jsxs("div",{className:"flex gap-2",children:[d.jsx(Ee,{size:"small",onClick:h,children:"Cancel"}),d.jsx(Ee,{size:"small",type:"primary",onClick:u,children:"Save Changes"})]}),children:d.jsx(Kc,{height:"calc(100vh - 64px)",language:"css",theme:"vs",value:l,onCh
970ange:b=>f(b||""),options:m,beforeMount:p})})]})};return d.jsxs(dt,{title:"Style Attributes",children:[d.jsx(P,{label:"Inline Styles",help:"When enabled, these styles will be added as inline style attributes to every matching HTML element in the email. This is important for maximum email client compatibility since many email clients strip out non-inline styles.",children:d.jsx(_n,{size:"small",checked:r.inline==="inline",onChange:o=>e({inline:o?"inline":void 0})})}),d.jsx(P,{label:"CSS Content",layout:"vertical",children:d.jsx(s,{})})]})}}const{TextArea:rB}=We;class sB extends lt{getIcon(){return d.jsx(ae,{icon:$2,className:"opacity-70"})}getLabel(){return"Subject preview"}getDescription(){return"Sets the subject preview text that appears in email clients"}getCategory(){return"layout"}getDefaults(){return qe["mj-preview"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}getEdit(e){return null}renderSettingsPanel(e,n,i){const r=this.block.content||"",s=o=>{e({content:o})};return d.jsxs(dt,{title:"Preview Text Settings",children:[d.jsx(P,{label:"Subject preview",help:"This text appears in the email client's preview pane, typically after the subject line. Keep it concise and compelling (100-140 characters recommended).",layout:"vertical",children:d.jsx(rB,{value:r,onChange:o=>s(o.target.value),placeholder:"Enter preview text that appears in email clients...",rows:3,maxLength:200,showCount:!0})}),d.jsxs("div",{className:"text-xs text-gray-500 mt-2",children:[d.jsx("div",{className:"mb-1",children:d.jsx("strong",{children:"Tips for effective preview text:"})}),d.jsxs("ul",{className:"list-disc list-inside space-y-1",children:[d.jsx("li",{children:"Keep it between 35-140 characters"}),d.jsx("li",{children:"Complement, don't repeat the subject line"}),d.jsx("li",{children:"Create urgency or curiosity"}),d.jsx("li",{children:"Include a clear call-to-action"})]})]})]})}}class oB extends lt{getIcon(){return d.jsx(ae,{icon:hw,className:"opacity-70"})}getLabel(){return"Email Title"}getDescription(){return"Sets the email title that appears in the browser tab and some email clients"}getCategory(){return"layout"}getDefaults(){return qe["mj-title"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}getEdit(e){return null}renderSettingsPanel(e,n,i){const r=this.block.content||"",s=o=>{e({content:o})};return d.jsxs(dt,{title:"Email Title Settings",children:[d.jsx(P,{label:"Title",help:"This appears in browser tabs when viewing the email in a web browser and in some email clients. It's typically the same as or related to your email subject line.",layout:"vertical",children:d.jsx(We,{value:r,onChange:o=>s(o.target.value),placeholder:"Enter email title...",maxLength:100})}),d.jsxs("div",{className:"text-xs text-gray-500 mt-2",children:[d.jsx("div",{className:"mb-1",children:d.jsx("strong",{children:"Best practices:"})}),d.jsxs("ul",{className:"list-disc list-inside space-y-1",children:[d.jsx("li",{children:"Keep it concise and descriptive"}),d.jsx("li",{children:"Make it relevant to your email content"}),d.jsx("li",{children:"Consider using the same text as your subject line"}),d.jsx("li",{children:"Avoid special characters that might not display properly"})]})]})]})}}class aB extends lt{getIcon(){return null}getLabel(){return"Head"}getDescription(){return"Contains metadata and configuration for the email"}getCategory(){return"layout"}getDefaults(){return qe["mj-head"]||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-attributes","mj-breakpoint","mj-font","mj-html-attributes","mj-preview","mj-style","mj-title"]}renderSettingsPanel(e,n,i){return d.jsx(dt,{title:"Head Attributes",children:d.jsxs("div",{className:"text-sm text-gray-500 text-center py-8",children:["No settings available for the head element.",d.jsx("br",{}),"Add child elements like mj-font, mj-style, or mj-preview to configure email metadata."]})})}getEdit(e){return null}}class lB extends lt{getIcon(){return null}getLabel(){return"Default attributes"}getDescription(){return"Defines default attribute values for MJML components"}getCategory(){return"layout"}getDefaults(){return qe["mj-attributes"]||{}}canHaveChildren(){return!0}getValidChildTypes(){return["mj-text","mj-button","mj-image","mj-section","mj-column","mj-wrapper","mj-body"]}renderSettingsPanel(e,n,i){return d.jsx(dt,{title:"Default Attributes",children:d.jsxs("div",{className:"text-sm text-gray-500 text-center py-8",children:["No settings available for the attributes container.",d.jsx("br",{}),"Add child elements for specific components (mj-text, mj-button, etc.) to set their default values."]})})}getEdit(e){return null}}const dB=({value:t,onChange:e,language:n="html",buttonText:i="Set content",title:r="Code Editor"})=>{const[s,o]=k.useState(!1),[a,l]=k.useState(t||""),f=()=>{l(t||""),o(!0)},c=()=>{e(a),o(!1)},u=()=>{l(t||""),o(!1)},h={minimap:{enabled:!0},fontSize:14,lineNumbers:"on",roundedSelection:!1,scrollBeyondLastLine:!1,readOnly:!1,automaticLayout:!0,wordWrap:"on",folding:!0,lineDecorationsWidth:0,lineNumbersMinChars:3,renderLineHighlight:"line",selectOnLineNumbers:!0,scrollbar:{vertical:"visible",horizontal:"visible",verticalScrollbarSize:12,horizontalScrollbarSize:12}},m=g=>{n==="html"?g.languages.html.htmlDefaults.setOptions({format:{tabSize:2,insertSpaces:!0,wrapLineLength:120,unformatted:"default",contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},suggest:{html5:!0}}):n==="css"&&g.languages.css.cssDefaults.setOptions({validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}})};return t&&t.trim().length>0?d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"space-y-2",children:d.jsx(Ee,{type:"primary",block:!0,size:"small",ghost:!0,onClick:f,children:"Edit Content"})}),d.jsx(Ua,{title:r,placement:"right",open:s,onClose:u,width:"60vw",styles:{body:{padding:0}},extra:d.jsxs("div",{className:"flex gap-2",children:[d.jsx(Ee,{size:"small",onClick:u,children:"Cancel"}),d.jsx(Ee,{size:"small",type:"primary",onClick:c,children:"Save Changes"})]}),children:d.jsx(Kc,{height:"calc(100vh - 64px)",language:n,theme:"vs",value:a,onChange:g=>l(g||""),options:h,beforeMount:m})})]}):d.jsxs(d.Fragment,{children:[d.jsx(Ee,{size:"small",type:"primary",ghost:!0,className:"text-xs",onClick:f,children:i}),d.jsx(Ua,{title:r,placement:"right",open:s,onClose:u,width:"60vw",styles:{body:{padding:0}},extra:d.jsxs("div",{className:"flex gap-2",children:[d.jsx(Ee,{size:"small",onClick:u,children:"Cancel"}),d.jsx(Ee,{size:"small",type:"primary",onClick:c,children:"Save Changes"})]}),children:d.jsx(Kc,{height:"calc(100vh - 64px)",language:n,theme:"vs",value:a,onChange:g=>l(g||""),options:h,beforeMount:m})})]})},fB=({htmlContent:t,className:e,style:n,emailTree:i})=>{const r=k.useRef(null),[s,o]=k.useState(100),a=()=>i?S.findAllBlocksByType(i,"mj-font").map(m=>{const p=m.attributes;return p?.name&&p?.href?`@import url('${p.href}');`:""}
970).filter(Boolean).join(` 971`):"",l=()=>i?S.findAllBlocksByType(i,"mj-style").map(m=>(m.content||"").trim()).filter(Boolean).join(` 972 973`):"",f=a(),c=l(),u=`<!DOCTYPE html> 974<html> 975 <head> 976 <meta charset="UTF-8"> 977 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 978 <style> 979 /* CSS Reset - Remove default browser styles */ 980 * { 981 margin: 0; 982 padding: 0; 983 border: 0; 984 outline: 0; 985 font-size: 100%; 986 font: inherit; 987 vertical-align: baseline; 988 box-sizing: border-box; 989 } 990 991 html, body { 992 margin: 0; 993 padding: 0; 994 border: 0; 995 outline: 0; 996 background: transparent !important; 997 } 998 999 /* Font imports from mj-font blocks */ 1000 ${f} 1001 1002 /* Base iframe styles */ 1003 body { 1004 padding: 10px; 1005 font-family: Arial, sans-serif; 1006 font-size: 14px; 1007 line-height: 1.5; 1008 word-wrap: break-word; 1009 overflow-x: auto; 1010 min-height: 50px; 1011 } 1012 1013 /* Prevent horizontal overflow */ 1014 img, video, iframe { 1015 max-width: 100%; 1016 height: auto; 1017 } 1018 1019 /* Style for code blocks */ 1020 pre, code { 1021 background: #f5f5f5; 1022 padding: 4px 8px; 1023 border-radius: 3px; 1024 font-family: 'Monaco', 'Consolas', monospace; 1025 font-size: 12px; 1026 } 1027 1028 /* Custom styles from mj-style blocks */ 1029 ${c} 1030 </style> 1031 </head> 1032 <body> 1033 ${t} 1034 </body> 1035</html>`;return k.useEffect(()=>{const h=r.current;if(!h)return;let m;const p=()=>{clearTimeout(m),m=window.setTimeout(()=>{try{const v=h.contentDocument||h.contentWindow?.document;if(!v)return;const b=v.body;if(b){const w=Math.max(b.scrollHeight,b.offsetHeight,b.clientHeight),A=Math.max(w+10,100);o(A)}}catch(v){console.warn("Could not adjust iframe height:",v),o(200)}},50)};h.onload=p;const g=setTimeout(p,200);return()=>{clearTimeout(m),clearTimeout(g)}},[u]),d.jsx("iframe",{ref:r,srcDoc:u,allowTransparency:!0,style:{width:"100%",height:`${s}px`,minHeight:"100px",border:"none",background:"transparent",backgroundColor:"transparent",display:"block",...n},className:e,sandbox:"allow-same-origin allow-popups allow-popups-to-escape-sandbox",title:"Raw HTML Content Preview",loading:"lazy",referrerPolicy:"no-referrer"})};class cB extends lt{getIcon(){return d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa",children:[d.jsx("polyline",{points:"16 18 22 12 16 6"}),d.jsx("polyline",{points:"8 6 2 12 8 18"})]})}getLabel(){return"Raw HTML"}getDescription(){return"Displays raw HTML that is not processed by MJML engine. Can be used in mj-head or mj-body."}getCategory(){return"layout"}getDefaults(){return qe["mj-raw"]||{}}canHaveChildren(){return!1}getValidChildTypes(){return[]}renderSettingsPanel(e,n,i){const r=this.block.attributes,s=f=>{e({content:f})},o=f=>{e({cssClass:f})},a=this.block.content||"",l=a.trim().length>0;return d.jsx(dt,{title:"Raw HTML Block",children:d.jsxs("div",{className:"space-y-4",children:[d.jsx(P,{label:"HTML Content",help:"Enter custom HTML code. When placed in mj-head, use for CSS styles, meta tags, or head elements. When placed in mj-body, use for body-level HTML structures, tracking pixels, or template logic.",layout:"vertical",children:d.jsxs("div",{className:"flex flex-col gap-3",children:[l&&d.jsx(wk,{code:a,language:"html",maxHeight:120,onExpand:()=>{},showExpandButton:!1}),d.jsx(dB,{value:this.block.content||"",onChange:s,buttonText:l?"Edit HTML Content":"Set HTML Content",title:"HTML Content Editor",language:"html"})]})}),d.jsx(P,{label:"CSS Class",help:"Custom CSS class for styling",children:d.jsx(st,{value:r.cssClass||"",onChange:f=>o(f),placeholder:"my-custom-class",buttonText:"Set Value"})})]})})}getEdit(e){const{selectedBlockId:n,onSelectBlock:i,attributeDefaults:r,emailTree:s,onCloneBlock:o,onDeleteBlock:a,onSaveBlock:l,savedBlocks:f}=e,c=this.block.id,u=n===this.block.id,h=`email-block-hover ${u?"selected":""}`.trim(),m=u?{position:"relative",zIndex:10}:{},p=w=>{w.stopPropagation(),i&&i(this.block.id)},g=S.mergeWithAllDefaults("mj-raw",this.block.attributes,r),b=this.block.content||"";return b.trim()?d.jsxs("div",{className:`${h}`.trim(),onClick:p,"data-block-id":this.block.id,style:{position:"relative",...m},children:[d.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:u?-1:1,backgroundColor:"transparent",curs
1035or:"pointer"},onClick:p}),d.jsx(fB,{htmlContent:b,className:g.cssClass,style:{pointerEvents:u?"auto":"none"},emailTree:s}),u&&d.jsx("div",{style:{position:"absolute",top:-2,left:-2,right:-2,bottom:-2,border:"2px solid #4E6CFF",borderRadius:"6px",pointerEvents:"none",zIndex:10}})]},c):d.jsx("div",{className:`${g.cssClass} ${h}`.trim(),onClick:p,"data-block-id":this.block.id,style:{padding:"20px",backgroundColor:"#f8f9fa",border:"2px dashed #dee2e6",borderRadius:"4px",color:"#6c757d",fontSize:"14px",textAlign:"center",margin:"10px",cursor:"pointer",...m},children:"Raw HTML block - Click to add custom HTML content"},c)}}class xt{static blockRegistry=new Map([["mjml",Q3],["mj-body",q3],["mj-wrapper",ex],["mj-section",Vj],["mj-column",Gj],["mj-group",Kj],["mj-text",yj],["mj-button",Aj],["mj-image",_j],["mj-divider",Cj],["mj-spacer",Sj],["mj-social",Wj],["mj-head",aB],["mj-attributes",lB],["mj-breakpoint",Jj],["mj-font",Qj],["mj-style",iB],["mj-preview",sB],["mj-title",oB],["mj-raw",cB],["mj-social-element",Gc]]);static createBlock(e){const n=this.blockRegistry.get(e.type);if(!n)throw new Error(`No block class registered for type: ${e.type}`);return new n(e)}static hasBlockType(e){return this.blockRegistry.has(e)}static getRegisteredTypes(){return Array.from(this.blockRegistry.keys())}static getAvailableBlocksForParent(e){return this.createBlock({id:"temp",type:e,attributes:{}}).getValidChildTypes().filter(r=>this.hasBlockType(r)).map(r=>{const s=this.createBlock({id:"temp",type:r,attributes:{}});return{type:r,label:s.getLabel(),description:s.getDescription(),category:s.getCategory(),icon:s.getIcon()}})}static registerBlockType(e,n){this.blockRegistry.set(e,n)}static unregisterBlockType(e){this.blockRegistry.delete(e)}}const uB=` 1036 .email-block-hover { 1037 position: relative; 1038 } 1039 1040 .email-block-hover::before { 1041 content: ''; 1042 position: absolute; 1043 top: 0; 1044 left: 0; 1045 right: 0; 1046 bottom: 0; 1047 pointer-events: none; 1048 opacity: 0; 1049 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.15); 1050 transition: opacity 0.2s ease; 1051 z-index: 1; 1052 } 1053 1054 /* Only show hover on the deepest element */ 1055 .email-block-hover:hover::before { 1056 opacity: 1; 1057 } 1058 1059 /* Hide hover effect on parents when any child is hovered */ 1060 .email-block-hover:hover .email-block-hover:hover::before { 1061 opacity: 0; 1062 } 1063 1064 /* Show hover only on the deepest hovered element */ 1065 .email-block-hover:hover:not(:has(.email-block-hover:hover))::before { 1066 opacity: 1; 1067 } 1068 1069 /* Fallback for browsers that don't support :has() */ 1070 @supports not selector(:has(*)) { 1071 .email-block-hover:hover .email-block-hover::before { 1072 opacity: 0; 1073 } 1074 .email-block-hover:hover::before { 1075 opacity: 1; 1076 } 1077 } 1078 1079 .email-block-hover.selected::before { 1080 box-shadow: 0px 0px 3px 1px #4E6CFF; 1081 opacity: 1; 1082 } 1083 1084 .email-block-hover.selected:hover::before { 1085 box-shadow: 0px 0px 3px 1px #4E6CFF; 1086 opacity: 1; 1087 } 1088 1089 /* Selection always visible, even when child is hovered */ 1090 .email-block-hover.selected::before { 1091 opacity: 1 !important; 1092 } 1093`;if(typeof document<"u"&&!document.getElementById("email-block-hover-styles")){const t=document.createElement("style");t.id="email-block-hover-styles",t.textContent=uB,document.head.appendChild(t)}class S{block;constructor(e){this.block=e}getIcon(e){try{if(xt.hasBlockType(this.block.type))return xt.createBlock(this.block).getIcon(e)}catch(n){console.error(n)}return null}getLabel(e){try{if(xt.hasBlockType(this.block.type))return xt.createBlock(this.block).getLabel(e)}catch(n){console.error(n)}return this.block.type}getHeaderBlockDescription(){switch(this.block.type){case"mj-breakpoint":return d.jsxs("div",{children:[d.jsx("div",{style:{marginBottom:12},children:"Set responsive breakpoint width for mobile optimization and layout control"}),d.jsxs("div",{style:{width:60,height:30,border:"2px solid #52c41a",borderRadius:4,backgroundColor:"#f6ffed",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",margin:"0 auto"},children:[d.jsx("div",{style:{width:40,height:20,border:"1px solid #52c41a",borderRadius:2,backgroundColor:"#f6ffed",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{fontSize:8,color:"#52c41a",fontWeight:"bold"},children:"ð±"})}),d.jsx("div",{style:{position:"absolute",right:2,top:2,width:4,height:4,backgroundColor:"#52c41a",borderRadius:"50%"}})]})]});case"mj-font":return d.jsxs("div",{children:[d.jsx("div",{style:{marginBottom:12},children:"Import custom fonts from external sources like Google Fonts for typography"}
1093),d.jsxs("div",{style:{width:60,height:30,border:"2px solid #1890ff",borderRadius:4,backgroundColor:"#e6f7ff",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",position:"relative",margin:"0 auto"},children:[d.jsx("div",{style:{fontSize:10,color:"#1890ff",fontWeight:"bold",lineHeight:1},children:"Aa"}),d.jsx("div",{style:{fontSize:6,color:"#69c0ff",marginTop:1},children:"Font"})]})]});case"mj-style":return d.jsxs("div",{children:[d.jsx("div",{style:{marginBottom:12},children:"Add custom CSS styles to enhance email appearance and layout"}),d.jsxs("div",{style:{width:60,height:30,border:"2px solid #eb2f96",borderRadius:4,backgroundColor:"#fff0f6",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",margin:"0 auto"},children:[d.jsx("div",{style:{width:40,height:16,backgroundColor:"#ffadd6",borderRadius:2,display:"flex",alignItems:"center",justifyContent:"center",fontSize:8,color:"#eb2f96",fontWeight:"bold"},children:"CSS"}),d.jsx("div",{style:{position:"absolute",right:3,top:3,fontSize:8,color:"#eb2f96"},children:"â¨"})]})]});default:return null}}getRenderSettingsPanel(e,n,i){try{if(xt.hasBlockType(this.block.type))return xt.createBlock(this.block).renderSettingsPanel(n,i)}catch(r){console.error(`Error rendering settings panel for ${this.block.type}:`,r)}return null}getDefaults(){return qe[this.block.type]||{}}getEdit(e){return S.renderEmailBlock(this.block,e.attributeDefaults||{},e.selectedBlockId||null,e.onSelectBlock,e.emailTree,e.onUpdateBlock,e.onCloneBlock,e.onDeleteBlock,e.onSaveBlock)}static from(e){return new S(e)}canHaveChildren(){try{if(xt.hasBlockType(this.block.type))return xt.createBlock(this.block).canHaveChildren()}catch{}return!["mj-preview","mj-title"].includes(this.block.type)}getValidChildTypes(){try{if(xt.hasBlockType(this.block.type))return xt.createBlock(this.block).getValidChildTypes()}catch{}return{"mj-head":["mj-attributes","mj-preview","mj-title"],"mj-attributes":[],"mj-preview":[],"mj-title":[]}[this.block.type]||[]}canAcceptChild(e){return this.getValidChildTypes().includes(e)}static findBlockById(e,n){if(e.id===n)return e;if(e.children)for(const i of e.children){const r=S.findBlockById(i,n);if(r)return r}return null}static findBlockByType(e,n){if(e.type===n)return e;if(e.children)for(const i of e.children){const r=S.findBlockByType(i,n);if(r)return r}return null}static findAllBlocksByType(e,n){const i=[],r=s=>{if(s.type===n&&i.push(s),s.children)for(const o of s.children)r(o)};return r(e),i}static generateId(){return _3()}static createBlock(e,n,i,r){const s=qe[e]||{};let o={};r&&(o=S.extractAttributeDefaults(r)[e]||{});const a={...s,...o},l={id:n||S.generateId(),type:e,attributes:a};if(e!=="mj-text"&&e!=="mj-button"&&e!=="mj-image"&&e!=="mj-preview"&&e!=="mj-title"&&e!=="mj-style"&&e!=="mj-raw"&&(l.children=[]),e==="mj-text"||e==="mj-button"||e==="mj-title"||e==="mj-preview")if(e==="mj-text")if(i){const f=/^\s*</.test(i);l.content=f?i:`<p>${i}</p>`}else l.content="<p></p>";else l.content=i;if(e==="mj-social"){const f=[{id:S.generateId(),type:"mj-social-element",attributes:{name:"facebook",href:"https://facebook.com",backgroundColor:"#3b5998",borderRadius:"3px"},children:[]},{id:S.generateId(),type:"mj-social-element",attributes:{name:"instagram",href:"https://instagram.com",backgroundColor:"#E4405F",borderRadius:"3px"},children:[]},{id:S.generateId(),type:"mj-social-element",attributes:{name:"x",href:"https://x.com",backgroundColor:"#000000",borderRadius:"3px"},children:[]}];l.children=f}return l}static validateStructure(e){const n=[],i=(r,s="")=>{const o=S.from(r),a=s?`${s} > ${o.getLabel()}`:o.getLabel();if(r.children)for(const l of r.children)o.canAcceptChild(l.type)||n.push(`Invalid child: ${l.type} cannot be placed inside ${r.type} at ${a}`),i(l,a);r.type==="mj-image"&&r.attributes&&!("src"in r.attributes)&&n.push(`Missing required 'src' attribute for image at ${a}`)};return i(e),n}static removeBlockFromTree(e,n){const i=JSON.parse(JSON.stringify(e)),r=(o,a)=>{if(o.children){const l=o.children.findIndex(f=>f.id===a);if(l!==-1)return o.children.splice(l,1),!0;for(const f of o.children)if(r(f,a))return!0}return!1};return i.id===n?null:r(i,n)?i:null}static insertBlockIntoTree(e,n,i,r){const s=JSON.parse(JSON.stringify(e)),o=(l,f)=>{if(l.id===f){l.children||(l.children=[]);const c=Math.max(0,Math.min(r,l.children.length));return l.children.splice(c,0,i),!0}if(l.children){for(const c of l.children)if(o(c,f))return!0}return!1};return o(s,n)?s:null}static moveBlockInTree(e,n,i,r){const s=S.findBlockById(e,n);if(!s)return null;const o=S.findBlockById(e,i);if(!o)return null;if(!S.from(o).canAcceptChild(s.type))return console.warn(`Cannot move ${s.type} into ${o.type}`),null;const l=JSON.parse(JSON.stringify(s)),f=S.removeBlockFromTree(e,n);return f?S.insertBlockIntoTree(f,i,l,r):null}static extractAttributeDefaults(e){const n={},i=e.children?.find(s=>
1093s.type==="mj-head");if(!i)return n;const r=i.children?.find(s=>s.type==="mj-attributes");return!r||!r.children||r.children.forEach(s=>{s.attributes&&(n[s.type]=s.attributes)}),n}static mergeWithAllDefaults(e,n={},i={}){const r=U3(e,{}),s=i[e]||{};return{...r,...s,...n}}static renderEmailBlock(e,n,i,r,s,o,a,l,f,c){try{if(xt.hasBlockType(e.type))return xt.createBlock(e).getEdit({selectedBlockId:i,onSelectBlock:r,onUpdateBlock:o,onCloneBlock:a,onDeleteBlock:l,attributeDefaults:n,emailTree:s,onSaveBlock:f,savedBlocks:c})}catch(u){console.warn(`Error using new block class for ${e.type}, falling back to legacy:`,u)}switch(e.type){case"mj-head":case"mj-attributes":case"mj-preview":case"mj-title":return null;default:return console.warn(`No rendering implementation for block type: ${e.type}`),null}}static regenerateIds(e){const n=JSON.parse(JSON.stringify(e)),i=r=>{r.id=S.generateId(),r.children&&r.children.forEach(i)};return i(n),n}static isChildOf(e,n,i){const r=(o,a,l=[])=>{const f=[...l,o];if(o.id===a)return f;if(o.children)for(const c of o.children){const u=r(c,a,f);if(u)return u}return null},s=r(e,n);return s?s.some(o=>o.type===i):!1}static GetInitialTemplate(){const e=qe,n=S.createBlock("mjml","mjml-1"),i=S.createBlock("mj-head","head-1"),r=S.createBlock("mj-attributes","attributes-1"),s=S.createBlock("mj-text","text-defaults-1");s.attributes={...e["mj-text"],fontSize:"16px",color:"#333333",lineHeight:"1.6",fontFamily:"Arial, sans-serif",align:"left",paddingTop:"10px",paddingRight:"25px",paddingBottom:"10px",paddingLeft:"25px"};const o=S.createBlock("mj-button","button-defaults-1");o.attributes={...e["mj-button"],backgroundColor:"#007bff",color:"#ffffff",borderRadius:"4px",fontSize:"16px",fontWeight:"bold",innerPadding:"12px 24px",lineHeight:"120%",paddingTop:"15px",paddingRight:"25px",paddingBottom:"15px",paddingLeft:"25px",target:"_blank",verticalAlign:"middle",align:"center",textDecoration:"none",textTransform:"none"};const a=S.createBlock("mj-image","image-defaults-1");a.attributes={...e["mj-image"],width:"150px",align:"center",src:"https://placehold.co/150x60/E3F2FD/1976D2?font=playfair-display&text=LOGO"};const l=S.createBlock("mj-section","section-defaults-1");l.attributes={...e["mj-section"],paddingTop:"20px",paddingBottom:"20px",textAlign:"center",fullWidth:"full-width"};const f=S.createBlock("mj-column","column-defaults-1");f.attributes={...e["mj-column"],width:"100%"},r.children=[s,o,a,l,f];const c=S.createBlock("mj-preview","preview-1","Welcome! See how sections provide borders and groups prevent mobile stacking.");i.children=[r,c];const u=S.createBlock("mj-body","body-1");u.attributes={width:"600px",backgroundColor:"#f8f9fa"},n.children=[i,u];let h=n;const m=S.createBlock("mj-wrapper","wrapper-1");m.attributes={paddingTop:"20px",paddingRight:"20px",paddingBottom:"20px",paddingLeft:"20px"},h=S.insertBlockIntoTree(h,"body-1",m,0);const p=S.createBlock("mj-section","hero-section-1");p.attributes={fullWidth:"full-width",backgroundUrl:"https://images.unsplash.com/photo-1495419597644-19934b6b7c40?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8N3x8YmVhY2glMjBwYXN0ZWx8ZW58MHx8MHx8fDA%3D",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center center",paddingTop:"80px",paddingRight:"20px",paddingBottom:"80px",paddingLeft:"20px",textAlign:"center"},h=S.insertBlockIntoTree(h,"wrapper-1",p,0);const g=S.createBlock("mj-column","hero-column-1");g.attributes={width:"100%"},h=S.insertBlockIntoTree(h,"hero-section-1",g,0);const v=S.createBlock("mj-image","logo-1",void 0,h);v.attributes={...v.attributes,src:"https://placehold.co/150x60/E3F2FD/1976D2?font=playfair-display&text=LOGO",width:"150px",paddingBottom:"20px"};const b=S.createBlock("mj-text","hero-title-1",void 0,h);b.content="Beautiful Email Templates",b.attributes={...b.attributes,color:"#ffffff",align:"center",paddingBottom:"20px",paddingTop:"0px",paddingLeft:"20px",paddingRight:"20px",fontSize:"32px",fontWeight:"bold",lineHeight:"1.2"};const w=S.createBlock("mj-text","hero-subtitle-1",void 0,h);w.content="Create stunning, responsive emails with our powerful MJML builder",w.attributes={...w.attributes,color:"#000000",align:"center",paddingBottom:"30px",paddingTop:"0px",paddingLeft:"40px",paddingRight:"40px",fontSize:"20px",fontWeight:"500",lineHeight:"28px"};const A=S.createBlock("mj-button","hero-button-1","Get Started Today",h);A.attributes={...A.attributes,href:"#",backgroundColor:"#EC407A",color:"#ffffff",borderRadius:"30px",fontSize:"18px",fontWeight:"bold",innerPadding:"16px 32px",lineHeight:"120%",paddingTop:"0px",paddingRight:"25px",paddingBottom:"0px",paddingLeft:"25px",target:"_blank",verticalAlign:"middle",align:"center",textDecoration:"none",textTransform:"none"},h=S.insertBlockIntoTree(h,"hero-column-1",v,0),h=S.insertBlockIntoTree(h,"hero-column-1",b,1),h=S.insertBlockIntoTree(h,"hero-column-1",w,2),h=S.insertBlockIntoTree(h,"hero-column-1",A,3);const y=S.createBlock("mj-section","title-section");y.attributes={backgroundColor:"#ffffff",borderRadius:"8px",paddingTop:"25px",paddingRight:"25px",paddingBottom:"25px",paddingLeft:"25px"},h=S.insertBlockIntoTree(h,"wrapper-1",y,1);const x=S.createBlock("mj-column","title-column");x.attributes={width:"100%"},h=S.insertBlockIntoTree(h,"title-section",x,0);const C=S.createBlock("mj-text","title-1",void 0,h);C.content="Welcome {{name}} to MJML email builder",C.attributes={...C.attributes,color:"#EC407A",align:"center",paddingBottom:"15px",fontSize:"24px",fontWeight:"bold",lineHeight:"1.3"};const _=S.createBlock("mj-text","explanation-1",void 0,h);_.content="This section demonstrates MJML components. Below you'll see a group that prevents its columns from stacking on mobile devices.",_.attributes={..._.attributes,align:"center",color:"#666666",paddingBottom:"25px"};const j=S.createBlock("mj-button","button-1","Learn More About MJML",h);j.attributes={...j.attributes,href:"https://documentation.mjml.io/",backgroundColor:"#EC407A",paddingBottom:"30px"},h=S.insertBlockIntoTree(h,"title-column",C,0),h=S.insertBlockIntoTree(h,"title-column",_,1),h=S.insertBlockIntoTree(h,"title-column",j,2);const I=S.createBlock("mj-divider","divider-1",void 0,h);I.attributes={...I.attributes,borderColor:"#dee2e6",borderStyle:"solid",borderWidth:"2px",width:"50%",align:"center",paddingTop:"30px",paddingRight:"25px",paddingBottom:"30px",paddingLeft:"25px"},h=S.insertBlockIntoTree(h,"title-column",I,3);const E=S.createBlock("mj-section","section-1");E.attributes={backgroundColor:"#ffffff",borderRadius:"8px",paddingTop:"25px",paddingRight:"25px",paddingBottom:"25px",paddingLeft:"25px"},h=S.insertBlockIntoTree(h,"wrapper-1",E,2);const F=S.createBlock("mj-group","group-1");F.attributes={width:"100%",backgroundColor:"#f8f9fa"},h=S.insertBlockIntoTree(h,"section-1",F,0);const N=S.createBlock("mj-column","column-2");N.attributes={width:"50%"},h=S.insertBlockIntoTree(h,"group-1",N,0);const T=S.createBlock("mj-column","column-3");T.attributes={width:"50%"},h=S.insertBlockIntoTree(h,"group-1",T,1);const B=S.createBlock("mj-text","left-title-1",void 0,h);B.content="Left Column",B.attributes={...B.attributes,color:"#EC407A",align:"center",paddingBottom:"10px",fontSize:"18px",fontWeight:"bold",lineHeight:"1.4"};const M=S.createBlock("mj-text","left-text-1",void 0,h);M.content="This column stays side-by-side with the right column even on mobile devices because both columns are inside an mj-group element.",M.attributes={...M.attributes,align:"center",color:"#666666",fontSize:"14px"};const D=S.createBlock("mj-text","right-title-1",void 0,h);D.content="Right Column",D.attributes={...D.attributes,color:"#EC407A",align:"center",paddingBottom:"10px",fontSize:"18px",fontWeight:"bold",lineHeight:"1.4"};const G=S.createBlock("mj-text","right-text-1",void 0,h);G.content="Groups prevent the default mobile stacking behavior. Without a group, these columns would stack vertically on mobile for better readability.",G.attributes={...G.attributes,align:"center",color:"#666666",fontSize:"14px"},h=S.insertBlockIntoTree(h,"column-2",B,0),h=S.insertBlockIntoTree(h,"column-2",M,1),h=S.insertBlockIntoTree(h,"column-3",D,0),h=S.insertBlockIntoTree(h,"column-3",G,1);const ge=S.createBlock("mj-raw","raw-demo-1",void 0,h);ge.content=`<!-- Custom CSS for email clients --> 1094<style type="text/css"> 1095 .custom-highlight { 1096 background: linear-gradient(45deg, #ff6b6b, #4ecdc4); 1097 padding: 2px 6px; 1098 border-radius: 3px; 1099 color: white; 1100 font-weight: bold; 1101 } 1102</style> 1103 1104<!-- Custom HTML structure --> 1105<div style="text-align: center; padding: 20px; background-color: #f0f8ff; margin: 20px 0; border-radius: 8px;"> 1106 <p style="margin: 0; font-size: 14px; color: #333;"> 1107 This is <span class="custom-highlight">custom HTML</span> content from an mj-raw block! 1108 </p> 1109 <p style="margin: 8px 0 0 0; font-size: 12px; color: #666;">
1110 Perfect for custom styling, special HTML structures, or advanced layouts. 1111 </p> 1112</div>`,h=S.insertBlockIntoTree(h,"wrapper-1",ge,3);const fe=S.createBlock("mj-section","social-section-1");fe.attributes={backgroundColor:"#ffffff",borderRadius:"8px",paddingTop:"25px",paddingRight:"25px",paddingBottom:"25px",paddingLeft:"25px"},h=S.insertBlockIntoTree(h,"wrapper-1",fe,4);const me=S.createBlock("mj-column","social-column-1");me.attributes={width:"100%"},h=S.insertBlockIntoTree(h,"social-section-1",me,0);const H=S.createBlock("mj-text","social-title-1",void 0,h);H.content="Connect With Us",H.attributes={...H.attributes,color:"#EC407A",align:"center",paddingBottom:"20px",fontSize:"24px",fontWeight:"bold",lineHeight:"1.3"};const X=S.createBlock("mj-social","social-1",void 0,h);return X.attributes={...X.attributes,mode:"horizontal",align:"center",iconSize:"40px",iconHeight:"40px",innerPadding:"8px",paddingTop:"20px",paddingRight:"25px",paddingBottom:"20px",paddingLeft:"25px"},h=S.insertBlockIntoTree(h,"social-column-1",H,0),h=S.insertBlockIntoTree(h,"social-column-1",X,1),h}static redistributeGroupColumnWidths(e,n){const i=JSON.parse(JSON.stringify(e)),r=S.findBlockById(i,n);if(!r||r.type!=="mj-group"||!r.children)return i;const s=r.children.filter(l=>l.type==="mj-column"),o=s.length;if(o===0)return i;const a=`${100/o}%`;return s.forEach(l=>{l.attributes||(l.attributes={}),l.attributes.width=a}),console.log(`Redistributed widths for ${o} columns in group ${n}: ${a} each`),i}static redistributeColumnWidthsAfterMove(e,n,i,r){let s=JSON.parse(JSON.stringify(e));const o=S.findBlockById(s,n);if(!o||o.type!=="mj-column")return s;if(i!==r){const l=S.findBlockById(s,i);if(l)if(l.type==="mj-section"){const f=l.children?.filter(c=>c.type==="mj-column")||[];if(f.length>0){const c=`${100/f.length}%`;f.forEach(u=>{u.attributes||(u.attributes={}),u.attributes.width=c})}}else l.type==="mj-group"&&(s=S.redistributeGroupColumnWidths(s,i))}const a=S.findBlockById(s,r);if(a)if(a.type==="mj-section"){const l=a.children?.filter(f=>f.type==="mj-column")||[];if(l.length>0){const f=`${100/l.length}%`;l.forEach(c=>{c.attributes||(c.attributes={}),c.attributes.width=f})}}else a.type==="mj-group"&&(s=S.redistributeGroupColumnWidths(s,r));return s}static cleanupFontReferences(e,n,i="Arial, sans-serif"){const r=JSON.parse(JSON.stringify(e)),s=o=>{if(o.attributes&&"fontFamily"in o.attributes&&o.attributes.fontFamily===n&&(console.log(`Resetting fontFamily from "${n}" to "${i}" for block ${o.id} (${o.type})`),o.attributes.fontFamily=i),o.children)for(const a of o.children)s(a)};return s(r),r}}const{Text:hB,Title:mm}=xr,pB=` 1113 .add-block-popover .ant-popover-content { 1114 padding: 0; 1115 } 1116 1117 .add-block-popover .ant-popover-inner { 1118 padding: 0; 1119 border-radius: 8px; 1120 overflow: hidden; 1121 box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); 1122 } 1123`;if(typeof document<"u"&&!document.getElementById("add-block-popover-styles")){const t=document.createElement("style");t.id="add-block-popover-styles",t.textContent=pB,document.head.appendChild(t)}const gm=["mj-breakpoint","mj-font","mj-style","mj-preview","mj-title","mj-raw"],mB=({mode:t,parentId:e,parentType:n,position:i,emailTree:r,onAddBlock:s,onAddSavedBlock:o,children:a,savedBlocks:l,hiddenBlocks:f})=>{const[c,u]=k.useState(!1),[h,m]=k.useState(null),[p,g]=k.useState(null),[v,b]=k.useState("blocks"),A=(()=>{if(t==="header"){const M=gm.filter(D=>xt.hasBlockType(D)).filter(D=>!f?.includes(D)).map(D=>{const G=xt.createBlock({id:"temp",type:D,attributes:{}});return{type:D,label:G.getLabel(),description:G.getDescription(),icon:G.getIcon()}});if(r){const D=S.findBlockByType(r,"mj-breakpoint");return M.filter(G=>!(G.type==="mj-breakpoint"&&D))}return M}else return n?xt.getAvailableBlocksForParent(n).filter(D=>!f?.includes(D.type)):[]})(),y=()=>l?l.filter(D=>f?.includes(D.block.type)?!1:t==="header"?gm.includes(D.block.type):n?xt.getAvailableBlocksForParent(n).some(ge=>ge.type===D.block.type):!1).map(D=>({id:D.id,name:D.name,block:D.block,description:`Saved block: ${D.name}`,icon:S.from(D.block).getIcon()})):[],x=M=>{const D=l?.find(G=>
1123G.id===M);!D||!o||(o(e,D.block,i),u(!1),g(null),m(null))};if(A.length===0)return null;const C=M=>{s(e,M,i),u(!1),m(null)},_=M=>{m(M),g(null)},j=M=>{g(M),m(null)},I=()=>d.jsx("div",{style:{marginBottom:16},children:d.jsx("div",{style:{marginTop:8},children:A.map(M=>d.jsx(gB,{block:M,selectedBlock:h,onHover:_,onAdd:C},M.type))})}),E=()=>{const M=y();return M.length===0?d.jsxs("div",{style:{padding:16,textAlign:"center",color:"#999"},children:[d.jsx("div",{children:"No saved blocks yet"}),d.jsx("div",{style:{fontSize:12,marginTop:8},children:"Use the save button in the block toolbar to save blocks"})]}):d.jsx("div",{style:{marginBottom:16},children:d.jsx("div",{style:{marginTop:8},children:M.map(D=>d.jsx(vB,{savedBlock:D,selectedSavedBlock:p,onHover:j,onAdd:x},D.id))})})},F=y(),N=F.length>0,T=[{key:"blocks",label:"Blocks",children:I()}];N&&T.push({key:"saved",label:`Saved (${F.length})`,children:E()});const B=d.jsx("div",{style:{width:600,maxHeight:600},children:d.jsxs(ct,{gutter:0,style:{height:"100%"},children:[d.jsx(Ce,{span:12,style:{borderRight:"1px solid #f0f0f0",height:"100%"},children:d.jsxs("div",{style:{padding:"16px 12px",height:"100%",overflow:"auto"},children:[d.jsx("div",{className:"pb-2 text-slate-900",children:"Available Blocks"}),d.jsx(kw,{defaultActiveKey:"blocks",activeKey:v,onChange:b,items:T,size:"small"})]})}),d.jsx(Ce,{span:12,style:{height:"100%"},children:d.jsx("div",{style:{padding:16,height:"100%",display:"flex",flexDirection:"column"},children:h?d.jsxs(d.Fragment,{children:[d.jsx(mm,{level:5,style:{margin:"0 0 8px 0",fontSize:14},children:h.label}),d.jsx("div",{style:{fontSize:12,lineHeight:1.5,color:"rgba(0, 0, 0, 0.65)"},children:h.description}),d.jsx("div",{style:{marginTop:"auto",paddingTop:16},children:d.jsxs(Ee,{type:"primary",size:"small",block:!0,onClick:()=>C(h.type),children:[d.jsx(ae,{icon:Pf,style:{marginRight:6}}),"Add ",h.label]})})]}):p?d.jsxs(d.Fragment,{children:[d.jsx(mm,{level:5,style:{margin:"0 0 8px 0",fontSize:14},children:p.name}),d.jsx("div",{style:{fontSize:12,lineHeight:1.5,color:"rgba(0, 0, 0, 0.65)"},children:p.description}),d.jsx("div",{style:{marginTop:"auto",paddingTop:16},children:d.jsxs(Ee,{type:"primary",size:"small",block:!0,onClick:()=>x(p.id),children:[d.jsx(ae,{icon:Pf,style:{marginRight:6}}),"Add ",p.name]})})]}):d.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center",color:"#bfbfbf"},children:d.jsxs("div",{children:[d.jsx("div",{style:{fontSize:32,marginBottom:8},children:"ð"}),d.jsx(hB,{type:"secondary",style:{fontSize:12},children:"Hover over a block to see details"})]})})})})]})});return d.jsx(pr,{content:B,trigger:"click",placement:"rightTop",open:c,onOpenChange:u,classNames:{root:"add-block-popover"},children:a})},gB=({block:t,selectedBlock:e,onHover:n,onAdd:i})=>d.jsx("div",{className:` 1124 w-full h-8 px-2 py-1.5 mb-1 text-left text-xs rounded cursor-pointer 1125 transition-all duration-200 ease-in-out 1126 ${e?.type===t.type?" border border-blue-200":"bg-transparent border border-transparent hover:border-primary"} 1127 `,onMouseEnter:()=>n(t),onClick:()=>i(t.type),children:d.jsxs(ai,{children:[t.icon,d.jsx("span",{style:{fontSize:12},children:t.label})]})}),vB=({savedBlock:t,selectedSavedBlock:e,onHover:n,onAdd:i})=>d.jsx("div",{className:` 1128 w-full h-8 px-2 py-1.5 mb-1 text-left text-xs rounded cursor-pointer 1129 transition-all duration-200 ease-in-out 1130 ${e?.id===t.id?" border border-blue-200":"bg-transparent border border-transparent hover:border-primary"} 1131 `,onMouseEnter:()=>n(t),onClick:()=>i(t.id),children:d.jsxs(ai,{children:[t.icon,d.jsx("span",{style:{fontSize:12},children:t.name})]})}),Ak=["mj-section","mj-column","mj-group","mj-text","mj-button","mj-image","mj-divider","mj-spacer","mj-social","mj-social-element","mj-raw"],vm=["mj-breakpoint","mj-font","mj-html-attributes","mj-attributes","mj-style","mj-title","mj-preview","mj-body","mj-wrapper","mj-section","mj-column","mj-group","mj-text","mj-button","mj-image","mj-divider","mj-spacer","mj-social","mj-social-element","mj-raw"],bB=["mj-head","mj-body","mj-wrapper","mj-section","mj-column","mj-social","mj-group"],yB=t=>
1131({"mj-head":"Add block in header","mj-body":"Add block in body","mj-wrapper":"Add block in wrapper","mj-section":"Add block in section","mj-column":"Add block in column","mj-social":"Add social element","mj-group":"Add column in group"})[t]||"Add block",Jc=t=>bB.includes(t),xk=(t,e)=>{const n=S.isChildOf(t,e,"mj-attributes"),i=S.findBlockById(t,e);return n||i?.type==="mjml"},kB=({onClick:t,title:e="Add Block"})=>d.jsx(Ke,{title:e,children:d.jsx("div",{className:"inline-flex items-center text-[11px] h-5 border border-dashed rounded-xs border-primary text-primary cursor-pointer px-1",onClick:t,children:d.jsx(ae,{icon:Pf})})}),Uc=({parentId:t,parentType:e,position:n,emailTree:i,onAddBlock:r,onAddSavedBlock:s,savedBlocks:o,hiddenBlocks:a})=>{const l=yB(e),f=e==="mj-head"?"header":"content",c=e==="mj-head"?"span":"div";return d.jsx(mB,{mode:f,parentId:t,parentType:e,position:n,emailTree:i,onAddBlock:r,onAddSavedBlock:s,savedBlocks:o,hiddenBlocks:a,children:d.jsx(c,{children:d.jsx(kB,{title:l})})})},wB=()=>d.jsx("span",{className:"inline-block ml-2",children:d.jsx(Ke,{title:"Drag to move this block in the tree",trigger:["hover"],onOpenChange:t=>{},children:d.jsx("span",{className:"opacity-50",children:d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa inline-block",children:[d.jsx("circle",{cx:"9",cy:"12",r:"1"}),d.jsx("circle",{cx:"9",cy:"5",r:"1"}),d.jsx("circle",{cx:"9",cy:"19",r:"1"}),d.jsx("circle",{cx:"15",cy:"12",r:"1"}),d.jsx("circle",{cx:"15",cy:"5",r:"1"}),d.jsx("circle",{cx:"15",cy:"19",r:"1"})]})})})}),AB=({onDelete:t})=>d.jsx(lg,{title:"Are you sure you want to delete this block?",onConfirm:t,onCancel:e=>e?.stopPropagation(),children:d.jsx(Ke,{title:"Delete block",placement:"right",children:d.jsx("span",{className:"inline-flex items-center justify-center h-7 pr-2 opacity-50 hover:opacity-100 cursor-pointer ml-1 align-middle",children:d.jsx(ae,{icon:ng,size:"sm"})})})}),xB=({block:t,blockClass:e,index:n,parentType:i,selectedBlockId:r,emailTree:s,onAddBlock:o,onAddSavedBlock:a,onDeleteBlock:l,savedBlocks:f,hiddenBlocks:c})=>{const h=i!=="mj-attributes"?n:void 0,m=S.isChildOf(s,t.id,"mj-attributes"),p=Ak.includes(t.type)&&!m,g=xk(s,t.id);return d.jsxs("span",{children:[d.jsx("span",{children:e.getLabel(h)}),d.jsxs("span",{className:"float-right flex items-center gap-1",children:[Jc(t.type)&&o&&!g&&d.jsx(Uc,{parentId:t.id,parentType:t.type,position:t.children?.length||0,emailTree:s,onAddBlock:o,onAddSavedBlock:a,savedBlocks:f,hiddenBlocks:c}),i==="mj-head"&&t.type!=="mj-attributes"&&r===t.id&&d.jsx(AB,{onDelete:()=>l(t.id)}),p&&d.jsx(wB,{})]})]})},Qc=(t,e,n,i,r,s,o,a,l,f,c)=>{const u=S.from(t),h=S.isChildOf(e,t.id,"mj-attributes"),m=xk(e,t.id),p={key:t.id,title:d.jsx(xB,{block:t,blockClass:u,index:s,parentType:o,selectedBlockId:n,emailTree:e,onAddBlock:a,onAddSavedBlock:l,onDeleteBlock:i,savedBlocks:f,hiddenBlocks:c}),icon:u.getIcon(o),blockType:t.type,isLeaf:!u.canHaveChildren()||!t.children||t.children.length===0,disabled:!vm.includes(t.type),selectable:vm.includes(t.type),draggable:Ak.includes(t.type)&&!h};if(t.children&&t.children.length>0){const v=(c?t.children.filter(b=>!c.includes(b.type)):t.children).map((b,w)=>Qc(b,e,n,i,r,w,t.type,a,l,f,c));if(u.canHaveChildren()&&a&&!m&&!Jc(t.type)){const b={key:`add-${t.id}`,title:d.jsx(Uc,{parentId:t.id,parentType:t.type,position:t.children.length,emailTree:e,onAddBlock:a,onAddSavedBlock:l,savedBlocks:f,hiddenBlocks:c}),icon:null,blockType:"mj-text",isLeaf:!0,disabled:!1,selectable:!1,draggable:!1};v.push(b)}p.children=v}else if(u.canHaveChildren()&&a&&!m&&!Jc(t.type)){const g={key:`add-${t.id}`,title:d.jsx(Uc,{parentId:t.id,parentType:t.type,position:0,emailTree:e,onAddBlock:a,onAddSavedBlock:l,savedBlocks:f,hiddenBlocks:c}),icon:null,blockType:"mj-text",isLeaf:!0,disabled:!1,selectable:!1,draggable:!1};p.children=[g],p.isLeaf=!1}return p},bm=(t,e)=>{const n={id:"temp",type:e,attributes:{}};return S.from(n).canAcceptChild(t)},_k=(t,e)=>{for(const n of t){if(n.pos===e)return n.key;if(n.children){const i=_k(n.children,e);if(i)return i}}return null},Ck=(t,e="0")=>t.map((n,i)=>({...n,pos:`${e}-${i}`,children:n.children?Ck(n.children,`${e}-${i}`):void 0})),_B=({emailTree:t,selectedBlockId:e,onSelectBlock:n,onAddBlock:i,onAddSavedBlock:r,onDeleteBlock:s,onCloneBlock:o,onMoveBlock:a,savedBlocks:l,expandedKeys:f=[],onTreeExpand:c,onExpandBlock:u,hiddenBlocks:h})=>{const m=t.children?.find(C=>C.type==="mj-head")||null,p=t.children?.find(C=>C.type==="mj-body")||null,g=m?[Qc(m,t,e,s,o,void 0,"mjml",i,r,l,h)]:[],v=p?[Qc(p,t,e,s,o,void 0,"mjml",i,r,l,h)]:[],b=C=>{const _=C[0];C.length===0&&e||n(_||null)},w=C=>{c&&c(C)},A=C=>{if(c){const _=C.filter(I=>{const E=S.findBlockById(t,I);return E&&(E.type==="mj-head"||S.isChildOf(t,E.id,"mj-head"))}),j=f.filter(I=>{const E=S.findBlockById(t,I);return E&&(E.type==="mj-body"||S.isChildOf(t,E.id,"mj-body"))});c([..._,...j])}},y=C=>{const _=C.node.key,j=C.dragNode.key,I=C.node.pos.split("-"),E=C.dropPosition-Number(I[I.length-1]),F=C.dragNode,N=C.node;let T,B;if(C.dropToGap){const D=C.node.pos.split("-").slice(0,-1).join("-"),G=Ck(v),ge=_k(G,D);if(!ge){console.error("Could not find parent for sibling drop");return}const fe=S.findBlockById(t,ge);if(!fe){console.error("Parent block not found");return}if(!S.from(fe).canAcceptChild(F.blockType)){console.warn("Sibling drop not allowed:",F.blockType,"cannot be child of",fe.type);return}T=ge,B=E<0?Number(I[I.length-1]):Number(I[I.length-1])+1}else{if(!bm(F.blockType,N.blockType)){console.warn("Drop not allowed:",F.blockType,"into",N.blockType);return}T=_,B=0}a(j,T,B)},x={showIcon:!0,blockNode:!0,switcherIcon:({expanded:C})=>C?d.jsx(ae,{icon:pw}):d.jsx(ae,{icon:mw}),selectedKeys:e?[e]:[],onSelect:b,rootStyle:{background:"none"}};return d.jsxs("div",{className:"flex flex-col pb-6 pr-4",children:[g.length>0&&d.jsx("div",{className:"flex-shrink-0",children:d.jsx("div",{className:"p-4",children:d.jsx(Th,{...x,expandedKeys:f,onExpand:A,treeData:g})})}),v.length>0&&d.jsx("div",{className:"flex-shrink-0",children:d.jsx("div",{className:"p-2 overflow-auto",children:d.jsx(Th,{...x,draggable:{icon:!1},expandedKeys:f,onExpand:w,treeData:v,onDrop:y,allowDrop:({dragNode:C,dropNode:_,dropPosition:j})=>j!==0?!0:bm(C.blockType,_.blockType)})})})]})},CB=({blockId:t,block:e,onClone:n,onDelete:i,onSave:r,position:s="left",savedBlocks:o,style:a})=>{const{message:l}=Ko.useApp(),[f,c]=k.useState(!1),[u,h]=k.useState(""),[m,p]=k.useState("new"),[g,v]=k.useState(""),[b,w]=k.useState(!1),A=I=>{I.stopPropagation(),n(t)},y=()=>{i(t)},x=I=>
1131{if(I.stopPropagation(),c(!0),e&&o&&o.length>0){const E=o.find(F=>{if(F.block.type!==e.type)return!1;if("content"in e&&"content"in F.block)return e.content===F.block.content;const N=e.attributes||{},T=F.block.attributes||{},B=G=>{const{paddingTop:ge,paddingRight:fe,paddingBottom:me,paddingLeft:H,...X}=G;return X},M=JSON.stringify(B(N)),D=JSON.stringify(B(T));return M===D});E?(p("update"),v(E.id),h("")):(p("new"),v(""),h(`${e.type.replace("mj-","")} Block`))}else p("new"),v(""),e&&h(`${e.type.replace("mj-","")} Block`)},C=async()=>{if(!(!r||!e)){w(!0);try{if(m==="new"){if(!u.trim())return;r(e,"create",u.trim()),l.success(`Block saved as "${u.trim()}"`)}else{if(!g)return;r(e,"update",g);const I=o?.find(E=>E.id===g);l.success(`Block "${I?.name}" updated`)}c(!1),h(""),p("new"),v("")}finally{w(!1)}}},_=()=>{c(!1),h(""),p("new"),v(""),w(!1)},j=()=>{switch(s){case"left":return{position:"absolute",left:"-33px",top:"0",flexDirection:"column"};case"top":return{position:"absolute",top:"-30px",right:"0px",flexDirection:"row"};default:return{position:"absolute",right:"-30px",top:"0",flexDirection:"column"}}};return d.jsxs(d.Fragment,{children:[d.jsxs("div",{style:{...j(),zIndex:"auto",display:"flex",gap:"4px",backgroundColor:"rgba(255, 255, 255, 0.8)",boxShadow:"0 0 7px 2px #00000014",backdropFilter:"blur(8px)",...a},onClick:I=>I.stopPropagation(),onMouseDown:I=>I.stopPropagation(),children:[d.jsx(Ke,{title:"Clone Block",placement:"left",children:d.jsx(Ee,{type:"text",size:"small",icon:d.jsx(ae,{icon:V2}),onClick:A,style:{display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",padding:0}})}),d.jsx(Ke,{title:"Save Block",placement:"left",children:d.jsx(Ee,{type:"text",size:"small",icon:d.jsx(ae,{icon:G2}),onClick:x,style:{display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",padding:0}})}),d.jsx(Ke,{title:"Delete Block",placement:"left",children:d.jsx(lg,{title:"Are you sure you want to delete this block?",onConfirm:y,children:d.jsx(Ee,{type:"text",size:"small",icon:d.jsx(ae,{icon:ng}),style:{display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",padding:0}})})})]}),d.jsxs(ws,{title:"Save Block",open:f,onOk:C,onCancel:_,okText:m==="new"?"Save":"Update",cancelText:"Cancel",okButtonProps:{disabled:m==="new"?!u.trim():!g,loading:b},children:[e&&d.jsxs("div",{style:{marginBottom:16,fontSize:12,color:"#666"},children:["Block type: ",d.jsx("strong",{children:e.type})]}),d.jsxs("div",{style:{marginBottom:16},children:[d.jsx("label",{style:{display:"block",marginBottom:8,fontWeight:500},children:"Save Mode"}),d.jsxs(vt.Group,{value:m,onChange:I=>p(I.target.value),children:[d.jsx(vt,{value:"new",children:"Save as new block"}),d.jsx(vt,{value:"update",disabled:!o||o.length===0,children:"Update existing block"})]})]}),m==="new"?d.jsxs("div",{style:{marginBottom:16},children:[d.jsx("label",{style:{display:"block",marginBottom:8,fontWeight:500},children:"Block Name"}),d.jsx(We,{placeholder:"Enter a name for this block",value:u,onChange:I=>h(I.target.value),onPressEnter:C})]}):d.jsxs("div",{style:{marginBottom:16},children:[d.jsx("label",{style:{display:"block",marginBottom:8,fontWeight:500},children:"Select Block to Update"}),d.jsx(re,{style:{width:"100%"},placeholder:"Choose a saved block to update",value:g,onChange:v,showSearch:!0,filterOption:(I,E)=>E?E.label.toLowerCase().indexOf(I.toLowerCase())>=0:!1,options:o?.sort((I,E)=>{const F=I.created?new Date(I.created).getTime():0;return(E.created?new Date(E.created).getTime():0)-F})?.map(I=>({value:I.id,label:`${I.name} (${I.block.type})`}))||[]})]})]})]})},SB=({emailTree:t,selectedBlockId:e,onSelectBlock:n,onUpdateBlock:i,onCloneBlock:r,onDeleteBlock:s,testData:o,onSaveBlock:a,savedBlocks:l})=>{const f=k.useRef(null),c=k.useRef({scrollTop:0,scrollLeft:0}),u=k.useRef(t),h=k.useRef(e),m=k.useRef(null),[p,g]=k.useState(null),[v,b]=k.useState(!1),[w,A]=k.useState(!1),y=k.useRef(null),x=k.useRef(0),C=k.useCallback(()=>{if(!e||!m.current){g(null);return}const T=m.current.querySelector(`[data-block-id="${e}"]`);if(!T){g(null);return}const B=m.current.getBoundingClientRect(),M=T.getBoundingClientRect(),D=M.top-B.top,G=M.left-B.left;let ge="left",fe=D,me=G;G<35&&(ge="right",me=G+M.width+5),G<35&&G+M.width+35>B.width&&(ge="top",fe=D,me=G+M.width-90),g({top:fe,left:me,position:ge})},[e]);k.useEffect(()=>{if(u.current!==t){if(f.current){const T=f.current.osInstance();if(T){const{viewport:B}=T.elements();B&&(c.current={scrollTop:B.scrollTop,scrollLeft:B.scrollLeft})}}u.current=t}h.current=e},[t,e]),k.useEffect(()=>{if(f.current&&c.current.scrollTop>0&&u.current!==t&&!w){const T=setTimeout(()=>{const B=f.current?.osInstance();if(B){const{viewport:M}=B.elements();M&&(M.scrollTop=c.current.scrollTop,M.scrollLeft=c.current.scrollLeft)}},10);return()=>clearTimeout(T)}},[t,w]),k.useEffect(()=>{const T=setTimeout(()=>{(!v||e)&&C()},50);return()=>clearTimeout(T)},[e,t,C,v]),k.useEffect(()=>{if(!f.current)return;const T=f.current.osInstance();if(!T)return;const{viewport:B}=T.elements();if(!B)return;const M=()=>{A(!0),x.current=Date.now(),y.current&&clearTimeout(y.current),y.current=setTimeout(()=>{C(),setTimeout(()=>{A(!1)},100)},8)};return B.addEventListener("scroll",M,{passive:!0}),()=>{B.removeEventListener("scroll",M),y.current&&clearTimeout(y.current)}},[C]);const _=T=>{if(T.type==="mj-body")return T;if(T.children)for(const B of T.children){const M=_(B);if(M)return M}return null},j=T=>{const B=T.target;B.closest(".ant-modal")||B.closest(".ant-modal-mask")||B.closest(".ant-modal-wrap")||B.closest(".ant-dropdown")||B.closest(".ant-popover")||B.closest(".ant-select-dropdown")||B.closest(".ant-picker-dropdown")||B.closest(".ant-tooltip")||B.closest("[data-toolbar]")||B.classList.contains("block-toolbar")||B.closest("[data-no-deselect]")||B.closest("[data-portal]")||B.tagName==="INPUT"||B.tagName==="BUTTON"||B.tagName==="SELECT"||B.tagName==="TEXTAREA"||B.closest("button")||B.closest("input")||B.closest("select")||B.closest("textarea")||n(null)},I=T=>{T.stopPropagation();const B=_(t);B&&n(B.id)},E=gi(),N=_(t)?.attributes?.width||"600px";return d.jsxs("div",{ref:m,style:{overflow:"hidden",height:"calc(100vh - 58px)",position:"relative"},onClick:j,children:[!E&&d.jsx("div",{style:{position:"absolute",top:"12px",right:"12px",zIndex:1e3,backgroundColor:"rgba(0, 0, 0, 0.5)",color:"white",padding:"3px 6px",borderRadius:"4px",fontSize:"10px",fontFamily:"monospace",fontWeight:"600",backdropFilter:"blur(4px)",border:"1px solid rgba(255, 255, 255, 0.1)",cursor:"pointer"},onClick:I,children:N}),d.jsx(ec,{ref:f,defer:!0,style:{height:"100%",width:"100%"},options:{scrollbars:{autoHide:"leave",autoHideDelay:150}},children:d.jsx("div",{style:{width:E?"100%":N,minWidth:E?void 0:"600px",maxWidth:E?"100%":void 0,margin:E?"0 auto":"20px auto",padding:E?8:void 0,transition:"width 0.3s ease",cursor:"default"},className:E?"mobile-email-canvas":void 0,onClick:T=>T.stopPropagation(),children:S.renderEmailBlock(t,S.extractAttributeDefaults(t),e||null,n,t,i,r,s,a,l)})}),!E&&(e||v)&&p&&d.jsx("div",{onMouseEnter:()=>b(!0),onMouseLeave:()=>
1131b(!1),style:{position:"absolute",top:p.top,left:p.left,zIndex:1e3},children:d.jsx(CB,{blockId:e||"",block:e&&S.findBlockById(t,e)||void 0,onClone:r,onDelete:s,onSave:a,position:p.position,savedBlocks:l})})]})},ym=({selectedBlock:t,onUpdateBlock:e,attributeDefaults:n,emailTree:i,testData:r,onTestDataChange:s})=>{const[o,a]=k.useState(null);k.useEffect(()=>{t?.id!==o&&a(t?.id||null)},[t?.id,o]);const l=k.useCallback(u=>{if(!t)return;const h=JSON.parse(JSON.stringify(t));h.attributes||(h.attributes={}),Object.entries(u).forEach(([m,p])=>{m==="content"?h[m]=p:h.attributes[m]=p}),e(h.id,h)},[t,e]);if(!t)return d.jsx("div",{style:{padding:"24px"},children:d.jsx(D2,{description:"Select a block to edit its attributes",image:d.jsx(d.Fragment,{children:d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"70",height:"70",viewBox:"0 0 24 24",fill:"none",stroke:"#D8D8D8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"svg-inline--fa",children:[d.jsx("path",{d:"M14 4.1 12 6"}),d.jsx("path",{d:"m5.1 8-2.9-.8"}),d.jsx("path",{d:"m6 12-1.9 2"}),d.jsx("path",{d:"M7.2 2.2 8 5.1"}),d.jsx("path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"})]})})})});let f=null;try{xt.hasBlockType(t.type)&&(f=xt.createBlock(t))}catch{console.warn(`No block class for ${t.type}, falling back to legacy system`)}if(!f)return null;const c=n[t.type]||{};return f.renderSettingsPanel(l,c,i)},jB=k.forwardRef(({html:t,testData:e,onTestDataChange:n,mobileDesktopSwitcherRef:i,forceMobileView:r},s)=>{const[o,a]=k.useState(!0),l=r||o;return k.useImperativeHandle(s,()=>({openTemplateDataEditor:()=>{},closeTemplateDataEditor:()=>{},isTemplateDataEditorOpen:()=>!1,getTemplateData:()=>e,setTemplateData:f=>{n&&n(f)},getTemplateDataTabRef:()=>null}),[e,n]),d.jsx("div",{className:"h-full",children:d.jsxs("div",{className:"flex flex-col relative h-full",style:{background:'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAACqADAAQAAAABAAAACgAAAAA7eLj1AAAAK0lEQVQYGWP8DwQMaODZs2doIgwMTBgiOAQGUCELNodLSUlhuHQA3Ui01QDcPgnEE5wAOwAAAABJRU5ErkJggg==")'},children:[!r&&d.jsx("div",{className:"absolute top-4 right-4 z-10",children:d.jsx("div",{ref:i,children:d.jsx(Ar,{value:l?"mobile":"desktop",onChange:f=>a(f==="mobile"),options:[{label:d.jsx(Ke,{title:"Mobile view (400px)",children:d.jsx(ae,{icon:rg})}),value:"mobile"},{label:d.jsx(Ke,{title:"Desktop view (100%)",children:d.jsx(ae,{icon:ig})}),value:"desktop"}],size:"small"})})}),d.jsx("div",{className:"flex-1",style:{width:r?"100%":l?"400px":"100%",margin:r?"0":l?"20px auto":"0"},children:d.jsx("iframe",{srcDoc:t,style:{width:"100%",height:"100%",border:"none"},title:"Email Preview"})})]})})}),IB=({tree:t,onTreeChange:e,onCompile:n,testData:i,onTestDataChange:r,toolbarTitle:s,toolbarActions:o,savedBlocks:a,onSaveBlock:l,treePanelRef:f,editPanelRef:c,settingsPanelRef:u,previewSwitcherRef:h,mobileDesktopSwitcherRef:m,templateDataRef:p,forcedViewMode:g,onSelectBlock:v,selectedBlockId:b,hiddenBlocks:w,height:A})=>{const y=gi(),[x,C]=k.useState(!1),[_,j]=k.useState({selectedBlockId:null,history:[t],historyIndex:0}),[I,E]=k.useState(()=>{const R=[],$=t.children?.find(ne=>ne.type==="mj-head"),se=t.children?.find(ne=>ne.type==="mj-body");if($&&R.push($.id),se){R.push(se.id);const ne=de=>{de.children&&de.children.forEach(Y=>{S.from(Y).canHaveChildren()&&(R.push(Y.id),ne(Y))})};ne(se)}return R}),[F,N]=k.useState("edit"),T=g||F,B=b??_.selectedBlockId,[M,D]=k.useState(null),G=k.useMemo(()=>S.findBlockById(t,B||""),[t,B]),ge=R=>{v&&v(R),y&&R&&R!==_.selectedBlockId&&C(!0),j($=>({...$,selectedBlockId:R}))},fe=R=>{E(R)},me=R=>{E($=>$.includes(R)?$:[...$,R])},H=()=>{if(_.historyIndex>0){const R=_.historyIndex-1,$=_.history[R],se=_.selectedBlockId?S.findBlockById($,_.selectedBlockId):null;j(ne=>({...ne,historyIndex:R,selectedBlockId:se?ne.selectedBlockId:null})),e($)}},X=()=>{if(_.historyIndex<_.history.length-1){const R=_.historyIndex+1,$=_.history[R],se=_.selectedBlockId?S.findBlockById($,_.selectedBlockId):null;j(ne=>({...ne,historyIndex:R,selectedBlockId:se?ne.selectedBlockId:null})),e($)}},ie=async()=>{try{const R=await n(t,i);D(R)}catch(R){console.error("Compilation failed:",R),N("edit")}},W=async R=>{const $=R;g||N($),$==="preview"?await ie():D(null)};k.useEffect(()=>{T==="preview"&&ie()},[i,T]),k.useEffect(()=>{g==="preview"?ie():g==="edit"&&D(null)},[g]);const Q=R=>{const $=_.history.slice(0,_.historyIndex+1);$.push(R),j(se=>({...se,history:$,historyIndex:$.length-1})),e(R)},q=(R,$)=>{const ne=JSON.parse(JSON.stringify(t)),de=(Y,ee,Z)=>
1131{if(Y.children)for(let ue=0;ue<Y.children.length;ue++){if(Y.children[ue].id===ee)return Y.children[ue]=Z,!0;if(de(Y.children[ue],ee,Z))return!0}return!1};if(ne.id===R){const Y=ne.children;Object.assign(ne,$),ne.children=Y}else de(ne,R,$);Q(ne)},L=(R,$,se)=>{if($==="mj-breakpoint"&&S.findBlockByType(t,"mj-breakpoint")){console.warn("Only one mj-breakpoint block is allowed per email template");return}const ne=S.createBlock($,void 0,"New "+$.replace("mj-",""),t);if($==="mj-wrapper"){const Y=S.findBlockById(t,R);if(Y&&Y.type==="mj-body"&&Y.children){const ee=Y.children.filter(ue=>ue.type==="mj-wrapper"),Z=Y.children.filter(ue=>ue.type==="mj-section");if(ee.length===0&&Z.length>0){const ue=Z.map(te=>S.regenerateIds(JSON.parse(JSON.stringify(te))));ne.children||(ne.children=[]),ne.children.push(...ue);let oe=t;for(const te of Z){const De=S.removeBlockFromTree(oe,te.id);De&&(oe=De)}const ye=S.insertBlockIntoTree(oe,R,ne,se||0);if(ye){Q(ye),j(te=>({...te,selectedBlockId:ne.id})),me(ne.id);return}}}}let de=S.insertBlockIntoTree(t,R,ne,se||0);if(de){if($==="mj-column"){const ee=S.findBlockById(de,R);if(ee&&ee.children){if(ee.type==="mj-section"){const Z=ee.children.filter(te=>te.type==="mj-column"),oe=`${100/Z.length}%`;Z.forEach(te=>{te.attributes||(te.attributes={}),te.attributes.width=oe});const ye=S.findBlockById(de,ne.id);if(ye&&ye.type==="mj-column"){const De=Z.findIndex(pt=>
1131pt.id===ye.id)+1,Le=S.createBlock("mj-text",void 0,`Column ${De}`,de);ye.children||(ye.children=[]),ye.children.push(Le)}}else if(ee.type==="mj-group"){de=S.redistributeGroupColumnWidths(de,R);const Z=S.findBlockById(de,ne.id);if(Z&&Z.type==="mj-column"){const ye=ee.children.filter(De=>De.type==="mj-column").findIndex(De=>De.id===Z.id)+1,te=S.createBlock("mj-text",void 0,`Column ${ye}`,de);Z.children||(Z.children=[]),Z.children.push(te)}}}}if($==="mj-section"){const ee=S.findBlockById(de,R);if(ee&&ee.type==="mj-body"&&ee.children){const Z=ee.children.filter(oe=>oe.type==="mj-section"),ue=S.findBlockById(de,ne.id);if(ue&&ue.type==="mj-section"){const ye=Z.findIndex(Le=>Le.id===ue.id)+1,te=S.createBlock("mj-column",void 0,void 0,de);te.attributes||(te.attributes={}),te.attributes.width="100%";const De=S.createBlock("mj-text",void 0,`Section ${ye}`,de);te.children||(te.children=[]),te.children.push(De),ue.children||(ue.children=[]),ue.children.push(te)}}}Q(de),j(ee=>({...ee,selectedBlockId:ne.id})),S.from(ne).canHaveChildren()&&me(ne.id)}else console.error("Failed to add block:",$)},U=R=>{const $=S.findBlockById(t,R);let se=null,ne=null;if($?.type==="mj-column"){const ee=(ue,oe)=>{if(ue.children)for(const ye of ue.children){if((ye.type==="mj-section"||ye.type==="mj-group")&&ye.children?.some(De=>De.id===oe))return{id:ye.id,type:ye.type};const te=ee(ye,oe);if(te)return te}return null},Z=ee(t,R);Z&&(se=Z.id,ne=Z.type)}let de=null;$?.type==="mj-font"&&$.attributes&&(de=$.attributes.name||null);let Y=S.removeBlockFromTree(t,R);if(Y){if(de&&(Y=S.cleanupFontReferences(Y,de)),$?.type==="mj-column"&&se&&ne)if(ne==="mj-section"){const ee=S.findBlockById(Y,se);if(ee&&ee.children){const Z=ee.children.filter(oe=>oe.type==="mj-column"),ue=Z.length;if(ue>0){const oe=`${100/ue}%`;Z.forEach(ye=>{ye.attributes||(ye.attributes={}),ye.attributes.width=oe})}}}else ne==="mj-group"&&(Y=S.redistributeGroupColumnWidths(Y,se));Q(Y),j(ee=>({...ee,selectedBlockId:ee.selectedBlockId===R?null:ee.selectedBlockId})),de&&console.log(`Font cleanup completed for: ${de}`)}else console.error("Failed to delete block:",R)},ce=R=>{const $=t,se=S.findBlockById($,R);if(!se){console.error("Block not found:",R);return}const ne=S.regenerateIds(JSON.parse(JSON.stringify(se))),de=(Z,ue)=>{if(Z.children)for(let oe=0;oe<Z.children.length;oe++){if(Z.children[oe].id===ue)return{parent:Z,position:oe+1};const ye=de(Z.children[oe],ue);if(ye)return ye}return null},Y=de($,R);if(!Y){console.error("Parent not found for block:",R);return}let ee=S.insertBlockIntoTree($,Y.parent.id,ne,Y.position);if(ee){if(se.type==="mj-column"&&(Y.parent.type==="mj-section"||Y.parent.type==="mj-group"))if(Y.parent.type==="mj-section"){const Z=S.findBlockById(ee,Y.parent.id);if(Z&&Z.children){const ue=Z.children.filter(te=>te.type==="mj-column"),ye=`${100/ue.length}%`;ue.forEach(te=>{te.attributes||(te.attributes={}),te.attributes.width=ye})}}else Y.parent.type==="mj-group"&&(ee=S.redistributeGroupColumnWidths(ee,Y.parent.id));Q(ee),j(Z=>({...Z,selectedBlockId:ne.id}))}else console.error("Failed to clone block:",R)},be=(R,$,se)=>{const ne=t,de=(Z,ue)=>{if(Z.children)for(const oe of Z.children){if(oe.id===ue)return Z.id;const ye=de(oe,ue);if(ye)return ye}return null},Y=de(ne,R);let ee=S.moveBlockInTree(ne,R,$,se);ee?(Y&&Y!==$?ee=S.redistributeColumnWidthsAfterMove(ee,R,Y,$):Y===$&&S.findBlockById(ee,$)?.type==="mj-group"&&S.findBlockById(ee,R)?.type==="mj-column"&&(ee=S.redistributeGroupColumnWidths(ee,$)),Q(ee)):console.error("Failed to move block:",R)},Se=(R,$,se)=>{const ne=JSON.parse(JSON.stringify($)),de=S.regenerateIds(ne);let Y=S.insertBlockIntoTree(t,R,de,se||0);if(Y){if(Q(Y),j(Z=>({...Z,selectedBlockId:de.id})),S.from(de).canHaveChildren()){me(de.id);const Z=ue=>{ue.children&&ue.children.forEach(oe=>{S.from(oe).canHaveChildren()&&(me(oe.id),Z(oe))})};Z(de)}}else console.error("Failed to add saved block")},_e=_.historyIndex>0,Te=_.historyIndex<_.history.length-1;return d.jsxs("div",{className:"flex flex-col w-screen bg-gray-50",style:{height:A||"100vh"},children:[d.jsxs("div",{className:"flex-shrink-0",style:{background:"#FAFAFA",borderBottom:"1px solid #EAEAEC",padding:y?"0 12px":"0 30px",height:y?50:60,display:"flex",alignItems:"center",justifyContent:"space-between"},children:[!y&&d.jsx("div",{style:{fontSize:18,fontWeight:600,color:"#1C1D1F"},children:s||"Edit Email"}),d.jsx("div",{ref:h,className:"flex items-center",children:d.jsx(Ar,{size:"small",value:T,onChange:W,options:[{label:"Edit",value:"edit"},{label:"Preview",value:"preview"}]})}),d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:y?6:10},children:[T==="edit"&&!y&&d.jsxs(d.Fragment,{children:[d.jsx("div",{onClick:_e?H:void 0,style:{width:40,height:40,borderRadius:10,border:"1px solid #E4E4E4",display:"flex",alignItems:"center",justifyContent:"center",cursor:_e?"pointer":"default",opacity:_e?1:.4},title:"Undo",children:d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:d.jsx("path",{d:"M9.5 14L10.32 13.1429C13.96 9.32473 11.26 3 5.98 3H1M1 3L5 7M1 3L5 -1",stroke:"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),d.jsx("div",{onClick:Te?X:void 0,style:{width:40,height:40,borderRadius:10,border:"1px solid #E4E4E4",display:"flex",alignItems:"center",justifyContent:"center",cursor:Te?"pointer":"default",opacity:Te?1:.4},title:"Redo",children:d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:d.jsx("path",{d:"M6.49 14L5.67 13.1429C2.03 9.32473 4.73 3 10.01 3H14.99M14.99 3L10.99 7M14.99 3L10.99 -1",stroke:"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),y&&T==="edit"&&d.jsx("div",{onClick:()=>C(!0),style:{width:36,height:36,borderRadius:8,border:"1px solid #E4E4E4",background:"#FFFFFF",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},title:"Settings",children:d.jsx(nA,{size:18,color:"#1C1D1F"})}),o]})]}),T==="preview"&&M&&d.jsx(jB,{ref:p,html:M.html,mjml:M.mjml,errors:M.errors,testData:i,onTestDataChange:r,mobileDesktopSwitcherRef:m,forceMobileView:y}),T==="preview"&&!M&&d.jsx(As,{size:"large",className:"!m-16"}),T==="edit"&&d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"flex flex-1 min-h-0",children:[!y&&d.jsx("div",{ref:f,className:"w-80 bg-gray-50 border-r border-gray-200 flex flex-col",children:d.jsxs(ec,{defer:!0,style:{height:"100%"},options:{scrollbars:{autoHide:"leave",autoHideDelay:150}},children:[d.jsx("div",{className:"pt-4 px-6 text-gray-900 text-sm font-bold",children:"Content structure"}),d.jsx(_B,{emailTree:t,selectedBlockId:B,onSelectBlock:ge,onAddBlock:L,onAddSavedBlock:Se,onDeleteBlock:U,onCloneBlock:ce,onMoveBlock:be,savedBlocks:a,expandedKeys:I,onTreeExpand:fe,onExpandBlock:me,hiddenBlocks:w})]})}),d.jsx("div",{ref:c,className:"flex-1 flex flex-col min-w-0",children:d.jsx("div",{className:"flex-1 overflow-auto",children:d.jsx("div",{style:{background:'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAACqADAAQAAAABAAAACgAAAAA7eLj1AAAAK0lEQVQYGWP8DwQMaODZs2doIgwMTBgiOAQGUCELNodLSUlhuHQA3Ui01QDcPgnEE5wAOwAAAABJRU5ErkJggg==")',height:"100%"},children:d.jsx(SB,{emailTree:t,selectedBlockId:B,onSelectBlock:ge,onUpdateBlock:q,onCloneBlock:ce,onDeleteBlock:U,testData:i,onTestDataChange:r,onSaveBlock:l,savedBlocks:a})})})}),!y&&d.jsx("div",{ref:u,className:"w-96 bg-gray-50 border-l border-gray-200 flex flex-col",children:d.jsx(ec,{defer:!0,style:{height:"100%"},options:{scrollbars:{autoHide:"leave",autoHideDelay:150}},children:d.jsx(ym,{selectedBlock:G,onUpdateBlock:q,attributeDefaults:S.extractAttributeDefaults(t),emailTree:t,testData:i,onTestDataChange:r},`settings-${G?.type||"none"}`)})})]}),y&&d.jsxs(Ua,{placement:"bottom",open:x,onClose:()=>C(!1),height:"auto",styles:{body:{padding:0,backgroundColor:"#fff",maxHeight:"70vh",overflow:"auto"},header:{display:"none"},wrapper:{boxShadow:"none"}},children:[d.jsx("div",{style:{display:"flex",justifyContent:"center",padding:"12px 0 8px"},children:d.jsx("div",{style:{width:100,height:5,borderRadius:3,backgroundColor:"#E4E4E4"}})}),d.jsx(ym,{selectedBlock:G,onUpdateBlock:q,attributeDefaults:S.extractAttributeDefaults(t),emailTree:t,testData:i,onTestDataChange:r},`settings-mobile-${G?.type||"none"}`)]})]})]})};function BB({tree:t,onTreeChange:e,workspaceId:n,onClose:i}){const[r,s]=k.useState(t),o=k.useCallback(async(a,l)=>{try{const f=await Ja.compile({workspace_id:n,message_id:"preview",visual_editor_tree:a,test_data:l||{},channel:"email",tracking_settings:{enable_tracking:!1,workspace_id:n,message_id:"preview"}});return f.error?(console.error("Compilation error:",f.error),{html:"",mjml:f.mjml||"",errors:[f.error]}):{html:f.html||"",mjml:f.mjml||"",errors:[]}}catch(f){return console.error("Compilation error:",f),{html:"",mjml:"",errors:[{message:f.message||"Compilation failed"}]}}},[n]);return d.jsx("div",{style:{position:"fixed",inset:0,zIndex:100,background:"#FFFFFF"},children:d.jsx(IB,{tree:r,onTreeChange:s,onCompile:o,testData:{contact:{first_name:"John",last_name:"Doe",email:"[email protected]"}},onTestDataChange:()=>{},onSaveBlock:()=>{},toolbarActions:d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[d.jsx("div",{onClick:i,style:{height:36,borderRadius:8,border:"1px solid #E4E4E4",background:"#FFFFFF",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 16px",cursor:"pointer",fontSize:14,fontWeight:500,color:"#1C1D1F"},children:"Cancel"}),d.jsx("div",{onClick:()=>{e(r),i()},style:{height:36,borderRadius:8,background:"#2F6DFB",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 16px",cursor:"pointer",fontSize:14,fontWeight:500,color:"#FFFFFF"},children:"Save"})]}),height:"100vh"})})}function EB(){return d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M7.5 5V15.8333M2.5 5H12.5M12.9167 12.5L13.4375 14.0625L15 14.5833L13.4375 15.1042L12.9167 16.6667L12.3958 15.1042L10.8333 14.5833L12.3958 14.0625L12.9167 12.5ZM16.25 5.83333L16.7708 7.39583L18.3333 7.91667L16.7708 8.4375L16.25 10L15.7292 8.4375L14.1667 7.91667L15.7292 7.39583L16.25 5.83333Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function MB(){return d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M14.1667 4.16667H14.6667C15.7
1131713 4.16667 16.6667 5.0621 16.6667 6.16667V7.16667C16.6667 8.27124 15.7713 9.16667 14.6667 9.16667H10.0001M10.0001 9.16667H9.33341C8.78113 9.16667 8.33341 9.61438 8.33341 10.1667V16.6667C8.33341 17.1269 8.70651 17.5 9.16675 17.5C9.62699 17.5 10.0001 17.1269 10.0001 16.6667V9.16667ZM5.16675 5.83333H13.1667C13.719 5.83333 14.1667 5.38562 14.1667 4.83333V3.5C14.1667 2.94772 13.719 2.5 13.1667 2.5H5.16675C4.61446 2.5 4.16675 2.94771 4.16675 3.5V4.83333C4.16675 5.38562 4.61446 5.83333 5.16675 5.83333Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}const{Text:An}=xr;function km(){return d.jsx("div",{style:{height:1,background:"#F0F0F0",margin:"0 10px"}})}function TB({prompt:t,onPromptChange:e,isEventInvitation:n,onEventInvitationChange:i,eventDateTime:r,onEventDateTimeChange:s,eventLocation:o,onEventLocationChange:a,addButton:l,onAddButtonChange:f,buttonName:c,onButtonNameChange:u,buttonLink:h,onButtonLinkChange:m,trendingEnabled:p,onTrendingEnabledChange:g,trends:v,trendsLoading:b,selectedTrend:w,onSelectedTrendChange:A,isGuestMode:y=!1,searchTrends:x}){const _=gi()?16:14,[j,I]=k.useState(!0),[E,F]=k.useState(!1),[N,T]=k.useState(""),[B,M]=k.useState(r?r.includes(" at "):!1);return d.jsxs("div",{style:{borderBottom:j?"1px solid #E4E4E4":"none"},children:[d.jsxs("div",{onClick:()=>I(!j),style:{height:50,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 20px",borderBottom:"1px solid #E4E4E4",cursor:"pointer",userSelect:"none"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,color:"#2F6DFB"},children:[d.jsx(EB,{}),d.jsx("span",{style:{fontWeight:700,fontSize:16},children:"Email narrative"})]}),d.jsx("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",style:{transform:j?"rotate(0deg)":"rotate(-90deg)",transition:"transform 0.2s"},children:d.jsx("path",{d:"M3.33332 6.66675L9.99999 13.3334L16.6667 6.66675",stroke:"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),d.jsx("div",{style:{display:"grid",gridTemplateRows:j?"1fr":"0fr",transition:"grid-template-rows 0.25s ease"},children:d.jsx("div",{style:{overflow:"hidden"},children:d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10,padding:10},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 10px"},children:[d.jsxs(An,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"}
1131,children:["Describe your Email campaign in a sentence or two",d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]}),d.jsx(Ke,{title:"Describe the main message of your email. The AI will generate the full structure, tone, and layout.",children:d.jsx(Ur,{style:{color:"#A0A0A0",fontSize:14}})})]}),d.jsxs("div",{style:{position:"relative"},children:[d.jsx(We.TextArea,{value:t,onChange:D=>e(D.target.value),placeholder:"Enter your prompt",maxLength:1e3,autoSize:{minRows:5},style:{borderRadius:10,resize:"none",background:"#F4F4F5",border:"1px solid #E7E7E7",padding:20,fontSize:_}}),d.jsxs("span",{style:{position:"absolute",bottom:13,right:12,fontSize:12,color:"#1C1D1F",opacity:.3},children:[t.length,"/1000"]})]}),d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 10px"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:5},children:[d.jsx(An,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:"Trending hooks"}),d.jsx(Ke,{title:"Use current topics or local trends to make your message more relevant.",children:d.jsx(Ur,{style:{color:"#A0A0A0",fontSize:14}})})]}),y?d.jsx(Ke,{title:"Sign up to access trending hooks",children:d.jsx(_n,{checked:!1,disabled:!0})}):d.jsx(_n,{checked:p,onChange:g})]}),p&&d.jsx("div",{children:E?d.jsxs("div",{children:[d.jsxs("div",{style:{display:"flex",gap:8,padding:"0px"},children:[d.jsx(We,{value:N,onChange:D=>T(D.target.value),placeholder:"Search hook...",onPressEnter:()=>{x&&N.trim()&&x(N.trim())},style:{borderRadius:10,background:"#F4F4F5",border:"1px solid #E7E7E7",fontSize:_,height:40}}),d.jsx("button",{title:"Search",onClick:()=>{x&&N.trim()&&x(N.trim())},style:{width:40,height:40,minWidth:40,borderRadius:10,background:"#2F6DFB",color:"#FFFFFF",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx(Fh,{style:{fontSize:16}})}),d.jsx("button",{title:"Close search",onClick:()=>{F(!1),T(""),A(null)},style:{width:40,height:40,minWidth:40,borderRadius:10,background:"transparent",color:"#A0A0A0",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx(tu,{style:{fontSize:14}})})]}),d.jsx("div",{style:{padding:"0 10px"},children:b?d.jsxs("div",{style:{textAlign:"center",padding:12},children:[d.jsx(As,{size:"small"}),d.jsxs("div",{style:{fontSize:12,color:"#00000073",marginTop:8},children:["Searching current news and trends...",d.jsx("br",{}),"This may take a moment."]})]}):v.length>0?d.jsxs("div",{children:[d.jsx("div",{style:{marginTop:10}}),d.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"5px 2px"},children:v.map(D=>{const G=w?.trend===D.trend;return d.jsx("div",{onClick:()=>A(G?null:D),style:{border:G?"1px solid #2F6DFB":"1px solid rgba(28,29,31,0.3)",borderRadius:99,padding:8,cursor:"pointer",background:G?"#2F6DFB":"transparent",color:G?"#FFFFFF":"#1C1D1F",fontSize:12,fontWeight:500,lineHeight:"1.3",transition:"all 0.15s"},children:D.trend},D.trend)})})]}):null})]}):d.jsxs("div",{style:{padding:"0 10px"},children:[d.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"5px 2px"},children:[["Sport","Crypto","Finance","Tech","Culture","Economy","Weather","Mentions","Elections"].map(D=>d.jsx("div",{onClick:()=>{F(!0),T(D),x&&x(D)},style:{border:"1px solid rgba(28,29,31,0.3)",borderRadius:99,padding:8,cursor:"pointer",background:"transparent",color:"#1C1D1F",fontSize:12,fontWeight:500,lineHeight:"1.3",transition:"all 0.15s"},children:D},D)),d.jsxs("div",{onClick:()=>F(!0),style:{background:"#2F6DFB",color:"#FFFFFF",borderRadius:99,padding:8,cursor:"pointer",fontSize:12,fontWeight:500,lineHeight:"0.6",border:"none",display:"flex",alignItems:"center",gap:4},children:[d.jsx(Fh,{style:{fontSize:12}}),"Search"]})]}),d.jsx("div",{style:{marginTop:8},children:d.jsx(An,{style:{fontSize:14,color:"#1C1D1F",opacity:.3,lineHeight:1.3},children:"Select a hook to read more about it's origin."})})]})}),p&&E&&v.length>0&&d.jsx("div",{style:{padding:"0 10px"},children:d.jsx(An,{style:{fontSize:14,color:"#1C1D1F",opacity:w?.6:.3,lineHeight:1.3},children:w?w.description:"Select a hook to read more about its origin."})}),d.jsx(km,{}),d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 10px"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:5},children:[d.jsx(An,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:"It's an event invitation"}),d.jsx(Ke,{title:"Enable this if the email is for an event or meetup.",children:d.jsx(Ur,{style:{color:"#A0A0A0",fontSize:14}})})]}),d.jsx(_n,{checked:n,onChange:i})]}),n&&d.jsxs("div",{style:{margin:"0 10px",background:"#FAFAFA",borderRadius:20,padding:10,border:"1px solid #E4E4E4",display:"flex",flexDirection:"column",gap:10},children:[d.jsxs("div",{children:[d.jsxs(An,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:["Date and time",d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]}),d.jsx(og,{showTime:B?{use12Hours:!0,format:"hh:mm A"}:!1,format:B?"MM/DD/YYYY, hh:mm A":"MM/DD/YYYY",value:r?zf(r,B?"MMMM D, YYYY [at] hh:mm A":"MMMM D, YYYY"):null,onChange:D=>{if(!D){s("");return}s(B?D.format("MMMM D, YYYY [at] hh:mm A"):D.format("MMMM D, YYYY"))},placeholder:B?"MM/DD/YYYY, --:-- AM":"MM/DD/YYYY",style:{marginTop:6,borderRadius:10,background:"#F4F4F5",border:"1px solid #E7E7E7",fontSize:_,height:50,width:"100%"}}),d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginTop:8},children:[d.jsx(_n,{size:"small",checked:B,onChange:D=>{if(M(D),r){const G=zf(r,D?"MMMM D, YYYY":"MMMM D, YYYY [at] hh:mm A");G.isValid()&&s(D?G.format("MMMM D, YYYY [at] hh:mm A"):G.format("MMMM D, YYYY"))}}}
1131),d.jsx(An,{style:{fontSize:13,color:"#1C1D1F",opacity:.5},children:"Include time"})]})]}),d.jsxs("div",{children:[d.jsx(An,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:"Location"}),d.jsx(We,{value:o,onChange:D=>a(D.target.value),placeholder:"Your event's address",style:{marginTop:6,borderRadius:10,background:"#F4F4F5",border:"1px solid #E7E7E7",fontSize:_,height:50}})]})]}),d.jsx(km,{}),d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 10px"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:5},children:[d.jsx(An,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:"Add button"}),d.jsx(Ke,{title:"Include a call-to-action button in the email.",children:d.jsx(Ur,{style:{color:"#A0A0A0",fontSize:14}})})]}),d.jsx(_n,{checked:l,onChange:f})]}),l&&d.jsxs("div",{style:{margin:"0 10px",background:"#FAFAFA",borderRadius:20,padding:10,border:"1px solid #E4E4E4",display:"flex",flexDirection:"column",gap:10},children:[d.jsxs("div",{children:[d.jsxs(An,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:["Button name",d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]}),d.jsx(We,{value:c,onChange:D=>u(D.target.value),placeholder:"Click me!",style:{marginTop:6,borderRadius:10,background:"#F4F4F5",border:"1px solid #E7E7E7",fontSize:_,height:50}})]}),d.jsxs("div",{children:[d.jsxs(An,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:["Button link",d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]}),d.jsx(We,{value:h,onChange:D=>m(D.target.value),placeholder:"https://www...",style:{marginTop:6,borderRadius:10,background:"#F4F4F5",border:"1px solid #E7E7E7",fontSize:_,height:50}})]})]})]})})})]})}const FB="/assets/clean_minimal-Djg-TB8_.png",DB="/assets/warm_local-BS2ajJ_9.png",NB="/assets/luxury_premium-CwMUwiwe.png",RB="/assets/bold_vibrant-ByzbQ6I7.png",LB="/assets/eco_green-hmYulb5W.png",OB="/assets/industrial_technical-BTGRk0Gn.png",{Text:zs}=xr;function PB(){return d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 11.6679 3.06 13.2048 4 14.4295C4.37124 14.9143 5 15 5.5769 15C6.69231 15 7.5 14.0385 8.75 14.0385C9.61538 14.0385 10.25 14.6635 10.25 15.5288C10.25 16.1859 10.0641 16.8109 10.0641 17.5C10.0641 17.5 17.5 16.6667 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5Z",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("circle",{cx:"5.83",cy:"11.67",r:"1",stroke:"#71717A",strokeWidth:"1.2"}),d.jsx("circle",{cx:"8.75",cy:"6.67",r:"1",stroke:"#71717A",strokeWidth:"1.2"}),d.jsx("circle",{cx:"14.17",cy:"8.33",r:"1",stroke:"#71717A",strokeWidth:"1.2"})]})}function zB(){return d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M4.16667 5.83333V4.16667H15.8333V5.83333M7.5 15.8333H12.5M10 4.16667V15.8333",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function HB(){return d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M3.33333 5H16.6667M3.33333 8.33333H13.3333M3.33333 11.6667H16.6667M3.33333 15H10",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function WB(){return d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M13.3333 17.5V16.1667C13.3333 14.3257 11.8409 12.8333 10 12.8333H5.83333C3.99238 12.8333 2.5 14.3257 2.5 16.1667V17.5M17.5 17.5V16.1667C17.5 14.6057 16.4055 13.2916 14.9167 12.9167M12.0833 2.61667C13.5759 2.98891 14.6733 4.30512 14.6733 5.87C14.6733 7.43488 13.5759 8.75109 12.0833 9.12333M10.4167 5.83333C10.4167 7.67428 8.92428 9.16667 7.08333 9.16667C5.24238 9.16667 3.75 7.67428 3.75 5.83333C3.75 3.99238 5.24238 2.5 7.08333 2.5C8.92428 2.5 10.4167 3.99238 10.4167 5.83333Z",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function $B(){return d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M10 10.8333C11.3807 10.8333 12.5 9.71404 12.5 8.33333C12.5 6.95262 11.3807 5.83333 10 5.83333C8.61929 5.83333 7.5 6.95262 7.5 8.33333C7.5 9.71404 8.61929 10.8333 10 10.8333Z",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M10 17.5C10 17.5 16.6667 13.3333 16.6667 8.33333C16.6667 4.65143 13.6819 1.66667 10 1.66667C6.31811 1.66667 3.33334 4.65143 3.33334 8.33333C3.33334 13.3333 10 17.5 10 17.5Z",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function wm(){return d.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z",fill:"#2F6DFB",fillOpacity:"0.05"}),d.jsx("path",{d:"M21.2498 10.8335L12.4998 19.5835L9.1665 16.2502",stroke:"#2F6DFB",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Nf(){return d.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z",fill:"#FB2F4A",fillOpacity:"0.05"}
1131),d.jsx("path",{d:"M10 10L20 20M20 10L10 20",stroke:"#FB2F4A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}const VB=[{label:"Colors",icon:d.jsx(PB,{}),field:"brandColors"},{label:"Company Name",icon:d.jsx(zB,{}),field:"businessName"},{label:"Company Description",icon:d.jsx(HB,{}),field:"companyDescription"},{label:"Audience Description",icon:d.jsx(WB,{}),field:"audienceDescription"},{label:"Company Address",icon:d.jsx($B,{}),field:"companyAddress"}];function GB(t,e){return e==="brandColors"?Array.isArray(t.brandColors)&&t.brandColors.length>0:!!t[e]}function Am(t){return t?!!(Array.isArray(t.brandColors)&&t.brandColors.length>0||t.businessName||t.companyDescription||t.audienceDescription||t.companyAddress):!1}function KB(t){return t?!!(Array.isArray(t.brandColors)&&t.brandColors.length>0||t.businessName):!1}function JB({brandingData:t,extracting:e}){const[n,i]=k.useState(e?0:-1);k.useEffect(()=>{if(!e)return;let s=0;const o=setInterval(()=>{if(s+=1,s>4){clearInterval(o);return}i(s)},2e3);return()=>clearInterval(o)},[e]);const r=e?n:-1;return d.jsx("div",{style:{background:"#FAFAFA",border:"1px solid #E7E7E7",borderRadius:10,padding:"8px 10px",display:"flex",flexDirection:"column",gap:4},children:VB.map((s,o)=>{let a;return r>=0?o===r?a=d.jsx(As,{size:"small"}):o<r?a=d.jsx(wm,{}):a=d.jsx(Nf,{}):t?a=GB(t,s.field)?d.jsx(wm,{}):d.jsx(Nf,{}):a=d.jsx(Nf,{}),d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"8px 10px"},children:[d.jsx("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:s.icon}),d.jsx("span",{style:{flex:1,fontSize:14,fontWeight:500,color:"#1C1D1F"},children:s.label}),d.jsx("span",{style:{width:30,height:30,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:a})]},s.label)})})}const UB={"clean-minimal":FB,"warm-local":DB,"luxury-premium":NB,"bold-vibrant":RB,"eco-green":LB,"industrial-technical":OB};function QB({workspaceId:t,stylingSource:e,onStylingSourceChange:n,websiteUrl:i,onWebsiteUrlChange:r,onRefreshUrl:s,selectedPreset:o,onSelectedPresetChange:a,selectedPalette:l,onSelectedPaletteChange:f,brandingData:c,extracting:u,isGuestMode:h=!1}){const m=Yl(),g=gi()?16:14,[v,b]=k.useState(!0),w=!!i.trim()&&!u,A=!u&&KB(c);return d.jsxs("div",{style:{borderBottom:v?"1px solid #E4E4E4":"none"},children:[d.jsxs("div",{onClick:()=>b(!v),style:{height:50,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 20px",borderBottom:"1px solid #E4E4E4",cursor:"pointer",userSelect:"none"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,color:"#2F6DFB"},children:[d.jsx(MB,{}),d.jsx("span",{style:{fontWeight:700,fontSize:16},children:"Styling Source"})]}),d.jsx("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",style:{transform:v?"rotate(0deg)":"rotate(-90deg)",transition:"transform 0.2s"},children:d.jsx("path",{d:"M3.33332 6.66675L9.99999 13.3334L16.6667 6.66675",stroke:"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),d.jsx("div",{style:{display:"grid",gridTemplateRows:v?"1fr":"0fr",transition:"grid-template-rows 0.25s ease"},children:d.jsx("div",{style:{overflow:"hidden"},children:d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10,padding:10},children:[d.jsx(eg,{theme:{components:{Segmented:{itemSelectedBg:"#2F6DFB",itemSelectedColor:"#FFFFFF",trackBg:"#F4F4F5",itemColor:"#1C1D1F",borderRadius:10,borderRadiusSM:5,controlHeight:40}}},children:d.jsx(Ar,{value:e,onChange:y=>n(y),options:[{label:"Branding",value:"branding"},{label:"Preset",value:"preset"}],block:!0,style:{border:"1px solid #E4E4E4",borderRadius:10}})}),e==="branding"&&h&&d.jsx(Ke,{title:"Sign up to use your brand identity",children:d.jsx("div",{style:{opacity:.5,padding:"20px 10px",textAlign:"center",cursor:"not-allowed"},children:d.jsx(zs,{style:{fontSize:14,color:"#1C1D1F"},children:"Enter your website URL to sync company data"})})}),e==="branding"&&!h&&d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[A?d.jsx(d.Fragment,{children:d.jsx("div",{style:{background:"#F4F4F5",border:"1px solid #E4E4E4",borderRadius:10,padding:10},children:d.jsxs("div",{style:{background:"#FAFAFA",border:"1px solid #E4E4E4",borderRadius:20,padding:"10px 20px",display:"flex",alignItems:"center",gap:12},children:[c.logoUrl&&d.jsx("img",{src:c.logoUrl,alt:"Logo",style:{height:40,objectFit:"contain"}}),d.jsx(zs,{style:{fontWeight:700,flex:1,minWidth:0,fontSize:16},ellipsis:!0,children:c.businessName||"Your Brand"}),Array.isArray(c.brandColors)&&c.brandColors.length>0&&d.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[c.brandColors.slice(0,3).map((y,x)=>
1131d.jsx("div",{style:{width:42,height:42,borderRadius:"50%",background:y,border:"2px solid #E4E4E4",marginLeft:x===0?0:-20,zIndex:3-x}},x)),c.brandColors.length>3&&d.jsxs(zs,{style:{fontSize:14,fontWeight:500,color:"#1C1D1F",marginLeft:4},children:[c.brandColors.length-3,"+"]})]})]})})}):d.jsxs(d.Fragment,{children:[d.jsx("div",{style:{padding:"0 10px"},children:d.jsx(zs,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:"Enter your website URL to sync company data"})}),d.jsxs("div",{style:{display:"flex",gap:10},children:[d.jsx(We,{value:i,onChange:y=>r(y.target.value),placeholder:"mycompany.com",disabled:u,style:{flex:1,height:50,borderRadius:10,background:"#F4F4F5",border:"1px solid #E7E7E7",padding:"0 20px",fontSize:g}}),d.jsx("div",{onClick:w?s:void 0,style:{width:50,height:50,borderRadius:10,background:w?"#2F6DFB":"#E4E4E4",display:"flex",alignItems:"center",justifyContent:"center",cursor:w?"pointer":"not-allowed",flexShrink:0},children:u?d.jsx(As,{size:"small"}):d.jsx("span",{style:{color:w?"#FFFFFF":"#A0A0A0",display:"flex"},children:d.jsx(ww,{size:24})})})]}),(u||Am(c))&&d.jsx(JB,{brandingData:c,extracting:u})]}),(u||Am(c)||A)&&d.jsxs("div",{onClick:()=>m({to:"/workspace/$workspaceId/settings/$section",params:{workspaceId:t,section:"branding"}}),style:{height:40,borderRadius:10,border:"1px solid #2F6DFB",display:"flex",alignItems:"center",justifyContent:"center",gap:8,cursor:"pointer",userSelect:"none"},children:[d.jsx("span",{style:{fontSize:14,fontWeight:600,color:"#2F6DFB"},children:"Edit Branding"}),d.jsx("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M8.66899 1H2.66899C1.56442 1 0.668991 1.89543 0.668991 3V15C0.668991 16.1046 1.56442 17 2.66899 17H14.669C15.7736 17 16.669 16.1046 16.669 15V9M5.66899 12V9.5L14.419 0.75C15.1094 0.0596441 16.2286 0.0596441 16.919 0.75C17.6094 1.44036 17.6094 2.55964 16.919 3.25L12.169 8L8.16899 12H5.66899Z",stroke:"#2F6DFB",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]}),e==="preset"&&d.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10},children:iA.map(y=>{const x=o===y.id;return d.jsxs("div",{onClick:()=>a(x?null:y.id),style:{border:x?"1px solid #2F6DFB":"1px solid #E4E4E4",borderRadius:12,cursor:"pointer",background:"#FFFFFF",overflow:"hidden"},children:[d.jsx("img",{src:UB[y.id],alt:y.name,style:{width:"100%",height:140,objectFit:"cover",display:"block"}}),d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"10px 12px"},children:[d.jsx("div",{style:{width:18,height:18,borderRadius:"50%",border:x?"5px solid #2F6DFB":"2px solid #D4D4D8",flexShrink:0,boxSizing:"border-box"}}),d.jsx(zs,{style:{fontWeight:500,fontSize:14},children:y.name})]})]},y.id)})})]})})})]})}function qB({size:t=24,color:e="#FAFAFA"}){return d.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M10 4C10 7.31371 7.31371 10 4 10C7.31371 10 10 12.6863 10 16C10 12.6863 12.6863 10 16 10C12.6863 10 10 7.31371 10 4Z",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),d.jsx("path",{d:"M17.5 15C17.5 16.3807 16.3807 17.5 15 17.5C16.3807 17.5 17.5 18.6193 17.5 20C17.5 18.6193 18.6193 17.5 20 17.5C18.6193 17.5 17.5 16.3807 17.5 15Z",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function YB({isGenerated:t,isGenerating:e,disabled:n,creditCost:i,creditsTotal:r,onClick:s,isGuestMode:o=!1}){const a=n||e,l=!a;return d.jsx("div",{children:d.jsxs("div",{onClick:a?void 0:s,style:{height:50,borderRadius:10,background:l?"#2F6DFB":"rgba(28,29,31,0.1)",display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:20,paddingRight:5,paddingTop:5,paddingBottom:5,cursor:a?"not-allowed":"pointer",transition:"all 0.15s",position:"relative",overflow:"hidden"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,opacity:a?.5:1},children:[d.jsx(qB,{size:24,color:l?"#FAFAFA":"#1C1D1F"}),d.jsx("span",{style:{fontSize:16,fontWeight:500,color:l?"#FAFAFA":"#1C1D1F"},children:e?"Generating...":t?"Re-generate email":"Generate email"})]}),!o&&d.jsxs("div",{style:{background:"#FAFAFA",borderRadius:5,height:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:5,padding:"0 15px"},children:[d.jsx(Io,{size:20}),d.jsx("span",{style:{fontSize:14,fontWeight:500,color:"#1C1D1F",letterSpacing:.28,textTransform:"uppercase"},children:i}),d.jsx("span",{style:{fontSize:14,fontWeight:500,color:"#1C1D1F",o
1131pacity:.3,letterSpacing:.28},children:"/"}),d.jsx("span",{style:{fontSize:14,fontWeight:500,color:"#1C1D1F",opacity:.3,letterSpacing:.28,textTransform:"uppercase"},children:r||0})]}),d.jsx("div",{style:{position:"absolute",left:-210,top:-83,width:210,height:210,borderRadius:"50%",background:"radial-gradient(circle, rgba(47,109,251,0.15) 0%, transparent 70%)",pointerEvents:"none"}})]})})}const xm="campaign_onboarding_seen",ZB=` 1132 /* rootClassName lands on the mask element too â scope width to the popup only */ 1133 .campaign-onboarding-tour.ant-tour { 1134 width: 380px; 1135 max-width: calc(100vw - 32px); 1136 } 1137 @media (max-width: 767px) { 1138 .campaign-onboarding-tour .ant-tour-header { padding: 20px 20px 0; } 1139 .campaign-onboarding-tour .ant-tour-description { padding: 10px 20px 0; } 1140 .campaign-onboarding-tour .ant-tour-footer { padding: 12px 20px 20px; } 1141 } 1142 .campaign-onboarding-tour .ant-tour-inner { 1143 background: #FAFAFA; 1144 border-radius: 20px; 1145 box-shadow: 0 16px 36px rgba(28, 29, 31, 0.15); 1146 } 1147 .campaign-onboarding-tour .ant-tour-header { padding: 30px 30px 0; } 1148 .campaign-onboarding-tour .ant-tour-title { 1149 color: #2F6DFB; 1150 font-size: 16px; 1151 font-weight: 700; 1152 } 1153 .campaign-onboarding-tour .ant-tour-description { 1154 padding: 10px 30px 0; 1155 color: #1C1D1F; 1156 font-size: 14px; 1157 line-height: 1.5; 1158 } 1159 .campaign-onboarding-tour .ant-tour-footer { padding: 15px 30px 30px; } 1160 .campaign-onboarding-tour .ant-tour-arrow:before { background: #FAFAFA; } 1161`;function _m({wizard:t}){const{user:e}=xs(),n=gi(),i=k.useRef(null),r=k.useRef(null),[s,o]=k.useState(!1),[a,l]=k.useState(0);k.useEffect(()=>{if(localStorage.getItem(xm))return;const u=setTimeout(()=>o(!0),400);return()=>clearTimeout(u)},[]),k.useEffect(()=>{if(!s)return;const u=a===0?i.current:r.current;if(!u)return;const h=new ResizeObserver(()=>{window.dispatchEvent(new Event("resize"))});return h.observe(u),()=>h.disconnect()},[s,a]);const f=()=>{localStorage.setItem(xm,"1"),o(!1)},c=u=>s&&a===u?{outline:"2px solid #2F6DFB",outlineOffset:-2,borderRadius:20,background:"#FFFFFF",overflow:"hidden"}:void 0;return d.jsxs("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[d.jsxs("div",{style:{flex:1,minHeight:0,overflowY:s?"hidden":"auto"},children:[d.jsx("div",{ref:i,style:c(0),children:d.jsx(TB,{prompt:t.prompt,onPromptChange:t.setPrompt,isEventInvitation:t.isEventInvitation,onEventInvitationChange:t.setIsEventInvitation,eventDateTime:t.eventDateTime,onEventDateTimeChange:t.setEventDateTime,eventLocation:t.eventLocation,onEventLocationChange:t.setEventLocation,addButton:t.addButton,onAddButtonChange:t.setAddButton,buttonName:t.buttonName,onButtonNameChange:t.setButtonName,buttonLink:t.buttonLink,onButtonLinkChange:t.setButtonLink,trendingEnabled:t.trendingEnabled,onTrendingEnabledChange:t.setTrendingEnabled,trends:t.trends,trendsLoading:t.trendsLoading,selectedTrend:t.selectedTrend,onSelectedTrendChange:t.setSelectedTrend,isGuestMode:t.isGuestMode,searchTrends:t.searchTrends})}),d.jsx("div",{ref:r,style:c(1),children:d.jsx(QB,{workspaceId:t.workspaceId,stylingSource:t.stylingSource,onStylingSourceChange:t.setStylingSource,websiteUrl:t.websiteUrl,onWebsiteUrlChange:t.setWebsiteUrl,onRefreshUrl:t.refreshUrl,selectedPreset:t.selectedPreset,onSelectedPresetChange:t.setSelectedPreset,selectedPalette:t.selectedPalette,onSelectedPaletteChange:t.setSelectedPalette,brandingData:t.brandingData,extracting:t.extracting,isGuestMode:t.isGuestMode})})]}),d.jsx("div",{style:{padding:10,borderTop:"1px solid #E4E4E4",flexShrink:0},children:d.jsx(YB,{isGenerated:t.isGenerated,isGenerating:t.isGenerating,disabled:!t.prompt.trim(),creditCost:t.creditEstimate.total,creditsTotal:e?.credits_left!=null?Math.max(0,e.credits_left):null,isGuestMode:t.isGuestMode,onClick:t.isGuestMode?()=>t.setShowAuthModal(!0):t.handleGenerate})}),d.jsx("style",{dangerouslySetInnerHTML:{__html:ZB}}),d.jsx(hg,{open:s,onClose:f,onFinish:f,current:a,onChange:l,gap:{radius:20,offset:0},rootClassName:"campaign-onboarding-tour",steps:[{title:"Start with Email Narrative",description:"Fill in the Email narrative box, this description will become the core of your future email",target:()=>i.current,placement:n?"bottom":"right"},{title:"Set up the Styling Source",description:"Use a link to your website to scrape visual tone, or use SmartMail's pre-built design presets.",target:()=>r.current,placement:n?"top":"right"}]})]})}const Sk={evaluate:async t=>await lo.post("/api/subject.evaluate",{subject_line:t}),analyze:async t=>await lo.post("/api/subject.analyze",{subject_line:t})},XB=["free","new","you","now","get","your","how","save","best","today","exclusive","limited","urgent","discover","secret","proven","results","amazing","instant","introducing","special","last","chance","breaking","alert","quick","easy","simple"];function eE(t){let e=0;const n=t.trim().toLowerCase(),i=n.length;i>=30&&i<=70?e+=25:i>=20&&i<=80?e+=15:i>=10&&(e+=8);const r=XB.filter(u=>n.includes(u)).length;e+=Math.min(r*5,20),n.includes("?")&&(e+=10),/\d/.test(n)&&(e+=10),(n.includes("{{")||n.includes("{%"))&&(e+=10),/^(how|why|what|when|discover|get|learn|find|see|tr
1161y|start|stop|don't|do|are|is|can|will|want|need|ready|feeling|looking)/.test(n)&&(e+=10),t.trim()!==t.trim().toUpperCase()&&(e+=5),new RegExp("\\p{Extended_Pictographic}","u").test(t)&&(e+=5),["buy now","click here","act now","limited time","order now","subscribe now"].some(u=>n.includes(u))||(e+=5),e=Math.min(e,100);let l,f,c;return e>=90?(l="A",f="#7ABE04",c="Very solid subject line."):e>=75?(l="B",f="#73D13D",c="Good subject line with room for improvement."):e>=55?(l="C",f="#FAAD14",c="Average subject line. Consider adding more engagement."):e>=35?(l="D",f="#FF7A45",c="Weak subject line. Try using power words or questions."):(l="F",f="#FF4D4F",c="Needs significant improvement. Make it shorter and more compelling."),{grade:l,points:e,message:c,color:f,progressPercent:e}}function tE(){const[t,e]=k.useState(null),[n,i]=k.useState(!1),r=k.useCallback(o=>{if(!o.trim()){e(null);return}i(!0),Sk.evaluate(o).then(a=>{const l=a.score;e({grade:l.grade,points:l.points,message:l.message,color:l.color,progressPercent:l.progress_percent})}).catch(()=>{const a=eE(o);e(a)}).finally(()=>{i(!1)})},[]),s=k.useCallback(()=>{e(null)},[]);return{score:t,isEvaluating:n,evaluate:r,clearScore:s}}function nE({color:t="#FAFAFA"}){return d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M10 14L14 21L21 3M10 14L3 10L21 3M10 14L21 3",stroke:t,strokeWidth:"1.5",strokeLinejoin:"round"})})}function iE({onClick:t,audienceCount:e,creditsLeft:n,disabled:i}){const r=!i;return d.jsxs("div",{onClick:i?void 0:t,style:{height:50,borderRadius:10,background:r?"#2F6DFB":"rgba(28,29,31,0.1)",display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:20,paddingRight:5,paddingTop:5,paddingBottom:5,cursor:i?"not-allowed":"pointer",transition:"all 0.15s",position:"relative",overflow:"hidden"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,opacity:i?.5:1},children:[d.jsx(nE,{color:r?"#FAFAFA":"#1C1D1F"}),d.jsx("span",{style:{fontSize:16,fontWeight:500,color:r?"#FAFAFA":"#1C1D1F"},children:"Send or Schedule"})]}),d.jsxs("div",{style:{background:"#FAFAFA",borderRadius:5,height:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:5,padding:"0 15px"},children:[d.jsx(Io,{size:20}),d.jsx("span",{style:{fontSize:14,fontWeight:500,color:"#1C1D1F",letterSpacing:.28},children:e??0}),d.jsx("span",{style:{fontSize:14,fontWeight:500,color:"#1C1D1F",opacity:.3,letterSpacing:.28},children:"/"}),d.jsx("span",{style:{fontSize:14,fontWeight:500,color:"#1C1D1F",opacity:.3,letterSpacing:.28},children:n})]}),d.jsx("div",{style:{position:"absolute",left:-210,top:-83,width:210,height:210,borderRadius:"50%",background:"radial-gradient(circle, rgba(47,109,251,0.15) 0%, transparent 70%)",pointerEvents:"none"}})]})}const{Text:Qe}=xr;function rE({open:t,onClose:e,subjectLine:n,score:i}){const r=gi(),{data:s,isLoading:o,error:a}=N2({queryKey:["subject-analysis",n],queryFn:()=>Sk.analyze(n).then(l=>l.analysis),enabled:t&&!!n.trim()});return d.jsxs(ws,{open:t,onCancel:e,footer:null,width:r?"100%":700,centered:!0,closeIcon:d.jsx(tu,{}),title:null,styles:{content:{borderRadius:r?12:20,background:"#FAFAFA",padding:r?12:20,boxShadow:"0 16px 36px rgba(28, 29, 31, 0.1)"},body:{maxHeight:"80vh",overflowY:"auto"}},children:[d.jsx(Qe,{style:{fontWeight:700,fontSize:18,color:"#1C1D1F",display:"block",marginBottom:16},children:"Subject Line Tester"}),i&&d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:16},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,flex:1,minWidth:0},children:[d.jsx("span",{style:{fontSize:24,color:"#1C1D1F",opacity:.3,lineHeight:1},children:"â"}),d.jsx(Qe,{style:{fontWeight:600,fontSize:15,color:"#1C1D1F"},ellipsis:!0,children:n})]}),d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,flexShrink:0,marginLeft:12},children:[d.jsx(Cm,{grade:i.grade,color:i.color,size:30}),d.jsxs(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F"},children:[i.points," Points"]})]})]}),i&&d.jsxs("div",{style:{background:"#fff",border:"1px solid #E4E4E4",borderRadius:12,padding:16,display:"flex",alignItems:"center",gap:14,marginBottom:20},children:[d.jsx(Cm,{grade:i.grade,color:i.color,size:54}),d.jsxs("div",{style:{flex:1},children:[d.jsxs(Qe,{style:{fontWeight:600,fontSize:15,color:"#1C1D1F"},children:[i.points," Points"]}),d.jsx("div",{style:{marginTop:6,height:5,borderRadius:2.5,background:"#E4E4E4",position:"relative"},children:d.jsx("div",{style:{position:"absolute",top:1,left:1,height:3,width:`calc(${i.progressPercent}% - 2px)`,borderRadius:1.5,background:i.color,transition:"width 0.3s ease"}})}
1161),d.jsx(Qe,{style:{fontSize:13,color:"#1C1D1F",opacity:.4,marginTop:4,display:"block"},children:i.message})]})]}),o&&d.jsxs("div",{style:{textAlign:"center",padding:40},children:[d.jsx(As,{size:"large"}),d.jsx(Qe,{style:{display:"block",marginTop:12,color:"#1C1D1F",opacity:.4},children:"Analyzing your subject line..."})]}),a&&d.jsx("div",{style:{textAlign:"center",padding:40},children:d.jsx(Qe,{style:{color:"#FF4D4F"},children:"Failed to get analysis results. Please try again later."})}),s&&d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[d.jsx(Sm,{title:"Scannability",isMobile:r,circle:d.jsx(ks,{color:s.scannability<=5?"#7ABE04":"#FF7A45",isMobile:r,children:d.jsxs("span",{style:{fontWeight:700,fontSize:r?16:20},children:[s.scannability,"/10"]})}),headline:(s.scannability<=5,"Has a scannability higher than 5"),description:"A measure of how easy-breezy it is to read your subject line. Don't shy away from using well known industry specific terms, just don't make it complicated.",benchmark:"Average: 5 (lower is better)"}),d.jsx(Sm,{title:"Reading Grade Level",isMobile:r,circle:d.jsx(ks,{color:s.reading_grade_number<=8?"#7ABE04":"#FF7A45",isMobile:r,children:d.jsx("span",{style:{fontWeight:700,fontSize:r?16:20},children:s.reading_grade_level})}),headline:`Was written at a ${s.reading_grade_level} grade level`,description:"Reading Grade Level is a mixture of word choice, complexity and length. Writing at a lower level tends to generate more opens.",benchmark:"Average: 7th Grade Level (lower is better)"}),d.jsx(oE,{numCharacters:s.num_characters,numWords:s.num_words,isMobile:r}),d.jsx(dE,{desktopPreview:s.desktop_preview,mobilePreview:s.mobile_preview,isMobile:r}),d.jsx(fE,{sentiment:s.sentiment,sentimentScore:s.sentiment_score,isMobile:r}),d.jsx(Rr,{title:"RE: or FWD",icon:"RE:",isMobile:r,found:s.re_found,foundLabel:"RE: or FWD found in subject",notFoundLabel:"RE or FWD not found in subject",description:(s.re_found,"Putting a fake RE: or FWD: at the beginning of your subject may temporarily boost open rates, but is not recommended unless you're actually responding to an email. Many email clients and anti-spam systems have begun flagging these as suspicious.."),benchmark:"A pitiful number of emails (1.07%) start with RE: or FWD:"}),d.jsx(Rr,{title:"Free",icon:"FREE",isMobile:r,found:s.free_found,foundLabel:'"Free" was found in subject',notFoundLabel:'"Free" was not found in subject',description:(s.free_found,"Spammers and low rent marketers have so over used Free in email subject lines that it's best to avoid it if at all possible."),benchmark:'Only 2.34% of emails contain the word "FREE".'}),d.jsx(Rr,{title:"Spammy Words",icon:"ð",isMobile:r,found:s.spammy_words_found,foundLabel:`Potentially Spammy Words Found: ${s.spammy_words}`,notFoundLabel:"No Potentially Spammy Words Found",description:"Obviously there are words and phrases found more often in spam emails. While using these won't automatically put your email into the spam bin, it's best to avoid them if you can",benchmark:"6.49% contain something likely to get them marked as spam."}),d.jsx(Rr,{title:"Bad Tab Words",icon:"checklist",isMobile:r,found:s.bad_tab_words_found,foundLabel:`Bad Tab Words Found: ${s.bad_tab_words}`,notFoundLabel:"No Bad Tab Words Found",description:"Sometimes added to give a sense of urgency to your email, these word choices are likely to work against you. Often they'll push your email from the Primary to the Promotions tab in Gmail and generally hurt open rates.",benchmark:"14.21% of emails contain something that may hurt their tab placement rates."}),d.jsx(Rr,{title:"Exclamation Mark",icon:"checklist",isMobile:r,found:s.exclamation_found,foundLabel:"Exclamation Mark Found",notFoundLabel:"No Exclamation Mark Found",description:(s.exclamation_found,"Exclamation marks tend to hurt open rates and Gmail tab placement, avoid them."),benchmark:"12.36% of emails are overly excited."}),d.jsx(Rr,{title:"All Caps Words",icon:"AA",isMobile:r,found:s.all_caps_found,foundLabel:"All Caps Words Found",notFoundLabel:"No All Caps Words Found",description:"Subject lines with all cap words both look like they're shouting and like you are a spammer.",benchmark:"9.37% of emails contain an all-caps word"})]})]})}function Cm({grade:t,color:e,size:n}){return d.jsx("div",{style:{width:n,height:n,borderRadius:"50%",background:e,dis
1161play:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:d.jsx("div",{style:{width:n-6,height:n-6,borderRadius:"50%",background:"#FAFAFA",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:n-10,height:n-10,borderRadius:"50%",border:`3px solid ${e}33`,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("span",{style:{fontWeight:700,fontSize:n*.4,color:e},children:t})})})})}function ks({color:t,children:e,isMobile:n}){const i=n?80:130;return d.jsx("div",{style:{width:i,height:i,borderRadius:"50%",background:t,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:d.jsx("div",{style:{width:i-10,height:i-10,borderRadius:"50%",background:"#fff",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:i-18,height:i-18,borderRadius:"50%",border:`3px solid ${t}33`,display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",color:t},children:e})})})}function sE({color:t}){return d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[d.jsx("line",{x1:"4",y1:"6",x2:"14",y2:"6",stroke:t,strokeWidth:"2",strokeLinecap:"round"}),d.jsx("line",{x1:"4",y1:"12",x2:"14",y2:"12",stroke:t,strokeWidth:"2",strokeLinecap:"round"}),d.jsx("path",{d:"M16 10l2 2 4-4",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Id({text:t}){return d.jsxs("div",{style:{background:"#EBF5FF",borderRadius:8,padding:"8px 12px",marginTop:10,display:"flex",alignItems:"center",gap:8},children:[d.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",style:{flexShrink:0},children:[d.jsx("rect",{x:"1",y:"1",width:"12",height:"12",rx:"2",stroke:"#2F6DFB",strokeWidth:"1.5"}),d.jsx("rect",{x:"3",y:"7",width:"2",height:"4",rx:"0.5",fill:"#2F6DFB"}),d.jsx("rect",{x:"6",y:"5",width:"2",height:"6",rx:"0.5",fill:"#2F6DFB"}),d.jsx("rect",{x:"9",y:"3",width:"2",height:"8",rx:"0.5",fill:"#2F6DFB"})]}),d.jsx(Qe,{style:{fontSize:12,color:"#2F6DFB"},children:t})]})}function Sm({title:t,circle:e,headline:n,description:i,benchmark:r,isMobile:s}){return d.jsxs("div",{children:[d.jsx(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:8},children:t}),d.jsx("div",{style:{background:"#fff",border:"1px solid #E4E4E4",borderRadius:12,padding:s?12:16},children:d.jsxs("div",{style:{display:"flex",flexDirection:s?"column":"row",alignItems:s?"center":"flex-start",gap:s?12:16},children:[e,d.jsxs("div",{style:{flex:1},children:[d.jsx(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:4,textAlign:s?"center":void 0},children:n}),d.jsx(Qe,{style:{fontSize:13,color:"#1C1D1F",opacity:.4,lineHeight:1.5},children:i}),d.jsx(Id,{text:r})]})]})})]})}function oE({numCharacters:t,numWords:e,isMobile:n}){return d.jsxs("div",{children:[d.jsx(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:8},children:"Length"}),d.jsx("div",{style:{background:"#fff",border:"1px solid #E4E4E4",borderRadius:12,padding:n?12:16},children:d.jsxs("div",{style:{display:"flex",flexDirection:n?"column":"row",alignItems:n?"center":"flex-start",gap:n?12:16},children:[d.jsxs("div",{style:{display:"flex",gap:12},children:[d.jsxs(ks,{color:"#7ABE04",isMobile:n,children:[d.jsx("span",{style:{fontWeight:700,fontSize:n?16:20},children:t}),d.jsx("span",{style:{fontSize:9,opacity:.6,marginTop:-2},children:"Characters"})]}),d.jsxs(ks,{color:"#7ABE04",isMobile:n,children:[d.jsx("span",{style:{fontWeight:700,fontSize:n?16:20},children:e}),d.jsx("span",{style:{fontSize:9,opacity:.6,marginTop:-2},children:"Words"})]})]}),d.jsxs("div",{style:{flex:1},children:[d.jsxs(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:4,textAlign:n?"center":void 0},children:["Contains ",t," characters in ",e," words"]}),d.jsx(Qe,{style:{fontSize:13,color:"#1C1D1F",opacity:.4,lineHeight:1.5},children:"How many words in your subject is less important than the right words. Keep it specific. Focus on what your reader will get out of opening this email."}
1161),d.jsx(Qe,{style:{fontSize:13,color:"#1C1D1F",opacity:.4,lineHeight:1.5,display:"block",marginTop:8},children:"Just don't make it too short (hurts opens) and if you go long, try and put multiple CTAs or value propositions into the subject."}),d.jsx(Id,{text:"Average: 52 characters in 8 words"})]})]})})]})}function rs({subjectLine:t}){return d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"8px 10px",borderBottom:"1px solid #F0F0F0"},children:[d.jsx("div",{style:{width:28,height:28,borderRadius:"50%",background:"#ECECEC",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[d.jsx("circle",{cx:"7",cy:"5",r:"2.5",fill:"#C8C8C8"}),d.jsx("path",{d:"M2.5 12.5C2.5 10 4.5 8.5 7 8.5C9.5 8.5 11.5 10 11.5 12.5",stroke:"#C8C8C8",strokeWidth:"1.2",fill:"none"})]})}),t?d.jsx("div",{style:{flex:1,minWidth:0},children:d.jsx("div",{style:{fontSize:11,fontWeight:600,color:"#1C1D1F",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t})}):d.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4},children:[d.jsx("div",{style:{height:6,borderRadius:3,background:"#E8E8E8",width:"70%"}}),d.jsx("div",{style:{height:6,borderRadius:3,background:"#E8E8E8",width:"45%"}})]})]})}function aE({subjectLine:t}){return d.jsxs("div",{style:{border:"1px solid #E4E4E4",borderRadius:8,overflow:"hidden",background:"#fff",flex:3},children:[d.jsxs("div",{style:{background:"#F4F4F5",padding:"6px 10px",display:"flex",alignItems:"center",gap:4},children:[d.jsx("div",{style:{width:6,height:6,borderRadius:"50%",background:"#D9D9D9"}}),d.jsx("div",{style:{width:6,height:6,borderRadius:"50%",background:"#D9D9D9"}}),d.jsx("div",{style:{width:6,height:6,borderRadius:"50%",background:"#D9D9D9"}})]}),d.jsxs("div",{style:{background:"#F4F4F5",padding:"4px 10px 6px",display:"flex",alignItems:"center",gap:6,borderBottom:"1px solid #E8E8E8"},children:[d.jsx("span",{style:{fontSize:10,color:"#C0C0C0",userSelect:"none"},children:"â"}),d.jsx("span",{style:{fontSize:10,color:"#C0C0C0",userSelect:"none"},children:"â"}),d.jsx("div",{style:{flex:1,height:12,borderRadius:4,background:"#E8E8E8"}})]}),d.jsxs("div",{style:{display:"flex",minHeight:120},children:[d.jsxs("div",{style:{width:72,borderRight:"1px solid #F0F0F0",padding:"8px 8px",display:"flex",flexDirection:"column",gap:2},children:[d.jsx("span",{style:{fontSize:9,fontWeight:600,color:"#1C1D1F"},children:"Inbox"}),d.jsx("span",{style:{fontSize:9,color:"#1C1D1F",opacity:.3},children:"Starred"}),d.jsx("span",{style:{fontSize:9,color:"#1C1D1F",opacity:.3},children:"Sent Mail"}),d.jsx("span",{style:{fontSize:9,color:"#1C1D1F",opacity:.3},children:"Drafts"})]}),d.jsxs("div",{style:{flex:1},children:[d.jsx(rs,{}),d.jsx(rs,{subjectLine:t}),d.jsx(rs,{})]})]})]})}function lE({subjectLine:t}){return d.jsxs("div",{style:{border:"6px solid #D9D9D9",borderRadius:20,overflow:"hidden",background:"#fff",flex:2},children:[d.jsx("div",{style:{height:8,background:"#F4F4F5"}}),d.jsxs("div",{children:[d.jsx(rs,{}),d.jsx(rs,{subjectLine:t}),d.jsx(rs,{})]})]})}function dE({desktopPreview:t,mobilePreview:e,isMobile:n}){return d.jsxs("div",{children:[d.jsx(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:8},children:"Preview"}),d.jsxs("div",{style:{background:"#fff",border:"1px solid #E4E4E4",borderRadius:12,padding:n?12:16},children:[d.jsx(Qe,{style:{fontSize:13,color:"#1C1D1F",opacity:.4,display:"block",marginBottom:8},children:"Make sure this preview reads well on Desktop and mobile."}),d.jsx(Id,{text:"Target: 36 characters for desktop; 20 characters for mobile"}),d.jsxs("div",{style:{display:"flex",flexDirection:n?"column":"row",gap:16,marginTop:16},children:[d.jsx(aE,{subjectLine:t}),d.jsx(lE,{subjectLine:e})]})]})]})}function fE({sentiment:t,sentimentScore:e,isMobile:n}){return d.jsxs("div",{children:[d.jsx(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:8},children:"Sentiment"}),d.jsxs("div",{style:{background:"#fff",border:"1px solid #E4E4E4",borderRadius:12,padding:n?12:16,display:"flex",flexDirection:n?"column":"row",gap:n?16:20},children:[d.jsxs("div",{style:{flex:1,display:"flex",flexDirection:n?"column":"row",alignItems:n?"center":"flex-start",ga
1161p:n?12:16},children:[d.jsx(ks,{color:t!=="negative"?"#7ABE04":"#FF7A45",isMobile:n,children:d.jsx("span",{style:{fontSize:n?22:28},children:t==="positive"?"ð":t==="neutral"?"ð":"ð"})}),d.jsxs("div",{style:{flex:1},children:[d.jsxs(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:4,textAlign:n?"center":void 0},children:["Is ",t," with a score of ",e.toFixed(3)]}),d.jsxs(Qe,{style:{fontSize:13,color:"#1C1D1F",opacity:.4,lineHeight:1.5},children:["Sentiment scores below ",d.jsx("span",{style:{color:"#FF4D4F",fontWeight:600,opacity:1},children:"-0.25"})," are negative and above ",d.jsx("span",{style:{color:"#7ABE04",fontWeight:600,opacity:1},children:"0.25"})," positive. Most emails ",d.jsx("strong",{children:"76%"})," are Positive or Neutral."]})]})]}),d.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:8,minWidth:n?void 0:160},children:[d.jsx(cE,{}),d.jsx(Qe,{style:{fontWeight:600,fontSize:11,color:"#1C1D1F",textAlign:"center"},children:"Sentiment Analysis of All Marketing Emails"}),d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[d.jsx(Rf,{color:"#E8453C",label:"24% are negative"}),d.jsx(Rf,{color:"#B5CC61",label:"31% are neutral"}),d.jsx(Rf,{color:"#4CAF50",label:"45% are positive"})]})]})]})]})}function cE(){const i=2*Math.PI*42,r=[{percent:45,color:"#4CAF50"},{percent:31,color:"#B5CC61"},{percent:24,color:"#E8453C"}];let s=0;return d.jsx("svg",{width:100,height:100,viewBox:"0 0 100 100",children:r.map((o,a)=>{const l=o.percent/100*i,f=-s;return s+=l,d.jsx("circle",{cx:100/2,cy:100/2,r:42,fill:"none",stroke:o.color,strokeWidth:16,strokeDasharray:`${l} ${i-l}`,strokeDashoffset:f,transform:`rotate(-90 ${100/2} ${100/2})`},a)})})}function Rf({color:t,label:e}){return d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[d.jsx("div",{style:{width:8,height:8,borderRadius:"50%",background:t,flexShrink:0}}),d.jsx(Qe,{style:{fontSize:11,color:"#1C1D1F",opacity:.6},children:e})]})}function Rr({title:t,icon:e,found:n,foundLabel:i,notFoundLabel:r,description:s,benchmark:o,isMobile:a}){const f=!n?"#7ABE04":"#FF7A45",c=()=>e==="checklist"?d.jsx(sE,{color:f}):e==="ð"?d.jsx("span",{style:{fontSize:a?22:28},children:"ð"}):d.jsx("span",{style:{fontWeight:700,fontSize:e.length>3?14:18,color:f},children:e});return d.jsxs("div",{children:[d.jsx(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:8},children:t}),d.jsx("div",{style:{background:"#fff",border:"1px solid #E4E4E4",borderRadius:12,padding:a?12:16},children:d.jsxs("div",{style:{display:"flex",flexDirection:a?"column":"row",alignItems:a?"center":"flex-start",gap:a?12:16},children:[d.jsx(ks,{color:f,isMobile:a,children:c()}),d.jsxs("div",{style:{flex:1},children:[d.jsx(Qe,{style:{fontWeight:600,fontSize:14,color:"#1C1D1F",display:"block",marginBottom:4,textAlign:a?"center":void 0},children:n?i:r}),d.jsx(Qe,{style:{fontSize:13,color:"#1C1D1F",opacity:.4,lineHeight:1.5},children:s}),d.jsx(Id,{text:o})]})]})})]})}const{Text:ti}=xr;function jm({wizard:t,workspace:e,isMobile:n,onBack:i,onSaveDraft:r,isSaving:s,saveDraftDisabled:o,isEditMode:a}){const l=n?16:14,{score:f,isEvaluating:c,evaluate:u}=tE(),{user:h}=xs(),[m,p]=k.useState(!1),g=R2();k.useEffect(()=>g.getQueryCache().subscribe(y=>{y.type==="updated"&&y.action.type==="invalidate"&&Array.isArray(y.query.queryKey)&&(y.query.queryKey[0]==="contacts"||y.query.queryKey[0]==="total-contacts")&&t.refreshContacts()}),[g,t]);const v=!t.contactsLoading&&!t.segmentsLoading&&(t.totalContacts??0)===0,b=Math.max(0,h?.credits_left||0),w=t.sendCreditCost;return d.jsxs("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[d.jsx("div",{style:{flex:1,overflowY:"auto",padding:10},children:d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:20},children:[d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[d.jsxs(ti,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F",padding:"0 10px"},children:["Campaign Name",d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]}
1161),d.jsx(ti,{style:{fontSize:14,color:"#1C1D1F",opacity:.3,lineHeight:1.3,padding:"0 10px"},children:"This name is for internal use only and won't be displayed within the sent email"}),d.jsx(We,{value:t.campaignName,onChange:A=>t.setCampaignName(A.target.value),placeholder:"My New Campaign",style:{height:50,borderRadius:10,background:"#F4F4F5",border:"1px solid #E7E7E7",padding:"0 20px",fontSize:l}})]}),d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[d.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 10px"},children:d.jsxs(ti,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:["Subject Line",d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]})}),d.jsxs("div",{style:{position:"relative"},children:[d.jsx(We.TextArea,{value:t.subjectLine,onChange:A=>t.setSubjectLine(A.target.value),onBlur:()=>{f&&t.subjectLine.trim()&&u(t.subjectLine)},placeholder:"Enter subject line",maxLength:140,rows:3,style:{borderRadius:10,resize:"none",background:"#F4F4F5",border:"1px solid #E7E7E7",padding:20,fontSize:l}}),d.jsxs("span",{style:{position:"absolute",bottom:13,right:12,fontSize:12,color:"#1C1D1F",opacity:.3},children:[t.subjectLine.length,"/140"]})]})]}),d.jsxs("div",{children:[f&&d.jsxs("div",{style:{background:"#FAFAFA",border:"1px solid #E4E4E4",borderRadius:10,padding:10,display:"flex",alignItems:"center",gap:14},children:[d.jsx("div",{style:{width:54,height:54,borderRadius:"50%",background:f.color,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:d.jsx("div",{style:{width:48,height:48,borderRadius:"50%",background:"#FAFAFA",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:44,height:44,borderRadius:"50%",border:`3px solid ${f.color}33`,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("span",{style:{fontWeight:700,fontSize:22,color:f.color},children:f.grade})})})}),d.jsxs("div",{style:{flex:1},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[d.jsxs(ti,{style:{fontWeight:600,fontSize:15,color:"#1C1D1F"},children:[f.points," Points"]}),d.jsx("span",{onClick:()=>p(!0),style:{fontSize:13,fontWeight:500,color:"#2F6DFB",cursor:"pointer",userSelect:"none"},children:"Rating details"})]}),d.jsx("div",{style:{marginTop:6,height:5,borderRadius:2.5,background:"#E4E4E4",position:"relative"},children:d.jsx("div",{style:{position:"absolute",top:1,left:1,height:3,width:`calc(${f.progressPercent}% - 2px)`,borderRadius:1.5,background:f.color,transition:"width 0.3s ease"}})}),d.jsx(ti,{style:{fontSize:13,color:"#1C1D1F",opacity:.3,marginTop:4,display:"block"},children:f.message})]})]}),d.jsxs("div",{style:{background:"#F4F4F5",borderRadius:15,padding:"10px 10px 10px 16px",display:"flex",alignItems:"center",justifyContent:"space-between",marginTop:f?10:0},children:[d.jsx(ti,{style:{fontSize:13,color:"#1C1D1F",opacity:.3},children:f?"Re-evaluate your subject line.":"Finish editing the subject line to get a score."}),d.jsx(Ee,{type:"primary",size:"small",onClick:()=>u(t.subjectLine),loading:c,disabled:!t.subjectLine.trim(),style:{borderRadius:8,fontWeight:600,fontSize:13,height:32,padding:"0 16px"},children:"Evaluate"})]})]}),d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[d.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 10px"},children:d.jsxs(ti,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F"},children:["Subject Preview",d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]})}),d.jsxs("div",{style:{position:"relative"},children:[d.jsx(We.TextArea,{value:t.subjectPreview,onChange:A=>t.setSubjectPreview(A.target.value),placeholder:"Enter subject preview",maxLength:140,rows:3,style:{borderRadius:10,resize:"none",background:"#F4F4F5",border:"1px solid #E7E7E7",padding:20,fontSize:l}}),d.jsxs("span",{style:{position:"absolute",bottom:13,right:12,fontSize:12,color:"#1C1D1F",opacity:.3},children:[t.subjectPreview.length,"/140"]})]})]}),t.contactsLoading||t.segmentsLoading?d.jsx("div",{style:{padding:12,textAlign:"center"},children:d.jsx(As,{size:"small"})}):v?d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[d.jsxs(ti,{style:{fontWeight:500,fontSize:14,color:"#1C1D1F",padding:"0 10px"},children:["Audience",d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]}),d.jsxs("div",{style:{background:"#F4F4F5",borderRadius:10,padding:16,display:"flex",flexDirection:"column",alignItems:"center",gap:12}
1161,children:[d.jsx(ti,{style:{fontSize:13,color:"#1C1D1F",opacity:.4},children:"No contacts yet. Add contacts to send your campaign."}),d.jsxs(ai,{size:8,children:[d.jsx(Aw,{workspaceId:t.workspaceId,iconOnly:!0}),h?.registration_type==="gmail"&&d.jsx(xw,{workspaceId:t.workspaceId,iconOnly:!0}),d.jsx(_w,{workspace:e,onSuccess:()=>{t.refreshContacts()},buttonProps:{buttonContent:d.jsxs(d.Fragment,{children:[d.jsx(Sw,{})," Add"]}),type:"primary",style:{borderRadius:8}}})]})]})]}):d.jsx(O2,{segments:t.segments,selectedSegmentIds:t.audience,onChange:t.setAudience,totalContacts:t.totalContacts,audienceCount:w,fontSize:l})]})}),d.jsxs("div",{style:{padding:10},children:[d.jsx(iE,{onClick:()=>t.setShowSendModal(!0),audienceCount:w,creditsLeft:b,disabled:!t.isGenerated||t.audience===null}),n&&d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginTop:10},children:[i&&d.jsx("div",{onClick:i,style:{width:44,height:44,borderRadius:10,border:"1px solid #E4E4E4",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0},children:d.jsx(dg,{style:{fontSize:16,color:"#1C1D1F"}})}),d.jsx("div",{onClick:()=>t.setIsEditing(!0),style:{width:44,height:44,borderRadius:10,border:"1px solid #E4E4E4",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0},children:d.jsx(ag,{style:{fontSize:16,color:"#1C1D1F"}})}),d.jsx(Ee,{icon:d.jsx(pg,{}),onClick:r,loading:s,disabled:o,style:{flex:1,height:44,borderRadius:10,fontWeight:600},children:a?"Save":"Save Draft"})]})]}),d.jsx(rE,{open:m,onClose:()=>p(!1),subjectLine:t.subjectLine,score:f})]})}const{Text:Kr}=xr;function uE({size:t=24}){return d.jsx("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M9.16667 15H4.5C3.39543 15 2.5 14.1046 2.5 13V5.33333C2.5 4.22876 3.39543 3.33333 4.5 3.33333H15.5C16.6046 3.33333 17.5 4.22876 17.5 5.33333V10M18.3333 15H12.5M16.6667 16.6667L18.3333 15L16.6667 13.3333M2.5 5.83333L9.0755 10.217C9.63533 10.5902 10.3647 10.5902 10.9245 10.217L17.5 5.83333",stroke:"#2F6DFB",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function hE({children:t}){return d.jsxs(Kr,{style:{fontWeight:500,fontSize:14,display:"block",marginBottom:10,padding:"0 10px"},children:[t,d.jsx("span",{style:{color:"#FB2F4A"},children:"*"})]})}function pE({open:t,onClose:e,onSend:n,isSaving:i,scheduleForLater:r,onScheduleForLaterChange:s,scheduledDate:o,onScheduledDateChange:a,sendingTimeFrom:l,onSendingTimeFromChange:f,sendingTimeTo:c,onSendingTimeToChange:u,sendDays:h,onSendDaysChange:m,creditCost:p,creditsLeft:g,timezone:v}){const[b,w]=k.useState(null);k.useEffect(()=>{t&&Hf.estimateInDays({recipient_count:p}).then(x=>w(x.days)).catch(x=>{console.error("Failed to estimate broadcast:",x),w(null)})},[t,p]);const A=p>0,y=A&&P2(l,c,h)&&(!r||!!o);return d.jsx(ws,{open:t,onCancel:e,footer:null,width:400,centered:!0,closable:!1,styles:{header:{display:"none"},content:{background:"#FAFAFA",borderRadius:20,boxShadow:"0 16px 36px rgba(28, 29, 31, 0.1)"}},children:d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:20},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[d.jsx(Kr,{style:{fontWeight:700,fontSize:24,color:"#2A2B3B",letterSpacing:-.48},children:"Send or Schedule"}),d.jsx("div",{onClick:e,style:{width:30,height:30,borderRadius:"50%",background:"rgba(28, 29, 31, 0.05)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0},children:d.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",children:d.jsx("path",{d:"M0 0L10 10M10 0L0 10",stroke:"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),d.jsxs("div",{style:{border:"1px solid #2F6DFB",borderRadius:20,padding:20,background:"linear-gradient(90deg, rgba(47,109,251,0.1), rgba(47,109,251,0.1)), #FAFAFA",display:"flex",flexDirection:"column",gap:15},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:5},children:[d.jsx(uE,{}),d.jsx(Kr,{style:{flex:1,fontWeight:700,fontSize:18,color:"#2F6DFB",letterSpacing:-.36},children:"Before sending"}
1161),d.jsx(Ur,{style:{fontSize:18,color:"#1C1D1F",opacity:.5}})]}),d.jsx(Kr,{style:{fontSize:16,fontWeight:500,color:"#1C1D1F",lineHeight:1.5},children:"Campaigns are delivered in batches to protect your sender reputation."}),d.jsxs(Kr,{style:{fontSize:16,fontWeight:700,color:"#1C1D1F",lineHeight:1.5},children:["Estimated delivery time:"," ",d.jsx("span",{style:{color:"#2F6DFB"},children:b!==null?`~${b} days`:"â"})]})]}),d.jsx(z2,{sendingTimeFrom:l,onSendingTimeFromChange:f,sendingTimeTo:c,onSendingTimeToChange:u,sendDays:h,onSendDaysChange:m}),d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"15px 10px",borderTop:"1px solid #F0F0F0",borderBottom:r?"none":"1px solid #F0F0F0"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:5},children:[d.jsx(Kr,{style:{fontSize:14,fontWeight:500,color:"#1C1D1F"},children:"Schedule for later delivery"}),d.jsx(Ur,{style:{fontSize:18,color:"#1C1D1F",opacity:.3}})]}),d.jsx(_n,{checked:r,onChange:s})]}),r&&d.jsxs("div",{style:{paddingBottom:4,borderBottom:"1px solid #F0F0F0"},children:[d.jsx(hE,{children:"Campaign launch date"}),d.jsx(og,{format:"YYYY-MM-DD",value:o?zf(o):null,onChange:x=>a(x?x.format("YYYY-MM-DD"):null),...H2(v),style:{width:"100%",borderRadius:10,height:50,background:"#F4F4F5",borderColor:"#E7E7E7",marginBottom:12},placeholder:"Select Date"})]}),d.jsx("div",{style:{fontSize:12,color:"#00000073"},children:"Credits are charged only for emails actually sent. Unsubscribed and duplicated contacts are skipped, so the number of emails sent may be lower than your segment size."}),!A&&d.jsx("div",{style:{fontSize:12,color:"#FB2F4A"},children:"The selected audience has no contacts, so there is nothing to send."}),d.jsx(Ee,{type:"primary",block:!0,onClick:n,loading:i,disabled:!y,style:{height:50,borderRadius:10,padding:"5px 5px 5px 20px"},children:d.jsxs("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",gap:10},children:[d.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:10,fontSize:16,fontWeight:500},children:[d.jsx(jw,{style:{fontSize:18}}),r?"Schedule":"Send Now"]}),d.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:5,height:40,padding:"0 15px",borderRadius:5,background:"#FAFAFA",fontSize:14,letterSpacing:.28,color:"#1C1D1F"},children:[d.jsx(Io,{size:20}),d.jsx("span",{children:p}),d.jsx("span",{style:{opacity:.3},children:"/"}),d.jsx("span",{style:{opacity:.3},children:g.toLocaleString()||0})]})]})})]})})}const{Text:Xi}=xr;function mE({open:t,onClose:e,workspaceId:n,creditCost:i,creditsLeft:r}){return Yl(),d.jsx(ws,{open:t,onCancel:e,footer:null,width:472,centered:!0,styles:{body:{padding:0},header:{display:"none"},content:{borderRadius:20,padding:0}},closable:!1,children:d.jsxs("div",{style:{padding:20,display:"flex",flexDirection:"column",gap:20},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[d.jsx(Xi,{style:{fontWeight:700,fontSize:24,color:"#2A2B3B"},children:"Not Enough Credits"}),d.jsx("div",{onClick:e,style:{width:30,height:30,borderRadius:"50%",background:"rgba(28,29,31,0.05)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},children:d.jsx("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",children:d.jsx("path",{d:"M5 5L15 15M15 5L5 15",stroke:"#1C1D1F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),d.jsxs(Xi,{style:{fontSize:15,fontWeight:500,color:"#1C1D1F",lineHeight:1.6},children:["This action requires"," ",d.jsxs("span",{style:{color:"#FB2F4A"},children:[i," credits"]}),d.jsx("br",{}),"but you only have"," ",d.jsxs("span",{style:{color:"#FB2F4A"},children:[r.toLocaleString()," available."]})]}),d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:0},children:[d.jsxs("div",{style:{height:44,borderRadius:10,background:"rgba(28,29,31,0.03)",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 20px"},children:[d.jsx(Xi,{style:{fontSize:16,fontWeight:500,color:"#1C1D1F"},children:"Required"}),d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[d.jsx(Io,{size:20}),d.jsxs(Xi,{style:{fontSize:14,fontWeight:500,color:"#FB2F4A"},children:[i," credits"]})]})]}),d.jsxs("div",{style:{height:44,borderRadius:10,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 20px"},children:[d.jsx(Xi,{style:{fontSize:16,fontWeight:500,color:"#1C1D1F"},children:"Available"}),d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[d.jsx(Io,{size:20}),d.jsxs(Xi,{style:{fontSize:14,fontWeight:500,color:"#1C1D1F"}
1161,children:[r.toLocaleString()," credits"]})]})]})]}),d.jsx(Xi,{style:{fontSize:14,color:"#1C1D1F",opacity:.3,lineHeight:1.3},children:"Please upgrade your plan or purchase additional credits to continue."}),d.jsx(Ee,{type:"primary",block:!0,size:"large",onClick:()=>{e(),window.open(`/workspace/${n}/pricing`,"_blank")},style:{height:48,borderRadius:12,fontWeight:600,fontSize:15},children:"View Pricing"})]})})}const gE={components:{Segmented:{itemColor:"rgba(28, 29, 31, 0.5)",itemHoverColor:"rgba(28, 29, 31, 0.7)",itemSelectedBg:"#2F6DFB",itemSelectedColor:"#F8F8F8",trackBg:"#F4F4F5",borderRadius:10,controlHeight:40,trackPadding:5}}};function vE({open:t,onClose:e,prompt:n}){const{signin:i}=xs(),{message:r}=Ko.useApp(),s=Yl(),[o,a]=k.useState("Sign Up"),[l,f]=k.useState(!1),[c]=wn.useForm(),[u]=wn.useForm(),h=k.useCallback(b=>{n&&sessionStorage.setItem("pending_prompt",n),e(),setTimeout(()=>{b.length>0?s({to:`/workspace/${b[0].id}/create`}):s({to:"/"})},100)},[n,s,e]),m=k.useCallback(async b=>{try{f(!0);const w=await Od.signIn(b),A=await i(w.token);r.success("Successfully signed in"),h(A)}catch(w){r.error(w?.message||"Failed to sign in")}finally{f(!1)}},[i,r,h]),p=k.useCallback(async b=>{try{f(!0);const w=await Od.signUp(b),A=await i(w.token);r.success("Account created successfully"),h(A)}catch(w){r.error(w?.message||"Failed to create account")}finally{f(!1)}},[i,r,h]),g=k.useCallback(()=>{const b=window.GOOGLE_CLIENT_ID,w=window.GOOGLE_REDIRECT_URL;if(!b||!w)return;const A=["openid","email","profile","https://www.googleapis.com/auth/contacts.readonly","https://www.googleapis.com/auth/contacts.other.readonly"].join(" ");window.location.href=`https://accounts.google.com/o/oauth2/v2/auth?response_type=code&client_id=${b}&redirect_uri=${w}&scope=${A}&access_type=offline&prompt=consent`},[]),v=k.useCallback(async()=>{try{const b=await Od.appleLogin();b.redirectUrl&&(window.location.href=b.redirectUrl.toString())}catch(b){r.error(b?.message||"Failed to start Apple login")}},[r]);return d.jsxs(ws,{open:t,onCancel:e,footer:null,centered:!0,width:440,styles:{body:{padding:"10px 0 0"}},children:[d.jsxs("div",{style:{textAlign:"center",marginBottom:24},children:[d.jsx("div",{style:{fontSize:22,fontWeight:700,color:"#1C1D1F",marginBottom:8},children:"Create a free account to generate emails"}),d.jsx("div",{style:{fontSize:14,color:"rgba(28, 29, 31, 0.5)"},children:"Sign up to access AI email generation, save your campaigns, and more."})]}),d.jsx("div",{style:{marginBottom:20,display:"flex",justifyContent:"center"},children:d.jsx(eg,{theme:gE,children:d.jsx(Ar,{value:o,onChange:b=>a(b),options:["Sign In","Sign Up"],block:!0,style:{width:"100%"}})})}),o==="Sign In"?d.jsxs(wn,{form:c,onFinish:m,layout:"vertical",children:[d.jsx(wn.Item,{name:"email",label:"Email",rules:[{required:!0,message:"Please enter your email"},{type:"email",message:"Please enter a valid email"}],children:d.jsx(We,{placeholder:"Enter your email",style:{height:44,borderRadius:10}})}),d.jsx(wn.Item,{name:"password",label:"Password",rules:[{required:!0,message:"Please enter your password"}],children:d.jsx(We.Password,{placeholder:"Enter your password",style:{height:44,borderRadius:10}})}),d.jsx(wn.Item,{style:{marginBottom:12},children:d.jsx(Ee,{type:"primary",htmlType:"submit",block:!0,loading:l,style:{height:48,borderRadius:10,fontWeight:600,fontSize:16},children:"Sign In"})}),d.jsx("div",{style:{textAlign:"center",marginBottom:16},children:d.jsx("a",{href:"/restore-password",style:{fontSize:13,color:"rgba(28, 29, 31, 0.5)"},children:"Forgot password?"})})]}):d.jsxs(wn,{form:u,onFinish:p,layout:"vertical",children:[d.jsx(wn.Item,{name:"email",label:"Email",rules:[{required:!0,message:"Please enter your email"},{type:"email",message:"Please enter a valid email"}],children:d.jsx(We,{placeholder:"Enter your email",style:{height:44,borderRadius:10}})}),d.jsx(wn.Item,{name:"password",label:"Password",rules:[{required:!0,message:"Please enter your password"},{min:8,message:"Password must be at least 8 characters"}],children:d.jsx(We.Password,{placeholder:"Enter your password",style:{height:44,borderRadius:10}})}),d.jsx(wn.Item,{name:"confirm_password",label:"Confirm Password",dependencies:["password"],rules:[{required:!0,message:"Please confirm your password"},({getFieldValue:b})=>({validator(w,A){return!A||b("password")===A?Promise.resolve():Promise.reject(new Error("Passwords do not match"))}})],children:d.jsx(We.Password,{placeholder:"Confirm your password",style:{height:44,borderRadius:10}})}),d.jsx(wn.Item,{style:{marginBottom:12},children:d.jsx(Ee,{type:"primary",htmlType:"submit",block:!0,loading:l,style:{height:48,borderRadius:10,fontWeight:600,fontSize:16},children:"Create Account"})})]}),d.jsxs("div",{style:{display:"flex",gap:10,marginTop:4},children:[d.jsx(Ee,{block:!0,onClick:g,style:{height:44,borderRadius:10,fontWeight:500},children:"Google"}),d.jsx(Ee,{block:!0,onClick:v,style:{height:44,borderRadius:10,fontWeight:500},children:"Apple"})]})]})}function bE({open:t,onComply:e,onDecline:n}){return d.jsx(ws,{open:t,onCancel:n,footer:null,centered:!0,width:380,closeIcon:d.jsx("span",{style:{fontSize:18},children:"Ã"}),children:d.jsxs("div",{style:{textAlign:"center",padding:"10px 0"},children:[d.jsx(Dw,{style:{fontSize:40,color:"#2F6DFB",marginBottom:16}}),d.jsx("div",{style:{fontSize:18,fontWeight:700,color:"#1C1D1F",marginBottom:12},children:"Agree to Terms of Service"}),d.jsxs("div",{style:{fontSize:14,color:"rgba(28, 29, 31, 0.6)",marginBottom:24},children:["I will comply with SmartMailAI's"," ",d.jsx("a",{href:"/terms",target:"_blank",rel:"noreferrer",children:"Terms of Service"})," ","when sending emails. I agree not to send any spam or harassing emails (commercial or otherwise)."]}),d.jsx(Ee,{type:"primary",block:!0,onClick:e,style:{height:44,borderRadius:10,fontWeight:600,background:"#D4E600",color:"#1C1D1F",border:"none",marginBottom:10},children:"I will comply"}),d.jsx(Ee,{type:"link",block:!0,onClick:n,style:{color:"rgba(28, 29, 31, 0.5)"},children:"I decline"})]})})}const jk=t=>typeof t=="object"&&t!==null,Im=t=>jk(t)&&!(t instanceof RegExp)&&!(t instanceof Error)&&!(t instanceof Date)&&!(globalThis.Blob&&t instanceof globalThis.Blob),yE=Symbol("mapObjectSkip"),qc=(t,e,n,i=new WeakMap)=>{if(n={deep:!1,target:{},...n},i.has(t))return i.get(t);i.set(t,n.target);const{target:r}=n;delete n.target;const s=o=>o.map(a=>Im(a)?qc(a,e,n,i):a);if(Array.isArray(t))return s(t);for(const[o,a]of Object.entries(t)){const l=e(o,a,t);if(l===yE)continue;let[f,c,{shouldRecurse:u=!0}={}]=l;f!=="__proto__"&&(n.deep&&u&&Im(c)&&(c=Array.isArray(c)?s(c):qc(c,e,n,i)),r[f]=c)}return r};function Bm(t,e,n){if(!jk(t))throw new TypeError(`Expected an object, got \`${t}\` (${typeof t})`);if(Array.isArray(t))throw new TypeError("Expected an object, got an array");return qc(t,e,n)}const kE=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),wE=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),AE=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),xE=/[^\p{L}\d]+/giu,Em="$1\0$2",Mm="";function Ik(t){let e=t.trim();e=e.replace(kE,Em).replace(wE,Em),e=e.replace(xE,"\0");let n=0,i=e.length;for(;e.charAt(n)==="\0";)n++;if(n===i)return[];for(;e.charAt(i-1)==="\0";)i--;return e.slice(n,i).split(/\0/g)}function _E(t){const e=Ik(t);for(let n=0;n<e.length;n++){const i=e[n],r=AE.exec(i);if(r){const s=r.index+(r[1]??r[2]).length;e.splice(n,1,i.slice(0,s),i.slice(s))}}return e}function CE(t,e){const[n,i,r]=jE(t,e);return n+i.map(SE(e?.locale)).join(e?.delimiter??" ")+r}function Tm(t,e){return CE(t,{delimiter:"_",...e})}function SE(t){return t===!1?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t)}function jE(t,e={}){const n=e.split??(e.separateNumbers?_E:Ik),i=e.prefixCharacters??Mm,r=e.suffixCharacters??Mm;let s=0,o=t.length;for(;s<t.length;){const a=t.charAt(s);if(!i.includes(a))break;s++}for(;o>s;){const a=o-1,l=t.charAt(a);if(!r.includes(l))break;o=a}return[t.slice(0,s),n(t.slice(s,o)),t.slice(o)]}const Fm={}.constructor;function Dm(t,e){if(Array.isArray(t)){if(t.some(r=>r.constructor!==Fm))throw new Error("obj must be array of plain objects");e={deep:!0,exclude:[],parsingOptions:{},...e};const i=e.snakeCase||(r=>Tm(r,e.parsingOptions));return t.map(r=>Bm(r,(s,o)=>[Nm(e.exclude,s)?s:i(s),o,Rm(s,o,e)],e))}else if(t.constructor!==Fm)throw new Error("obj must be an plain object");e={deep:!0,exclude:[],parsingOptions:{},...e};const n=e.snakeCase||(i=>Tm(i,e.parsingOptions));return Bm(t,(i,r)=>[Nm(e.exclude,i)?i:n(i),r,Rm(i,r,e)],e)}function Nm(t,e){return t.some(n=>typeof n=="string"?n===e:n.test(e))}function Rm(t,e,n){return n.shouldRecurse?{shouldRecurse:n.shouldRecurse(t,e)}:void 0}const Sa={generate:async t=>await lo.post("/api/mail.generate",Dm(t)),trends:async t=>await lo.post("/api/mail.trends",Dm(t)),settings:async()=>await lo.get("/api/mail.settings")};function IE(t){const e=new Map,n=/(\S+)="([^"]*)"/g;let i;for(;(i=n.exec(t))!==null;){const l=i[1],f=i[2];e.set(l,f)}const r=t.match(/^([^\s>]+)/),s=r?r[1]:"",o=Array.from(e.entries()).map(([l,f])=>`${l}="${f}"`).join(" "),a=t.trim().endsWith("/");return o?`${s} ${o}${a?" /":""}`:`${s}${a?" /":""}`}function BE(t){let e=t;return e=e.replace(/="([^"]*)"/g,(n,i)=>'="'+i.replace(/&(?!(amp|lt|gt|quot|apos|#\d+|#x[0-9a-fA-F]+);)/g,"&")+'"'),e=e.replace(/<([^>]+)>/g,(n,i)=>{if(!i.includes("="))return n;const s=(i.match(/(\S+)="[^"]*"/g)||[]).map(a=>a.split("=")[0]);return new Set(s).size!==s.length?`<${IE(i)}>`:n}),e}function EE(t){try{const e=BE(t),i=new DOMParser().parseFromString(e,"text/xml"),r=i.querySelector("parsererror");
1161if(r)throw new Error("Invalid MJML syntax: "+r.textContent);const s=i.documentElement;if(s.tagName.toLowerCase()!=="mjml")throw new Error("Root element must be <mjml>");return Bk(s)}catch(e){throw console.error("Browser MJML to JSON conversion error:",e),new Error(`Failed to convert MJML to JSON: ${e}`)}}function ME(t){return t.includes("-")?t.replace(/-([a-zA-Z])/g,(e,n)=>n.toUpperCase()):t}function Bk(t){const n={id:Math.random().toString(36).substr(2,9),type:t.tagName.toLowerCase(),attributes:{}};if(t.attributes.length>0){const a={};for(let l=0;l<t.attributes.length;l++){const f=t.attributes[l],c=ME(f.name);a[c]=f.value}n.attributes=a}const i=["mj-raw","mj-text","mj-button","mj-title","mj-preview"],r=t.tagName.toLowerCase();if(i.includes(r)){const a=t.innerHTML;if(a.trim()){let l=a.trim();r==="mj-text"&&!/^\s*</.test(l)&&(l=`<p>${l}</p>`),n.content=l}return n}const s=[];let o="";for(let a=0;a<t.childNodes.length;a++){const l=t.childNodes[a];if(l.nodeType===Node.ELEMENT_NODE)s.push(Bk(l));else if(l.nodeType===Node.TEXT_NODE){const f=l.textContent?.trim();f&&(o+=f)}}return s.length>0&&(n.children=s),o&&s.length===0&&(n.content=o),n}var Lf;const TE=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Lm=(Lf=String.fromCodePoint)!==null&&Lf!==void 0?Lf:(t=>{let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e});function FE(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=TE.get(t))!==null&&e!==void 0?e:t}function Ek(t){const e=typeof atob=="function"?atob(t):typeof Buffer.from=="function"?Buffer.from(t,"base64").toString("binary"):new Buffer(t,"base64").toString("binary"),n=e.length&-2,i=new Uint16Array(n/2);for(let r=0,s=0;r<n;r+=2){const o=e.charCodeAt(r),a=e.charCodeAt(r+1);i[s++]=o|a<<8}return i}const DE=Ek
vendor: 5,276 bytes, line 1161
1161("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQ
vendor: 26,928 bytes, line 1161
1161ByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg")
vendor: 1,717 bytes, line 1161
1161,NE=Ek("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg");var Wt;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.FLAG13=8192]="FLAG13",t[t.BRANCH_LENGTH=8064]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Wt||(Wt={}));var Ze;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ze||(Ze={}));const Om=32;function Yc(t){return t>=Ze.ZERO&&t<=Ze.NINE}function RE(t){return t>=Ze.UPPER_A&&t<=Ze.UPPER_F||t>=Ze.LOWER_A&&t<=Ze.LOWER_F}function LE(t){return t>=Ze.UPPER_A&&t<=Ze.UPPER_Z||t>=Ze.LOWER_A&&t<=Ze.LOWER_Z||Yc(t)}function OE(t){return t===Ze.EQUALS||LE(t)}var At;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(At||(At={}));var zn;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(zn||(zn={}));class PE{constructor(e,n,i){this.decodeTree=e,this.emitCodePoint=n,this.errors=i,this.state=At.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=zn.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=At.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,n){switch(this.state){case At.EntityStart:return e.charCodeAt(n)===Ze.NUM?(this.state=At.NumericStart,this.consumed+=1,this.stateNumericStart(e,n+1)):(this.state=At.NamedEntity,this.stateNamedEntity(e,n
1161));case At.NumericStart:return this.stateNumericStart(e,n);case At.NumericDecimal:return this.stateNumericDecimal(e,n);case At.NumericHex:return this.stateNumericHex(e,n);case At.NamedEntity:return this.stateNamedEntity(e,n)}}stateNumericStart(e,n){return n>=e.length?-1:(e.charCodeAt(n)|Om)===Ze.LOWER_X?(this.state=At.NumericHex,this.consumed+=1,this.stateNumericHex(e,n+1)):(this.state=At.NumericDecimal,this.stateNumericDecimal(e,n))}stateNumericHex(e,n){for(;n<e.length;){const i=e.charCodeAt(n);if(Yc(i)||RE(i)){const r=i<=Ze.NINE?i-Ze.ZERO:(i|Om)-Ze.LOWER_A+10;this.result=this.result*16+r,this.consumed++,n++}else return this.emitNumericEntity(i,3)}return-1}stateNumericDecimal(e,n){for(;n<e.length;){const i=e.charCodeAt(n);if(Yc(i))this.result=this.result*10+(i-Ze.ZERO),this.consumed++,n++;else return this.emitNumericEntity(i,2)}return-1}emitNumericEntity(e,n){var i;if(this.consumed<=n)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Ze.SEMI)this.consumed+=1;else if(this.decodeMode===zn.Strict)return 0;return this.emitCodePoint(FE(this.result),this.consumed),this.errors&&(e!==Ze.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,n){const{decodeTree:i}=this;let r=i[this.treeIndex],s=(r&Wt.VALUE_LENGTH)>>14;for(;n<e.length;){if(s===0&&(r&Wt.FLAG13)!==0){const a=(r&Wt.BRANCH_LENGTH)>>7;if(this.runConsumed===0){const l=r&Wt.JUMP_TABLE;if(e.charCodeAt(n)!==l)return this.result===0?0:this.emitNotTerminatedNamedEntity();n++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(n>=e.length)return-1;const l=this.runConsumed-1,f=i[this.treeIndex+1+(l>>1)],c=l%2===0?f&255:f>>8&255;if(e.charCodeAt(n)!==c)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();n++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=i[this.treeIndex],s=(r&Wt.VALUE_LENGTH)>>14}if(n>=e.length)break;const o=e.charCodeAt(n);if(o===Ze.SEMI&&s!==0&&(r&Wt.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);if(this.treeIndex=zE(i,r,this.treeIndex+Math.max(1,s),o),this.treeIndex<0)return this.result===0||this.decodeMode===zn.Attribute&&(s===0||OE(o))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],s=(r&Wt.VALUE_LENGTH)>>14,s!==0){if(o===Ze.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==zn.Strict&&(r&Wt.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}n++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;const{result:n,decodeTree:i}=this,r=(i[n]&Wt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,n,i){const{decodeTree:r}=this;return this.emitCodePoint(n===1?r[e]&~(Wt.VALUE_LENGTH|Wt.FLAG13):r[e+1],i),n===3&&this.emitCodePoint(r[e+2],i),i}end(){var e;switch(this.state){case At.NamedEntity:return this.result!==0&&(this.decodeMode!==zn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case At.NumericDecimal:return this.emitNumericEntity(0,2);case At.NumericHex:return this.emitNumericEntity(0,3);case At.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case At.EntityStart:return 0}}}function zE(t,e,n,i){const r=(e&Wt.BRANCH_LENGTH)>>7,s=e&Wt.JUMP_TABLE;if(r===0)return s!==0&&i===s?n:-1;if(s){const f=i-s;return f<0||f>=r?-1:t[n+f]-1}const o=r+1>>1;let a=0,l=r-1;for(;a<=l;){const f=a+l>>>1,c=f>>1,h=t[n+c]>>(f&1)*8&255;if(h<i)a=f+1;else if(h>i)l=f-1;else return t[n+o+f]}return-1}var ke;(function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"})(ke||(ke={}));var z;(function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.BeforeSpecialT=23]="BeforeSpecialT",t[t.SpecialStartSequence=24]="SpecialStartSequence",t[t.InSpecialTag=25]="InSpecialTag",t[t.InEntity=26]="InEntity"})(z||(z={}));function ii(t){return t===ke.Space||t===ke.NewLine||t===ke.Tab||t===ke.FormFeed||t===ke.CarriageReturn}function ja(t){return t===ke.Slash||t===ke.Gt||ii(t)}function HE(t){return t>=ke.LowerA&&t<=ke.LowerZ||t>=ke.UpperA&&t<=ke.UpperZ}var Hn;(function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"})(Hn||(Hn={}));
1161const ft={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class WE{constructor({xmlMode:e=!1,decodeEntities:n=!0},i){this.cbs=i,this.state=z.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=z.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=n,this.entityDecoder=new PE(e?NE:DE,(r,s)=>this.emitCodePoint(r,s))}reset(){this.state=z.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=z.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===ke.Lt||!this.decodeEntities&&this.fastForwardTo(ke.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=z.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===ke.Amp&&this.startEntity()}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?ja(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=z.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===ke.Gt||ii(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.isSpecial=!1,this.sectionStart=n+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===ft.TitleEnd?this.decodeEntities&&e===ke.Amp&&this.startEntity():this.fastForwardTo(ke.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===ke.Lt)}stateCDATASequence(e){e===ft.Cdata[this.sequenceIndex]?++this.sequenceIndex===ft.Cdata.length&&(this.state=z.InCommentLike,this.currentSequence=ft.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=z.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===ft.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=z.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!ja(e):HE(e)}startSpecial(e,n){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=n,this.state=z.SpecialStartSequence}stateBeforeTagName(e){if(e===ke.ExclamationMark)this.state=z.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===ke.Questionmark)this.state=z.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const n=e|32;this.sectionStart=this.index,this.xmlMode?this.state=z.InTagName:n===ft.ScriptEnd[2]?this.state=z.BeforeSpecialS:n===ft.TitleEnd[2]||n===ft.XmpEnd[2]?this.state=z.BeforeSpecialT:this.state=z.InTagName}else e===ke.Slash?this.state=z.BeforeClosingTagName:(this.state=z.Text,this.stateText(e))}stateInTagName(e){ja(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=z.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){ii(e)||(e===ke.Gt?this.state=z.Text:(this.state=this.isTagStartChar(e)?z.InClosingTagName:z.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===ke.Gt||ii(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=z.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===ke.Gt||this.fastForwardTo(ke.Gt))&&(this.state=z.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===ke.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=z.InSpecialTag,this.sequenceIndex=0):this.state=z.Text,this.sectionStart=this.index+1):e===ke.Slash?this.state=z.InSelfClosingTag:ii(e)||(this.state=z.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===ke.Gt?(this.cbs.onselfclosingtag(this.index),this.state=z.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ii(e)||(this.state=z.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===ke.Eq||ja(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=z.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===ke.Eq?this.state=z.BeforeAttributeValue:e===ke.Slash||e===ke.Gt?(this.cbs.onattribend(Hn.NoValue,this.sectionStart),this.sectionStart=-1,this.state=z.BeforeAttributeName,this.stateBeforeAttributeName(e)):ii(e)||(this.cbs.onattribend(Hn.NoValue,this.sectionStart),this.state=z.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===ke.DoubleQuote?(this.state=z.InAttributeValueDq,this.sectionStart=this.index+1):e===ke.SingleQuote?(this.state=z.InAttributeValueSq,this.sectionStart=this.index+1):ii(e)||(this.sectionStart=this.index,this.state=z.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,n){e===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===ke.DoubleQuote?Hn.Double:Hn.Single,this.index+1),this.state=z.BeforeAttributeName):this.decodeEntities&&e===ke.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,ke.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,ke.SingleQuote)}stateInAttributeValueNoQuotes(e){ii(e)||e===ke.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Hn.Unquoted,this.index),this.state=z.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===ke.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===ke.OpeningSquareBracket?(this.state=z.CDATASequence,this.sequenceIndex=0):this.state=e===ke.Dash?z.BeforeComment:z.InDeclaration}stateInDeclaration(e){(e===ke.Gt||this.fastForwardTo(ke.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=z.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===ke.Gt||this.fastForwardTo(ke.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=z.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===ke.Dash?(this.state=z.InCommentLike,this.currentSequence=ft.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=z.InDeclaration}stateInSpecialComment(e){(e===ke.Gt||this.fastForwardTo(ke.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=z.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const n=e|32;n===ft.ScriptEnd[3]?this.startSpecial(ft.ScriptEnd,4):n===ft.StyleEnd[3]?this.startSpecial(ft.StyleEnd,4):(this.state=z.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){switch(e|32){case ft.TitleEnd[3]:{this.startSpecial(ft.TitleEnd,4);break}case ft.TextareaEnd[3]:{this.startSpecial(ft.TextareaEnd,4);break}case ft.XmpEnd[3]:{this.startSpecial(ft.XmpEnd,4);break}default:this.state=z.InTagName,this.stateInTagName(e)}}startEntity(){this.baseState=this.state,this.state=z.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?zn.Strict:this.baseState===z.Text||this.baseState===z.InSpecialTag?zn.Legacy:zn.Attribute)}stateInEntity(){const e=this.index-this.offset,n=this.entityDecoder.write(this.buffer,e);if(n>=0)this.state=this.baseState,n===0&&(this.index-=1);else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===ke.Amp){this.state=this.baseState,this.index-=1;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===z.Text||this.state===z.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===z.InAttributeValueDq||this.state===z.InAttributeValueSq||this.state===z.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case z.Text:{this.stateText(e);break}case z.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case z.InSpecialTag:{this.stateInSpecialTag(e);break}case z.CDATASequence:{this.stateCDATASequence(e);break}case z.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case z.InAttributeName:{this.stateInAttributeName(e);break}case z.InCommentLike:{this.stateInCommentLike(e);break}case z.InSpecialComment:{this.stateInSpecialComment(e);break}case z.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case z.InTagName:{this.stateInTagName(e);break}case z.InClosingTagName:{this.stateInClosingTagName(e);break}case z.BeforeTagName:{this.stateBeforeTagName(e);break}case z.AfterAttributeName:{this.stateAfterAttributeName(e);break}case z.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case z.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case z.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case z.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case z.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case z.BeforeSpecialT:{this.stateBeforeSpecialT(e);break}case z.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case z.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case z.InDeclaration:{this.stateInDeclaration(e);break}case z.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case z.BeforeComment:{this.stateBeforeComment(e);break}case z.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case z.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===z.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===z.InCommentLike?this.currentSequence===ft.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===z.InTagName||this.state===z.BeforeAttributeName||this.state===z.BeforeAttributeValue||this.state===z.AfterAttributeName||this.state===z.InAttributeName||this.state===z.InAttributeValueSq||this.state===z.InAttributeValueDq||this.state===z.InAttributeValueNq||this.state===z.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,n){this.baseState!==z.Text&&this.baseState!==z.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}}const Lr=new Set(["input","option","optgroup","select","button","datalist","textarea"]),ze=new Set(["p"]),Pm=new Set(["thead","tbody"]),zm=new Set(["dd","dt"]),Hm=new Set(["rt","rp"]),$E=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",ze],["h1",ze],["h2",ze],["h3",ze],["h4",ze],["h5",ze],["h6",ze],["select",Lr],["input",Lr],["output",Lr],["button",Lr],["datalist",Lr],["textarea",Lr],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",zm],["dt",zm],["address",ze],["article",ze],["aside",ze],["blockquote",ze],["details",ze],["div",ze],["dl",ze],["fieldset",ze],["figcaption",ze],["figure",ze],["footer",ze],["form",ze],["header",ze],["hr",ze],["main",ze],["nav",ze],["ol",ze],["pre",ze],["section",ze],["table",ze],["ul",ze],["rt",Hm],["rp",Hm],["tbody",Pm],["tfoot",Pm]]),VE=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
1161img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Wm=new Set(["math","svg"]),$m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),GE=/\s|\//;class KE{constructor(e,n={}){var i,r,s,o,a,l;this.options=n,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(i=n.lowerCaseTags)!==null&&i!==void 0?i:this.htmlMode,this.lowerCaseAttributeNames=(r=n.lowerCaseAttributeNames)!==null&&r!==void 0?r:this.htmlMode,this.recognizeSelfClosing=(s=n.recognizeSelfClosing)!==null&&s!==void 0?s:!this.htmlMode,this.tokenizer=new((o=n.Tokenizer)!==null&&o!==void 0?o:WE)(this.options,this),this.foreignContext=[!this.htmlMode],(l=(a=this.cbs).onparserinit)===null||l===void 0||l.call(a,this)}ontext(e,n){var i,r;const s=this.getSlice(e,n);this.endIndex=n-1,(r=(i=this.cbs).ontext)===null||r===void 0||r.call(i,s),this.startIndex=n}ontextentity(e,n){var i,r;this.endIndex=n-1,(r=(i=this.cbs).ontext)===null||r===void 0||r.call(i,Lm(e)),this.startIndex=n}isVoidElement(e){return this.htmlMode&&VE.has(e)}onopentagname(e,n){this.endIndex=n;let i=this.getSlice(e,n);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)}emitOpenTag(e){var n,i,r,s;this.openTagStart=this.startIndex,this.tagname=e;const o=this.htmlMode&&$E.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[0]);){const a=this.stack.shift();(i=(n=this.cbs).onclosetag)===null||i===void 0||i.call(n,a,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(Wm.has(e)?this.foreignContext.unshift(!0):$m.has(e)&&this.foreignContext.unshift(!1))),(s=(r=this.cbs).onopentagname)===null||s===void 0||s.call(r,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var n,i;this.startIndex=this.openTagStart,this.attribs&&((i=(n=this.cbs).onopentag)===null||i===void 0||i.call(n,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,n){var i,r,s,o,a,l,f,c;this.endIndex=n;let u=this.getSlice(e,n);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(Wm.has(u)||$m.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&u==="br"&&((o=(s=this.cbs).onopentagname)===null||o===void 0||o.call(s,"br"),(l=(a=this.cbs).onopentag)===null||l===void 0||l.call(a,"br",{},!0),(c=(f=this.cbs).onclosetag)===null||c===void 0||c.call(f,"br",!1));else{const h=this.stack.indexOf(u);if(h!==-1)for(let m=0;m<=h;m++){const p=this.stack.shift();(r=(i=this.cbs).onclosetag)===null||r===void 0||r.call(i,p,m!==h)}else this.htmlMode&&u==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var n,i;const r=this.tagname;this.endOpenTag(e),this.stack[0]===r&&((i=(n=this.cbs).onclosetag)===null||i===void 0||i.call(n,r,!e),this.stack.shift())}onattribname(e,n){this.startIndex=e;const i=this.getSlice(e,n);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i}onattribdata(e,n){this.attribvalue+=this.getSlice(e,n)}onattribentity(e){this.attribvalue+=Lm(e)}onattribend(e,n){var i,r;this.endIndex=n,(r=(i=this.cbs).onattribute)===null||r===void 0||r.call(i,this.attribname,this.attribvalue,e===Hn.Double?'"':e===Hn.Single?"'":e===Hn.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const n=e.search(GE);let i=n<0?e:e.substr(0,n);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i}ondeclaration(e,n){this.endIndex=n;const i=this.getSlice(e,n);if(this.cbs.onprocessinginstruction){const r=this.getInstructionName(i);this.cbs.onprocessinginstruction(`!${r}`,`!${i}`)}this.startIndex=n+1}onprocessinginstruction(e,n){this.endIndex=n;const i=this.getSlice(e,n);if(this.cbs.onprocessinginstruction){const r=this.getInstructionName(i);this.cbs.onprocessinginstruction(`?${r}`,`?${i}`)}this.startIndex=n+1}oncomment(e,n,i){var r,s,o,a;this.endIndex=n,(s=(r=this.cbs).oncomment)===null||s===void 0||s.call(r,this.get
1161Slice(e,n-i)),(a=(o=this.cbs).oncommentend)===null||a===void 0||a.call(o),this.startIndex=n+1}oncdata(e,n,i){var r,s,o,a,l,f,c,u,h,m;this.endIndex=n;const p=this.getSlice(e,n-i);!this.htmlMode||this.options.recognizeCDATA?((s=(r=this.cbs).oncdatastart)===null||s===void 0||s.call(r),(a=(o=this.cbs).ontext)===null||a===void 0||a.call(o,p),(f=(l=this.cbs).oncdataend)===null||f===void 0||f.call(l)):((u=(c=this.cbs).oncomment)===null||u===void 0||u.call(c,`[CDATA[${p}]]`),(m=(h=this.cbs).oncommentend)===null||m===void 0||m.call(h)),this.startIndex=n+1}onend(){var e,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let i=0;i<this.stack.length;i++)this.cbs.onclosetag(this.stack[i],!0)}(n=(e=this.cbs).onend)===null||n===void 0||n.call(e)}reset(){var e,n,i,r;(n=(e=this.cbs).onreset)===null||n===void 0||n.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(i=this.cbs).onparserinit)===null||r===void 0||r.call(i,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,n){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let i=this.buffers[0].slice(e-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,n-this.bufferOffset);return i}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var n,i;if(this.ended){(i=(n=this.cbs).onerror)===null||i===void 0||i.call(n,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var n,i;if(this.ended){(i=(n=this.cbs).onerror)===null||i===void 0||i.call(n,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}}var Pe;(function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"})(Pe||(Pe={}));function JE(t){return t.type===Pe.Tag||t.type===Pe.Script||t.type===Pe.Style}const UE=Pe.Root,QE=Pe.Text,qE=Pe.Directive,YE=Pe.Comment,ZE=Pe.Script,XE=Pe.Style,eM=Pe.Tag,tM=Pe.CDATA,nM=Pe.Doctype;let Mk=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return Rk(this,e)}};class vh extends Mk{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class Zc extends vh{constructor(){super(...arguments),this.type=Pe.Text}get nodeType(){return 3}}class Tk extends vh{constructor(){super(...arguments),this.type=Pe.Comment}get nodeType(){return 8}}class Fk extends vh{constructor(e,n){super(n),this.name=e,this.type=Pe.Directive}get nodeType(){return 1}}class bh extends Mk{constructor(e){super(),this.children=e}get firstChild(){var e;return(e=this.children[0])!==null&&e!==void 0?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class Dk extends bh{constructor(){super(...arguments),this.type=Pe.CDATA}get nodeType(){return 4}}class Xc extends bh{constructor(){super(...arguments),this.type=Pe.Root}get nodeType(){return 9}}let Nk=class extends bh{constructor(e,n,i=[],r=e==="script"?Pe.Script:e==="style"?Pe.Style:Pe.Tag){super(i),this.name=e,this.attribs=n,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var n,i;return{name:e,value:this.attribs[e],namespace:(n=this["x-attribsNamespace"])===null||n===void 0?void 0:n[e],prefix:(i=this["x-attribsPrefix"])===null||i===void 0?void 0:i[e]}})}};function iM(t){return JE(t)}function rM(t){return t.type===Pe.CDATA}function sM(t){return t.type===Pe.Text}function oM(t){return t.type===Pe.Comment}function aM(t){return t.type===Pe.Directive}function lM(t){return t.type===Pe.Root}function Rk(t,e=!1){let n;if(sM(t))n=new Zc(t.data);else if(oM(t))n=new Tk(t.data);else if(iM(t)){const i=e?Of(t.children):[],r=new Nk(t.name,{...t.attribs},i);
1161i.forEach(s=>s.parent=r),t.namespace!=null&&(r.namespace=t.namespace),t["x-attribsNamespace"]&&(r["x-attribsNamespace"]={...t["x-attribsNamespace"]}),t["x-attribsPrefix"]&&(r["x-attribsPrefix"]={...t["x-attribsPrefix"]}),n=r}else if(rM(t)){const i=e?Of(t.children):[],r=new Dk(i);i.forEach(s=>s.parent=r),n=r}else if(lM(t)){const i=e?Of(t.children):[],r=new Xc(i);i.forEach(s=>s.parent=r),t["x-mode"]&&(r["x-mode"]=t["x-mode"]),n=r}else if(aM(t)){const i=new Fk(t.name,t.data);t["x-name"]!=null&&(i["x-name"]=t["x-name"],i["x-publicId"]=t["x-publicId"],i["x-systemId"]=t["x-systemId"]),n=i}else throw new Error(`Not implemented yet: ${t.type}`);return n.startIndex=t.startIndex,n.endIndex=t.endIndex,t.sourceCodeLocation!=null&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function Of(t){const e=t.map(n=>Rk(n,!0));for(let n=1;n<e.length;n++)e[n].prev=e[n-1],e[n-1].next=e[n];return e}const Vm={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class dM{constructor(e,n,i){this.dom=[],this.root=new Xc(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof n=="function"&&(i=n,n=Vm),typeof e=="object"&&(n=e,e=void 0),this.callback=e??null,this.options=n??Vm,this.elementCB=i??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new Xc(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;const e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,n){const i=this.options.xmlMode?Pe.Tag:void 0,r=new Nk(e,n,void 0,i);this.addNode(r),this.tagStack.push(r)}ontext(e){const{lastNode:n}=this;if(n&&n.type===Pe.Text)n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{const i=new Zc(e);this.addNode(i),this.lastNode=i}}oncomment(e){if(this.lastNode&&this.lastNode.type===Pe.Comment){this.lastNode.data+=e;return}const n=new Tk(e);this.addNode(n),this.lastNode=n}oncommentend(){this.lastNode=null}oncdatastart(){const e=new Zc(""),n=new Dk([e]);this.addNode(n),e.parent=n,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,n){const i=new Fk(e,n);this.addNode(i)}handleCallback(e){if(typeof this.callback=="function")this.callback(e,this.dom);else if(e)throw e}addNode(e){const n=this.tagStack[this.tagStack.length-1],i=n.children[n.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),n.children.push(e),i&&(e.prev=i,i.next=e),e.parent=n,this.lastNode=null}}const Gm=/["&'<>$\x80-\uFFFF]/g,fM=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),cM=String.prototype.codePointAt!=null?(t,e)=>t.codePointAt(e):(t,e)=>(t.charCodeAt(e)&64512)===55296?(t.charCodeAt(e)-55296)*1024+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function Lk(t){let e="",n=0,i;for(;(i=Gm.exec(t))!==null;){const r=i.index,s=t.charCodeAt(r),o=fM.get(s);o!==void 0?(e+=t.substring(n,r)+o,n=r+1):(e+=`${t.substring(n,r)}&#x${cM(t,r).toString(16)};`,n=Gm.lastIndex+=+((s&64512)===55296))}return e+t.substr(n)}function Ok(t,e){return function(i){let r,s=0,o="";for(;r=t.exec(i);)s!==r.index&&(o+=i.substring(s,r.index)),o+=e.get(r[0].charCodeAt(0)),s=r.index+1;return o+i.substring(s)}}const uM=Ok(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),hM=Ok(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),pM=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),mM=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),gM=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function vM(t){return t.replace(/"/g,""")}function bM(t,e){var n;if(!t)return;const i=((n=e.encodeEntities)!==null&&n!==void 0?n:e.decodeEntities)===!1?vM:e.xmlMode||e.encodeEntities!=="utf8"?Lk:uM;return Object.keys(t).map(r=>{var s,o;const a=(s=t[r])!==null&&s!==void 0?s:"";return e.xmlMode==="foreign"&&(r=(o=mM.get(r))!==null&&o!==void 0?o:r),!e.emptyAttrs&&!e.xmlMode&&a===""?r:`${r}="${i(a)}"`}).join(" ")}const Km=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
1161img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function yh(t,e={}){const n="length"in t?t:[t];let i="";for(let r=0;r<n.length;r++)i+=yM(n[r],e);return i}function yM(t,e){switch(t.type){case UE:return yh(t.children,e);case nM:case qE:return xM(t);case YE:return SM(t);case tM:return CM(t);case ZE:case XE:case eM:return AM(t,e);case QE:return _M(t,e)}}const kM=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),wM=new Set(["svg","math"]);function AM(t,e){var n;e.xmlMode==="foreign"&&(t.name=(n=pM.get(t.name))!==null&&n!==void 0?n:t.name,t.parent&&kM.has(t.parent.name)&&(e={...e,xmlMode:!1})),!e.xmlMode&&wM.has(t.name)&&(e={...e,xmlMode:"foreign"});let i=`<${t.name}`;const r=bM(t.attribs,e);return r&&(i+=` ${r}`),t.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&Km.has(t.name))?(e.xmlMode||(i+=" "),i+="/>"):(i+=">",t.children.length>0&&(i+=yh(t.children,e)),(e.xmlMode||!Km.has(t.name))&&(i+=`</${t.name}>`)),i}function xM(t){return`<${t.data}>`}function _M(t,e){var n;let i=t.data||"";return((n=e.encodeEntities)!==null&&n!==void 0?n:e.decodeEntities)!==!1&&!(!e.xmlMode&&t.parent&&gM.has(t.parent.name))&&(i=e.xmlMode||e.encodeEntities!=="utf8"?Lk(i):hM(i)),i}function CM(t){return`<![CDATA[${t.children[0].data}]]>`}function SM(t){return`<!--${t.data}-->`}function jM(t,e){const n=new dM(void 0,e);return new KE(n,e).end(t),n.root}const Hs=["content","settings"],kh="campaign_draft";function IM(){try{const t=localStorage.getItem(kh);return t?JSON.parse(t):null}catch{return null}}function BM(t){localStorage.setItem(kh,JSON.stringify(t))}function Jm(){localStorage.removeItem(kh)}function EM(t,e,n=!1){const{message:i}=Ko.useApp(),r=Yl(),{user:s,refreshUser:o}=xs(),a=k.useMemo(()=>{if(!e?.email?.visual_editor_tree)return null;const pe=e.email.visual_editor_tree;if(typeof pe=="object")return pe;try{return JSON.parse(pe)}catch{return null}}
1161,[e]),l=e?null:IM(),[f,c]=k.useState(e?"settings":l?.currentStep??"content"),[u,h]=k.useState(()=>{const pe=sessionStorage.getItem("pending_prompt");return pe?(sessionStorage.removeItem("pending_prompt"),pe):l?.prompt??""}),[m,p]=k.useState(l?.trendingEnabled??!1),[g,v]=k.useState([]),[b,w]=k.useState(!1),[A,y]=k.useState(l?.selectedTrend??null),[x,C]=k.useState(!1),[_,j]=k.useState(l?.isEventInvitation??!1),[I,E]=k.useState(l?.eventDateTime??""),[F,N]=k.useState(l?.eventLocation??""),[T,B]=k.useState(l?.addButton??!1),[M,D]=k.useState(l?.buttonName??""),[G,ge]=k.useState(l?.buttonLink??""),[fe,me]=k.useState(l?.stylingSource??(n?"preset":"branding")),[H,X]=k.useState(l?.websiteUrl??""),[ie,W]=k.useState(l?.selectedPreset??null),[Q,q]=k.useState(l?.selectedPalette??"classic-blue"),[L,U]=k.useState(l?.generateImages??!1),[ce,be]=k.useState(l?.uploadCustomImages??!1),[Se,_e]=k.useState(l?.uploadedImages??[]),[Te,R]=k.useState(!1),[$,se]=k.useState(!!a||(l?.isGenerated??!1)),[ne,de]=k.useState(!1),[Y,ee]=k.useState(a??l?.visualEditorTree??null),[Z,ue]=k.useState(l?.generatedResult??null),[oe,ye]=k.useState(e?.name||l?.campaignName||""),[te,De]=k.useState(e?.email?.subject||l?.subjectLine||""),[Le,pt]=k.useState(e?.email?.subject_preview||l?.subjectPreview||""),[at,bi]=k.useState(null),[bn,yn]=k.useState([]),[Jn,nn]=k.useState(!1),[Un,Pt]=k.useState(!1),[mt,Ut]=k.useState(null),[Sr,Es]=k.useState("11:00"),[Fn,jr]=k.useState("09:00"),[Ji,Ir]=k.useState("18:00"),[Qn,Ui]=k.useState([1,2,3,4,5]),[Dn,Br]=k.useState(!1),[Bd,Ms]=k.useState(!1),[Er,yi]=k.useState(!1),[Mr,Qi]=k.useState(!1),[Ed,Tr]=k.useState(!1),[Ts,Pk]=k.useState(l?.compiledHtml??""),[zk,Hk]=k.useState("desktop"),[Wk,$k]=k.useState(!1);k.useEffect(()=>{e||BM({prompt:u,trendingEnabled:m,selectedTrend:A,isEventInvitation:_,eventDateTime:I,eventLocation:F,addButton:T,buttonName:M,buttonLink:G,stylingSource:fe,websiteUrl:H,selectedPreset:ie,selectedPalette:Q,generateImages:L,uploadCustomImages:ce,uploadedImages:Se,visualEditorTree:Y,generatedResult:Z,compiledHtml:Ts,isGenerated:$,campaignName:oe,subjectLine:te,subjectPreview:Le,currentStep:f})},[e,u,m,A,_,I,F,T,M,G,fe,H,ie,Q,L,ce,Se,Y,Z,Ts,$,oe,te,Le,f]);const[Md,wh]=k.useState(null),[Vk,Gk]=k.useState(null),[Td,Kk]=k.useState(void 0),[Jk,Ah]=k.useState(!1),[Fd,Uk]=k.useState(""),[Qk,ea]=k.useState(!1),[Fs,qk]=k.useState(e?.id||null),[Dd,Yk]=k.useState(null),Nd=k.useMemo(()=>({total:15,breakdown:[{label:"Generation",cost:15}]}),[]),Rd=k.useMemo(()=>at===null?0:at.length===0?Td??0:bn.filter(pe=>at.includes(pe.id)).reduce((pe,Ie)=>pe+(Ie.users_count??0),0),[at,bn,Td]),Zk=k.useCallback(pe=>{p(pe),pe||y(null)},[]),xh=k.useCallback(async()=>{Ah(!0);try{const pe=await Bw.getTotalContacts({workspace_id:t.id});Kk(pe.total_contacts)}catch(pe){console.error("Failed to fetch contacts count:",pe)}finally{Ah(!1)}},[t.id]);k.useEffect(()=>{if(n)return;const pe=async()=>{try{const Ne=await ta.getUserSettings(),wt=gt=>Ne.find(qi=>qi.code===gt)?.value||"",qn=wt("brand_colors");let kn=[];try{const gt=qn?JSON.parse(qn):[];Array.isArray(gt)?kn=gt:typeof gt=="string"&>&&(kn=gt.split(",").map(qi=>qi.trim()).filter(qi=>/^#[0-9A-Fa-f]{3,8}$/.test(qi)))}catch{kn=qn?qn.split(",").map(gt=>gt.trim()).filter(gt=>/^#[0-9A-Fa-f]{3,8}$/.test(gt)):[]}const ki=wt("website_url");wh({businessName:wt("business_name"),websiteUrl:ki,logoUrl:wt("logo")||null,brandColors:kn,companyDescription:wt("services"),audienceDescription:wt("audience"),companyAddress:wt("company_address")}),ki&&X(ki)}catch(Ne){console.error("Failed to fetch user settings:",Ne)}try{const Ne=await Iw.subscription();Gk(Ne)}catch(Ne){console.error("Failed to fetch subscription:",Ne)}},Ie=async()=>{nn(!0);try{const Ne=await Mw({workspace_id:t.id,with_count:!0});yn(Ne.segments||[])}catch(Ne){console.error("Failed to fetch segments:",Ne)}finally{nn(!1)}},kt=async()=>{try{const wt=(await Ew.list({workspace_id:t.id})).lists||[];wt.length>0&&Uk(wt[0].id)}catch(Ne){console.error("Failed to fetch lists:",Ne)}},Ve=async()=>{if(!(e?.name||l?.campaignName))try{const Ne=await Hf.list({workspace_id:t.id,limit:1});ye(`New Campaign ${(Ne.total_count||0)+1}`)}catch{ye("New Campaign 1")}};pe(),xh(),Ie(),kt(),Ve()},[t.id]);const Xk=k.useCallback(pe=>{c(pe)},[]),e2=k.useCallback(()=>{const pe=Hs.indexOf(f);
1161pe<Hs.length-1&&c(Hs[pe+1])},[f]),t2=k.useCallback(()=>{const pe=Hs.indexOf(f);pe>0&&c(Hs[pe-1])},[f]),n2=k.useCallback(()=>f==="content"?!e&&!u.trim()?(i.warning("Please enter your email content message"),!1):!$||!Y?(i.warning("Please generate an email first"),!1):!0:f==="settings"?oe.trim()?te.trim()?!0:(i.warning("Please enter a subject line"),!1):(i.warning("Please enter a campaign name"),!1):!0,[f,u,$,Y,oe,te,i]),Fr=k.useCallback(()=>{let pe="",Ie="";return fe==="preset"?pe=ie||"":Ie=H||Md?.websiteUrl||"",{style:pe,website:Ie}},[fe,ie,Md,H]),i2=k.useCallback(async()=>{if(n){Qi(!0);return}if(!u.trim()){i.warning("Please enter your email content message");return}const pe=s?.credits_left??0;if(Nd.total>pe){Tr(!0);return}Ms(!1),de(!0);try{const{style:Ie,website:kt}=Fr(),Ve=await Sa.generate({message:u,trendKey:A?.trend||"",trendDescription:A?.description||"",addLinkButton:T,addLinkButtonName:M,addLinkButtonLink:G,addEvent:_,addEventDateTime:I,addEventLocation:F,website:kt,style:Ie,isGenerateImage:L,isUploadCustomImage:ce,files:Se.map(gt=>gt.url)});ue(Ve);const Ne=jM(Ve.mgml,{xmlMode:!0}),wt=yh(Ne,{xmlMode:!0}),qn=EE(wt);ee(qn),se(!0);const kn=Ve.subject_line||Ve.copy?.subject;kn&&De(kn);const ki=Ve.subject_preview||Ve.copy?.preheader;ki&&pt(ki);try{await o()}catch(gt){console.error("Failed to refresh user credits after generation:",gt)}}catch(Ie){console.error("Failed to generate email:",Ie),i.error(Ie?.message||"Failed to generate email")}finally{de(!1)}}
1161,[u,A,T,M,G,_,I,F,Fr,L,ce,Se,i,s,Nd,o]),r2=k.useCallback(async()=>{if(u.trim())try{const{style:pe,website:Ie}=Fr(),kt=await Sa.generate({message:u,trendKey:A?.trend||"",trendDescription:A?.description||"",addLinkButton:T,website:Ie,style:pe}),Ve=kt.subject_line||kt.copy?.subject;Ve&&De(Ve);try{await o()}catch(Ne){console.error("Failed to refresh user credits after regenerating subject:",Ne)}}catch(pe){console.error("Failed to regenerate subject:",pe),i.error(pe?.message||"Failed to regenerate subject line")}},[u,A,T,Fr,i,o]),s2=k.useCallback(async()=>{if(u.trim())try{const{style:pe,website:Ie}=Fr(),kt=await Sa.generate({message:u,trendKey:A?.trend||"",trendDescription:A?.description||"",addLinkButton:T,website:Ie,style:pe}),Ve=kt.subject_preview||kt.copy?.preheader;Ve&&pt(Ve);try{await o()}catch(Ne){console.error("Failed to refresh user credits after regenerating preview:",Ne)}}catch(pe){console.error("Failed to regenerate preview:",pe),i.error(pe?.message||"Failed to regenerate subject preview")}},[u,A,T,Fr,i,o]),_h=k.useCallback(async()=>{try{const pe=await ta.getUserSettings(),Ie=Ne=>pe.find(wt=>wt.code===Ne)?.value||"",kt=Ie("brand_colors");let Ve=[];try{const Ne=kt?JSON.parse(kt):[];Ve=Array.isArray(Ne)?Ne:[]}catch{Ve=kt?kt.split(",").map(Ne=>Ne.trim()):[]}wh({businessName:Ie("business_name"),websiteUrl:Ie("website_url"),logoUrl:Ie("logo")||null,brandColors:Ve,companyDescription:Ie("services"),audienceDescription:Ie("audience"),companyAddress:Ie("company_address")})}catch(pe){console.error("Failed to refetch branding:",pe)}},[]),o2=k.useCallback(async()=>{if(!H.trim()){i.warning("Please enter a URL first");return}R(!0);try{await ta.updateUserSettings([{code:"website_url",value:H}]),await ta.extractWebsiteInfo(H),await _h(),i.success("Branding extracted")}catch(pe){console.error("Failed to extract branding:",pe),i.error(pe?.message||"Failed to extract branding")}finally{R(!1)}},[H,i,_h]),Ld=k.useCallback(async(pe=!1,Ie)=>{const kt=pe===!0;if(!(!Y||!oe.trim())&&!(kt&&at===null)){ea(!0);try{const Ve={contact:{first_name:"John",last_name:"Doe",email:"[email protected]"}},Ne={workspace_id:t.id,id:Fs||"",name:oe,channel:"email",category:"marketing",email:{subject:te,subject_preview:Le,visual_editor_tree:Y,compiled_preview:Ts},test_data:Ve};let wt=Fs;Fs?await Ja.update(Ne):(wt=(await Ja.create(Ne)).template.id,qk(wt));const qn=Ie?.sendNow===!0,kn=!!Ie&&!qn,ki={workspace_id:t.id,name:oe,audience:at===null||at.length===0?{list:Fd,exclude_unsubscribed:!0}:{list:Fd,segments:at,exclude_unsubscribed:!0},send_now:qn,schedule:{is_scheduled:kn,scheduled_date:kn&&Ie?.scheduledDate||void 0,scheduled_time:kn?Ie?.scheduledTime:void 0,use_recipient_timezone:!1,send_days:Ie?.sendDays,start_hour:Ie?.startHour,end_hour:Ie?.endHour},test_settings:{enabled:!1,sample_percentage:100,auto_send_winner:!1,variations:[{variation_name:"default",template_id:wt}]},utm_parameters:{source:"email",medium:"email",campaign:Cw.kebabCase(oe)}};let gt=Dd;return kt&&(gt=(await Hf.create(ki)).broadcast.id,Yk(gt)),Ie||i.success("Draft saved"),Jm(),gt}catch(Ve){if(console.error("Failed to save draft:",Ve),Ie)throw Ve;i.error(Ve?.message||"Failed to save draft");return}finally{ea(!1)}}},[Y,oe,te,Le,Ts,at,Fd,t.id,Fs,Dd,i]),a2=k.useCallback(async()=>{if(at===null)return;const pe=Math.max(0,s?.credits_left??0);if(Rd>pe){yi(!1),Tr(!0);return}ea(!0);try{const Ie=!Un;if(!await Ld(!0,{sendNow:Ie,scheduledDate:mt,scheduledTime:Fn,sendDays:Qn,startHour:parseInt(Fn,10),endHour:parseInt(Ji,10)})){i.error("Failed to create broadcast");return}i.success(Ie?"Campaign sent!":"Campaign scheduled!");try{await o()}catch(Ve){console.error("Failed to refresh user credits after launch:",Ve)}Jm(),yi(!1),r({to:"/workspace/$workspaceId/broadcasts",params:{workspaceId:t.id}})}catch(Ie){console.error("Failed to launch campaign:",Ie),i.error(Ie?.message||"Failed to launch campaign")}finally{ea(!1)}},[Ld,t.id,Un,mt,Fn,Ji,Qn,i,r,s,Rd,at,o]),l2=k.useCallback(pe=>{m&&(w(!0),Sa.trends({message:pe}).then(Ie=>{v(Ie||[])}).catch(Ie=>{console.error("Failed to search trends:",Ie)}).finally(()=>{w(!1)}))},[m]);return{workspaceId:t.id,currentStep:f,goToStep:Xk,goNext:e2,goPrevious:t2,validateStep:n2,prompt:u,setPrompt:h,trendingEnabled:m,setTrendingEnabled:Zk,trends:g,trendsLoading:b,selectedTrend:A,setSelectedTrend:y,isEventInvitation:_,setIsEventInvitation:j,eventDateTime:I,setEventDateTime:E,eventLocation:F,setEventLocation:N,addButton:T,setAddButton:B,buttonName:M,setButtonName:D,buttonLink:G,setButtonLink:ge,stylingSource:fe,setStylingSource:me,websiteUrl:H,setWebsiteUrl:X,selectedPreset:ie,setSelectedPreset:W,selectedPalette:Q,setSelectedPalette:q,generateImages:L,setGenerateImages:U,uploadCustomImages:ce,setUploadCustomImages:be,uploadedImages:Se,setUploadedImages:_e,isGenerated:$,isGenerating:ne,visualEditorTree:Y,setVisualEditorTree:ee,generatedResult:Z,handleGenerate:i2,isEditing:Dn,setIsEditing:
1161Br,creditEstimate:Nd,sendCreditCost:Rd,campaignName:oe,setCampaignName:ye,subjectLine:te,setSubjectLine:De,subjectPreview:Le,setSubjectPreview:pt,audience:at,setAudience:bi,segments:bn,segmentsLoading:Jn,regenerateSubject:r2,regeneratePreview:s2,refreshUrl:o2,extracting:Te,scheduleForLater:Un,setScheduleForLater:Pt,scheduledDate:mt,setScheduledDate:Ut,sendingTimeFrom:Fn,setSendingTimeFrom:jr,sendingTimeTo:Ji,setSendingTimeTo:Ir,sendDays:Qn,setSendDays:Ui,scheduledTime:Sr,setScheduledTime:Es,showCreditModal:Bd,setShowCreditModal:Ms,showSendModal:Er,setShowSendModal:yi,showAuthModal:Mr,setShowAuthModal:Qi,showNotEnoughCreditsModal:Ed,setShowNotEnoughCreditsModal:Tr,compiledHtml:Ts,setCompiledHtml:Pk,previewMode:zk,setPreviewMode:Hk,isCompiling:Wk,setIsCompiling:$k,brandingData:Md,subscription:Vk,totalContacts:Td,contactsLoading:Jk,refreshContacts:xh,isGuestMode:n,isSaving:Qk,saveDraft:Ld,launch:a2,createdTemplateId:Fs,createdBroadcastId:Dd,searchTrends:l2}}function MM({visualEditorTree:t,workspaceId:e,onCompiledHtml:n,onIsCompiling:i}){const r=k.useRef(null),s=k.useCallback(async o=>{i(!0);try{const a=await Ja.compile({workspace_id:e,message_id:"preview",visual_editor_tree:o,test_data:{contact:{first_name:"John",last_name:"Doe",email:"[email protected]"}},channel:"email"});a.html&&n(a.html)}catch(a){console.error("Failed to compile preview:",a)}finally{i(!1)}},[e,n,i]);return k.useEffect(()=>{if(t)return r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{s(t)},500),()=>{r.current&&clearTimeout(r.current)}},[t,s]),{compilePreview:s}}function TM(){const[t,e]=k.useState(window.innerHeight);return k.useEffect(()=>{const n=()=>e(window.innerHeight);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t}const Um="sm_spam_compliance_agreed";function FM(t){return t==="true"}function DM(){const{workspaceId:t}=L2({from:"/workspace/$workspaceId/create"}),{workspaces:e}=xs(),n=e.find(i=>i.id===t);return n?d.jsx(Ko,{children:d.jsx(NM,{workspace:n})}):null}function NM({workspace:t,existingTemplate:e,isGuestMode:n=!1}){const{user:i}=xs(),r=EM(t,e,n),s=gi(),o=TM(),[a,l]=k.useState(!1),[f,c]=k.useState(!1),u=!!e,h=()=>{FM(localStorage.getItem(Um))?r.launch():c(!0)},m=()=>{localStorage.setItem(Um,"true"),c(!1),r.launch()};MM({visualEditorTree:r.visualEditorTree,workspaceId:t.id,onCompiledHtml:r.setCompiledHtml,onIsCompiling:r.setIsCompiling});const p=()=>{if(n){r.setShowAuthModal(!0);return}r.validateStep()&&(l(!1),r.goNext())},g=v=>{l(!1),r.goToStep(v)};return d.jsxs("div",{style:{display:"flex",flexDirection:"column",height:s?o-56:"100vh",background:"#FFFFFF"},children:[d.jsx(rA,{currentStep:r.currentStep,onStepChange:g,onContinue:p,onSaveDraft:()=>r.saveDraft(!1),isSaving:r.isSaving,isMobile:s,continueDisabled:!r.prompt.trim(),saveDraftDisabled:!r.isGenerated||!r.campaignName.trim()||!r.subjectLine.trim(),isEditMode:u,isGuestMode:n}),s?d.jsxs("div",{style:{flex:1,minHeight:0,background:"#FAFAFA",display:"flex",flexDirection:"column",overflow:"hidden"},children:[!u&&r.currentStep==="content"&&(r.isGenerated&&!a?d.jsxs(d.Fragment,{children:[d.jsx(Ph,{compiledHtml:r.compiledHtml,previewMode:"mobile",onPreviewModeChange:r.setPreviewMode,isGenerated:r.isGenerated,isGenerating:r.isGenerating,isMobile:!0,onEdit:()=>r.setIsEditing(!0)}),d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"10px 16px",borderTop:"1px solid #E4E4E4",background:"#FFFFFF",flexShrink:0},children:[d.jsx("div",{onClick:()=>l(!0),style:{width:44,height:44,borderRadius:10,border:"1px solid #E4E4E4",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0},children:d.jsx(dg,{style:{fontSize:16,color:"#1C1D1F"}})}),d.jsx("div",{onClick:()=>r.setIsEditing(!0),style:{width:44,height:44,borderRadius:10,border:"1px solid #E4E4E4",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0},children:d.jsx(ag,{style:{fontSize:16,color:"#1C1D1F"}})}),d.jsxs("div",{onClick:p,style:{flex:1,height:44,borderRadius:10,background:"#2F6DFB",display:"flex",alignItems:"center",justifyContent:"center",gap:8,cursor:"pointer"},children:[d.jsx("span",{style:{fontSize:15,fontWeight:600,color:"#FAFAFA"},children:"Continue"}),d.jsx(tg,{style:{fontSize:14,color:"#FAFAFA"}})]})]})]}):d.jsxs("div",{style:{position:"relative",flex:1,display:"flex",flexDirection:"column",minHeight:0},children:[d.jsx(_m,{wizard:r}),r.isGenerating&&d.jsx("div",{style:{position:"absolute",inset:0,zIndex:10}
1161,children:d.jsx(mg,{isGenerating:r.isGenerating})})]})),(u||r.currentStep==="settings")&&d.jsx(jm,{wizard:r,workspace:t,isMobile:!0,onBack:u?void 0:()=>{l(!1),r.goPrevious()},onSaveDraft:()=>r.saveDraft(!1),isSaving:r.isSaving,saveDraftDisabled:!r.isGenerated||!r.campaignName.trim()||!r.subjectLine.trim(),isEditMode:u})]}):d.jsxs("div",{style:{display:"flex",flex:1,overflow:"hidden"},children:[d.jsxs("div",{style:{width:440,minWidth:440,borderRight:"1px solid #E4E4E4",background:"#FAFAFA",display:"flex",flexDirection:"column"},children:[!u&&r.currentStep==="content"&&d.jsx(_m,{wizard:r}),(u||r.currentStep==="settings")&&d.jsx(jm,{wizard:r,workspace:t,isEditMode:u})]}),d.jsx(Ph,{compiledHtml:r.compiledHtml,previewMode:r.previewMode,onPreviewModeChange:r.setPreviewMode,isGenerated:r.isGenerated,isGenerating:r.isGenerating,onEdit:()=>r.setIsEditing(!0)})]}),r.isEditing&&r.visualEditorTree&&d.jsx(BB,{tree:r.visualEditorTree,onTreeChange:r.setVisualEditorTree,workspaceId:t.id,onClose:()=>r.setIsEditing(!1)}),n?d.jsx(vE,{open:r.showAuthModal,onClose:()=>r.setShowAuthModal(!1),prompt:r.prompt}):d.jsxs(d.Fragment,{children:[d.jsx(pE,{open:r.showSendModal,onClose:()=>r.setShowSendModal(!1),onSend:h,isSaving:r.isSaving,scheduleForLater:r.scheduleForLater,onScheduleForLaterChange:r.setScheduleForLater,scheduledDate:r.scheduledDate,onScheduledDateChange:r.setScheduledDate,sendingTimeFrom:r.sendingTimeFrom,onSendingTimeFromChange:r.setSendingTimeFrom,sendingTimeTo:r.sendingTimeTo,onSendingTimeToChange:r.setSendingTimeTo,sendDays:r.sendDays,onSendDaysChange:r.setSendDays,creditCost:r.sendCreditCost,creditsLeft:Math.max(0,i?.credits_left??0),timezone:t.settings.timezone}),d.jsx(mE,{open:r.showNotEnoughCreditsModal,onClose:()=>r.setShowNotEnoughCreditsModal(!1),workspaceId:t.id,creditCost:r.sendCreditCost,creditsLeft:Math.max(0,i?.credits_left??0)}),d.jsx(bE,{open:f,onComply:m,onDecline:()=>c(!1)})]})]})}const ST=Object.freeze(Object.defineProperty({__proto__:null,CreateTemplatePage:DM},Symbol.toStringTag,{value:"Module"}));export{NM as C,ST as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.