Edit file File name : i18n-loader.js Content :(()=>{var e={477:function(e){e.exports=function(e){function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n={};return r.m=e,r.c=n,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r(r.s=1)}([function(e,r,n){"use strict";function t(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function e(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}return function(r,n,t){return n&&e(r.prototype,n),t&&e(r,t),r}}(),a=function(){function e(){t(this,e)}return o(e,null,[{key:"hash",value:function(r){return e.hex(e.md51(r))}},{key:"md5cycle",value:function(r,n){var t=r[0],o=r[1],a=r[2],i=r[3];t=e.ff(t,o,a,i,n[0],7,-680876936),i=e.ff(i,t,o,a,n[1],12,-389564586),a=e.ff(a,i,t,o,n[2],17,606105819),o=e.ff(o,a,i,t,n[3],22,-1044525330),t=e.ff(t,o,a,i,n[4],7,-176418897),i=e.ff(i,t,o,a,n[5],12,1200080426),a=e.ff(a,i,t,o,n[6],17,-1473231341),o=e.ff(o,a,i,t,n[7],22,-45705983),t=e.ff(t,o,a,i,n[8],7,1770035416),i=e.ff(i,t,o,a,n[9],12,-1958414417),a=e.ff(a,i,t,o,n[10],17,-42063),o=e.ff(o,a,i,t,n[11],22,-1990404162),t=e.ff(t,o,a,i,n[12],7,1804603682),i=e.ff(i,t,o,a,n[13],12,-40341101),a=e.ff(a,i,t,o,n[14],17,-1502002290),o=e.ff(o,a,i,t,n[15],22,1236535329),t=e.gg(t,o,a,i,n[1],5,-165796510),i=e.gg(i,t,o,a,n[6],9,-1069501632),a=e.gg(a,i,t,o,n[11],14,643717713),o=e.gg(o,a,i,t,n[0],20,-373897302),t=e.gg(t,o,a,i,n[5],5,-701558691),i=e.gg(i,t,o,a,n[10],9,38016083),a=e.gg(a,i,t,o,n[15],14,-660478335),o=e.gg(o,a,i,t,n[4],20,-405537848),t=e.gg(t,o,a,i,n[9],5,568446438),i=e.gg(i,t,o,a,n[14],9,-1019803690),a=e.gg(a,i,t,o,n[3],14,-187363961),o=e.gg(o,a,i,t,n[8],20,1163531501),t=e.gg(t,o,a,i,n[13],5,-1444681467),i=e.gg(i,t,o,a,n[2],9,-51403784),a=e.gg(a,i,t,o,n[7],14,1735328473),o=e.gg(o,a,i,t,n[12],20,-1926607734),t=e.hh(t,o,a,i,n[5],4,-378558),i=e.hh(i,t,o,a,n[8],11,-2022574463),a=e.hh(a,i,t,o,n[11],16,1839030562),o=e.hh(o,a,i,t,n[14],23,-35309556),t=e.hh(t,o,a,i,n[1],4,-1530992060),i=e.hh(i,t,o,a,n[4],11,1272893353),a=e.hh(a,i,t,o,n[7],16,-155497632),o=e.hh(o,a,i,t,n[10],23,-1094730640),t=e.hh(t,o,a,i,n[13],4,681279174),i=e.hh(i,t,o,a,n[0],11,-358537222),a=e.hh(a,i,t,o,n[3],16,-722521979),o=e.hh(o,a,i,t,n[6],23,76029189),t=e.hh(t,o,a,i,n[9],4,-640364487),i=e.hh(i,t,o,a,n[12],11,-421815835),a=e.hh(a,i,t,o,n[15],16,530742520),o=e.hh(o,a,i,t,n[2],23,-995338651),t=e.ii(t,o,a,i,n[0],6,-198630844),i=e.ii(i,t,o,a,n[7],10,1126891415),a=e.ii(a,i,t,o,n[14],15,-1416354905),o=e.ii(o,a,i,t,n[5],21,-57434055),t=e.ii(t,o,a,i,n[12],6,1700485571),i=e.ii(i,t,o,a,n[3],10,-1894986606),a=e.ii(a,i,t,o,n[10],15,-1051523),o=e.ii(o,a,i,t,n[1],21,-2054922799),t=e.ii(t,o,a,i,n[8],6,1873313359),i=e.ii(i,t,o,a,n[15],10,-30611744),a=e.ii(a,i,t,o,n[6],15,-1560198380),o=e.ii(o,a,i,t,n[13],21,1309151649),t=e.ii(t,o,a,i,n[4],6,-145523070),i=e.ii(i,t,o,a,n[11],10,-1120210379),a=e.ii(a,i,t,o,n[2],15,718787259),o=e.ii(o,a,i,t,n[9],21,-343485551),r[0]=t+r[0]&4294967295,r[1]=o+r[1]&4294967295,r[2]=a+r[2]&4294967295,r[3]=i+r[3]&4294967295}},{key:"cmn",value:function(e,r,n,t,o,a){return((r=(r+e&4294967295)+(t+a&4294967295)&4294967295)<<o|r>>>32-o)+n&4294967295}},{key:"ff",value:function(r,n,t,o,a,i,f){return e.cmn(n&t|~n&o,r,n,a,i,f)}},{key:"gg",value:function(r,n,t,o,a,i,f){return e.cmn(n&o|t&~o,r,n,a,i,f)}},{key:"hh",value:function(r,n,t,o,a,i,f){return e.cmn(n^t^o,r,n,a,i,f)}},{key:"ii",value:function(r,n,t,o,a,i,f){return e.cmn(t^(n|~o),r,n,a,i,f)}},{key:"md51",value:function(r){for(var n=r.length,t=[1732584193,-271733879,-1732584194,271733878],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],a=0,i=64;i<=n;i+=64)e.md5cycle(t,e.md5blk(r.substring(i-64,i)));for(r=r.substring(i-64),i=0,a=r.length;i<a;i++)o[i>>2]|=r.charCodeAt(i)<<(i%4<<3);if(o[i>>2]|=128<<(i%4<<3),i>55)for(e.md5cycle(t,o),i=0;i<16;i++)o[i]=0;return o[14]=8*n,e.md5cycle(t,o),t}},{key:"md5blk",value:function(e){for(var r=[],n=0;n<64;n+=4)r[n>>2]=e.charCodeAt(n)+(e.charCodeAt(n+1)<<8)+(e.charCodeAt(n+2)<<16)+(e.charCodeAt(n+3)<<24);return r}},{key:"rhex",value:function(r){var n="";return n+=e.hexArray[r>>4&15]+e.hexArray[15&r],n+=e.hexArray[r>>12&15]+e.hexArray[r>>8&15],(n+=e.hexArray[r>>20&15]+e.hexArray[r>>16&15])+(e.hexArray[r>>28&15]+e.hexArray[r>>24&15])}},{key:"hex",value:function(r){for(var n=r.length,t=0;t<n;t++)r[t]=e.rhex(r[t]);return r.join("")}}]),e}();a.hexArray=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],r.default=a},function(e,r,n){e.exports=n(0)}])},305:(e,r,n)=>{const t=n(723),{default:o}=n(477),a={plugin:"plugins/",theme:"themes/",core:""},i=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);e.exports={state:{baseUrl:null,locale:null,domainMap:{},domainPaths:{}},async downloadI18n(e,r,n){const f=this.state;if(!f||"string"!=typeof f.baseUrl)throw new Error("wp.jpI18nLoader.state is not set");if("en_US"===f.locale)return;if("undefined"==typeof fetch)throw new Error("Fetch API is not available.");const u=i(f.domainPaths,r)?f.domainPaths[r]:"";let c,h;const l=e.indexOf("?");l>=0?(c=o.hash(u+e.substring(0,l)),h=e.substring(l)):(c=o.hash(u+e),h="");const s=i(f.domainMap,r)?f.domainMap[r]:a[n]+r,g=await fetch(`${f.baseUrl}${s}-${f.locale}-${c}.json${h}`);if(!g.ok)throw new Error(`HTTP request failed: ${g.status} ${g.statusText}`);const d=await g.json(),p=i(d.locale_data,r)?d.locale_data[r]:d.locale_data.messages;p[""].domain=r,t.setLocaleData(p,r)}}},723:e=>{"use strict";e.exports=window.wp.i18n}},r={};var n=function n(t){var o=r[t];if(void 0!==o)return o.exports;var a=r[t]={exports:{}};return e[t].call(a.exports,a,a.exports,n),a.exports}(305);(window.wp=window.wp||{}).jpI18nLoader=n})(); Save