/*! For license information please see create-i18n.js.LICENSE.txt */
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["vendor/create-i18n"],{"../node_modules/@wordpress/i18n/build-module/create-i18n.js":(t,e,a)=>{a.r(e),a.d(e,{createI18n:()=>d});var n=a("../node_modules/tannin/index.js");const l={plural_forms:t=>1===t?0:1},r=/^i18n\.(n?gettext|has_translation)(_|$)/,d=(t,e,a)=>{const d=new n.default({}),i=new Set,s=()=>{i.forEach((t=>t()))},o=(t,e="default")=>{d.data[e]={...d.data[e],...t},d.data[e][""]={...l,...d.data[e]?.[""]},delete d.pluralForms[e]},p=(t,e)=>{o(t,e),s()},u=(t="default",e,a,n,l)=>(d.data[t]||o(void 0,t),d.dcnpgettext(t,e,a,n,l)),c=(t="default")=>t,_=(t,e,n)=>{let l=u(n,e,t);return a?(l=a.applyFilters("i18n.gettext_with_context",l,t,e,n),a.applyFilters("i18n.gettext_with_context_"+c(n),l,t,e,n)):l};if(t&&p(t,e),a){const t=t=>{r.test(t)&&s()};a.addAction("hookAdded","core/i18n",t),a.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:(t="default")=>d.data[t],setLocaleData:p,addLocaleData:(t,e="default")=>{d.data[e]={...d.data[e],...t,"":{...l,...d.data[e]?.[""],...t?.[""]}},delete d.pluralForms[e],s()},resetLocaleData:(t,e)=>{d.data={},d.pluralForms={},p(t,e)},subscribe:t=>(i.add(t),()=>i.delete(t)),__:(t,e)=>{let n=u(e,void 0,t);return a?(n=a.applyFilters("i18n.gettext",n,t,e),a.applyFilters("i18n.gettext_"+c(e),n,t,e)):n},_x:_,_n:(t,e,n,l)=>{let r=u(l,void 0,t,e,n);return a?(r=a.applyFilters("i18n.ngettext",r,t,e,n,l),a.applyFilters("i18n.ngettext_"+c(l),r,t,e,n,l)):r},_nx:(t,e,n,l,r)=>{let d=u(r,l,t,e,n);return a?(d=a.applyFilters("i18n.ngettext_with_context",d,t,e,n,l,r),a.applyFilters("i18n.ngettext_with_context_"+c(r),d,t,e,n,l,r)):d},isRTL:()=>"rtl"===_("ltr","text direction"),hasTranslation:(t,e,n)=>{const l=e?e+""+t:t;let r=!!d.data?.[null!=n?n:"default"]?.[l];return a&&(r=a.applyFilters("i18n.has_translation",r,t,e,n),r=a.applyFilters("i18n.has_translation_"+c(n),r,t,e,n)),r}}}}}]);