/*! For license information please see sprintf.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([["vendor/sprintf"],{"../node_modules/@wordpress/i18n/build-module/sprintf.js":(e,r,n)=>{"use strict";n.r(r),n.d(r,{sprintf:()=>a});var t=n("../node_modules/memize/dist/index.js"),s=n("../node_modules/sprintf-js/src/sprintf.js"),i=n.n(s);const o=(0,t.default)(console.error);function a(e,...r){try{return i().sprintf(e,...r)}catch(n){return n instanceof Error&&o("sprintf error: \n\n"+n.toString()),e}}},"../node_modules/sprintf-js/src/sprintf.js":(e,r,n)=>{var t;!function(){"use strict";var s={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return function(e,r){var n,t,o,a,p,c,l,u,f,d=1,g=e.length,h="";for(t=0;t<g;t++)if("string"==typeof e[t])h+=e[t];else if("object"==typeof e[t]){if((a=e[t]).keys)for(n=r[d],o=0;o<a.keys.length;o++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[o],a.keys[o-1]));n=n[a.keys[o]]}else n=a.param_no?r[a.param_no]:r[d++];if(s.not_type.test(a.type)&&s.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),s.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(s.number.test(a.type)&&(u=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}s.json.test(a.type)?h+=n:(!s.number.test(a.type)||u&&!a.sign?f="":(f=u?"+":"-",n=n.toString().replace(s.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",l=a.width-(f+n).length,p=a.width&&l>0?c.repeat(l):"",h+=a.align?f+n+p:"0"===c?f+p+n:p+f+n)}return h}(function(e){if(a[e])return a[e];var r,n=e,t=[],i=0;for(;n;){if(null!==(r=s.text.exec(n)))t.push(r[0]);else if(null!==(r=s.modulo.exec(n)))t.push("%");else{if(null===(r=s.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(r[2]){i|=1;var o=[],p=r[2],c=[];if(null===(c=s.key.exec(p)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(o.push(c[1]);""!==(p=p.substring(c[0].length));)if(null!==(c=s.key_access.exec(p)))o.push(c[1]);else{if(null===(c=s.index_access.exec(p)))throw new SyntaxError("[sprintf] failed to parse named argument key");o.push(c[1])}r[2]=o}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");t.push({placeholder:r[0],param_no:r[1],keys:r[2],sign:r[3],pad_char:r[4],align:r[5],width:r[6],precision:r[7],type:r[8]})}n=n.substring(r[0].length)}return a[e]=t}(e),arguments)}function o(e,r){return i.apply(null,[e].concat(r||[]))}var a=Object.create(null);r.sprintf=i,r.vsprintf=o,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=o,void 0===(t=function(){return{sprintf:i,vsprintf:o}}.call(r,n,r,e))||(e.exports=t))}()}}]);