34 lines
939 B
JavaScript
34 lines
939 B
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 5d5b47876e53e564.da1ba52a93.js
|
|
* Module id: 598839
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, r) => {
|
|
var n = {
|
|
utf8: {
|
|
stringToBytes: function (e) {
|
|
return n.bin.stringToBytes(unescape(encodeURIComponent(e)));
|
|
},
|
|
bytesToString: function (e) {
|
|
return decodeURIComponent(escape(n.bin.bytesToString(e)));
|
|
},
|
|
},
|
|
bin: {
|
|
stringToBytes: function (e) {
|
|
for (var t = [], r = 0; r < e.length; r++)
|
|
t.push(255 & e.charCodeAt(r));
|
|
return t;
|
|
},
|
|
bytesToString: function (e) {
|
|
for (var t = [], r = 0; r < e.length; r++)
|
|
t.push(String.fromCharCode(e[r]));
|
|
return t.join("");
|
|
},
|
|
},
|
|
};
|
|
t.exports = n;
|
|
};
|
|
|
|
export default moduleFactory;
|