PageSourceSearch

https://goldenrabbit.co.kr/_next/static/chunks/2cp9sa7h1-94t.js?dpl=1790062022

js goldenrabbit.co.kr collected 2026-09-25 15:02:20 UTC 35,286 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3345,t=>{"use strict";var e=t.i(35020);t.s(["onAuthStateChanged",()=>e._])},52246,39809,83113,t=>{"use strict";var e=t.i(35020);t.s(["signInWithPopup",()=>e.ai],52246),t.s(["signInWithRedirect",()=>e.aj],39809),t.s(["getRedirectResult",()=>e.K],83113)},51984,t=>{"use strict";var e=t.i(35020);t.s(["signOut",()=>e.ak])},67034,(t,e,r)=>{var n={872:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=u(t),a=o[0],s=o[1],f=new i((a+s)*3/4-s),h=0,l=s>0?a-4:a;for(r=0;r<l;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],f[h++]=e>>16&255,f[h++]=e>>8&255,f[h++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,f[h++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,f[h++]=e>>8&255,f[h++]=255&e),f},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},230:function(t,e,r){"use strict";var n=r(872),i=r(321),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),u=a(o),f=u.write(n,i);return f!==o&&(u=u.slice(0,f)),u}if(ArrayBuffer.isView(t))return l(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var h=t.valueOf&&t.valueOf();if(null!=h&&h!==t)return s.from(h,e,r);var d=function(t){if(s.isBuffer(t)){var e=0|c(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):l(t):"Buffer"===t.type&&Array.isArray(t.data)?l(t.data):void 0}(t);if(d)return d;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function f(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return f(t),a(t<0?0:0|c(t))}function l(t){for(var e=t.length<0?0:0|c(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!s.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(f(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return h(t)},s.allocUnsafeSlow=function(t){return h(t)};function c(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(t).length;default:if(i)return n?-1:S(t).length;e=(""+e).toLowerCase(),i=!0}}function d(t,e,r){var i,o,a,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=U[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return A(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return m(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function m(t,e,r,n,i){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,s/=2,u/=2,r/=2}function f(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var h=-1;for(o=r;o<s;o++)if(f(t,o)===f(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===u)return h*a}
vendor: 12,334 bytes, line 1
1else -1!==h&&(o-=o-h),h=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var l=!0,c=0;c<u;c++)if(f(t,o+c)!==f(e,c)){l=!1;break}if(l)return o}return -1}s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(I(o,Uint8Array)&&(o=s.from(o)),!s.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?A(this,0,t):d.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,a=r-e,u=Math.min(o,a),f=this.slice(n,i),h=t.slice(e,r),l=0;l<u;++l)if(f[l]!==h[l]){o=f[l],a=h[l];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)};function A(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,u,f=t[i],h=null,l=f>239?4:f>223?3:f>191?2:1;if(i+l<=r)switch(l){case 1:f<128&&(h=f);break;case 2:(192&(o=t[i+1]))==128&&(u=(31&f)<<6|63&o)>127&&(h=u);break;case 3:o=t[i+1],a=t[i+2],(192&o)==128&&(192&a)==128&&(u=(15&f)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(u=(15&f)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(h=u)}null===h?(h=65533,l=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=l}var c=n,p=c.length;if(p<=4096)return String.fromCharCode.apply(String,c);for(var d="",g=0;g<p;)d+=String.fromCharCode.apply(String,c.slice(g,g+=4096));return d}function v(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function b(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function E(t,e,r,n,o){return e*=1,r>>>=0,o||b(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function T(t,e,r,n,o){return e*=1,r>>>=0,o||b(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,u,f,h,l,c=this.length-e;if((void 0===r||r>c)&&(r=c),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,u=parseInt(e.substr(2*a,2),16);if((s=u)!=s)break;t[r+a]=u}return a}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,C(S(t,this.length-i),this,i,o);case"ascii":return a=e,s=r,C(B(t),this,a,s);case"latin1":case"binary":return function(t,e,r,n){return C(B(e),t,r,n)}(this,t,e,r);case"base64":return u=e,f=r,C(R(t),this,u,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=e,l=r,C(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-h),this,h,l);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUInt8=function(t,e){return t>>>=0,e||v(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||v(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||v(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||v(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||v(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||v(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,t,e,r,i,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,t,e,r,i,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return E(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return E(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return T(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return T(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:s.from(t,n),u=a.length;
1if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var x=/[^+/0-9A-Za-z-_]/g;function S(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function B(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function R(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function C(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function I(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var U=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},321:function(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,f=u>>1,h=-7,l=r?i-1:0,c=r?-1:1,p=t[e+l];for(l+=c,o=p&(1<<-h)-1,p>>=-h,h+=s;h>0;o=256*o+t[e+l],l+=c,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=256*a+t[e+l],l+=c,h-=8);if(0===o)o=1-f;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=f}return(p?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,f=8*o-i-1,h=(1<<f)-1,l=h>>1,c=5960464477539062e-23*(23===i),p=n?0:o-1,d=n?1:-1,g=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+l>=1?e+=c/u:e+=c*Math.pow(2,1-l),e*u>=2&&(a++,u/=2),a+l>=h?(s=0,a=h):a+l>=1?(s=(e*u-1)*Math.pow(2,i),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;t[r+p]=255&a,p+=d,a/=256,f-=8);t[r+p-d]|=128*g}}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}},a=!0;try{n[t](r,r.exports,o),a=!1}finally{a&&delete i[t]}return r.exports}o.ab="/ROOT/node_modules/next/dist/compiled/buffer/",e.exports=o(230)},18566,(t,e,r)=>{e.exports=t.r(76562)},18917,t=>{"use strict";function e(){if("u"<typeof navigator)return null;let t=navigator.userAgent||"";return/KAKAOTALK/i.test(t)?"카카오톡":/NAVER\(/i.test(t)?"네이버":/Threads|Barcelona/i.test(t)?"스레드":/Instagram/i.test(t)?"인스타그램":/FBAN|FBAV/i.test(t)?"페이스북":/Line\//i.test(t)?"라인":null}async function r(t){let r=t||window.location.href,n=e();try{await navigator.clipboard.writeText(r)}catch{}let i=[],o="";"스레드"===n?(o="오른쪽 상단 ··· 을 누르세요",i=[{icon:"🔧",label:"브라우저 설정",highlight:!1},{icon:"🔗",label:"외부 브라우저에서 열기",highlight:!0},{icon:"ⓘ",label:"개인정보처리방침",highlight:!1}]):"인스타그램"===n?(o="오른쪽 상단 ··· 을 누르세요",i=[{icon:"🔗",label:"브라우저에서 열기",highlight:!0},{icon:"📋",label:"링크 복사",highlight:!1},{icon:"↗️",label:"공유하기",highlight:!1}]):"페이스북"===n?(o="오른쪽 하단 ··· 을 누르세요",i=[{icon:"🔗",label:"브라우저에서 열기",highlight:!0},{icon:"📋",label:"링크 복사",highlight:!1}]):(o="Safari/Chrome에서 열어주세요",i=[{icon:"🔗",label:"외부 브라우저에서 열기",highlight:!0}]);let a=document.getElementById("inapp-browser-guide");a&&a.remove();let s=document.createElement("div");s.id="inapp-browser-guide",s.style.cssText="position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.6);z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;";let u=document.createElement("div");u.style.cssText="background:#fff;border-radius:20px;max-width:320px;width:100%;padding:28px 24px 20px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,0.3);";let f=document.createElement("div");f.style.cssText="font-size:17px;font-weight:700;color:#1f2937;margin-bottom:6px;",f.textContent=`${n||"앱"}에서는 로그인이 제한됩니다`,u.appendChild(f);let h=document.createElement("div");h.style.cssText="font-size:14px;color:#6b7280;margin-bottom:20px;
1",h.textContent=o,u.appendChild(h);let l=document.createElement("div");l.style.cssText="background:#2c2c2e;border-radius:14px;overflow:hidden;margin-bottom:20px;",i.forEach((t,e)=>{let r=document.createElement("div");r.style.cssText=`display:flex;align-items:center;padding:13px 16px;color:#fff;font-size:15px;${e<i.length-1?"border-bottom:1px solid #3a3a3c;":""}`,t.highlight&&(r.style.cssText+="background:#3b82f6;font-weight:600;");let n=document.createElement("span");n.style.cssText="margin-right:12px;font-size:16px;",n.textContent=t.icon,r.appendChild(n);let o=document.createElement("span");if(o.textContent=t.label,t.highlight){o.style.cssText="flex:1;";let t=document.createElement("span");t.textContent="👈",t.style.cssText="font-size:18px;",r.appendChild(o),r.appendChild(t)}else r.appendChild(o);l.appendChild(r)}),u.appendChild(l);let c=document.createElement("div");c.style.cssText="font-size:13px;color:#059669;margin-bottom:16px;",c.textContent="✓ 주소가 클립보드에 복사되었습니다",u.appendChild(c);let p=document.createElement("button");p.style.cssText="width:100%;padding:14px;border:none;border-radius:12px;background:#f3f4f6;color:#374151;font-size:16px;font-weight:600;cursor:pointer;",p.textContent="확인",p.onclick=()=>s.remove(),u.appendChild(p),s.appendChild(u),s.onclick=t=>{t.target===s&&s.remove()},document.body.appendChild(s)}t.s(["getInAppBrowserName",0,e,"isInAppBrowser",0,function(){if("u"<typeof navigator)return!1;let t=navigator.userAgent||"";return/KAKAOTALK|NAVER\(|Instagram|Threads|Barcelona|FBAN|FBAV|Line\//i.test(t)},"openInExternalBrowser",0,function(t){let e=t||window.location.href,r=navigator.userAgent||"";if(/Android/i.test(r)){let t=`intent://${e.replace(/https?:\/\//,"")}#Intent;scheme=https;package=com.android.chrome;end`;return window.location.href=t,!0}return!!(/iPhone|iPad|iPod/i.test(r)&&/KAKAOTALK/i.test(r))&&(window.location.href=`kakaotalk://web/openExternal?url=${encodeURIComponent(e)}`,!0)},"showExternalBrowserGuide",0,r])},15062,t=>{"use strict";var e=t.i(18050),r=t.i(71645);t.i(51718);var n=t.i(3345),i=t.i(52246),o=t.i(39809),a=t.i(83113),s=t.i(51984),u=t.i(6100);t.i(61978);var f=t.i(52831),h=t.i(746),l=t.i(18917);function c(){let t=navigator.userAgent||"";return/Android|iPhone|iPad|iPod|Mobile/i.test(t)||window.matchMedia?.("(pointer: coarse)").matches===!0}function p(t){return"auth/popup-blocked"===t||"auth/cancelled-popup-request"===t||"auth/network-request-failed"===t||"auth/internal-error"===t}let d={MEMBER:"member",PROFESSOR:"professor",ACADEMY:"academy",STAFF:"staff",EDITOR:"editor",ADMIN:"admin"},g="auth.profile.v1",y="auth.diag.pending.v1";function m(){try{return"1"===sessionStorage.getItem(y)}catch{return!1}}function A(t,e){(0,h.callLogAuthError)({type:"login",errorCode:`AUTH_DIAG_${t}`,errorMessage:e?JSON.stringify(e).slice(0,900):"",...{userAgent:navigator.userAgent,url:window.location.href}}).catch(()=>{})}function v(t){try{sessionStorage.setItem(g,JSON.stringify(t))}catch{}}function w(){try{sessionStorage.removeItem(g)}catch{}}let b=(0,r.createContext)(void 0);t.s(["AuthProvider",0,function({children:t}){let[E,T]=(0,r.useState)(null),[x,S]=(0,r.useState)(!0),[B,R]=(0,r.useState)(!1),[C,I]=(0,r.useState)(!1),[U,O]=(0,r.useState)(!1),[P,L]=(0,r.useState)(!1),[M,_]=(0,r.useState)(!1),[k,D]=(0,r.useState)(!1),[N,F]=(0,r.useState)(!1),[j,z]=(0,r.useState)(!1),[K,Y]=(0,r.useState)(!1),[W,V]=(0,r.useState)(null),[G,$]=(0,r.useState)(!1),[q,H]=(0,r.useState)(null),[J,X]=(0,r.useState)(!1),[Z,Q]=(0,r.useState)(!1),tt=(0,r.useRef)(null),te=(0,r.useCallback)(()=>{tt.current=null,T(null),R(!1),I(!1),O(!1),L(!1),_(!1),D(!1),F(!1),z(!1),Y(!1),V(null),$(!1),H(null),X(!1)},[]),tr=(0,r.useRef)(async()=>{}),tn=(0,r.useCallback)(async(t,e=0,r=!1)=>{if(!t){m()&&A("METADATA_NO_USER"),te(),S(!1),w();return}if(0===e&&!r){let e=function(t){try{let e=sessionStorage.getItem(g);if(!e)return null;let r=JSON.parse(e);if(r.uid!==t||Date.now()-r.cachedAt>3e5)return null;return r}catch{return null}}(t.uid);if(e){if(T(t),R(e.adminClaim),Y(e.hrAccess),e.profile){let t=e.profile,r=t.role||d.MEMBER,n=r===d.STAFF||r===d.EDITOR||r===d.ADMIN,i=t.academyApplication?.status==="approved",o=t.wholesaleApplication?.status==="approved",a=t.professorApplication?.status==="approved",s=t.supporterApplication?.status==="approved";$(!0),H({id:t.id,...t}),V(e.adminClaim?d.ADMIN:r),F(e.adminClaim||n),L(e.adminClaim||r===d.A
1CADEMY||i),_(e.adminClaim||o),D(s),I(e.adminClaim||n||r===d.PROFESSOR||r===d.ACADEMY||a),O(e.adminClaim||n||e.profile?.teacherApplication?.status==="approved"),z(e.adminClaim||r===d.EDITOR||r===d.ADMIN)}else $(!1),H(null);X(!1),S(!1),tt.current=t.uid,tr.current(t,0,!0).catch(()=>{});return}}0!==e||r||(T(t),S(!0),X(!1));try{!r&&m()&&A("METADATA_START",{uid:t.uid,retryCount:e});let n=(0,f.httpsCallable)(h.functions,"getMyProfile"),i=await Promise.race([n(),new Promise((t,e)=>setTimeout(()=>e(Error("AUTH_METADATA_TIMEOUT")),8e3))]),o=!0===i.data.adminClaim;R(o);let a=!0===i.data.hrAccess;Y(a);let s=t=>{let e=t?.role||d.MEMBER;V(e);let r=e===d.STAFF||e===d.EDITOR||e===d.ADMIN;F(r);let n=t?.academyApplication?.status==="approved";L(o||e===d.ACADEMY||n);let i=t?.wholesaleApplication?.status==="approved";_(o||i);let a=t?.supporterApplication?.status==="approved";D(a);let s=t?.professorApplication?.status==="approved";I(r||e===d.PROFESSOR||e===d.ACADEMY||s);let u=t?.teacherApplication?.status==="approved";O(r||u),z(e===d.EDITOR||e===d.ADMIN),o&&(V(d.ADMIN),I(!0),O(!0),L(!0),_(!0),F(!0),z(!0))};if(v({uid:t.uid,profile:i.data.profile,adminClaim:o,hrAccess:a,cachedAt:Date.now()}),i.data.profile){let t=i.data.profile;$(!0),H({id:t.id,...t}),s(t),r||(0,f.httpsCallable)(h.adminFunctions,"updateLastLogin")().catch(()=>{})}else if(o)$(!0),H({id:t.uid,displayName:t.displayName??"",email:t.email??"",photoURL:t.photoURL??"",isAdmin:!0,role:d.ADMIN}),s({role:d.ADMIN});else try{let e=(0,f.httpsCallable)(h.functions,"completeSignup");await e({subscribeNewsletter:!1});let i=await Promise.race([n(),new Promise((t,e)=>setTimeout(()=>e(Error("AUTH_METADATA_TIMEOUT")),8e3))]);if(i.data.profile){let e=i.data.profile;$(!0),H({id:e.id,...e}),s(e),v({uid:t.uid,profile:i.data.profile,adminClaim:!0===i.data.adminClaim,hrAccess:!0===i.data.hrAccess,cachedAt:Date.now()}),r||(0,f.httpsCallable)(h.adminFunctions,"updateLastLogin")().catch(()=>{})}else $(!1),H(null)}catch(t){console.error("자동 가입 처리 실패:",t),$(!1),H(null)}if(!r&&m()){A("METADATA_SUCCESS",{uid:t.uid,isRegistered:!!i.data.profile||o,adminClaim:o,hrAccess:a});try{sessionStorage.removeItem(y)}catch{}}X(!1),S(!1),tt.current=t.uid}catch(n){if(!r&&m()&&A("METADATA_ERROR",{uid:t.uid,retryCount:e,message:n instanceof Error?n.message:String(n)}),console.error(`사용자 상태 정보를 불러오지 못했습니다. (시도 ${e+1}/3)`,n),e<2){let r=(e+1)*1e3;return await new Promise(t=>setTimeout(t,r)),tr.current(t,e+1)}tt.current=null,R(!1),I(!1),O(!1),F(!1),z(!1),Y(!1),V(null),$(!1),H(null),X(!0),S(!1)}},[te]);(0,r.useEffect)(()=>{tr.current=tn},[tn]);let ti=(0,r.useCallback)(async(t=!1)=>{let e=h.auth.currentUser;e?await tn(e,0,t):te()},[tn,te]),to=(0,r.useCallback)(async t=>{try{let e=await t.getIdToken(!0),r=await fetch("/api/auth/session",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({idToken:e})});if(r.ok)return"ok";if(403===r.status)return"blocked";return"error"}catch(t){return console.error("서버 세션 생성 실패:",t),"error"}},[]);(0,r.useEffect)(()=>{let t=!1;m()&&A("REDIRECT_RESULT_START"),(0,a.getRedirectResult)(h.auth).then(t=>{m()&&A(t?.user?"REDIRECT_RESULT_USER":"REDIRECT_RESULT_NULL",{uid:t?.user?.uid})}).catch(t=>{console.error("redirect 로그인 결과 처리 실패:",t);let e=t?.code||"",r=t?.message||"";(0,h.callLogAuthError)({type:"login",errorCode:e,errorMessage:r,userAgent:"u">typeof navigator?navigator.userAgent:void 0,url:window.location.href}).catch(()=>{})});let e=setTimeout(()=>{t||(console.warn("Auth state not resolved within timeout, setting loading to false"),S(!1))},3e3),r=(0,n.onAuthStateChanged)(h.auth,async r=>{if(t=!0,clearTimeout(e),m()&&A(r?"AUTH_STATE_USER":"AUTH_STATE_NULL",{uid:r?.uid}),r&&r.uid===tt.current)return;if(!r){if(await new Promise(t=>setTimeout(t,350)),h.auth.currentUser)return;te(),S(!1),w();return}let n=await to(r);if(m()&&A("SERVER_SESSION_RESULT",{uid:r.uid,sessionResult:n}),"blocked"===n){w(),te(),Q(!0);try{await (0,s.signOut)(h.auth)}catch{}S(!1);return}Q(!1),tn(r)});return()=>{clearTimeout(e),r()}},[tn,te,to]);let ta=(0,r.useCallback)(async()=>{try{sessionStorage.setItem(y,"1")}catch{}if(A("SIGNIN_TAP",{mobileAuthEnvironment:c(),inAppBrowser:(0,l.isInAppBrowser)()}),(0,l.isInAppBrowser)()){A("INAPP_BROWSER"),(0,l.openInExternalBrowser)()||await (0,l.showExternalBrowserGuide)();return}let t=new u.GoogleAuthProvider;if(c()){try{A("MOBILE_POPUP_START"),await (0,i.signInWithPopup)(h.auth,t)}catch(r){let e=r?.code||"";if(A("MOBILE_POPUP_ERROR",{code:e,message:r instanceof Error?r.message:String(r)}),"auth/popup-closed-by-user"===e||"auth/user-cancelled"===e)throw r;
1if(p(e)){A("MOBILE_POPUP_FALLBACK_REDIRECT",{code:e}),await (0,o.signInWithRedirect)(h.auth,t);return}throw r}return}try{A("POPUP_START"),await (0,i.signInWithPopup)(h.auth,t)}catch(r){let e=r?.code||"";if(p(e)){A("POPUP_FALLBACK_REDIRECT",{code:e}),await (0,o.signInWithRedirect)(h.auth,t);return}throw A("POPUP_ERROR",{code:e,message:r instanceof Error?r.message:String(r)}),console.error("Google 로그인 실패:",r),r}},[]),ts=(0,r.useCallback)(async()=>{try{await (0,s.signOut)(h.auth),await fetch("/api/auth/session",{method:"DELETE"})}catch(t){throw console.error("로그아웃 실패:",t),t}},[]),tu=(0,r.useMemo)(()=>({user:E,loading:x,isAuthenticated:!!E,isAdmin:B,isProfessor:C,isTeacher:U,isAcademy:P,isWholesale:M,isSupporter:k,isStaff:N,isEditor:j,hasHRAccess:K,role:W,isRegistered:G,profile:q,authError:J,blocked:Z,signInWithGoogle:ta,signOut:ts,refreshUserState:ti}),[E,x,B,C,U,P,M,k,N,j,K,W,G,q,J,Z,ta,ts,ti]);return(0,e.jsx)(b.Provider,{value:tu,children:t})},"USER_ROLES",0,d,"useAuth",0,function(){let t=(0,r.useContext)(b);if(void 0===t)throw Error("useAuth must be used within an AuthProvider");return t}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.