diff --git a/README.md b/README.md index 7268485..1ec9f17 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Install the App using by doing the below steps: 1. Create a new Contentful custom App and define the Application Name (e.g. Better Slugs) -2. Download [dist.zip](https://github.com/pauloamgomes/contentful-better-slugs-app/releases/download/V1.0.3/dist.zip), unzip and add the resulting folder into the Bundles upload zone: +2. Download [dist.zip](https://github.com/pauloamgomes/contentful-better-slugs-app/releases/latest/download/dist.zip), unzip and add the resulting folder into the Bundles upload zone: (or download/clone this repo and use the dist folder): ![App Bundles Upload](./docs/app-bundles.png) diff --git a/dist/assets/index.d728fac3.js b/dist/assets/index.44f5a9dd.js similarity index 99% rename from dist/assets/index.d728fac3.js rename to dist/assets/index.44f5a9dd.js index b28845c..bc61254 100644 --- a/dist/assets/index.d728fac3.js +++ b/dist/assets/index.44f5a9dd.js @@ -456,4 +456,4 @@ Learn more about the dialog location: https://ctfl.io/app-sdk-dialog`),k}return In order for the App SDK to function correctly, your app needs to be run in an iframe in the Contentful Web App, Compose or Launch. Learn more about local development with the App SDK here: -https://www.contentful.com/developers/docs/extensibility/ui-extensions/faq/#how-can-i-develop-with-the-ui-extension-sdk-locally`)}(fe),J||(J=V.promise.then(function(k){var z,W=k[0],U=k[1],$=k[2],Y=ue(W,U,fe);return typeof te=="function"&&(z=te(W,U)),$.forEach(function(oe){W._handleMessage(oe)}),[Y,z]}),V.isFulfilled||function(k){var z=_.getMessageId();k.parent.postMessage({id:z,method:"init",params:[]},"*")}(fe)),J.then(function(k){var z=k[0],W=k[1];return H(z,W)})}}(globalThis,function(fe,ue,le){return(ne[ue.location]||ae).reduce(function(J,V){return w(w({},J),V(fe,ue,le))},{})});n.init=he,n.locations=B,Object.defineProperty(n,"__esModule",{value:!0})}),globalThis.contentfulApp=globalThis.contentfulExtension})(_i,_i.exports);(function(e){var t=Wt&&Wt.__assign||function(){return t=Object.assign||function(a){for(var r,u=1,i=arguments.length;u"u")throw new Error("useAutoResizer is unavailable at this location, it can only be rendered in field, sidebar and dialog locations.");return(o=n.window).startAutoResizer.apply(o,e),n.window.stopAutoResizer},[n.window])}zs.useAutoResizer=A5;var Bs={};Object.defineProperty(Bs,"__esModule",{value:!0});Bs.useCMA=void 0;var D5=Lc.exports,j5=_e.exports,L5=Ir;function R5(){var e=(0,L5.useSDK)(),t=(0,j5.useMemo)(function(){var n;return(0,D5.createClient)({apiAdapter:e.cmaAdapter},{type:"plain",defaults:{environmentId:(n=e.ids.environmentAlias)!==null&&n!==void 0?n:e.ids.environment,spaceId:e.ids.space,organizationId:e.ids.organization}})},[e]);return t}Bs.useCMA=R5;var Us={},z5=Wt&&Wt.__awaiter||function(e,t,n,o){function s(w){return w instanceof n?w:new n(function(b){b(w)})}return new(n||(n=Promise))(function(w,b){function a(i){try{u(o.next(i))}catch(A){b(A)}}function r(i){try{u(o.throw(i))}catch(A){b(A)}}function u(i){i.done?w(i.value):s(i.value).then(a,r)}u((o=o.apply(e,t||[])).next())})},B5=Wt&&Wt.__generator||function(e,t){var n={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},o,s,w,b;return b={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(b[Symbol.iterator]=function(){return this}),b;function a(u){return function(i){return r([u,i])}}function r(u){if(o)throw new TypeError("Generator is already executing.");for(;b&&(b=0,u[0]&&(n=0)),n;)try{if(o=1,s&&(w=u[0]&2?s.return:u[0]?s.throw||((w=s.return)&&w.call(s),0):s.next)&&!(w=w.call(s,u[1])).done)return w;switch(s=0,w&&(u=[u[0]&2,w.value]),u[0]){case 0:case 1:w=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,s=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(w=n.trys,!(w=w.length>0&&w[w.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!w||u[1]>w[0]&&u[1]{(async()=>{const i=(await o.cma.contentType.get({contentTypeId:e})).fields.filter(A=>A.type==="Symbol"||A.type==="Text").reduce((A,_)=>(A[_.id]=_.name,A),{});a(i),w(!1)})()},[e]),be(Ke,{children:[G(Ke.Label,{isRequired:!0,children:"Select Slug Field"}),be(ur,{id:"addSlugField",name:"addSlugField",isRequired:!0,onChange:r=>n(r.target.value),value:t,children:[G(ur.Option,{value:"",isDisabled:!0,children:s?"Loading fields...":"Please select an option..."}),Object.keys(b).map(r=>G(ur.Option,{value:r,children:b[r]},r))]}),be(Ke.HelpText,{children:["If you don't have yet a slug field"," ",G(iv,{href:`https://app.contentful.com/spaces/${o.ids.space}/content_types/${e}/fields`,target:"_blank",children:"create a new one here!"}),"!"]}),Object.keys(b).length===0&&!s?G(Ke.ValidationMessage,{children:"You need to have a Text or Symbol field in your content model to be used as a slug."}):null]})}function H5({activeModel:e="",configuredModels:t={},onChange:n}){const o=gn.useSDK(),[s,w]=_e.exports.useState({});return _e.exports.useEffect(()=>{(async()=>{const r=(await o.cma.contentType.getMany({limit:1e3})).items.reduce((u,i)=>(u[i.sys.id]=i.name,u),{});w(r)})()},[]),be(Ke,{children:[G(Ke.Label,{isRequired:!0,children:"Select Content Model"}),be(ur,{id:"addContentModel",name:"addContentModel",isRequired:!0,value:e,onChange:b=>n(b.target.value),children:[G(ur.Option,{value:"",isDisabled:!0,children:"Please select an option..."}),Object.keys(s).filter(b=>!(t!=null&&t[b])).map(b=>G(ur.Option,{value:b,children:s[b]},b))]})]})}const $5={year:"[year]",month:"[month]",day:"[day]",id:"[id]",locale:"[locale]"},K5=({name:e,activeSlugField:t,onClick:n})=>{const o=gn.useSDK(),[s,w]=_e.exports.useState({}),[b,a]=_e.exports.useState(!0),r=async u=>{const i=[];return(await o.cma.contentType.get({contentTypeId:u})).fields.forEach(_=>{switch(_.type){case"Date":case"Symbol":i.push(_.id)}}),i};return _e.exports.useEffect(()=>{(async()=>{var I,C,D;const i={},_=(await o.cma.contentType.get({contentTypeId:e})).fields.filter(O=>O.id!==t);for(const O of _)switch(O.type){case"Date":case"Symbol":i[O.id]=`[field:${O.id}]`;break;case"Link":O.linkType==="Entry"&&((I=O.validations)==null?void 0:I.length)===1&&((D=(C=O.validations[0])==null?void 0:C.linkContentType)==null?void 0:D[0])&&(await r(O.validations[0].linkContentType[0])).forEach(m=>{i[`${O.id}${m}`]=`[field:${O.id}:${m}]`})}w({...$5,...i}),a(!1)})()},[]),b?be(kt,{paddingBottom:"spacingL",children:[G(Et,{marginRight:"spacingXs",children:"Loading..."}),G(vc,{})]}):G(go,{alignItems:"center",flexWrap:"wrap",marginBottom:"spacingL",className:Ie({gap:"0.375rem"}),children:Object.keys(s).map(u=>G(yr,{size:"small",variant:"secondary","aria-label":"Copy Token",icon:G(Ry,{size:"small"}),className:Ie({maxWidth:"420px",fontSize:"12px"}),onClick:()=>{navigator.clipboard.writeText(s[u]),n(s[u])},children:s[u]},u))})},k5=(e,t,n)=>`${e.slice(0,n)}${t}${e.slice(n)}`;function V5({model:e,patterns:t,locales:n,slugField:o="",onSave:s,onClose:w}){const b=gn.useSDK(),[a,r]=_e.exports.useState(t||{}),[u,i]=_e.exports.useState(b.locales.default),[A,_]=_e.exports.useState(0);return G(tn,{onClose:w,title:"Edit Slug Pattern",isShown:!0,size:"960px",children:()=>be(Se,{children:[G(tn.Header,{title:"Update Slug Pattern",onClose:w}),G(tn.Content,{children:be(Se,{children:[G(vd,{as:"h3",children:"Configure Pattern"}),be(Ge,{children:[G(Ge.Head,{children:be(Ge.Row,{children:[G(Ge.Cell,{children:"Locale"}),G(Ge.Cell,{children:"Slug Pattern"})]})}),G(Ge.Body,{children:n.map((I,C)=>be(Ge.Row,{children:[G(Ge.Cell,{width:200,className:Ie({fontWeight:C?"normal":"bold"}),children:b.locales.names[I]}),G(Ge.Cell,{children:G(qt,{id:`pattern-${I}`,type:"text",name:`pattern-${I}`,placeholder:"[field:title]",value:(a==null?void 0:a[I])||"",isRequired:C===0,onBlur:D=>{i(I),_(D.target.selectionStart||0)},onChange:D=>{r({...a,[I]:D.target.value})}})})]},I))})]}),G(vd,{as:"h4",marginTop:"spacingM",children:"Available Tokens"}),G(K5,{name:e,activeSlugField:o,onClick:I=>{const C=document.getElementById(`pattern-${u}`);C.setSelectionRange(A,A),r({...a,[u]:k5(C.value,I,A)})}})]})}),be(tn.Controls,{children:[G(Sn,{size:"small",variant:"transparent",onClick:w,children:"Close"}),G(Sn,{size:"small",variant:"positive",onClick:()=>s(a),children:"Save"})]})]})})}function G5({models:e,locales:t,parametersModels:n,onUpdate:o,onDelete:s}){const w=gn.useSDK();return G(An,{children:Object.entries(n||{}).map(([b,{slugField:a="",patterns:r}])=>G(An.Item,{title:e[b],titleElement:"h3",children:be(Ge,{children:[G(Ge.Head,{children:be(Ge.Row,{children:[G(Ge.Cell,{width:200,children:"Locale"}),G(Ge.Cell,{width:150,children:"Slug Field"}),G(Ge.Cell,{align:"right",children:be(Gy,{variant:"spaced",spacing:"spacingXs",children:[G(yr,{variant:"transparent",size:"small",icon:G(U1,{variant:"negative",size:"small"}),"aria-label":"Delete Slug Pattern",onClick:()=>s(b),children:"Delete"}),G(yr,{variant:"transparent",size:"small",icon:G(N1,{variant:"primary",size:"small"}),"aria-label":"Edit Slug Pattern",onClick:()=>o({id:b,slugField:a}),children:"Edit"})]})})]})}),G(Ge.Body,{children:t.map(u=>be(Ge.Row,{children:[G(Ge.Cell,{children:w.locales.names[u]}),G(Ge.Cell,{children:a}),G(Ge.Cell,{className:Ie({overflowX:"auto",maxWidth:"530px"}),children:r[u]||""})]},u))})]})},b))})}const X5=()=>{var i,A,_,I;const[e,t]=_e.exports.useState({}),n=gn.useSDK(),[o,s]=_e.exports.useReducer((C,D)=>({...C,...D}),{phase:"configModel",activeModel:"",activeSlugField:"",models:{}}),w=n.locales.available.sort((C,D)=>C===n.locales.default?-1:D===n.locales.default?1:C.localeCompare(D)),b=async()=>{var C,D,O;for(const P of Object.keys(e.models||{})){const m=await n.cma.editorInterface.get({contentTypeId:P}),v=(C=m==null?void 0:m.controls)==null?void 0:C.findIndex(S=>{var l;return S.fieldId===((l=e.models)==null?void 0:l[P].slugField)});if(v){const S=(D=m==null?void 0:m.controls)==null?void 0:D[v];m.controls&&v&&(S==null?void 0:S.fieldId)===((O=e.models)==null?void 0:O[P].slugField)&&(S==null?void 0:S.widgetId)!==n.ids.app&&(m.controls[v].widgetId=n.ids.app,m.controls[v].widgetNamespace="app",await n.cma.editorInterface.update({contentTypeId:P},{sys:m.sys,controls:m.controls}),n.notifier.success(`Updated slug field appearance settings in ${P} to use Better Slugs.`))}}},a=_e.exports.useCallback(async()=>{const C=await n.app.getCurrentState();return{parameters:e,targetState:C}},[e,n]);_e.exports.useEffect(()=>{n.app.onConfigure(async()=>(await b(),a()))},[n,a]),_e.exports.useEffect(()=>{(async()=>{const D=(await n.cma.contentType.getMany({limit:1e3})).items.reduce((P,m)=>(P[m.sys.id]=m.name,P),{}),O=await n.app.getParameters();O&&"models"in O?t(O):t({pathPrefix:"",showPathPrefix:!0,customReplacements:[],lockWhenPublished:!0,maintainCase:!1,preserveLeadingUnderscore:!1,showCopyButton:!1,showPreviewLink:!0,preserveCharacters:[],paths:{},models:{}}),s({models:D}),n.app.setReady()})()},[n]);const r=C=>{const D={...e,models:{...e.models,[o.activeModel]:{id:o.activeModel,slugField:o.activeSlugField,patterns:C}}};n.notifier.success(`Slug Pattern saved for ${o.models[o.activeModel]}`),t(D),s({phase:"configModel",activeModel:"",activeSlugField:""})},u=async C=>{var O;if(await e5.open(({isShown:P,onClose:m})=>G(Zm,{title:"Remove Slug Pattern",intent:"negative",isShown:P,onCancel:()=>{m(!1)},onConfirm:()=>{m(!0)},confirmLabel:"Yes, remove it",cancelLabel:"Cancel",children:be(Et,{children:["Do you want to remove the slug pattern for ",o.models[C],"?"]})}))){(O=e.models)==null||delete O[C];const P={...e,models:{...e.models}};n.notifier.success(`Slug Pattern removed for ${o.models[C]}`),t(P)}};return G(kt,{flexDirection:"column",className:Ie({margin:"40px 80px",maxWidth:"800px"}),children:be(HE,{children:[G(wy,{children:"Better Slugs Config"}),G(qo,{children:"In order to properly use the Better Slugs extension, you need to configure the content types and fields that you want to use. Additionally, you can configure the locale path mappings if you are using locale tokens."}),G(nt,{marginBottom:"spacingXl",children:be(An,{children:[be(An.Item,{title:"General Settings",children:[be(Ke,{children:[G(Ke.Label,{children:"Website URL"}),G(qt,{id:"path-prefix",type:"text",name:"path-prefix",placeholder:"https://www.example.com",value:e.pathPrefix||"",onChange:C=>{t({...e,pathPrefix:C.target.value})}}),G(Ke.HelpText,{children:"Leave empty if you don't want to use a website domain. It will be used to generate the preview links."})]}),be(Ke,{children:[G(Ke.Label,{children:"Custom Char Replacements"}),be(qt.Group,{spacing:"spacingS",children:[G(qt,{id:"replacement-key",type:"text",name:"path-prefix",placeholder:"char",defaultValue:"",width:100}),G(qt,{id:"replacement-value",type:"text",name:"path-prefix",placeholder:"replacement",defaultValue:"",width:100}),G(yr,{icon:G(k1,{}),"aria-label":"Add replacement",variant:"secondary",onClick:()=>{var m;const C=document.getElementById("replacement-key"),D=document.getElementById("replacement-value"),O=C.value.trim(),P=D.value.trim();O&&P&&!((m=e.customReplacements)!=null&&m.find(v=>v[0]===O))&&(t({...e,customReplacements:[...e.customReplacements||[],[O,` ${P} `]]}),C.value="",D.value="")},children:"Add"})]}),be(Ke.HelpText,{children:["You can provide custom char replacements, e.g. replace"," ",G("code",{children:'"&"'})," with ",G("code",{children:'"at"'})]}),G(go,{marginTop:"spacingS",children:(i=e.customReplacements)==null?void 0:i.map(([C,D])=>G(uv,{label:`${C} \u2192 ${D.trim()}`,onClose:()=>{var O;t({...e,customReplacements:((O=e.customReplacements)==null?void 0:O.filter(P=>C!==P[0]))||[]})}},`${C}-${D}`))})]}),be(Ke,{children:[G(Ke.Label,{children:"Show Copy Button"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.showCopyButton||!1,onChange:C=>t({...e,showCopyButton:C.target.checked}),children:e.showCopyButton?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, a button that allows to copy the slug/url into the clipboard is displayed. Should be disabled if the preview link is enabled."})]}),be(Ke,{children:[G(Ke.Label,{children:"Show Website URL (slug path prefix)"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.showPathPrefix||!1,onChange:C=>t({...e,showPathPrefix:C.target.checked}),children:e.showPathPrefix?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, the path prefix value (website url) will be displayed in same line of the slug input field."})]}),be(Ke,{children:[G(Ke.Label,{children:"Show Preview Link"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.showPreviewLink||!1,onChange:C=>t({...e,showPreviewLink:C.target.checked}),children:e.showPreviewLink?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, a preview link for the slug is displayed."})]}),be(Ke,{children:[G(Ke.Label,{children:"Lock when published"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.lockWhenPublished||!1,onChange:C=>t({...e,lockWhenPublished:C.target.checked}),children:e.lockWhenPublished?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, the slug will be locked when the entry is Published and will not automatically update."})]}),be(Ke,{children:[G(Ke.Label,{children:"Maintain Case"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.maintainCase||!1,onChange:C=>t({...e,maintainCase:C.target.checked}),children:e.maintainCase?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, the slug will be maintain the same case as the original value."})]}),be(Ke,{children:[G(Ke.Label,{children:"Preserve Leading Underscore"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.preserveLeadingUnderscore||!1,onChange:C=>t({...e,preserveLeadingUnderscore:C.target.checked}),children:e.preserveLeadingUnderscore?"Yes":"No"}),G(Ke.HelpText,{children:"Sometimes leading underscores are intentional, for example, filenames representing hidden paths on a website."})]}),be(Ke,{children:[G(Ke.Label,{children:"Preserve certain characters (Separated by comma)."}),G(qt,{id:"path-prefix",type:"text",name:"path-prefix",placeholder:"#,!,...",value:((A=e==null?void 0:e.preserveCharacters)==null?void 0:A.join(","))||"",onChange:C=>{t({...e,preserveCharacters:C.target.value.split(",")})}}),G(Ke.HelpText,{children:"For example, if you want to slugify URLs, but preserve the HTML fragment # character."})]})]}),be(An.Item,{title:"Create a Better Slugs configuration",children:[G(qo,{children:'In order to create a Better Slugs configuration you need to have a "slug" field already created in your content model.'}),G(H5,{activeModel:o.activeModel,onChange:C=>s({activeModel:C,activeSlugField:"",phase:"configField"}),configuredModels:e.models}),o.phase==="configField"&&o.activeModel&&G(F5,{activeSlugField:o.activeSlugField,model:o.activeModel,onChange:C=>s({activeSlugField:C})}),G(Sn,{variant:"positive",onClick:()=>s({phase:"configPattern"}),isDisabled:!o.activeModel||!o.activeSlugField,children:"Add and configure"})]}),G(An.Item,{title:"Better Slugs Configurations",children:G(G5,{models:o.models,locales:w,parametersModels:e.models||{},onUpdate:({id:C,slugField:D})=>s({activeModel:C,activeSlugField:D,phase:"configPattern"}),onDelete:u})}),be(An.Item,{title:"Locale Path Mappings",children:[G(qo,{children:"If using locale tokens configure the mapping between contentful locale and the slug path. (e.g. en-US: en, de-DE: de)"}),be(Ge,{children:[G(Ge.Head,{children:be(Ge.Row,{children:[G(Ge.Cell,{width:100,children:"Locale"}),G(Ge.Cell,{width:100,children:"Path"})]})}),G(Ge.Body,{children:w.map(C=>{var D;return be(Ge.Row,{children:[be(Ge.Cell,{children:[n.locales.names[C],": ",C]}),G(Ge.Cell,{children:G(qt,{id:`path-${C}`,type:"text",name:`path-${C}`,placeholder:`e.g. ${C.toLocaleLowerCase()}`,value:((D=e.paths)==null?void 0:D[C])||"",onChange:O=>{t({...e,paths:{...e.paths,[C]:O.target.value}})}})})]},C)})})]})]})]})}),o.phase==="configPattern"&&G(V5,{model:o.activeModel,slugField:o.activeSlugField,locales:w,patterns:((I=(_=e.models)==null?void 0:_[o.activeModel])==null?void 0:I.patterns)||{},onSave:r,onClose:()=>s({activeModel:"",activeSlugField:"",phase:"configModel"})})]})})};function Rc(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Y5=[["\xDF","ss"],["\u1E9E","Ss"],["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xC0","A"],["\xC1","A"],["\xC2","A"],["\xC3","A"],["\xC4","Ae"],["\xC5","A"],["\xC6","AE"],["\xC7","C"],["\xC8","E"],["\xC9","E"],["\xCA","E"],["\xCB","E"],["\xCC","I"],["\xCD","I"],["\xCE","I"],["\xCF","I"],["\xD0","D"],["\xD1","N"],["\xD2","O"],["\xD3","O"],["\xD4","O"],["\xD5","O"],["\xD6","Oe"],["\u0150","O"],["\xD8","O"],["\xD9","U"],["\xDA","U"],["\xDB","U"],["\xDC","Ue"],["\u0170","U"],["\xDD","Y"],["\xDE","TH"],["\xDF","ss"],["\xE0","a"],["\xE1","a"],["\xE2","a"],["\xE3","a"],["\xE4","ae"],["\xE5","a"],["\xE6","ae"],["\xE7","c"],["\xE8","e"],["\xE9","e"],["\xEA","e"],["\xEB","e"],["\xEC","i"],["\xED","i"],["\xEE","i"],["\xEF","i"],["\xF0","d"],["\xF1","n"],["\xF2","o"],["\xF3","o"],["\xF4","o"],["\xF5","o"],["\xF6","oe"],["\u0151","o"],["\xF8","o"],["\xF9","u"],["\xFA","u"],["\xFB","u"],["\xFC","ue"],["\u0171","u"],["\xFD","y"],["\xFE","th"],["\xFF","y"],["\u1E9E","SS"],["\xE0","a"],["\xC0","A"],["\xE1","a"],["\xC1","A"],["\xE2","a"],["\xC2","A"],["\xE3","a"],["\xC3","A"],["\xE8","e"],["\xC8","E"],["\xE9","e"],["\xC9","E"],["\xEA","e"],["\xCA","E"],["\xEC","i"],["\xCC","I"],["\xED","i"],["\xCD","I"],["\xF2","o"],["\xD2","O"],["\xF3","o"],["\xD3","O"],["\xF4","o"],["\xD4","O"],["\xF5","o"],["\xD5","O"],["\xF9","u"],["\xD9","U"],["\xFA","u"],["\xDA","U"],["\xFD","y"],["\xDD","Y"],["\u0103","a"],["\u0102","A"],["\u0110","D"],["\u0111","d"],["\u0129","i"],["\u0128","I"],["\u0169","u"],["\u0168","U"],["\u01A1","o"],["\u01A0","O"],["\u01B0","u"],["\u01AF","U"],["\u1EA1","a"],["\u1EA0","A"],["\u1EA3","a"],["\u1EA2","A"],["\u1EA5","a"],["\u1EA4","A"],["\u1EA7","a"],["\u1EA6","A"],["\u1EA9","a"],["\u1EA8","A"],["\u1EAB","a"],["\u1EAA","A"],["\u1EAD","a"],["\u1EAC","A"],["\u1EAF","a"],["\u1EAE","A"],["\u1EB1","a"],["\u1EB0","A"],["\u1EB3","a"],["\u1EB2","A"],["\u1EB5","a"],["\u1EB4","A"],["\u1EB7","a"],["\u1EB6","A"],["\u1EB9","e"],["\u1EB8","E"],["\u1EBB","e"],["\u1EBA","E"],["\u1EBD","e"],["\u1EBC","E"],["\u1EBF","e"],["\u1EBE","E"],["\u1EC1","e"],["\u1EC0","E"],["\u1EC3","e"],["\u1EC2","E"],["\u1EC5","e"],["\u1EC4","E"],["\u1EC7","e"],["\u1EC6","E"],["\u1EC9","i"],["\u1EC8","I"],["\u1ECB","i"],["\u1ECA","I"],["\u1ECD","o"],["\u1ECC","O"],["\u1ECF","o"],["\u1ECE","O"],["\u1ED1","o"],["\u1ED0","O"],["\u1ED3","o"],["\u1ED2","O"],["\u1ED5","o"],["\u1ED4","O"],["\u1ED7","o"],["\u1ED6","O"],["\u1ED9","o"],["\u1ED8","O"],["\u1EDB","o"],["\u1EDA","O"],["\u1EDD","o"],["\u1EDC","O"],["\u1EDF","o"],["\u1EDE","O"],["\u1EE1","o"],["\u1EE0","O"],["\u1EE3","o"],["\u1EE2","O"],["\u1EE5","u"],["\u1EE4","U"],["\u1EE7","u"],["\u1EE6","U"],["\u1EE9","u"],["\u1EE8","U"],["\u1EEB","u"],["\u1EEA","U"],["\u1EED","u"],["\u1EEC","U"],["\u1EEF","u"],["\u1EEE","U"],["\u1EF1","u"],["\u1EF0","U"],["\u1EF3","y"],["\u1EF2","Y"],["\u1EF5","y"],["\u1EF4","Y"],["\u1EF7","y"],["\u1EF6","Y"],["\u1EF9","y"],["\u1EF8","Y"],["\u0621","e"],["\u0622","a"],["\u0623","a"],["\u0624","w"],["\u0625","i"],["\u0626","y"],["\u0627","a"],["\u0628","b"],["\u0629","t"],["\u062A","t"],["\u062B","th"],["\u062C","j"],["\u062D","h"],["\u062E","kh"],["\u062F","d"],["\u0630","dh"],["\u0631","r"],["\u0632","z"],["\u0633","s"],["\u0634","sh"],["\u0635","s"],["\u0636","d"],["\u0637","t"],["\u0638","z"],["\u0639","e"],["\u063A","gh"],["\u0640","_"],["\u0641","f"],["\u0642","q"],["\u0643","k"],["\u0644","l"],["\u0645","m"],["\u0646","n"],["\u0647","h"],["\u0648","w"],["\u0649","a"],["\u064A","y"],["\u064E\u200E","a"],["\u064F","u"],["\u0650\u200E","i"],["\u0660","0"],["\u0661","1"],["\u0662","2"],["\u0663","3"],["\u0664","4"],["\u0665","5"],["\u0666","6"],["\u0667","7"],["\u0668","8"],["\u0669","9"],["\u0686","ch"],["\u06A9","k"],["\u06AF","g"],["\u067E","p"],["\u0698","zh"],["\u06CC","y"],["\u06F0","0"],["\u06F1","1"],["\u06F2","2"],["\u06F3","3"],["\u06F4","4"],["\u06F5","5"],["\u06F6","6"],["\u06F7","7"],["\u06F8","8"],["\u06F9","9"],["\u067C","p"],["\u0681","z"],["\u0685","c"],["\u0689","d"],["\uFEAB","d"],["\uFEAD","r"],["\u0693","r"],["\uFEAF","z"],["\u0696","g"],["\u069A","x"],["\u06AB","g"],["\u06BC","n"],["\u06C0","e"],["\u06D0","e"],["\u06CD","ai"],["\u0679","t"],["\u0688","d"],["\u0691","r"],["\u06BA","n"],["\u06C1","h"],["\u06BE","h"],["\u06D2","e"],["\u0410","A"],["\u0430","a"],["\u0411","B"],["\u0431","b"],["\u0412","V"],["\u0432","v"],["\u0413","G"],["\u0433","g"],["\u0414","D"],["\u0434","d"],["\u044A\u0435","ye"],["\u042A\u0435","Ye"],["\u044A\u0415","yE"],["\u042A\u0415","YE"],["\u0415","E"],["\u0435","e"],["\u0401","Yo"],["\u0451","yo"],["\u0416","Zh"],["\u0436","zh"],["\u0417","Z"],["\u0437","z"],["\u0418","I"],["\u0438","i"],["\u044B\u0439","iy"],["\u042B\u0439","Iy"],["\u042B\u0419","IY"],["\u044B\u0419","iY"],["\u0419","Y"],["\u0439","y"],["\u041A","K"],["\u043A","k"],["\u041B","L"],["\u043B","l"],["\u041C","M"],["\u043C","m"],["\u041D","N"],["\u043D","n"],["\u041E","O"],["\u043E","o"],["\u041F","P"],["\u043F","p"],["\u0420","R"],["\u0440","r"],["\u0421","S"],["\u0441","s"],["\u0422","T"],["\u0442","t"],["\u0423","U"],["\u0443","u"],["\u0424","F"],["\u0444","f"],["\u0425","Kh"],["\u0445","kh"],["\u0426","Ts"],["\u0446","ts"],["\u0427","Ch"],["\u0447","ch"],["\u0428","Sh"],["\u0448","sh"],["\u0429","Sch"],["\u0449","sch"],["\u042A",""],["\u044A",""],["\u042B","Y"],["\u044B","y"],["\u042C",""],["\u044C",""],["\u042D","E"],["\u044D","e"],["\u042E","Yu"],["\u044E","yu"],["\u042F","Ya"],["\u044F","ya"],["\u0103","a"],["\u0102","A"],["\u0219","s"],["\u0218","S"],["\u021B","t"],["\u021A","T"],["\u0163","t"],["\u0162","T"],["\u015F","s"],["\u015E","S"],["\xE7","c"],["\xC7","C"],["\u011F","g"],["\u011E","G"],["\u0131","i"],["\u0130","I"],["\u0561","a"],["\u0531","A"],["\u0562","b"],["\u0532","B"],["\u0563","g"],["\u0533","G"],["\u0564","d"],["\u0534","D"],["\u0565","ye"],["\u0535","Ye"],["\u0566","z"],["\u0536","Z"],["\u0567","e"],["\u0537","E"],["\u0568","y"],["\u0538","Y"],["\u0569","t"],["\u0539","T"],["\u056A","zh"],["\u053A","Zh"],["\u056B","i"],["\u053B","I"],["\u056C","l"],["\u053C","L"],["\u056D","kh"],["\u053D","Kh"],["\u056E","ts"],["\u053E","Ts"],["\u056F","k"],["\u053F","K"],["\u0570","h"],["\u0540","H"],["\u0571","dz"],["\u0541","Dz"],["\u0572","gh"],["\u0542","Gh"],["\u0573","tch"],["\u0543","Tch"],["\u0574","m"],["\u0544","M"],["\u0575","y"],["\u0545","Y"],["\u0576","n"],["\u0546","N"],["\u0577","sh"],["\u0547","Sh"],["\u0578","vo"],["\u0548","Vo"],["\u0579","ch"],["\u0549","Ch"],["\u057A","p"],["\u054A","P"],["\u057B","j"],["\u054B","J"],["\u057C","r"],["\u054C","R"],["\u057D","s"],["\u054D","S"],["\u057E","v"],["\u054E","V"],["\u057F","t"],["\u054F","T"],["\u0580","r"],["\u0550","R"],["\u0581","c"],["\u0551","C"],["\u0578\u0582","u"],["\u0548\u0552","U"],["\u0548\u0582","U"],["\u0583","p"],["\u0553","P"],["\u0584","q"],["\u0554","Q"],["\u0585","o"],["\u0555","O"],["\u0586","f"],["\u0556","F"],["\u0587","yev"],["\u10D0","a"],["\u10D1","b"],["\u10D2","g"],["\u10D3","d"],["\u10D4","e"],["\u10D5","v"],["\u10D6","z"],["\u10D7","t"],["\u10D8","i"],["\u10D9","k"],["\u10DA","l"],["\u10DB","m"],["\u10DC","n"],["\u10DD","o"],["\u10DE","p"],["\u10DF","zh"],["\u10E0","r"],["\u10E1","s"],["\u10E2","t"],["\u10E3","u"],["\u10E4","ph"],["\u10E5","q"],["\u10E6","gh"],["\u10E7","k"],["\u10E8","sh"],["\u10E9","ch"],["\u10EA","ts"],["\u10EB","dz"],["\u10EC","ts"],["\u10ED","tch"],["\u10EE","kh"],["\u10EF","j"],["\u10F0","h"],["\u010D","c"],["\u010F","d"],["\u011B","e"],["\u0148","n"],["\u0159","r"],["\u0161","s"],["\u0165","t"],["\u016F","u"],["\u017E","z"],["\u010C","C"],["\u010E","D"],["\u011A","E"],["\u0147","N"],["\u0158","R"],["\u0160","S"],["\u0164","T"],["\u016E","U"],["\u017D","Z"],["\u0780","h"],["\u0781","sh"],["\u0782","n"],["\u0783","r"],["\u0784","b"],["\u0785","lh"],["\u0786","k"],["\u0787","a"],["\u0788","v"],["\u0789","m"],["\u078A","f"],["\u078B","dh"],["\u078C","th"],["\u078D","l"],["\u078E","g"],["\u078F","gn"],["\u0790","s"],["\u0791","d"],["\u0792","z"],["\u0793","t"],["\u0794","y"],["\u0795","p"],["\u0796","j"],["\u0797","ch"],["\u0798","tt"],["\u0799","hh"],["\u079A","kh"],["\u079B","th"],["\u079C","z"],["\u079D","sh"],["\u079E","s"],["\u079F","d"],["\u07A0","t"],["\u07A1","z"],["\u07A2","a"],["\u07A3","gh"],["\u07A4","q"],["\u07A5","w"],["\u07A6","a"],["\u07A7","aa"],["\u07A8","i"],["\u07A9","ee"],["\u07AA","u"],["\u07AB","oo"],["\u07AC","e"],["\u07AD","ey"],["\u07AE","o"],["\u07AF","oa"],["\u07B0",""],["\u03B1","a"],["\u03B2","v"],["\u03B3","g"],["\u03B4","d"],["\u03B5","e"],["\u03B6","z"],["\u03B7","i"],["\u03B8","th"],["\u03B9","i"],["\u03BA","k"],["\u03BB","l"],["\u03BC","m"],["\u03BD","n"],["\u03BE","ks"],["\u03BF","o"],["\u03C0","p"],["\u03C1","r"],["\u03C3","s"],["\u03C4","t"],["\u03C5","y"],["\u03C6","f"],["\u03C7","x"],["\u03C8","ps"],["\u03C9","o"],["\u03AC","a"],["\u03AD","e"],["\u03AF","i"],["\u03CC","o"],["\u03CD","y"],["\u03AE","i"],["\u03CE","o"],["\u03C2","s"],["\u03CA","i"],["\u03B0","y"],["\u03CB","y"],["\u0390","i"],["\u0391","A"],["\u0392","B"],["\u0393","G"],["\u0394","D"],["\u0395","E"],["\u0396","Z"],["\u0397","I"],["\u0398","TH"],["\u0399","I"],["\u039A","K"],["\u039B","L"],["\u039C","M"],["\u039D","N"],["\u039E","KS"],["\u039F","O"],["\u03A0","P"],["\u03A1","R"],["\u03A3","S"],["\u03A4","T"],["\u03A5","Y"],["\u03A6","F"],["\u03A7","X"],["\u03A8","PS"],["\u03A9","O"],["\u0386","A"],["\u0388","E"],["\u038A","I"],["\u038C","O"],["\u038E","Y"],["\u0389","I"],["\u038F","O"],["\u03AA","I"],["\u03AB","Y"],["\u0101","a"],["\u0113","e"],["\u0123","g"],["\u012B","i"],["\u0137","k"],["\u013C","l"],["\u0146","n"],["\u016B","u"],["\u0100","A"],["\u0112","E"],["\u0122","G"],["\u012A","I"],["\u0136","K"],["\u013B","L"],["\u0145","N"],["\u016A","U"],["\u010D","c"],["\u0161","s"],["\u017E","z"],["\u010C","C"],["\u0160","S"],["\u017D","Z"],["\u0105","a"],["\u010D","c"],["\u0119","e"],["\u0117","e"],["\u012F","i"],["\u0161","s"],["\u0173","u"],["\u016B","u"],["\u017E","z"],["\u0104","A"],["\u010C","C"],["\u0118","E"],["\u0116","E"],["\u012E","I"],["\u0160","S"],["\u0172","U"],["\u016A","U"],["\u040C","Kj"],["\u045C","kj"],["\u0409","Lj"],["\u0459","lj"],["\u040A","Nj"],["\u045A","nj"],["\u0422\u0441","Ts"],["\u0442\u0441","ts"],["\u0105","a"],["\u0107","c"],["\u0119","e"],["\u0142","l"],["\u0144","n"],["\u015B","s"],["\u017A","z"],["\u017C","z"],["\u0104","A"],["\u0106","C"],["\u0118","E"],["\u0141","L"],["\u0143","N"],["\u015A","S"],["\u0179","Z"],["\u017B","Z"],["\u0404","Ye"],["\u0406","I"],["\u0407","Yi"],["\u0490","G"],["\u0454","ye"],["\u0456","i"],["\u0457","yi"],["\u0491","g"],["\u0132","IJ"],["\u0133","ij"],["\xA2","c"],["\xA5","Y"],["\u07FF","b"],["\u09F3","t"],["\u0AF1","Bo"],["\u0E3F","B"],["\u20A0","CE"],["\u20A1","C"],["\u20A2","Cr"],["\u20A3","F"],["\u20A5","m"],["\u20A6","N"],["\u20A7","Pt"],["\u20A8","Rs"],["\u20A9","W"],["\u20AB","s"],["\u20AC","E"],["\u20AD","K"],["\u20AE","T"],["\u20AF","Dp"],["\u20B0","S"],["\u20B1","P"],["\u20B2","G"],["\u20B3","A"],["\u20B4","S"],["\u20B5","C"],["\u20B6","tt"],["\u20B7","S"],["\u20B8","T"],["\u20B9","R"],["\u20BA","L"],["\u20BD","P"],["\u20BF","B"],["\uFE69","$"],["\uFFE0","c"],["\uFFE5","Y"],["\uFFE6","W"],["\u{1D400}","A"],["\u{1D401}","B"],["\u{1D402}","C"],["\u{1D403}","D"],["\u{1D404}","E"],["\u{1D405}","F"],["\u{1D406}","G"],["\u{1D407}","H"],["\u{1D408}","I"],["\u{1D409}","J"],["\u{1D40A}","K"],["\u{1D40B}","L"],["\u{1D40C}","M"],["\u{1D40D}","N"],["\u{1D40E}","O"],["\u{1D40F}","P"],["\u{1D410}","Q"],["\u{1D411}","R"],["\u{1D412}","S"],["\u{1D413}","T"],["\u{1D414}","U"],["\u{1D415}","V"],["\u{1D416}","W"],["\u{1D417}","X"],["\u{1D418}","Y"],["\u{1D419}","Z"],["\u{1D41A}","a"],["\u{1D41B}","b"],["\u{1D41C}","c"],["\u{1D41D}","d"],["\u{1D41E}","e"],["\u{1D41F}","f"],["\u{1D420}","g"],["\u{1D421}","h"],["\u{1D422}","i"],["\u{1D423}","j"],["\u{1D424}","k"],["\u{1D425}","l"],["\u{1D426}","m"],["\u{1D427}","n"],["\u{1D428}","o"],["\u{1D429}","p"],["\u{1D42A}","q"],["\u{1D42B}","r"],["\u{1D42C}","s"],["\u{1D42D}","t"],["\u{1D42E}","u"],["\u{1D42F}","v"],["\u{1D430}","w"],["\u{1D431}","x"],["\u{1D432}","y"],["\u{1D433}","z"],["\u{1D434}","A"],["\u{1D435}","B"],["\u{1D436}","C"],["\u{1D437}","D"],["\u{1D438}","E"],["\u{1D439}","F"],["\u{1D43A}","G"],["\u{1D43B}","H"],["\u{1D43C}","I"],["\u{1D43D}","J"],["\u{1D43E}","K"],["\u{1D43F}","L"],["\u{1D440}","M"],["\u{1D441}","N"],["\u{1D442}","O"],["\u{1D443}","P"],["\u{1D444}","Q"],["\u{1D445}","R"],["\u{1D446}","S"],["\u{1D447}","T"],["\u{1D448}","U"],["\u{1D449}","V"],["\u{1D44A}","W"],["\u{1D44B}","X"],["\u{1D44C}","Y"],["\u{1D44D}","Z"],["\u{1D44E}","a"],["\u{1D44F}","b"],["\u{1D450}","c"],["\u{1D451}","d"],["\u{1D452}","e"],["\u{1D453}","f"],["\u{1D454}","g"],["\u{1D456}","i"],["\u{1D457}","j"],["\u{1D458}","k"],["\u{1D459}","l"],["\u{1D45A}","m"],["\u{1D45B}","n"],["\u{1D45C}","o"],["\u{1D45D}","p"],["\u{1D45E}","q"],["\u{1D45F}","r"],["\u{1D460}","s"],["\u{1D461}","t"],["\u{1D462}","u"],["\u{1D463}","v"],["\u{1D464}","w"],["\u{1D465}","x"],["\u{1D466}","y"],["\u{1D467}","z"],["\u{1D468}","A"],["\u{1D469}","B"],["\u{1D46A}","C"],["\u{1D46B}","D"],["\u{1D46C}","E"],["\u{1D46D}","F"],["\u{1D46E}","G"],["\u{1D46F}","H"],["\u{1D470}","I"],["\u{1D471}","J"],["\u{1D472}","K"],["\u{1D473}","L"],["\u{1D474}","M"],["\u{1D475}","N"],["\u{1D476}","O"],["\u{1D477}","P"],["\u{1D478}","Q"],["\u{1D479}","R"],["\u{1D47A}","S"],["\u{1D47B}","T"],["\u{1D47C}","U"],["\u{1D47D}","V"],["\u{1D47E}","W"],["\u{1D47F}","X"],["\u{1D480}","Y"],["\u{1D481}","Z"],["\u{1D482}","a"],["\u{1D483}","b"],["\u{1D484}","c"],["\u{1D485}","d"],["\u{1D486}","e"],["\u{1D487}","f"],["\u{1D488}","g"],["\u{1D489}","h"],["\u{1D48A}","i"],["\u{1D48B}","j"],["\u{1D48C}","k"],["\u{1D48D}","l"],["\u{1D48E}","m"],["\u{1D48F}","n"],["\u{1D490}","o"],["\u{1D491}","p"],["\u{1D492}","q"],["\u{1D493}","r"],["\u{1D494}","s"],["\u{1D495}","t"],["\u{1D496}","u"],["\u{1D497}","v"],["\u{1D498}","w"],["\u{1D499}","x"],["\u{1D49A}","y"],["\u{1D49B}","z"],["\u{1D49C}","A"],["\u{1D49E}","C"],["\u{1D49F}","D"],["\u{1D4A2}","g"],["\u{1D4A5}","J"],["\u{1D4A6}","K"],["\u{1D4A9}","N"],["\u{1D4AA}","O"],["\u{1D4AB}","P"],["\u{1D4AC}","Q"],["\u{1D4AE}","S"],["\u{1D4AF}","T"],["\u{1D4B0}","U"],["\u{1D4B1}","V"],["\u{1D4B2}","W"],["\u{1D4B3}","X"],["\u{1D4B4}","Y"],["\u{1D4B5}","Z"],["\u{1D4B6}","a"],["\u{1D4B7}","b"],["\u{1D4B8}","c"],["\u{1D4B9}","d"],["\u{1D4BB}","f"],["\u{1D4BD}","h"],["\u{1D4BE}","i"],["\u{1D4BF}","j"],["\u{1D4C0}","h"],["\u{1D4C1}","l"],["\u{1D4C2}","m"],["\u{1D4C3}","n"],["\u{1D4C5}","p"],["\u{1D4C6}","q"],["\u{1D4C7}","r"],["\u{1D4C8}","s"],["\u{1D4C9}","t"],["\u{1D4CA}","u"],["\u{1D4CB}","v"],["\u{1D4CC}","w"],["\u{1D4CD}","x"],["\u{1D4CE}","y"],["\u{1D4CF}","z"],["\u{1D4D0}","A"],["\u{1D4D1}","B"],["\u{1D4D2}","C"],["\u{1D4D3}","D"],["\u{1D4D4}","E"],["\u{1D4D5}","F"],["\u{1D4D6}","G"],["\u{1D4D7}","H"],["\u{1D4D8}","I"],["\u{1D4D9}","J"],["\u{1D4DA}","K"],["\u{1D4DB}","L"],["\u{1D4DC}","M"],["\u{1D4DD}","N"],["\u{1D4DE}","O"],["\u{1D4DF}","P"],["\u{1D4E0}","Q"],["\u{1D4E1}","R"],["\u{1D4E2}","S"],["\u{1D4E3}","T"],["\u{1D4E4}","U"],["\u{1D4E5}","V"],["\u{1D4E6}","W"],["\u{1D4E7}","X"],["\u{1D4E8}","Y"],["\u{1D4E9}","Z"],["\u{1D4EA}","a"],["\u{1D4EB}","b"],["\u{1D4EC}","c"],["\u{1D4ED}","d"],["\u{1D4EE}","e"],["\u{1D4EF}","f"],["\u{1D4F0}","g"],["\u{1D4F1}","h"],["\u{1D4F2}","i"],["\u{1D4F3}","j"],["\u{1D4F4}","k"],["\u{1D4F5}","l"],["\u{1D4F6}","m"],["\u{1D4F7}","n"],["\u{1D4F8}","o"],["\u{1D4F9}","p"],["\u{1D4FA}","q"],["\u{1D4FB}","r"],["\u{1D4FC}","s"],["\u{1D4FD}","t"],["\u{1D4FE}","u"],["\u{1D4FF}","v"],["\u{1D500}","w"],["\u{1D501}","x"],["\u{1D502}","y"],["\u{1D503}","z"],["\u{1D504}","A"],["\u{1D505}","B"],["\u{1D507}","D"],["\u{1D508}","E"],["\u{1D509}","F"],["\u{1D50A}","G"],["\u{1D50D}","J"],["\u{1D50E}","K"],["\u{1D50F}","L"],["\u{1D510}","M"],["\u{1D511}","N"],["\u{1D512}","O"],["\u{1D513}","P"],["\u{1D514}","Q"],["\u{1D516}","S"],["\u{1D517}","T"],["\u{1D518}","U"],["\u{1D519}","V"],["\u{1D51A}","W"],["\u{1D51B}","X"],["\u{1D51C}","Y"],["\u{1D51E}","a"],["\u{1D51F}","b"],["\u{1D520}","c"],["\u{1D521}","d"],["\u{1D522}","e"],["\u{1D523}","f"],["\u{1D524}","g"],["\u{1D525}","h"],["\u{1D526}","i"],["\u{1D527}","j"],["\u{1D528}","k"],["\u{1D529}","l"],["\u{1D52A}","m"],["\u{1D52B}","n"],["\u{1D52C}","o"],["\u{1D52D}","p"],["\u{1D52E}","q"],["\u{1D52F}","r"],["\u{1D530}","s"],["\u{1D531}","t"],["\u{1D532}","u"],["\u{1D533}","v"],["\u{1D534}","w"],["\u{1D535}","x"],["\u{1D536}","y"],["\u{1D537}","z"],["\u{1D538}","A"],["\u{1D539}","B"],["\u{1D53B}","D"],["\u{1D53C}","E"],["\u{1D53D}","F"],["\u{1D53E}","G"],["\u{1D540}","I"],["\u{1D541}","J"],["\u{1D542}","K"],["\u{1D543}","L"],["\u{1D544}","M"],["\u{1D546}","N"],["\u{1D54A}","S"],["\u{1D54B}","T"],["\u{1D54C}","U"],["\u{1D54D}","V"],["\u{1D54E}","W"],["\u{1D54F}","X"],["\u{1D550}","Y"],["\u{1D552}","a"],["\u{1D553}","b"],["\u{1D554}","c"],["\u{1D555}","d"],["\u{1D556}","e"],["\u{1D557}","f"],["\u{1D558}","g"],["\u{1D559}","h"],["\u{1D55A}","i"],["\u{1D55B}","j"],["\u{1D55C}","k"],["\u{1D55D}","l"],["\u{1D55E}","m"],["\u{1D55F}","n"],["\u{1D560}","o"],["\u{1D561}","p"],["\u{1D562}","q"],["\u{1D563}","r"],["\u{1D564}","s"],["\u{1D565}","t"],["\u{1D566}","u"],["\u{1D567}","v"],["\u{1D568}","w"],["\u{1D569}","x"],["\u{1D56A}","y"],["\u{1D56B}","z"],["\u{1D56C}","A"],["\u{1D56D}","B"],["\u{1D56E}","C"],["\u{1D56F}","D"],["\u{1D570}","E"],["\u{1D571}","F"],["\u{1D572}","G"],["\u{1D573}","H"],["\u{1D574}","I"],["\u{1D575}","J"],["\u{1D576}","K"],["\u{1D577}","L"],["\u{1D578}","M"],["\u{1D579}","N"],["\u{1D57A}","O"],["\u{1D57B}","P"],["\u{1D57C}","Q"],["\u{1D57D}","R"],["\u{1D57E}","S"],["\u{1D57F}","T"],["\u{1D580}","U"],["\u{1D581}","V"],["\u{1D582}","W"],["\u{1D583}","X"],["\u{1D584}","Y"],["\u{1D585}","Z"],["\u{1D586}","a"],["\u{1D587}","b"],["\u{1D588}","c"],["\u{1D589}","d"],["\u{1D58A}","e"],["\u{1D58B}","f"],["\u{1D58C}","g"],["\u{1D58D}","h"],["\u{1D58E}","i"],["\u{1D58F}","j"],["\u{1D590}","k"],["\u{1D591}","l"],["\u{1D592}","m"],["\u{1D593}","n"],["\u{1D594}","o"],["\u{1D595}","p"],["\u{1D596}","q"],["\u{1D597}","r"],["\u{1D598}","s"],["\u{1D599}","t"],["\u{1D59A}","u"],["\u{1D59B}","v"],["\u{1D59C}","w"],["\u{1D59D}","x"],["\u{1D59E}","y"],["\u{1D59F}","z"],["\u{1D5A0}","A"],["\u{1D5A1}","B"],["\u{1D5A2}","C"],["\u{1D5A3}","D"],["\u{1D5A4}","E"],["\u{1D5A5}","F"],["\u{1D5A6}","G"],["\u{1D5A7}","H"],["\u{1D5A8}","I"],["\u{1D5A9}","J"],["\u{1D5AA}","K"],["\u{1D5AB}","L"],["\u{1D5AC}","M"],["\u{1D5AD}","N"],["\u{1D5AE}","O"],["\u{1D5AF}","P"],["\u{1D5B0}","Q"],["\u{1D5B1}","R"],["\u{1D5B2}","S"],["\u{1D5B3}","T"],["\u{1D5B4}","U"],["\u{1D5B5}","V"],["\u{1D5B6}","W"],["\u{1D5B7}","X"],["\u{1D5B8}","Y"],["\u{1D5B9}","Z"],["\u{1D5BA}","a"],["\u{1D5BB}","b"],["\u{1D5BC}","c"],["\u{1D5BD}","d"],["\u{1D5BE}","e"],["\u{1D5BF}","f"],["\u{1D5C0}","g"],["\u{1D5C1}","h"],["\u{1D5C2}","i"],["\u{1D5C3}","j"],["\u{1D5C4}","k"],["\u{1D5C5}","l"],["\u{1D5C6}","m"],["\u{1D5C7}","n"],["\u{1D5C8}","o"],["\u{1D5C9}","p"],["\u{1D5CA}","q"],["\u{1D5CB}","r"],["\u{1D5CC}","s"],["\u{1D5CD}","t"],["\u{1D5CE}","u"],["\u{1D5CF}","v"],["\u{1D5D0}","w"],["\u{1D5D1}","x"],["\u{1D5D2}","y"],["\u{1D5D3}","z"],["\u{1D5D4}","A"],["\u{1D5D5}","B"],["\u{1D5D6}","C"],["\u{1D5D7}","D"],["\u{1D5D8}","E"],["\u{1D5D9}","F"],["\u{1D5DA}","G"],["\u{1D5DB}","H"],["\u{1D5DC}","I"],["\u{1D5DD}","J"],["\u{1D5DE}","K"],["\u{1D5DF}","L"],["\u{1D5E0}","M"],["\u{1D5E1}","N"],["\u{1D5E2}","O"],["\u{1D5E3}","P"],["\u{1D5E4}","Q"],["\u{1D5E5}","R"],["\u{1D5E6}","S"],["\u{1D5E7}","T"],["\u{1D5E8}","U"],["\u{1D5E9}","V"],["\u{1D5EA}","W"],["\u{1D5EB}","X"],["\u{1D5EC}","Y"],["\u{1D5ED}","Z"],["\u{1D5EE}","a"],["\u{1D5EF}","b"],["\u{1D5F0}","c"],["\u{1D5F1}","d"],["\u{1D5F2}","e"],["\u{1D5F3}","f"],["\u{1D5F4}","g"],["\u{1D5F5}","h"],["\u{1D5F6}","i"],["\u{1D5F7}","j"],["\u{1D5F8}","k"],["\u{1D5F9}","l"],["\u{1D5FA}","m"],["\u{1D5FB}","n"],["\u{1D5FC}","o"],["\u{1D5FD}","p"],["\u{1D5FE}","q"],["\u{1D5FF}","r"],["\u{1D600}","s"],["\u{1D601}","t"],["\u{1D602}","u"],["\u{1D603}","v"],["\u{1D604}","w"],["\u{1D605}","x"],["\u{1D606}","y"],["\u{1D607}","z"],["\u{1D608}","A"],["\u{1D609}","B"],["\u{1D60A}","C"],["\u{1D60B}","D"],["\u{1D60C}","E"],["\u{1D60D}","F"],["\u{1D60E}","G"],["\u{1D60F}","H"],["\u{1D610}","I"],["\u{1D611}","J"],["\u{1D612}","K"],["\u{1D613}","L"],["\u{1D614}","M"],["\u{1D615}","N"],["\u{1D616}","O"],["\u{1D617}","P"],["\u{1D618}","Q"],["\u{1D619}","R"],["\u{1D61A}","S"],["\u{1D61B}","T"],["\u{1D61C}","U"],["\u{1D61D}","V"],["\u{1D61E}","W"],["\u{1D61F}","X"],["\u{1D620}","Y"],["\u{1D621}","Z"],["\u{1D622}","a"],["\u{1D623}","b"],["\u{1D624}","c"],["\u{1D625}","d"],["\u{1D626}","e"],["\u{1D627}","f"],["\u{1D628}","g"],["\u{1D629}","h"],["\u{1D62A}","i"],["\u{1D62B}","j"],["\u{1D62C}","k"],["\u{1D62D}","l"],["\u{1D62E}","m"],["\u{1D62F}","n"],["\u{1D630}","o"],["\u{1D631}","p"],["\u{1D632}","q"],["\u{1D633}","r"],["\u{1D634}","s"],["\u{1D635}","t"],["\u{1D636}","u"],["\u{1D637}","v"],["\u{1D638}","w"],["\u{1D639}","x"],["\u{1D63A}","y"],["\u{1D63B}","z"],["\u{1D63C}","A"],["\u{1D63D}","B"],["\u{1D63E}","C"],["\u{1D63F}","D"],["\u{1D640}","E"],["\u{1D641}","F"],["\u{1D642}","G"],["\u{1D643}","H"],["\u{1D644}","I"],["\u{1D645}","J"],["\u{1D646}","K"],["\u{1D647}","L"],["\u{1D648}","M"],["\u{1D649}","N"],["\u{1D64A}","O"],["\u{1D64B}","P"],["\u{1D64C}","Q"],["\u{1D64D}","R"],["\u{1D64E}","S"],["\u{1D64F}","T"],["\u{1D650}","U"],["\u{1D651}","V"],["\u{1D652}","W"],["\u{1D653}","X"],["\u{1D654}","Y"],["\u{1D655}","Z"],["\u{1D656}","a"],["\u{1D657}","b"],["\u{1D658}","c"],["\u{1D659}","d"],["\u{1D65A}","e"],["\u{1D65B}","f"],["\u{1D65C}","g"],["\u{1D65D}","h"],["\u{1D65E}","i"],["\u{1D65F}","j"],["\u{1D660}","k"],["\u{1D661}","l"],["\u{1D662}","m"],["\u{1D663}","n"],["\u{1D664}","o"],["\u{1D665}","p"],["\u{1D666}","q"],["\u{1D667}","r"],["\u{1D668}","s"],["\u{1D669}","t"],["\u{1D66A}","u"],["\u{1D66B}","v"],["\u{1D66C}","w"],["\u{1D66D}","x"],["\u{1D66E}","y"],["\u{1D66F}","z"],["\u{1D670}","A"],["\u{1D671}","B"],["\u{1D672}","C"],["\u{1D673}","D"],["\u{1D674}","E"],["\u{1D675}","F"],["\u{1D676}","G"],["\u{1D677}","H"],["\u{1D678}","I"],["\u{1D679}","J"],["\u{1D67A}","K"],["\u{1D67B}","L"],["\u{1D67C}","M"],["\u{1D67D}","N"],["\u{1D67E}","O"],["\u{1D67F}","P"],["\u{1D680}","Q"],["\u{1D681}","R"],["\u{1D682}","S"],["\u{1D683}","T"],["\u{1D684}","U"],["\u{1D685}","V"],["\u{1D686}","W"],["\u{1D687}","X"],["\u{1D688}","Y"],["\u{1D689}","Z"],["\u{1D68A}","a"],["\u{1D68B}","b"],["\u{1D68C}","c"],["\u{1D68D}","d"],["\u{1D68E}","e"],["\u{1D68F}","f"],["\u{1D690}","g"],["\u{1D691}","h"],["\u{1D692}","i"],["\u{1D693}","j"],["\u{1D694}","k"],["\u{1D695}","l"],["\u{1D696}","m"],["\u{1D697}","n"],["\u{1D698}","o"],["\u{1D699}","p"],["\u{1D69A}","q"],["\u{1D69B}","r"],["\u{1D69C}","s"],["\u{1D69D}","t"],["\u{1D69E}","u"],["\u{1D69F}","v"],["\u{1D6A0}","w"],["\u{1D6A1}","x"],["\u{1D6A2}","y"],["\u{1D6A3}","z"],["\u{1D6A4}","l"],["\u{1D6A5}","j"],["\u{1D6E2}","A"],["\u{1D6E3}","B"],["\u{1D6E4}","G"],["\u{1D6E5}","D"],["\u{1D6E6}","E"],["\u{1D6E7}","Z"],["\u{1D6E8}","I"],["\u{1D6E9}","TH"],["\u{1D6EA}","I"],["\u{1D6EB}","K"],["\u{1D6EC}","L"],["\u{1D6ED}","M"],["\u{1D6EE}","N"],["\u{1D6EF}","KS"],["\u{1D6F0}","O"],["\u{1D6F1}","P"],["\u{1D6F2}","R"],["\u{1D6F3}","TH"],["\u{1D6F4}","S"],["\u{1D6F5}","T"],["\u{1D6F6}","Y"],["\u{1D6F7}","F"],["\u{1D6F8}","x"],["\u{1D6F9}","PS"],["\u{1D6FA}","O"],["\u{1D6FB}","D"],["\u{1D6FC}","a"],["\u{1D6FD}","b"],["\u{1D6FE}","g"],["\u{1D6FF}","d"],["\u{1D700}","e"],["\u{1D701}","z"],["\u{1D702}","i"],["\u{1D703}","th"],["\u{1D704}","i"],["\u{1D705}","k"],["\u{1D706}","l"],["\u{1D707}","m"],["\u{1D708}","n"],["\u{1D709}","ks"],["\u{1D70A}","o"],["\u{1D70B}","p"],["\u{1D70C}","r"],["\u{1D70D}","s"],["\u{1D70E}","s"],["\u{1D70F}","t"],["\u{1D710}","y"],["\u{1D711}","f"],["\u{1D712}","x"],["\u{1D713}","ps"],["\u{1D714}","o"],["\u{1D715}","d"],["\u{1D716}","E"],["\u{1D717}","TH"],["\u{1D718}","K"],["\u{1D719}","f"],["\u{1D71A}","r"],["\u{1D71B}","p"],["\u{1D71C}","A"],["\u{1D71D}","V"],["\u{1D71E}","G"],["\u{1D71F}","D"],["\u{1D720}","E"],["\u{1D721}","Z"],["\u{1D722}","I"],["\u{1D723}","TH"],["\u{1D724}","I"],["\u{1D725}","K"],["\u{1D726}","L"],["\u{1D727}","M"],["\u{1D728}","N"],["\u{1D729}","KS"],["\u{1D72A}","O"],["\u{1D72B}","P"],["\u{1D72C}","S"],["\u{1D72D}","TH"],["\u{1D72E}","S"],["\u{1D72F}","T"],["\u{1D730}","Y"],["\u{1D731}","F"],["\u{1D732}","X"],["\u{1D733}","PS"],["\u{1D734}","O"],["\u{1D735}","D"],["\u{1D736}","a"],["\u{1D737}","v"],["\u{1D738}","g"],["\u{1D739}","d"],["\u{1D73A}","e"],["\u{1D73B}","z"],["\u{1D73C}","i"],["\u{1D73D}","th"],["\u{1D73E}","i"],["\u{1D73F}","k"],["\u{1D740}","l"],["\u{1D741}","m"],["\u{1D742}","n"],["\u{1D743}","ks"],["\u{1D744}","o"],["\u{1D745}","p"],["\u{1D746}","r"],["\u{1D747}","s"],["\u{1D748}","s"],["\u{1D749}","t"],["\u{1D74A}","y"],["\u{1D74B}","f"],["\u{1D74C}","x"],["\u{1D74D}","ps"],["\u{1D74E}","o"],["\u{1D74F}","a"],["\u{1D750}","e"],["\u{1D751}","i"],["\u{1D752}","k"],["\u{1D753}","f"],["\u{1D754}","r"],["\u{1D755}","p"],["\u{1D756}","A"],["\u{1D757}","B"],["\u{1D758}","G"],["\u{1D759}","D"],["\u{1D75A}","E"],["\u{1D75B}","Z"],["\u{1D75C}","I"],["\u{1D75D}","TH"],["\u{1D75E}","I"],["\u{1D75F}","K"],["\u{1D760}","L"],["\u{1D761}","M"],["\u{1D762}","N"],["\u{1D763}","KS"],["\u{1D764}","O"],["\u{1D765}","P"],["\u{1D766}","R"],["\u{1D767}","TH"],["\u{1D768}","S"],["\u{1D769}","T"],["\u{1D76A}","Y"],["\u{1D76B}","F"],["\u{1D76C}","X"],["\u{1D76D}","PS"],["\u{1D76E}","O"],["\u{1D76F}","D"],["\u{1D770}","a"],["\u{1D771}","v"],["\u{1D772}","g"],["\u{1D773}","d"],["\u{1D774}","e"],["\u{1D775}","z"],["\u{1D776}","i"],["\u{1D777}","th"],["\u{1D778}","i"],["\u{1D779}","k"],["\u{1D77A}","l"],["\u{1D77B}","m"],["\u{1D77C}","n"],["\u{1D77D}","ks"],["\u{1D77E}","o"],["\u{1D77F}","p"],["\u{1D780}","r"],["\u{1D781}","s"],["\u{1D782}","s"],["\u{1D783}","t"],["\u{1D784}","y"],["\u{1D785}","f"],["\u{1D786}","x"],["\u{1D787}","ps"],["\u{1D788}","o"],["\u{1D789}","a"],["\u{1D78A}","e"],["\u{1D78B}","i"],["\u{1D78C}","k"],["\u{1D78D}","f"],["\u{1D78E}","r"],["\u{1D78F}","p"],["\u{1D790}","A"],["\u{1D791}","V"],["\u{1D792}","G"],["\u{1D793}","D"],["\u{1D794}","E"],["\u{1D795}","Z"],["\u{1D796}","I"],["\u{1D797}","TH"],["\u{1D798}","I"],["\u{1D799}","K"],["\u{1D79A}","L"],["\u{1D79B}","M"],["\u{1D79C}","N"],["\u{1D79D}","KS"],["\u{1D79E}","O"],["\u{1D79F}","P"],["\u{1D7A0}","S"],["\u{1D7A1}","TH"],["\u{1D7A2}","S"],["\u{1D7A3}","T"],["\u{1D7A4}","Y"],["\u{1D7A5}","F"],["\u{1D7A6}","X"],["\u{1D7A7}","PS"],["\u{1D7A8}","O"],["\u{1D7A9}","D"],["\u{1D7AA}","av"],["\u{1D7AB}","g"],["\u{1D7AC}","d"],["\u{1D7AD}","e"],["\u{1D7AE}","z"],["\u{1D7AF}","i"],["\u{1D7B0}","i"],["\u{1D7B1}","th"],["\u{1D7B2}","i"],["\u{1D7B3}","k"],["\u{1D7B4}","l"],["\u{1D7B5}","m"],["\u{1D7B6}","n"],["\u{1D7B7}","ks"],["\u{1D7B8}","o"],["\u{1D7B9}","p"],["\u{1D7BA}","r"],["\u{1D7BB}","s"],["\u{1D7BC}","s"],["\u{1D7BD}","t"],["\u{1D7BE}","y"],["\u{1D7BF}","f"],["\u{1D7C0}","x"],["\u{1D7C1}","ps"],["\u{1D7C2}","o"],["\u{1D7C3}","a"],["\u{1D7C4}","e"],["\u{1D7C5}","i"],["\u{1D7C6}","k"],["\u{1D7C7}","f"],["\u{1D7C8}","r"],["\u{1D7C9}","p"],["\u{1D7CA}","F"],["\u{1D7CB}","f"],["\u249C","(a)"],["\u249D","(b)"],["\u249E","(c)"],["\u249F","(d)"],["\u24A0","(e)"],["\u24A1","(f)"],["\u24A2","(g)"],["\u24A3","(h)"],["\u24A4","(i)"],["\u24A5","(j)"],["\u24A6","(k)"],["\u24A7","(l)"],["\u24A8","(m)"],["\u24A9","(n)"],["\u24AA","(o)"],["\u24AB","(p)"],["\u24AC","(q)"],["\u24AD","(r)"],["\u24AE","(s)"],["\u24AF","(t)"],["\u24B0","(u)"],["\u24B1","(v)"],["\u24B2","(w)"],["\u24B3","(x)"],["\u24B4","(y)"],["\u24B5","(z)"],["\u24B6","(A)"],["\u24B7","(B)"],["\u24B8","(C)"],["\u24B9","(D)"],["\u24BA","(E)"],["\u24BB","(F)"],["\u24BC","(G)"],["\u24BD","(H)"],["\u24BE","(I)"],["\u24BF","(J)"],["\u24C0","(K)"],["\u24C1","(L)"],["\u24C3","(N)"],["\u24C4","(O)"],["\u24C5","(P)"],["\u24C6","(Q)"],["\u24C7","(R)"],["\u24C8","(S)"],["\u24C9","(T)"],["\u24CA","(U)"],["\u24CB","(V)"],["\u24CC","(W)"],["\u24CD","(X)"],["\u24CE","(Y)"],["\u24CF","(Z)"],["\u24D0","(a)"],["\u24D1","(b)"],["\u24D2","(b)"],["\u24D3","(c)"],["\u24D4","(e)"],["\u24D5","(f)"],["\u24D6","(g)"],["\u24D7","(h)"],["\u24D8","(i)"],["\u24D9","(j)"],["\u24DA","(k)"],["\u24DB","(l)"],["\u24DC","(m)"],["\u24DD","(n)"],["\u24DE","(o)"],["\u24DF","(p)"],["\u24E0","(q)"],["\u24E1","(r)"],["\u24E2","(s)"],["\u24E3","(t)"],["\u24E4","(u)"],["\u24E5","(v)"],["\u24E6","(w)"],["\u24E7","(x)"],["\u24E8","(y)"],["\u24E9","(z)"],["\u010A","C"],["\u010B","c"],["\u0120","G"],["\u0121","g"],["\u0126","H"],["\u0127","h"],["\u017B","Z"],["\u017C","z"],["\u{1D7CE}","0"],["\u{1D7CF}","1"],["\u{1D7D0}","2"],["\u{1D7D1}","3"],["\u{1D7D2}","4"],["\u{1D7D3}","5"],["\u{1D7D4}","6"],["\u{1D7D5}","7"],["\u{1D7D6}","8"],["\u{1D7D7}","9"],["\u{1D7D8}","0"],["\u{1D7D9}","1"],["\u{1D7DA}","2"],["\u{1D7DB}","3"],["\u{1D7DC}","4"],["\u{1D7DD}","5"],["\u{1D7DE}","6"],["\u{1D7DF}","7"],["\u{1D7E0}","8"],["\u{1D7E1}","9"],["\u{1D7E2}","0"],["\u{1D7E3}","1"],["\u{1D7E4}","2"],["\u{1D7E5}","3"],["\u{1D7E6}","4"],["\u{1D7E7}","5"],["\u{1D7E8}","6"],["\u{1D7E9}","7"],["\u{1D7EA}","8"],["\u{1D7EB}","9"],["\u{1D7EC}","0"],["\u{1D7ED}","1"],["\u{1D7EE}","2"],["\u{1D7EF}","3"],["\u{1D7F0}","4"],["\u{1D7F1}","5"],["\u{1D7F2}","6"],["\u{1D7F3}","7"],["\u{1D7F4}","8"],["\u{1D7F5}","9"],["\u{1D7F6}","0"],["\u{1D7F7}","1"],["\u{1D7F8}","2"],["\u{1D7F9}","3"],["\u{1D7FA}","4"],["\u{1D7FB}","5"],["\u{1D7FC}","6"],["\u{1D7FD}","7"],["\u{1D7FE}","8"],["\u{1D7FF}","9"],["\u2460","1"],["\u2461","2"],["\u2462","3"],["\u2463","4"],["\u2464","5"],["\u2465","6"],["\u2466","7"],["\u2467","8"],["\u2468","9"],["\u2469","10"],["\u246A","11"],["\u246B","12"],["\u246C","13"],["\u246D","14"],["\u246E","15"],["\u246F","16"],["\u2470","17"],["\u2471","18"],["\u2472","19"],["\u2473","20"],["\u2474","1"],["\u2475","2"],["\u2476","3"],["\u2477","4"],["\u2478","5"],["\u2479","6"],["\u247A","7"],["\u247B","8"],["\u247C","9"],["\u247D","10"],["\u247E","11"],["\u247F","12"],["\u2480","13"],["\u2481","14"],["\u2482","15"],["\u2483","16"],["\u2484","17"],["\u2485","18"],["\u2486","19"],["\u2487","20"],["\u2488","1."],["\u2489","2."],["\u248A","3."],["\u248B","4."],["\u248C","5."],["\u248D","6."],["\u248E","7."],["\u248F","8."],["\u2490","9."],["\u2491","10."],["\u2492","11."],["\u2493","12."],["\u2494","13."],["\u2495","14."],["\u2496","15."],["\u2497","16."],["\u2498","17."],["\u2499","18."],["\u249A","19."],["\u249B","20."],["\u24EA","0"],["\u24EB","11"],["\u24EC","12"],["\u24ED","13"],["\u24EE","14"],["\u24EF","15"],["\u24F0","16"],["\u24F1","17"],["\u24F2","18"],["\u24F3","19"],["\u24F4","20"],["\u24F5","1"],["\u24F6","2"],["\u24F7","3"],["\u24F8","4"],["\u24F9","5"],["\u24FA","6"],["\u24FB","7"],["\u24FC","8"],["\u24FD","9"],["\u24FE","10"],["\u24FF","0"],["\u{1F670}","&"],["\u{1F671}","&"],["\u{1F672}","&"],["\u{1F673}","&"],["\u{1F674}","&"],["\u{1F675}","&"],["\u{1F676}",'"'],["\u{1F677}",'"'],["\u{1F678}",'"'],["\u203D","?!"],["\u{1F679}","?!"],["\u{1F67A}","?!"],["\u{1F67B}","?!"],["\u{1F67C}","/"],["\u{1F67D}","\\"],["\u{1F707}","AR"],["\u{1F708}","V"],["\u{1F709}","V"],["\u{1F706}","VR"],["\u{1F705}","VF"],["\u{1F729}","2"],["\u{1F72A}","5"],["\u{1F761}","f"],["\u{1F762}","W"],["\u{1F763}","U"],["\u{1F767}","V"],["\u{1F768}","T"],["\u{1F76A}","V"],["\u{1F76B}","MB"],["\u{1F76C}","VB"],["\u{1F772}","3B"],["\u{1F773}","3B"],["\u{1F4AF}","100"],["\u{1F519}","BACK"],["\u{1F51A}","END"],["\u{1F51B}","ON!"],["\u{1F51C}","SOON"],["\u{1F51D}","TOP"],["\u{1F51E}","18"],["\u{1F524}","abc"],["\u{1F520}","ABCD"],["\u{1F521}","abcd"],["\u{1F522}","1234"],["\u{1F523}","T&@%"],["#\uFE0F\u20E3","#"],["*\uFE0F\u20E3","*"],["0\uFE0F\u20E3","0"],["1\uFE0F\u20E3","1"],["2\uFE0F\u20E3","2"],["3\uFE0F\u20E3","3"],["4\uFE0F\u20E3","4"],["5\uFE0F\u20E3","5"],["6\uFE0F\u20E3","6"],["7\uFE0F\u20E3","7"],["8\uFE0F\u20E3","8"],["9\uFE0F\u20E3","9"],["\u{1F51F}","10"],["\u{1F170}\uFE0F","A"],["\u{1F171}\uFE0F","B"],["\u{1F18E}","AB"],["\u{1F191}","CL"],["\u{1F17E}\uFE0F","O"],["\u{1F17F}","P"],["\u{1F198}","SOS"],["\u{1F172}","C"],["\u{1F173}","D"],["\u{1F174}","E"],["\u{1F175}","F"],["\u{1F176}","G"],["\u{1F177}","H"],["\u{1F178}","I"],["\u{1F179}","J"],["\u{1F17A}","K"],["\u{1F17B}","L"],["\u{1F17C}","M"],["\u{1F17D}","N"],["\u{1F180}","Q"],["\u{1F181}","R"],["\u{1F182}","S"],["\u{1F183}","T"],["\u{1F184}","U"],["\u{1F185}","V"],["\u{1F186}","W"],["\u{1F187}","X"],["\u{1F188}","Y"],["\u{1F189}","Z"]],Z5=(e,t)=>{for(const[n,o]of t)e=e.replace(new RegExp(Rc(n),"g"),o);return e};function Q5(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const n=new Map([...Y5,...t.customReplacements]);return e=e.normalize(),e=Z5(e,n),e=e.normalize("NFD").replace(/\p{Diacritic}/gu,"").normalize(),e}const J5=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]],q5=e=>e.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),eP=(e,t)=>{const n=Rc(t);return e.replace(new RegExp(`${n}{2,}`,"g"),t).replace(new RegExp(`^${n}|${n}$`,"g"),"")},tP=e=>{let t="a-z\\d";if(t+=e.lowercase?"":"A-Z",e.preserveCharacters.length>0)for(const n of e.preserveCharacters){if(n===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=Rc(n)}return new RegExp(`[^${t}]+`,"g")};function vl(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],...t};const n=t.preserveLeadingUnderscore&&e.startsWith("_"),o=t.preserveTrailingDash&&e.endsWith("-"),s=new Map([...J5,...t.customReplacements]);e=Q5(e,{customReplacements:s}),t.decamelize&&(e=q5(e));const w=tP(t);return t.lowercase&&(e=e.toLowerCase()),e=e.replace(/([a-zA-Z\d]+)'([ts])(\s|$)/g,"$1$2$3"),e=e.replace(w,t.separator),e=e.replace(/\\/g,""),t.separator&&(e=eP(e,t.separator)),n&&(e=`_${e}`),o&&(e=`${e}-`),e}const nP=()=>{var R,Q,re,ae,ne;const e=gn.useSDK(),t=_e.exports.useRef(!1),n=_e.exports.useRef(null),o=_e.exports.useRef(!1),[s,w]=_e.exports.useState(e.field.getValue()||""),b=e.field.locale,a=e.locales.available,r=e.locales.default,u=(R=e.contentType.fields.find(q=>q.id===e.field.id))==null?void 0:R.localized,{paths:i,models:A,pathPrefix:_="",showPathPrefix:I=!0,lockWhenPublished:C=!1,maintainCase:D=!1,preserveLeadingUnderscore:O=!1,showCopyButton:P=!1,showPreviewLink:m=!0,customReplacements:v=[],preserveCharacters:S=[]}=e.parameters.installation,{showWebsiteUrl:l=!0,showPreviewUrl:M=!0}=e.parameters.instance,p={preserveLeadingUnderscore:O,customReplacements:v,preserveCharacters:[...S,"/"],lowercase:!D},d=i[b]||i[r],g=((re=(Q=A[e.ids.contentType])==null?void 0:Q.patterns)==null?void 0:re[b])||((ne=(ae=A[e.ids.contentType])==null?void 0:ae.patterns)==null?void 0:ne[r]);let y=g.match(/\[.*?\]|[^:\[\]]+|:/g)||[];y=y.map(q=>q.startsWith("[")&&q.endsWith("]")?q.slice(1,-1):q);const c=[];y==null||y.forEach(q=>{q.startsWith("field:")&&c.push(q.replace("field:",""))}),_e.exports.useEffect(()=>{e.window.startAutoResizer();const q=[];for(const se of c){const ce=se.split(":"),me=ce.length===1?se:ce[0];if(me in e.entry.fields){const he=e.entry.fields[me].locales;for(const fe of he){const ue=e.entry.fields[me].onValueChanged(fe,()=>{t.current&&clearInterval(t.current),t.current=setTimeout(()=>{if(u)for(const le of a)T(le);else T(fe)},500)});q.push(ue)}}}return window.setTimeout(()=>{o.current=!0},1e3),e.field&&(n.current=e.field.onValueChanged(h)),()=>{t.current&&clearInterval(t.current),n.current&&n.current();for(const se of q)se==null||se()}},[]);const h=q=>{o.current&&w(q)},E=async(q,se,ce)=>{var J;const me=e.locales.default;if(!e.entry.fields[q])return"";const he=(J=e.entry.fields[q])!=null&&J.locales.includes(ce)?ce:me,fe=e.entry.fields[q].getValue(he);if(!fe||!fe.sys||!fe.sys.id)return"";const ue=await e.cma.entry.get({entryId:fe.sys.id}),{fields:le}=ue;return!le||!Object.prototype.hasOwnProperty.call(le,se)?"":Object.prototype.hasOwnProperty.call(le[se],ce)?le[se][ce]:Object.prototype.hasOwnProperty.call(le[se],me)?le[se][me]:""},f=()=>{const q=e.entry.getSys(),se=!!q.publishedVersion&&q.version==q.publishedVersion+1,ce=!!q.publishedVersion&&q.version>=q.publishedVersion+2;return se||ce},T=async(q,se=!1)=>{if(!o.current||e.field.locale!==q||!se&&C&&f())return;const ce=e.locales.default,me=[];for(const he of y)if(he.startsWith("field:")){const fe=he.split(":");let ue="",le="";fe.length===2?(e.entry.fields[fe[1]]!==void 0&&(e.entry.fields[fe[1]].locales.includes(q)?ue=e.entry.fields[fe[1]].getValue(q):ue=e.entry.fields[fe[1]].getValue(ce)),le=vl(ue,p)):(ue=await E(fe[1],fe[2],q)||"",le=vl(ue,p)),me.push(le)}else he==="locale"?d&&me.push(d):he==="year"?me.push(new Date().getFullYear().toString()):he==="month"?me.push(new Date().toLocaleString(void 0,{month:"2-digit"})):he==="day"?me.push(new Date().toLocaleString(void 0,{day:"2-digit"})):he==="id"?me.push(e.entry.getSys().id):he!=="/"&&me.push(he);e.entry.fields[e.field.id].setValue(me.join("/").replace(/\/\//g,"/").replace(/\/$/,"").replace(/\/-\//g,"-").replace(/\/:\//g,":"),q)},B=async q=>{const se=q.currentTarget.value.split("-").map(ce=>vl(ce,p)).join("-");w(se),se?await e.field.setValue(se):await e.field.removeValue()};return g?be(go,{flexDirection:"column",alignItems:"flex-start",children:[be(qt.Group,{children:[(I||l)&&(_==null?void 0:_.length)>0&&G(qt,{"aria-label":"Slug",id:"slug-prefix",isDisabled:!0,value:_,className:Ie({fontSize:Z.fontSizeS,maxWidth:"175px"})}),G(qt,{"aria-label":"Slug",id:e.field.id,value:s||"",onChange:B,isRequired:!0}),G(yr,{variant:"secondary",icon:G(B1,{}),onClick:()=>T(b,!0),"aria-label":"Reset slug value"}),P&&G(yr,{variant:"secondary",icon:G(Ry,{}),onClick:()=>navigator.clipboard.writeText(`${_}/${s}`),"aria-label":"Copy slug value to clipboard"})]}),(m||M)&&(_==null?void 0:_.length)>0&&s&&G(iv,{href:`${_}/${s}`,target:"_blank",className:Ie({fontSize:Z.fontSizeS,marginTop:-10}),icon:G($1,{size:"tiny"}),alignIcon:"end",children:`${_}/${s}`})]}):G(tv,{title:"App not configured!",style:{maxWidth:"800px"},variant:"warning",children:"No slug pattern found for this content type. Please add a new slug pattern in the app configuration."})},rP={[_i.exports.locations.LOCATION_APP_CONFIG]:X5,[_i.exports.locations.LOCATION_ENTRY_FIELD]:nP},oP=()=>{const e=gn.useSDK(),t=_e.exports.useMemo(()=>{for(const[n,o]of Object.entries(rP))if(e.location.is(n))return o},[e.location]);return t?G(t,{}):null},iP=document.getElementById("root");uo.exports.render(be(gn.SDKProvider,{children:[G(U0,{}),G(oP,{})]}),iP); +https://www.contentful.com/developers/docs/extensibility/ui-extensions/faq/#how-can-i-develop-with-the-ui-extension-sdk-locally`)}(fe),J||(J=V.promise.then(function(k){var z,W=k[0],U=k[1],$=k[2],Y=ue(W,U,fe);return typeof te=="function"&&(z=te(W,U)),$.forEach(function(oe){W._handleMessage(oe)}),[Y,z]}),V.isFulfilled||function(k){var z=_.getMessageId();k.parent.postMessage({id:z,method:"init",params:[]},"*")}(fe)),J.then(function(k){var z=k[0],W=k[1];return H(z,W)})}}(globalThis,function(fe,ue,le){return(ne[ue.location]||ae).reduce(function(J,V){return w(w({},J),V(fe,ue,le))},{})});n.init=he,n.locations=B,Object.defineProperty(n,"__esModule",{value:!0})}),globalThis.contentfulApp=globalThis.contentfulExtension})(_i,_i.exports);(function(e){var t=Wt&&Wt.__assign||function(){return t=Object.assign||function(a){for(var r,u=1,i=arguments.length;u"u")throw new Error("useAutoResizer is unavailable at this location, it can only be rendered in field, sidebar and dialog locations.");return(o=n.window).startAutoResizer.apply(o,e),n.window.stopAutoResizer},[n.window])}zs.useAutoResizer=A5;var Bs={};Object.defineProperty(Bs,"__esModule",{value:!0});Bs.useCMA=void 0;var D5=Lc.exports,j5=_e.exports,L5=Ir;function R5(){var e=(0,L5.useSDK)(),t=(0,j5.useMemo)(function(){var n;return(0,D5.createClient)({apiAdapter:e.cmaAdapter},{type:"plain",defaults:{environmentId:(n=e.ids.environmentAlias)!==null&&n!==void 0?n:e.ids.environment,spaceId:e.ids.space,organizationId:e.ids.organization}})},[e]);return t}Bs.useCMA=R5;var Us={},z5=Wt&&Wt.__awaiter||function(e,t,n,o){function s(w){return w instanceof n?w:new n(function(b){b(w)})}return new(n||(n=Promise))(function(w,b){function a(i){try{u(o.next(i))}catch(A){b(A)}}function r(i){try{u(o.throw(i))}catch(A){b(A)}}function u(i){i.done?w(i.value):s(i.value).then(a,r)}u((o=o.apply(e,t||[])).next())})},B5=Wt&&Wt.__generator||function(e,t){var n={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},o,s,w,b;return b={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(b[Symbol.iterator]=function(){return this}),b;function a(u){return function(i){return r([u,i])}}function r(u){if(o)throw new TypeError("Generator is already executing.");for(;b&&(b=0,u[0]&&(n=0)),n;)try{if(o=1,s&&(w=u[0]&2?s.return:u[0]?s.throw||((w=s.return)&&w.call(s),0):s.next)&&!(w=w.call(s,u[1])).done)return w;switch(s=0,w&&(u=[u[0]&2,w.value]),u[0]){case 0:case 1:w=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,s=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(w=n.trys,!(w=w.length>0&&w[w.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!w||u[1]>w[0]&&u[1]{(async()=>{const i=(await o.cma.contentType.get({contentTypeId:e})).fields.filter(A=>A.type==="Symbol"||A.type==="Text").reduce((A,_)=>(A[_.id]=_.name,A),{});a(i),w(!1)})()},[e]),be(Ke,{children:[G(Ke.Label,{isRequired:!0,children:"Select Slug Field"}),be(ur,{id:"addSlugField",name:"addSlugField",isRequired:!0,onChange:r=>n(r.target.value),value:t,children:[G(ur.Option,{value:"",isDisabled:!0,children:s?"Loading fields...":"Please select an option..."}),Object.keys(b).map(r=>G(ur.Option,{value:r,children:b[r]},r))]}),be(Ke.HelpText,{children:["If you don't have yet a slug field"," ",G(iv,{href:`https://app.contentful.com/spaces/${o.ids.space}/content_types/${e}/fields`,target:"_blank",children:"create a new one here!"}),"!"]}),Object.keys(b).length===0&&!s?G(Ke.ValidationMessage,{children:"You need to have a Text or Symbol field in your content model to be used as a slug."}):null]})}function H5({activeModel:e="",configuredModels:t={},onChange:n}){const o=gn.useSDK(),[s,w]=_e.exports.useState({});return _e.exports.useEffect(()=>{(async()=>{const r=(await o.cma.contentType.getMany({limit:1e3})).items.reduce((u,i)=>(u[i.sys.id]=i.name,u),{});w(r)})()},[]),be(Ke,{children:[G(Ke.Label,{isRequired:!0,children:"Select Content Model"}),be(ur,{id:"addContentModel",name:"addContentModel",isRequired:!0,value:e,onChange:b=>n(b.target.value),children:[G(ur.Option,{value:"",isDisabled:!0,children:"Please select an option..."}),Object.keys(s).filter(b=>!(t!=null&&t[b])).map(b=>G(ur.Option,{value:b,children:s[b]},b))]})]})}const $5={year:"[year]",month:"[month]",day:"[day]",id:"[id]",locale:"[locale]"},K5=({name:e,activeSlugField:t,onClick:n})=>{const o=gn.useSDK(),[s,w]=_e.exports.useState({}),[b,a]=_e.exports.useState(!0),r=async u=>{const i=[];return(await o.cma.contentType.get({contentTypeId:u})).fields.forEach(_=>{switch(_.type){case"Date":case"Symbol":i.push(_.id)}}),i};return _e.exports.useEffect(()=>{(async()=>{var I,C,D;const i={},_=(await o.cma.contentType.get({contentTypeId:e})).fields.filter(O=>O.id!==t);for(const O of _)switch(O.type){case"Date":case"Symbol":i[O.id]=`[field:${O.id}]`;break;case"Link":O.linkType==="Entry"&&((I=O.validations)==null?void 0:I.length)===1&&((D=(C=O.validations[0])==null?void 0:C.linkContentType)==null?void 0:D[0])&&(await r(O.validations[0].linkContentType[0])).forEach(m=>{i[`${O.id}${m}`]=`[field:${O.id}:${m}]`})}w({...$5,...i}),a(!1)})()},[]),b?be(kt,{paddingBottom:"spacingL",children:[G(Et,{marginRight:"spacingXs",children:"Loading..."}),G(vc,{})]}):G(go,{alignItems:"center",flexWrap:"wrap",marginBottom:"spacingL",className:Ie({gap:"0.375rem"}),children:Object.keys(s).map(u=>G(yr,{size:"small",variant:"secondary","aria-label":"Copy Token",icon:G(Ry,{size:"small"}),className:Ie({maxWidth:"420px",fontSize:"12px"}),onClick:()=>{navigator.clipboard.writeText(s[u]),n(s[u])},children:s[u]},u))})},k5=(e,t,n)=>`${e.slice(0,n)}${t}${e.slice(n)}`;function V5({model:e,patterns:t,locales:n,slugField:o="",onSave:s,onClose:w}){const b=gn.useSDK(),[a,r]=_e.exports.useState(t||{}),[u,i]=_e.exports.useState(b.locales.default),[A,_]=_e.exports.useState(0);return G(tn,{onClose:w,title:"Edit Slug Pattern",isShown:!0,size:"960px",children:()=>be(Se,{children:[G(tn.Header,{title:"Update Slug Pattern",onClose:w}),G(tn.Content,{children:be(Se,{children:[G(vd,{as:"h3",children:"Configure Pattern"}),be(Ge,{children:[G(Ge.Head,{children:be(Ge.Row,{children:[G(Ge.Cell,{children:"Locale"}),G(Ge.Cell,{children:"Slug Pattern"})]})}),G(Ge.Body,{children:n.map((I,C)=>be(Ge.Row,{children:[G(Ge.Cell,{width:200,className:Ie({fontWeight:C?"normal":"bold"}),children:b.locales.names[I]}),G(Ge.Cell,{children:G(qt,{id:`pattern-${I}`,type:"text",name:`pattern-${I}`,placeholder:"[field:title]",value:(a==null?void 0:a[I])||"",isRequired:C===0,onBlur:D=>{i(I),_(D.target.selectionStart||0)},onChange:D=>{r({...a,[I]:D.target.value})}})})]},I))})]}),G(vd,{as:"h4",marginTop:"spacingM",children:"Available Tokens"}),G(K5,{name:e,activeSlugField:o,onClick:I=>{const C=document.getElementById(`pattern-${u}`);C.setSelectionRange(A,A),r({...a,[u]:k5(C.value,I,A)})}})]})}),be(tn.Controls,{children:[G(Sn,{size:"small",variant:"transparent",onClick:w,children:"Close"}),G(Sn,{size:"small",variant:"positive",onClick:()=>s(a),children:"Save"})]})]})})}function G5({models:e,locales:t,parametersModels:n,onUpdate:o,onDelete:s}){const w=gn.useSDK();return G(An,{children:Object.entries(n||{}).map(([b,{slugField:a="",patterns:r}])=>G(An.Item,{title:e[b],titleElement:"h3",children:be(Ge,{children:[G(Ge.Head,{children:be(Ge.Row,{children:[G(Ge.Cell,{width:200,children:"Locale"}),G(Ge.Cell,{width:150,children:"Slug Field"}),G(Ge.Cell,{align:"right",children:be(Gy,{variant:"spaced",spacing:"spacingXs",children:[G(yr,{variant:"transparent",size:"small",icon:G(U1,{variant:"negative",size:"small"}),"aria-label":"Delete Slug Pattern",onClick:()=>s(b),children:"Delete"}),G(yr,{variant:"transparent",size:"small",icon:G(N1,{variant:"primary",size:"small"}),"aria-label":"Edit Slug Pattern",onClick:()=>o({id:b,slugField:a}),children:"Edit"})]})})]})}),G(Ge.Body,{children:t.map(u=>be(Ge.Row,{children:[G(Ge.Cell,{children:w.locales.names[u]}),G(Ge.Cell,{children:a}),G(Ge.Cell,{className:Ie({overflowX:"auto",maxWidth:"530px"}),children:r[u]||""})]},u))})]})},b))})}const X5=()=>{var i,A,_,I;const[e,t]=_e.exports.useState({}),n=gn.useSDK(),[o,s]=_e.exports.useReducer((C,D)=>({...C,...D}),{phase:"configModel",activeModel:"",activeSlugField:"",models:{}}),w=n.locales.available.sort((C,D)=>C===n.locales.default?-1:D===n.locales.default?1:C.localeCompare(D)),b=async()=>{var C,D,O;for(const P of Object.keys(e.models||{})){const m=await n.cma.editorInterface.get({contentTypeId:P}),v=(C=m==null?void 0:m.controls)==null?void 0:C.findIndex(S=>{var l;return S.fieldId===((l=e.models)==null?void 0:l[P].slugField)});if(v){const S=(D=m==null?void 0:m.controls)==null?void 0:D[v];m.controls&&v&&(S==null?void 0:S.fieldId)===((O=e.models)==null?void 0:O[P].slugField)&&(S==null?void 0:S.widgetId)!==n.ids.app&&(m.controls[v].widgetId=n.ids.app,m.controls[v].widgetNamespace="app",await n.cma.editorInterface.update({contentTypeId:P},{sys:m.sys,controls:m.controls}),n.notifier.success(`Updated slug field appearance settings in ${P} to use Better Slugs.`))}}},a=_e.exports.useCallback(async()=>{const C=await n.app.getCurrentState();return{parameters:e,targetState:C}},[e,n]);_e.exports.useEffect(()=>{n.app.onConfigure(async()=>(await b(),a()))},[n,a]),_e.exports.useEffect(()=>{(async()=>{const D=(await n.cma.contentType.getMany({limit:1e3})).items.reduce((P,m)=>(P[m.sys.id]=m.name,P),{}),O=await n.app.getParameters();O&&"models"in O?t(O):t({pathPrefix:"",showPathPrefix:!0,customReplacements:[],lockWhenPublished:!0,maintainCase:!1,preserveLeadingUnderscore:!1,showCopyButton:!1,showPreviewLink:!0,preserveCharacters:[],paths:{},models:{}}),s({models:D}),n.app.setReady()})()},[n]);const r=C=>{const D={...e,models:{...e.models,[o.activeModel]:{id:o.activeModel,slugField:o.activeSlugField,patterns:C}}};n.notifier.success(`Slug Pattern saved for ${o.models[o.activeModel]}`),t(D),s({phase:"configModel",activeModel:"",activeSlugField:""})},u=async C=>{var O;if(await e5.open(({isShown:P,onClose:m})=>G(Zm,{title:"Remove Slug Pattern",intent:"negative",isShown:P,onCancel:()=>{m(!1)},onConfirm:()=>{m(!0)},confirmLabel:"Yes, remove it",cancelLabel:"Cancel",children:be(Et,{children:["Do you want to remove the slug pattern for ",o.models[C],"?"]})}))){(O=e.models)==null||delete O[C];const P={...e,models:{...e.models}};n.notifier.success(`Slug Pattern removed for ${o.models[C]}`),t(P)}};return G(kt,{flexDirection:"column",className:Ie({margin:"40px 80px",maxWidth:"800px"}),children:be(HE,{children:[G(wy,{children:"Better Slugs Config"}),G(qo,{children:"In order to properly use the Better Slugs extension, you need to configure the content types and fields that you want to use. Additionally, you can configure the locale path mappings if you are using locale tokens."}),G(nt,{marginBottom:"spacingXl",children:be(An,{children:[be(An.Item,{title:"General Settings",children:[be(Ke,{children:[G(Ke.Label,{children:"Website URL"}),G(qt,{id:"path-prefix",type:"text",name:"path-prefix",placeholder:"https://www.example.com",value:e.pathPrefix||"",onChange:C=>{t({...e,pathPrefix:C.target.value})}}),G(Ke.HelpText,{children:"Leave empty if you don't want to use a website domain. It will be used to generate the preview links."})]}),be(Ke,{children:[G(Ke.Label,{children:"Custom Char Replacements"}),be(qt.Group,{spacing:"spacingS",children:[G(qt,{id:"replacement-key",type:"text",name:"path-prefix",placeholder:"char",defaultValue:"",width:100}),G(qt,{id:"replacement-value",type:"text",name:"path-prefix",placeholder:"replacement",defaultValue:"",width:100}),G(yr,{icon:G(k1,{}),"aria-label":"Add replacement",variant:"secondary",onClick:()=>{var m;const C=document.getElementById("replacement-key"),D=document.getElementById("replacement-value"),O=C.value.trim(),P=D.value.trim();O&&P&&!((m=e.customReplacements)!=null&&m.find(v=>v[0]===O))&&(t({...e,customReplacements:[...e.customReplacements||[],[O,` ${P} `]]}),C.value="",D.value="")},children:"Add"})]}),be(Ke.HelpText,{children:["You can provide custom char replacements, e.g. replace"," ",G("code",{children:'"&"'})," with ",G("code",{children:'"at"'})]}),G(go,{marginTop:"spacingS",children:(i=e.customReplacements)==null?void 0:i.map(([C,D])=>G(uv,{label:`${C} \u2192 ${D.trim()}`,onClose:()=>{var O;t({...e,customReplacements:((O=e.customReplacements)==null?void 0:O.filter(P=>C!==P[0]))||[]})}},`${C}-${D}`))})]}),be(Ke,{children:[G(Ke.Label,{children:"Show Copy Button"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.showCopyButton||!1,onChange:C=>t({...e,showCopyButton:C.target.checked}),children:e.showCopyButton?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, a button that allows to copy the slug/url into the clipboard is displayed. Should be disabled if the preview link is enabled."})]}),be(Ke,{children:[G(Ke.Label,{children:"Show Website URL (slug path prefix)"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.showPathPrefix||!1,onChange:C=>t({...e,showPathPrefix:C.target.checked}),children:e.showPathPrefix?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, the path prefix value (website url) will be displayed in same line of the slug input field."})]}),be(Ke,{children:[G(Ke.Label,{children:"Show Preview Link"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.showPreviewLink||!1,onChange:C=>t({...e,showPreviewLink:C.target.checked}),children:e.showPreviewLink?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, a preview link for the slug is displayed."})]}),be(Ke,{children:[G(Ke.Label,{children:"Lock when published"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.lockWhenPublished||!1,onChange:C=>t({...e,lockWhenPublished:C.target.checked}),children:e.lockWhenPublished?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, the slug will be locked when the entry is Published and will not automatically update."})]}),be(Ke,{children:[G(Ke.Label,{children:"Maintain Case"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.maintainCase||!1,onChange:C=>t({...e,maintainCase:C.target.checked}),children:e.maintainCase?"Yes":"No"}),G(Ke.HelpText,{children:"If enabled, the slug will be maintain the same case as the original value."})]}),be(Ke,{children:[G(Ke.Label,{children:"Preserve Leading Underscore"}),G(Ar,{name:"lock-when-published",id:"lock-when-published",isChecked:e.preserveLeadingUnderscore||!1,onChange:C=>t({...e,preserveLeadingUnderscore:C.target.checked}),children:e.preserveLeadingUnderscore?"Yes":"No"}),G(Ke.HelpText,{children:"Sometimes leading underscores are intentional, for example, filenames representing hidden paths on a website."})]}),be(Ke,{children:[G(Ke.Label,{children:"Preserve certain characters (Separated by comma)."}),G(qt,{id:"path-prefix",type:"text",name:"path-prefix",placeholder:"#,!,...",value:((A=e==null?void 0:e.preserveCharacters)==null?void 0:A.join(","))||"",onChange:C=>{t({...e,preserveCharacters:C.target.value.split(",")})}}),G(Ke.HelpText,{children:"For example, if you want to slugify URLs, but preserve the HTML fragment # character."})]})]}),be(An.Item,{title:"Create a Better Slugs configuration",children:[G(qo,{children:'In order to create a Better Slugs configuration you need to have a "slug" field already created in your content model.'}),G(H5,{activeModel:o.activeModel,onChange:C=>s({activeModel:C,activeSlugField:"",phase:"configField"}),configuredModels:e.models}),o.phase==="configField"&&o.activeModel&&G(F5,{activeSlugField:o.activeSlugField,model:o.activeModel,onChange:C=>s({activeSlugField:C})}),G(Sn,{variant:"positive",onClick:()=>s({phase:"configPattern"}),isDisabled:!o.activeModel||!o.activeSlugField,children:"Add and configure"})]}),G(An.Item,{title:"Better Slugs Configurations",children:G(G5,{models:o.models,locales:w,parametersModels:e.models||{},onUpdate:({id:C,slugField:D})=>s({activeModel:C,activeSlugField:D,phase:"configPattern"}),onDelete:u})}),be(An.Item,{title:"Locale Path Mappings",children:[G(qo,{children:"If using locale tokens configure the mapping between contentful locale and the slug path. (e.g. en-US: en, de-DE: de)"}),be(Ge,{children:[G(Ge.Head,{children:be(Ge.Row,{children:[G(Ge.Cell,{width:100,children:"Locale"}),G(Ge.Cell,{width:100,children:"Path"})]})}),G(Ge.Body,{children:w.map(C=>{var D;return be(Ge.Row,{children:[be(Ge.Cell,{children:[n.locales.names[C],": ",C]}),G(Ge.Cell,{children:G(qt,{id:`path-${C}`,type:"text",name:`path-${C}`,placeholder:`e.g. ${C.toLocaleLowerCase()}`,value:((D=e.paths)==null?void 0:D[C])||"",onChange:O=>{t({...e,paths:{...e.paths,[C]:O.target.value}})}})})]},C)})})]})]})]})}),o.phase==="configPattern"&&G(V5,{model:o.activeModel,slugField:o.activeSlugField,locales:w,patterns:((I=(_=e.models)==null?void 0:_[o.activeModel])==null?void 0:I.patterns)||{},onSave:r,onClose:()=>s({activeModel:"",activeSlugField:"",phase:"configModel"})})]})})};function Rc(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Y5=[["\xDF","ss"],["\u1E9E","Ss"],["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xC0","A"],["\xC1","A"],["\xC2","A"],["\xC3","A"],["\xC4","Ae"],["\xC5","A"],["\xC6","AE"],["\xC7","C"],["\xC8","E"],["\xC9","E"],["\xCA","E"],["\xCB","E"],["\xCC","I"],["\xCD","I"],["\xCE","I"],["\xCF","I"],["\xD0","D"],["\xD1","N"],["\xD2","O"],["\xD3","O"],["\xD4","O"],["\xD5","O"],["\xD6","Oe"],["\u0150","O"],["\xD8","O"],["\xD9","U"],["\xDA","U"],["\xDB","U"],["\xDC","Ue"],["\u0170","U"],["\xDD","Y"],["\xDE","TH"],["\xDF","ss"],["\xE0","a"],["\xE1","a"],["\xE2","a"],["\xE3","a"],["\xE4","ae"],["\xE5","a"],["\xE6","ae"],["\xE7","c"],["\xE8","e"],["\xE9","e"],["\xEA","e"],["\xEB","e"],["\xEC","i"],["\xED","i"],["\xEE","i"],["\xEF","i"],["\xF0","d"],["\xF1","n"],["\xF2","o"],["\xF3","o"],["\xF4","o"],["\xF5","o"],["\xF6","oe"],["\u0151","o"],["\xF8","o"],["\xF9","u"],["\xFA","u"],["\xFB","u"],["\xFC","ue"],["\u0171","u"],["\xFD","y"],["\xFE","th"],["\xFF","y"],["\u1E9E","SS"],["\xE0","a"],["\xC0","A"],["\xE1","a"],["\xC1","A"],["\xE2","a"],["\xC2","A"],["\xE3","a"],["\xC3","A"],["\xE8","e"],["\xC8","E"],["\xE9","e"],["\xC9","E"],["\xEA","e"],["\xCA","E"],["\xEC","i"],["\xCC","I"],["\xED","i"],["\xCD","I"],["\xF2","o"],["\xD2","O"],["\xF3","o"],["\xD3","O"],["\xF4","o"],["\xD4","O"],["\xF5","o"],["\xD5","O"],["\xF9","u"],["\xD9","U"],["\xFA","u"],["\xDA","U"],["\xFD","y"],["\xDD","Y"],["\u0103","a"],["\u0102","A"],["\u0110","D"],["\u0111","d"],["\u0129","i"],["\u0128","I"],["\u0169","u"],["\u0168","U"],["\u01A1","o"],["\u01A0","O"],["\u01B0","u"],["\u01AF","U"],["\u1EA1","a"],["\u1EA0","A"],["\u1EA3","a"],["\u1EA2","A"],["\u1EA5","a"],["\u1EA4","A"],["\u1EA7","a"],["\u1EA6","A"],["\u1EA9","a"],["\u1EA8","A"],["\u1EAB","a"],["\u1EAA","A"],["\u1EAD","a"],["\u1EAC","A"],["\u1EAF","a"],["\u1EAE","A"],["\u1EB1","a"],["\u1EB0","A"],["\u1EB3","a"],["\u1EB2","A"],["\u1EB5","a"],["\u1EB4","A"],["\u1EB7","a"],["\u1EB6","A"],["\u1EB9","e"],["\u1EB8","E"],["\u1EBB","e"],["\u1EBA","E"],["\u1EBD","e"],["\u1EBC","E"],["\u1EBF","e"],["\u1EBE","E"],["\u1EC1","e"],["\u1EC0","E"],["\u1EC3","e"],["\u1EC2","E"],["\u1EC5","e"],["\u1EC4","E"],["\u1EC7","e"],["\u1EC6","E"],["\u1EC9","i"],["\u1EC8","I"],["\u1ECB","i"],["\u1ECA","I"],["\u1ECD","o"],["\u1ECC","O"],["\u1ECF","o"],["\u1ECE","O"],["\u1ED1","o"],["\u1ED0","O"],["\u1ED3","o"],["\u1ED2","O"],["\u1ED5","o"],["\u1ED4","O"],["\u1ED7","o"],["\u1ED6","O"],["\u1ED9","o"],["\u1ED8","O"],["\u1EDB","o"],["\u1EDA","O"],["\u1EDD","o"],["\u1EDC","O"],["\u1EDF","o"],["\u1EDE","O"],["\u1EE1","o"],["\u1EE0","O"],["\u1EE3","o"],["\u1EE2","O"],["\u1EE5","u"],["\u1EE4","U"],["\u1EE7","u"],["\u1EE6","U"],["\u1EE9","u"],["\u1EE8","U"],["\u1EEB","u"],["\u1EEA","U"],["\u1EED","u"],["\u1EEC","U"],["\u1EEF","u"],["\u1EEE","U"],["\u1EF1","u"],["\u1EF0","U"],["\u1EF3","y"],["\u1EF2","Y"],["\u1EF5","y"],["\u1EF4","Y"],["\u1EF7","y"],["\u1EF6","Y"],["\u1EF9","y"],["\u1EF8","Y"],["\u0621","e"],["\u0622","a"],["\u0623","a"],["\u0624","w"],["\u0625","i"],["\u0626","y"],["\u0627","a"],["\u0628","b"],["\u0629","t"],["\u062A","t"],["\u062B","th"],["\u062C","j"],["\u062D","h"],["\u062E","kh"],["\u062F","d"],["\u0630","dh"],["\u0631","r"],["\u0632","z"],["\u0633","s"],["\u0634","sh"],["\u0635","s"],["\u0636","d"],["\u0637","t"],["\u0638","z"],["\u0639","e"],["\u063A","gh"],["\u0640","_"],["\u0641","f"],["\u0642","q"],["\u0643","k"],["\u0644","l"],["\u0645","m"],["\u0646","n"],["\u0647","h"],["\u0648","w"],["\u0649","a"],["\u064A","y"],["\u064E\u200E","a"],["\u064F","u"],["\u0650\u200E","i"],["\u0660","0"],["\u0661","1"],["\u0662","2"],["\u0663","3"],["\u0664","4"],["\u0665","5"],["\u0666","6"],["\u0667","7"],["\u0668","8"],["\u0669","9"],["\u0686","ch"],["\u06A9","k"],["\u06AF","g"],["\u067E","p"],["\u0698","zh"],["\u06CC","y"],["\u06F0","0"],["\u06F1","1"],["\u06F2","2"],["\u06F3","3"],["\u06F4","4"],["\u06F5","5"],["\u06F6","6"],["\u06F7","7"],["\u06F8","8"],["\u06F9","9"],["\u067C","p"],["\u0681","z"],["\u0685","c"],["\u0689","d"],["\uFEAB","d"],["\uFEAD","r"],["\u0693","r"],["\uFEAF","z"],["\u0696","g"],["\u069A","x"],["\u06AB","g"],["\u06BC","n"],["\u06C0","e"],["\u06D0","e"],["\u06CD","ai"],["\u0679","t"],["\u0688","d"],["\u0691","r"],["\u06BA","n"],["\u06C1","h"],["\u06BE","h"],["\u06D2","e"],["\u0410","A"],["\u0430","a"],["\u0411","B"],["\u0431","b"],["\u0412","V"],["\u0432","v"],["\u0413","G"],["\u0433","g"],["\u0414","D"],["\u0434","d"],["\u044A\u0435","ye"],["\u042A\u0435","Ye"],["\u044A\u0415","yE"],["\u042A\u0415","YE"],["\u0415","E"],["\u0435","e"],["\u0401","Yo"],["\u0451","yo"],["\u0416","Zh"],["\u0436","zh"],["\u0417","Z"],["\u0437","z"],["\u0418","I"],["\u0438","i"],["\u044B\u0439","iy"],["\u042B\u0439","Iy"],["\u042B\u0419","IY"],["\u044B\u0419","iY"],["\u0419","Y"],["\u0439","y"],["\u041A","K"],["\u043A","k"],["\u041B","L"],["\u043B","l"],["\u041C","M"],["\u043C","m"],["\u041D","N"],["\u043D","n"],["\u041E","O"],["\u043E","o"],["\u041F","P"],["\u043F","p"],["\u0420","R"],["\u0440","r"],["\u0421","S"],["\u0441","s"],["\u0422","T"],["\u0442","t"],["\u0423","U"],["\u0443","u"],["\u0424","F"],["\u0444","f"],["\u0425","Kh"],["\u0445","kh"],["\u0426","Ts"],["\u0446","ts"],["\u0427","Ch"],["\u0447","ch"],["\u0428","Sh"],["\u0448","sh"],["\u0429","Sch"],["\u0449","sch"],["\u042A",""],["\u044A",""],["\u042B","Y"],["\u044B","y"],["\u042C",""],["\u044C",""],["\u042D","E"],["\u044D","e"],["\u042E","Yu"],["\u044E","yu"],["\u042F","Ya"],["\u044F","ya"],["\u0103","a"],["\u0102","A"],["\u0219","s"],["\u0218","S"],["\u021B","t"],["\u021A","T"],["\u0163","t"],["\u0162","T"],["\u015F","s"],["\u015E","S"],["\xE7","c"],["\xC7","C"],["\u011F","g"],["\u011E","G"],["\u0131","i"],["\u0130","I"],["\u0561","a"],["\u0531","A"],["\u0562","b"],["\u0532","B"],["\u0563","g"],["\u0533","G"],["\u0564","d"],["\u0534","D"],["\u0565","ye"],["\u0535","Ye"],["\u0566","z"],["\u0536","Z"],["\u0567","e"],["\u0537","E"],["\u0568","y"],["\u0538","Y"],["\u0569","t"],["\u0539","T"],["\u056A","zh"],["\u053A","Zh"],["\u056B","i"],["\u053B","I"],["\u056C","l"],["\u053C","L"],["\u056D","kh"],["\u053D","Kh"],["\u056E","ts"],["\u053E","Ts"],["\u056F","k"],["\u053F","K"],["\u0570","h"],["\u0540","H"],["\u0571","dz"],["\u0541","Dz"],["\u0572","gh"],["\u0542","Gh"],["\u0573","tch"],["\u0543","Tch"],["\u0574","m"],["\u0544","M"],["\u0575","y"],["\u0545","Y"],["\u0576","n"],["\u0546","N"],["\u0577","sh"],["\u0547","Sh"],["\u0578","vo"],["\u0548","Vo"],["\u0579","ch"],["\u0549","Ch"],["\u057A","p"],["\u054A","P"],["\u057B","j"],["\u054B","J"],["\u057C","r"],["\u054C","R"],["\u057D","s"],["\u054D","S"],["\u057E","v"],["\u054E","V"],["\u057F","t"],["\u054F","T"],["\u0580","r"],["\u0550","R"],["\u0581","c"],["\u0551","C"],["\u0578\u0582","u"],["\u0548\u0552","U"],["\u0548\u0582","U"],["\u0583","p"],["\u0553","P"],["\u0584","q"],["\u0554","Q"],["\u0585","o"],["\u0555","O"],["\u0586","f"],["\u0556","F"],["\u0587","yev"],["\u10D0","a"],["\u10D1","b"],["\u10D2","g"],["\u10D3","d"],["\u10D4","e"],["\u10D5","v"],["\u10D6","z"],["\u10D7","t"],["\u10D8","i"],["\u10D9","k"],["\u10DA","l"],["\u10DB","m"],["\u10DC","n"],["\u10DD","o"],["\u10DE","p"],["\u10DF","zh"],["\u10E0","r"],["\u10E1","s"],["\u10E2","t"],["\u10E3","u"],["\u10E4","ph"],["\u10E5","q"],["\u10E6","gh"],["\u10E7","k"],["\u10E8","sh"],["\u10E9","ch"],["\u10EA","ts"],["\u10EB","dz"],["\u10EC","ts"],["\u10ED","tch"],["\u10EE","kh"],["\u10EF","j"],["\u10F0","h"],["\u010D","c"],["\u010F","d"],["\u011B","e"],["\u0148","n"],["\u0159","r"],["\u0161","s"],["\u0165","t"],["\u016F","u"],["\u017E","z"],["\u010C","C"],["\u010E","D"],["\u011A","E"],["\u0147","N"],["\u0158","R"],["\u0160","S"],["\u0164","T"],["\u016E","U"],["\u017D","Z"],["\u0780","h"],["\u0781","sh"],["\u0782","n"],["\u0783","r"],["\u0784","b"],["\u0785","lh"],["\u0786","k"],["\u0787","a"],["\u0788","v"],["\u0789","m"],["\u078A","f"],["\u078B","dh"],["\u078C","th"],["\u078D","l"],["\u078E","g"],["\u078F","gn"],["\u0790","s"],["\u0791","d"],["\u0792","z"],["\u0793","t"],["\u0794","y"],["\u0795","p"],["\u0796","j"],["\u0797","ch"],["\u0798","tt"],["\u0799","hh"],["\u079A","kh"],["\u079B","th"],["\u079C","z"],["\u079D","sh"],["\u079E","s"],["\u079F","d"],["\u07A0","t"],["\u07A1","z"],["\u07A2","a"],["\u07A3","gh"],["\u07A4","q"],["\u07A5","w"],["\u07A6","a"],["\u07A7","aa"],["\u07A8","i"],["\u07A9","ee"],["\u07AA","u"],["\u07AB","oo"],["\u07AC","e"],["\u07AD","ey"],["\u07AE","o"],["\u07AF","oa"],["\u07B0",""],["\u03B1","a"],["\u03B2","v"],["\u03B3","g"],["\u03B4","d"],["\u03B5","e"],["\u03B6","z"],["\u03B7","i"],["\u03B8","th"],["\u03B9","i"],["\u03BA","k"],["\u03BB","l"],["\u03BC","m"],["\u03BD","n"],["\u03BE","ks"],["\u03BF","o"],["\u03C0","p"],["\u03C1","r"],["\u03C3","s"],["\u03C4","t"],["\u03C5","y"],["\u03C6","f"],["\u03C7","x"],["\u03C8","ps"],["\u03C9","o"],["\u03AC","a"],["\u03AD","e"],["\u03AF","i"],["\u03CC","o"],["\u03CD","y"],["\u03AE","i"],["\u03CE","o"],["\u03C2","s"],["\u03CA","i"],["\u03B0","y"],["\u03CB","y"],["\u0390","i"],["\u0391","A"],["\u0392","B"],["\u0393","G"],["\u0394","D"],["\u0395","E"],["\u0396","Z"],["\u0397","I"],["\u0398","TH"],["\u0399","I"],["\u039A","K"],["\u039B","L"],["\u039C","M"],["\u039D","N"],["\u039E","KS"],["\u039F","O"],["\u03A0","P"],["\u03A1","R"],["\u03A3","S"],["\u03A4","T"],["\u03A5","Y"],["\u03A6","F"],["\u03A7","X"],["\u03A8","PS"],["\u03A9","O"],["\u0386","A"],["\u0388","E"],["\u038A","I"],["\u038C","O"],["\u038E","Y"],["\u0389","I"],["\u038F","O"],["\u03AA","I"],["\u03AB","Y"],["\u0101","a"],["\u0113","e"],["\u0123","g"],["\u012B","i"],["\u0137","k"],["\u013C","l"],["\u0146","n"],["\u016B","u"],["\u0100","A"],["\u0112","E"],["\u0122","G"],["\u012A","I"],["\u0136","K"],["\u013B","L"],["\u0145","N"],["\u016A","U"],["\u010D","c"],["\u0161","s"],["\u017E","z"],["\u010C","C"],["\u0160","S"],["\u017D","Z"],["\u0105","a"],["\u010D","c"],["\u0119","e"],["\u0117","e"],["\u012F","i"],["\u0161","s"],["\u0173","u"],["\u016B","u"],["\u017E","z"],["\u0104","A"],["\u010C","C"],["\u0118","E"],["\u0116","E"],["\u012E","I"],["\u0160","S"],["\u0172","U"],["\u016A","U"],["\u040C","Kj"],["\u045C","kj"],["\u0409","Lj"],["\u0459","lj"],["\u040A","Nj"],["\u045A","nj"],["\u0422\u0441","Ts"],["\u0442\u0441","ts"],["\u0105","a"],["\u0107","c"],["\u0119","e"],["\u0142","l"],["\u0144","n"],["\u015B","s"],["\u017A","z"],["\u017C","z"],["\u0104","A"],["\u0106","C"],["\u0118","E"],["\u0141","L"],["\u0143","N"],["\u015A","S"],["\u0179","Z"],["\u017B","Z"],["\u0404","Ye"],["\u0406","I"],["\u0407","Yi"],["\u0490","G"],["\u0454","ye"],["\u0456","i"],["\u0457","yi"],["\u0491","g"],["\u0132","IJ"],["\u0133","ij"],["\xA2","c"],["\xA5","Y"],["\u07FF","b"],["\u09F3","t"],["\u0AF1","Bo"],["\u0E3F","B"],["\u20A0","CE"],["\u20A1","C"],["\u20A2","Cr"],["\u20A3","F"],["\u20A5","m"],["\u20A6","N"],["\u20A7","Pt"],["\u20A8","Rs"],["\u20A9","W"],["\u20AB","s"],["\u20AC","E"],["\u20AD","K"],["\u20AE","T"],["\u20AF","Dp"],["\u20B0","S"],["\u20B1","P"],["\u20B2","G"],["\u20B3","A"],["\u20B4","S"],["\u20B5","C"],["\u20B6","tt"],["\u20B7","S"],["\u20B8","T"],["\u20B9","R"],["\u20BA","L"],["\u20BD","P"],["\u20BF","B"],["\uFE69","$"],["\uFFE0","c"],["\uFFE5","Y"],["\uFFE6","W"],["\u{1D400}","A"],["\u{1D401}","B"],["\u{1D402}","C"],["\u{1D403}","D"],["\u{1D404}","E"],["\u{1D405}","F"],["\u{1D406}","G"],["\u{1D407}","H"],["\u{1D408}","I"],["\u{1D409}","J"],["\u{1D40A}","K"],["\u{1D40B}","L"],["\u{1D40C}","M"],["\u{1D40D}","N"],["\u{1D40E}","O"],["\u{1D40F}","P"],["\u{1D410}","Q"],["\u{1D411}","R"],["\u{1D412}","S"],["\u{1D413}","T"],["\u{1D414}","U"],["\u{1D415}","V"],["\u{1D416}","W"],["\u{1D417}","X"],["\u{1D418}","Y"],["\u{1D419}","Z"],["\u{1D41A}","a"],["\u{1D41B}","b"],["\u{1D41C}","c"],["\u{1D41D}","d"],["\u{1D41E}","e"],["\u{1D41F}","f"],["\u{1D420}","g"],["\u{1D421}","h"],["\u{1D422}","i"],["\u{1D423}","j"],["\u{1D424}","k"],["\u{1D425}","l"],["\u{1D426}","m"],["\u{1D427}","n"],["\u{1D428}","o"],["\u{1D429}","p"],["\u{1D42A}","q"],["\u{1D42B}","r"],["\u{1D42C}","s"],["\u{1D42D}","t"],["\u{1D42E}","u"],["\u{1D42F}","v"],["\u{1D430}","w"],["\u{1D431}","x"],["\u{1D432}","y"],["\u{1D433}","z"],["\u{1D434}","A"],["\u{1D435}","B"],["\u{1D436}","C"],["\u{1D437}","D"],["\u{1D438}","E"],["\u{1D439}","F"],["\u{1D43A}","G"],["\u{1D43B}","H"],["\u{1D43C}","I"],["\u{1D43D}","J"],["\u{1D43E}","K"],["\u{1D43F}","L"],["\u{1D440}","M"],["\u{1D441}","N"],["\u{1D442}","O"],["\u{1D443}","P"],["\u{1D444}","Q"],["\u{1D445}","R"],["\u{1D446}","S"],["\u{1D447}","T"],["\u{1D448}","U"],["\u{1D449}","V"],["\u{1D44A}","W"],["\u{1D44B}","X"],["\u{1D44C}","Y"],["\u{1D44D}","Z"],["\u{1D44E}","a"],["\u{1D44F}","b"],["\u{1D450}","c"],["\u{1D451}","d"],["\u{1D452}","e"],["\u{1D453}","f"],["\u{1D454}","g"],["\u{1D456}","i"],["\u{1D457}","j"],["\u{1D458}","k"],["\u{1D459}","l"],["\u{1D45A}","m"],["\u{1D45B}","n"],["\u{1D45C}","o"],["\u{1D45D}","p"],["\u{1D45E}","q"],["\u{1D45F}","r"],["\u{1D460}","s"],["\u{1D461}","t"],["\u{1D462}","u"],["\u{1D463}","v"],["\u{1D464}","w"],["\u{1D465}","x"],["\u{1D466}","y"],["\u{1D467}","z"],["\u{1D468}","A"],["\u{1D469}","B"],["\u{1D46A}","C"],["\u{1D46B}","D"],["\u{1D46C}","E"],["\u{1D46D}","F"],["\u{1D46E}","G"],["\u{1D46F}","H"],["\u{1D470}","I"],["\u{1D471}","J"],["\u{1D472}","K"],["\u{1D473}","L"],["\u{1D474}","M"],["\u{1D475}","N"],["\u{1D476}","O"],["\u{1D477}","P"],["\u{1D478}","Q"],["\u{1D479}","R"],["\u{1D47A}","S"],["\u{1D47B}","T"],["\u{1D47C}","U"],["\u{1D47D}","V"],["\u{1D47E}","W"],["\u{1D47F}","X"],["\u{1D480}","Y"],["\u{1D481}","Z"],["\u{1D482}","a"],["\u{1D483}","b"],["\u{1D484}","c"],["\u{1D485}","d"],["\u{1D486}","e"],["\u{1D487}","f"],["\u{1D488}","g"],["\u{1D489}","h"],["\u{1D48A}","i"],["\u{1D48B}","j"],["\u{1D48C}","k"],["\u{1D48D}","l"],["\u{1D48E}","m"],["\u{1D48F}","n"],["\u{1D490}","o"],["\u{1D491}","p"],["\u{1D492}","q"],["\u{1D493}","r"],["\u{1D494}","s"],["\u{1D495}","t"],["\u{1D496}","u"],["\u{1D497}","v"],["\u{1D498}","w"],["\u{1D499}","x"],["\u{1D49A}","y"],["\u{1D49B}","z"],["\u{1D49C}","A"],["\u{1D49E}","C"],["\u{1D49F}","D"],["\u{1D4A2}","g"],["\u{1D4A5}","J"],["\u{1D4A6}","K"],["\u{1D4A9}","N"],["\u{1D4AA}","O"],["\u{1D4AB}","P"],["\u{1D4AC}","Q"],["\u{1D4AE}","S"],["\u{1D4AF}","T"],["\u{1D4B0}","U"],["\u{1D4B1}","V"],["\u{1D4B2}","W"],["\u{1D4B3}","X"],["\u{1D4B4}","Y"],["\u{1D4B5}","Z"],["\u{1D4B6}","a"],["\u{1D4B7}","b"],["\u{1D4B8}","c"],["\u{1D4B9}","d"],["\u{1D4BB}","f"],["\u{1D4BD}","h"],["\u{1D4BE}","i"],["\u{1D4BF}","j"],["\u{1D4C0}","h"],["\u{1D4C1}","l"],["\u{1D4C2}","m"],["\u{1D4C3}","n"],["\u{1D4C5}","p"],["\u{1D4C6}","q"],["\u{1D4C7}","r"],["\u{1D4C8}","s"],["\u{1D4C9}","t"],["\u{1D4CA}","u"],["\u{1D4CB}","v"],["\u{1D4CC}","w"],["\u{1D4CD}","x"],["\u{1D4CE}","y"],["\u{1D4CF}","z"],["\u{1D4D0}","A"],["\u{1D4D1}","B"],["\u{1D4D2}","C"],["\u{1D4D3}","D"],["\u{1D4D4}","E"],["\u{1D4D5}","F"],["\u{1D4D6}","G"],["\u{1D4D7}","H"],["\u{1D4D8}","I"],["\u{1D4D9}","J"],["\u{1D4DA}","K"],["\u{1D4DB}","L"],["\u{1D4DC}","M"],["\u{1D4DD}","N"],["\u{1D4DE}","O"],["\u{1D4DF}","P"],["\u{1D4E0}","Q"],["\u{1D4E1}","R"],["\u{1D4E2}","S"],["\u{1D4E3}","T"],["\u{1D4E4}","U"],["\u{1D4E5}","V"],["\u{1D4E6}","W"],["\u{1D4E7}","X"],["\u{1D4E8}","Y"],["\u{1D4E9}","Z"],["\u{1D4EA}","a"],["\u{1D4EB}","b"],["\u{1D4EC}","c"],["\u{1D4ED}","d"],["\u{1D4EE}","e"],["\u{1D4EF}","f"],["\u{1D4F0}","g"],["\u{1D4F1}","h"],["\u{1D4F2}","i"],["\u{1D4F3}","j"],["\u{1D4F4}","k"],["\u{1D4F5}","l"],["\u{1D4F6}","m"],["\u{1D4F7}","n"],["\u{1D4F8}","o"],["\u{1D4F9}","p"],["\u{1D4FA}","q"],["\u{1D4FB}","r"],["\u{1D4FC}","s"],["\u{1D4FD}","t"],["\u{1D4FE}","u"],["\u{1D4FF}","v"],["\u{1D500}","w"],["\u{1D501}","x"],["\u{1D502}","y"],["\u{1D503}","z"],["\u{1D504}","A"],["\u{1D505}","B"],["\u{1D507}","D"],["\u{1D508}","E"],["\u{1D509}","F"],["\u{1D50A}","G"],["\u{1D50D}","J"],["\u{1D50E}","K"],["\u{1D50F}","L"],["\u{1D510}","M"],["\u{1D511}","N"],["\u{1D512}","O"],["\u{1D513}","P"],["\u{1D514}","Q"],["\u{1D516}","S"],["\u{1D517}","T"],["\u{1D518}","U"],["\u{1D519}","V"],["\u{1D51A}","W"],["\u{1D51B}","X"],["\u{1D51C}","Y"],["\u{1D51E}","a"],["\u{1D51F}","b"],["\u{1D520}","c"],["\u{1D521}","d"],["\u{1D522}","e"],["\u{1D523}","f"],["\u{1D524}","g"],["\u{1D525}","h"],["\u{1D526}","i"],["\u{1D527}","j"],["\u{1D528}","k"],["\u{1D529}","l"],["\u{1D52A}","m"],["\u{1D52B}","n"],["\u{1D52C}","o"],["\u{1D52D}","p"],["\u{1D52E}","q"],["\u{1D52F}","r"],["\u{1D530}","s"],["\u{1D531}","t"],["\u{1D532}","u"],["\u{1D533}","v"],["\u{1D534}","w"],["\u{1D535}","x"],["\u{1D536}","y"],["\u{1D537}","z"],["\u{1D538}","A"],["\u{1D539}","B"],["\u{1D53B}","D"],["\u{1D53C}","E"],["\u{1D53D}","F"],["\u{1D53E}","G"],["\u{1D540}","I"],["\u{1D541}","J"],["\u{1D542}","K"],["\u{1D543}","L"],["\u{1D544}","M"],["\u{1D546}","N"],["\u{1D54A}","S"],["\u{1D54B}","T"],["\u{1D54C}","U"],["\u{1D54D}","V"],["\u{1D54E}","W"],["\u{1D54F}","X"],["\u{1D550}","Y"],["\u{1D552}","a"],["\u{1D553}","b"],["\u{1D554}","c"],["\u{1D555}","d"],["\u{1D556}","e"],["\u{1D557}","f"],["\u{1D558}","g"],["\u{1D559}","h"],["\u{1D55A}","i"],["\u{1D55B}","j"],["\u{1D55C}","k"],["\u{1D55D}","l"],["\u{1D55E}","m"],["\u{1D55F}","n"],["\u{1D560}","o"],["\u{1D561}","p"],["\u{1D562}","q"],["\u{1D563}","r"],["\u{1D564}","s"],["\u{1D565}","t"],["\u{1D566}","u"],["\u{1D567}","v"],["\u{1D568}","w"],["\u{1D569}","x"],["\u{1D56A}","y"],["\u{1D56B}","z"],["\u{1D56C}","A"],["\u{1D56D}","B"],["\u{1D56E}","C"],["\u{1D56F}","D"],["\u{1D570}","E"],["\u{1D571}","F"],["\u{1D572}","G"],["\u{1D573}","H"],["\u{1D574}","I"],["\u{1D575}","J"],["\u{1D576}","K"],["\u{1D577}","L"],["\u{1D578}","M"],["\u{1D579}","N"],["\u{1D57A}","O"],["\u{1D57B}","P"],["\u{1D57C}","Q"],["\u{1D57D}","R"],["\u{1D57E}","S"],["\u{1D57F}","T"],["\u{1D580}","U"],["\u{1D581}","V"],["\u{1D582}","W"],["\u{1D583}","X"],["\u{1D584}","Y"],["\u{1D585}","Z"],["\u{1D586}","a"],["\u{1D587}","b"],["\u{1D588}","c"],["\u{1D589}","d"],["\u{1D58A}","e"],["\u{1D58B}","f"],["\u{1D58C}","g"],["\u{1D58D}","h"],["\u{1D58E}","i"],["\u{1D58F}","j"],["\u{1D590}","k"],["\u{1D591}","l"],["\u{1D592}","m"],["\u{1D593}","n"],["\u{1D594}","o"],["\u{1D595}","p"],["\u{1D596}","q"],["\u{1D597}","r"],["\u{1D598}","s"],["\u{1D599}","t"],["\u{1D59A}","u"],["\u{1D59B}","v"],["\u{1D59C}","w"],["\u{1D59D}","x"],["\u{1D59E}","y"],["\u{1D59F}","z"],["\u{1D5A0}","A"],["\u{1D5A1}","B"],["\u{1D5A2}","C"],["\u{1D5A3}","D"],["\u{1D5A4}","E"],["\u{1D5A5}","F"],["\u{1D5A6}","G"],["\u{1D5A7}","H"],["\u{1D5A8}","I"],["\u{1D5A9}","J"],["\u{1D5AA}","K"],["\u{1D5AB}","L"],["\u{1D5AC}","M"],["\u{1D5AD}","N"],["\u{1D5AE}","O"],["\u{1D5AF}","P"],["\u{1D5B0}","Q"],["\u{1D5B1}","R"],["\u{1D5B2}","S"],["\u{1D5B3}","T"],["\u{1D5B4}","U"],["\u{1D5B5}","V"],["\u{1D5B6}","W"],["\u{1D5B7}","X"],["\u{1D5B8}","Y"],["\u{1D5B9}","Z"],["\u{1D5BA}","a"],["\u{1D5BB}","b"],["\u{1D5BC}","c"],["\u{1D5BD}","d"],["\u{1D5BE}","e"],["\u{1D5BF}","f"],["\u{1D5C0}","g"],["\u{1D5C1}","h"],["\u{1D5C2}","i"],["\u{1D5C3}","j"],["\u{1D5C4}","k"],["\u{1D5C5}","l"],["\u{1D5C6}","m"],["\u{1D5C7}","n"],["\u{1D5C8}","o"],["\u{1D5C9}","p"],["\u{1D5CA}","q"],["\u{1D5CB}","r"],["\u{1D5CC}","s"],["\u{1D5CD}","t"],["\u{1D5CE}","u"],["\u{1D5CF}","v"],["\u{1D5D0}","w"],["\u{1D5D1}","x"],["\u{1D5D2}","y"],["\u{1D5D3}","z"],["\u{1D5D4}","A"],["\u{1D5D5}","B"],["\u{1D5D6}","C"],["\u{1D5D7}","D"],["\u{1D5D8}","E"],["\u{1D5D9}","F"],["\u{1D5DA}","G"],["\u{1D5DB}","H"],["\u{1D5DC}","I"],["\u{1D5DD}","J"],["\u{1D5DE}","K"],["\u{1D5DF}","L"],["\u{1D5E0}","M"],["\u{1D5E1}","N"],["\u{1D5E2}","O"],["\u{1D5E3}","P"],["\u{1D5E4}","Q"],["\u{1D5E5}","R"],["\u{1D5E6}","S"],["\u{1D5E7}","T"],["\u{1D5E8}","U"],["\u{1D5E9}","V"],["\u{1D5EA}","W"],["\u{1D5EB}","X"],["\u{1D5EC}","Y"],["\u{1D5ED}","Z"],["\u{1D5EE}","a"],["\u{1D5EF}","b"],["\u{1D5F0}","c"],["\u{1D5F1}","d"],["\u{1D5F2}","e"],["\u{1D5F3}","f"],["\u{1D5F4}","g"],["\u{1D5F5}","h"],["\u{1D5F6}","i"],["\u{1D5F7}","j"],["\u{1D5F8}","k"],["\u{1D5F9}","l"],["\u{1D5FA}","m"],["\u{1D5FB}","n"],["\u{1D5FC}","o"],["\u{1D5FD}","p"],["\u{1D5FE}","q"],["\u{1D5FF}","r"],["\u{1D600}","s"],["\u{1D601}","t"],["\u{1D602}","u"],["\u{1D603}","v"],["\u{1D604}","w"],["\u{1D605}","x"],["\u{1D606}","y"],["\u{1D607}","z"],["\u{1D608}","A"],["\u{1D609}","B"],["\u{1D60A}","C"],["\u{1D60B}","D"],["\u{1D60C}","E"],["\u{1D60D}","F"],["\u{1D60E}","G"],["\u{1D60F}","H"],["\u{1D610}","I"],["\u{1D611}","J"],["\u{1D612}","K"],["\u{1D613}","L"],["\u{1D614}","M"],["\u{1D615}","N"],["\u{1D616}","O"],["\u{1D617}","P"],["\u{1D618}","Q"],["\u{1D619}","R"],["\u{1D61A}","S"],["\u{1D61B}","T"],["\u{1D61C}","U"],["\u{1D61D}","V"],["\u{1D61E}","W"],["\u{1D61F}","X"],["\u{1D620}","Y"],["\u{1D621}","Z"],["\u{1D622}","a"],["\u{1D623}","b"],["\u{1D624}","c"],["\u{1D625}","d"],["\u{1D626}","e"],["\u{1D627}","f"],["\u{1D628}","g"],["\u{1D629}","h"],["\u{1D62A}","i"],["\u{1D62B}","j"],["\u{1D62C}","k"],["\u{1D62D}","l"],["\u{1D62E}","m"],["\u{1D62F}","n"],["\u{1D630}","o"],["\u{1D631}","p"],["\u{1D632}","q"],["\u{1D633}","r"],["\u{1D634}","s"],["\u{1D635}","t"],["\u{1D636}","u"],["\u{1D637}","v"],["\u{1D638}","w"],["\u{1D639}","x"],["\u{1D63A}","y"],["\u{1D63B}","z"],["\u{1D63C}","A"],["\u{1D63D}","B"],["\u{1D63E}","C"],["\u{1D63F}","D"],["\u{1D640}","E"],["\u{1D641}","F"],["\u{1D642}","G"],["\u{1D643}","H"],["\u{1D644}","I"],["\u{1D645}","J"],["\u{1D646}","K"],["\u{1D647}","L"],["\u{1D648}","M"],["\u{1D649}","N"],["\u{1D64A}","O"],["\u{1D64B}","P"],["\u{1D64C}","Q"],["\u{1D64D}","R"],["\u{1D64E}","S"],["\u{1D64F}","T"],["\u{1D650}","U"],["\u{1D651}","V"],["\u{1D652}","W"],["\u{1D653}","X"],["\u{1D654}","Y"],["\u{1D655}","Z"],["\u{1D656}","a"],["\u{1D657}","b"],["\u{1D658}","c"],["\u{1D659}","d"],["\u{1D65A}","e"],["\u{1D65B}","f"],["\u{1D65C}","g"],["\u{1D65D}","h"],["\u{1D65E}","i"],["\u{1D65F}","j"],["\u{1D660}","k"],["\u{1D661}","l"],["\u{1D662}","m"],["\u{1D663}","n"],["\u{1D664}","o"],["\u{1D665}","p"],["\u{1D666}","q"],["\u{1D667}","r"],["\u{1D668}","s"],["\u{1D669}","t"],["\u{1D66A}","u"],["\u{1D66B}","v"],["\u{1D66C}","w"],["\u{1D66D}","x"],["\u{1D66E}","y"],["\u{1D66F}","z"],["\u{1D670}","A"],["\u{1D671}","B"],["\u{1D672}","C"],["\u{1D673}","D"],["\u{1D674}","E"],["\u{1D675}","F"],["\u{1D676}","G"],["\u{1D677}","H"],["\u{1D678}","I"],["\u{1D679}","J"],["\u{1D67A}","K"],["\u{1D67B}","L"],["\u{1D67C}","M"],["\u{1D67D}","N"],["\u{1D67E}","O"],["\u{1D67F}","P"],["\u{1D680}","Q"],["\u{1D681}","R"],["\u{1D682}","S"],["\u{1D683}","T"],["\u{1D684}","U"],["\u{1D685}","V"],["\u{1D686}","W"],["\u{1D687}","X"],["\u{1D688}","Y"],["\u{1D689}","Z"],["\u{1D68A}","a"],["\u{1D68B}","b"],["\u{1D68C}","c"],["\u{1D68D}","d"],["\u{1D68E}","e"],["\u{1D68F}","f"],["\u{1D690}","g"],["\u{1D691}","h"],["\u{1D692}","i"],["\u{1D693}","j"],["\u{1D694}","k"],["\u{1D695}","l"],["\u{1D696}","m"],["\u{1D697}","n"],["\u{1D698}","o"],["\u{1D699}","p"],["\u{1D69A}","q"],["\u{1D69B}","r"],["\u{1D69C}","s"],["\u{1D69D}","t"],["\u{1D69E}","u"],["\u{1D69F}","v"],["\u{1D6A0}","w"],["\u{1D6A1}","x"],["\u{1D6A2}","y"],["\u{1D6A3}","z"],["\u{1D6A4}","l"],["\u{1D6A5}","j"],["\u{1D6E2}","A"],["\u{1D6E3}","B"],["\u{1D6E4}","G"],["\u{1D6E5}","D"],["\u{1D6E6}","E"],["\u{1D6E7}","Z"],["\u{1D6E8}","I"],["\u{1D6E9}","TH"],["\u{1D6EA}","I"],["\u{1D6EB}","K"],["\u{1D6EC}","L"],["\u{1D6ED}","M"],["\u{1D6EE}","N"],["\u{1D6EF}","KS"],["\u{1D6F0}","O"],["\u{1D6F1}","P"],["\u{1D6F2}","R"],["\u{1D6F3}","TH"],["\u{1D6F4}","S"],["\u{1D6F5}","T"],["\u{1D6F6}","Y"],["\u{1D6F7}","F"],["\u{1D6F8}","x"],["\u{1D6F9}","PS"],["\u{1D6FA}","O"],["\u{1D6FB}","D"],["\u{1D6FC}","a"],["\u{1D6FD}","b"],["\u{1D6FE}","g"],["\u{1D6FF}","d"],["\u{1D700}","e"],["\u{1D701}","z"],["\u{1D702}","i"],["\u{1D703}","th"],["\u{1D704}","i"],["\u{1D705}","k"],["\u{1D706}","l"],["\u{1D707}","m"],["\u{1D708}","n"],["\u{1D709}","ks"],["\u{1D70A}","o"],["\u{1D70B}","p"],["\u{1D70C}","r"],["\u{1D70D}","s"],["\u{1D70E}","s"],["\u{1D70F}","t"],["\u{1D710}","y"],["\u{1D711}","f"],["\u{1D712}","x"],["\u{1D713}","ps"],["\u{1D714}","o"],["\u{1D715}","d"],["\u{1D716}","E"],["\u{1D717}","TH"],["\u{1D718}","K"],["\u{1D719}","f"],["\u{1D71A}","r"],["\u{1D71B}","p"],["\u{1D71C}","A"],["\u{1D71D}","V"],["\u{1D71E}","G"],["\u{1D71F}","D"],["\u{1D720}","E"],["\u{1D721}","Z"],["\u{1D722}","I"],["\u{1D723}","TH"],["\u{1D724}","I"],["\u{1D725}","K"],["\u{1D726}","L"],["\u{1D727}","M"],["\u{1D728}","N"],["\u{1D729}","KS"],["\u{1D72A}","O"],["\u{1D72B}","P"],["\u{1D72C}","S"],["\u{1D72D}","TH"],["\u{1D72E}","S"],["\u{1D72F}","T"],["\u{1D730}","Y"],["\u{1D731}","F"],["\u{1D732}","X"],["\u{1D733}","PS"],["\u{1D734}","O"],["\u{1D735}","D"],["\u{1D736}","a"],["\u{1D737}","v"],["\u{1D738}","g"],["\u{1D739}","d"],["\u{1D73A}","e"],["\u{1D73B}","z"],["\u{1D73C}","i"],["\u{1D73D}","th"],["\u{1D73E}","i"],["\u{1D73F}","k"],["\u{1D740}","l"],["\u{1D741}","m"],["\u{1D742}","n"],["\u{1D743}","ks"],["\u{1D744}","o"],["\u{1D745}","p"],["\u{1D746}","r"],["\u{1D747}","s"],["\u{1D748}","s"],["\u{1D749}","t"],["\u{1D74A}","y"],["\u{1D74B}","f"],["\u{1D74C}","x"],["\u{1D74D}","ps"],["\u{1D74E}","o"],["\u{1D74F}","a"],["\u{1D750}","e"],["\u{1D751}","i"],["\u{1D752}","k"],["\u{1D753}","f"],["\u{1D754}","r"],["\u{1D755}","p"],["\u{1D756}","A"],["\u{1D757}","B"],["\u{1D758}","G"],["\u{1D759}","D"],["\u{1D75A}","E"],["\u{1D75B}","Z"],["\u{1D75C}","I"],["\u{1D75D}","TH"],["\u{1D75E}","I"],["\u{1D75F}","K"],["\u{1D760}","L"],["\u{1D761}","M"],["\u{1D762}","N"],["\u{1D763}","KS"],["\u{1D764}","O"],["\u{1D765}","P"],["\u{1D766}","R"],["\u{1D767}","TH"],["\u{1D768}","S"],["\u{1D769}","T"],["\u{1D76A}","Y"],["\u{1D76B}","F"],["\u{1D76C}","X"],["\u{1D76D}","PS"],["\u{1D76E}","O"],["\u{1D76F}","D"],["\u{1D770}","a"],["\u{1D771}","v"],["\u{1D772}","g"],["\u{1D773}","d"],["\u{1D774}","e"],["\u{1D775}","z"],["\u{1D776}","i"],["\u{1D777}","th"],["\u{1D778}","i"],["\u{1D779}","k"],["\u{1D77A}","l"],["\u{1D77B}","m"],["\u{1D77C}","n"],["\u{1D77D}","ks"],["\u{1D77E}","o"],["\u{1D77F}","p"],["\u{1D780}","r"],["\u{1D781}","s"],["\u{1D782}","s"],["\u{1D783}","t"],["\u{1D784}","y"],["\u{1D785}","f"],["\u{1D786}","x"],["\u{1D787}","ps"],["\u{1D788}","o"],["\u{1D789}","a"],["\u{1D78A}","e"],["\u{1D78B}","i"],["\u{1D78C}","k"],["\u{1D78D}","f"],["\u{1D78E}","r"],["\u{1D78F}","p"],["\u{1D790}","A"],["\u{1D791}","V"],["\u{1D792}","G"],["\u{1D793}","D"],["\u{1D794}","E"],["\u{1D795}","Z"],["\u{1D796}","I"],["\u{1D797}","TH"],["\u{1D798}","I"],["\u{1D799}","K"],["\u{1D79A}","L"],["\u{1D79B}","M"],["\u{1D79C}","N"],["\u{1D79D}","KS"],["\u{1D79E}","O"],["\u{1D79F}","P"],["\u{1D7A0}","S"],["\u{1D7A1}","TH"],["\u{1D7A2}","S"],["\u{1D7A3}","T"],["\u{1D7A4}","Y"],["\u{1D7A5}","F"],["\u{1D7A6}","X"],["\u{1D7A7}","PS"],["\u{1D7A8}","O"],["\u{1D7A9}","D"],["\u{1D7AA}","av"],["\u{1D7AB}","g"],["\u{1D7AC}","d"],["\u{1D7AD}","e"],["\u{1D7AE}","z"],["\u{1D7AF}","i"],["\u{1D7B0}","i"],["\u{1D7B1}","th"],["\u{1D7B2}","i"],["\u{1D7B3}","k"],["\u{1D7B4}","l"],["\u{1D7B5}","m"],["\u{1D7B6}","n"],["\u{1D7B7}","ks"],["\u{1D7B8}","o"],["\u{1D7B9}","p"],["\u{1D7BA}","r"],["\u{1D7BB}","s"],["\u{1D7BC}","s"],["\u{1D7BD}","t"],["\u{1D7BE}","y"],["\u{1D7BF}","f"],["\u{1D7C0}","x"],["\u{1D7C1}","ps"],["\u{1D7C2}","o"],["\u{1D7C3}","a"],["\u{1D7C4}","e"],["\u{1D7C5}","i"],["\u{1D7C6}","k"],["\u{1D7C7}","f"],["\u{1D7C8}","r"],["\u{1D7C9}","p"],["\u{1D7CA}","F"],["\u{1D7CB}","f"],["\u249C","(a)"],["\u249D","(b)"],["\u249E","(c)"],["\u249F","(d)"],["\u24A0","(e)"],["\u24A1","(f)"],["\u24A2","(g)"],["\u24A3","(h)"],["\u24A4","(i)"],["\u24A5","(j)"],["\u24A6","(k)"],["\u24A7","(l)"],["\u24A8","(m)"],["\u24A9","(n)"],["\u24AA","(o)"],["\u24AB","(p)"],["\u24AC","(q)"],["\u24AD","(r)"],["\u24AE","(s)"],["\u24AF","(t)"],["\u24B0","(u)"],["\u24B1","(v)"],["\u24B2","(w)"],["\u24B3","(x)"],["\u24B4","(y)"],["\u24B5","(z)"],["\u24B6","(A)"],["\u24B7","(B)"],["\u24B8","(C)"],["\u24B9","(D)"],["\u24BA","(E)"],["\u24BB","(F)"],["\u24BC","(G)"],["\u24BD","(H)"],["\u24BE","(I)"],["\u24BF","(J)"],["\u24C0","(K)"],["\u24C1","(L)"],["\u24C3","(N)"],["\u24C4","(O)"],["\u24C5","(P)"],["\u24C6","(Q)"],["\u24C7","(R)"],["\u24C8","(S)"],["\u24C9","(T)"],["\u24CA","(U)"],["\u24CB","(V)"],["\u24CC","(W)"],["\u24CD","(X)"],["\u24CE","(Y)"],["\u24CF","(Z)"],["\u24D0","(a)"],["\u24D1","(b)"],["\u24D2","(b)"],["\u24D3","(c)"],["\u24D4","(e)"],["\u24D5","(f)"],["\u24D6","(g)"],["\u24D7","(h)"],["\u24D8","(i)"],["\u24D9","(j)"],["\u24DA","(k)"],["\u24DB","(l)"],["\u24DC","(m)"],["\u24DD","(n)"],["\u24DE","(o)"],["\u24DF","(p)"],["\u24E0","(q)"],["\u24E1","(r)"],["\u24E2","(s)"],["\u24E3","(t)"],["\u24E4","(u)"],["\u24E5","(v)"],["\u24E6","(w)"],["\u24E7","(x)"],["\u24E8","(y)"],["\u24E9","(z)"],["\u010A","C"],["\u010B","c"],["\u0120","G"],["\u0121","g"],["\u0126","H"],["\u0127","h"],["\u017B","Z"],["\u017C","z"],["\u{1D7CE}","0"],["\u{1D7CF}","1"],["\u{1D7D0}","2"],["\u{1D7D1}","3"],["\u{1D7D2}","4"],["\u{1D7D3}","5"],["\u{1D7D4}","6"],["\u{1D7D5}","7"],["\u{1D7D6}","8"],["\u{1D7D7}","9"],["\u{1D7D8}","0"],["\u{1D7D9}","1"],["\u{1D7DA}","2"],["\u{1D7DB}","3"],["\u{1D7DC}","4"],["\u{1D7DD}","5"],["\u{1D7DE}","6"],["\u{1D7DF}","7"],["\u{1D7E0}","8"],["\u{1D7E1}","9"],["\u{1D7E2}","0"],["\u{1D7E3}","1"],["\u{1D7E4}","2"],["\u{1D7E5}","3"],["\u{1D7E6}","4"],["\u{1D7E7}","5"],["\u{1D7E8}","6"],["\u{1D7E9}","7"],["\u{1D7EA}","8"],["\u{1D7EB}","9"],["\u{1D7EC}","0"],["\u{1D7ED}","1"],["\u{1D7EE}","2"],["\u{1D7EF}","3"],["\u{1D7F0}","4"],["\u{1D7F1}","5"],["\u{1D7F2}","6"],["\u{1D7F3}","7"],["\u{1D7F4}","8"],["\u{1D7F5}","9"],["\u{1D7F6}","0"],["\u{1D7F7}","1"],["\u{1D7F8}","2"],["\u{1D7F9}","3"],["\u{1D7FA}","4"],["\u{1D7FB}","5"],["\u{1D7FC}","6"],["\u{1D7FD}","7"],["\u{1D7FE}","8"],["\u{1D7FF}","9"],["\u2460","1"],["\u2461","2"],["\u2462","3"],["\u2463","4"],["\u2464","5"],["\u2465","6"],["\u2466","7"],["\u2467","8"],["\u2468","9"],["\u2469","10"],["\u246A","11"],["\u246B","12"],["\u246C","13"],["\u246D","14"],["\u246E","15"],["\u246F","16"],["\u2470","17"],["\u2471","18"],["\u2472","19"],["\u2473","20"],["\u2474","1"],["\u2475","2"],["\u2476","3"],["\u2477","4"],["\u2478","5"],["\u2479","6"],["\u247A","7"],["\u247B","8"],["\u247C","9"],["\u247D","10"],["\u247E","11"],["\u247F","12"],["\u2480","13"],["\u2481","14"],["\u2482","15"],["\u2483","16"],["\u2484","17"],["\u2485","18"],["\u2486","19"],["\u2487","20"],["\u2488","1."],["\u2489","2."],["\u248A","3."],["\u248B","4."],["\u248C","5."],["\u248D","6."],["\u248E","7."],["\u248F","8."],["\u2490","9."],["\u2491","10."],["\u2492","11."],["\u2493","12."],["\u2494","13."],["\u2495","14."],["\u2496","15."],["\u2497","16."],["\u2498","17."],["\u2499","18."],["\u249A","19."],["\u249B","20."],["\u24EA","0"],["\u24EB","11"],["\u24EC","12"],["\u24ED","13"],["\u24EE","14"],["\u24EF","15"],["\u24F0","16"],["\u24F1","17"],["\u24F2","18"],["\u24F3","19"],["\u24F4","20"],["\u24F5","1"],["\u24F6","2"],["\u24F7","3"],["\u24F8","4"],["\u24F9","5"],["\u24FA","6"],["\u24FB","7"],["\u24FC","8"],["\u24FD","9"],["\u24FE","10"],["\u24FF","0"],["\u{1F670}","&"],["\u{1F671}","&"],["\u{1F672}","&"],["\u{1F673}","&"],["\u{1F674}","&"],["\u{1F675}","&"],["\u{1F676}",'"'],["\u{1F677}",'"'],["\u{1F678}",'"'],["\u203D","?!"],["\u{1F679}","?!"],["\u{1F67A}","?!"],["\u{1F67B}","?!"],["\u{1F67C}","/"],["\u{1F67D}","\\"],["\u{1F707}","AR"],["\u{1F708}","V"],["\u{1F709}","V"],["\u{1F706}","VR"],["\u{1F705}","VF"],["\u{1F729}","2"],["\u{1F72A}","5"],["\u{1F761}","f"],["\u{1F762}","W"],["\u{1F763}","U"],["\u{1F767}","V"],["\u{1F768}","T"],["\u{1F76A}","V"],["\u{1F76B}","MB"],["\u{1F76C}","VB"],["\u{1F772}","3B"],["\u{1F773}","3B"],["\u{1F4AF}","100"],["\u{1F519}","BACK"],["\u{1F51A}","END"],["\u{1F51B}","ON!"],["\u{1F51C}","SOON"],["\u{1F51D}","TOP"],["\u{1F51E}","18"],["\u{1F524}","abc"],["\u{1F520}","ABCD"],["\u{1F521}","abcd"],["\u{1F522}","1234"],["\u{1F523}","T&@%"],["#\uFE0F\u20E3","#"],["*\uFE0F\u20E3","*"],["0\uFE0F\u20E3","0"],["1\uFE0F\u20E3","1"],["2\uFE0F\u20E3","2"],["3\uFE0F\u20E3","3"],["4\uFE0F\u20E3","4"],["5\uFE0F\u20E3","5"],["6\uFE0F\u20E3","6"],["7\uFE0F\u20E3","7"],["8\uFE0F\u20E3","8"],["9\uFE0F\u20E3","9"],["\u{1F51F}","10"],["\u{1F170}\uFE0F","A"],["\u{1F171}\uFE0F","B"],["\u{1F18E}","AB"],["\u{1F191}","CL"],["\u{1F17E}\uFE0F","O"],["\u{1F17F}","P"],["\u{1F198}","SOS"],["\u{1F172}","C"],["\u{1F173}","D"],["\u{1F174}","E"],["\u{1F175}","F"],["\u{1F176}","G"],["\u{1F177}","H"],["\u{1F178}","I"],["\u{1F179}","J"],["\u{1F17A}","K"],["\u{1F17B}","L"],["\u{1F17C}","M"],["\u{1F17D}","N"],["\u{1F180}","Q"],["\u{1F181}","R"],["\u{1F182}","S"],["\u{1F183}","T"],["\u{1F184}","U"],["\u{1F185}","V"],["\u{1F186}","W"],["\u{1F187}","X"],["\u{1F188}","Y"],["\u{1F189}","Z"]],Z5=(e,t)=>{for(const[n,o]of t)e=e.replace(new RegExp(Rc(n),"g"),o);return e};function Q5(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const n=new Map([...Y5,...t.customReplacements]);return e=e.normalize(),e=Z5(e,n),e=e.normalize("NFD").replace(/\p{Diacritic}/gu,"").normalize(),e}const J5=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]],q5=e=>e.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),eP=(e,t)=>{const n=Rc(t);return e.replace(new RegExp(`${n}{2,}`,"g"),t).replace(new RegExp(`^${n}|${n}$`,"g"),"")},tP=e=>{let t="a-z\\d";if(t+=e.lowercase?"":"A-Z",e.preserveCharacters.length>0)for(const n of e.preserveCharacters){if(n===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=Rc(n)}return new RegExp(`[^${t}]+`,"g")};function vl(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],...t};const n=t.preserveLeadingUnderscore&&e.startsWith("_"),o=t.preserveTrailingDash&&e.endsWith("-"),s=new Map([...J5,...t.customReplacements]);e=Q5(e,{customReplacements:s}),t.decamelize&&(e=q5(e));const w=tP(t);return t.lowercase&&(e=e.toLowerCase()),e=e.replace(/([a-zA-Z\d]+)'([ts])(\s|$)/g,"$1$2$3"),e=e.replace(w,t.separator),e=e.replace(/\\/g,""),t.separator&&(e=eP(e,t.separator)),n&&(e=`_${e}`),o&&(e=`${e}-`),e}const nP=()=>{var R,Q,re,ae,ne;const e=gn.useSDK(),t=_e.exports.useRef(!1),n=_e.exports.useRef(null),o=_e.exports.useRef(!1),[s,w]=_e.exports.useState(e.field.getValue()||""),b=e.field.locale,a=e.locales.available,r=e.locales.default,u=(R=e.contentType.fields.find(q=>q.id===e.field.id))==null?void 0:R.localized,{paths:i,models:A,pathPrefix:_="",showPathPrefix:I=!0,lockWhenPublished:C=!1,maintainCase:D=!1,preserveLeadingUnderscore:O=!1,showCopyButton:P=!1,showPreviewLink:m=!0,customReplacements:v=[],preserveCharacters:S=[]}=e.parameters.installation,{showWebsiteUrl:l=!0,showPreviewUrl:M=!0}=e.parameters.instance,p={preserveLeadingUnderscore:O,customReplacements:v,preserveCharacters:[...S,"/"],lowercase:!D},d=i[b]||i[r],g=((re=(Q=A[e.ids.contentType])==null?void 0:Q.patterns)==null?void 0:re[b])||((ne=(ae=A[e.ids.contentType])==null?void 0:ae.patterns)==null?void 0:ne[r]);let y=g.match(/\[.*?\]|[^:\[\]]+|:/g)||[];y=y.map(q=>q.startsWith("[")&&q.endsWith("]")?q.slice(1,-1):q);const c=[];y==null||y.forEach(q=>{q.startsWith("field:")&&c.push(q.replace("field:",""))}),_e.exports.useEffect(()=>{e.window.startAutoResizer();const q=[];for(const se of c){const ce=se.split(":"),me=ce.length===1?se:ce[0];if(me in e.entry.fields){const he=e.entry.fields[me].locales;for(const fe of he){const ue=e.entry.fields[me].onValueChanged(fe,()=>{t.current&&clearInterval(t.current),t.current=setTimeout(()=>{if(u)for(const le of a)T(le);else T(fe)},500)});q.push(ue)}}}return window.setTimeout(()=>{o.current=!0},1e3),e.field&&(n.current=e.field.onValueChanged(h)),()=>{t.current&&clearInterval(t.current),n.current&&n.current();for(const se of q)se==null||se()}},[]);const h=q=>{o.current&&w(q)},E=async(q,se,ce)=>{var J;const me=e.locales.default;if(!e.entry.fields[q])return"";const he=(J=e.entry.fields[q])!=null&&J.locales.includes(ce)?ce:me,fe=e.entry.fields[q].getValue(he);if(!fe||!fe.sys||!fe.sys.id)return"";const ue=await e.cma.entry.get({entryId:fe.sys.id}),{fields:le}=ue;return!le||!Object.prototype.hasOwnProperty.call(le,se)?"":Object.prototype.hasOwnProperty.call(le[se],ce)?le[se][ce]:Object.prototype.hasOwnProperty.call(le[se],me)?le[se][me]:""},f=()=>{const q=e.entry.getSys(),se=!!q.publishedVersion&&q.version==q.publishedVersion+1,ce=!!q.publishedVersion&&q.version>=q.publishedVersion+2;return se||ce},T=async(q,se=!1)=>{if(!o.current||e.field.locale!==q||!se&&C&&f())return;const ce=e.locales.default,me=[];for(const he of y)if(he.startsWith("field:")){const fe=he.split(":");let ue="",le="";fe.length===2?(e.entry.fields[fe[1]]!==void 0&&(e.entry.fields[fe[1]].locales.includes(q)?ue=e.entry.fields[fe[1]].getValue(q):ue=e.entry.fields[fe[1]].getValue(ce)),le=ue!=null&&ue.length?vl(ue,p):""):(ue=await E(fe[1],fe[2],q)||"",le=vl(ue,p)),me.push(le)}else he==="locale"?d&&me.push(d):he==="year"?me.push(new Date().getFullYear().toString()):he==="month"?me.push(new Date().toLocaleString(void 0,{month:"2-digit"})):he==="day"?me.push(new Date().toLocaleString(void 0,{day:"2-digit"})):he==="id"?me.push(e.entry.getSys().id):he!=="/"&&me.push(he);e.entry.fields[e.field.id].setValue(me.join("/").replace(/\/\//g,"/").replace(/\/$/,"").replace(/\/-\//g,"-").replace(/\/:\//g,":").replace(/^\//,""),q)},B=async q=>{const se=q.currentTarget.value.split("-").map(ce=>vl(ce,p)).join("-");w(se),se?await e.field.setValue(se):await e.field.removeValue()};return g?be(go,{flexDirection:"column",alignItems:"flex-start",children:[be(qt.Group,{children:[(I||l)&&(_==null?void 0:_.length)>0&&G(qt,{"aria-label":"Slug",id:"slug-prefix",isDisabled:!0,value:_,className:Ie({fontSize:Z.fontSizeS,maxWidth:"175px"})}),G(qt,{"aria-label":"Slug",id:e.field.id,value:s||"",onChange:B,isRequired:!0}),G(yr,{variant:"secondary",icon:G(B1,{}),onClick:()=>T(b,!0),"aria-label":"Reset slug value"}),P&&G(yr,{variant:"secondary",icon:G(Ry,{}),onClick:()=>navigator.clipboard.writeText(`${_}/${s}`),"aria-label":"Copy slug value to clipboard"})]}),(m||M)&&(_==null?void 0:_.length)>0&&s&&G(iv,{href:`${_}/${s}`,target:"_blank",className:Ie({fontSize:Z.fontSizeS,marginTop:-10}),icon:G($1,{size:"tiny"}),alignIcon:"end",children:`${_}/${s}`})]}):G(tv,{title:"App not configured!",style:{maxWidth:"800px"},variant:"warning",children:"No slug pattern found for this content type. Please add a new slug pattern in the app configuration."})},rP={[_i.exports.locations.LOCATION_APP_CONFIG]:X5,[_i.exports.locations.LOCATION_ENTRY_FIELD]:nP},oP=()=>{const e=gn.useSDK(),t=_e.exports.useMemo(()=>{for(const[n,o]of Object.entries(rP))if(e.location.is(n))return o},[e.location]);return t?G(t,{}):null},iP=document.getElementById("root");uo.exports.render(be(gn.SDKProvider,{children:[G(U0,{}),G(oP,{})]}),iP); diff --git a/dist/index.html b/dist/index.html index 00650ac..a1af5d5 100644 --- a/dist/index.html +++ b/dist/index.html @@ -3,7 +3,7 @@ - + diff --git a/src/locations/Field.tsx b/src/locations/Field.tsx index a8d9ea7..f7a29f4 100644 --- a/src/locations/Field.tsx +++ b/src/locations/Field.tsx @@ -227,7 +227,7 @@ const Field = () => { raw = sdk.entry.fields[fieldParts[1]].getValue(defaultLocale); } } - slug = slugify(raw, slugOptions); + slug = raw?.length ? slugify(raw, slugOptions) : ''; } else { raw = (await getReferenceFieldValue( @@ -266,7 +266,8 @@ const Field = () => { .replace(/\/\//g, "/") .replace(/\/$/, "") .replace(/\/-\//g, "-") - .replace(/\/:\//g, ":"), + .replace(/\/:\//g, ":") + .replace(/^\//, ""), locale ); };