Spaces:
No application file
No application file
Upload 84 files
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -0
- 183.e47b2fa1.js +1 -0
- 195.3a2e080c.js +3 -0
- 195.3a2e080c.js.map +0 -0
- 256.9b0135c2.js +0 -0
- 256.9b0135c2.js.LICENSE.txt +19 -0
- 256.9b0135c2.js.map +0 -0
- 364.2af087c2.js +13 -0
- 364.2af087c2.js.LICENSE.txt +1 -0
- 364.2af087c2.js.map +0 -0
- 422.8e1ca0fa.js +24 -0
- 422.8e1ca0fa.js.LICENSE.txt +6 -0
- 422.8e1ca0fa.js.map +0 -0
- 43.46c2f4c8.js +0 -0
- 43.46c2f4c8.js.LICENSE.txt +61 -0
- 43.46c2f4c8.js.map +0 -0
- 629.36a86c96.js +0 -0
- 629.36a86c96.js.map +0 -0
- 815.f1e95658.js +2 -0
- 815.f1e95658.js.map +1 -0
- 985.ffb21172.js +2 -0
- 985.ffb21172.js.map +1 -0
- 988.dd14c178.js +0 -0
- 988.dd14c178.js.LICENSE.txt +124 -0
- 988.dd14c178.js.map +0 -0
- 9e906fbf.module.wasm +3 -0
- Apache License.txt +201 -0
- confirm.938ce766.js +2 -0
- confirm.938ce766.js.map +1 -0
- confirm.html +1 -0
- event-recorder-bridge.js +0 -0
- event-recorder-bridge.js.LICENSE.txt +69 -0
- event-recorder-bridge.js.map +0 -0
- htmlElement.js +5 -0
- htmlElement.js.LICENSE.txt +8 -0
- htmlElementDebug.js +2 -0
- htmlElementDebug.js.LICENSE.txt +8 -0
- icon128.png +0 -0
- index.335c23e8.js +0 -0
- index.335c23e8.js.LICENSE.txt +9 -0
- index.335c23e8.js.map +0 -0
- index.html +1 -0
- lib-polyfill.cd23d531.js +0 -0
- lib-polyfill.cd23d531.js.map +0 -0
- lib-react.9a9b147a.js +0 -0
- lib-react.9a9b147a.js.LICENSE.txt +39 -0
- lib-react.9a9b147a.js.map +0 -0
- open-sans-10-black.fnt +160 -0
- open-sans-10-black.png +0 -0
- open-sans-12-black.fnt +183 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
open-sans-128-black.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
open-sans-128-white.png filter=lfs diff=lfs merge=lfs -text
|
183.e47b2fa1.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
"use strict";(self.webpackChunkchrome_extension=self.webpackChunkchrome_extension||[]).push([["183"],{43842(){}}]);
|
195.3a2e080c.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";(self.webpackChunkchrome_extension=self.webpackChunkchrome_extension||[]).push([["195"],{33238(t,_,e){let n;e.r(_),e.d(_,{PhotonImage:()=>_Y,Rgb:()=>_0,Rgba:()=>_4,SamplingFilter:()=>_Q,add_noise_rand:()=>tF,adjust_brightness:()=>_y,adjust_contrast:()=>_z,alter_blue_channel:()=>h,alter_channel:()=>f,alter_channels:()=>y,alter_green_channel:()=>p,alter_red_channel:()=>d,alter_two_channels:()=>m,apply_gradient:()=>tM,b_grayscale:()=>P,base64_to_image:()=>_q,base64_to_vec:()=>_G,blend:()=>t$,box_blur:()=>tx,cali:()=>tV,color_horizontal_strips:()=>_C,color_vertical_strips:()=>_j,colorize:()=>_p,create_gradient:()=>tU,crop:()=>t3,crop_img_browser:()=>t5,darken_hsl:()=>ts,darken_hsluv:()=>tl,darken_hsv:()=>tu,darken_lch:()=>tc,dec_brightness:()=>_x,decompose_max:()=>U,decompose_min:()=>$,default:()=>_2,desaturate:()=>L,desaturate_hsl:()=>tw,desaturate_hsluv:()=>td,desaturate_hsv:()=>tb,desaturate_lch:()=>tf,detect_135_deg_lines:()=>tR,detect_45_deg_lines:()=>tC,detect_horizontal_lines:()=>tI,detect_vertical_lines:()=>tk,dither:()=>_D,dramatic:()=>tK,draw_text:()=>_S,draw_text_with_border:()=>_F,duotone:()=>_W,duotone_horizon:()=>tY,duotone_lilac:()=>t0,duotone_ochre:()=>t1,duotone_tint:()=>tZ,duotone_violette:()=>tX,edge_detection:()=>ty,edge_one:()=>tA,emboss:()=>tE,filter:()=>tq,firenze:()=>t4,fliph:()=>t6,flipv:()=>t7,frosted_glass:()=>_E,g_grayscale:()=>B,gamma_correction:()=>H,gaussian_blur:()=>tz,get_image_data:()=>_M,golden:()=>tJ,grayscale:()=>F,grayscale_human_corrected:()=>S,grayscale_shades:()=>M,halftone:()=>_f,horizontal_strips:()=>_k,hsl:()=>K,hsluv:()=>J,hsv:()=>Q,hue_rotate_hsl:()=>X,hue_rotate_hsluv:()=>tt,hue_rotate_hsv:()=>Y,hue_rotate_lch:()=>Z,identity:()=>tv,inc_brightness:()=>_v,initSync:()=>_6,invert:()=>C,laplace:()=>tj,lch:()=>V,lighten_hsl:()=>ta,lighten_hsluv:()=>to,lighten_hsv:()=>tg,lighten_lch:()=>ti,lix:()=>tB,lofi:()=>tG,mix_with_colour:()=>tp,monochrome:()=>D,monochrome_tint:()=>tQ,multiple_offsets:()=>_w,neue:()=>tN,noise_reduction:()=>th,normalize:()=>_T,obsidian:()=>t8,offset:()=>_l,offset_blue:()=>_b,offset_green:()=>_u,offset_red:()=>_s,oil:()=>_A,open_image:()=>_B,padding_bottom:()=>_a,padding_left:()=>_r,padding_right:()=>_i,padding_top:()=>_o,padding_uniform:()=>_n,pastel_pink:()=>tH,pink_noise:()=>tS,pixelize:()=>_O,prewitt_horizontal:()=>tT,primary:()=>_d,putImageData:()=>_N,r_grayscale:()=>N,remove_blue_channel:()=>I,remove_channel:()=>v,remove_green_channel:()=>z,remove_red_channel:()=>x,resample:()=>_c,resize:()=>t9,resize_img_browser:()=>t2,rotate:()=>_g,run:()=>_U,ryo:()=>tP,saturate_hsl:()=>t_,saturate_hsluv:()=>tn,saturate_hsv:()=>tr,saturate_lch:()=>te,seam_carve:()=>_t,selective_color_convert:()=>j,selective_desaturate:()=>E,selective_greyscale:()=>T,selective_hue_rotate:()=>R,selective_lighten:()=>A,selective_saturate:()=>O,sepia:()=>W,sharpen:()=>tm,shearx:()=>__,sheary:()=>_e,single_channel_grayscale:()=>q,sobel_global:()=>tW,sobel_horizontal:()=>tO,sobel_vertical:()=>tD,solarize:()=>_h,solarize_retimg:()=>_m,swap_channels:()=>k,threshold:()=>G,tint:()=>_I,to_image_data:()=>_H,to_raw_pixels:()=>_P,vertical_strips:()=>_R,watermark:()=>tL});let r=0,i=null;function o(){return(null===i||0===i.byteLength)&&(i=new Uint8Array(n.memory.buffer)),i}let a="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},g="function"==typeof a.encodeInto?function(t,_){return a.encodeInto(t,_)}:function(t,_){let e=a.encode(t);return _.set(e),{read:t.length,written:e.length}};function c(t,_,e){if(void 0===e){let e=a.encode(t),n=_(e.length,1)>>>0;return o().subarray(n,n+e.length).set(e),r=e.length,n}let n=t.length,i=_(n,1)>>>0,c=o(),l=0;for(;l<n;l++){let _=t.charCodeAt(l);if(_>127)break;c[i+l]=_}if(l!==n){0!==l&&(t=t.slice(l)),i=e(i,n,n=l+3*t.length,1)>>>0;let _=g(t,o().subarray(i+l,i+n));l+=_.written,i=e(i,n,l,1)>>>0}return r=l,i}let l=null;function s(){return(null===l||!0===l.buffer.detached||void 0===l.buffer.detached&&l.buffer!==n.memory.buffer)&&(l=new DataView(n.memory.buffer)),l}let u="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};function b(t,_){return t>>>=0,u.decode(o().subarray(t,t+_))}function w(t,_){if(!(t instanceof _))throw Error(`expected instance of ${_.name}`);return t.ptr}function f(t,_,e){w(t,_Y),n.alter_channel(t.__wbg_ptr,_,e)}function d(t,_){w(t,_Y),n.alter_red_channel(t.__wbg_ptr,_)}function p(t,_){w(t,_Y),n.alter_green_channel(t.__wbg_ptr,_)}function h(t,_){w(t,_Y),n.alter_blue_channel(t.__wbg_ptr,_)}function m(t,_,e,r,i){w(t,_Y),n.alter_two_channels(t.__wbg_ptr,_,e,r,i)}function y(t,_,e,r){w(t,_Y),n.alter_channels(t.__wbg_ptr,_,e,r)}function v(t,_,e){w(t,_Y),n.remove_channel(t.__wbg_ptr,_,e)}function x(t,_){w(t,_Y),n.remove_red_channel(t.__wbg_ptr,_)}function z(t,_){w(t,_Y),n.remove_green_channel(t.__wbg_ptr,_)}function I(t,_){w(t,_Y),n.remove_blue_channel(t.__wbg_ptr,_)}function k(t,_,e){w(t,_Y),n.swap_channels(t.__wbg_ptr,_,e)}function C(t){w(t,_Y),n.invert(t.__wbg_ptr)}function R(t,_,e){w(t,_Y),w(_,_0);var r=_.__destroy_into_raw();n.selective_hue_rotate(t.__wbg_ptr,r,e)}function j(t,_,e,r){w(t,_Y),w(_,_0);var i=_.__destroy_into_raw();w(e,_0);var o=e.__destroy_into_raw();n.selective_color_convert(t.__wbg_ptr,i,o,r)}function A(t,_,e){w(t,_Y),w(_,_0);var r=_.__destroy_into_raw();n.selective_lighten(t.__wbg_ptr,r,e)}function E(t,_,e){w(t,_Y),w(_,_0);var r=_.__destroy_into_raw();n.selective_desaturate(t.__wbg_ptr,r,e)}function O(t,_,e){w(t,_Y),w(_,_0);var r=_.__destroy_into_raw();n.selective_saturate(t.__wbg_ptr,r,e)}function T(t,_){w(t,_Y);var e=t.__destroy_into_raw();w(_,_0);var r=_.__destroy_into_raw();n.selective_greyscale(e,r)}function D(t,_,e,r){w(t,_Y),n.monochrome(t.__wbg_ptr,_,e,r)}function W(t){w(t,_Y),n.sepia(t.__wbg_ptr)}function F(t){w(t,_Y),n.grayscale(t.__wbg_ptr)}function S(t){w(t,_Y),n.grayscale_human_corrected(t.__wbg_ptr)}function L(t){w(t,_Y),n.desaturate(t.__wbg_ptr)}function $(t){w(t,_Y),n.decompose_min(t.__wbg_ptr)}function U(t){w(t,_Y),n.decompose_max(t.__wbg_ptr)}function M(t,_){w(t,_Y),n.grayscale_shades(t.__wbg_ptr,_)}function N(t){w(t,_Y),n.r_grayscale(t.__wbg_ptr)}function B(t){w(t,_Y),n.g_grayscale(t.__wbg_ptr)}function P(t){w(t,_Y),n.b_grayscale(t.__wbg_ptr)}function q(t,_){w(t,_Y),n.single_channel_grayscale(t.__wbg_ptr,_)}function G(t,_){w(t,_Y),n.threshold(t.__wbg_ptr,_)}function H(t,_,e,r){w(t,_Y),n.gamma_correction(t.__wbg_ptr,_,e,r)}function J(t,_,e){w(t,_Y);let i=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),o=r;n.hsluv(t.__wbg_ptr,i,o,e)}function V(t,_,e){w(t,_Y);let i=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),o=r;n.lch(t.__wbg_ptr,i,o,e)}function K(t,_,e){w(t,_Y);let i=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),o=r;n.hsl(t.__wbg_ptr,i,o,e)}function Q(t,_,e){w(t,_Y);let i=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),o=r;n.hsv(t.__wbg_ptr,i,o,e)}function X(t,_){w(t,_Y),n.hue_rotate_hsl(t.__wbg_ptr,_)}function Y(t,_){w(t,_Y),n.hue_rotate_hsv(t.__wbg_ptr,_)}function Z(t,_){w(t,_Y),n.hue_rotate_lch(t.__wbg_ptr,_)}function tt(t,_){w(t,_Y),n.hue_rotate_hsluv(t.__wbg_ptr,_)}function t_(t,_){w(t,_Y),n.saturate_hsl(t.__wbg_ptr,_)}function te(t,_){w(t,_Y),n.saturate_lch(t.__wbg_ptr,_)}function tn(t,_){w(t,_Y),n.saturate_hsluv(t.__wbg_ptr,_)}function tr(t,_){w(t,_Y),n.saturate_hsv(t.__wbg_ptr,_)}function ti(t,_){w(t,_Y),n.lighten_lch(t.__wbg_ptr,_)}function to(t,_){w(t,_Y),n.lighten_hsluv(t.__wbg_ptr,_)}function ta(t,_){w(t,_Y),n.lighten_hsl(t.__wbg_ptr,_)}function tg(t,_){w(t,_Y),n.lighten_hsv(t.__wbg_ptr,_)}function tc(t,_){w(t,_Y),n.darken_lch(t.__wbg_ptr,_)}function tl(t,_){w(t,_Y),n.darken_hsluv(t.__wbg_ptr,_)}function ts(t,_){w(t,_Y),n.darken_hsl(t.__wbg_ptr,_)}function tu(t,_){w(t,_Y),n.darken_hsv(t.__wbg_ptr,_)}function tb(t,_){w(t,_Y),n.desaturate_hsv(t.__wbg_ptr,_)}function tw(t,_){w(t,_Y),n.desaturate_hsl(t.__wbg_ptr,_)}function tf(t,_){w(t,_Y),n.desaturate_lch(t.__wbg_ptr,_)}function td(t,_){w(t,_Y),n.desaturate_hsluv(t.__wbg_ptr,_)}function tp(t,_,e){w(t,_Y),w(_,_0);var r=_.__destroy_into_raw();n.mix_with_colour(t.__wbg_ptr,r,e)}function th(t){w(t,_Y),n.noise_reduction(t.__wbg_ptr)}function tm(t){w(t,_Y),n.sharpen(t.__wbg_ptr)}function ty(t){w(t,_Y),n.edge_detection(t.__wbg_ptr)}function tv(t){w(t,_Y),n.identity(t.__wbg_ptr)}function tx(t){w(t,_Y),n.box_blur(t.__wbg_ptr)}function tz(t,_){w(t,_Y),n.gaussian_blur(t.__wbg_ptr,_)}function tI(t){w(t,_Y),n.detect_horizontal_lines(t.__wbg_ptr)}function tk(t){w(t,_Y),n.detect_vertical_lines(t.__wbg_ptr)}function tC(t){w(t,_Y),n.detect_45_deg_lines(t.__wbg_ptr)}function tR(t){w(t,_Y),n.detect_135_deg_lines(t.__wbg_ptr)}function tj(t){w(t,_Y),n.laplace(t.__wbg_ptr)}function tA(t){w(t,_Y),n.edge_one(t.__wbg_ptr)}function tE(t){w(t,_Y),n.emboss(t.__wbg_ptr)}function tO(t){w(t,_Y),n.sobel_horizontal(t.__wbg_ptr)}function tT(t){w(t,_Y),n.prewitt_horizontal(t.__wbg_ptr)}function tD(t){w(t,_Y),n.sobel_vertical(t.__wbg_ptr)}function tW(t){w(t,_Y),n.sobel_global(t.__wbg_ptr)}function tF(t){w(t,_Y),n.add_noise_rand(t.__wbg_ptr)}function tS(t){w(t,_Y),n.pink_noise(t.__wbg_ptr)}function tL(t,_,e,r){w(t,_Y),w(_,_Y),n.watermark(t.__wbg_ptr,_.__wbg_ptr,e,r)}function t$(t,_,e){w(t,_Y),w(_,_Y);let i=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),o=r;n.blend(t.__wbg_ptr,_.__wbg_ptr,i,o)}function tU(t,_){let e=n.create_gradient(t,_);return _Y.__wrap(e)}function tM(t){w(t,_Y),n.apply_gradient(t.__wbg_ptr)}function tN(t){w(t,_Y),n.neue(t.__wbg_ptr)}function tB(t){w(t,_Y),n.lix(t.__wbg_ptr)}function tP(t){w(t,_Y),n.ryo(t.__wbg_ptr)}function tq(t,_){w(t,_Y);let e=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=r;n.filter(t.__wbg_ptr,e,i)}function tG(t){w(t,_Y),n.lofi(t.__wbg_ptr)}function tH(t){w(t,_Y),n.pastel_pink(t.__wbg_ptr)}function tJ(t){w(t,_Y),n.golden(t.__wbg_ptr)}function tV(t){w(t,_Y),n.cali(t.__wbg_ptr)}function tK(t){w(t,_Y),n.dramatic(t.__wbg_ptr)}function tQ(t,_){w(t,_Y),w(_,_0);var e=_.__destroy_into_raw();n.monochrome_tint(t.__wbg_ptr,e)}function tX(t){w(t,_Y),n.duotone_violette(t.__wbg_ptr)}function tY(t){w(t,_Y),n.duotone_horizon(t.__wbg_ptr)}function tZ(t,_){w(t,_Y),w(_,_0);var e=_.__destroy_into_raw();n.duotone_tint(t.__wbg_ptr,e)}function t0(t){w(t,_Y),n.duotone_lilac(t.__wbg_ptr)}function t1(t){w(t,_Y),n.duotone_ochre(t.__wbg_ptr)}function t4(t){w(t,_Y),n.firenze(t.__wbg_ptr)}function t8(t){w(t,_Y),n.obsidian(t.__wbg_ptr)}function t3(t,_,e,r,i){w(t,_Y);let o=n.crop(t.__wbg_ptr,_,e,r,i);return _Y.__wrap(o)}function t5(t,_,e,r,i){return n.crop_img_browser(t,_,e,r,i)}function t6(t){w(t,_Y),n.fliph(t.__wbg_ptr)}function t7(t){w(t,_Y),n.flipv(t.__wbg_ptr)}function t2(t,_,e,r){return w(t,_Y),n.resize_img_browser(t.__wbg_ptr,_,e,r)}function t9(t,_,e,r){w(t,_Y);let i=n.resize(t.__wbg_ptr,_,e,r);return _Y.__wrap(i)}function _t(t,_,e){w(t,_Y);let r=n.seam_carve(t.__wbg_ptr,_,e);return _Y.__wrap(r)}function __(t,_){w(t,_Y);let e=n.shearx(t.__wbg_ptr,_);return _Y.__wrap(e)}function _e(t,_){w(t,_Y);let e=n.sheary(t.__wbg_ptr,_);return _Y.__wrap(e)}function _n(t,_,e){w(t,_Y),w(e,_4);var r=e.__destroy_into_raw();let i=n.padding_uniform(t.__wbg_ptr,_,r);return _Y.__wrap(i)}function _r(t,_,e){w(t,_Y),w(e,_4);var r=e.__destroy_into_raw();let i=n.padding_left(t.__wbg_ptr,_,r);return _Y.__wrap(i)}function _i(t,_,e){w(t,_Y),w(e,_4);var r=e.__destroy_into_raw();let i=n.padding_right(t.__wbg_ptr,_,r);return _Y.__wrap(i)}function _o(t,_,e){w(t,_Y),w(e,_4);var r=e.__destroy_into_raw();let i=n.padding_top(t.__wbg_ptr,_,r);return _Y.__wrap(i)}function _a(t,_,e){w(t,_Y),w(e,_4);var r=e.__destroy_into_raw();let i=n.padding_bottom(t.__wbg_ptr,_,r);return _Y.__wrap(i)}function _g(t,_){w(t,_Y);let e=n.rotate(t.__wbg_ptr,_);return _Y.__wrap(e)}function _c(t,_,e){w(t,_Y);let r=n.resample(t.__wbg_ptr,_,e);return _Y.__wrap(r)}function _l(t,_,e){w(t,_Y),n.offset(t.__wbg_ptr,_,e)}function _s(t,_){w(t,_Y),n.offset_red(t.__wbg_ptr,_)}function _u(t,_){w(t,_Y),n.offset_green(t.__wbg_ptr,_)}function _b(t,_){w(t,_Y),n.offset_blue(t.__wbg_ptr,_)}function _w(t,_,e,r){w(t,_Y),n.multiple_offsets(t.__wbg_ptr,_,e,r)}function _f(t){w(t,_Y),n.halftone(t.__wbg_ptr)}function _d(t){w(t,_Y),n.primary(t.__wbg_ptr)}function _p(t){w(t,_Y),n.colorize(t.__wbg_ptr)}function _h(t){w(t,_Y),n.solarize(t.__wbg_ptr)}function _m(t){w(t,_Y);let _=n.solarize_retimg(t.__wbg_ptr);return _Y.__wrap(_)}function _y(t,_){w(t,_Y),n.adjust_brightness(t.__wbg_ptr,_)}function _v(t,_){w(t,_Y),n.inc_brightness(t.__wbg_ptr,_)}function _x(t,_){w(t,_Y),n.dec_brightness(t.__wbg_ptr,_)}function _z(t,_){w(t,_Y),n.adjust_contrast(t.__wbg_ptr,_)}function _I(t,_,e,r){w(t,_Y),n.tint(t.__wbg_ptr,_,e,r)}function _k(t,_){w(t,_Y),n.horizontal_strips(t.__wbg_ptr,_)}function _C(t,_,e){w(t,_Y),w(e,_0);var r=e.__destroy_into_raw();n.color_horizontal_strips(t.__wbg_ptr,_,r)}function _R(t,_){w(t,_Y),n.vertical_strips(t.__wbg_ptr,_)}function _j(t,_,e){w(t,_Y),w(e,_0);var r=e.__destroy_into_raw();n.color_vertical_strips(t.__wbg_ptr,_,r)}function _A(t,_,e){w(t,_Y),n.oil(t.__wbg_ptr,_,e)}function _E(t){w(t,_Y),n.frosted_glass(t.__wbg_ptr)}function _O(t,_){w(t,_Y),n.pixelize(t.__wbg_ptr,_)}function _T(t){w(t,_Y),n.normalize(t.__wbg_ptr)}function _D(t,_){w(t,_Y),n.dither(t.__wbg_ptr,_)}function _W(t,_,e){w(t,_Y),w(_,_0);var r=_.__destroy_into_raw();w(e,_0);var i=e.__destroy_into_raw();n.duotone(t.__wbg_ptr,r,i)}function _F(t,_,e,i,o){w(t,_Y);let a=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),g=r;n.draw_text_with_border(t.__wbg_ptr,a,g,e,i,o)}function _S(t,_,e,i,o){w(t,_Y);let a=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),g=r;n.draw_text(t.__wbg_ptr,a,g,e,i,o)}function _L(t,_){let e=_(+t.length,1)>>>0;return o().set(t,e/1),r=t.length,e}function _$(t,_){return t>>>=0,o().subarray(t/1,t/1+_)}function _U(){let t=n.run();if(t[1]){var _;let e;throw _=t[0],e=n.__wbindgen_export_2.get(_),n.__externref_table_dealloc(_),e}}function _M(t,_){return n.get_image_data(t,_)}function _N(t,_,e){w(e,_Y);var r=e.__destroy_into_raw();n.putImageData(t,_,r)}function _B(t,_){let e=n.open_image(t,_);return _Y.__wrap(e)}function _P(t){let _=n.to_raw_pixels(t);var e=_$(_[0],_[1]).slice();return n.__wbindgen_free(_[0],+_[1],1),e}function _q(t){let _=c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),e=r,i=n.base64_to_image(_,e);return _Y.__wrap(i)}function _G(t){let _=c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),e=r,i=n.base64_to_vec(_,e);var o=_$(i[0],i[1]).slice();return n.__wbindgen_free(i[0],+i[1],1),o}function _H(t){w(t,_Y);var _=t.__destroy_into_raw();return n.to_image_data(_)}"undefined"!=typeof TextDecoder&&u.decode();function _J(t){let _=n.__externref_table_alloc();return n.__wbindgen_export_2.set(_,t),_}function _V(t,_){try{return t.apply(this,_)}catch(_){let t=_J(_);n.__wbindgen_exn_store(t)}}let _K=null,_Q=Object.freeze({Nearest:1,1:"Nearest",Triangle:2,2:"Triangle",CatmullRom:3,3:"CatmullRom",Gaussian:4,4:"Gaussian",Lanczos3:5,5:"Lanczos3"}),_X="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_photonimage_free(t>>>0,1));class _Y{static __wrap(t){t>>>=0;let _=Object.create(_Y.prototype);return _.__wbg_ptr=t,_X.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,_X.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_photonimage_free(t,0)}constructor(t,_,e){const i=_L(t,n.__wbindgen_malloc),o=r,a=n.photonimage_new(i,o,_,e);return this.__wbg_ptr=a>>>0,_X.register(this,this.__wbg_ptr,this),this}static new_from_base64(t){let _=c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),e=r,i=n.base64_to_image(_,e);return _Y.__wrap(i)}static new_from_byteslice(t){let _=_L(t,n.__wbindgen_malloc),e=r,i=n.photonimage_new_from_byteslice(_,e);return _Y.__wrap(i)}static new_from_blob(t){let _=n.photonimage_new_from_blob(t);return _Y.__wrap(_)}static new_from_image(t){let _=n.photonimage_new_from_image(t);return _Y.__wrap(_)}get_width(){return n.photonimage_get_width(this.__wbg_ptr)>>>0}get_raw_pixels(){let t=n.photonimage_get_raw_pixels(this.__wbg_ptr);var _=_$(t[0],t[1]).slice();return n.__wbindgen_free(t[0],+t[1],1),_}get_height(){return n.photonimage_get_height(this.__wbg_ptr)>>>0}get_base64(){let t,_;try{let e=n.photonimage_get_base64(this.__wbg_ptr);return t=e[0],_=e[1],b(e[0],e[1])}finally{n.__wbindgen_free(t,_,1)}}get_bytes(){let t=n.photonimage_get_bytes(this.__wbg_ptr);var _=_$(t[0],t[1]).slice();return n.__wbindgen_free(t[0],+t[1],1),_}get_bytes_jpeg(t){let _=n.photonimage_get_bytes_jpeg(this.__wbg_ptr,t);var e=_$(_[0],_[1]).slice();return n.__wbindgen_free(_[0],+_[1],1),e}get_bytes_webp(){let t=n.photonimage_get_bytes_webp(this.__wbg_ptr);var _=_$(t[0],t[1]).slice();return n.__wbindgen_free(t[0],+t[1],1),_}get_image_data(){return n.photonimage_get_image_data(this.__wbg_ptr)}set_imgdata(t){n.photonimage_set_imgdata(this.__wbg_ptr,t)}get_estimated_filesize(){return BigInt.asUintN(64,n.photonimage_get_estimated_filesize(this.__wbg_ptr))}}let _Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_rgb_free(t>>>0,1));class _0{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,_Z.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_rgb_free(t,0)}constructor(t,_,e){const r=n.rgb_new(t,_,e);return this.__wbg_ptr=r>>>0,_Z.register(this,this.__wbg_ptr,this),this}set_red(t){n.rgb_set_red(this.__wbg_ptr,t)}set_green(t){n.rgb_set_green(this.__wbg_ptr,t)}set_blue(t){n.rgb_set_blue(this.__wbg_ptr,t)}get_red(){return n.rgb_get_red(this.__wbg_ptr)}get_green(){return n.rgb_get_green(this.__wbg_ptr)}get_blue(){return n.rgb_get_blue(this.__wbg_ptr)}}let _1="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_rgba_free(t>>>0,1));class _4{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,_1.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_rgba_free(t,0)}constructor(t,_,e,r){const i=n.rgba_new(t,_,e,r);return this.__wbg_ptr=i>>>0,_1.register(this,this.__wbg_ptr,this),this}set_red(t){n.rgb_set_red(this.__wbg_ptr,t)}set_green(t){n.rgb_set_green(this.__wbg_ptr,t)}set_blue(t){n.rgb_set_blue(this.__wbg_ptr,t)}set_alpha(t){n.rgba_set_alpha(this.__wbg_ptr,t)}get_red(){return n.rgb_get_red(this.__wbg_ptr)}get_green(){return n.rgb_get_green(this.__wbg_ptr)}get_blue(){return n.rgb_get_blue(this.__wbg_ptr)}get_alpha(){return n.rgba_get_alpha(this.__wbg_ptr)}}async function _8(t,_){if("function"==typeof Response&&t instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(t,_)}catch(_){if("application/wasm"!=t.headers.get("Content-Type"))console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",_);else throw _}let e=await t.arrayBuffer();return await WebAssembly.instantiate(e,_)}{let e=await WebAssembly.instantiate(t,_);return e instanceof WebAssembly.Instance?{instance:e,module:t}:e}}function _3(){let t={};return t.wbg={},t.wbg.__wbg_new_abda76e883ba8a5f=function(){return Error()},t.wbg.__wbg_stack_658279fe44541cf6=function(t,_){let e=c(_.stack,n.__wbindgen_malloc,n.__wbindgen_realloc),i=r;s().setInt32(t+4,i,!0),s().setInt32(t+0,e,!0)},t.wbg.__wbg_error_f851667af71bcfc6=function(t,_){let e,r;try{e=t,r=_,console.error(b(t,_))}finally{n.__wbindgen_free(e,r,1)}},t.wbg.__wbg_instanceof_Window_c4b70662a0d2c5ec=function(t){let _;try{_=t instanceof Window}catch(t){_=!1}return _},t.wbg.__wbg_document_e5c1786dea6542e4=function(t){let _=t.document;return null==_?0:_J(_)},t.wbg.__wbg_body_e70ae6abd01ae584=function(t){let _=t.body;return null==_?0:_J(_)},t.wbg.__wbg_createElement_5d4c76f218b78145=function(){return _V(function(t,_,e){return t.createElement(b(_,e))},arguments)},t.wbg.__wbg_width_4c6f0048d64cf86b=function(t){return t.width},t.wbg.__wbg_height_21f0d3fd8f753394=function(t){return t.height},t.wbg.__wbg_width_79e0847ed5883b03=function(t){return t.width},t.wbg.__wbg_height_e4e4e4779f8feac0=function(t){return t.height},t.wbg.__wbg_data_fda507064d127f5b=function(t,_){let e=_L(_.data,n.__wbindgen_malloc),i=r;s().setInt32(t+4,i,!0),s().setInt32(t+0,e,!0)},t.wbg.__wbg_newwithu8clampedarrayandsh_1fddccb3a94a5e05=function(){return _V(function(t,_,e,r){var i;return new ImageData((i=t>>>0,((null===_K||0===_K.byteLength)&&(_K=new Uint8ClampedArray(n.memory.buffer)),_K).subarray(i/1,i/1+_)),e>>>0,r>>>0)},arguments)},t.wbg.__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae=function(t){let _;try{_=t instanceof CanvasRenderingContext2D}catch(t){_=!1}return _},t.wbg.__wbg_drawImage_fede06db74e39a60=function(){return _V(function(t,_,e,n){t.drawImage(_,e,n)},arguments)},t.wbg.__wbg_drawImage_f395c8e43c79a909=function(){return _V(function(t,_,e,n,r,i,o,a,g,c){t.drawImage(_,e,n,r,i,o,a,g,c)},arguments)},t.wbg.__wbg_getImageData_5e1c242046e6b59e=function(){return _V(function(t,_,e,n,r){return t.getImageData(_,e,n,r)},arguments)},t.wbg.__wbg_putImageData_a8b3e177ee06d521=function(){return _V(function(t,_,e,n){t.putImageData(_,e,n)},arguments)},t.wbg.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e=function(t){let _;try{_=t instanceof HTMLCanvasElement}catch(t){_=!1}return _},t.wbg.__wbg_width_dc225e55343b745e=function(t){return t.width},t.wbg.__wbg_setwidth_488780db69b08846=function(t,_){t.width=_>>>0},t.wbg.__wbg_height_3a8bec2f3fe71b26=function(t){return t.height},t.wbg.__wbg_setheight_1761808c18403921=function(t,_){t.height=_>>>0},t.wbg.__wbg_getContext_fc99dbd3a9a7e318=function(){return _V(function(t,_,e){let n=t.getContext(b(_,e));return null==n?0:_J(n)},arguments)},t.wbg.__wbg_settextContent_f82a86a8df347e1c=function(t,_,e){t.textContent=0===_?void 0:b(_,e)},t.wbg.__wbg_appendChild_fa3b00dade9fc4cf=function(){return _V(function(t,_){return t.appendChild(_)},arguments)},t.wbg.__wbg_newnoargs_e643855c6572a4a8=function(t,_){return Function(b(t,_))},t.wbg.__wbg_call_f96b398515635514=function(){return _V(function(t,_){return t.call(_)},arguments)},t.wbg.__wbg_self_b9aad7f1c618bfaf=function(){return _V(function(){return self.self},arguments)},t.wbg.__wbg_window_55e469842c98b086=function(){return _V(function(){return window.window},arguments)},t.wbg.__wbg_globalThis_d0957e302752547e=function(){return _V(function(){return globalThis.globalThis},arguments)},t.wbg.__wbg_global_ae2f87312b8987fb=function(){return _V(function(){return e.g.global},arguments)},t.wbg.__wbindgen_is_undefined=function(t){return void 0===t},t.wbg.__wbg_buffer_fcbfb6d88b2732e9=function(t){return t.buffer},t.wbg.__wbg_new_bc5d9aad3f9ac80e=function(t){return new Uint8Array(t)},t.wbg.__wbg_set_4b3aa8445ac1e91c=function(t,_,e){t.set(_,e>>>0)},t.wbg.__wbg_length_d9c4ded7e708c6a1=function(t){return t.length},t.wbg.__wbindgen_debug_string=function(t,_){let e=c(function t(_){let e,n=typeof _;if("number"==n||"boolean"==n||null==_)return`${_}`;if("string"==n)return`"${_}"`;if("symbol"==n){let t=_.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==n){let t=_.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(_)){let e=_.length,n="[";e>0&&(n+=t(_[0]));for(let r=1;r<e;r++)n+=", "+t(_[r]);return n+"]"}let r=/\[object ([^\]]+)\]/.exec(toString.call(_));if(!(r.length>1))return toString.call(_);if("Object"==(e=r[1]))try{return"Object("+JSON.stringify(_)+")"}catch(t){return"Object"}return _ instanceof Error?`${_.name}: ${_.message}
|
| 2 |
+
${_.stack}`:e}(_),n.__wbindgen_malloc,n.__wbindgen_realloc),i=r;s().setInt32(t+4,i,!0),s().setInt32(t+0,e,!0)},t.wbg.__wbindgen_throw=function(t,_){throw Error(b(t,_))},t.wbg.__wbindgen_memory=function(){return n.memory},t.wbg.__wbindgen_init_externref_table=function(){let t=n.__wbindgen_export_2,_=t.grow(4);t.set(0,void 0),t.set(_+0,void 0),t.set(_+1,null),t.set(_+2,!0),t.set(_+3,!1)},t}function _5(t,_){return n=t.exports,_7.__wbindgen_wasm_module=_,l=null,i=null,_K=null,n.__wbindgen_start(),n}function _6(t){if(void 0!==n)return n;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?{module:t}=t:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let _=_3();return t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t)),_5(new WebAssembly.Instance(t,_),t)}async function _7(t){if(void 0!==n)return n;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?{module_or_path:t}=t:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t&&(t=new URL(e(57390),e.b));let _=_3();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));let{instance:r,module:i}=await _8(await t,_);return _5(r,i)}let _2=_7},57390(t,_,e){t.exports=e.p+"static/wasm/9e906fbf.module.wasm"}}]);
|
| 3 |
+
//# sourceMappingURL=195.3a2e080c.js.map
|
195.3a2e080c.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
256.9b0135c2.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
256.9b0135c2.js.LICENSE.txt
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!
|
| 2 |
+
Copyright (c) 2018 Jed Watson.
|
| 3 |
+
Licensed under the MIT License (MIT), see
|
| 4 |
+
http://jedwatson.github.io/classnames
|
| 5 |
+
*/
|
| 6 |
+
|
| 7 |
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @license React
|
| 11 |
+
* react-is.production.min.js
|
| 12 |
+
*
|
| 13 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 14 |
+
*
|
| 15 |
+
* This source code is licensed under the MIT license found in the
|
| 16 |
+
* LICENSE file in the root directory of this source tree.
|
| 17 |
+
*/
|
| 18 |
+
|
| 19 |
+
/** */
|
256.9b0135c2.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
364.2af087c2.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! For license information please see 364.2af087c2.js.LICENSE.txt */
|
| 2 |
+
"use strict";(self.webpackChunkchrome_extension=self.webpackChunkchrome_extension||[]).push([["364"],{93503(e,t,r){r.d(t,{A:()=>m});var o=r(2716),n=r(86233),i=r(6467),a=r(33779),l=r(22155),s=r(90803),c=r(66428),u=r(83826);r(65260);let d=function(e,t,r,o){var i=(0,a.A)({},t[e]);null!=o&&o.deprecatedTokens&&o.deprecatedTokens.forEach(function(e){var t=(0,n.A)(e,2),r=t[0],o=t[1];(null!=i&&i[r]||null!=i&&i[o])&&(null!=i[o]||(i[o]=null==i?void 0:i[r]))});var l=(0,a.A)((0,a.A)({},r),i);return Object.keys(l).forEach(function(e){l[e]===t[e]&&delete l[e]}),l};var h=r(72798);let f=function(e,t,r){if("function"==typeof r){var o;return r((0,h.h1)(t,null!=(o=t[e])?o:{}))}return null!=r?r:{}};var g=r(32645),b=r(30965),p=new(function(){function e(){(0,g.A)(this,e),(0,i.A)(this,"map",new Map),(0,i.A)(this,"objectIDMap",new WeakMap),(0,i.A)(this,"nextID",0),(0,i.A)(this,"lastAccessBeat",new Map),(0,i.A)(this,"accessBeat",0)}return(0,b.A)(e,[{key:"set",value:function(e,t){this.clear();var r=this.getCompositeKey(e);this.map.set(r,t),this.lastAccessBeat.set(r,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),r=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,r}},{key:"getCompositeKey",value:function(e){var t=this;return e.map(function(e){return e&&"object"===(0,o.A)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,o.A)(e),"_").concat(e)}).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach(function(r,o){t-r>6e5&&(e.map.delete(o),e.lastAccessBeat.delete(o))}),this.accessBeat=0}}}]),e}()),v=r(44921);let m=function(e){var t=e.useCSP,r=void 0===t?v.A:t,g=e.useToken,b=e.usePrefix,m=e.getResetStyles,y=e.getCommonStyle,C=e.getCompUnitless;function x(t,i,v){var C=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},x=Array.isArray(t)?t:[t,t],A=(0,n.A)(x,1)[0],S=x.join("-"),$=e.layer||{name:"antd"};return function(e){var t,n,x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,k=g(),O=k.theme,w=k.realToken,E=k.hashId,j=k.token,H=k.cssVar,_=b(),B=_.rootPrefixCls,P=_.iconPrefixCls,I=r(),M=H?"css":"js",R=(t=function(){var e=new Set;return H&&Object.keys(C.unitless||{}).forEach(function(t){e.add((0,s.Ki)(t,H.prefix)),e.add((0,s.Ki)(t,(0,u.A)(A,H.prefix)))}),(0,c.A)(M,e)},n=[M,A,null==H?void 0:H.prefix],l.useMemo(function(){var e=p.get(n);if(e)return e;var r=t();return p.set(n,r),r},n)),N="js"===M?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return"max(".concat(t.map(function(e){return(0,s.zA)(e)}).join(","),")")},min:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return"min(".concat(t.map(function(e){return(0,s.zA)(e)}).join(","),")")}},T=N.max,z=N.min,L={theme:O,token:j,hashId:E,nonce:function(){return I.nonce},clientOnly:C.clientOnly,layer:$,order:C.order||-999};return(0,s.IV)((0,a.A)((0,a.A)({},L),{},{clientOnly:!1,path:["Shared",B]}),function(){return"function"==typeof m?m(j):[]}),[(0,s.IV)((0,a.A)((0,a.A)({},L),{},{path:[S,e,P]}),function(){if(!1===C.injectStyle)return[];var t=(0,h.Ay)(j),r=t.token,n=t.flush,a=f(A,w,v),l=".".concat(e),c=d(A,w,a,{deprecatedTokens:C.deprecatedTokens});H&&a&&"object"===(0,o.A)(a)&&Object.keys(a).forEach(function(e){a[e]="var(".concat((0,s.Ki)(e,(0,u.A)(A,H.prefix)),")")});var g=(0,h.h1)(r,{componentCls:l,prefixCls:e,iconCls:".".concat(P),antCls:".".concat(B),calc:R,max:T,min:z},H?a:c),b=i(g,{hashId:E,prefixCls:e,rootPrefixCls:B,iconPrefixCls:P});n(A,c);var p="function"==typeof y?y(g,e,x,C.resetFont):null;return[!1===C.resetStyle?null:p,b]}),E]}}return{genStyleHooks:function(e,t,r,o){var c,u,h,b,p,v,m,y,A,S=Array.isArray(e)?e[0]:e;function $(e){return"".concat(String(S)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var k=(null==o?void 0:o.unitless)||{},O="function"==typeof C?C(e):{},w=(0,a.A)((0,a.A)({},O),{},(0,i.A)({},$("zIndexPopup"),!0));Object.keys(k).forEach(function(e){w[$(e)]=k[e]});var E=(0,a.A)((0,a.A)({},o),{},{unitless:w,prefixToken:$}),j=x(e,t,r,E),H=(c=S,u=r,b=(h=E).unitless,v=void 0===(p=h.injectStyle)||p,m=h.prefixToken,y=h.ignore,A=function(e){var t=e.rootCls,r=e.cssVar,o=void 0===r?{}:r,n=g().realToken;return(0,s.RC)({path:[c],prefix:o.prefix,key:o.key,unitless:b,ignore:y,token:n,scope:t},function(){var e=f(c,n,u),t=d(c,n,e,{deprecatedTokens:null==h?void 0:h.deprecatedTokens});return Object.keys(e).forEach(function(e){t[m(e)]=t[e],delete t[e]}),t}),null},function(e){var t=g().cssVar;return[function(r){return v&&t?l.createElement(l.Fragment,null,l.createElement(A,{rootCls:e,cssVar:t,component:c}),r):r},null==t?void 0:t.key]});return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=j(e,t),o=(0,n.A)(r,2)[1],i=H(t),a=(0,n.A)(i,2);return[a[0],o,a[1]]}},genSubStyleComponent:function(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=x(e,t,r,(0,a.A)({resetStyle:!1,order:-998},o));return function(e){var t=e.prefixCls,r=e.rootCls,o=void 0===r?t:r;return n(t,o),null}},genComponentStyleHook:x}}},39128(e,t,r){r.d(t,{A:()=>a});var o=r(21872),n=r(84),i=new o.A;function a(e){var t=Array.isArray(e)?e:[e];return i.has(t)||i.set(t,new n.A(t)),i.get(t)}},61105(e,t,r){r.d(t,{_n:()=>i,rJ:()=>a});var o=r(22155);function n(){}r(36216);let i=o.createContext({}),a=()=>{let e=()=>{};return e.deprecated=n,e}},37181(e,t,r){r.d(t,{A:()=>C});var o=r(22155),n=r(30395),i=r.n(n),a=r(49677),l=r(37233),s=r(71179),c=r(37886);let u=(0,r(16850).Or)("Wave",e=>[(e=>{let{componentCls:t,colorPrimary:r}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${r})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:`box-shadow 0.4s ${e.motionEaseOutCirc},opacity 2s ${e.motionEaseOutCirc}`,"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut},opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}}}})(e)]);var d=r(41186),h=r(14597),f=r(68381),g=r(36796),b=r(74589),p=r(33243);function v(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function m(e){return Number.isNaN(e)?0:e}let y=e=>{let{className:t,target:r,component:n}=e,a=o.useRef(null),[s,c]=o.useState(null),[u,d]=o.useState([]),[f,y]=o.useState(0),[C,x]=o.useState(0),[A,S]=o.useState(0),[$,k]=o.useState(0),[O,w]=o.useState(!1),E={left:f,top:C,width:A,height:$,borderRadius:u.map(e=>`${e}px`).join(" ")};function j(){let e=getComputedStyle(r);c(function(e){let{borderTopColor:t,borderColor:r,backgroundColor:o}=getComputedStyle(e);return v(t)?t:v(r)?r:v(o)?o:null}(r));let t="static"===e.position,{borderLeftWidth:o,borderTopWidth:n}=e;y(t?r.offsetLeft:m(-parseFloat(o))),x(t?r.offsetTop:m(-parseFloat(n))),S(r.offsetWidth),k(r.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:s}=e;d([i,a,s,l].map(e=>m(parseFloat(e))))}if(s&&(E["--wave-color"]=s),o.useEffect(()=>{if(r){let e,t=(0,h.A)(()=>{j(),w(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(j)).observe(r),()=>{h.A.cancel(t),null==e||e.disconnect()}}},[]),!O)return null;let H=("Checkbox"===n||"Radio"===n)&&(null==r?void 0:r.classList.contains(g.D));return o.createElement(b.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var r;if(t.deadline||"opacity"===t.propertyName){let e=null==(r=a.current)?void 0:r.parentElement;(0,p.v)(e).then(()=>{null==e||e.remove()})}return!1}},(e,r)=>{let{className:n}=e;return o.createElement("div",{ref:(0,l.K4)(a,r),className:i()(t,n,{"wave-quick":H}),style:E})})},C=e=>{let{children:t,disabled:r,component:n}=e,{getPrefixCls:b}=(0,o.useContext)(s.QO),v=(0,o.useRef)(null),m=b("wave"),[,C]=u(m),x=((e,t,r)=>{let{wave:n}=o.useContext(s.QO),[,i,a]=(0,f.Ay)(),l=(0,d.A)(l=>{let s=e.current;if((null==n?void 0:n.disabled)||!s)return;let c=s.querySelector(`.${g.D}`)||s,{showEffect:u}=n||{};(u||((e,t)=>{var r;let{component:n}=t;if("Checkbox"===n&&!(null==(r=e.querySelector("input"))?void 0:r.checked))return;let i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild),(0,p.X)(o.createElement(y,Object.assign({},t,{target:e})),i)}))(c,{className:t,token:i,component:r,event:l,hashId:a})}),c=o.useRef();return e=>{h.A.cancel(c.current),c.current=(0,h.A)(()=>{l(e)})}})(v,i()(m,C),n);if(o.useEffect(()=>{let e=v.current;if(!e||1!==e.nodeType||r)return;let t=t=>{!(0,a.A)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||x(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[r]),!o.isValidElement(t))return null!=t?t:null;let A=(0,l.f3)(t)?(0,l.K4)(t.ref,v):v;return(0,c.Ob)(t,{ref:A})}},36796(e,t,r){r.d(t,{D:()=>n});var o=r(71179);let n=`${o.yH}-wave-target`},65584(e,t,r){r.d(t,{Ay:()=>eh});var o=r(22155),n=r(30395),i=r.n(n),a=r(36495),l=r(37233),s=r(37181),c=r(71179),u=r(45227),d=r(80521),h=r(50059),f=r(68381),g=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};let b=o.createContext(void 0);var p=r(80061);let v=(0,o.forwardRef)((e,t)=>{let{className:r,style:n,children:a,prefixCls:l}=e,s=i()(`${l}-icon`,r);return o.createElement("span",{ref:t,className:s,style:n},a)});var m=r(9870),y=r(74589);let C=(0,o.forwardRef)((e,t)=>{let{prefixCls:r,className:n,style:a,iconClassName:l}=e,s=i()(`${r}-loading-icon`,n);return o.createElement(v,{prefixCls:r,className:s,style:a,ref:t},o.createElement(m.A,{className:l}))}),x=()=>({width:0,opacity:0,transform:"scale(0)"}),A=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),S=e=>{let{prefixCls:t,loading:r,existIcon:n,className:i,style:a}=e,l=!!r;return n?o.createElement(C,{prefixCls:t,className:i,style:a}):o.createElement(y.Ay,{visible:l,motionName:`${t}-loading-icon-motion`,motionLeave:l,removeOnLeave:!0,onAppearStart:x,onAppearActive:A,onEnterStart:x,onEnterActive:A,onLeaveStart:A,onLeaveActive:x},(e,r)=>{let{className:n,style:l}=e;return o.createElement(C,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),l),ref:r,iconClassName:n})})};var $=r(90803),k=r(12869),O=r(1911),w=r(16850);let E=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var j=r(32645),H=r(30965),_=r(82944),B=r(53442),P=r(33779),I=r(48827),M=r(2716),R=r(5908);let N=Math.round;function T(e,t){let r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=r.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)o[e]=t(o[e]||0,r[e]||"",e);return r[3]?o[3]=r[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}let z=(e,t,r)=>0===r?e:e/100;function L(e,t){let r=t||255;return e>r?r:e<0?0:e}class D{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,R.A)(this,"isValid",!0),(0,R.A)(this,"r",0),(0,R.A)(this,"g",0),(0,R.A)(this,"b",0),(0,R.A)(this,"a",1),(0,R.A)(this,"_h",void 0),(0,R.A)(this,"_s",void 0),(0,R.A)(this,"_l",void 0),(0,R.A)(this,"_v",void 0),(0,R.A)(this,"_max",void 0),(0,R.A)(this,"_min",void 0),(0,R.A)(this,"_brightness",void 0),e)if("string"==typeof e){const t=e.trim();function r(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):r("rgb")?this.fromRgbString(t):r("hsl")?this.fromHslString(t):(r("hsv")||r("hsb"))&&this.fromHsvString(t)}else if(e instanceof D)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=L(e.r),this.g=L(e.g),this.b=L(e.b),this.a="number"==typeof e.a?L(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return .2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=N(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g<this.b):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){let e=this.getMax()-this.getMin();0===e?this._s=0:this._s=e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){let t=this.getHue(),r=this.getSaturation(),o=this.getLightness()-e/100;return o<0&&(o=0),this._c({h:t,s:r,l:o,a:this.a})}lighten(e=10){let t=this.getHue(),r=this.getSaturation(),o=this.getLightness()+e/100;return o>1&&(o=1),this._c({h:t,s:r,l:o,a:this.a})}mix(e,t=50){let r=this._c(e),o=t/100,n=e=>(r[e]-this[e])*o+this[e],i={r:N(n("r")),g:N(n("g")),b:N(n("b")),a:N(100*n("a"))/100};return this._c(i)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),r=this.a+t.a*(1-this.a),o=e=>N((this[e]*this.a+t[e]*t.a*(1-this.a))/r);return this._c({r:o("r"),g:o("g"),b:o("b"),a:r})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let r=(this.g||0).toString(16);e+=2===r.length?r:"0"+r;let o=(this.b||0).toString(16);if(e+=2===o.length?o:"0"+o,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=N(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=N(100*this.getSaturation()),r=N(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${r}%,${this.a})`:`hsl(${e},${t}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,r){let o=this.clone();return o[e]=L(t,r),o}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function r(e,r){return parseInt(t[e]+t[r||e],16)}t.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=t[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=t[6]?r(6,7)/255:1)}fromHsl({h:e,s:t,l:r,a:o}){if(this._h=e%360,this._s=t,this._l=r,this.a="number"==typeof o?o:1,t<=0){let e=N(255*r);this.r=e,this.g=e,this.b=e}let n=0,i=0,a=0,l=e/60,s=(1-Math.abs(2*r-1))*t,c=s*(1-Math.abs(l%2-1));l>=0&&l<1?(n=s,i=c):l>=1&&l<2?(n=c,i=s):l>=2&&l<3?(i=s,a=c):l>=3&&l<4?(i=c,a=s):l>=4&&l<5?(n=c,a=s):l>=5&&l<6&&(n=s,a=c);let u=r-s/2;this.r=N((n+u)*255),this.g=N((i+u)*255),this.b=N((a+u)*255)}fromHsv({h:e,s:t,v:r,a:o}){this._h=e%360,this._s=t,this._v=r,this.a="number"==typeof o?o:1;let n=N(255*r);if(this.r=n,this.g=n,this.b=n,t<=0)return;let i=e/60,a=Math.floor(i),l=i-a,s=N(r*(1-t)*255),c=N(r*(1-t*l)*255),u=N(r*(1-t*(1-l))*255);switch(a){case 0:this.g=u,this.b=s;break;case 1:this.r=c,this.b=s;break;case 2:this.r=s,this.b=u;break;case 3:this.r=s,this.g=c;break;case 4:this.r=u,this.g=s;break;default:this.g=s,this.b=c}}fromHsvString(e){let t=T(e,z);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=T(e,z);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=T(e,(e,t)=>t.includes("%")?N(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var G=["b"],F=["v"],W=function(e){return Math.round(Number(e||0))},V=function(e){if(e instanceof D)return e;if(e&&"object"===(0,M.A)(e)&&"h"in e&&"b"in e){var t=e.b,r=(0,I.A)(e,G);return(0,P.A)((0,P.A)({},r),{},{v:t})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},q=function(e){(0,_.A)(r,e);var t=(0,B.A)(r);function r(e){return(0,j.A)(this,r),t.call(this,V(e))}return(0,H.A)(r,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=W(100*e.s),r=W(100*e.b),o=W(e.h),n=e.a,i="hsb(".concat(o,", ").concat(t,"%, ").concat(r,"%)"),a="hsba(".concat(o,", ").concat(t,"%, ").concat(r,"%, ").concat(n.toFixed(2*(0!==n)),")");return 1===n?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v,r=(0,I.A)(e,F);return(0,P.A)((0,P.A)({},r),{},{b:t,a:this.a})}}]),r}(D);new q("#1677ff"),r(65260);let X=(0,H.A)(function e(t){var r;if((0,j.A)(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=null==(r=t.colors)?void 0:r.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let o=Array.isArray(t);o&&t.length?(this.colors=t.map(t=>{let{color:r,percent:o}=t;return{color:new e(r),percent:o}}),this.metaColor=new q(this.colors[0].color.metaColor)):this.metaColor=new q(o?"":t),t&&(!o||this.colors)||(this.metaColor=this.metaColor.setA(0),this.cleared=!0)},[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){var e,t;return e=this.toHexString(),t=this.metaColor.a<1,e&&(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||""}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){let{colors:e}=this;if(e){let t=e.map(e=>`${e.color.toRgbString()} ${e.percent}%`).join(", ");return`linear-gradient(90deg, ${t})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!!e&&this.isGradient()===e.isGradient()&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,r)=>{let o=e.colors[r];return t.percent===o.percent&&t.color.equals(o.color)}):this.toHexString()===e.toHexString())}}]);r(88127);var K=r(18601);let Q=e=>{let{paddingInline:t,onlyIconSize:r,paddingBlock:o}=e;return(0,O.oX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:o,buttonIconOnlyFontSize:r})},U=e=>{var t,r,o,n,i,a;let l=null!=(t=e.contentFontSize)?t:e.fontSize,s=null!=(r=e.contentFontSizeSM)?r:e.fontSize,c=null!=(o=e.contentFontSizeLG)?o:e.fontSizeLG,u=null!=(n=e.contentLineHeight)?n:(0,K.k)(l),d=null!=(i=e.contentLineHeightSM)?i:(0,K.k)(s),h=null!=(a=e.contentLineHeightLG)?a:(0,K.k)(c),f=((e,t)=>{let{r,g:o,b:n,a:i}=e.toRgb(),a=new q(e.toRgbString()).onBackground(t).toHsv();return i<=.5?a.v>.5:.299*r+.587*o+.114*n>192})(new X(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:f,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:h,paddingBlock:Math.max((e.controlHeight-l*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*h)/2-e.lineWidth,0)}},J=(e,t,r)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":r}}),Y=(e,t,r,o,n,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:r||void 0,background:t,borderColor:o||void 0,boxShadow:"none"},J(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:n||void 0,borderColor:i||void 0}})}),Z=(e,t,r,o)=>Object.assign(Object.assign({},(o&&["link","text"].includes(o)?e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}):e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},{cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"})}))(e)),J(e.componentCls,t,r)),ee=(e,t,r,o,n)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:r},Z(e,o,n))}),et=(e,t,r,o,n)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:r},Z(e,o,n))}),er=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),eo=(e,t,r,o)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},Z(e,r,o))}),en=(e,t,r,o,n)=>({[`&${e.componentCls}-variant-${r}`]:Object.assign({color:t,boxShadow:"none"},Z(e,o,n,r))}),ei=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:r,controlHeight:o,fontSize:n,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:l,iconCls:s,buttonPaddingVertical:c}=e,u=`${r}-icon-only`;return[{[t]:{fontSize:n,lineHeight:i,height:o,padding:`${(0,$.zA)(c)} ${(0,$.zA)(l)}`,borderRadius:a,[`&${u}`]:{width:o,paddingInline:0,[`&${r}-compact-item`]:{flex:"none"},[`&${r}-round`]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},[`&${r}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${r}${r}-circle${t}`]:{minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}},{[`${r}${r}-round${t}`]:{borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}}]},ea=(0,w.OF)("Button",e=>{let t=Q(e);return[(e=>{let{componentCls:t,iconCls:r,fontWeight:o}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:o,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,$.zA)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-flex"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,k.K8)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${r})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}})(t),ei((0,O.oX)(t,{fontSize:t.contentFontSize,lineHeight:t.contentLineHeight}),t.componentCls),ei((0,O.oX)(t,{controlHeight:t.controlHeightSM,fontSize:t.contentFontSizeSM,lineHeight:t.contentLineHeightSM,padding:t.paddingXS,buttonPaddingHorizontal:t.paddingInlineSM,buttonPaddingVertical:t.paddingBlockSM,borderRadius:t.borderRadiusSM,buttonIconOnlyFontSize:t.onlyIconSizeSM}),`${t.componentCls}-sm`),ei((0,O.oX)(t,{controlHeight:t.controlHeightLG,fontSize:t.contentFontSizeLG,lineHeight:t.contentLineHeightLG,buttonPaddingHorizontal:t.paddingInlineLG,buttonPaddingVertical:t.paddingBlockLG,borderRadius:t.borderRadiusLG,buttonIconOnlyFontSize:t.onlyIconSizeLG}),`${t.componentCls}-lg`),(e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}})(t),(e=>{let{componentCls:t}=e;return{[`${t}-color-default`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},ee(e,e.solidTextColor,e.colorBgSolid,{background:e.colorBgSolidHover},{background:e.colorBgSolidActive})),er(e)),eo(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),en(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Y(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),[`${t}-color-primary`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},et(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),er(e)),eo(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),en(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),Y(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),[`${t}-color-dangerous`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},ee(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),et(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),er(e)),eo(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),en(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),en(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),Y(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}))}})(t),Object.assign(Object.assign(Object.assign(Object.assign({},et(t,t.defaultBorderColor,t.defaultBg,{color:t.defaultHoverColor,borderColor:t.defaultHoverBorderColor,background:t.defaultHoverBg},{color:t.defaultActiveColor,borderColor:t.defaultActiveBorderColor,background:t.defaultActiveBg})),en(t,t.textTextColor,"text",{color:t.textTextHoverColor,background:t.textHoverBg},{color:t.textTextActiveColor,background:t.colorBgTextActive})),ee(t,t.primaryColor,t.colorPrimary,{background:t.colorPrimaryHover,color:t.primaryColor},{background:t.colorPrimaryActive,color:t.primaryColor})),en(t,t.colorLink,"link",{color:t.colorLinkHover,background:t.linkHoverBg},{color:t.colorLinkActive})),(e=>{let{componentCls:t,fontSize:r,lineWidth:o,groupBorderColor:n,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(o).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:r}},E(`${t}-primary`,n),E(`${t}-danger`,i)]}})(t)]},U,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var el=r(33458);let es=(0,w.bf)(["Button","compact"],e=>{var t;let r,o=Q(e);return[(0,el.G)(o),{[r=`${o.componentCls}-compact-vertical`]:Object.assign(Object.assign({},{[`&-item:not(${r}-last-item)`]:{marginBottom:o.calc(o.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}),(t=o.componentCls,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))},(e=>{let{componentCls:t,calc:r}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:r(e.lineWidth).mul(-1).equal(),insetInlineStart:r(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${(0,$.zA)(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:r(e.lineWidth).mul(-1).equal(),insetInlineStart:r(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,$.zA)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}})(o)]},U);var ec=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};let eu={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},ed=o.forwardRef((e,t)=>{var r,n,f,g;let{loading:m=!1,prefixCls:y,color:C,variant:x,type:A,danger:$=!1,shape:k="default",size:O,styles:w,disabled:E,className:j,rootClassName:H,children:_,icon:B,iconPosition:P="start",ghost:I=!1,block:M=!1,htmlType:R="button",classNames:N,style:T={},autoInsertSpace:z}=e,L=ec(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),D=A||"default",[G,F]=(0,o.useMemo)(()=>{if(C&&x)return[C,x];let e=eu[D]||[];return $?["danger",e[1]]:e},[A,C,x,$]),W="danger"===G?"dangerous":G,{getPrefixCls:V,direction:q,button:X}=(0,o.useContext)(c.QO),K=null==(r=null!=z?z:null==X?void 0:X.autoInsertSpace)||r,Q=V("btn",y),[U,J,Y]=ea(Q),Z=(0,o.useContext)(u.A),ee=null!=E?E:Z,et=(0,o.useContext)(b),er=(0,o.useMemo)(()=>(function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return{loading:(t=Number.isNaN(t)||"number"!=typeof t?0:t)<=0,delay:t}}return{loading:!!e,delay:0}})(m),[m]),[eo,en]=(0,o.useState)(er.loading),[ei,el]=(0,o.useState)(!1),ed=(0,o.createRef)(),eh=(0,l.K4)(t,ed),ef=1===o.Children.count(_)&&!B&&!(0,p.u1)(F);(0,o.useEffect)(()=>{let e=null;return er.delay>0?e=setTimeout(()=>{e=null,en(!0)},er.delay):en(er.loading),function(){e&&(clearTimeout(e),e=null)}},[er]),(0,o.useEffect)(()=>{if(!eh||!eh.current||!K)return;let e=eh.current.textContent;ef&&(0,p.Ap)(e)?ei||el(!0):ei&&el(!1)},[eh]);let eg=o.useCallback(t=>{var r;eo||ee?t.preventDefault():null==(r=e.onClick)||r.call(e,t)},[e.onClick,eo,ee]),{compactSize:eb,compactItemClassnames:ep}=(0,h.RQ)(Q,q),ev=(0,d.A)(e=>{var t,r;return null!=(r=null!=(t=null!=O?O:eb)?t:et)?r:e}),em=ev&&null!=(n=({large:"lg",small:"sm",middle:void 0})[ev])?n:"",ey=eo?"loading":B,eC=(0,a.A)(L,["navigate"]),ex=i()(Q,J,Y,{[`${Q}-${k}`]:"default"!==k&&k,[`${Q}-${D}`]:D,[`${Q}-dangerous`]:$,[`${Q}-color-${W}`]:W,[`${Q}-variant-${F}`]:F,[`${Q}-${em}`]:em,[`${Q}-icon-only`]:!_&&0!==_&&!!ey,[`${Q}-background-ghost`]:I&&!(0,p.u1)(F),[`${Q}-loading`]:eo,[`${Q}-two-chinese-chars`]:ei&&K&&!eo,[`${Q}-block`]:M,[`${Q}-rtl`]:"rtl"===q,[`${Q}-icon-end`]:"end"===P},ep,j,H,null==X?void 0:X.className),eA=Object.assign(Object.assign({},null==X?void 0:X.style),T),eS=i()(null==N?void 0:N.icon,null==(f=null==X?void 0:X.classNames)?void 0:f.icon),e$=Object.assign(Object.assign({},(null==w?void 0:w.icon)||{}),(null==(g=null==X?void 0:X.styles)?void 0:g.icon)||{}),ek=B&&!eo?o.createElement(v,{prefixCls:Q,className:eS,style:e$},B):o.createElement(S,{existIcon:!!B,prefixCls:Q,loading:eo}),eO=_||0===_?(0,p.uR)(_,ef&&K):null;if(void 0!==eC.href)return U(o.createElement("a",Object.assign({},eC,{className:i()(ex,{[`${Q}-disabled`]:ee}),href:ee?void 0:eC.href,style:eA,onClick:eg,ref:eh,tabIndex:ee?-1:0}),ek,eO));let ew=o.createElement("button",Object.assign({},L,{type:R,className:ex,style:eA,onClick:eg,disabled:ee,ref:eh}),ek,eO,!!ep&&o.createElement(es,{key:"compact",prefixCls:Q}));return(0,p.u1)(F)||(ew=o.createElement(s.A,{component:"Button",disabled:eo},ew)),U(ew)});ed.Group=e=>{let{getPrefixCls:t,direction:r}=o.useContext(c.QO),{prefixCls:n,size:a,className:l}=e,s=g(e,["prefixCls","size","className"]),u=t("btn-group",n),[,,d]=(0,f.Ay)(),h="";switch(a){case"large":h="lg";break;case"small":h="sm"}let p=i()(u,{[`${u}-${h}`]:h,[`${u}-rtl`]:"rtl"===r},l,d);return o.createElement(b.Provider,{value:a},o.createElement("div",Object.assign({},s,{className:p})))},ed.__ANT_BUTTON=!0;let eh=ed},16356(e,t,r){r.d(t,{A:()=>k});var o=r(22155),n=r(30395),i=r.n(n),a=r(63534),l=r(37233),s=r(37181),c=r(36796),u=r(71179),d=r(45227),h=r(44274),f=r(48749);let g=o.createContext(null);var b=r(90803),p=r(12869),v=r(1911);let m=(0,r(16850).OF)("Checkbox",(e,t)=>{let{prefixCls:r}=t;return[[(e=>{let{checkboxCls:t}=e,r=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,p.dF)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[r]:Object.assign(Object.assign({},(0,p.dF)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${r}`]:{marginInlineStart:0},[`&${r}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,p.dF)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,p.jk)(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${(0,b.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.zA)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[`
|
| 3 |
+
${r}:not(${r}-disabled),
|
| 4 |
+
${t}:not(${t}-disabled)
|
| 5 |
+
`]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${r}:not(${r}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`
|
| 6 |
+
${r}-checked:not(${r}-disabled),
|
| 7 |
+
${t}-checked:not(${t}-disabled)
|
| 8 |
+
`]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${r}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]})((0,v.oX)(e,{checkboxCls:`.${r}`,checkboxSize:e.controlInteractiveSize}))]]});var y=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};let C=o.forwardRef((e,t)=>{var r;let{prefixCls:n,className:b,rootClassName:p,children:v,indeterminate:C=!1,style:x,onMouseEnter:A,onMouseLeave:S,skipGroup:$=!1,disabled:k}=e,O=y(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:w,direction:E,checkbox:j}=o.useContext(u.QO),H=o.useContext(g),{isFormItemInput:_}=o.useContext(f.$W),B=o.useContext(d.A),P=null!=(r=(null==H?void 0:H.disabled)||k)?r:B,I=o.useRef(O.value),M=o.useRef(null),R=(0,l.K4)(t,M);o.useEffect(()=>{null==H||H.registerValue(O.value)},[]),o.useEffect(()=>{if(!$)return O.value!==I.current&&(null==H||H.cancelValue(I.current),null==H||H.registerValue(O.value),I.current=O.value),()=>null==H?void 0:H.cancelValue(O.value)},[O.value]),o.useEffect(()=>{var e;(null==(e=M.current)?void 0:e.input)&&(M.current.input.indeterminate=C)},[C]);let N=w("checkbox",n),T=(0,h.A)(N),[z,L,D]=m(N,T),G=Object.assign({},O);H&&!$&&(G.onChange=function(){O.onChange&&O.onChange.apply(O,arguments),H.toggleOption&&H.toggleOption({label:v,value:O.value})},G.name=H.name,G.checked=H.value.includes(O.value));let F=i()(`${N}-wrapper`,{[`${N}-rtl`]:"rtl"===E,[`${N}-wrapper-checked`]:G.checked,[`${N}-wrapper-disabled`]:P,[`${N}-wrapper-in-form-item`]:_},null==j?void 0:j.className,b,p,D,T,L),W=i()({[`${N}-indeterminate`]:C},c.D,L);return z(o.createElement(s.A,{component:"Checkbox",disabled:P},o.createElement("label",{className:F,style:Object.assign(Object.assign({},null==j?void 0:j.style),x),onMouseEnter:A,onMouseLeave:S},o.createElement(a.A,Object.assign({},G,{prefixCls:N,className:W,disabled:P,ref:R})),void 0!==v&&o.createElement("span",null,v))))});var x=r(38128),A=r(36495),S=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};let $=o.forwardRef((e,t)=>{let{defaultValue:r,children:n,options:a=[],prefixCls:l,className:s,rootClassName:c,style:d,onChange:f}=e,b=S(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:p,direction:v}=o.useContext(u.QO),[y,$]=o.useState(b.value||r||[]),[k,O]=o.useState([]);o.useEffect(()=>{"value"in b&&$(b.value||[])},[b.value]);let w=o.useMemo(()=>a.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[a]),E=p("checkbox",l),j=`${E}-group`,H=(0,h.A)(E),[_,B,P]=m(E,H),I=(0,A.A)(b,["value","disabled"]),M=a.length?w.map(e=>o.createElement(C,{prefixCls:E,key:e.value.toString(),disabled:"disabled"in e?e.disabled:b.disabled,value:e.value,checked:y.includes(e.value),onChange:e.onChange,className:`${j}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label)):n,R={toggleOption:e=>{let t=y.indexOf(e.value),r=(0,x.A)(y);-1===t?r.push(e.value):r.splice(t,1),"value"in b||$(r),null==f||f(r.filter(e=>k.includes(e)).sort((e,t)=>w.findIndex(t=>t.value===e)-w.findIndex(e=>e.value===t)))},value:y,disabled:b.disabled,name:b.name,registerValue:e=>{O(t=>[].concat((0,x.A)(t),[e]))},cancelValue:e=>{O(t=>t.filter(t=>t!==e))}},N=i()(j,{[`${j}-rtl`]:"rtl"===v},s,c,P,H,B);return _(o.createElement("div",Object.assign({className:N,style:d},I,{ref:t}),o.createElement(g.Provider,{value:R},M)))});C.Group=$,C.__ANT_CHECKBOX=!0;let k=C},45227(e,t,r){r.d(t,{A:()=>a,X:()=>i});var o=r(22155);let n=o.createContext(!1),i=e=>{let{children:t,disabled:r}=e,i=o.useContext(n);return o.createElement(n.Provider,{value:null!=r?r:i},t)},a=n},29137(e,t,r){r.d(t,{A:()=>a});var o=r(22155),n=r(74589),i=r(68381);function a(e){let{children:t}=e,[,r]=(0,i.Ay)(),{motion:a}=r,l=o.useRef(!1);return(l.current=l.current||!1===a,l.current)?o.createElement(n.Kq,{motion:a},t):t}},20035(e,t,r){r.d(t,{A:()=>o}),r(22155);let o=()=>null},63020(e,t,r){r.d(t,{A:()=>a,c:()=>i});var o=r(22155);let n=o.createContext(void 0),i=e=>{let{children:t,size:r}=e,i=o.useContext(n);return o.createElement(n.Provider,{value:r||i},t)},a=n},74946(e,t,r){r.d(t,{b:()=>s});var o=r(82376),n=r(32006),i=r(19352),a=r(58451);let l=`-ant-${Date.now()}-${Math.random()}`;function s(e,t){let r=function(e,t){let r={},i=(e,t)=>{let r=e.clone();return(r=(null==t?void 0:t(r))||r).toRgbString()},a=(e,t)=>{let a=new n.q(e),l=(0,o.cM)(a.toRgbString());r[`${t}-color`]=i(a),r[`${t}-color-disabled`]=l[1],r[`${t}-color-hover`]=l[4],r[`${t}-color-active`]=l[6],r[`${t}-color-outline`]=a.clone().setAlpha(.2).toRgbString(),r[`${t}-color-deprecated-bg`]=l[0],r[`${t}-color-deprecated-border`]=l[2]};if(t.primaryColor){a(t.primaryColor,"primary");let e=new n.q(t.primaryColor),l=(0,o.cM)(e.toRgbString());l.forEach((e,t)=>{r[`primary-${t+1}`]=e}),r["primary-color-deprecated-l-35"]=i(e,e=>e.lighten(35)),r["primary-color-deprecated-l-20"]=i(e,e=>e.lighten(20)),r["primary-color-deprecated-t-20"]=i(e,e=>e.tint(20)),r["primary-color-deprecated-t-50"]=i(e,e=>e.tint(50)),r["primary-color-deprecated-f-12"]=i(e,e=>e.setAlpha(.12*e.getAlpha()));let s=new n.q(l[0]);r["primary-color-active-deprecated-f-30"]=i(s,e=>e.setAlpha(.3*e.getAlpha())),r["primary-color-active-deprecated-d-02"]=i(s,e=>e.darken(2))}t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info");let l=Object.keys(r).map(t=>`--${e}-${t}: ${r[t]};`);return`
|
| 9 |
+
:root {
|
| 10 |
+
${l.join("\n")}
|
| 11 |
+
}
|
| 12 |
+
`.trim()}(e,t);(0,i.A)()&&(0,a.BD)(r,`${l}-dynamic-theme`)}},13934(e,t,r){r.d(t,{A:()=>a});var o=r(22155),n=r(45227),i=r(63020);let a=function(){return{componentDisabled:(0,o.useContext)(n.A),componentSize:(0,o.useContext)(i.A)}}},43727(e,t,r){r.d(t,{A:()=>u});var o=r(64518),n=r(78216),i=r(61105),a=r(79962),l=r(22155);let{useId:s}=Object.assign({},r.t(l,2)),c=void 0===s?()=>"":s;function u(e,t,r){var l;(0,i.rJ)("ConfigProvider");let s=e||{},u=!1!==s.inherit&&t?t:Object.assign(Object.assign({},a.sb),{hashed:null!=(l=null==t?void 0:t.hashed)?l:a.sb.hashed,cssVar:null==t?void 0:t.cssVar}),d=c();return(0,o.A)(()=>{var o,n;if(!e)return t;let i=Object.assign({},u.components);Object.keys(e.components||{}).forEach(t=>{i[t]=Object.assign(Object.assign({},i[t]),e.components[t])});let a=`css-var-${d.replace(/:/g,"")}`,l=(null!=(o=s.cssVar)?o:u.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==r?void 0:r.prefixCls},"object"==typeof u.cssVar?u.cssVar:{}),"object"==typeof s.cssVar?s.cssVar:{}),{key:"object"==typeof s.cssVar&&(null==(n=s.cssVar)?void 0:n.key)||a});return Object.assign(Object.assign(Object.assign({},u),s),{token:Object.assign(Object.assign({},u.token),s.token),components:i,cssVar:l})},[s,u],(e,t)=>e.some((e,r)=>{let o=t[r];return!(0,n.A)(e,o,!0)}))}},12259(e,t,r){r.d(t,{A:()=>o});let o=(0,r(22155).createContext)(void 0)},3942(e,t,r){r.d(t,{Ay:()=>l,M2:()=>a});var o=r(22155),n=r(46067),i=r(36897);let a="internalMark",l=e=>{let{locale:t={},children:r,_ANT_MARK__:a}=e;o.useEffect(()=>(0,n.L)(null==t?void 0:t.Modal),[t]);let l=o.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return o.createElement(i.A.Provider,{value:l},r)}},79962(e,t,r){r.d(t,{sb:()=>s,vG:()=>c,zQ:()=>l});var o=r(22155),n=r(90803),i=r(64921),a=r(88471);let l=(0,n.an)(i.A),s={token:a.A,override:{override:a.A},hashed:!0},c=o.createContext(s)},18601(e,t,r){function o(e){return(e+8)/e}function n(e){let t=Array(10).fill(null).map((t,r)=>{let o=e*Math.pow(Math.E,(r-1)/5);return 2*Math.floor((r>1?Math.floor(o):Math.ceil(o))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:o(e)}))}r.d(t,{A:()=>n,k:()=>o})},16850(e,t,r){r.d(t,{OF:()=>c,Or:()=>u,bf:()=>d});var o=r(22155),n=r(1911),i=r(71179),a=r(12869),l=r(68381),s=r(6954);let{genStyleHooks:c,genComponentStyleHook:u,genSubStyleComponent:d}=(0,n.L_)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,o.useContext)(i.QO);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,r,o,n]=(0,l.Ay)();return{theme:e,realToken:t,hashId:r,token:o,cssVar:n}},useCSP:()=>{let{csp:e,iconPrefixCls:t}=(0,o.useContext)(i.QO);return(0,s.A)(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":(0,a.av)(e)}],getCommonStyle:a.vj,getCompUnitless:()=>l.Is})},63534(e,t,r){r.d(t,{A:()=>f});var o=r(42664),n=r(33779),i=r(6467),a=r(86233),l=r(48827),s=r(30395),c=r.n(s),u=r(88127),d=r(22155),h=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"];let f=(0,d.forwardRef)(function(e,t){var r=e.prefixCls,s=void 0===r?"rc-checkbox":r,f=e.className,g=e.style,b=e.checked,p=e.disabled,v=e.defaultChecked,m=e.type,y=void 0===m?"checkbox":m,C=e.title,x=e.onChange,A=(0,l.A)(e,h),S=(0,d.useRef)(null),$=(0,d.useRef)(null),k=(0,u.A)(void 0!==v&&v,{value:b}),O=(0,a.A)(k,2),w=O[0],E=O[1];(0,d.useImperativeHandle)(t,function(){return{focus:function(e){var t;null==(t=S.current)||t.focus(e)},blur:function(){var e;null==(e=S.current)||e.blur()},input:S.current,nativeElement:$.current}});var j=c()(s,f,(0,i.A)((0,i.A)({},"".concat(s,"-checked"),w),"".concat(s,"-disabled"),p));return d.createElement("span",{className:j,title:C,style:g,ref:$},d.createElement("input",(0,o.A)({},A,{className:"".concat(s,"-input"),ref:S,onChange:function(t){p||("checked"in e||E(t.target.checked),null==x||x({target:(0,n.A)((0,n.A)({},e),{},{type:y,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:p,checked:!!w,type:y})),d.createElement("span",{className:"".concat(s,"-inner")}))})},1221(e,t,r){r.d(t,{A:()=>x});var o,n,i,a=r(6467),l=r(33779),s=r(86233),c=r(2716),u=r(30395),d=r.n(u),h=r(62634),f=r(37233),g=r(22155),b=r(86547),p=r(65413),v=r(94343),m=r(72599),y=r(28591),C=r(26839);let x=(n=o=C.J1,"object"===(0,c.A)(o)&&(n=o.transitionSupport),(i=g.forwardRef(function(e,t){var r=e.visible,o=void 0===r||r,i=e.removeOnLeave,c=void 0===i||i,u=e.forceRender,x=e.children,A=e.motionName,S=e.leavedClassName,$=e.eventProps,k=g.useContext(b.o).motion,O=!!(e.motionName&&n&&!1!==k),w=(0,g.useRef)(),E=(0,g.useRef)(),j=(0,v.A)(O,o,function(){try{return w.current instanceof HTMLElement?w.current:(0,h.Ay)(E.current)}catch(e){return null}},e),H=(0,s.A)(j,4),_=H[0],B=H[1],P=H[2],I=H[3],M=g.useRef(I);I&&(M.current=!0);var R=g.useCallback(function(e){w.current=e,(0,f.Xf)(t,e)},[t]),N=(0,l.A)((0,l.A)({},$),{},{visible:o});if(x)if(_===y.SF)T=I?x((0,l.A)({},N),R):!c&&M.current&&S?x((0,l.A)((0,l.A)({},N),{},{className:S}),R):!u&&(c||S)?null:x((0,l.A)((0,l.A)({},N),{},{style:{display:"none"}}),R);else{B===y.px?z="prepare":(0,m.$m)(B)?z="active":B===y.Mv&&(z="start");var T,z,L=(0,C.by)(A,"".concat(_,"-").concat(z));T=x((0,l.A)((0,l.A)({},N),{},{className:d()((0,C.by)(A,_),(0,a.A)((0,a.A)({},L,L&&z),A,"string"==typeof A)),style:P}),R)}else T=null;return g.isValidElement(T)&&(0,f.f3)(T)&&(T.ref||(T=g.cloneElement(T,{ref:R}))),g.createElement(p.A,{ref:E},T)})).displayName="CSSMotion",i)},86547(e,t,r){r.d(t,{A:()=>l,o:()=>a});var o=r(48827),n=r(22155),i=["children"],a=n.createContext({});function l(e){var t=e.children,r=(0,o.A)(e,i);return n.createElement(a.Provider,{value:r},t)}},33243(e,t,r){function o(e,t){this.v=e,this.k=t}function n(e,t,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(n=function(e,t,r,o){function a(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?i?i(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[t]=r:(a("next",0),a("throw",1),a("return",2))})(e,t,r,o)}function i(){var e,t,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.toStringTag||"@@toStringTag";function l(r,o,i,a){var l=Object.create((o&&o.prototype instanceof c?o:c).prototype);return n(l,"_invoke",function(r,o,n){var i,a,l,c=0,u=n||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,r){return i=t,a=0,l=e,h.n=r,s}};function f(r,o){for(a=r,l=o,t=0;!d&&c&&!n&&t<u.length;t++){var n,i=u[t],f=h.p,g=i[2];r>3?(n=g===o)&&(l=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=f&&((n=r<2&&f<i[1])?(a=0,h.v=o,h.n=i[1]):f<g&&(n=r<3||i[0]>o||o>g)&&(i[4]=r,i[5]=o,h.n=g,a=0))}if(n||r>1)return s;throw d=!0,o}return function(n,u,g){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,g),a=u,l=g;(t=a<2?e:l)||!d;){i||(a?a<3?(a>1&&(h.n=-1),f(a,l)):h.n=l:h.v=l);try{if(c=2,i){if(a||(n="next"),t=i[n]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(l=TypeError("The iterator does not provide a '"+n+"' method"),a=1);i=e}else if((t=(d=h.n<0)?l:r.call(o,h))!==s)break}catch(t){i=e,a=1,l=t}finally{c=1}}return{value:t,done:d}}}(r,i,a),!0),l}var s={};function c(){}function u(){}function d(){}t=Object.getPrototypeOf;var h=d.prototype=c.prototype=Object.create([][o]?t(t([][o]())):(n(t={},o,function(){return this}),t));function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,n(e,a,"GeneratorFunction")),e.prototype=Object.create(h),e}return u.prototype=d,n(h,"constructor",d),n(d,"constructor",u),u.displayName="GeneratorFunction",n(d,a,"GeneratorFunction"),n(h),n(h,a,"Generator"),n(h,o,function(){return this}),n(h,"toString",function(){return"[object Generator]"}),(i=function(){return{w:l,m:f}})()}function a(e,t){var r;this.next||(n(a.prototype),n(a.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(n,i,a){function l(){return new t(function(r,i){!function r(n,i,a,l){try{var s=e[n](i),c=s.value;return c instanceof o?t.resolve(c.v).then(function(e){r("next",e,a,l)},function(e){r("throw",e,a,l)}):t.resolve(c).then(function(e){s.value=e,a(s)},function(e){return r("throw",e,a,l)})}catch(e){l(e)}}(n,a,r,i)})}return r=r?r.then(l,l):l()},!0)}function l(e,t,r,o,n){return new a(i().w(e,t,r,o),n||Promise)}function s(e){var t=Object(e),r=[];for(var o in t)r.unshift(o);return function e(){for(;r.length;)if((o=r.pop())in t)return e.value=o,e.done=!1,e;return e.done=!0,e}}r.d(t,{X:()=>$,v:()=>O});var c,u=r(45983);function d(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw TypeError((0,u.A)(e)+" is not iterable")}function h(){var e=i(),t=e.m(h),r=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function n(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===r||"GeneratorFunction"===(t.displayName||t.name))}var c={throw:1,return:2,break:3,continue:3};function u(e){var t,r;return function(o){t||(t={stop:function(){return r(o.a,2)},catch:function(){return o.v},abrupt:function(e,t){return r(o.a,c[e],t)},delegateYield:function(e,n,i){return t.resultName=n,r(o.d,d(e),i)},finish:function(e){return r(o.f,e)}},r=function(e,r,n){o.p=t.prev,o.n=t.next;try{return e(r,n)}finally{t.next=o.n}}),t.resultName&&(t[t.resultName]=o.v,t.resultName=void 0),t.sent=o.v,t.next=o.n;try{return e.call(this,t)}finally{o.p=t.prev,o.n=t.next}}}return(h=function(){return{wrap:function(t,r,o,n){return e.w(u(t),r,o,n&&n.reverse())},isGeneratorFunction:n,mark:e.m,awrap:function(e,t){return new o(e,t)},AsyncIterator:a,async:function(e,t,r,o,i){return(n(t)?l:function(e,t,r,o,n){var i=l(e,t,r,o,n);return i.next().then(function(e){return e.done?e.value:i.next()})})(u(e),t,r,o,i)},keys:s,values:d}})()}function f(e,t,r,o,n,i,a){try{var l=e[i](a),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(o,n)}function g(e){return function(){var t=this,r=arguments;return new Promise(function(o,n){var i=e.apply(t,r);function a(e){f(i,o,n,a,l,"next",e)}function l(e){f(i,o,n,a,l,"throw",e)}a(void 0)})}}var b=r(57970),p=r(70316),v=r.t(p,2),m=(0,b.A)({},v),y=m.version,C=m.render,x=m.unmountComponentAtNode;try{Number((y||"").split(".")[0])>=18&&(c=m.createRoot)}catch(e){}function A(e){var t=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,u.A)(t)&&(t.usingClientEntryPoint=e)}var S="__rc_react_root__";function $(e,t){if(c){var r;return void(A(!0),r=t[S]||c(t),A(!1),r.render(e),t[S]=r)}C(e,t)}function k(){return(k=g(h().mark(function e(t){return h().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null==(e=t[S])||e.unmount(),delete t[S]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function O(e){return w.apply(this,arguments)}function w(){return(w=g(h().mark(function e(t){return h().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===c){e.next=2;break}return e.abrupt("return",function(e){return k.apply(this,arguments)}(t));case 2:x(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},41186(e,t,r){r.d(t,{A:()=>n});var o=r(22155);function n(e){var t=o.useRef();return t.current=e,o.useCallback(function(){for(var e,r=arguments.length,o=Array(r),n=0;n<r;n++)o[n]=arguments[n];return null==(e=t.current)?void 0:e.call.apply(e,[t].concat(o))},[])}}}]);
|
| 13 |
+
//# sourceMappingURL=364.2af087c2.js.map
|
364.2af087c2.js.LICENSE.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
364.2af087c2.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
422.8e1ca0fa.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! For license information please see 422.8e1ca0fa.js.LICENSE.txt */
|
| 2 |
+
(self.webpackChunkchrome_extension=self.webpackChunkchrome_extension||[]).push([["422"],{93503(e,t,r){"use strict";r.d(t,{A:()=>b});var n=r(2716),o=r(86233),i=r(6467),a=r(33779),s=r(22155),l=r(90803),c=r(66428),u=r(83826);r(65260);let f=function(e,t,r,n){var i=(0,a.A)({},t[e]);null!=n&&n.deprecatedTokens&&n.deprecatedTokens.forEach(function(e){var t=(0,o.A)(e,2),r=t[0],n=t[1];(null!=i&&i[r]||null!=i&&i[n])&&(null!=i[n]||(i[n]=null==i?void 0:i[r]))});var s=(0,a.A)((0,a.A)({},r),i);return Object.keys(s).forEach(function(e){s[e]===t[e]&&delete s[e]}),s};var d=r(72798);let p=function(e,t,r){if("function"==typeof r){var n;return r((0,d.h1)(t,null!=(n=t[e])?n:{}))}return null!=r?r:{}};var h=r(32645),g=r(30965),m=new(function(){function e(){(0,h.A)(this,e),(0,i.A)(this,"map",new Map),(0,i.A)(this,"objectIDMap",new WeakMap),(0,i.A)(this,"nextID",0),(0,i.A)(this,"lastAccessBeat",new Map),(0,i.A)(this,"accessBeat",0)}return(0,g.A)(e,[{key:"set",value:function(e,t){this.clear();var r=this.getCompositeKey(e);this.map.set(r,t),this.lastAccessBeat.set(r,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),r=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,r}},{key:"getCompositeKey",value:function(e){var t=this;return e.map(function(e){return e&&"object"===(0,n.A)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,n.A)(e),"_").concat(e)}).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach(function(r,n){t-r>6e5&&(e.map.delete(n),e.lastAccessBeat.delete(n))}),this.accessBeat=0}}}]),e}()),y=r(44921);let b=function(e){var t=e.useCSP,r=void 0===t?y.A:t,h=e.useToken,g=e.usePrefix,b=e.getResetStyles,v=e.getCommonStyle,w=e.getCompUnitless;function A(t,i,y){var w=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},A=Array.isArray(t)?t:[t,t],x=(0,o.A)(A,1)[0],E=A.join("-"),$=e.layer||{name:"antd"};return function(e){var t,o,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,C=h(),S=C.theme,k=C.realToken,B=C.hashId,M=C.token,O=C.cssVar,I=g(),R=I.rootPrefixCls,T=I.iconPrefixCls,j=r(),P=O?"css":"js",z=(t=function(){var e=new Set;return O&&Object.keys(w.unitless||{}).forEach(function(t){e.add((0,l.Ki)(t,O.prefix)),e.add((0,l.Ki)(t,(0,u.A)(x,O.prefix)))}),(0,c.A)(P,e)},o=[P,x,null==O?void 0:O.prefix],s.useMemo(function(){var e=m.get(o);if(e)return e;var r=t();return m.set(o,r),r},o)),L="js"===P?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return"max(".concat(t.map(function(e){return(0,l.zA)(e)}).join(","),")")},min:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return"min(".concat(t.map(function(e){return(0,l.zA)(e)}).join(","),")")}},D=L.max,U=L.min,F={theme:S,token:M,hashId:B,nonce:function(){return j.nonce},clientOnly:w.clientOnly,layer:$,order:w.order||-999};return(0,l.IV)((0,a.A)((0,a.A)({},F),{},{clientOnly:!1,path:["Shared",R]}),function(){return"function"==typeof b?b(M):[]}),[(0,l.IV)((0,a.A)((0,a.A)({},F),{},{path:[E,e,T]}),function(){if(!1===w.injectStyle)return[];var t=(0,d.Ay)(M),r=t.token,o=t.flush,a=p(x,k,y),s=".".concat(e),c=f(x,k,a,{deprecatedTokens:w.deprecatedTokens});O&&a&&"object"===(0,n.A)(a)&&Object.keys(a).forEach(function(e){a[e]="var(".concat((0,l.Ki)(e,(0,u.A)(x,O.prefix)),")")});var h=(0,d.h1)(r,{componentCls:s,prefixCls:e,iconCls:".".concat(T),antCls:".".concat(R),calc:z,max:D,min:U},O?a:c),g=i(h,{hashId:B,prefixCls:e,rootPrefixCls:R,iconPrefixCls:T});o(x,c);var m="function"==typeof v?v(h,e,A,w.resetFont):null;return[!1===w.resetStyle?null:m,g]}),B]}}return{genStyleHooks:function(e,t,r,n){var c,u,d,g,m,y,b,v,x,E=Array.isArray(e)?e[0]:e;function $(e){return"".concat(String(E)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var C=(null==n?void 0:n.unitless)||{},S="function"==typeof w?w(e):{},k=(0,a.A)((0,a.A)({},S),{},(0,i.A)({},$("zIndexPopup"),!0));Object.keys(C).forEach(function(e){k[$(e)]=C[e]});var B=(0,a.A)((0,a.A)({},n),{},{unitless:k,prefixToken:$}),M=A(e,t,r,B),O=(c=E,u=r,g=(d=B).unitless,y=void 0===(m=d.injectStyle)||m,b=d.prefixToken,v=d.ignore,x=function(e){var t=e.rootCls,r=e.cssVar,n=void 0===r?{}:r,o=h().realToken;return(0,l.RC)({path:[c],prefix:n.prefix,key:n.key,unitless:g,ignore:v,token:o,scope:t},function(){var e=p(c,o,u),t=f(c,o,e,{deprecatedTokens:null==d?void 0:d.deprecatedTokens});return Object.keys(e).forEach(function(e){t[b(e)]=t[e],delete t[e]}),t}),null},function(e){var t=h().cssVar;return[function(r){return y&&t?s.createElement(s.Fragment,null,s.createElement(x,{rootCls:e,cssVar:t,component:c}),r):r},null==t?void 0:t.key]});return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=M(e,t),n=(0,o.A)(r,2)[1],i=O(t),a=(0,o.A)(i,2);return[a[0],n,a[1]]}},genSubStyleComponent:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=A(e,t,r,(0,a.A)({resetStyle:!1,order:-998},n));return function(e){var t=e.prefixCls,r=e.rootCls,n=void 0===r?t:r;return o(t,n),null}},genComponentStyleHook:A}}},39128(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(21872),o=r(84),i=new n.A;function a(e){var t=Array.isArray(e)?e:[e];return i.has(t)||i.set(t,new o.A(t)),i.get(t)}},11820(e,t,r){"use strict";r.d(t,{$e:()=>f,Em:()=>h,P3:()=>d,al:()=>g,cM:()=>function e(t,r,o){return o?c.createElement(t.tag,(0,n.A)((0,n.A)({key:r},p(t.attrs)),o),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))})):c.createElement(t.tag,(0,n.A)({key:r},p(t.attrs)),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))}))},lf:()=>m});var n=r(33779),o=r(2716),i=r(82376),a=r(58451),s=r(21843),l=r(36216),c=r(22155),u=r(12893);function f(e,t){(0,l.Ay)(e,"[@ant-design/icons] ".concat(t))}function d(e){return"object"===(0,o.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,o.A)(e.icon)||"function"==typeof e.icon)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];return"class"===r?(t.className=n,delete t.class):(delete t[r],t[r.replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=n),t},{})}function h(e){return(0,i.cM)(e)[0]}function g(e){return e?Array.isArray(e)?e:[e]:[]}var m=function(e){var t=(0,c.useContext)(u.A),r=t.csp,n=t.prefixCls,o="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";n&&(o=o.replace(/anticon/g,n)),(0,c.useEffect)(function(){var t=e.current,n=(0,s.j)(t);(0,a.BD)(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})},[])}},47705(e,t,r){"use strict";r.d(t,{A:()=>S});var n=r(33779),o=r(86233),i=r(48827),a=r(47138),s=r(30395),l=r.n(s),c=r(85925),u=r(62634),f=r(21843),d=r(41186),p=r(94121),h=r(28367),g=r(84080),m=r(22155),y=r(65598),b=r(46750),v=r(63510),w=r(80499),A=r(24396),x=r(14150),E=r(37607),$=r(97761),C=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];let S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.A;return m.forwardRef(function(t,r){var a,s,S=t.prefixCls,k=void 0===S?"rc-trigger-popup":S,B=t.children,M=t.action,O=t.showAction,I=t.hideAction,R=t.popupVisible,T=t.defaultPopupVisible,j=t.onPopupVisibleChange,P=t.afterPopupVisibleChange,z=t.mouseEnterDelay,L=t.mouseLeaveDelay,D=void 0===L?.1:L,U=t.focusDelay,F=t.blurDelay,W=t.mask,N=t.maskClosable,H=t.getPopupContainer,_=t.forceRender,V=t.autoDestroy,K=t.destroyPopupOnHide,X=t.popup,Z=t.popupClassName,q=t.popupStyle,Y=t.popupPlacement,G=t.builtinPlacements,J=void 0===G?{}:G,Q=t.popupAlign,ee=t.zIndex,et=t.stretch,er=t.getPopupClassNameFromAlign,en=t.fresh,eo=t.alignPoint,ei=t.onPopupClick,ea=t.onPopupAlign,es=t.arrow,el=t.popupMotion,ec=t.maskMotion,eu=t.popupTransitionName,ef=t.popupAnimation,ed=t.maskTransitionName,ep=t.maskAnimation,eh=t.className,eg=t.getTriggerDOMNode,em=(0,i.A)(t,C),ey=m.useState(!1),eb=(0,o.A)(ey,2),ev=eb[0],ew=eb[1];(0,h.A)(function(){ew((0,g.A)())},[]);var eA=m.useRef({}),ex=m.useContext(v.A),eE=m.useMemo(function(){return{registerSubPopup:function(e,t){eA.current[e]=t,null==ex||ex.registerSubPopup(e,t)}}},[ex]),e$=(0,p.A)(),eC=m.useState(null),eS=(0,o.A)(eC,2),ek=eS[0],eB=eS[1],eM=m.useRef(null),eO=(0,d.A)(function(e){eM.current=e,(0,u.fk)(e)&&ek!==e&&eB(e),null==ex||ex.registerSubPopup(e$,e)}),eI=m.useState(null),eR=(0,o.A)(eI,2),eT=eR[0],ej=eR[1],eP=m.useRef(null),ez=(0,d.A)(function(e){(0,u.fk)(e)&&eT!==e&&(ej(e),eP.current=e)}),eL=m.Children.only(B),eD=(null==eL?void 0:eL.props)||{},eU={},eF=(0,d.A)(function(e){var t,r;return(null==eT?void 0:eT.contains(e))||(null==(t=(0,f.j)(eT))?void 0:t.host)===e||e===eT||(null==ek?void 0:ek.contains(e))||(null==(r=(0,f.j)(ek))?void 0:r.host)===e||e===ek||Object.values(eA.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),eW=(0,$.Vu)(k,el,ef,eu),eN=(0,$.Vu)(k,ec,ep,ed),eH=m.useState(T||!1),e_=(0,o.A)(eH,2),eV=e_[0],eK=e_[1],eX=null!=R?R:eV,eZ=(0,d.A)(function(e){void 0===R&&eK(e)});(0,h.A)(function(){eK(R||!1)},[R]);var eq=m.useRef(eX);eq.current=eX;var eY=m.useRef([]);eY.current=[];var eG=(0,d.A)(function(e){var t;eZ(e),(null!=(t=eY.current[eY.current.length-1])?t:eX)!==e&&(eY.current.push(e),null==j||j(e))}),eJ=m.useRef(),eQ=function(){clearTimeout(eJ.current)},e0=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;eQ(),0===t?eG(e):eJ.current=setTimeout(function(){eG(e)},1e3*t)};m.useEffect(function(){return eQ},[]);var e1=m.useState(!1),e2=(0,o.A)(e1,2),e5=e2[0],e8=e2[1];(0,h.A)(function(e){(!e||eX)&&e8(!0)},[eX]);var e3=m.useState(null),e6=(0,o.A)(e3,2),e4=e6[0],e9=e6[1],e7=m.useState(null),te=(0,o.A)(e7,2),tt=te[0],tr=te[1],tn=function(e){tr([e.clientX,e.clientY])},to=(0,A.A)(eX,ek,eo&&null!==tt?tt:eT,Y,J,Q,ea),ti=(0,o.A)(to,11),ta=ti[0],ts=ti[1],tl=ti[2],tc=ti[3],tu=ti[4],tf=ti[5],td=ti[6],tp=ti[7],th=ti[8],tg=ti[9],tm=ti[10],ty=(0,w.A)(ev,void 0===M?"hover":M,O,I),tb=(0,o.A)(ty,2),tv=tb[0],tw=tb[1],tA=tv.has("click"),tx=tw.has("click")||tw.has("contextMenu"),tE=(0,d.A)(function(){e5||tm()});(0,x.A)(eX,eT,ek,tE,function(){eq.current&&eo&&tx&&e0(!1)}),(0,h.A)(function(){tE()},[tt,Y]),(0,h.A)(function(){eX&&!(null!=J&&J[Y])&&tE()},[JSON.stringify(Q)]);var t$=m.useMemo(function(){var e=(0,$.H1)(J,k,tg,eo);return l()(e,null==er?void 0:er(tg))},[tg,er,J,k,eo]);m.useImperativeHandle(r,function(){return{nativeElement:eP.current,popupElement:eM.current,forceAlign:tE}});var tC=m.useState(0),tS=(0,o.A)(tC,2),tk=tS[0],tB=tS[1],tM=m.useState(0),tO=(0,o.A)(tM,2),tI=tO[0],tR=tO[1],tT=function(){if(et&&eT){var e=eT.getBoundingClientRect();tB(e.width),tR(e.height)}};function tj(e,t,r,n){eU[e]=function(o){var i;null==n||n(o),e0(t,r);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];null==(i=eD[e])||i.call.apply(i,[eD,o].concat(s))}}(0,h.A)(function(){e4&&(tm(),e4(),e9(null))},[e4]),(tA||tx)&&(eU.onClick=function(e){var t;eq.current&&tx?e0(!1):!eq.current&&tA&&(tn(e),e0(!0));for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];null==(t=eD.onClick)||t.call.apply(t,[eD,e].concat(n))}),(0,E.A)(eX,tx,eT,ek,W,void 0===N||N,eF,e0);var tP=tv.has("hover"),tz=tw.has("hover");tP&&(tj("onMouseEnter",!0,z,function(e){tn(e)}),tj("onPointerEnter",!0,z,function(e){tn(e)}),a=function(e){(eX||e5)&&null!=ek&&ek.contains(e.target)&&e0(!0,z)},eo&&(eU.onMouseMove=function(e){var t;null==(t=eD.onMouseMove)||t.call(eD,e)})),tz&&(tj("onMouseLeave",!1,D),tj("onPointerLeave",!1,D),s=function(){e0(!1,D)}),tv.has("focus")&&tj("onFocus",!0,U),tw.has("focus")&&tj("onBlur",!1,F),tv.has("contextMenu")&&(eU.onContextMenu=function(e){var t;eq.current&&tw.has("contextMenu")?e0(!1):(tn(e),e0(!0)),e.preventDefault();for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];null==(t=eD.onContextMenu)||t.call.apply(t,[eD,e].concat(n))}),eh&&(eU.className=l()(eD.className,eh));var tL=(0,n.A)((0,n.A)({},eD),eU),tD={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(function(e){em[e]&&(tD[e]=function(){for(var t,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];null==(t=tL[e])||t.call.apply(t,[tL].concat(n)),em[e].apply(em,n)})});var tU=m.cloneElement(eL,(0,n.A)((0,n.A)({},tL),tD)),tF=es?(0,n.A)({},!0!==es?es:{}):null;return m.createElement(m.Fragment,null,m.createElement(c.A,{disabled:!eX,ref:ez,onResize:function(){tT(),tE()}},m.createElement(b.A,{getTriggerDOMNode:eg},tU)),m.createElement(v.A.Provider,{value:eE},m.createElement(y.A,{portal:e,ref:eO,prefixCls:k,popup:X,className:l()(Z,t$),style:q,target:eT,onMouseEnter:a,onMouseLeave:s,onPointerEnter:a,zIndex:ee,open:eX,keepDom:e5,fresh:en,onClick:ei,mask:W,motion:eW,maskMotion:eN,onVisibleChanged:function(e){e8(!1),tm(),null==P||P(e)},onPrepare:function(){return new Promise(function(e){tT(),e9(function(){return e})})},forceRender:_,autoDestroy:V||K||!1,getPopupContainer:H,align:tg,arrow:tF,arrowPos:{x:tf,y:td},ready:ta,offsetX:ts,offsetY:tl,offsetR:tc,offsetB:tu,onAlign:tE,stretch:et,targetWidth:tk/tp,targetHeight:tI/th})))})}(a.A)},58775(e,t,r){"use strict";r.d(t,{YK:()=>l});var n=r(22155),o=r(68381),i=r(76332);let a={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100,FloatButton:100},s={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1},l=(e,t)=>{let r,[,l]=(0,o.Ay)(),c=n.useContext(i.A),u=e in a;if(void 0!==t)r=[t,t];else{let n=null!=c?c:0;u?n+=(c?0:l.zIndexPopupBase)+a[e]:n+=s[e],r=[void 0===c?t:n,n]}return r}},36079(e,t,r){"use strict";r.d(t,{b:()=>n});let n=(e,t,r)=>void 0!==r?r:`${e}-${t}`},37886(e,t,r){"use strict";r.d(t,{Ob:()=>i,zv:()=>o});var n=r(22155);function o(e){return e&&n.isValidElement(e)&&e.type===n.Fragment}function i(e,t){return n.isValidElement(e)?n.cloneElement(e,"function"==typeof t?t(e.props||{}):t):e}},61105(e,t,r){"use strict";function n(){}r.d(t,{rJ:()=>o}),r(22155),r(36216);let o=()=>{let e=()=>{};return e.deprecated=n,e}},45227(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(22155).createContext(!1)},63020(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(22155).createContext(void 0)},71179(e,t,r){"use strict";r.d(t,{QO:()=>i,lJ:()=>o});var n=r(22155);let o=["outlined","borderless","filled"],i=n.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:"anticon"}),{Consumer:a}=i},48749(e,t,r){"use strict";r.d(t,{$W:()=>o,Pp:()=>a,XB:()=>i});var n=r(22155);r(55424);let o=n.createContext({}),i=e=>{let{children:t,status:r,override:i}=e,a=(0,n.useContext)(o),s=(0,n.useMemo)(()=>{let e=Object.assign({},a);return i&&delete e.isFormItemInput,r&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[r,i,a]);return n.createElement(o.Provider,{value:s},t)},a=(0,n.createContext)(void 0)},19828(e,t,r){"use strict";function n(e,t){if(!e)return;e.focus(t);let{cursor:r}=t||{};if(r){let t=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}r.d(t,{F:()=>n}),r(22155),r(30395),r(94079),r(37233)},87694(e,t,r){"use strict";r.d(t,{Ay:()=>p});var n=r(90803),o=r(12869),i=r(33458),a=r(16850),s=r(1911),l=r(49963),c=r(23522);let u=e=>{let{paddingBlockLG:t,lineHeightLG:r,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${(0,n.zA)(t)} ${(0,n.zA)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:o}},f=e=>({padding:`${(0,n.zA)(e.paddingBlockSM)} ${(0,n.zA)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),d=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,n.zA)(e.paddingBlock)} ${(0,n.zA)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},{"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e.colorTextPlaceholder,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(e)),"&-sm":Object.assign({},f(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),p=(0,a.OF)("Input",e=>{let t=(0,s.oX)(e,(0,l.C)(e));return[(e=>{let{componentCls:t,controlHeightSM:r,lineWidth:n,calc:i}=e,a=i(r).sub(i(n).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.dF)(e)),d(e)),(0,c.Eb)(e)),(0,c.sA)(e)),(0,c.lB)(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}})(t),(e=>{let{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
| 3 |
+
&-allow-clear > ${t},
|
| 4 |
+
&-affix-wrapper${n}-has-feedback ${t}
|
| 5 |
+
`]:{paddingInlineEnd:r},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}})(t),(e=>{let{componentCls:t,inputAffixPadding:r,colorTextDescription:o,motionDurationSlow:i,colorIcon:a,colorIconHover:s,iconCls:l}=e,c=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},d(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:o},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),(e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,n.zA)(e.inputAffixPadding)}`}}}})(e)),{[`${l}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:s}}}),[u]:{[`${l}${t}-password-icon`]:{color:a,cursor:"not-allowed","&:hover":{color:a}}}}})(t),(e=>{let{componentCls:t,borderRadiusLG:r,borderRadiusSM:i}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,o.dF)(e)),(e=>{let{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},u(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},f(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,n.zA)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${(0,n.zA)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,n.zA)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${(0,n.zA)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${r}-cascader-picker`]:{margin:`-9px ${(0,n.zA)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,o.t6)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
| 6 |
+
& > ${t}-affix-wrapper,
|
| 7 |
+
& > ${t}-number-affix-wrapper,
|
| 8 |
+
& > ${r}-picker-range
|
| 9 |
+
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${r}-select > ${r}-select-selector,
|
| 10 |
+
& > ${r}-select-auto-complete ${t},
|
| 11 |
+
& > ${r}-cascader-picker ${t},
|
| 12 |
+
& > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
| 13 |
+
& > ${r}-select:first-child > ${r}-select-selector,
|
| 14 |
+
& > ${r}-select-auto-complete:first-child ${t},
|
| 15 |
+
& > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
| 16 |
+
& > ${r}-select:last-child > ${r}-select-selector,
|
| 17 |
+
& > ${r}-cascader-picker:last-child ${t},
|
| 18 |
+
& > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}})(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}}},(0,c.nm)(e)),(0,c.Vy)(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}})(t),(e=>{let{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
|
| 19 |
+
> ${t},
|
| 20 |
+
${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}})(t),(e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}})(t),(0,i.G)(t)]},l.b,{resetFont:!1})},23522(e,t,r){"use strict";r.d(t,{Eb:()=>l,Vy:()=>m,lB:()=>f,nm:()=>u,sA:()=>h});var n=r(90803),o=r(1911);let i=e=>{let t;return{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},{borderColor:(t=(0,o.oX)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})).hoverBorderColor,backgroundColor:t.hoverBg})}},a=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),s=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},a(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),l=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},a(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},i(e))}),s(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),s(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),c=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),u=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},c(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),c(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},i(e))}})}),f=(e,t)=>{let{componentCls:r}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},d=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==t?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),p=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},d(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),h=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},i(e))}),p(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),p(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),g=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),m=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},g(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),g(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},50059(e,t,r){"use strict";r.d(t,{K6:()=>i});var n=r(22155);r(30395),r(69268);let o=n.createContext(null),i=e=>{let{children:t}=e;return n.createElement(o.Provider,{value:null},t)}},12869(e,t,r){"use strict";r.d(t,{Nk:()=>i,Y1:()=>c,av:()=>s,dF:()=>o,t6:()=>a,vj:()=>l});var n=r(90803);let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),a=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),s=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),l=(e,t,r,n)=>{let o=`[class^="${t}"], [class*=" ${t}"]`,i=r?`.${r}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return!1!==n&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),a),{[o]:a})}},c=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},{"&:focus-visible":Object.assign({},{outline:`${(0,n.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"})}),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},23817(e,t,r){"use strict";r.d(t,{aB:()=>d});var n=r(90803),o=r(52552);let i=new n.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new n.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),s=new n.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),l=new n.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new n.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new n.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),f={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:l},"zoom-big-fast":{inKeyframes:s,outKeyframes:l},"zoom-left":{inKeyframes:new n.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new n.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new n.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new n.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:new n.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new n.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},d=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=f[t];return[(0,o.b)(n,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`
|
| 21 |
+
${n}-enter,
|
| 22 |
+
${n}-appear
|
| 23 |
+
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},79962(e,t,r){"use strict";r.d(t,{vG:()=>c,zQ:()=>s});var n=r(22155),o=r(90803),i=r(64921),a=r(88471);let s=(0,o.an)(i.A),l={token:a.A,override:{override:a.A},hashed:!0},c=n.createContext(l)},18601(e,t,r){"use strict";function n(e){let t=Array(10).fill(null).map((t,r)=>{let n=e*Math.pow(Math.E,(r-1)/5);return 2*Math.floor((r>1?Math.floor(n):Math.ceil(n))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}r.d(t,{A:()=>n})},16850(e,t,r){"use strict";r.d(t,{OF:()=>c});var n=r(22155),o=r(1911),i=r(71179),a=r(12869),s=r(68381),l=r(6954);let{genStyleHooks:c,genComponentStyleHook:u,genSubStyleComponent:f}=(0,o.L_)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,n.useContext)(i.QO);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,r,n,o]=(0,s.Ay)();return{theme:e,realToken:t,hashId:r,token:n,cssVar:o}},useCSP:()=>{let{csp:e,iconPrefixCls:t}=(0,n.useContext)(i.QO);return(0,l.A)(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":(0,a.av)(e)}],getCommonStyle:a.vj,getCompUnitless:()=>s.Is})},8963(e,t,r){"use strict";var n=r(84933),o=r(63328),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!s.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|h(n,o),l=a(i),c=l.write(n,o);return c!==i&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(e)){var u=e;if(M(u,Uint8Array)){var g=new Uint8Array(u);return d(g.buffer,g.byteOffset,g.byteLength)}return f(u)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(M(e,ArrayBuffer)||e&&M(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(M(e,SharedArrayBuffer)||e&&M(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var m=e.valueOf&&e.valueOf();if(null!=m&&m!==e)return s.from(m,t,r);var y=function(e){if(s.isBuffer(e)){var t=0|p(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(y)return y;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),a(e<0?0:0|p(e))}function f(e){for(var t=e.length<0?0:0|p(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function p(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||M(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return k(e).length;default:if(o)return n?-1:S(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,r){var o,i,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=O[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=this,i=t,a=r,0===i&&a===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return b(e,[t],r,n,o)}throw TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var i,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else -1!==u&&(i-=i-u),u=-1}else for(r+l>s&&(r=s-l),i=r;i>=0;i--){for(var f=!0,d=0;d<l;d++)if(c(e,i+d)!==c(t,d)){f=!1;break}if(f)return i}return -1}function v(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,l,c=e[o],u=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=f}var d=n,p=d.length;if(p<=4096)return String.fromCharCode.apply(String,d);for(var h="",g=0;g<p;)h+=String.fromCharCode.apply(String,d.slice(g,g+=4096));return h}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function A(e,t,r,n,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function x(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function E(e,t,r,n,i){return t*=1,r>>>=0,i||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function $(e,t,r,n,i){return t*=1,r>>>=0,i||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==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(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return u(e)},s.allocUnsafeSlow=function(e){return u(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(M(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),M(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).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(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(M(i,Uint8Array))o+i.length>n.length?s.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(s.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,o){if(M(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,l=Math.min(i,a),c=this.slice(n,o),u=e.slice(t,r),f=0;f<l;++f)if(c[f]!==u[f]){i=c[f],a=u[f];break}return i<a?-1:+(a<i)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=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 o,i,a,s,l,c,u,f,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s,l=parseInt(t.substr(2*a,2),16);if((s=l)!=s)break;e[r+a]=l}return a}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,B(S(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return a=t,s=r,B(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return l=t,c=r,B(k(e),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=t,f=r,B(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-u),this,u,f);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(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;A(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;A(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);A(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);A(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||A(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return E(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return E(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return $(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return $(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<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),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=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===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),l=a.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%l]}return this};var C=/[^+/0-9A-Za-z-_]/g;function S(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function k(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function M(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var O=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},55424(e,t,r){"use strict";var n=r(22155),o=r(82477),i=r(99898),a=r(24245),s=r(30764),l=r(13441);r(77281),r(19351);var c=r(30260),u=n.forwardRef(s.A);u.FormProvider=l.O,u.Field=o.A,u.List=i.A,u.useForm=a.A,u.useWatch=c.A},50827(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r(48827),o=r(33779),i=r(2716),a=r(22155),s=["show"];function l(e,t){return a.useMemo(function(){var r={};t&&(r.show="object"===(0,i.A)(t)&&t.formatter?t.formatter:!!t);var a=r=(0,o.A)((0,o.A)({},r),e),l=a.show,c=(0,n.A)(a,s);return(0,o.A)((0,o.A)({},c),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:c.strategy||function(e){return e.length}})},[e,t])}},94079(e,t,r){"use strict";r.d(t,{a:()=>n.A});var n=r(14217);r(30395),r(88127),r(22155),r(50827)},79874(e,t,r){"use strict";function n(e){return!!(e.addonBefore||e.addonAfter)}function o(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,t,r){var n=t.cloneNode(!0),o=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=r,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function a(e,t,r,n){if(r){var o=t;if("click"===t.type)return void r(o=i(t,e,""));if("file"!==e.type&&void 0!==n)return void r(o=i(t,e,n));r(o)}}r.d(t,{OL:()=>o,bk:()=>n,gS:()=>a})},1221(e,t,r){"use strict";r.d(t,{A:()=>A});var n,o,i,a=r(6467),s=r(33779),l=r(86233),c=r(2716),u=r(30395),f=r.n(u),d=r(62634),p=r(37233),h=r(22155),g=r(86547),m=r(65413),y=r(94343),b=r(72599),v=r(28591),w=r(26839);let A=(o=n=w.J1,"object"===(0,c.A)(n)&&(o=n.transitionSupport),(i=h.forwardRef(function(e,t){var r=e.visible,n=void 0===r||r,i=e.removeOnLeave,c=void 0===i||i,u=e.forceRender,A=e.children,x=e.motionName,E=e.leavedClassName,$=e.eventProps,C=h.useContext(g.o).motion,S=!!(e.motionName&&o&&!1!==C),k=(0,h.useRef)(),B=(0,h.useRef)(),M=(0,y.A)(S,n,function(){try{return k.current instanceof HTMLElement?k.current:(0,d.Ay)(B.current)}catch(e){return null}},e),O=(0,l.A)(M,4),I=O[0],R=O[1],T=O[2],j=O[3],P=h.useRef(j);j&&(P.current=!0);var z=h.useCallback(function(e){k.current=e,(0,p.Xf)(t,e)},[t]),L=(0,s.A)((0,s.A)({},$),{},{visible:n});if(A)if(I===v.SF)D=j?A((0,s.A)({},L),z):!c&&P.current&&E?A((0,s.A)((0,s.A)({},L),{},{className:E}),z):!u&&(c||E)?null:A((0,s.A)((0,s.A)({},L),{},{style:{display:"none"}}),z);else{R===v.px?U="prepare":(0,b.$m)(R)?U="active":R===v.Mv&&(U="start");var D,U,F=(0,w.by)(x,"".concat(I,"-").concat(U));D=A((0,s.A)((0,s.A)({},L),{},{className:f()((0,w.by)(x,I),(0,a.A)((0,a.A)({},F,F&&U),x,"string"==typeof x)),style:T}),z)}else D=null;return h.isValidElement(D)&&(0,p.f3)(D)&&(D.ref||(D=h.cloneElement(D,{ref:z}))),h.createElement(m.A,{ref:B},D)})).displayName="CSSMotion",i)},86547(e,t,r){"use strict";r.d(t,{o:()=>n});var n=r(22155).createContext({})},74589(e,t,r){"use strict";r.d(t,{Ay:()=>v});var n=r(1221),o=r(42664),i=r(48827),a=r(33779),s=r(32645),l=r(30965),c=r(14713),u=r(82944),f=r(53442),d=r(6467),p=r(22155),h=r(57298),g=r(26839),m=["component","children","onVisibleChanged","onAllRemoved"],y=["status"],b=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.A,r=function(e){(0,u.A)(n,e);var r=(0,f.A)(n);function n(){var e;(0,s.A)(this,n);for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return e=r.call.apply(r,[this].concat(o)),(0,d.A)((0,c.A)(e),"state",{keyEntities:[]}),(0,d.A)((0,c.A)(e),"removeKey",function(t){e.setState(function(e){return{keyEntities:e.keyEntities.map(function(e){return e.key!==t?e:(0,a.A)((0,a.A)({},e),{},{status:h.e8})})}},function(){0===e.state.keyEntities.filter(function(e){return e.status!==h.e8}).length&&e.props.onAllRemoved&&e.props.onAllRemoved()})}),e}return(0,l.A)(n,[{key:"render",value:function(){var e=this,r=this.state.keyEntities,n=this.props,s=n.component,l=n.children,c=n.onVisibleChanged,u=(n.onAllRemoved,(0,i.A)(n,m)),f=s||p.Fragment,d={};return b.forEach(function(e){d[e]=u[e],delete u[e]}),delete u.keys,p.createElement(f,u,r.map(function(r,n){var s=r.status,u=(0,i.A)(r,y),f=s===h.bK||s===h.xI;return p.createElement(t,(0,o.A)({},d,{key:u.key,visible:f,eventProps:u,onVisibleChanged:function(t){null==c||c(t,{key:u.key}),t||e.removeKey(u.key)}}),function(e,t){return l((0,a.A)((0,a.A)({},e),{},{index:n}),t)})}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=e.keys,n=t.keyEntities,o=(0,h.Ss)(r);return{keyEntities:(0,h.y$)(n,o).filter(function(e){var t=n.find(function(t){var r=t.key;return e.key===r});return!t||t.status!==h.e8||e.status!==h.au})}}}]),n}(p.Component);(0,d.A)(r,"defaultProps",{component:"div"})}(g.J1),r(86547);let v=n.A},62634(e,t,r){"use strict";r.d(t,{Ay:()=>s,fk:()=>a});var n=r(45983),o=r(22155),i=r(70316);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){var t,r=e&&"object"===(0,n.A)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null;return r||(e instanceof o.Component?null==(t=i.findDOMNode)?void 0:t.call(i,e):null)}},41186(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(22155);function o(e){var t=n.useRef();return t.current=e,n.useCallback(function(){for(var e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return null==(e=t.current)?void 0:e.call.apply(e,[t].concat(n))},[])}},37233(e,t,r){"use strict";r.d(t,{K4:()=>l,Xf:()=>s,f3:()=>u,xK:()=>c});var n=r(45983),o=r(22155),i=r(82737),a=r(64518),s=function(e,t){"function"==typeof e?e(t):"object"===(0,n.A)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.filter(Boolean);return n.length<=1?n[0]:function(e){t.forEach(function(t){s(t,e)})}},c=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.A)(function(){return l.apply(void 0,t)},t,function(e,t){return e.length!==t.length||e.every(function(e,r){return e!==t[r]})})},u=function(e){var t,r,n=(0,i.isMemo)(e)?e.type.type:e.type;return("function"!=typeof n||!!(null!=(t=n.prototype)&&t.render)||n.$$typeof===i.ForwardRef)&&("function"!=typeof e||!!(null!=(r=e.prototype)&&r.render)||e.$$typeof===i.ForwardRef)};o.version.split(".")[0]},13016(e,t,r){r(86068)},86068(e,t,r){"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=a(r(58257)),i=a(r(22155));function a(e){return e&&e.__esModule?e:{default:e}}(function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.setEl=r.setEl.bind(r),r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,[{key:"componentDidMount",value:function(){this.highlightCode()}},{key:"componentDidUpdate",value:function(){this.highlightCode()}},{key:"highlightCode",value:function(){for(var e=this.el.querySelectorAll("pre code"),t=0;t<e.length;t++)o.default.highlightBlock(e[t])}},{key:"setEl",value:function(e){this.el=e}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.element,o=e.innerHTML,a={ref:this.setEl,className:r};return o?(a.dangerouslySetInnerHTML={__html:t},n)?i.default.createElement(n,a):i.default.createElement("div",a):n?i.default.createElement(n,a,t):i.default.createElement("pre",{ref:this.setEl},i.default.createElement("code",{className:r},t))}}]),t})(i.default.Component).defaultProps={innerHTML:!1,className:null,element:null}},53428(){"use strict";var e={};!function e(t,r,n,o){var i,a,s,l,c,u,f,d,p,h,g,m=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),y="function"==typeof Path2D&&"function"==typeof DOMMatrix;function b(){}function v(e){var n=r.exports.Promise,o=void 0!==n?n:t.Promise;return"function"==typeof o?new o(e):(e(b,b),null)}var w=(i=function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),r=e.getContext("2d");r.fillRect(0,0,1,1);var n=e.transferToImageBitmap();try{r.createPattern(n,"no-repeat")}catch(e){return!1}return!0}(),a=new Map,{transform:function(e){if(i)return e;if(a.has(e))return a.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),a.set(e,t),t},clear:function(){a.clear()}}),A=(c=Math.floor(1e3/60),u={},f=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(s=function(e){var t=Math.random();return u[t]=requestAnimationFrame(function r(n){f===n||f+c-1<n?(f=n,delete u[t],e()):u[t]=requestAnimationFrame(r)}),t},l=function(e){u[e]&&cancelAnimationFrame(u[e])}):(s=function(e){return setTimeout(e,c)},l=function(e){return clearTimeout(e)}),{frame:s,cancel:l}),x=(h={},function(){if(d)return d;if(!n&&m){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {\n if (msg.data.options) {\n CONFETTI(msg.data.options).then(function () {\n if (msg.data.callback) {\n postMessage({ callback: msg.data.callback });\n }\n });\n } else if (msg.data.reset) {\n CONFETTI && CONFETTI.reset();\n } else if (msg.data.resize) {\n SIZE.width = msg.data.resize.width;\n SIZE.height = msg.data.resize.height;\n } else if (msg.data.canvas) {\n SIZE.width = msg.data.canvas.width;\n SIZE.height = msg.data.canvas.height;\n CONFETTI = module.exports.create(msg.data.canvas);\n }\n}"].join("\n");try{d=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return"function"==typeof console.warn&&console.warn("\uD83C\uDF8A Could not load worker",e),null}var r=d;function o(e,t){r.postMessage({options:e||{},callback:t})}r.init=function(e){var t=e.transferControlToOffscreen();r.postMessage({canvas:t},[t])},r.fire=function(e,t,n){if(p)return o(e,null),p;var i=Math.random().toString(36).slice(2);return p=v(function(t){function a(e){e.data.callback===i&&(delete h[i],r.removeEventListener("message",a),p=null,w.clear(),n(),t())}r.addEventListener("message",a),o(e,i),h[i]=a.bind(null,{data:{callback:i}})})},r.reset=function(){for(var e in r.postMessage({reset:!0}),h)h[e](),delete h[e]}}return d}),E={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function $(e,t,r){var n;return n=e&&null!=e[t]?e[t]:E[t],r?r(n):n}function C(e){return e<0?0:Math.floor(e)}function S(e){return parseInt(e,16)}function k(e){return e.map(B)}function B(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:S(t.substring(0,2)),g:S(t.substring(2,4)),b:S(t.substring(4,6))}}function M(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function O(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function I(e,r){var i,a=!e,s=!!$(r||{},"resize"),l=!1,c=$(r,"disableForReducedMotion",Boolean),u=m&&$(r||{},"useWorker")?x():null,f=a?M:O,d=!!e&&!!u&&!!e.__confetti_initialized,p="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function h(r){var h,g=c||$(r,"disableForReducedMotion",Boolean),m=$(r,"zIndex",Number);if(g&&p)return v(function(e){e()});a&&i?e=i.canvas:a&&!e&&((h=document.createElement("canvas")).style.position="fixed",h.style.top="0px",h.style.left="0px",h.style.pointerEvents="none",h.style.zIndex=m,e=h,document.body.appendChild(e)),s&&!d&&f(e);var b={width:e.width,height:e.height};function x(){if(u){var t={getBoundingClientRect:function(){if(!a)return e.getBoundingClientRect()}};f(t),u.postMessage({resize:{width:t.width,height:t.height}});return}b.width=b.height=null}function E(){i=null,s&&(l=!1,t.removeEventListener("resize",x)),a&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,d=!1)}return(u&&!d&&u.init(e),d=!0,u&&(e.__confetti_initialized=!0),s&&!l&&(l=!0,t.addEventListener("resize",x,!1)),u)?u.fire(r,b,E):function(t,r,a){for(var s,l,c,u,d,p,h,g=$(t,"particleCount",C),m=$(t,"angle",Number),b=$(t,"spread",Number),x=$(t,"startVelocity",Number),E=$(t,"decay",Number),S=$(t,"gravity",Number),B=$(t,"drift",Number),M=$(t,"colors",k),O=$(t,"ticks",Number),I=$(t,"shapes"),R=$(t,"scalar"),T=!!$(t,"flat"),j=((s=$(t,"origin",Object)).x=$(s,"x",Number),s.y=$(s,"y",Number),s),P=g,z=[],L=e.width*j.x,D=e.height*j.y;P--;)z.push(function(e){var t=e.angle*(Math.PI/180),r=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*r-Math.random()*r),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*e.gravity,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}({x:L,y:D,angle:m,spread:b,startVelocity:x,color:M[P%M.length],shape:I[Math.floor(Math.random()*(I.length-0))+0],ticks:O,decay:E,gravity:S,drift:B,scalar:R,flat:T}));return i?i.addFettis(z):(l=e,d=z.slice(),p=l.getContext("2d"),h=v(function(e){function t(){c=u=null,p.clearRect(0,0,r.width,r.height),w.clear(),a(),e()}c=A.frame(function e(){n&&(r.width!==o.width||r.height!==o.height)&&(r.width=l.width=o.width,r.height=l.height=o.height),r.width||r.height||(f(l),r.width=l.width,r.height=l.height),p.clearRect(0,0,r.width,r.height),(d=d.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var r,n,o,i,a,s,l,c,u,f,d,p,h,g,m,b,v=t.tick++/t.totalTicks,A=t.x+t.random*t.tiltCos,x=t.y+t.random*t.tiltSin,E=t.wobbleX+t.random*t.tiltCos,$=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-v)+")",e.beginPath(),y&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix)){e.fill((r=t.shape.path,n=t.shape.matrix,o=t.x,i=t.y,a=.1*Math.abs(E-A),s=.1*Math.abs($-x),l=Math.PI/10*t.wobble,c=new Path2D(r),(u=new Path2D).addPath(c,new DOMMatrix(n)),(f=new Path2D).addPath(u,new DOMMatrix([Math.cos(l)*a,Math.sin(l)*a,-Math.sin(l)*s,Math.cos(l)*s,o,i])),f))}else if("bitmap"===t.shape.type){var C=Math.PI/10*t.wobble,S=.1*Math.abs(E-A),k=.1*Math.abs($-x),B=t.shape.bitmap.width*t.scalar,M=t.shape.bitmap.height*t.scalar,O=new DOMMatrix([Math.cos(C)*S,Math.sin(C)*S,-Math.sin(C)*k,Math.cos(C)*k,t.x,t.y]);O.multiplySelf(new DOMMatrix(t.shape.matrix));var I=e.createPattern(w.transform(t.shape.bitmap),"no-repeat");I.setTransform(O),e.globalAlpha=1-v,e.fillStyle=I,e.fillRect(t.x-B/2,t.y-M/2,B,M),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(E-A)*t.ovalScalar,Math.abs($-x)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(d=t.x,p=t.y,h=Math.abs(E-A)*t.ovalScalar,g=Math.abs($-x)*t.ovalScalar,m=Math.PI/10*t.wobble,b=2*Math.PI,e.save(),e.translate(d,p),e.rotate(m),e.scale(h,g),e.arc(0,0,1,0,b,void 0),e.restore());else if("star"===t.shape)for(var R=Math.PI/2*3,T=4*t.scalar,j=8*t.scalar,P=t.x,z=t.y,L=5,D=Math.PI/5;L--;)P=t.x+Math.cos(R)*j,z=t.y+Math.sin(R)*j,e.lineTo(P,z),R+=D,P=t.x+Math.cos(R)*T,z=t.y+Math.sin(R)*T,e.lineTo(P,z),R+=D;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(x)),e.lineTo(Math.floor(E),Math.floor($)),e.lineTo(Math.floor(A),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(p,e)})).length?c=A.frame(e):t()}),u=t}),(i={addFettis:function(e){return d=d.concat(e),h},canvas:l,promise:h,reset:function(){c&&A.cancel(c),u&&u()}}).promise)}(r,b,E)}return h.reset=function(){u&&u.reset(),i&&i.reset()},h}function R(){return g||(g=I(null,{useWorker:!0,resize:!0})),g}r.exports=function(){return R().apply(this,arguments)},r.exports.reset=function(){R().reset()},r.exports.create=I,r.exports.shapeFromPath=function(e){if(!y)throw Error("path confetti are not supported in this browser");"string"==typeof e?n=e:(n=e.path,o=e.matrix);var t=new Path2D(n),r=document.createElement("canvas").getContext("2d");if(!o){for(var n,o,i,a,s=1e3,l=1e3,c=0,u=0,f=0;f<1e3;f+=2)for(var d=0;d<1e3;d+=2)r.isPointInPath(t,f,d,"nonzero")&&(s=Math.min(s,f),l=Math.min(l,d),c=Math.max(c,f),u=Math.max(u,d));i=c-s;var p=Math.min(10/i,10/(a=u-l));o=[p,0,0,p,-Math.round(i/2+s)*p,-Math.round(a/2+l)*p]}return{type:"path",path:n,matrix:o}},r.exports.shapeFromText=function(e){var t,r=1,n="#000000",o='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,r="scalar"in e?e.scalar:r,o="fontFamily"in e?e.fontFamily:o,n="color"in e?e.color:n);var i=10*r,a=""+i+"px "+o,s=new OffscreenCanvas(i,i),l=s.getContext("2d");l.font=a;var c=l.measureText(t),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),f=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),d=c.actualBoundingBoxLeft+2,p=c.actualBoundingBoxAscent+2;u+=4,f+=4,(l=(s=new OffscreenCanvas(u,f)).getContext("2d")).font=a,l.fillStyle=n,l.fillText(t,d,p);var h=1/r;return{type:"bitmap",bitmap:s.transferToImageBitmap(),matrix:[h,0,0,h,-u*h/2,-f*h/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),e,!1),e.exports,e.exports.create}}]);
|
| 24 |
+
//# sourceMappingURL=422.8e1ca0fa.js.map
|
422.8e1ca0fa.js.LICENSE.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!
|
| 2 |
+
* The buffer module from node.js, for the browser.
|
| 3 |
+
*
|
| 4 |
+
* @author Feross Aboukhadijeh <https://feross.org>
|
| 5 |
+
* @license MIT
|
| 6 |
+
*/
|
422.8e1ca0fa.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
43.46c2f4c8.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
43.46c2f4c8.js.LICENSE.txt
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!
|
| 2 |
+
|
| 3 |
+
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
| 4 |
+
<http://stuartk.com/jszip>
|
| 5 |
+
|
| 6 |
+
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
| 7 |
+
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
| 8 |
+
|
| 9 |
+
JSZip uses the library pako released under the MIT license :
|
| 10 |
+
https://github.com/nodeca/pako/blob/main/LICENSE
|
| 11 |
+
*/
|
| 12 |
+
|
| 13 |
+
/*!
|
| 14 |
+
* The buffer module from node.js, for the browser.
|
| 15 |
+
*
|
| 16 |
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
| 17 |
+
* @license MIT
|
| 18 |
+
*/
|
| 19 |
+
|
| 20 |
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
| 21 |
+
|
| 22 |
+
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
|
| 23 |
+
|
| 24 |
+
/**
|
| 25 |
+
* @license React
|
| 26 |
+
* use-sync-external-store-shim.production.min.js
|
| 27 |
+
*
|
| 28 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 29 |
+
*
|
| 30 |
+
* This source code is licensed under the MIT license found in the
|
| 31 |
+
* LICENSE file in the root directory of this source tree.
|
| 32 |
+
*/
|
| 33 |
+
|
| 34 |
+
/**
|
| 35 |
+
* @license React
|
| 36 |
+
* use-sync-external-store-shim/with-selector.production.min.js
|
| 37 |
+
*
|
| 38 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 39 |
+
*
|
| 40 |
+
* This source code is licensed under the MIT license found in the
|
| 41 |
+
* LICENSE file in the root directory of this source tree.
|
| 42 |
+
*/
|
| 43 |
+
|
| 44 |
+
/**
|
| 45 |
+
* [js-sha256]{@link https://github.com/emn178/js-sha256}
|
| 46 |
+
*
|
| 47 |
+
* @version 0.11.0
|
| 48 |
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
| 49 |
+
* @copyright Chen, Yi-Cyuan 2014-2024
|
| 50 |
+
* @license MIT
|
| 51 |
+
*/
|
| 52 |
+
|
| 53 |
+
/** */
|
| 54 |
+
|
| 55 |
+
/** */
|
| 56 |
+
|
| 57 |
+
/** */
|
| 58 |
+
|
| 59 |
+
/** */
|
| 60 |
+
|
| 61 |
+
/** */
|
43.46c2f4c8.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
629.36a86c96.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
629.36a86c96.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
815.f1e95658.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";(self.webpackChunkchrome_extension=self.webpackChunkchrome_extension||[]).push([["815"],{82376(e,n,t){t.d(n,{uy:()=>a,UA:()=>g,z1:()=>m,cM:()=>r.A});var r=t(68922),a={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},i=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];i.primary=i[5];var o=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];o.primary=o[5];var c=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];c.primary=c[5];var f=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];f.primary=f[5];var l=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];l.primary=l[5];var s=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];s.primary=s[5];var d=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];d.primary=d[5];var u=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];u.primary=u[5];var m=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];m.primary=m[5];var p=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];p.primary=p[5];var b=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];b.primary=b[5];var v=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];v.primary=v[5];var y=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];y.primary=y[5];var g={red:i,volcano:o,orange:c,gold:f,yellow:l,lime:s,green:d,cyan:u,blue:m,geekblue:p,purple:b,magenta:v,grey:y},A=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];A.primary=A[5];var h=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];h.primary=h[5];var k=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];k.primary=k[5];var E=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];E.primary=E[5];var x=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];x.primary=x[5];var C=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];C.primary=C[5];var O=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];O.primary=O[5];var j=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];j.primary=j[5];var F=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];F.primary=F[5];var $=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];$.primary=$[5];var w=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];w.primary=w[5];var S=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];S.primary=S[5];var M=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];M.primary=M[5]},90803(e,n,t){t.d(n,{IV:()=>i.Ay,Ki:()=>f.Ki,RC:()=>a.Ay,an:()=>o.an,hV:()=>r.Ay,zA:()=>c.zA}),t(32437);var r=t(42508),a=t(12262),i=t(83457);t(15780),t(16083);var o=t(3564);t(73191);var c=t(94660),f=t(50587)},11820(e,n,t){t.d(n,{$e:()=>d,Em:()=>p,P3:()=>u,al:()=>b,cM:()=>function e(n,t,a){return a?l.createElement(n.tag,(0,r.A)((0,r.A)({key:t},m(n.attrs)),a),(n.children||[]).map(function(r,a){return e(r,"".concat(t,"-").concat(n.tag,"-").concat(a))})):l.createElement(n.tag,(0,r.A)({key:t},m(n.attrs)),(n.children||[]).map(function(r,a){return e(r,"".concat(t,"-").concat(n.tag,"-").concat(a))}))},lf:()=>v});var r=t(33779),a=t(2716),i=t(82376),o=t(58451),c=t(21843),f=t(36216),l=t(22155),s=t(12893);function d(e,n){(0,f.Ay)(e,"[@ant-design/icons] ".concat(n))}function u(e){return"object"===(0,a.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,a.A)(e.icon)||"function"==typeof e.icon)}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(n,t){var r=e[t];return"class"===t?(n.className=r,delete n.class):(delete n[t],n[t.replace(/-(.)/g,function(e,n){return n.toUpperCase()})]=r),n},{})}function p(e){return(0,i.cM)(e)[0]}function b(e){return e?Array.isArray(e)?e:[e]:[]}var v=function(e){var n=(0,l.useContext)(s.A),t=n.csp,r=n.prefixCls,a="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(a=a.replace(/anticon/g,r)),(0,l.useEffect)(function(){var n=e.current,r=(0,c.j)(n);(0,o.BD)(a,"@ant-design-icons",{prepend:!0,csp:t,attachTo:r})},[])}},37886(e,n,t){t.d(n,{Ob:()=>i,zv:()=>a});var r=t(22155);function a(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}function i(e,n){return r.isValidElement(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):e}},80061(e,n,t){t.d(n,{Ap:()=>o,u1:()=>f,uR:()=>l});var r=t(22155),a=t(37886);let i=/^[\u4E00-\u9FA5]{2}$/,o=i.test.bind(i);function c(e){return"string"==typeof e}function f(e){return"text"===e||"link"===e}function l(e,n){let t=!1,i=[];return r.Children.forEach(e,e=>{let n=typeof e,r="string"===n||"number"===n;if(t&&r){let n=i.length-1,t=i[n];i[n]=`${t}${e}`}else i.push(e);t=r}),r.Children.map(i,e=>(function(e,n){if(null==e)return;let t=n?" ":"";return"string"!=typeof e&&"number"!=typeof e&&c(e.type)&&o(e.props.children)?(0,a.Ob)(e,{children:e.props.children.split("").join(t)}):c(e)?o(e)?r.createElement("span",null,e.split("").join(t)):r.createElement("span",null,e):(0,a.zv)(e)?r.createElement("span",null,e):e})(e,n))}},71179(e,n,t){t.d(n,{QO:()=>o,pM:()=>i,yH:()=>a});var r=t(22155);let a="ant",i="anticon",o=r.createContext({getPrefixCls:(e,n)=>n||(e?`${a}-${e}`:a),iconPrefixCls:i}),{Consumer:c}=o},2024(e,n,t){let r;t.d(n,{Ay:()=>w});var a=t(22155),i=t(90803),o=t(12893),c=t(64518),f=t(65128),l=t(61105),s=t(12259),d=t(3942),u=t(36897),m=t(92526),p=t(79962),b=t(88471),v=t(71179),y=t(74946),g=t(45227),A=t(13934),h=t(43727),k=t(29137),E=t(20035),x=t(63020),C=t(6954),O=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>n.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t};let j=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],F=e=>{let{children:n,csp:t,autoInsertSpaceInButton:r,alert:u,anchor:y,form:A,locale:F,componentSize:$,direction:w,space:S,splitter:M,virtual:P,dropdownMatchSelectWidth:z,popupMatchSelectWidth:D,popupOverflow:L,legacyLocale:R,parentContext:V,iconPrefixCls:H,theme:K,componentDisabled:T,segmented:_,statistic:B,spin:I,calendar:N,carousel:Q,cascader:W,collapse:G,typography:U,checkbox:X,descriptions:q,divider:J,drawer:Y,skeleton:Z,steps:ee,image:en,layout:et,list:er,mentions:ea,modal:ei,progress:eo,result:ec,slider:ef,breadcrumb:el,menu:es,pagination:ed,input:eu,textArea:em,empty:ep,badge:eb,radio:ev,rate:ey,switch:eg,transfer:eA,avatar:eh,message:ek,tag:eE,table:ex,card:eC,tabs:eO,timeline:ej,timePicker:eF,upload:e$,notification:ew,tree:eS,colorPicker:eM,datePicker:eP,rangePicker:ez,flex:eD,wave:eL,dropdown:eR,warning:eV,tour:eH,floatButtonGroup:eK,variant:eT,inputNumber:e_,treeSelect:eB}=e,eI=a.useCallback((n,t)=>{let{prefixCls:r}=e;if(t)return t;let a=r||V.getPrefixCls("");return n?`${a}-${n}`:a},[V.getPrefixCls,e.prefixCls]),eN=H||V.iconPrefixCls||v.pM,eQ=t||V.csp;(0,C.A)(eN,eQ);let eW=(0,h.A)(K,V.theme,{prefixCls:eI("")}),eG={csp:eQ,autoInsertSpaceInButton:r,alert:u,anchor:y,locale:F||R,direction:w,space:S,splitter:M,virtual:P,popupMatchSelectWidth:null!=D?D:z,popupOverflow:L,getPrefixCls:eI,iconPrefixCls:eN,theme:eW,segmented:_,statistic:B,spin:I,calendar:N,carousel:Q,cascader:W,collapse:G,typography:U,checkbox:X,descriptions:q,divider:J,drawer:Y,skeleton:Z,steps:ee,image:en,input:eu,textArea:em,layout:et,list:er,mentions:ea,modal:ei,progress:eo,result:ec,slider:ef,breadcrumb:el,menu:es,pagination:ed,empty:ep,badge:eb,radio:ev,rate:ey,switch:eg,transfer:eA,avatar:eh,message:ek,tag:eE,table:ex,card:eC,tabs:eO,timeline:ej,timePicker:eF,upload:e$,notification:ew,tree:eS,colorPicker:eM,datePicker:eP,rangePicker:ez,flex:eD,wave:eL,dropdown:eR,warning:eV,tour:eH,floatButtonGroup:eK,variant:eT,inputNumber:e_,treeSelect:eB},eU=Object.assign({},V);Object.keys(eG).forEach(e=>{void 0!==eG[e]&&(eU[e]=eG[e])}),j.forEach(n=>{let t=e[n];t&&(eU[n]=t)}),void 0!==r&&(eU.button=Object.assign({autoInsertSpace:r},eU.button));let eX=(0,c.A)(()=>eU,eU,(e,n)=>{let t=Object.keys(e),r=Object.keys(n);return t.length!==r.length||t.some(t=>e[t]!==n[t])}),eq=a.useMemo(()=>({prefixCls:eN,csp:eQ}),[eN,eQ]),eJ=a.createElement(a.Fragment,null,a.createElement(E.A,{dropdownMatchSelectWidth:z}),n),eY=a.useMemo(()=>{var e,n,t,r;return(0,f.h)((null==(e=m.A.Form)?void 0:e.defaultValidateMessages)||{},(null==(t=null==(n=eX.locale)?void 0:n.Form)?void 0:t.defaultValidateMessages)||{},(null==(r=eX.form)?void 0:r.validateMessages)||{},(null==A?void 0:A.validateMessages)||{})},[eX,null==A?void 0:A.validateMessages]);Object.keys(eY).length>0&&(eJ=a.createElement(s.A.Provider,{value:eY},eJ)),F&&(eJ=a.createElement(d.Ay,{locale:F,_ANT_MARK__:d.M2},eJ)),(eN||eQ)&&(eJ=a.createElement(o.A.Provider,{value:eq},eJ)),$&&(eJ=a.createElement(x.c,{size:$},eJ)),eJ=a.createElement(k.A,null,eJ);let eZ=a.useMemo(()=>{let e=eW||{},{algorithm:n,token:t,components:r,cssVar:a}=e,o=O(e,["algorithm","token","components","cssVar"]),c=n&&(!Array.isArray(n)||n.length>0)?(0,i.an)(n):p.zQ,f={};Object.entries(r||{}).forEach(e=>{let[n,t]=e,r=Object.assign({},t);"algorithm"in r&&(!0===r.algorithm?r.theme=c:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,i.an)(r.algorithm)),delete r.algorithm),f[n]=r});let l=Object.assign(Object.assign({},b.A),t);return Object.assign(Object.assign({},o),{theme:c,token:l,components:f,override:Object.assign({override:l},f),cssVar:a})},[eW]);return K&&(eJ=a.createElement(p.vG.Provider,{value:eZ},eJ)),eX.warning&&(eJ=a.createElement(l._n.Provider,{value:eX.warning},eJ)),void 0!==T&&(eJ=a.createElement(g.X,{disabled:T},eJ)),a.createElement(v.QO.Provider,{value:eX},eJ)},$=e=>{let n=a.useContext(v.QO),t=a.useContext(u.A);return a.createElement(F,Object.assign({parentContext:n,legacyLocale:t},e))};$.ConfigContext=v.QO,$.SizeContext=x.A,$.config=e=>{let{prefixCls:n,iconPrefixCls:t,theme:a,holderRender:i}=e;void 0!==n&&(r=n),a&&Object.keys(a).some(e=>e.endsWith("Color"))&&(0,y.b)(r||v.yH,a)},$.useConfig=A.A,Object.defineProperty($,"SizeContext",{get:()=>x.A});let w=$},48749(e,n,t){t.d(n,{$W:()=>a});var r=t(22155);t(55424);let a=r.createContext({})},46067(e,n,t){t.d(n,{L:()=>o});var r=t(92526);Object.assign({},r.A.Modal);let a=[],i=()=>a.reduce((e,n)=>Object.assign(Object.assign({},e),n),r.A.Modal);function o(e){if(e){let n=Object.assign({},e);return a.push(n),i(),()=>{a=a.filter(e=>e!==n),i()}}Object.assign({},r.A.Modal)}},50059(e,n,t){t.d(n,{RQ:()=>c});var r=t(22155),a=t(30395),i=t.n(a);t(69268);let o=r.createContext(null),c=(e,n)=>{let t=r.useContext(o),a=r.useMemo(()=>{if(!t)return"";let{compactDirection:r,isFirstItem:a,isLastItem:o}=t,c="vertical"===r?"-vertical-":"-";return i()(`${e}-compact${c}item`,{[`${e}-compact${c}first-item`]:a,[`${e}-compact${c}last-item`]:o,[`${e}-compact${c}item-rtl`]:"rtl"===n})},[e,n,t]);return{compactSize:null==t?void 0:t.compactSize,compactDirection:null==t?void 0:t.compactDirection,compactItemClassnames:a}}},12869(e,n,t){t.d(n,{K8:()=>l,Nk:()=>i,av:()=>o,dF:()=>a,jk:()=>f,vj:()=>c});var r=t(90803);let a=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:n?"inherit":e.fontFamily}},i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),o=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),c=(e,n,t,r)=>{let a=`[class^="${n}"], [class*=" ${n}"]`,i=t?`.${t}`:a,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},c={};return!1!==r&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},c),o),{[a]:o})}},f=e=>({outline:`${(0,r.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),l=e=>({"&:focus-visible":Object.assign({},f(e))})},55424(e,n,t){var r=t(22155),a=t(82477),i=t(99898),o=t(24245),c=t(30764),f=t(13441);t(77281),t(19351);var l=t(30260),s=r.forwardRef(c.A);s.FormProvider=f.O,s.Field=a.A,s.List=i.A,s.useForm=o.A,s.useWatch=l.A},74589(e,n,t){t.d(n,{Kq:()=>A.A,Ay:()=>h});var r=t(1221),a=t(42664),i=t(48827),o=t(33779),c=t(32645),f=t(30965),l=t(14713),s=t(82944),d=t(53442),u=t(6467),m=t(22155),p=t(57298),b=t(26839),v=["component","children","onVisibleChanged","onAllRemoved"],y=["status"],g=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.A,t=function(e){(0,s.A)(r,e);var t=(0,d.A)(r);function r(){var e;(0,c.A)(this,r);for(var n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];return e=t.call.apply(t,[this].concat(a)),(0,u.A)((0,l.A)(e),"state",{keyEntities:[]}),(0,u.A)((0,l.A)(e),"removeKey",function(n){e.setState(function(e){return{keyEntities:e.keyEntities.map(function(e){return e.key!==n?e:(0,o.A)((0,o.A)({},e),{},{status:p.e8})})}},function(){0===e.state.keyEntities.filter(function(e){return e.status!==p.e8}).length&&e.props.onAllRemoved&&e.props.onAllRemoved()})}),e}return(0,f.A)(r,[{key:"render",value:function(){var e=this,t=this.state.keyEntities,r=this.props,c=r.component,f=r.children,l=r.onVisibleChanged,s=(r.onAllRemoved,(0,i.A)(r,v)),d=c||m.Fragment,u={};return g.forEach(function(e){u[e]=s[e],delete s[e]}),delete s.keys,m.createElement(d,s,t.map(function(t,r){var c=t.status,s=(0,i.A)(t,y),d=c===p.bK||c===p.xI;return m.createElement(n,(0,a.A)({},u,{key:s.key,visible:d,eventProps:s,onVisibleChanged:function(n){null==l||l(n,{key:s.key}),n||e.removeKey(s.key)}}),function(e,n){return f((0,o.A)((0,o.A)({},e),{},{index:r}),n)})}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t=e.keys,r=n.keyEntities,a=(0,p.Ss)(t);return{keyEntities:(0,p.y$)(r,a).filter(function(e){var n=r.find(function(n){var t=n.key;return e.key===t});return!n||n.status!==p.e8||e.status!==p.au})}}}]),r}(m.Component);(0,u.A)(t,"defaultProps",{component:"div"})}(b.J1);var A=t(86547);let h=r.A},62634(e,n,t){t.d(n,{Ay:()=>c});var r=t(45983),a=t(22155),i=t(70316);function o(e){return e instanceof HTMLElement||e instanceof SVGElement}function c(e){var n,t=e&&"object"===(0,r.A)(e)&&o(e.nativeElement)?e.nativeElement:o(e)?e:null;return t||(e instanceof a.Component?null==(n=i.findDOMNode)?void 0:n.call(i,e):null)}},37233(e,n,t){t.d(n,{K4:()=>c,Xf:()=>o,f3:()=>f});var r=t(45983),a=t(22155),i=t(82737);t(64518);var o=function(e,n){"function"==typeof e?e(n):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=n)},c=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];var r=n.filter(Boolean);return r.length<=1?r[0]:function(e){n.forEach(function(n){o(n,e)})}},f=function(e){var n,t,r=(0,i.isMemo)(e)?e.type.type:e.type;return("function"!=typeof r||!!(null!=(n=r.prototype)&&n.render)||r.$$typeof===i.ForwardRef)&&("function"!=typeof e||!!(null!=(t=e.prototype)&&t.render)||e.$$typeof===i.ForwardRef)};a.version.split(".")[0]},82737(e,n,t){e.exports=t(16669)}}]);
|
| 2 |
+
//# sourceMappingURL=815.f1e95658.js.map
|
815.f1e95658.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"static/js/815.f1e95658.js","sources":["../../../../../node_modules/.pnpm/@ant-design+colors@7.1.0/node_modules/@ant-design/colors/es/presets.js","../../../../../node_modules/.pnpm/@ant-design+icons@5.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/utils.js","../../../../../node_modules/.pnpm/antd@5.21.6_date-fns@2.30.0_moment@2.30.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js","../../../../../node_modules/.pnpm/antd@5.21.6_date-fns@2.30.0_moment@2.30.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/buttonHelpers.js","../../../../../node_modules/.pnpm/antd@5.21.6_date-fns@2.30.0_moment@2.30.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js","../../../../../node_modules/.pnpm/antd@5.21.6_date-fns@2.30.0_moment@2.30.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/index.js","../../../../../node_modules/.pnpm/antd@5.21.6_date-fns@2.30.0_moment@2.30.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/form/context.js","../../../../../node_modules/.pnpm/antd@5.21.6_date-fns@2.30.0_moment@2.30.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/modal/locale.js","../../../../../node_modules/.pnpm/antd@5.21.6_date-fns@2.30.0_moment@2.30.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/space/Compact.js","../../../../../node_modules/.pnpm/antd@5.21.6_date-fns@2.30.0_moment@2.30.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js","../../../../../node_modules/.pnpm/rc-field-form@2.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-field-form/es/index.js","../../../../../node_modules/.pnpm/rc-motion@2.9.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-motion/es/CSSMotionList.js","../../../../../node_modules/.pnpm/rc-motion@2.9.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-motion/es/index.js","../../../../../node_modules/.pnpm/rc-util@5.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/Dom/findDOMNode.js","../../../../../node_modules/.pnpm/rc-util@5.43.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/ref.js","../../../../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/index.js"],"sourcesContent":["// Generated by script. Do NOT modify!\n\nexport var presetPrimaryColors = {\n \"red\": \"#F5222D\",\n \"volcano\": \"#FA541C\",\n \"orange\": \"#FA8C16\",\n \"gold\": \"#FAAD14\",\n \"yellow\": \"#FADB14\",\n \"lime\": \"#A0D911\",\n \"green\": \"#52C41A\",\n \"cyan\": \"#13C2C2\",\n \"blue\": \"#1677FF\",\n \"geekblue\": \"#2F54EB\",\n \"purple\": \"#722ED1\",\n \"magenta\": \"#EB2F96\",\n \"grey\": \"#666666\"\n};\nexport var red = [\"#fff1f0\", \"#ffccc7\", \"#ffa39e\", \"#ff7875\", \"#ff4d4f\", \"#f5222d\", \"#cf1322\", \"#a8071a\", \"#820014\", \"#5c0011\"];\nred.primary = red[5];\nexport var volcano = [\"#fff2e8\", \"#ffd8bf\", \"#ffbb96\", \"#ff9c6e\", \"#ff7a45\", \"#fa541c\", \"#d4380d\", \"#ad2102\", \"#871400\", \"#610b00\"];\nvolcano.primary = volcano[5];\nexport var orange = [\"#fff7e6\", \"#ffe7ba\", \"#ffd591\", \"#ffc069\", \"#ffa940\", \"#fa8c16\", \"#d46b08\", \"#ad4e00\", \"#873800\", \"#612500\"];\norange.primary = orange[5];\nexport var gold = [\"#fffbe6\", \"#fff1b8\", \"#ffe58f\", \"#ffd666\", \"#ffc53d\", \"#faad14\", \"#d48806\", \"#ad6800\", \"#874d00\", \"#613400\"];\ngold.primary = gold[5];\nexport var yellow = [\"#feffe6\", \"#ffffb8\", \"#fffb8f\", \"#fff566\", \"#ffec3d\", \"#fadb14\", \"#d4b106\", \"#ad8b00\", \"#876800\", \"#614700\"];\nyellow.primary = yellow[5];\nexport var lime = [\"#fcffe6\", \"#f4ffb8\", \"#eaff8f\", \"#d3f261\", \"#bae637\", \"#a0d911\", \"#7cb305\", \"#5b8c00\", \"#3f6600\", \"#254000\"];\nlime.primary = lime[5];\nexport var green = [\"#f6ffed\", \"#d9f7be\", \"#b7eb8f\", \"#95de64\", \"#73d13d\", \"#52c41a\", \"#389e0d\", \"#237804\", \"#135200\", \"#092b00\"];\ngreen.primary = green[5];\nexport var cyan = [\"#e6fffb\", \"#b5f5ec\", \"#87e8de\", \"#5cdbd3\", \"#36cfc9\", \"#13c2c2\", \"#08979c\", \"#006d75\", \"#00474f\", \"#002329\"];\ncyan.primary = cyan[5];\nexport var blue = [\"#e6f4ff\", \"#bae0ff\", \"#91caff\", \"#69b1ff\", \"#4096ff\", \"#1677ff\", \"#0958d9\", \"#003eb3\", \"#002c8c\", \"#001d66\"];\nblue.primary = blue[5];\nexport var geekblue = [\"#f0f5ff\", \"#d6e4ff\", \"#adc6ff\", \"#85a5ff\", \"#597ef7\", \"#2f54eb\", \"#1d39c4\", \"#10239e\", \"#061178\", \"#030852\"];\ngeekblue.primary = geekblue[5];\nexport var purple = [\"#f9f0ff\", \"#efdbff\", \"#d3adf7\", \"#b37feb\", \"#9254de\", \"#722ed1\", \"#531dab\", \"#391085\", \"#22075e\", \"#120338\"];\npurple.primary = purple[5];\nexport var magenta = [\"#fff0f6\", \"#ffd6e7\", \"#ffadd2\", \"#ff85c0\", \"#f759ab\", \"#eb2f96\", \"#c41d7f\", \"#9e1068\", \"#780650\", \"#520339\"];\nmagenta.primary = magenta[5];\nexport var grey = [\"#a6a6a6\", \"#999999\", \"#8c8c8c\", \"#808080\", \"#737373\", \"#666666\", \"#404040\", \"#1a1a1a\", \"#000000\", \"#000000\"];\ngrey.primary = grey[5];\nexport var gray = grey;\nexport var presetPalettes = {\n red: red,\n volcano: volcano,\n orange: orange,\n gold: gold,\n yellow: yellow,\n lime: lime,\n green: green,\n cyan: cyan,\n blue: blue,\n geekblue: geekblue,\n purple: purple,\n magenta: magenta,\n grey: grey\n};\nexport var redDark = [\"#2a1215\", \"#431418\", \"#58181c\", \"#791a1f\", \"#a61d24\", \"#d32029\", \"#e84749\", \"#f37370\", \"#f89f9a\", \"#fac8c3\"];\nredDark.primary = redDark[5];\nexport var volcanoDark = [\"#2b1611\", \"#441d12\", \"#592716\", \"#7c3118\", \"#aa3e19\", \"#d84a1b\", \"#e87040\", \"#f3956a\", \"#f8b692\", \"#fad4bc\"];\nvolcanoDark.primary = volcanoDark[5];\nexport var orangeDark = [\"#2b1d11\", \"#442a11\", \"#593815\", \"#7c4a15\", \"#aa6215\", \"#d87a16\", \"#e89a3c\", \"#f3b765\", \"#f8cf8d\", \"#fae3b7\"];\norangeDark.primary = orangeDark[5];\nexport var goldDark = [\"#2b2111\", \"#443111\", \"#594214\", \"#7c5914\", \"#aa7714\", \"#d89614\", \"#e8b339\", \"#f3cc62\", \"#f8df8b\", \"#faedb5\"];\ngoldDark.primary = goldDark[5];\nexport var yellowDark = [\"#2b2611\", \"#443b11\", \"#595014\", \"#7c6e14\", \"#aa9514\", \"#d8bd14\", \"#e8d639\", \"#f3ea62\", \"#f8f48b\", \"#fafab5\"];\nyellowDark.primary = yellowDark[5];\nexport var limeDark = [\"#1f2611\", \"#2e3c10\", \"#3e4f13\", \"#536d13\", \"#6f9412\", \"#8bbb11\", \"#a9d134\", \"#c9e75d\", \"#e4f88b\", \"#f0fab5\"];\nlimeDark.primary = limeDark[5];\nexport var greenDark = [\"#162312\", \"#1d3712\", \"#274916\", \"#306317\", \"#3c8618\", \"#49aa19\", \"#6abe39\", \"#8fd460\", \"#b2e58b\", \"#d5f2bb\"];\ngreenDark.primary = greenDark[5];\nexport var cyanDark = [\"#112123\", \"#113536\", \"#144848\", \"#146262\", \"#138585\", \"#13a8a8\", \"#33bcb7\", \"#58d1c9\", \"#84e2d8\", \"#b2f1e8\"];\ncyanDark.primary = cyanDark[5];\nexport var blueDark = [\"#111a2c\", \"#112545\", \"#15325b\", \"#15417e\", \"#1554ad\", \"#1668dc\", \"#3c89e8\", \"#65a9f3\", \"#8dc5f8\", \"#b7dcfa\"];\nblueDark.primary = blueDark[5];\nexport var geekblueDark = [\"#131629\", \"#161d40\", \"#1c2755\", \"#203175\", \"#263ea0\", \"#2b4acb\", \"#5273e0\", \"#7f9ef3\", \"#a8c1f8\", \"#d2e0fa\"];\ngeekblueDark.primary = geekblueDark[5];\nexport var purpleDark = [\"#1a1325\", \"#24163a\", \"#301c4d\", \"#3e2069\", \"#51258f\", \"#642ab5\", \"#854eca\", \"#ab7ae0\", \"#cda8f0\", \"#ebd7fa\"];\npurpleDark.primary = purpleDark[5];\nexport var magentaDark = [\"#291321\", \"#40162f\", \"#551c3b\", \"#75204f\", \"#a02669\", \"#cb2b83\", \"#e0529c\", \"#f37fb7\", \"#f8a8cc\", \"#fad2e3\"];\nmagentaDark.primary = magentaDark[5];\nexport var greyDark = [\"#151515\", \"#1f1f1f\", \"#2d2d2d\", \"#393939\", \"#494949\", \"#5a5a5a\", \"#6a6a6a\", \"#7b7b7b\", \"#888888\", \"#969696\"];\ngreyDark.primary = greyDark[5];\nexport var presetDarkPalettes = {\n red: redDark,\n volcano: volcanoDark,\n orange: orangeDark,\n gold: goldDark,\n yellow: yellowDark,\n lime: limeDark,\n green: greenDark,\n cyan: cyanDark,\n blue: blueDark,\n geekblue: geekblueDark,\n purple: purpleDark,\n magenta: magentaDark,\n grey: greyDark\n};","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { generate as generateColor } from '@ant-design/colors';\nimport { updateCSS } from \"rc-util/es/Dom/dynamicCSS\";\nimport { getShadowRoot } from \"rc-util/es/Dom/shadow\";\nimport warn from \"rc-util/es/warning\";\nimport React, { useContext, useEffect } from 'react';\nimport IconContext from \"./components/Context\";\nfunction camelCase(input) {\n return input.replace(/-(.)/g, function (match, g) {\n return g.toUpperCase();\n });\n}\nexport function warning(valid, message) {\n warn(valid, \"[@ant-design/icons] \".concat(message));\n}\nexport function isIconDefinition(target) {\n return _typeof(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && (_typeof(target.icon) === 'object' || typeof target.icon === 'function');\n}\nexport function normalizeAttrs() {\n var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return Object.keys(attrs).reduce(function (acc, key) {\n var val = attrs[key];\n switch (key) {\n case 'class':\n acc.className = val;\n delete acc.class;\n break;\n default:\n delete acc[key];\n acc[camelCase(key)] = val;\n }\n return acc;\n }, {});\n}\nexport function generate(node, key, rootProps) {\n if (!rootProps) {\n return /*#__PURE__*/React.createElement(node.tag, _objectSpread({\n key: key\n }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) {\n return generate(child, \"\".concat(key, \"-\").concat(node.tag, \"-\").concat(index));\n }));\n }\n return /*#__PURE__*/React.createElement(node.tag, _objectSpread(_objectSpread({\n key: key\n }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) {\n return generate(child, \"\".concat(key, \"-\").concat(node.tag, \"-\").concat(index));\n }));\n}\nexport function getSecondaryColor(primaryColor) {\n // choose the second color\n return generateColor(primaryColor)[0];\n}\nexport function normalizeTwoToneColors(twoToneColor) {\n if (!twoToneColor) {\n return [];\n }\n return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor];\n}\n\n// These props make sure that the SVG behaviours like general text.\n// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4\nexport var svgBaseProps = {\n width: '1em',\n height: '1em',\n fill: 'currentColor',\n 'aria-hidden': 'true',\n focusable: 'false'\n};\nexport var iconStyles = \"\\n.anticon {\\n display: inline-flex;\\n align-items: center;\\n color: inherit;\\n font-style: normal;\\n line-height: 0;\\n text-align: center;\\n text-transform: none;\\n vertical-align: -0.125em;\\n text-rendering: optimizeLegibility;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n}\\n\\n.anticon > * {\\n line-height: 1;\\n}\\n\\n.anticon svg {\\n display: inline-block;\\n}\\n\\n.anticon::before {\\n display: none;\\n}\\n\\n.anticon .anticon-icon {\\n display: block;\\n}\\n\\n.anticon[tabindex] {\\n cursor: pointer;\\n}\\n\\n.anticon-spin::before,\\n.anticon-spin {\\n display: inline-block;\\n -webkit-animation: loadingCircle 1s infinite linear;\\n animation: loadingCircle 1s infinite linear;\\n}\\n\\n@-webkit-keyframes loadingCircle {\\n 100% {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg);\\n }\\n}\\n\\n@keyframes loadingCircle {\\n 100% {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg);\\n }\\n}\\n\";\nexport var useInsertStyles = function useInsertStyles(eleRef) {\n var _useContext = useContext(IconContext),\n csp = _useContext.csp,\n prefixCls = _useContext.prefixCls;\n var mergedStyleStr = iconStyles;\n if (prefixCls) {\n mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls);\n }\n useEffect(function () {\n var ele = eleRef.current;\n var shadowRoot = getShadowRoot(ele);\n updateCSS(mergedStyleStr, '@ant-design-icons', {\n prepend: true,\n csp: csp,\n attachTo: shadowRoot\n });\n }, []);\n};","import React from 'react';\nexport function isFragment(child) {\n return child && /*#__PURE__*/React.isValidElement(child) && child.type === React.Fragment;\n}\nexport const replaceElement = (element, replacement, props) => {\n if (! /*#__PURE__*/React.isValidElement(element)) {\n return replacement;\n }\n return /*#__PURE__*/React.cloneElement(element, typeof props === 'function' ? props(element.props || {}) : props);\n};\nexport function cloneElement(element, props) {\n return replaceElement(element, element, props);\n}","\"use client\";\n\nimport React from 'react';\nimport { cloneElement, isFragment } from '../_util/reactNode';\nconst rxTwoCNChar = /^[\\u4E00-\\u9FA5]{2}$/;\nexport const isTwoCNChar = rxTwoCNChar.test.bind(rxTwoCNChar);\nexport function convertLegacyProps(type) {\n if (type === 'danger') {\n return {\n danger: true\n };\n }\n return {\n type\n };\n}\nexport function isString(str) {\n return typeof str === 'string';\n}\nexport function isUnBorderedButtonVariant(type) {\n return type === 'text' || type === 'link';\n}\nfunction splitCNCharsBySpace(child, needInserted) {\n if (child === null || child === undefined) {\n return;\n }\n const SPACE = needInserted ? ' ' : '';\n if (typeof child !== 'string' && typeof child !== 'number' && isString(child.type) && isTwoCNChar(child.props.children)) {\n return cloneElement(child, {\n children: child.props.children.split('').join(SPACE)\n });\n }\n if (isString(child)) {\n return isTwoCNChar(child) ? /*#__PURE__*/React.createElement(\"span\", null, child.split('').join(SPACE)) : /*#__PURE__*/React.createElement(\"span\", null, child);\n }\n if (isFragment(child)) {\n return /*#__PURE__*/React.createElement(\"span\", null, child);\n }\n return child;\n}\nexport function spaceChildren(children, needInserted) {\n let isPrevChildPure = false;\n const childList = [];\n React.Children.forEach(children, child => {\n const type = typeof child;\n const isCurrentChildPure = type === 'string' || type === 'number';\n if (isPrevChildPure && isCurrentChildPure) {\n const lastIndex = childList.length - 1;\n const lastChild = childList[lastIndex];\n childList[lastIndex] = `${lastChild}${child}`;\n } else {\n childList.push(child);\n }\n isPrevChildPure = isCurrentChildPure;\n });\n return React.Children.map(childList, child => splitCNCharsBySpace(child, needInserted));\n}\nconst _ButtonTypes = ['default', 'primary', 'dashed', 'link', 'text'];\nconst _ButtonShapes = ['default', 'circle', 'round'];\nconst _ButtonHTMLTypes = ['submit', 'button', 'reset'];\nexport const _ButtonVariantTypes = ['outlined', 'dashed', 'solid', 'filled', 'text', 'link'];\nexport const _ButtonColorTypes = ['default', 'primary', 'danger'];","import * as React from 'react';\nexport const defaultPrefixCls = 'ant';\nexport const defaultIconPrefixCls = 'anticon';\nexport const Variants = ['outlined', 'borderless', 'filled'];\nconst defaultGetPrefixCls = (suffixCls, customizePrefixCls) => {\n if (customizePrefixCls) {\n return customizePrefixCls;\n }\n return suffixCls ? `${defaultPrefixCls}-${suffixCls}` : defaultPrefixCls;\n};\n// zombieJ: 🚨 Do not pass `defaultRenderEmpty` here since it will cause circular dependency.\nexport const ConfigContext = /*#__PURE__*/React.createContext({\n // We provide a default function for Context without provider\n getPrefixCls: defaultGetPrefixCls,\n iconPrefixCls: defaultIconPrefixCls\n});\nexport const {\n Consumer: ConfigConsumer\n} = ConfigContext;","\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport { createTheme } from '@ant-design/cssinjs';\nimport IconContext from \"@ant-design/icons/es/components/Context\";\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport { merge } from \"rc-util/es/utils/set\";\nimport warning, { devUseWarning, WarningContext } from '../_util/warning';\nimport ValidateMessagesContext from '../form/validateMessagesContext';\nimport LocaleProvider, { ANT_MARK } from '../locale';\nimport LocaleContext from '../locale/context';\nimport defaultLocale from '../locale/en_US';\nimport { defaultTheme, DesignTokenContext } from '../theme/context';\nimport defaultSeedToken from '../theme/themes/seed';\nimport { ConfigConsumer, ConfigContext, defaultIconPrefixCls, defaultPrefixCls, Variants } from './context';\nimport { registerTheme } from './cssVariables';\nimport { DisabledContextProvider } from './DisabledContext';\nimport useConfig from './hooks/useConfig';\nimport useTheme from './hooks/useTheme';\nimport MotionWrapper from './MotionWrapper';\nimport PropWarning from './PropWarning';\nimport SizeContext, { SizeContextProvider } from './SizeContext';\nimport useStyle from './style';\nexport { Variants };\n/**\n * Since too many feedback using static method like `Modal.confirm` not getting theme, we record the\n * theme register info here to help developer get warning info.\n */\nlet existThemeConfig = false;\nexport const warnContext = process.env.NODE_ENV !== 'production' ? componentName => {\n process.env.NODE_ENV !== \"production\" ? warning(!existThemeConfig, componentName, `Static function can not consume context like dynamic theme. Please use 'App' component instead.`) : void 0;\n} : /* istanbul ignore next */\nnull;\nexport { ConfigConsumer, ConfigContext, defaultPrefixCls, defaultIconPrefixCls };\nexport const configConsumerProps = ['getTargetContainer', 'getPopupContainer', 'rootPrefixCls', 'getPrefixCls', 'renderEmpty', 'csp', 'autoInsertSpaceInButton', 'locale'];\n// These props is used by `useContext` directly in sub component\nconst PASSED_PROPS = ['getTargetContainer', 'getPopupContainer', 'renderEmpty', 'input', 'pagination', 'form', 'select', 'button'];\nlet globalPrefixCls;\nlet globalIconPrefixCls;\nlet globalTheme;\nlet globalHolderRender;\nfunction getGlobalPrefixCls() {\n return globalPrefixCls || defaultPrefixCls;\n}\nfunction getGlobalIconPrefixCls() {\n return globalIconPrefixCls || defaultIconPrefixCls;\n}\nfunction isLegacyTheme(theme) {\n return Object.keys(theme).some(key => key.endsWith('Color'));\n}\nconst setGlobalConfig = props => {\n const {\n prefixCls,\n iconPrefixCls,\n theme,\n holderRender\n } = props;\n if (prefixCls !== undefined) {\n globalPrefixCls = prefixCls;\n }\n if (iconPrefixCls !== undefined) {\n globalIconPrefixCls = iconPrefixCls;\n }\n if ('holderRender' in props) {\n globalHolderRender = holderRender;\n }\n if (theme) {\n if (isLegacyTheme(theme)) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'ConfigProvider', '`config` of css variable theme is not work in v5. Please use new `theme` config instead.') : void 0;\n registerTheme(getGlobalPrefixCls(), theme);\n } else {\n globalTheme = theme;\n }\n }\n};\nexport const globalConfig = () => ({\n getPrefixCls: (suffixCls, customizePrefixCls) => {\n if (customizePrefixCls) {\n return customizePrefixCls;\n }\n return suffixCls ? `${getGlobalPrefixCls()}-${suffixCls}` : getGlobalPrefixCls();\n },\n getIconPrefixCls: getGlobalIconPrefixCls,\n getRootPrefixCls: () => {\n // If Global prefixCls provided, use this\n if (globalPrefixCls) {\n return globalPrefixCls;\n }\n // Fallback to default prefixCls\n return getGlobalPrefixCls();\n },\n getTheme: () => globalTheme,\n holderRender: globalHolderRender\n});\nconst ProviderChildren = props => {\n const {\n children,\n csp: customCsp,\n autoInsertSpaceInButton,\n alert,\n anchor,\n form,\n locale,\n componentSize,\n direction,\n space,\n splitter,\n virtual,\n dropdownMatchSelectWidth,\n popupMatchSelectWidth,\n popupOverflow,\n legacyLocale,\n parentContext,\n iconPrefixCls: customIconPrefixCls,\n theme,\n componentDisabled,\n segmented,\n statistic,\n spin,\n calendar,\n carousel,\n cascader,\n collapse,\n typography,\n checkbox,\n descriptions,\n divider,\n drawer,\n skeleton,\n steps,\n image,\n layout,\n list,\n mentions,\n modal,\n progress,\n result,\n slider,\n breadcrumb,\n menu,\n pagination,\n input,\n textArea,\n empty,\n badge,\n radio,\n rate,\n switch: SWITCH,\n transfer,\n avatar,\n message,\n tag,\n table,\n card,\n tabs,\n timeline,\n timePicker,\n upload,\n notification,\n tree,\n colorPicker,\n datePicker,\n rangePicker,\n flex,\n wave,\n dropdown,\n warning: warningConfig,\n tour,\n floatButtonGroup,\n variant,\n inputNumber,\n treeSelect\n } = props;\n // =================================== Context ===================================\n const getPrefixCls = React.useCallback((suffixCls, customizePrefixCls) => {\n const {\n prefixCls\n } = props;\n if (customizePrefixCls) {\n return customizePrefixCls;\n }\n const mergedPrefixCls = prefixCls || parentContext.getPrefixCls('');\n return suffixCls ? `${mergedPrefixCls}-${suffixCls}` : mergedPrefixCls;\n }, [parentContext.getPrefixCls, props.prefixCls]);\n const iconPrefixCls = customIconPrefixCls || parentContext.iconPrefixCls || defaultIconPrefixCls;\n const csp = customCsp || parentContext.csp;\n useStyle(iconPrefixCls, csp);\n const mergedTheme = useTheme(theme, parentContext.theme, {\n prefixCls: getPrefixCls('')\n });\n if (process.env.NODE_ENV !== 'production') {\n existThemeConfig = existThemeConfig || !!mergedTheme;\n }\n const baseConfig = {\n csp,\n autoInsertSpaceInButton,\n alert,\n anchor,\n locale: locale || legacyLocale,\n direction,\n space,\n splitter,\n virtual,\n popupMatchSelectWidth: popupMatchSelectWidth !== null && popupMatchSelectWidth !== void 0 ? popupMatchSelectWidth : dropdownMatchSelectWidth,\n popupOverflow,\n getPrefixCls,\n iconPrefixCls,\n theme: mergedTheme,\n segmented,\n statistic,\n spin,\n calendar,\n carousel,\n cascader,\n collapse,\n typography,\n checkbox,\n descriptions,\n divider,\n drawer,\n skeleton,\n steps,\n image,\n input,\n textArea,\n layout,\n list,\n mentions,\n modal,\n progress,\n result,\n slider,\n breadcrumb,\n menu,\n pagination,\n empty,\n badge,\n radio,\n rate,\n switch: SWITCH,\n transfer,\n avatar,\n message,\n tag,\n table,\n card,\n tabs,\n timeline,\n timePicker,\n upload,\n notification,\n tree,\n colorPicker,\n datePicker,\n rangePicker,\n flex,\n wave,\n dropdown,\n warning: warningConfig,\n tour,\n floatButtonGroup,\n variant,\n inputNumber,\n treeSelect\n };\n if (process.env.NODE_ENV !== 'production') {\n const warningFn = devUseWarning('ConfigProvider');\n warningFn(!('autoInsertSpaceInButton' in props), 'deprecated', '`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.');\n }\n const config = Object.assign({}, parentContext);\n Object.keys(baseConfig).forEach(key => {\n if (baseConfig[key] !== undefined) {\n config[key] = baseConfig[key];\n }\n });\n // Pass the props used by `useContext` directly with child component.\n // These props should merged into `config`.\n PASSED_PROPS.forEach(propName => {\n const propValue = props[propName];\n if (propValue) {\n config[propName] = propValue;\n }\n });\n if (typeof autoInsertSpaceInButton !== 'undefined') {\n // merge deprecated api\n config.button = Object.assign({\n autoInsertSpace: autoInsertSpaceInButton\n }, config.button);\n }\n // https://github.com/ant-design/ant-design/issues/27617\n const memoedConfig = useMemo(() => config, config, (prevConfig, currentConfig) => {\n const prevKeys = Object.keys(prevConfig);\n const currentKeys = Object.keys(currentConfig);\n return prevKeys.length !== currentKeys.length || prevKeys.some(key => prevConfig[key] !== currentConfig[key]);\n });\n const memoIconContextValue = React.useMemo(() => ({\n prefixCls: iconPrefixCls,\n csp\n }), [iconPrefixCls, csp]);\n let childNode = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PropWarning, {\n dropdownMatchSelectWidth: dropdownMatchSelectWidth\n }), children);\n const validateMessages = React.useMemo(() => {\n var _a, _b, _c, _d;\n return merge(((_a = defaultLocale.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || {}, ((_c = (_b = memoedConfig.locale) === null || _b === void 0 ? void 0 : _b.Form) === null || _c === void 0 ? void 0 : _c.defaultValidateMessages) || {}, ((_d = memoedConfig.form) === null || _d === void 0 ? void 0 : _d.validateMessages) || {}, (form === null || form === void 0 ? void 0 : form.validateMessages) || {});\n }, [memoedConfig, form === null || form === void 0 ? void 0 : form.validateMessages]);\n if (Object.keys(validateMessages).length > 0) {\n childNode = /*#__PURE__*/React.createElement(ValidateMessagesContext.Provider, {\n value: validateMessages\n }, childNode);\n }\n if (locale) {\n childNode = /*#__PURE__*/React.createElement(LocaleProvider, {\n locale: locale,\n _ANT_MARK__: ANT_MARK\n }, childNode);\n }\n if (iconPrefixCls || csp) {\n childNode = /*#__PURE__*/React.createElement(IconContext.Provider, {\n value: memoIconContextValue\n }, childNode);\n }\n if (componentSize) {\n childNode = /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: componentSize\n }, childNode);\n }\n // =================================== Motion ===================================\n childNode = /*#__PURE__*/React.createElement(MotionWrapper, null, childNode);\n // ================================ Dynamic theme ================================\n const memoTheme = React.useMemo(() => {\n const _a = mergedTheme || {},\n {\n algorithm,\n token,\n components,\n cssVar\n } = _a,\n rest = __rest(_a, [\"algorithm\", \"token\", \"components\", \"cssVar\"]);\n const themeObj = algorithm && (!Array.isArray(algorithm) || algorithm.length > 0) ? createTheme(algorithm) : defaultTheme;\n const parsedComponents = {};\n Object.entries(components || {}).forEach(_ref => {\n let [componentName, componentToken] = _ref;\n const parsedToken = Object.assign({}, componentToken);\n if ('algorithm' in parsedToken) {\n if (parsedToken.algorithm === true) {\n parsedToken.theme = themeObj;\n } else if (Array.isArray(parsedToken.algorithm) || typeof parsedToken.algorithm === 'function') {\n parsedToken.theme = createTheme(parsedToken.algorithm);\n }\n delete parsedToken.algorithm;\n }\n parsedComponents[componentName] = parsedToken;\n });\n const mergedToken = Object.assign(Object.assign({}, defaultSeedToken), token);\n return Object.assign(Object.assign({}, rest), {\n theme: themeObj,\n token: mergedToken,\n components: parsedComponents,\n override: Object.assign({\n override: mergedToken\n }, parsedComponents),\n cssVar: cssVar\n });\n }, [mergedTheme]);\n if (theme) {\n childNode = /*#__PURE__*/React.createElement(DesignTokenContext.Provider, {\n value: memoTheme\n }, childNode);\n }\n // ================================== Warning ===================================\n if (memoedConfig.warning) {\n childNode = /*#__PURE__*/React.createElement(WarningContext.Provider, {\n value: memoedConfig.warning\n }, childNode);\n }\n // =================================== Render ===================================\n if (componentDisabled !== undefined) {\n childNode = /*#__PURE__*/React.createElement(DisabledContextProvider, {\n disabled: componentDisabled\n }, childNode);\n }\n return /*#__PURE__*/React.createElement(ConfigContext.Provider, {\n value: memoedConfig\n }, childNode);\n};\nconst ConfigProvider = props => {\n const context = React.useContext(ConfigContext);\n const antLocale = React.useContext(LocaleContext);\n return /*#__PURE__*/React.createElement(ProviderChildren, Object.assign({\n parentContext: context,\n legacyLocale: antLocale\n }, props));\n};\nConfigProvider.ConfigContext = ConfigContext;\nConfigProvider.SizeContext = SizeContext;\nConfigProvider.config = setGlobalConfig;\nConfigProvider.useConfig = useConfig;\nObject.defineProperty(ConfigProvider, 'SizeContext', {\n get: () => {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'ConfigProvider', 'ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead.') : void 0;\n return SizeContext;\n }\n});\nif (process.env.NODE_ENV !== 'production') {\n ConfigProvider.displayName = 'ConfigProvider';\n}\nexport default ConfigProvider;","\"use client\";\n\nimport * as React from 'react';\nimport { createContext, useContext, useMemo } from 'react';\nimport { FormProvider as RcFormProvider } from 'rc-field-form';\nimport omit from \"rc-util/es/omit\";\nexport const FormContext = /*#__PURE__*/React.createContext({\n labelAlign: 'right',\n vertical: false,\n itemRef: () => {}\n});\nexport const NoStyleItemContext = /*#__PURE__*/React.createContext(null);\nexport const FormProvider = props => {\n const providerProps = omit(props, ['prefixCls']);\n return /*#__PURE__*/React.createElement(RcFormProvider, Object.assign({}, providerProps));\n};\nexport const FormItemPrefixContext = /*#__PURE__*/React.createContext({\n prefixCls: ''\n});\nexport const FormItemInputContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n FormItemInputContext.displayName = 'FormItemInputContext';\n}\nexport const NoFormStyle = _ref => {\n let {\n children,\n status,\n override\n } = _ref;\n const formItemInputContext = useContext(FormItemInputContext);\n const newFormItemInputContext = useMemo(() => {\n const newContext = Object.assign({}, formItemInputContext);\n if (override) {\n delete newContext.isFormItemInput;\n }\n if (status) {\n delete newContext.status;\n delete newContext.hasFeedback;\n delete newContext.feedbackIcon;\n }\n return newContext;\n }, [status, override, formItemInputContext]);\n return /*#__PURE__*/React.createElement(FormItemInputContext.Provider, {\n value: newFormItemInputContext\n }, children);\n};\nexport const VariantContext = /*#__PURE__*/createContext(undefined);","import defaultLocale from '../locale/en_US';\nlet runtimeLocale = Object.assign({}, defaultLocale.Modal);\nlet localeList = [];\nconst generateLocale = () => localeList.reduce((merged, locale) => Object.assign(Object.assign({}, merged), locale), defaultLocale.Modal);\nexport function changeConfirmLocale(newLocale) {\n if (newLocale) {\n const cloneLocale = Object.assign({}, newLocale);\n localeList.push(cloneLocale);\n runtimeLocale = generateLocale();\n return () => {\n localeList = localeList.filter(locale => locale !== cloneLocale);\n runtimeLocale = generateLocale();\n };\n }\n runtimeLocale = Object.assign({}, defaultLocale.Modal);\n}\nexport function getConfirmLocale() {\n return runtimeLocale;\n}","\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport { ConfigContext } from '../config-provider';\nimport useSize from '../config-provider/hooks/useSize';\nimport useStyle from './style';\nexport const SpaceCompactItemContext = /*#__PURE__*/React.createContext(null);\nexport const useCompactItemContext = (prefixCls, direction) => {\n const compactItemContext = React.useContext(SpaceCompactItemContext);\n const compactItemClassnames = React.useMemo(() => {\n if (!compactItemContext) {\n return '';\n }\n const {\n compactDirection,\n isFirstItem,\n isLastItem\n } = compactItemContext;\n const separator = compactDirection === 'vertical' ? '-vertical-' : '-';\n return classNames(`${prefixCls}-compact${separator}item`, {\n [`${prefixCls}-compact${separator}first-item`]: isFirstItem,\n [`${prefixCls}-compact${separator}last-item`]: isLastItem,\n [`${prefixCls}-compact${separator}item-rtl`]: direction === 'rtl'\n });\n }, [prefixCls, direction, compactItemContext]);\n return {\n compactSize: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactSize,\n compactDirection: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactDirection,\n compactItemClassnames\n };\n};\nexport const NoCompactStyle = _ref => {\n let {\n children\n } = _ref;\n return /*#__PURE__*/React.createElement(SpaceCompactItemContext.Provider, {\n value: null\n }, children);\n};\nconst CompactItem = _a => {\n var {\n children\n } = _a,\n otherProps = __rest(_a, [\"children\"]);\n return /*#__PURE__*/React.createElement(SpaceCompactItemContext.Provider, {\n value: otherProps\n }, children);\n};\nconst Compact = props => {\n const {\n getPrefixCls,\n direction: directionConfig\n } = React.useContext(ConfigContext);\n const {\n size,\n direction,\n block,\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n children\n } = props,\n restProps = __rest(props, [\"size\", \"direction\", \"block\", \"prefixCls\", \"className\", \"rootClassName\", \"children\"]);\n const mergedSize = useSize(ctx => size !== null && size !== void 0 ? size : ctx);\n const prefixCls = getPrefixCls('space-compact', customizePrefixCls);\n const [wrapCSSVar, hashId] = useStyle(prefixCls);\n const clx = classNames(prefixCls, hashId, {\n [`${prefixCls}-rtl`]: directionConfig === 'rtl',\n [`${prefixCls}-block`]: block,\n [`${prefixCls}-vertical`]: direction === 'vertical'\n }, className, rootClassName);\n const compactItemContext = React.useContext(SpaceCompactItemContext);\n const childNodes = toArray(children);\n const nodes = React.useMemo(() => childNodes.map((child, i) => {\n const key = (child === null || child === void 0 ? void 0 : child.key) || `${prefixCls}-item-${i}`;\n return /*#__PURE__*/React.createElement(CompactItem, {\n key: key,\n compactSize: mergedSize,\n compactDirection: direction,\n isFirstItem: i === 0 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isFirstItem)),\n isLastItem: i === childNodes.length - 1 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isLastItem))\n }, child);\n }), [size, childNodes, compactItemContext]);\n // =========================== Render ===========================\n if (childNodes.length === 0) {\n return null;\n }\n return wrapCSSVar(/*#__PURE__*/React.createElement(\"div\", Object.assign({\n className: clx\n }, restProps), nodes));\n};\nexport default Compact;","\"use client\";\n\nimport { unit } from '@ant-design/cssinjs';\nexport const textEllipsis = {\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis'\n};\nexport const resetComponent = function (token) {\n let needInheritFontFamily = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return {\n boxSizing: 'border-box',\n margin: 0,\n padding: 0,\n color: token.colorText,\n fontSize: token.fontSize,\n // font-variant: @font-variant-base;\n lineHeight: token.lineHeight,\n listStyle: 'none',\n // font-feature-settings: @font-feature-settings-base;\n fontFamily: needInheritFontFamily ? 'inherit' : token.fontFamily\n };\n};\nexport const resetIcon = () => ({\n display: 'inline-flex',\n alignItems: 'center',\n color: 'inherit',\n fontStyle: 'normal',\n lineHeight: 0,\n textAlign: 'center',\n textTransform: 'none',\n // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4\n verticalAlign: '-0.125em',\n textRendering: 'optimizeLegibility',\n '-webkit-font-smoothing': 'antialiased',\n '-moz-osx-font-smoothing': 'grayscale',\n '> *': {\n lineHeight: 1\n },\n svg: {\n display: 'inline-block'\n }\n});\nexport const clearFix = () => ({\n // https://github.com/ant-design/ant-design/issues/21301#issuecomment-583955229\n '&::before': {\n display: 'table',\n content: '\"\"'\n },\n '&::after': {\n // https://github.com/ant-design/ant-design/issues/21864\n display: 'table',\n clear: 'both',\n content: '\"\"'\n }\n});\nexport const genLinkStyle = token => ({\n a: {\n color: token.colorLink,\n textDecoration: token.linkDecoration,\n backgroundColor: 'transparent',\n // remove the gray background on active links in IE 10.\n outline: 'none',\n cursor: 'pointer',\n transition: `color ${token.motionDurationSlow}`,\n '-webkit-text-decoration-skip': 'objects',\n // remove gaps in links underline in iOS 8+ and Safari 8+.\n '&:hover': {\n color: token.colorLinkHover\n },\n '&:active': {\n color: token.colorLinkActive\n },\n '&:active, &:hover': {\n textDecoration: token.linkHoverDecoration,\n outline: 0\n },\n // https://github.com/ant-design/ant-design/issues/22503\n '&:focus': {\n textDecoration: token.linkFocusDecoration,\n outline: 0\n },\n '&[disabled]': {\n color: token.colorTextDisabled,\n cursor: 'not-allowed'\n }\n }\n});\nexport const genCommonStyle = (token, componentPrefixCls, rootCls, resetFont) => {\n const prefixSelector = `[class^=\"${componentPrefixCls}\"], [class*=\" ${componentPrefixCls}\"]`;\n const rootPrefixSelector = rootCls ? `.${rootCls}` : prefixSelector;\n const resetStyle = {\n boxSizing: 'border-box',\n '&::before, &::after': {\n boxSizing: 'border-box'\n }\n };\n let resetFontStyle = {};\n if (resetFont !== false) {\n resetFontStyle = {\n fontFamily: token.fontFamily,\n fontSize: token.fontSize\n };\n }\n return {\n [rootPrefixSelector]: Object.assign(Object.assign(Object.assign({}, resetFontStyle), resetStyle), {\n [prefixSelector]: resetStyle\n })\n };\n};\nexport const genFocusOutline = token => ({\n outline: `${unit(token.lineWidthFocus)} solid ${token.colorPrimaryBorder}`,\n outlineOffset: 1,\n transition: 'outline-offset 0s, outline 0s'\n});\nexport const genFocusStyle = token => ({\n '&:focus-visible': Object.assign({}, genFocusOutline(token))\n});\nexport const operationUnit = token => Object.assign(Object.assign({\n // FIXME: This use link but is a operation unit. Seems should be a colorPrimary.\n // And Typography use this to generate link style which should not do this.\n color: token.colorLink,\n textDecoration: token.linkDecoration,\n outline: 'none',\n cursor: 'pointer',\n transition: `all ${token.motionDurationSlow}`,\n border: 0,\n padding: 0,\n background: 'none',\n userSelect: 'none'\n}, genFocusStyle(token)), {\n '&:focus, &:hover': {\n color: token.colorLinkHover\n },\n '&:active': {\n color: token.colorLinkActive\n }\n});","import * as React from 'react';\nimport Field from \"./Field\";\nimport List from \"./List\";\nimport useForm from \"./useForm\";\nimport FieldForm from \"./Form\";\nimport { FormProvider } from \"./FormContext\";\nimport FieldContext from \"./FieldContext\";\nimport ListContext from \"./ListContext\";\nimport useWatch from \"./useWatch\";\nvar InternalForm = /*#__PURE__*/React.forwardRef(FieldForm);\nvar RefForm = InternalForm;\nRefForm.FormProvider = FormProvider;\nRefForm.Field = Field;\nRefForm.List = List;\nRefForm.useForm = useForm;\nRefForm.useWatch = useWatch;\nexport { Field, List, useForm, FormProvider, FieldContext, ListContext, useWatch };\nexport default RefForm;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"component\", \"children\", \"onVisibleChanged\", \"onAllRemoved\"],\n _excluded2 = [\"status\"];\n/* eslint react/prop-types: 0 */\nimport * as React from 'react';\nimport OriginCSSMotion from \"./CSSMotion\";\nimport { diffKeys, parseKeys, STATUS_ADD, STATUS_KEEP, STATUS_REMOVE, STATUS_REMOVED } from \"./util/diff\";\nimport { supportTransition } from \"./util/motion\";\nvar MOTION_PROP_NAMES = ['eventProps', 'visible', 'children', 'motionName', 'motionAppear', 'motionEnter', 'motionLeave', 'motionLeaveImmediately', 'motionDeadline', 'removeOnLeave', 'leavedClassName', 'onAppearPrepare', 'onAppearStart', 'onAppearActive', 'onAppearEnd', 'onEnterStart', 'onEnterActive', 'onEnterEnd', 'onLeaveStart', 'onLeaveActive', 'onLeaveEnd'];\n/**\n * Generate a CSSMotionList component with config\n * @param transitionSupport No need since CSSMotionList no longer depends on transition support\n * @param CSSMotion CSSMotion component\n */\nexport function genCSSMotionList(transitionSupport) {\n var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OriginCSSMotion;\n var CSSMotionList = /*#__PURE__*/function (_React$Component) {\n _inherits(CSSMotionList, _React$Component);\n var _super = _createSuper(CSSMotionList);\n function CSSMotionList() {\n var _this;\n _classCallCheck(this, CSSMotionList);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _defineProperty(_assertThisInitialized(_this), \"state\", {\n keyEntities: []\n });\n // ZombieJ: Return the count of rest keys. It's safe to refactor if need more info.\n _defineProperty(_assertThisInitialized(_this), \"removeKey\", function (removeKey) {\n _this.setState(function (prevState) {\n var nextKeyEntities = prevState.keyEntities.map(function (entity) {\n if (entity.key !== removeKey) return entity;\n return _objectSpread(_objectSpread({}, entity), {}, {\n status: STATUS_REMOVED\n });\n });\n return {\n keyEntities: nextKeyEntities\n };\n }, function () {\n var keyEntities = _this.state.keyEntities;\n var restKeysCount = keyEntities.filter(function (_ref) {\n var status = _ref.status;\n return status !== STATUS_REMOVED;\n }).length;\n if (restKeysCount === 0 && _this.props.onAllRemoved) {\n _this.props.onAllRemoved();\n }\n });\n });\n return _this;\n }\n _createClass(CSSMotionList, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var keyEntities = this.state.keyEntities;\n var _this$props = this.props,\n component = _this$props.component,\n children = _this$props.children,\n _onVisibleChanged = _this$props.onVisibleChanged,\n onAllRemoved = _this$props.onAllRemoved,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n var Component = component || React.Fragment;\n var motionProps = {};\n MOTION_PROP_NAMES.forEach(function (prop) {\n motionProps[prop] = restProps[prop];\n delete restProps[prop];\n });\n delete restProps.keys;\n return /*#__PURE__*/React.createElement(Component, restProps, keyEntities.map(function (_ref2, index) {\n var status = _ref2.status,\n eventProps = _objectWithoutProperties(_ref2, _excluded2);\n var visible = status === STATUS_ADD || status === STATUS_KEEP;\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({}, motionProps, {\n key: eventProps.key,\n visible: visible,\n eventProps: eventProps,\n onVisibleChanged: function onVisibleChanged(changedVisible) {\n _onVisibleChanged === null || _onVisibleChanged === void 0 || _onVisibleChanged(changedVisible, {\n key: eventProps.key\n });\n if (!changedVisible) {\n _this2.removeKey(eventProps.key);\n }\n }\n }), function (props, ref) {\n return children(_objectSpread(_objectSpread({}, props), {}, {\n index: index\n }), ref);\n });\n }));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref3, _ref4) {\n var keys = _ref3.keys;\n var keyEntities = _ref4.keyEntities;\n var parsedKeyObjects = parseKeys(keys);\n var mixedKeyEntities = diffKeys(keyEntities, parsedKeyObjects);\n return {\n keyEntities: mixedKeyEntities.filter(function (entity) {\n var prevEntity = keyEntities.find(function (_ref5) {\n var key = _ref5.key;\n return entity.key === key;\n });\n\n // Remove if already mark as removed\n if (prevEntity && prevEntity.status === STATUS_REMOVED && entity.status === STATUS_REMOVE) {\n return false;\n }\n return true;\n })\n };\n }\n }]);\n return CSSMotionList;\n }(React.Component);\n _defineProperty(CSSMotionList, \"defaultProps\", {\n component: 'div'\n });\n return CSSMotionList;\n}\nexport default genCSSMotionList(supportTransition);","import CSSMotion from \"./CSSMotion\";\nimport CSSMotionList from \"./CSSMotionList\";\nexport { default as Provider } from \"./context\";\nexport { CSSMotionList };\nexport default CSSMotion;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nexport function isDOM(node) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Element\n // Since XULElement is also subclass of Element, we only need HTMLElement and SVGElement\n return node instanceof HTMLElement || node instanceof SVGElement;\n}\n\n/**\n * Retrieves a DOM node via a ref, and does not invoke `findDOMNode`.\n */\nexport function getDOM(node) {\n if (node && _typeof(node) === 'object' && isDOM(node.nativeElement)) {\n return node.nativeElement;\n }\n if (isDOM(node)) {\n return node;\n }\n return null;\n}\n\n/**\n * Return if a node is a DOM node. Else will return by `findDOMNode`\n */\nexport default function findDOMNode(node) {\n var domNode = getDOM(node);\n if (domNode) {\n return domNode;\n }\n if (node instanceof React.Component) {\n var _ReactDOM$findDOMNode;\n return (_ReactDOM$findDOMNode = ReactDOM.findDOMNode) === null || _ReactDOM$findDOMNode === void 0 ? void 0 : _ReactDOM$findDOMNode.call(ReactDOM, node);\n }\n return null;\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { isValidElement, version } from 'react';\nimport { ForwardRef, isFragment, isMemo } from 'react-is';\nimport useMemo from \"./hooks/useMemo\";\nexport var fillRef = function fillRef(ref, node) {\n if (typeof ref === 'function') {\n ref(node);\n } else if (_typeof(ref) === 'object' && ref && 'current' in ref) {\n ref.current = node;\n }\n};\n\n/**\n * Merge refs into one ref function to support ref passing.\n */\nexport var composeRef = function composeRef() {\n for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {\n refs[_key] = arguments[_key];\n }\n var refList = refs.filter(Boolean);\n if (refList.length <= 1) {\n return refList[0];\n }\n return function (node) {\n refs.forEach(function (ref) {\n fillRef(ref, node);\n });\n };\n};\nexport var useComposeRef = function useComposeRef() {\n for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n refs[_key2] = arguments[_key2];\n }\n return useMemo(function () {\n return composeRef.apply(void 0, refs);\n }, refs, function (prev, next) {\n return prev.length !== next.length || prev.every(function (ref, i) {\n return ref !== next[i];\n });\n });\n};\nexport var supportRef = function supportRef(nodeOrComponent) {\n var _type$prototype, _nodeOrComponent$prot;\n var type = isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;\n\n // Function component node\n if (typeof type === 'function' && !((_type$prototype = type.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type.$$typeof !== ForwardRef) {\n return false;\n }\n\n // Class component\n if (typeof nodeOrComponent === 'function' && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== ForwardRef) {\n return false;\n }\n return true;\n};\nfunction isReactElement(node) {\n return /*#__PURE__*/isValidElement(node) && !isFragment(node);\n}\nexport var supportNodeRef = function supportNodeRef(node) {\n return isReactElement(node) && supportRef(node);\n};\n\n/**\n * In React 19. `ref` is not a property from node.\n * But a property from `props.ref`.\n * To check if `props.ref` exist or fallback to `ref`.\n */\nexport var getNodeRef = Number(version.split('.')[0]) >= 19 ?\n// >= React 19\nfunction (node) {\n if (isReactElement(node)) {\n return node.props.ref;\n }\n return null;\n} :\n// < React 19\nfunction (node) {\n if (isReactElement(node)) {\n return node.ref;\n }\n return null;\n};","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n"],"names":["n","arguments","Object","Array","e","t","r","a","c","p","HTMLElement","SVGElement","Boolean","i"],"mappings":"iLAEW,EAAsB,CAC/B,IAAO,UACP,QAAW,UACX,OAAU,UACV,KAAQ,UACR,OAAU,UACV,KAAQ,UACR,MAAS,UACT,KAAQ,UACR,KAAQ,UACR,SAAY,UACZ,OAAU,UACV,QAAW,UACX,KAAQ,SACV,EACW,EAAM,CAAC,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAU,AAC/H,GAAI,OAAO,CAAG,CAAG,CAAC,EAAE,CACb,IAAI,EAAU,CAAC,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAU,AACnI,GAAQ,OAAO,CAAG,CAAO,CAAC,EAAE,CACrB,IAAI,EAAS,CAAC,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAU,AAClI,GA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bA,CAAO,CAAC,EAAE,CAEZ,SAAU,CAAI,EACnB,EAAK,OAAO,CAAC,SAAU,CAAG,EACxB,EAAQ,EAAK,EACf,EACF,CACF,EAaW,EAAa,SAAoB,CAAe,EAEzD,IADI,EAAiB,EACjB,EAAO,GAAAO,EAAA,QAAO,GAAmB,EAAgB,IAAI,CAAC,IAAI,CAAG,EAAgB,IAAI,OAGjF,CAAgB,YAAhB,OAAO,IAAuB,CAAE,OAAC,GAAkB,EAAK,SAAS,AAAD,GAA6C,EAAgB,MAAM,AAAD,GAAM,EAAK,QAAQ,GAAK,YAAU,AAAV,GAK1J,CAA2B,YAA3B,OAAO,IAAkC,CAAE,OAAC,GAAwB,EAAgB,SAAS,AAAD,GAAmD,EAAsB,MAAM,AAAD,GAAM,EAAgB,QAAQ,GAAK,YAAU,AAAV,CAInN,CAawB,CAAO,eAAa,CAAC,IAAI,CAAC,EAAE,AAAC,A,eCjEnD,EAAO,OAAO,CAAG,EAAjB,M"}
|
985.ffb21172.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";(self.webpackChunkchrome_extension=self.webpackChunkchrome_extension||[]).push([["985"],{44168(t,e,a){function n(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}a.d(e,{createCanvasFallbackModule:()=>_});let r=(0,a(64565).a)("img:canvas-fallback");class i{get_width(){return this._width}get_height(){return this._height}get_raw_pixels(){return new Uint8Array(this.ctx.getImageData(0,0,this._width,this._height).data.buffer)}get_bytes_jpeg(t){let e=atob(this.canvas.toDataURL("image/jpeg",t/100).split(",")[1]),a=new Uint8Array(e.length);for(let t=0;t<e.length;t++)a[t]=e.charCodeAt(t);return a}free(){}_getCanvas(){return this.canvas}_getContext(){return this.ctx}static async new_from_base64(t){return new Promise((e,a)=>{let n=new Image;n.onload=()=>{let t=document.createElement("canvas");t.width=n.width,t.height=n.height;let r=t.getContext("2d");r?(r.drawImage(n,0,0),e(new i(t))):a(Error("Failed to get 2d context"))},n.onerror=()=>{a(Error("Failed to load image"))},t.startsWith("data:")?n.src=t:n.src=`data:image/png;base64,${t}`})}static async new_from_byteslice(t){return new Promise((e,a)=>{let n=new Blob([t],{type:"image/png"}),r=URL.createObjectURL(n),o=new Image;o.onload=()=>{let t=document.createElement("canvas");t.width=o.width,t.height=o.height;let n=t.getContext("2d");if(!n){URL.revokeObjectURL(r),a(Error("Failed to get 2d context"));return}n.drawImage(o,0,0),URL.revokeObjectURL(r),e(new i(t))},o.onerror=()=>{URL.revokeObjectURL(r),a(Error("Failed to load image from bytes"))},o.src=r})}constructor(t){n(this,"canvas",void 0),n(this,"ctx",void 0),n(this,"_width",void 0),n(this,"_height",void 0),this.canvas=t;const e=t.getContext("2d");if(!e)throw Error("Failed to get 2d context");this.ctx=e,this._width=t.width,this._height=t.height}}let o={Nearest:"nearest",Triangle:"triangle",CatmullRom:"catmullrom",Gaussian:"gaussian",Lanczos3:"lanczos3"};class g{constructor(t,e,a,r){n(this,"r",void 0),n(this,"g",void 0),n(this,"b",void 0),n(this,"a",void 0),this.r=t,this.g=e,this.b=a,this.a=r}}function h(t,e,a,n){let r=document.createElement("canvas");r.width=e,r.height=a;let o=r.getContext("2d");if(!o)throw Error("Failed to get 2d context");return o.imageSmoothingEnabled=!0,o.imageSmoothingQuality="high",o.drawImage(t._getCanvas(),0,0,e,a),new i(r)}function l(t,e,a,n,r){let o=n-e,g=r-a,h=document.createElement("canvas");h.width=o,h.height=g;let l=h.getContext("2d");if(!l)throw Error("Failed to get 2d context");return l.drawImage(t._getCanvas(),e,a,o,g,0,0,o,g),new i(h)}function d(t,e,a){let n=t.get_width()+e,r=t.get_height(),o=document.createElement("canvas");o.width=n,o.height=r;let g=o.getContext("2d");if(!g)throw Error("Failed to get 2d context");return g.fillStyle=`rgba(${a.r}, ${a.g}, ${a.b}, ${a.a/255})`,g.fillRect(0,0,n,r),g.drawImage(t._getCanvas(),0,0),new i(o)}function c(t,e,a){let n=t.get_width(),r=t.get_height()+e,o=document.createElement("canvas");o.width=n,o.height=r;let g=o.getContext("2d");if(!g)throw Error("Failed to get 2d context");return g.fillStyle=`rgba(${a.r}, ${a.g}, ${a.b}, ${a.a/255})`,g.fillRect(0,0,n,r),g.drawImage(t._getCanvas(),0,0),new i(o)}function s(t,e,a){let n=t.get_width()+2*e,r=t.get_height()+2*e,o=document.createElement("canvas");o.width=n,o.height=r;let g=o.getContext("2d");if(!g)throw Error("Failed to get 2d context");return g.fillStyle=`rgba(${a.r}, ${a.g}, ${a.b}, ${a.a/255})`,g.fillRect(0,0,n,r),g.drawImage(t._getCanvas(),e,e),new i(o)}function w(t,e,a){let n=t.get_width()+e,r=t.get_height(),o=document.createElement("canvas");o.width=n,o.height=r;let g=o.getContext("2d");if(!g)throw Error("Failed to get 2d context");return g.fillStyle=`rgba(${a.r}, ${a.g}, ${a.b}, ${a.a/255})`,g.fillRect(0,0,n,r),g.drawImage(t._getCanvas(),e,0),new i(o)}function m(t,e,a){let n=t.get_width(),r=t.get_height()+e,o=document.createElement("canvas");o.width=n,o.height=r;let g=o.getContext("2d");if(!g)throw Error("Failed to get 2d context");return g.fillStyle=`rgba(${a.r}, ${a.g}, ${a.b}, ${a.a/255})`,g.fillRect(0,0,n,r),g.drawImage(t._getCanvas(),0,e),new i(o)}function u(t,e,a,n){let r=document.createElement("canvas");r.width=t.get_width(),r.height=t.get_height();let o=r.getContext("2d");if(!o)throw Error("Failed to get 2d context");return o.drawImage(t._getCanvas(),0,0),o.drawImage(e._getCanvas(),a,n),new i(r)}function _(){return r("Creating Canvas fallback module"),console.log("[midscene:img] Using Canvas fallback (Photon WASM not available)"),{PhotonImage:i,SamplingFilter:o,resize:h,crop:l,open_image:()=>{throw Error("open_image not supported in Canvas fallback")},base64_to_image:i.new_from_base64,padding_uniform:s,padding_left:w,padding_right:d,padding_top:m,padding_bottom:c,watermark:u,Rgba:g}}}}]);
|
| 2 |
+
//# sourceMappingURL=985.ffb21172.js.map
|
985.ffb21172.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"static/js/async/985.ffb21172.js","sources":["../../../../../../packages/shared/dist/es/img/canvas-fallback.mjs"],"sourcesContent":["import { getDebug } from \"../logger.mjs\";\nfunction _define_property(obj, key, value) {\n if (key in obj) Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n else obj[key] = value;\n return obj;\n}\nconst debug = getDebug('img:canvas-fallback');\nclass CanvasImage {\n get_width() {\n return this._width;\n }\n get_height() {\n return this._height;\n }\n get_raw_pixels() {\n const imageData = this.ctx.getImageData(0, 0, this._width, this._height);\n return new Uint8Array(imageData.data.buffer);\n }\n get_bytes_jpeg(quality) {\n const dataUrl = this.canvas.toDataURL('image/jpeg', quality / 100);\n const base64 = dataUrl.split(',')[1];\n const binary = atob(base64);\n const bytes = new Uint8Array(binary.length);\n for(let i = 0; i < binary.length; i++)bytes[i] = binary.charCodeAt(i);\n return bytes;\n }\n free() {}\n _getCanvas() {\n return this.canvas;\n }\n _getContext() {\n return this.ctx;\n }\n static async new_from_base64(base64Body) {\n return new Promise((resolve, reject)=>{\n const img = new Image();\n img.onload = ()=>{\n const canvas = document.createElement('canvas');\n canvas.width = img.width;\n canvas.height = img.height;\n const ctx = canvas.getContext('2d');\n if (!ctx) return void reject(new Error('Failed to get 2d context'));\n ctx.drawImage(img, 0, 0);\n resolve(new CanvasImage(canvas));\n };\n img.onerror = ()=>{\n reject(new Error('Failed to load image'));\n };\n if (base64Body.startsWith('data:')) img.src = base64Body;\n else img.src = `data:image/png;base64,${base64Body}`;\n });\n }\n static async new_from_byteslice(bytes) {\n return new Promise((resolve, reject)=>{\n const blob = new Blob([\n bytes\n ], {\n type: 'image/png'\n });\n const url = URL.createObjectURL(blob);\n const img = new Image();\n img.onload = ()=>{\n const canvas = document.createElement('canvas');\n canvas.width = img.width;\n canvas.height = img.height;\n const ctx = canvas.getContext('2d');\n if (!ctx) {\n URL.revokeObjectURL(url);\n reject(new Error('Failed to get 2d context'));\n return;\n }\n ctx.drawImage(img, 0, 0);\n URL.revokeObjectURL(url);\n resolve(new CanvasImage(canvas));\n };\n img.onerror = ()=>{\n URL.revokeObjectURL(url);\n reject(new Error('Failed to load image from bytes'));\n };\n img.src = url;\n });\n }\n constructor(canvas){\n _define_property(this, \"canvas\", void 0);\n _define_property(this, \"ctx\", void 0);\n _define_property(this, \"_width\", void 0);\n _define_property(this, \"_height\", void 0);\n this.canvas = canvas;\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n this.ctx = ctx;\n this._width = canvas.width;\n this._height = canvas.height;\n }\n}\nconst CanvasSamplingFilter = {\n Nearest: 'nearest',\n Triangle: 'triangle',\n CatmullRom: 'catmullrom',\n Gaussian: 'gaussian',\n Lanczos3: 'lanczos3'\n};\nclass CanvasRgba {\n constructor(r, g, b, a){\n _define_property(this, \"r\", void 0);\n _define_property(this, \"g\", void 0);\n _define_property(this, \"b\", void 0);\n _define_property(this, \"a\", void 0);\n this.r = r;\n this.g = g;\n this.b = b;\n this.a = a;\n }\n}\nfunction canvasResize(image, newWidth, newHeight, _filter) {\n const canvas = document.createElement('canvas');\n canvas.width = newWidth;\n canvas.height = newHeight;\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n ctx.imageSmoothingEnabled = true;\n ctx.imageSmoothingQuality = 'high';\n ctx.drawImage(image._getCanvas(), 0, 0, newWidth, newHeight);\n return new CanvasImage(canvas);\n}\nfunction canvasCrop(image, x1, y1, x2, y2) {\n const width = x2 - x1;\n const height = y2 - y1;\n const canvas = document.createElement('canvas');\n canvas.width = width;\n canvas.height = height;\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n ctx.drawImage(image._getCanvas(), x1, y1, width, height, 0, 0, width, height);\n return new CanvasImage(canvas);\n}\nfunction canvasPaddingRight(image, padding, color) {\n const newWidth = image.get_width() + padding;\n const height = image.get_height();\n const canvas = document.createElement('canvas');\n canvas.width = newWidth;\n canvas.height = height;\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n ctx.fillStyle = `rgba(${color.r}, ${color.g}, ${color.b}, ${color.a / 255})`;\n ctx.fillRect(0, 0, newWidth, height);\n ctx.drawImage(image._getCanvas(), 0, 0);\n return new CanvasImage(canvas);\n}\nfunction canvasPaddingBottom(image, padding, color) {\n const width = image.get_width();\n const newHeight = image.get_height() + padding;\n const canvas = document.createElement('canvas');\n canvas.width = width;\n canvas.height = newHeight;\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n ctx.fillStyle = `rgba(${color.r}, ${color.g}, ${color.b}, ${color.a / 255})`;\n ctx.fillRect(0, 0, width, newHeight);\n ctx.drawImage(image._getCanvas(), 0, 0);\n return new CanvasImage(canvas);\n}\nfunction canvasPaddingUniform(image, padding, color) {\n const newWidth = image.get_width() + 2 * padding;\n const newHeight = image.get_height() + 2 * padding;\n const canvas = document.createElement('canvas');\n canvas.width = newWidth;\n canvas.height = newHeight;\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n ctx.fillStyle = `rgba(${color.r}, ${color.g}, ${color.b}, ${color.a / 255})`;\n ctx.fillRect(0, 0, newWidth, newHeight);\n ctx.drawImage(image._getCanvas(), padding, padding);\n return new CanvasImage(canvas);\n}\nfunction canvasPaddingLeft(image, padding, color) {\n const newWidth = image.get_width() + padding;\n const height = image.get_height();\n const canvas = document.createElement('canvas');\n canvas.width = newWidth;\n canvas.height = height;\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n ctx.fillStyle = `rgba(${color.r}, ${color.g}, ${color.b}, ${color.a / 255})`;\n ctx.fillRect(0, 0, newWidth, height);\n ctx.drawImage(image._getCanvas(), padding, 0);\n return new CanvasImage(canvas);\n}\nfunction canvasPaddingTop(image, padding, color) {\n const width = image.get_width();\n const newHeight = image.get_height() + padding;\n const canvas = document.createElement('canvas');\n canvas.width = width;\n canvas.height = newHeight;\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n ctx.fillStyle = `rgba(${color.r}, ${color.g}, ${color.b}, ${color.a / 255})`;\n ctx.fillRect(0, 0, width, newHeight);\n ctx.drawImage(image._getCanvas(), 0, padding);\n return new CanvasImage(canvas);\n}\nfunction canvasWatermark(base, overlay, x, y) {\n const canvas = document.createElement('canvas');\n canvas.width = base.get_width();\n canvas.height = base.get_height();\n const ctx = canvas.getContext('2d');\n if (!ctx) throw new Error('Failed to get 2d context');\n ctx.drawImage(base._getCanvas(), 0, 0);\n ctx.drawImage(overlay._getCanvas(), x, y);\n return new CanvasImage(canvas);\n}\nfunction createCanvasFallbackModule() {\n debug('Creating Canvas fallback module');\n console.log('[midscene:img] Using Canvas fallback (Photon WASM not available)');\n return {\n PhotonImage: CanvasImage,\n SamplingFilter: CanvasSamplingFilter,\n resize: canvasResize,\n crop: canvasCrop,\n open_image: ()=>{\n throw new Error('open_image not supported in Canvas fallback');\n },\n base64_to_image: CanvasImage.new_from_base64,\n padding_uniform: canvasPaddingUniform,\n padding_left: canvasPaddingLeft,\n padding_right: canvasPaddingRight,\n padding_top: canvasPaddingTop,\n padding_bottom: canvasPaddingBottom,\n watermark: canvasWatermark,\n Rgba: CanvasRgba\n };\n}\nexport { CanvasImage, CanvasRgba, CanvasSamplingFilter, canvasCrop, canvasPaddingBottom, canvasPaddingLeft, canvasPaddingRight, canvasPaddingTop, canvasPaddingUniform, canvasResize, canvasWatermark, createCanvasFallbackModule };\n"],"names":["_define_property","obj","key","value","Object","debug","getDebug","CanvasImage","Uint8Array","imageData","quality","binary","atob","dataUrl","bytes","i","base64Body","Promise","resolve","reject","img","Image","canvas","document","ctx","Error","blob","Blob","url","URL","CanvasSamplingFilter","CanvasRgba","r","g","b","a","canvasResize","image","newWidth","newHeight","_filter","canvasCrop","x1","y1","x2","y2","width","height","canvasPaddingRight","padding","color","canvasPaddingBottom","canvasPaddingUniform","canvasPaddingLeft","canvasPaddingTop","canvasWatermark","base","overlay","x","y","createCanvasFallbackModule","console"],"mappings":"mHACA,SAASA,EAAiBC,CAAG,CAAEC,CAAG,CAAEC,CAAK,EAQrC,OAPID,KAAOD,EAAKG,OAAO,cAAc,CAACH,EAAKC,EAAK,CAC5C,MAAOC,EACP,WAAY,GACZ,aAAc,GACd,SAAU,EACd,GACKF,CAAG,CAACC,EAAI,CAAGC,EACTF,CACX,C,0CACA,IAAMI,EAAQC,AAAAA,GAAAA,A,SAAAA,CAAAA,AAAAA,EAAS,sBACvB,OAAMC,EACF,WAAY,CACR,OAAO,IAAI,CAAC,MAAM,AACtB,CACA,YAAa,CACT,OAAO,IAAI,CAAC,OAAO,AACvB,CACA,gBAAiB,CAEb,OAAO,IAAIC,WAAWC,AADJ,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,EAAG,EAAG,IAAI,CAAC,MAAM,CAAE,IAAI,CAAC,OAAO,EACvC,IAAI,CAAC,MAAM,CAC/C,CACA,eAAeC,CAAO,CAAE,CAGpB,IAAMC,EAASC,KADAC,AADC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,aAAcH,EAAU,KACvC,KAAK,CAAC,IAAI,CAAC,EAAE,EAE9BI,EAAQ,IAAIN,WAAWG,EAAO,MAAM,EAC1C,IAAI,IAAII,EAAI,EAAGA,EAAIJ,EAAO,MAAM,CAAEI,IAAID,CAAK,CAACC,EAAE,CAAGJ,EAAO,UAAU,CAACI,GACnE,OAAOD,CACX,CACA,MAAO,CAAC,CACR,YAAa,CACT,OAAO,IAAI,CAAC,MAAM,AACtB,CACA,aAAc,CACV,OAAO,IAAI,CAAC,GAAG,AACnB,CACA,aAAa,gBAAgBE,CAAU,CAAE,CACrC,OAAO,IAAIC,QAAQ,CAACC,EAASC,KACzB,IAAMC,EAAM,IAAIC,KAChBD,CAAAA,EAAI,MAAM,CAAG,KACT,IAAME,EAAS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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!
|
| 2 |
+
* The buffer module from node.js, for the browser.
|
| 3 |
+
*
|
| 4 |
+
* @author Feross Aboukhadijeh <https://feross.org>
|
| 5 |
+
* @license MIT
|
| 6 |
+
*/
|
| 7 |
+
|
| 8 |
+
/** */
|
| 9 |
+
|
| 10 |
+
/** */
|
| 11 |
+
|
| 12 |
+
/** */
|
| 13 |
+
|
| 14 |
+
/** */
|
| 15 |
+
|
| 16 |
+
/** */
|
| 17 |
+
|
| 18 |
+
/** */
|
| 19 |
+
|
| 20 |
+
/** */
|
| 21 |
+
|
| 22 |
+
/** */
|
| 23 |
+
|
| 24 |
+
/** */
|
| 25 |
+
|
| 26 |
+
/** */
|
| 27 |
+
|
| 28 |
+
/** */
|
| 29 |
+
|
| 30 |
+
/** */
|
| 31 |
+
|
| 32 |
+
/** */
|
| 33 |
+
|
| 34 |
+
/** */
|
| 35 |
+
|
| 36 |
+
/** */
|
| 37 |
+
|
| 38 |
+
/** */
|
| 39 |
+
|
| 40 |
+
/** */
|
| 41 |
+
|
| 42 |
+
/** */
|
| 43 |
+
|
| 44 |
+
/** */
|
| 45 |
+
|
| 46 |
+
/** */
|
| 47 |
+
|
| 48 |
+
/** */
|
| 49 |
+
|
| 50 |
+
/** */
|
| 51 |
+
|
| 52 |
+
/** */
|
| 53 |
+
|
| 54 |
+
/** */
|
| 55 |
+
|
| 56 |
+
/** */
|
| 57 |
+
|
| 58 |
+
/** */
|
| 59 |
+
|
| 60 |
+
/** */
|
| 61 |
+
|
| 62 |
+
/** */
|
| 63 |
+
|
| 64 |
+
/** */
|
| 65 |
+
|
| 66 |
+
/** */
|
| 67 |
+
|
| 68 |
+
/** */
|
| 69 |
+
|
| 70 |
+
/** */
|
| 71 |
+
|
| 72 |
+
/** */
|
| 73 |
+
|
| 74 |
+
/** */
|
| 75 |
+
|
| 76 |
+
/** */
|
| 77 |
+
|
| 78 |
+
/** */
|
| 79 |
+
|
| 80 |
+
/** */
|
| 81 |
+
|
| 82 |
+
/** */
|
| 83 |
+
|
| 84 |
+
/** */
|
| 85 |
+
|
| 86 |
+
/** */
|
| 87 |
+
|
| 88 |
+
/** */
|
| 89 |
+
|
| 90 |
+
/** */
|
| 91 |
+
|
| 92 |
+
/** */
|
| 93 |
+
|
| 94 |
+
/** */
|
| 95 |
+
|
| 96 |
+
/** */
|
| 97 |
+
|
| 98 |
+
/** */
|
| 99 |
+
|
| 100 |
+
/** */
|
| 101 |
+
|
| 102 |
+
/** */
|
| 103 |
+
|
| 104 |
+
/** */
|
| 105 |
+
|
| 106 |
+
/** */
|
| 107 |
+
|
| 108 |
+
/** */
|
| 109 |
+
|
| 110 |
+
/** */
|
| 111 |
+
|
| 112 |
+
/** */
|
| 113 |
+
|
| 114 |
+
/** */
|
| 115 |
+
|
| 116 |
+
/** */
|
| 117 |
+
|
| 118 |
+
/** */
|
| 119 |
+
|
| 120 |
+
/** */
|
| 121 |
+
|
| 122 |
+
/** */
|
| 123 |
+
|
| 124 |
+
/** */
|
988.dd14c178.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
9e906fbf.module.wasm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06e9f6b245d53b488244e04dfe30e6731c029526101c6400e6490057fcfbdd04
|
| 3 |
+
size 1880773
|
Apache License.txt
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
confirm.938ce766.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
(()=>{"use strict";var e,n,A,o,r,t,i={45835(e,n,A){A.d(n,{A:()=>c});var o=A(85942),r=A.n(o),t=A(19854),i=A.n(t)()(r());i.push([e.id,"html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}#root{width:100%;height:100%}.confirm-dialog{box-sizing:border-box;background:#fff;flex-direction:column;width:100%;height:100%;padding:24px;display:flex;overflow:auto}.confirm-header{align-items:center;gap:12px;margin-bottom:20px;display:flex}.confirm-header .confirm-logo{object-fit:contain;width:40px;height:40px}.confirm-header .confirm-title{color:#333;margin:0;font-size:18px;font-weight:600}.confirm-content .confirm-message{color:#333;margin:0;font-size:14px;line-height:1.6}.confirm-content .server-info{background:#f5f5f5;border-radius:8px;align-items:center;gap:8px;margin:16px 0;padding:12px 16px;display:flex}.confirm-content .server-info .server-label{color:#666;font-size:13px}.confirm-content .server-info .server-url{color:#333;word-break:break-all;font-family:monospace;font-size:13px}.confirm-options{margin-bottom:16px}.confirm-options .ant-checkbox-wrapper{color:#333;font-size:14px}.confirm-footer .confirm-buttons{justify-content:flex-end;gap:12px;display:flex}.confirm-footer .confirm-buttons .ant-btn{min-width:80px}","",{version:3,sources:["webpack://./home/runner/work/midscene/midscene/apps/chrome-extension/src/extension/confirm/index.less"],names:[],mappings:"AADA,UAAA,UAAA,CAAA,WAAA,CAAA,QAAA,CAAA,SAAA,CAAA,eAAA,CAQA,MAAA,UAAA,CAAA,WAAA,CAIA,gBAAA,qBAAA,CAAA,eAAA,CAAA,qBAAA,CAAA,UAAA,CAAA,WAAA,CAAA,YAAA,CAAA,YAAA,CAAA,aAAA,CAUA,gBAAA,kBAAA,CAAA,QAAA,CAAA,kBAAA,CAAA,YAAA,CAMA,8BAAA,kBAAA,CAAA,UAAA,CAAA,WAAA,CAKA,+BAAA,UAAA,CAAA,QAAA,CAAA,cAAA,CAAA,eAAA,CAMA,kCAAA,UAAA,CAAA,QAAA,CAAA,cAAA,CAAA,eAAA,CAMA,8BAAA,kBAAA,CAAA,iBAAA,CAAA,kBAAA,CAAA,OAAA,CAAA,aAAA,CAAA,iBAAA,CAAA,YAAA,CASA,4CAAA,UAAA,CAAA,cAAA,CAIA,0CAAA,UAAA,CAAA,oBAAA,CAAA,qBAAA,CAAA,cAAA,CAMA,iBAAA,kBAAA,CAGA,uCAAA,UAAA,CAAA,cAAA,CAIA,iCAAA,wBAAA,CAAA,QAAA,CAAA,YAAA,CAKA,0CAAA,cAAA",sourcesContent:["html,\nbody {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n#root {\n width: 100%;\n height: 100%;\n}\n.confirm-dialog {\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n padding: 24px;\n display: flex;\n flex-direction: column;\n background: #fff;\n overflow: auto;\n}\n.confirm-header {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-bottom: 20px;\n}\n.confirm-header .confirm-logo {\n width: 40px;\n height: 40px;\n object-fit: contain;\n}\n.confirm-header .confirm-title {\n font-size: 18px;\n font-weight: 600;\n margin: 0;\n color: #333;\n}\n.confirm-content .confirm-message {\n font-size: 14px;\n color: #333;\n margin: 0;\n line-height: 1.6;\n}\n.confirm-content .server-info {\n background: #f5f5f5;\n border-radius: 8px;\n padding: 12px 16px;\n margin: 16px 0;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.confirm-content .server-info .server-label {\n font-size: 13px;\n color: #666;\n}\n.confirm-content .server-info .server-url {\n font-size: 13px;\n color: #333;\n font-family: monospace;\n word-break: break-all;\n}\n.confirm-options {\n margin-bottom: 16px;\n}\n.confirm-options .ant-checkbox-wrapper {\n font-size: 14px;\n color: #333;\n}\n.confirm-footer .confirm-buttons {\n display: flex;\n justify-content: flex-end;\n gap: 12px;\n}\n.confirm-footer .confirm-buttons .ant-btn {\n min-width: 80px;\n}\n"],sourceRoot:""}]);let c=i},74949(e,n,A){var o=A(65723),r=A(2024),t=A(16356),i=A(65584),c=A(22155),s=A(58997);let a="bridge-confirm-response";var l=A(26653),f=A.n(l),d=A(75274),m=A.n(d),p=A(31450),h=A.n(p),g=A(68917),x=A.n(g),u=A(46529),b=A.n(u),C=A(19422),v=A.n(C),y=A(45835),w={};w.styleTagTransform=v(),w.setAttributes=x(),w.insert=h().bind(null,"head"),w.domAPI=m(),w.insertStyleElement=b(),f()(y.A,w),y.A&&y.A.locals&&y.A.locals;let j=document.getElementById("root");j&&(0,s.createRoot)(j).render((0,o.jsx)(function(){let[e,n]=(0,c.useState)(!1),[A,s]=(0,c.useState)(Math.floor(30)),[l,f]=(0,c.useState)("");(0,c.useEffect)(()=>{f(new URLSearchParams(window.location.search).get("serverUrl")||"ws://localhost:3766");let e=setInterval(()=>{s(n=>n<=1?(clearInterval(e),d(),0):n-1)},1e3);return()=>clearInterval(e)},[]);let d=()=>{chrome.runtime.sendMessage({type:a,payload:{allowed:!1,alwaysDecline:e}},()=>{window.close()})};return(0,o.jsx)(r.Ay,{theme:{token:{colorPrimary:"#2B83FF"},components:{Layout:{headerHeight:60,headerPadding:"0 30px",headerBg:"#FFF",bodyBg:"#FFF"}}},children:(0,o.jsxs)("div",{className:"confirm-dialog",children:[(0,o.jsxs)("div",{className:"confirm-header",children:[(0,o.jsx)("img",{src:"/icon128.png",alt:"Midscene",className:"confirm-logo"}),(0,o.jsx)("h2",{className:"confirm-title",children:"Midscene Bridge"})]}),(0,o.jsxs)("div",{className:"confirm-content",children:[(0,o.jsx)("p",{className:"confirm-message",children:"Midscene CLI is requesting to control this browser."}),(0,o.jsxs)("div",{className:"server-info",children:[(0,o.jsx)("span",{className:"server-label",children:"Server:"}),(0,o.jsx)("span",{className:"server-url",children:l})]})]}),(0,o.jsx)("div",{className:"confirm-options",children:(0,o.jsx)(t.A,{checked:e,onChange:e=>n(e.target.checked),children:"Remember this choice"})}),(0,o.jsx)("div",{className:"confirm-footer",children:(0,o.jsxs)("div",{className:"confirm-buttons",children:[(0,o.jsxs)(i.Ay,{onClick:d,children:["Deny (",A,"s)"]}),(0,o.jsx)(i.Ay,{type:"primary",onClick:()=>{chrome.runtime.sendMessage({type:a,payload:{allowed:!0,alwaysAllow:e}},()=>{window.close()})},children:"Allow"})]})})]})})},{}))},50054(e,n,A){A(25447),A(44622),A(15254),A(81490),A(73813),A(64844),A(30134),A(20789),A(35336),A(66249),A(52277),A(14104),A(54064),A(19959),A(97496),A(61203),A(35796),A(8261),A(60057),A(20303),A(99166),A(6106),A(3880),A(42949),A(66528),A(66260),A(31178),A(18723),A(49678),A(45249),A(84086),A(19961),A(37891),A(46455),A(12021),A(72434),A(98972),A(74162),A(31442),A(21830),A(88787),A(62513),A(32085),A(68100),A(13527),A(14846),A(88433),A(18331),A(81574),A(53834),A(3195),A(32301),A(67548),A(70954),A(98803),A(79162),A(15385),A(39342),A(69152),A(62839),A(74861),A(25680),A(22742),A(24330),A(37553),A(62148),A(89055),A(41435),A(12205),A(65850),A(65135),A(32039),A(33023),A(23774),A(15736),A(21920),A(77130),A(67932),A(74425),A(73424),A(70144),A(84663),A(24935),A(50692),A(47894),A(47599),A(60028),A(27105),A(91881),A(25880),A(66990),A(56503),A(59514),A(22845),A(88410),A(30533),A(43560),A(64071),A(78795),A(17153),A(88038),A(18232),A(58970),A(3341),A(66544),A(82650),A(80990),A(51364),A(13783),A(40307),A(97903),A(27626),A(19208),A(13546),A(10384),A(16247),A(13887),A(26660),A(67552),A(11439),A(69973),A(19782),A(42034),A(21301),A(9567),A(99811),A(40009),A(13035),A(13412),A(17973),A(64955),A(72398),A(91016),A(23306),A(76619),A(51513),A(57857),A(9975),A(93885),A(812),A(88743),A(74180),A(994),A(4267),A(54871),A(92157),A(92677),A(97114),A(69203),A(188),A(72684),A(98519),A(123),A(34106),A(48132),A(4224),A(55988),A(98090),A(91379),A(66322),A(14195),A(35228),A(10860),A(92002),A(15828),A(20455),A(34096),A(54800),A(74629),A(30078),A(65226),A(69543),A(68145),A(16294),A(9154),A(61955),A(82689),A(84847),A(16285),A(20602),A(33307),A(35848),A(94341),A(7270),A(44997),A(50364),A(79780),A(80372),A(61853),A(72498),A(37928),A(25597),A(92321),A(66876),A(21068),A(60586),A(36543),A(65806),A(83972),A(90527),A(31278),A(36305),A(67666),A(20959),A(84569),A(71719),A(25950),A(32474),A(76409),A(32439),A(5876),A(94359),A(28016),A(38641),A(74678),A(45443),A(66958),A(55910),A(76691),A(72919),A(65204),A(78872),A(60972),A(55621),A(45724),A(32037),A(68090),A(95600),A(51376),A(22575),A(52205),A(40768),A(76235)}},c={};function s(e){var n=c[e];if(void 0!==n)return n.exports;var A=c[e]={id:e,exports:{}};return i[e].call(A.exports,A,A.exports,s),A.exports}s.m=i,s.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return s.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(A,o){if(1&o&&(A=this(A)),8&o||"object"==typeof A&&A&&(4&o&&A.__esModule||16&o&&"function"==typeof A.then))return A;var r=Object.create(null);s.r(r);var t={};e=e||[null,n({}),n([]),n(n)];for(var i=2&o&&A;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(e=>{t[e]=()=>A[e]});return t.default=()=>A,s.d(r,t),r},s.d=(e,n)=>{for(var A in n)s.o(n,A)&&!s.o(e,A)&&Object.defineProperty(e,A,{enumerable:!0,get:n[A]})},s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0,A=[],s.O=(e,n,o,r)=>{if(n){r=r||0;for(var t=A.length;t>0&&A[t-1][2]>r;t--)A[t]=A[t-1];A[t]=[n,o,r];return}for(var i=1/0,t=0;t<A.length;t++){for(var[n,o,r]=A[t],c=!0,a=0;a<n.length;a++)(!1&r||i>=r)&&Object.keys(s.O).every(e=>s.O[e](n[a]))?n.splice(a--,1):(c=!1,r<i&&(i=r));if(c){A.splice(t--,1);var l=o();void 0!==l&&(e=l)}}return e},o={518:0},s.O.j=e=>0===o[e],r=(e,n)=>{var A,r,[t,i,c]=n,a=0;if(t.some(e=>0!==o[e])){for(A in i)s.o(i,A)&&(s.m[A]=i[A]);if(c)var l=c(s)}for(e&&e(n);a<t.length;a++)r=t[a],s.o(o,r)&&o[r]&&o[r][0](),o[r]=0;return s.O(l)},(t=self.webpackChunkchrome_extension=self.webpackChunkchrome_extension||[]).forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t)),s.O(void 0,["493","783","256","364","815"],()=>s(50054));var a=s.O(void 0,["493","783","256","364","815"],()=>s(74949));a=s.O(a)})();
|
| 2 |
+
//# sourceMappingURL=confirm.938ce766.js.map
|
confirm.938ce766.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"static/js/confirm.938ce766.js","sources":["webpack/runtime/create_fake_namespace_object","webpack/runtime/on_chunk_loaded","webpack/runtime/jsonp_chunk_loading","../../../src/extension/confirm/index.less","../../../src/utils/workerMessageTypes.ts","webpack://chrome-extension/./src/extension/confirm/index.less?3dd3","../../../src/extension/confirm/index.tsx","../../../../../packages/visualizer/dist/es/utils/color.mjs","webpack/runtime/compat_get_default_export","webpack/runtime/define_property_getters","webpack/runtime/global","webpack/runtime/has_own_property","webpack/runtime/make_namespace_object","webpack/runtime/nonce"],"sourcesContent":["var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n __webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => { def[key] = () => (value[key]) });\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif (chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor (var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--)\n\t\t\tdeferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif (\n\t\t\t\t(priority & (1 === 0) || notFulfilled >= priority) &&\n\t\t\t\tObject.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))\n\t\t\t) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif (priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif (fulfilled) {\n\t\t\tdeferred.splice(i--, 1);\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};\n","\n // object to store loaded and loading chunks\n // undefined = chunk not loaded, null = chunk preloaded/prefetched\n // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\n var installedChunks = {\"518\": 0,};\n __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n// install a JSONP callback for chunk loading\nvar __rspack_jsonp = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif (chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor (moduleId in moreModules) {\n\t\t\tif (__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif (runtime) var result = runtime(__webpack_require__);\n\t}\n\tif (parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor (; i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif (\n\t\t\t__webpack_require__.o(installedChunks, chunkId) &&\n\t\t\tinstalledChunks[chunkId]\n\t\t) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\t\n\treturn __webpack_require__.O(result);\n\t\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunkchrome_extension\"] = self[\"webpackChunkchrome_extension\"] || [];\nchunkLoadingGlobal.forEach(__rspack_jsonp.bind(null, 0));\nchunkLoadingGlobal.push = __rspack_jsonp.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/css-loader/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/css-loader/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}#root{width:100%;height:100%}.confirm-dialog{box-sizing:border-box;background:#fff;flex-direction:column;width:100%;height:100%;padding:24px;display:flex;overflow:auto}.confirm-header{align-items:center;gap:12px;margin-bottom:20px;display:flex}.confirm-header .confirm-logo{object-fit:contain;width:40px;height:40px}.confirm-header .confirm-title{color:#333;margin:0;font-size:18px;font-weight:600}.confirm-content .confirm-message{color:#333;margin:0;font-size:14px;line-height:1.6}.confirm-content .server-info{background:#f5f5f5;border-radius:8px;align-items:center;gap:8px;margin:16px 0;padding:12px 16px;display:flex}.confirm-content .server-info .server-label{color:#666;font-size:13px}.confirm-content .server-info .server-url{color:#333;word-break:break-all;font-family:monospace;font-size:13px}.confirm-options{margin-bottom:16px}.confirm-options .ant-checkbox-wrapper{color:#333;font-size:14px}.confirm-footer .confirm-buttons{justify-content:flex-end;gap:12px;display:flex}.confirm-footer .confirm-buttons .ant-btn{min-width:80px}`, \"\",{\"version\":3,\"sources\":[\"webpack://./home/runner/work/midscene/midscene/apps/chrome-extension/src/extension/confirm/index.less\"],\"names\":[],\"mappings\":\"AADA,UAAA,UAAA,CAAA,WAAA,CAAA,QAAA,CAAA,SAAA,CAAA,eAAA,CAQA,MAAA,UAAA,CAAA,WAAA,CAIA,gBAAA,qBAAA,CAAA,eAAA,CAAA,qBAAA,CAAA,UAAA,CAAA,WAAA,CAAA,YAAA,CAAA,YAAA,CAAA,aAAA,CAUA,gBAAA,kBAAA,CAAA,QAAA,CAAA,kBAAA,CAAA,YAAA,CAMA,8BAAA,kBAAA,CAAA,UAAA,CAAA,WAAA,CAKA,+BAAA,UAAA,CAAA,QAAA,CAAA,cAAA,CAAA,eAAA,CAMA,kCAAA,UAAA,CAAA,QAAA,CAAA,cAAA,CAAA,eAAA,CAMA,8BAAA,kBAAA,CAAA,iBAAA,CAAA,kBAAA,CAAA,OAAA,CAAA,aAAA,CAAA,iBAAA,CAAA,YAAA,CASA,4CAAA,UAAA,CAAA,cAAA,CAIA,0CAAA,UAAA,CAAA,oBAAA,CAAA,qBAAA,CAAA,cAAA,CAMA,iBAAA,kBAAA,CAGA,uCAAA,UAAA,CAAA,cAAA,CAIA,iCAAA,wBAAA,CAAA,QAAA,CAAA,YAAA,CAKA,0CAAA,cAAA\",\"sourcesContent\":[\"html,\\nbody {\\n margin: 0;\\n padding: 0;\\n width: 100%;\\n height: 100%;\\n overflow: hidden;\\n}\\n#root {\\n width: 100%;\\n height: 100%;\\n}\\n.confirm-dialog {\\n width: 100%;\\n height: 100%;\\n box-sizing: border-box;\\n padding: 24px;\\n display: flex;\\n flex-direction: column;\\n background: #fff;\\n overflow: auto;\\n}\\n.confirm-header {\\n display: flex;\\n align-items: center;\\n gap: 12px;\\n margin-bottom: 20px;\\n}\\n.confirm-header .confirm-logo {\\n width: 40px;\\n height: 40px;\\n object-fit: contain;\\n}\\n.confirm-header .confirm-title {\\n font-size: 18px;\\n font-weight: 600;\\n margin: 0;\\n color: #333;\\n}\\n.confirm-content .confirm-message {\\n font-size: 14px;\\n color: #333;\\n margin: 0;\\n line-height: 1.6;\\n}\\n.confirm-content .server-info {\\n background: #f5f5f5;\\n border-radius: 8px;\\n padding: 12px 16px;\\n margin: 16px 0;\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n}\\n.confirm-content .server-info .server-label {\\n font-size: 13px;\\n color: #666;\\n}\\n.confirm-content .server-info .server-url {\\n font-size: 13px;\\n color: #333;\\n font-family: monospace;\\n word-break: break-all;\\n}\\n.confirm-options {\\n margin-bottom: 16px;\\n}\\n.confirm-options .ant-checkbox-wrapper {\\n font-size: 14px;\\n color: #333;\\n}\\n.confirm-footer .confirm-buttons {\\n display: flex;\\n justify-content: flex-end;\\n gap: 12px;\\n}\\n.confirm-footer .confirm-buttons .ant-btn {\\n min-width: 80px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Shared message types for communicating between Service Worker and UI\nexport const workerMessageTypes = {\n SAVE_CONTEXT: 'save-context',\n GET_CONTEXT: 'get-context',\n // Background bridge control messages\n BRIDGE_START: 'bridge-start',\n BRIDGE_STOP: 'bridge-stop',\n BRIDGE_GET_STATUS: 'bridge-get-status',\n BRIDGE_GET_PERMISSION: 'bridge-get-permission',\n BRIDGE_RESET_PERMISSION: 'bridge-reset-permission',\n BRIDGE_GET_MESSAGES: 'bridge-get-messages',\n BRIDGE_CLEAR_MESSAGES: 'bridge-clear-messages',\n // Bridge status broadcast (from worker to UI)\n BRIDGE_STATUS_CHANGED: 'bridge-status-changed',\n BRIDGE_MESSAGE: 'bridge-message',\n // Bridge connection confirmation (from confirm popup to worker)\n BRIDGE_CONFIRM_RESPONSE: 'bridge-confirm-response',\n} as const;\n\nexport type WorkerMessageType =\n (typeof workerMessageTypes)[keyof typeof workerMessageTypes];\n","\n import API from \"!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[12].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[12].use[2]!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/postcss-loader/index.js??ruleSet[1].rules[12].use[3]!../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.6.15/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[12].use[4]!./index.less\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[12].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[12].use[2]!../../../../../node_modules/.pnpm/@rsbuild+core@1.6.15/node_modules/@rsbuild/core/compiled/postcss-loader/index.js??ruleSet[1].rules[12].use[3]!../../../../../node_modules/.pnpm/@rsbuild+plugin-less@1.5.0_@rsbuild+core@1.6.15/node_modules/@rsbuild/plugin-less/compiled/less-loader/index.js??ruleSet[1].rules[12].use[4]!./index.less\";\n export default content && content.locals ? content.locals : undefined;\n","/// <reference types=\"chrome\" />\nimport { globalThemeConfig } from '@midscene/visualizer';\nimport { Button, Checkbox, ConfigProvider } from 'antd';\nimport { useEffect, useState } from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { workerMessageTypes } from '../../utils/workerMessageTypes';\nimport './index.less';\n\nconst CONFIRM_TIMEOUT = 30000; // 30 seconds\n\nfunction ConfirmDialog() {\n const [rememberChoice, setRememberChoice] = useState(false);\n const [countdown, setCountdown] = useState(\n Math.floor(CONFIRM_TIMEOUT / 1000),\n );\n const [serverUrl, setServerUrl] = useState<string>('');\n\n useEffect(() => {\n // Get server URL from URL params\n const params = new URLSearchParams(window.location.search);\n const url = params.get('serverUrl') || 'ws://localhost:3766';\n setServerUrl(url);\n\n // Start countdown timer\n const timer = setInterval(() => {\n setCountdown((prev) => {\n if (prev <= 1) {\n clearInterval(timer);\n // Auto-deny on timeout\n handleDeny();\n return 0;\n }\n return prev - 1;\n });\n }, 1000);\n\n return () => clearInterval(timer);\n }, []);\n\n const handleAllow = () => {\n chrome.runtime.sendMessage(\n {\n type: workerMessageTypes.BRIDGE_CONFIRM_RESPONSE,\n payload: {\n allowed: true,\n alwaysAllow: rememberChoice,\n },\n },\n () => {\n window.close();\n },\n );\n };\n\n const handleDeny = () => {\n chrome.runtime.sendMessage(\n {\n type: workerMessageTypes.BRIDGE_CONFIRM_RESPONSE,\n payload: {\n allowed: false,\n alwaysDecline: rememberChoice,\n },\n },\n () => {\n window.close();\n },\n );\n };\n\n return (\n <ConfigProvider theme={globalThemeConfig()}>\n <div className=\"confirm-dialog\">\n <div className=\"confirm-header\">\n <img src=\"/icon128.png\" alt=\"Midscene\" className=\"confirm-logo\" />\n <h2 className=\"confirm-title\">Midscene Bridge</h2>\n </div>\n\n <div className=\"confirm-content\">\n <p className=\"confirm-message\">\n Midscene CLI is requesting to control this browser.\n </p>\n <div className=\"server-info\">\n <span className=\"server-label\">Server:</span>\n <span className=\"server-url\">{serverUrl}</span>\n </div>\n </div>\n\n <div className=\"confirm-options\">\n <Checkbox\n checked={rememberChoice}\n onChange={(e) => setRememberChoice(e.target.checked)}\n >\n Remember this choice\n </Checkbox>\n </div>\n\n <div className=\"confirm-footer\">\n <div className=\"confirm-buttons\">\n <Button onClick={handleDeny}>Deny ({countdown}s)</Button>\n <Button type=\"primary\" onClick={handleAllow}>\n Allow\n </Button>\n </div>\n </div>\n </div>\n </ConfigProvider>\n );\n}\n\nconst container = document.getElementById('root');\nif (container) {\n const root = createRoot(container);\n root.render(<ConfirmDialog />);\n}\n","const elementColor = [\n '#01204E'\n];\nconst highlightColorForSearchArea = '#028391';\nconst highlightColorForElement = '#fd5907';\nfunction djb2Hash(str) {\n if (!str) str = 'unnamed';\n let hash = 5381;\n for(let i = 0; i < str.length; i++)hash = (hash << 5) + hash + str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction colorForName(name) {\n const hashNumber = djb2Hash(name);\n return elementColor[hashNumber % elementColor.length];\n}\nfunction highlightColorForType(type) {\n if ('searchArea' === type) return highlightColorForSearchArea;\n return highlightColorForElement;\n}\nfunction globalThemeConfig() {\n return {\n token: {\n colorPrimary: '#2B83FF'\n },\n components: {\n Layout: {\n headerHeight: 60,\n headerPadding: '0 30px',\n headerBg: '#FFF',\n bodyBg: '#FFF'\n }\n }\n };\n}\nexport { colorForName, globalThemeConfig, highlightColorForType };\n","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.g = (() => {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;"],"names":["container","document","root","createRoot","rememberChoice","setRememberChoice","useState","countdown","setCountdown","Math","CONFIRM_TIMEOUT","serverUrl","setServerUrl","useEffect","params","URLSearchParams","window","timer","setInterval","prev","clearInterval","handleDeny","chrome","ConfigProvider","Checkbox","e","Button","ConfirmDialog","Object","globalThis","Function","Symbol","self"],"mappings":"uBACI,EADA,ECAA,ECIM,EAGN,EA6BA,E,oECjCA,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,wlCAAylC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wGAAwG,CAAC,MAAQ,EAAE,CAAC,SAAW,qlBAAqlB,eAAiB,CAAC,w6CAAw6C,CAAC,WAAa,EAAE,EAAE,EAE7zG,MAAe,C,oFCNR,MAeoB,0B,uICLvB,EAAU,CAAC,CAEf,GAAQ,iBAAiB,CAAG,IAC5B,EAAQ,aAAa,CAAG,IAElB,EAAQ,MAAM,CAAG,QAAa,CAAC,KAAM,QAE3C,EAAQ,MAAM,CAAG,IACjB,EAAQ,kBAAkB,CAAG,IAEhB,IAAI,GAAO,CAAE,GAKJ,GAAO,EAAI,UAAc,EAAG,UAAc,CCmFhE,IAAMA,EAAYC,SAAS,cAAc,CAAC,QACtCD,GAEFE,AADaC,AAAAA,GAAAA,EAAAA,UAAAA,AAAAA,EAAWH,GACnB,MAAM,CAAC,UAtGd,WACE,GAAM,CAACI,EAAgBC,EAAkB,CAAGC,AAA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AAe,CAAC,EAAQ,CAAC,EAAE,GAE5B,CAAe,CAAC,EAAQ,CAAG,EAG5B,OAAO,EAAoB,CAAC,CAAC,EAE9B,EAGA,CADI,EAAqBI,KAAK,4BAA+B,CAAGA,KAAK,4BAA+B,EAAI,EAAE,EACvF,OAAO,CAAC,EAAe,IAAI,CAAC,KAAM,IACrD,EAAmB,IAAI,CAAG,EAAe,IAAI,CAAC,KAAM,EAAmB,IAAI,CAAC,IAAI,CAAC,I"}
|
confirm.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
<!doctype html><html><head><title>Midscene Bridge</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-polyfill.cd23d531.js"></script><script defer src="/static/js/lib-react.9a9b147a.js"></script><script defer src="/static/js/256.9b0135c2.js"></script><script defer src="/static/js/364.2af087c2.js"></script><script defer src="/static/js/815.f1e95658.js"></script><script defer src="/static/js/confirm.938ce766.js"></script></head><body><div id="root"></div></body></html>
|
event-recorder-bridge.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
event-recorder-bridge.js.LICENSE.txt
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!
|
| 2 |
+
Copyright (c) 2018 Jed Watson.
|
| 3 |
+
Licensed under the MIT License (MIT), see
|
| 4 |
+
http://jedwatson.github.io/classnames
|
| 5 |
+
*/
|
| 6 |
+
|
| 7 |
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @license React
|
| 11 |
+
* react-dom.production.min.js
|
| 12 |
+
*
|
| 13 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 14 |
+
*
|
| 15 |
+
* This source code is licensed under the MIT license found in the
|
| 16 |
+
* LICENSE file in the root directory of this source tree.
|
| 17 |
+
*/
|
| 18 |
+
|
| 19 |
+
/**
|
| 20 |
+
* @license React
|
| 21 |
+
* react-is.production.min.js
|
| 22 |
+
*
|
| 23 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 24 |
+
*
|
| 25 |
+
* This source code is licensed under the MIT license found in the
|
| 26 |
+
* LICENSE file in the root directory of this source tree.
|
| 27 |
+
*/
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* @license React
|
| 31 |
+
* react-jsx-runtime.production.min.js
|
| 32 |
+
*
|
| 33 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 34 |
+
*
|
| 35 |
+
* This source code is licensed under the MIT license found in the
|
| 36 |
+
* LICENSE file in the root directory of this source tree.
|
| 37 |
+
*/
|
| 38 |
+
|
| 39 |
+
/**
|
| 40 |
+
* @license React
|
| 41 |
+
* react.production.min.js
|
| 42 |
+
*
|
| 43 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 44 |
+
*
|
| 45 |
+
* This source code is licensed under the MIT license found in the
|
| 46 |
+
* LICENSE file in the root directory of this source tree.
|
| 47 |
+
*/
|
| 48 |
+
|
| 49 |
+
/**
|
| 50 |
+
* @license React
|
| 51 |
+
* scheduler.production.min.js
|
| 52 |
+
*
|
| 53 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 54 |
+
*
|
| 55 |
+
* This source code is licensed under the MIT license found in the
|
| 56 |
+
* LICENSE file in the root directory of this source tree.
|
| 57 |
+
*/
|
| 58 |
+
|
| 59 |
+
/** */
|
| 60 |
+
|
| 61 |
+
/** */
|
| 62 |
+
|
| 63 |
+
/** */
|
| 64 |
+
|
| 65 |
+
/** */
|
| 66 |
+
|
| 67 |
+
/** */
|
| 68 |
+
|
| 69 |
+
/** */
|
event-recorder-bridge.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
htmlElement.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! For license information please see htmlElement.js.LICENSE.txt */
|
| 2 |
+
(()=>{var e={"../../node_modules/.pnpm/js-sha256@0.11.0/node_modules/js-sha256/src/sha256.js"(e,t,n){e=n.nmd(e),function(){"use strict";var t="input is invalid type",o="object"==typeof window,r=o?window:{};r.JS_SHA256_NO_WINDOW&&(o=!1);var i=!o&&"object"==typeof self,a=!r.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;a?r=n.g:i&&(r=self);var s=!r.JS_SHA256_NO_COMMON_JS&&"object"==typeof e&&e.exports,l="function"==typeof define&&define.amd,h=!r.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,d="0123456789abcdef".split(""),f=[-0x80000000,8388608,32768,128],c=[24,16,8,0],u=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],m=["hex","array","digest","arrayBuffer"],p=[];(r.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),h&&(r.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var y=function(e,t){return function(n){return new N(t,!0).update(n)[e]()}},g=function(e){var t=y("hex",e);a&&(t=b(t,e)),t.create=function(){return new N(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<m.length;++n){var o=m[n];t[o]=y(o,e)}return t},b=function(e,o){var i,a=n("?c118"),s=n("?4999").Buffer,l=o?"sha224":"sha256";return i=s.from&&!r.JS_SHA256_NO_BUFFER_FROM?s.from:function(e){return new s(e)},function(n){if("string"==typeof n)return a.createHash(l).update(n,"utf8").digest("hex");if(null==n)throw Error(t);return(n.constructor===ArrayBuffer&&(n=new Uint8Array(n)),Array.isArray(n)||ArrayBuffer.isView(n)||n.constructor===s)?a.createHash(l).update(i(n)).digest("hex"):e(n)}},w=function(e,t){return function(n,o){return new T(n,t,!0).update(o)[e]()}},x=function(e){var t=w("hex",e);t.create=function(t){return new T(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<m.length;++n){var o=m[n];t[o]=w(o,e)}return t};function N(e,t){t?(p[0]=p[16]=p[1]=p[2]=p[3]=p[4]=p[5]=p[6]=p[7]=p[8]=p[9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=0,this.blocks=p):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=0xc1059ed8,this.h1=0x367cd507,this.h2=0x3070dd17,this.h3=0xf70e5939,this.h4=0xffc00b31,this.h5=0x68581511,this.h6=0x64f98fa7,this.h7=0xbefa4fa4):(this.h0=0x6a09e667,this.h1=0xbb67ae85,this.h2=0x3c6ef372,this.h3=0xa54ff53a,this.h4=0x510e527f,this.h5=0x9b05688c,this.h6=0x1f83d9ab,this.h7=0x5be0cd19),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function T(e,n,o){var r,i=typeof e;if("string"===i){var a,s=[],l=e.length,d=0;for(r=0;r<l;++r)(a=e.charCodeAt(r))<128?s[d++]=a:(a<2048?s[d++]=192|a>>>6:(a<55296||a>=57344?s[d++]=224|a>>>12:(a=65536+((1023&a)<<10|1023&e.charCodeAt(++r)),s[d++]=240|a>>>18,s[d++]=128|a>>>12&63),s[d++]=128|a>>>6&63),s[d++]=128|63&a);e=s}else if("object"===i){if(null===e)throw Error(t);else if(h&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!h||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);e.length>64&&(e=new N(n,!0).update(e).array());var f=[],c=[];for(r=0;r<64;++r){var u=e[r]||0;f[r]=92^u,c[r]=54^u}N.call(this,n,o),this.update(c),this.oKeyPad=f,this.inner=!0,this.sharedMemory=o}N.prototype.update=function(e){if(!this.finalized){var n,o=typeof e;if("string"!==o){if("object"===o){if(null===e)throw Error(t);else if(h&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!h||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);n=!0}for(var r,i,a=0,s=e.length,l=this.blocks;a<s;){if(this.hashed&&(this.hashed=!1,l[0]=this.block,this.block=l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0),n)for(i=this.start;a<s&&i<64;++a)l[i>>>2]|=e[a]<<c[3&i++];else for(i=this.start;a<s&&i<64;++a)(r=e.charCodeAt(a))<128?l[i>>>2]|=r<<c[3&i++]:(r<2048?l[i>>>2]|=(192|r>>>6)<<c[3&i++]:(r<55296||r>=57344?l[i>>>2]|=(224|r>>>12)<<c[3&i++]:(r=65536+((1023&r)<<10|1023&e.charCodeAt(++a)),l[i>>>2]|=(240|r>>>18)<<c[3&i++],l[i>>>2]|=(128|r>>>12&63)<<c[3&i++]),l[i>>>2]|=(128|r>>>6&63)<<c[3&i++]),l[i>>>2]|=(128|63&r)<<c[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.block=l[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>0xffffffff&&(this.hBytes+=this.bytes/0x100000000|0,this.bytes=this.bytes%0x100000000),this}},N.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=f[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},N.prototype.hash=function(){var e,t,n,o,r,i,a,s,l,h,d=this.h0,f=this.h1,c=this.h2,m=this.h3,p=this.h4,y=this.h5,g=this.h6,b=this.h7,w=this.blocks;for(e=16;e<64;++e)t=((r=w[e-15])>>>7|r<<25)^(r>>>18|r<<14)^r>>>3,n=((r=w[e-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10,w[e]=w[e-16]+t+w[e-7]+n|0;for(e=0,h=f&c;e<64;e+=4)this.first?(this.is224?(a=300032,b=(r=w[0]-0x543c9a5b)-0x8f1a6c7|0,m=r+0x170e9b5|0):(a=0x2a01a605,b=(r=w[0]-0xc881298)-0x5ab00ac6|0,m=r+0x8909ae5|0),this.first=!1):(t=(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),n=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7),o=(a=d&f)^d&c^h,r=b+n+(p&y^~p&g)+u[e]+w[e],i=t+o,b=m+r|0,m=r+i|0),t=(m>>>2|m<<30)^(m>>>13|m<<19)^(m>>>22|m<<10),n=(b>>>6|b<<26)^(b>>>11|b<<21)^(b>>>25|b<<7),o=(s=m&d)^m&f^a,r=g+n+(b&p^~b&y)+u[e+1]+w[e+1],i=t+o,g=c+r|0,t=((c=r+i|0)>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7),o=(l=c&m)^c&d^s,r=y+n+(g&b^~g&p)+u[e+2]+w[e+2],i=t+o,y=f+r|0,t=((f=r+i|0)>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),n=(y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7),o=(h=f&c)^f&m^l,r=p+n+(y&g^~y&b)+u[e+3]+w[e+3],i=t+o,p=d+r|0,d=r+i|0,this.chromeBugWorkAround=!0;this.h0=this.h0+d|0,this.h1=this.h1+f|0,this.h2=this.h2+c|0,this.h3=this.h3+m|0,this.h4=this.h4+p|0,this.h5=this.h5+y|0,this.h6=this.h6+g|0,this.h7=this.h7+b|0},N.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,o=this.h3,r=this.h4,i=this.h5,a=this.h6,s=this.h7,l=d[e>>>28&15]+d[e>>>24&15]+d[e>>>20&15]+d[e>>>16&15]+d[e>>>12&15]+d[e>>>8&15]+d[e>>>4&15]+d[15&e]+d[t>>>28&15]+d[t>>>24&15]+d[t>>>20&15]+d[t>>>16&15]+d[t>>>12&15]+d[t>>>8&15]+d[t>>>4&15]+d[15&t]+d[n>>>28&15]+d[n>>>24&15]+d[n>>>20&15]+d[n>>>16&15]+d[n>>>12&15]+d[n>>>8&15]+d[n>>>4&15]+d[15&n]+d[o>>>28&15]+d[o>>>24&15]+d[o>>>20&15]+d[o>>>16&15]+d[o>>>12&15]+d[o>>>8&15]+d[o>>>4&15]+d[15&o]+d[r>>>28&15]+d[r>>>24&15]+d[r>>>20&15]+d[r>>>16&15]+d[r>>>12&15]+d[r>>>8&15]+d[r>>>4&15]+d[15&r]+d[i>>>28&15]+d[i>>>24&15]+d[i>>>20&15]+d[i>>>16&15]+d[i>>>12&15]+d[i>>>8&15]+d[i>>>4&15]+d[15&i]+d[a>>>28&15]+d[a>>>24&15]+d[a>>>20&15]+d[a>>>16&15]+d[a>>>12&15]+d[a>>>8&15]+d[a>>>4&15]+d[15&a];return this.is224||(l+=d[s>>>28&15]+d[s>>>24&15]+d[s>>>20&15]+d[s>>>16&15]+d[s>>>12&15]+d[s>>>8&15]+d[s>>>4&15]+d[15&s]),l},N.prototype.toString=N.prototype.hex,N.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,o=this.h3,r=this.h4,i=this.h5,a=this.h6,s=this.h7,l=[e>>>24&255,e>>>16&255,e>>>8&255,255&e,t>>>24&255,t>>>16&255,t>>>8&255,255&t,n>>>24&255,n>>>16&255,n>>>8&255,255&n,o>>>24&255,o>>>16&255,o>>>8&255,255&o,r>>>24&255,r>>>16&255,r>>>8&255,255&r,i>>>24&255,i>>>16&255,i>>>8&255,255&i,a>>>24&255,a>>>16&255,a>>>8&255,255&a];return this.is224||l.push(s>>>24&255,s>>>16&255,s>>>8&255,255&s),l},N.prototype.array=N.prototype.digest,N.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},T.prototype=new N,T.prototype.finalize=function(){if(N.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();N.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),N.prototype.finalize.call(this)}};var E=g();E.sha256=E,E.sha224=g(!0),E.sha256.hmac=x(),E.sha224.hmac=x(!0),s?e.exports=E:(r.sha256=E.sha256,r.sha224=E.sha224,l&&define(function(){return E}))}()},"?4999"(){},"?c118"(){}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o](i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};(()=>{"use strict";function e(t,n=150){return void 0===t?"":("object"==typeof t&&(t=JSON.stringify(t)),"number"==typeof t)?t.toString():"string"==typeof t&&t.length>n?`${t.slice(0,n)}...`:"string"==typeof t?t.trim():""}function t(t,n){return Object.keys(t).reduce((o,r)=>{let i=t[r];return"style"===r||"htmlTagName"===r||"nodeType"===r||(o[r]=e(i,n)),o},{})}function r(n,o,i=!1,a=!0){let s=t=>Object.entries(t).map(([t,n])=>`${t}="${e(n,o)}"`).join(" ");return(function n(r,a=0,l=!0){let h="",d="",f="",c=!0,u=" ".repeat(a),m="";for(let e=0;e<(r.children||[]).length;e++){let t=n(r.children[e],a+1,l);t&&(m+=`
|
| 3 |
+
${t}`)}if(r.node&&r.node.rect.width>4&&r.node.rect.height>4&&(!i||i&&r.node.content)&&(!l||l&&r.node.isVisible)){let n;c=!1,n=r.node.attributes?.htmlTagName?r.node.attributes.htmlTagName.replace(/[<>]/g,""):r.node.attributes.nodeType.replace(/\sNode$/,"").toLowerCase();let i=r.node.rect?{left:r.node.rect.left,top:r.node.rect.top,width:r.node.rect.width,height:r.node.rect.height}:{};h=`<${n} id="${r.node.id}" ${s(t(r.node.attributes||{},o))} ${s(i)}>`;let a=e(r.node.content,o);d=a?`
|
| 4 |
+
${u} ${a}`:"",f=`</${n}>`}else i||m.trim().startsWith("<>")||(h="<>",d="",f="</>");if(c&&!m.trim())return"";let p=`${u}${h}${d}${m}
|
| 5 |
+
${u}${f}`;return p.trim()?p:""})(n,0,a).replace(/^\s*\n/gm,"")}function i(e){let t=[];return!function e(n){for(let o of(n.node&&t.push(n.node),n.children))e(o)}(e),t}function a(e,t){return!function e(n){for(let o of(n.node&&(n.node=t(n.node)),n.children))e(o)}(e),e}function s(e){return e instanceof HTMLElement&&("input"===e.tagName.toLowerCase()||"textarea"===e.tagName.toLowerCase()||"select"===e.tagName.toLowerCase()||"option"===e.tagName.toLowerCase())}function l(e){return e instanceof HTMLElement&&"button"===e.tagName.toLowerCase()}function h(e){return e instanceof HTMLElement&&"a"===e.tagName.toLowerCase()}function d(e){return e instanceof SVGElement}function f(e){return!!(!p(e)&&e instanceof Element)&&"none"!==window.getComputedStyle(e).getPropertyValue("background-image")||!!c(e)||e instanceof HTMLElement&&"img"===e.tagName.toLowerCase()||e instanceof SVGElement&&"svg"===e.tagName.toLowerCase()}function c(e){return e instanceof Element&&(window.getComputedStyle(e).fontFamily||"").toLowerCase().indexOf("iconfont")>=0}function u(e){return m(e)||c(e)||f(e)||l(e)||h(e)||s(e)}function m(e){return!!(e instanceof Element&&e?.childNodes?.length===1&&e?.childNodes[0]instanceof Text)||e.nodeName?.toLowerCase?.()==="#text"&&!c(e)}function p(e){if(!(e instanceof HTMLElement))return!1;if(e.innerText)return!0;for(let t of["svg","button","input","textarea","select","option","img","a"])if(e.querySelectorAll(t).length>0)return!0;return!1}function y(e,t,n=8){let[o,r]=e,i=Math.ceil(n/2)-1;return{rect:{left:Math.max(o-i,0),top:Math.max(r-i,0),width:n,height:n},center:[o,r],description:t||""}}function g(e,t,n=8){let o=e.left+Math.floor((e.width-1)/2),r=e.top+Math.floor((e.height-1)/2);return{rect:e,center:[o,r],description:t||""}}n.r(o),n.d(o,{generateElementByPoint:()=>y,getNodeInfoByXpath:()=>U,getXpathsById:()=>F,trimAttributes:()=>t,webExtractNodeTreeAsString:()=>z,getElementXpath:()=>R,webExtractNodeTree:()=>H,generateElementByRect:()=>g,descriptionOfTree:()=>r,getXpathsByPoint:()=>P,webExtractTextWithPosition:()=>B,treeToList:()=>i,traverseTree:()=>a,isNotContainerElement:()=>u,truncateText:()=>e,getElementInfoByXpath:()=>W});var b=n("../../node_modules/.pnpm/js-sha256@0.11.0/node_modules/js-sha256/src/sha256.js");"undefined"!=typeof process&&process.versions?.node;let w={},x=!1;function N(...e){x&&console.log(...e)}function T(e,t,n,o=2/3){let r=e.height,i=e.width,a=M(e,{left:0,top:0,width:t.innerWidth||n.documentElement.clientWidth,height:t.innerHeight||n.documentElement.clientHeight,right:t.innerWidth||n.documentElement.clientWidth,bottom:t.innerHeight||n.documentElement.clientHeight,x:0,y:0,zoom:1});return!!a&&a.width*a.height/(r*i)>=o}function E(e,t){if(!(e instanceof t.HTMLElement))return{before:"",after:""};let n=t.getComputedStyle(e,"::before").getPropertyValue("content"),o=t.getComputedStyle(e,"::after").getPropertyValue("content");return{before:"none"===n?"":n.replace(/"/g,""),after:"none"===o?"":o.replace(/"/g,"")}}function M(e,t){let n=Math.max(e.left,t.left),o=Math.max(e.top,t.top),r=Math.min(e.right,t.right),i=Math.min(e.bottom,t.bottom);return n<r&&o<i?{left:n,top:o,right:r,bottom:i,width:r-n,height:i-o,x:n,y:o,zoom:1}:null}function v(e,t,n){let o,r=1;if(e instanceof Element)o=e.getBoundingClientRect(),e instanceof n.HTMLElement&&!("currentCSSZoom"in e)&&(r=Number.parseFloat(n.getComputedStyle(e).zoom)||1);else{let t=n.document.createRange();t.selectNodeContents(e),o=t.getBoundingClientRect()}let i=r*t;return{width:o.width*i,height:o.height*i,left:o.left*i,top:o.top*i,right:o.right*i,bottom:o.bottom*i,x:o.x*i,y:o.y*i,zoom:i}}function C(e,t,n,o=1){let r,i,a;if(!e||!(e instanceof t.HTMLElement)&&e.nodeType!==Node.TEXT_NODE&&"svg"!==e.nodeName.toLowerCase())return N(e,"Element is not in the DOM hierarchy"),!1;if(e instanceof t.HTMLElement){let n=t.getComputedStyle(e);if("none"===n.display||"hidden"===n.visibility||"0"===n.opacity&&"INPUT"!==e.tagName)return N(e,"Element is hidden"),!1}let s=v(e,o,t);if(0===s.width&&0===s.height)return N(e,"Element has no size"),!1;if(1===o&&(r=s.left+s.width/2,i=s.top+s.height/2,!(!(a=t.document.elementFromPoint(r,i))||a===e||e?.contains(a)||a?.contains(e))&&M(s,v(a,1,t))&&(N(e,"Element is covered by another element",{topElement:a,el:e,rect:s,x:r,y:i}),1)))return!1;let l=T(s,t,n),h=e,d=e=>{let n=e?.parentElement;for(;n;){if("static"!==t.getComputedStyle(n).position)return n;n=n.parentElement}return null};for(;h&&h!==n.body;){if(!(h instanceof t.HTMLElement)){h=h.parentElement;continue}let n=t.getComputedStyle(h);if("hidden"===n.overflow){let n=v(h,1,t);if(s.right<n.left-10||s.left>n.right+10||s.bottom<n.top-10||s.top>n.bottom+10)return N(e,"element is partially or totally hidden by an ancestor",{rect:s,parentRect:n}),!1}if("fixed"===n.position||"sticky"===n.position)break;h="absolute"===n.position?d(h):h.parentElement}return{left:Math.round(s.left),top:Math.round(s.top),width:Math.round(s.width),height:Math.round(s.height),zoom:s.zoom,isVisible:l}}function A(e,t){return e&&e instanceof t.HTMLElement&&e.attributes?Object.fromEntries(Array.from(e.attributes).map(e=>{if("class"===e.name)return[e.name,`.${e.value.split(" ").join(".")}`];let t=e.value;return t.startsWith("data:image")&&(t="image"),t.length>300&&(t=`${t.slice(0,300)}...`),[e.name,t]})):{}}function L(){if("undefined"!=typeof window)return window.midsceneNodeHashCache}function S(e,t,n){let o=function(e,t=""){let n=JSON.stringify({content:t,rect:e}),o=5,r="",i=b.sha256.create().update(n).hex().split("").map(e=>String.fromCharCode(97+Number.parseInt(e,16)%26)).join("");for(;o<i.length-1;){if(w[r=i.slice(0,o)]&&w[r]!==n){o++;continue}w[r]=n;break}return r}(n,t);return e&&("undefined"==typeof window||L()||"undefined"!=typeof window&&(window.midsceneNodeHashCache=new Map),!function(e,t){let n=L();if(n&&!n.has(t)){if(n.size>=2e3){let e=n.keys().next().value;void 0!==e&&n.delete(e)}n.set(t,e)}}(e,o)),o}let _=0;function O(e){let t="";if(e instanceof HTMLElement)t=e.tagName?.toLowerCase();else{let n=e.parentElement;n&&n instanceof HTMLElement&&(t=n.tagName?.toLowerCase())}return t?`<${t}>`:""}function $(e,t,n,o=1,r={left:0,top:0},i=!1){let a=C(e,t,n,o);if(!a||a.width<3||a.height<3||((0!==r.left||0!==r.top)&&(a.left+=r.left,a.top+=r.top),a.height>=window.innerHeight&&a.width>=window.innerWidth))return null;if(s(e)){let n=A(e,t),o=n.value||n.placeholder||e.textContent||"",r=S(e,o,a),i=e.tagName.toLowerCase();if("select"===e.tagName.toLowerCase()){let t=e.options[e.selectedIndex];o=t?.textContent||""}return("input"===e.tagName.toLowerCase()||"textarea"===e.tagName.toLowerCase())&&e.value&&(o=e.value),{id:r,nodeHashId:r,nodeType:"FORM_ITEM Node",indexId:_++,attributes:{...n,htmlTagName:`<${i}>`,nodeType:"FORM_ITEM Node"},content:o.trim(),rect:a,center:[Math.round(a.left+a.width/2),Math.round(a.top+a.height/2)],zoom:a.zoom,isVisible:a.isVisible}}if(l(e)){let r=function(e,t,n,o=1){let r=C(e,t,n,o);if(!r)return null;let i=r.left,a=r.top,s=r.left+r.width,l=r.top+r.height;return!function e(r){for(let h=0;h<r.childNodes.length;h++){let d=r.childNodes[h];if(1===d.nodeType){let r=C(d,t,n,o);r&&(i=Math.min(i,r.left),a=Math.min(a,r.top),s=Math.max(s,r.left+r.width),l=Math.max(l,r.top+r.height)),e(d)}}}(e),{...r,left:i,top:a,width:s-i,height:l-a}}(e,t,n,o);if(!r)return null;let i=A(e,t),a=E(e,t),s=e.innerText||a.before||a.after||"",l=S(e,s,r);return{id:l,indexId:_++,nodeHashId:l,nodeType:"BUTTON Node",attributes:{...i,htmlTagName:O(e),nodeType:"BUTTON Node"},content:s,rect:r,center:[Math.round(r.left+r.width/2),Math.round(r.top+r.height/2)],zoom:r.zoom,isVisible:r.isVisible}}if(f(e)){let n=A(e,t),o=S(e,"",a);return{id:o,indexId:_++,nodeHashId:o,attributes:{...n,...e.nodeName?.toLowerCase()==="svg"?{svgContent:"true"}:{},nodeType:"IMG Node",htmlTagName:O(e)},nodeType:"IMG Node",content:"",rect:a,center:[Math.round(a.left+a.width/2),Math.round(a.top+a.height/2)],zoom:a.zoom,isVisible:a.isVisible}}if(m(e)){let n=e.textContent?.trim().replace(/\n+/g," ");if(!n)return null;let o=A(e,t),r=Object.keys(o);if(!n.trim()&&0===r.length)return null;let i=S(e,n,a);return{id:i,indexId:_++,nodeHashId:i,nodeType:"TEXT Node",attributes:{...o,nodeType:"TEXT Node",htmlTagName:O(e)},center:[Math.round(a.left+a.width/2),Math.round(a.top+a.height/2)],content:n,rect:a,zoom:a.zoom,isVisible:a.isVisible}}if(h(e)){let n=A(e,t),o=E(e,t),r=e.innerText||o.before||o.after||"",i=S(e,r,a);return{id:i,indexId:_++,nodeHashId:i,nodeType:"Anchor Node",attributes:{...n,htmlTagName:O(e),nodeType:"Anchor Node"},content:r,rect:a,center:[Math.round(a.left+a.width/2),Math.round(a.top+a.height/2)],zoom:a.zoom,isVisible:a.isVisible}}if(!(!(e instanceof HTMLElement)||p(e))&&window.getComputedStyle(e).getPropertyValue("background-color")||i){let n=A(e,t),o=S(e,"",a);return{id:o,nodeHashId:o,indexId:_++,nodeType:"CONTAINER Node",attributes:{...n,nodeType:"CONTAINER Node",htmlTagName:O(e)},content:"",rect:a,center:[Math.round(a.left+a.width/2),Math.round(a.top+a.height/2)],zoom:a.zoom,isVisible:a.isVisible}}return null}function B(e,t=!1){let n=H(e,t),o=[];return!function e(t){t.node&&o.push(t.node);for(let n=0;n<t.children.length;n++)e(t.children[n])}({children:n.children,node:n.node}),o}function z(e,t=!1,n=!1){return r(H(e,n),void 0,!1,t)}function H(e,t=!1){x=t,_=0;let n=document.body||document,o=e||n,r=[];function i(e,t,n,o=1,r={left:0,top:0}){if(!e||e.nodeType&&10===e.nodeType)return null;let a=$(e,t,n,o,r);if(e instanceof t.HTMLIFrameElement&&e.contentWindow&&e.contentWindow)return null;let s={node:a,children:[]};if(a?.nodeType==="BUTTON Node"||a?.nodeType==="IMG Node"||a?.nodeType==="TEXT Node"||a?.nodeType==="FORM_ITEM Node"||a?.nodeType==="CONTAINER Node")return s;let l=v(e,o,t);for(let o=0;o<e.childNodes.length;o++){N("will dfs",e.childNodes[o]);let a=i(e.childNodes[o],t,n,l.zoom,r);Array.isArray(a)?s.children.push(...a):a&&s.children.push(a)}return null===s.node?0===s.children.length?null:s.children:s}let a=i(o,window,document,1,{left:0,top:0});if(Array.isArray(a)?r.push(...a):a&&r.push(a),o===n){let e=document.querySelectorAll("iframe");for(let t=0;t<e.length;t++){let n=e[t];if(n.contentDocument&&n.contentWindow){let e=$(n,window,document,1);if(e){let t=i(n.contentDocument.body,n.contentWindow,n.contentDocument,1,{left:e.rect.left,top:e.rect.top});Array.isArray(t)?r.push(...t):t&&r.push(t)}}}}return{node:null,children:r}}let V="|>>|";function D(e){return Number.parseFloat(e.zoom??"1")||1}let I=e=>{let t=1,n=e.previousElementSibling;for(;n;)n.nodeName.toLowerCase()===e.nodeName.toLowerCase()&&t++,n=n.previousElementSibling;return t},j=e=>"string"!=typeof e?"":e.replace(/\s+/g," ").trim(),k=(e,t,n,o=!1)=>{let r=e.parentNode?R(e.parentNode,t,!1,o):"",i=r?`${r}/`:"/",a=e.nodeName.toLowerCase(),s=e.textContent?.trim(),l="http://www.w3.org/2000/svg"===e.namespaceURI?`*[name()="${a}"]`:a;if(t){let t=I(e);return`${i}${l}[${t}]`}if(n&&s)return`${i}${l}[normalize-space()="${j(s)}"]`;let h=I(e);return`${i}${l}[${h}]`},R=(e,t=!1,n=!1,o=!1)=>{if(e.nodeType===Node.TEXT_NODE){let n=e.parentNode;if(n&&n.nodeType===Node.ELEMENT_NODE){let r=R(n,t,!0,o),i=e.textContent?.trim();return i?`${r}/text()[normalize-space()="${j(i)}"]`:`${r}/text()`}return""}if(e.nodeType!==Node.ELEMENT_NODE)return"";try{let n=e.nodeName.toLowerCase();if(e===e.ownerDocument?.documentElement||"html"===n){if(!o){let n=e.ownerDocument?.defaultView?.frameElement;if(n){let e=R(n,t,!1,o);return`${e}${V}/html`}}return"/html"}if(e===e.ownerDocument?.body||"body"===n){if(!o){let n=e.ownerDocument?.defaultView?.frameElement;if(n){let e=R(n,t,!1,o);return`${e}${V}/html/body`}}return"/html/body"}}catch(t){if(N("[midscene:locator] ownerDocument access failed:",t),"html"===e.nodeName.toLowerCase())return"/html";if("body"===e.nodeName.toLowerCase())return"/html/body"}if(d(e)){if("svg"===e.nodeName.toLowerCase())return k(e,t,n,o);let r=e.parentNode;for(;r&&r.nodeType===Node.ELEMENT_NODE;){let e=r;if(!d(e)||"svg"===e.nodeName.toLowerCase())return R(e,t,n,o);r=r.parentNode}let i=e.parentNode;return i&&i.nodeType===Node.ELEMENT_NODE?R(i,t,n,o):""}return k(e,t,n,o)};function F(e){let t=L()?.get(e);return t?[R(t,!1,!0,!0)]:null}function P(e,t){let n="undefined"!=typeof window?window:void 0,o="undefined"!=typeof document?document:void 0,{left:r,top:i}=e,a=0,s="",l=null;for(;a<10;){a++;let e=o.elementFromPoint(r,i);if(!e){if(l)return[s+R(l,t,!0,!0)];return null}l=e;let h=e.tagName.toLowerCase();if("iframe"===h||"frame"===h)try{let a=e.contentWindow,l=e.contentDocument;if(a&&l){let h=function(e,t,n){let o=t.getBoundingClientRect(),r=n.getComputedStyle(t),i=t.clientLeft,a=t.clientTop,s=Number.parseFloat(r.paddingLeft)||0,l=Number.parseFloat(r.paddingTop)||0,h=D(r);return{left:(e.left-o.left-i-s)/h,top:(e.top-o.top-a-l)/h}}({left:r,top:i},e,n),d=R(e,t,!1,!0);s+=d+V,n=a,o=l,r=h.left,i=h.top;continue}}catch(e){N("[midscene:locator] iframe penetration failed (cross-origin?):",e)}return[s+R(e,t,!0,!0)]}return l?[s+R(l,t,!0,!0)]:null}function U(e){let t=e.split(V).map(e=>e.trim()).filter(Boolean);if(0===t.length)return null;let n="undefined"!=typeof document?document:void 0,o=null;for(let e=0;e<t.length;e++){let r=t[e],i=n.evaluate(r,n,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);if(1!==i.snapshotLength)return N(`[midscene:locator] XPath "${r}" matched ${i.snapshotLength} elements (expected 1), discarding.`),null;if(o=i.snapshotItem(0),e<t.length-1)if(!o||o.nodeType!==Node.ELEMENT_NODE||"iframe"!==o.tagName.toLowerCase())return null;else try{let e=o.contentDocument;if(!e)return N("[midscene:locator] iframe contentDocument is null (cross-origin?)"),null;n=e}catch(e){return N("[midscene:locator] iframe contentDocument access failed:",e),null}}return o}function W(e){let t=U(e);if(!t)return null;let n="undefined"!=typeof window?window:void 0,o="undefined"!=typeof document?document:void 0;t.ownerDocument?.defaultView&&(n=t.ownerDocument.defaultView,o=t.ownerDocument);let r="undefined"!=typeof document?document:null,i=function(e,t){let n=0,o=0,r=e;for(;r&&r!==t;)try{let e=r.defaultView?.frameElement;if(!e)break;let t=e.getBoundingClientRect(),i=r.defaultView?.parent,a=0,s=0,l=1;try{if(i){let t=i.getComputedStyle(e);a=Number.parseFloat(t.borderLeftWidth)||0,s=Number.parseFloat(t.borderTopWidth)||0,l=D(t)}}catch{}n=n/l+t.left+a,o=o/l+t.top+s,r=e.ownerDocument}catch{break}return{left:n,top:o}}(t.ownerDocument??null,r),a=n,s=o;return t instanceof a.HTMLElement&&(T(v(t,1,a),a,s,1)||t.scrollIntoView({behavior:"instant",block:"center"})),$(t,a,s,1,i,!0)}})(),window.midscene_element_inspector=o})();
|
htmlElement.js.LICENSE.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* [js-sha256]{@link https://github.com/emn178/js-sha256}
|
| 3 |
+
*
|
| 4 |
+
* @version 0.11.0
|
| 5 |
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
| 6 |
+
* @copyright Chen, Yi-Cyuan 2014-2024
|
| 7 |
+
* @license MIT
|
| 8 |
+
*/
|
htmlElementDebug.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! For license information please see htmlElementDebug.js.LICENSE.txt */
|
| 2 |
+
(()=>{var e={"../../node_modules/.pnpm/js-sha256@0.11.0/node_modules/js-sha256/src/sha256.js"(e,t,i){e=i.nmd(e),function(){"use strict";var t="input is invalid type",n="object"==typeof window,o=n?window:{};o.JS_SHA256_NO_WINDOW&&(n=!1);var r=!n&&"object"==typeof self,h=!o.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;h?o=i.g:r&&(o=self);var s=!o.JS_SHA256_NO_COMMON_JS&&"object"==typeof e&&e.exports,a="function"==typeof define&&define.amd,l=!o.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,f="0123456789abcdef".split(""),d=[-0x80000000,8388608,32768,128],c=[24,16,8,0],u=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],p=["hex","array","digest","arrayBuffer"],m=[];(o.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),l&&(o.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var y=function(e,t){return function(i){return new N(t,!0).update(i)[e]()}},x=function(e){var t=y("hex",e);h&&(t=b(t,e)),t.create=function(){return new N(e)},t.update=function(e){return t.create().update(e)};for(var i=0;i<p.length;++i){var n=p[i];t[n]=y(n,e)}return t},b=function(e,n){var r,h=i("?c118"),s=i("?4999").Buffer,a=n?"sha224":"sha256";return r=s.from&&!o.JS_SHA256_NO_BUFFER_FROM?s.from:function(e){return new s(e)},function(i){if("string"==typeof i)return h.createHash(a).update(i,"utf8").digest("hex");if(null==i)throw Error(t);return(i.constructor===ArrayBuffer&&(i=new Uint8Array(i)),Array.isArray(i)||ArrayBuffer.isView(i)||i.constructor===s)?h.createHash(a).update(r(i)).digest("hex"):e(i)}},g=function(e,t){return function(i,n){return new T(i,t,!0).update(n)[e]()}},w=function(e){var t=g("hex",e);t.create=function(t){return new T(t,e)},t.update=function(e,i){return t.create(e).update(i)};for(var i=0;i<p.length;++i){var n=p[i];t[n]=g(n,e)}return t};function N(e,t){t?(m[0]=m[16]=m[1]=m[2]=m[3]=m[4]=m[5]=m[6]=m[7]=m[8]=m[9]=m[10]=m[11]=m[12]=m[13]=m[14]=m[15]=0,this.blocks=m):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=0xc1059ed8,this.h1=0x367cd507,this.h2=0x3070dd17,this.h3=0xf70e5939,this.h4=0xffc00b31,this.h5=0x68581511,this.h6=0x64f98fa7,this.h7=0xbefa4fa4):(this.h0=0x6a09e667,this.h1=0xbb67ae85,this.h2=0x3c6ef372,this.h3=0xa54ff53a,this.h4=0x510e527f,this.h5=0x9b05688c,this.h6=0x1f83d9ab,this.h7=0x5be0cd19),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function T(e,i,n){var o,r=typeof e;if("string"===r){var h,s=[],a=e.length,f=0;for(o=0;o<a;++o)(h=e.charCodeAt(o))<128?s[f++]=h:(h<2048?s[f++]=192|h>>>6:(h<55296||h>=57344?s[f++]=224|h>>>12:(h=65536+((1023&h)<<10|1023&e.charCodeAt(++o)),s[f++]=240|h>>>18,s[f++]=128|h>>>12&63),s[f++]=128|h>>>6&63),s[f++]=128|63&h);e=s}else if("object"===r){if(null===e)throw Error(t);else if(l&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!l||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);e.length>64&&(e=new N(i,!0).update(e).array());var d=[],c=[];for(o=0;o<64;++o){var u=e[o]||0;d[o]=92^u,c[o]=54^u}N.call(this,i,n),this.update(c),this.oKeyPad=d,this.inner=!0,this.sharedMemory=n}N.prototype.update=function(e){if(!this.finalized){var i,n=typeof e;if("string"!==n){if("object"===n){if(null===e)throw Error(t);else if(l&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!l||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);i=!0}for(var o,r,h=0,s=e.length,a=this.blocks;h<s;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,this.block=a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),i)for(r=this.start;h<s&&r<64;++h)a[r>>>2]|=e[h]<<c[3&r++];else for(r=this.start;h<s&&r<64;++h)(o=e.charCodeAt(h))<128?a[r>>>2]|=o<<c[3&r++]:(o<2048?a[r>>>2]|=(192|o>>>6)<<c[3&r++]:(o<55296||o>=57344?a[r>>>2]|=(224|o>>>12)<<c[3&r++]:(o=65536+((1023&o)<<10|1023&e.charCodeAt(++h)),a[r>>>2]|=(240|o>>>18)<<c[3&r++],a[r>>>2]|=(128|o>>>12&63)<<c[3&r++]),a[r>>>2]|=(128|o>>>6&63)<<c[3&r++]),a[r>>>2]|=(128|63&o)<<c[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.block=a[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>0xffffffff&&(this.hBytes+=this.bytes/0x100000000|0,this.bytes=this.bytes%0x100000000),this}},N.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=d[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},N.prototype.hash=function(){var e,t,i,n,o,r,h,s,a,l,f=this.h0,d=this.h1,c=this.h2,p=this.h3,m=this.h4,y=this.h5,x=this.h6,b=this.h7,g=this.blocks;for(e=16;e<64;++e)t=((o=g[e-15])>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,i=((o=g[e-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,g[e]=g[e-16]+t+g[e-7]+i|0;for(e=0,l=d&c;e<64;e+=4)this.first?(this.is224?(h=300032,b=(o=g[0]-0x543c9a5b)-0x8f1a6c7|0,p=o+0x170e9b5|0):(h=0x2a01a605,b=(o=g[0]-0xc881298)-0x5ab00ac6|0,p=o+0x8909ae5|0),this.first=!1):(t=(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),i=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7),n=(h=f&d)^f&c^l,o=b+i+(m&y^~m&x)+u[e]+g[e],r=t+n,b=p+o|0,p=o+r|0),t=(p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10),i=(b>>>6|b<<26)^(b>>>11|b<<21)^(b>>>25|b<<7),n=(s=p&f)^p&d^h,o=x+i+(b&m^~b&y)+u[e+1]+g[e+1],r=t+n,x=c+o|0,t=((c=o+r|0)>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),i=(x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7),n=(a=c&p)^c&f^s,o=y+i+(x&b^~x&m)+u[e+2]+g[e+2],r=t+n,y=d+o|0,t=((d=o+r|0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),i=(y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7),n=(l=d&c)^d&p^a,o=m+i+(y&x^~y&b)+u[e+3]+g[e+3],r=t+n,m=f+o|0,f=o+r|0,this.chromeBugWorkAround=!0;this.h0=this.h0+f|0,this.h1=this.h1+d|0,this.h2=this.h2+c|0,this.h3=this.h3+p|0,this.h4=this.h4+m|0,this.h5=this.h5+y|0,this.h6=this.h6+x|0,this.h7=this.h7+b|0},N.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,i=this.h2,n=this.h3,o=this.h4,r=this.h5,h=this.h6,s=this.h7,a=f[e>>>28&15]+f[e>>>24&15]+f[e>>>20&15]+f[e>>>16&15]+f[e>>>12&15]+f[e>>>8&15]+f[e>>>4&15]+f[15&e]+f[t>>>28&15]+f[t>>>24&15]+f[t>>>20&15]+f[t>>>16&15]+f[t>>>12&15]+f[t>>>8&15]+f[t>>>4&15]+f[15&t]+f[i>>>28&15]+f[i>>>24&15]+f[i>>>20&15]+f[i>>>16&15]+f[i>>>12&15]+f[i>>>8&15]+f[i>>>4&15]+f[15&i]+f[n>>>28&15]+f[n>>>24&15]+f[n>>>20&15]+f[n>>>16&15]+f[n>>>12&15]+f[n>>>8&15]+f[n>>>4&15]+f[15&n]+f[o>>>28&15]+f[o>>>24&15]+f[o>>>20&15]+f[o>>>16&15]+f[o>>>12&15]+f[o>>>8&15]+f[o>>>4&15]+f[15&o]+f[r>>>28&15]+f[r>>>24&15]+f[r>>>20&15]+f[r>>>16&15]+f[r>>>12&15]+f[r>>>8&15]+f[r>>>4&15]+f[15&r]+f[h>>>28&15]+f[h>>>24&15]+f[h>>>20&15]+f[h>>>16&15]+f[h>>>12&15]+f[h>>>8&15]+f[h>>>4&15]+f[15&h];return this.is224||(a+=f[s>>>28&15]+f[s>>>24&15]+f[s>>>20&15]+f[s>>>16&15]+f[s>>>12&15]+f[s>>>8&15]+f[s>>>4&15]+f[15&s]),a},N.prototype.toString=N.prototype.hex,N.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,i=this.h2,n=this.h3,o=this.h4,r=this.h5,h=this.h6,s=this.h7,a=[e>>>24&255,e>>>16&255,e>>>8&255,255&e,t>>>24&255,t>>>16&255,t>>>8&255,255&t,i>>>24&255,i>>>16&255,i>>>8&255,255&i,n>>>24&255,n>>>16&255,n>>>8&255,255&n,o>>>24&255,o>>>16&255,o>>>8&255,255&o,r>>>24&255,r>>>16&255,r>>>8&255,255&r,h>>>24&255,h>>>16&255,h>>>8&255,255&h];return this.is224||a.push(s>>>24&255,s>>>16&255,s>>>8&255,255&s),a},N.prototype.array=N.prototype.digest,N.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},T.prototype=new N,T.prototype.finalize=function(){if(N.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();N.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),N.prototype.finalize.call(this)}};var E=x();E.sha256=E,E.sha224=x(!0),E.sha256.hmac=w(),E.sha224.hmac=w(!0),s?e.exports=E:(o.sha256=E.sha256,o.sha224=E.sha224,a&&define(function(){return E}))}()},"?4999"(){},"?c118"(){}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={id:n,loaded:!1,exports:{}};return e[n](r,r.exports,i),r.loaded=!0,r.exports}i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";function e(e){return e instanceof Element&&(window.getComputedStyle(e).fontFamily||"").toLowerCase().indexOf("iconfont")>=0}function t(e){if(!(e instanceof HTMLElement))return!1;if(e.innerText)return!0;for(let t of["svg","button","input","textarea","select","option","img","a"])if(e.querySelectorAll(t).length>0)return!0;return!1}var n=i("../../node_modules/.pnpm/js-sha256@0.11.0/node_modules/js-sha256/src/sha256.js");"undefined"!=typeof process&&process.versions?.node;let o={},r=!1;function h(...e){r&&console.log(...e)}function s(e,t){if(!(e instanceof t.HTMLElement))return{before:"",after:""};let i=t.getComputedStyle(e,"::before").getPropertyValue("content"),n=t.getComputedStyle(e,"::after").getPropertyValue("content");return{before:"none"===i?"":i.replace(/"/g,""),after:"none"===n?"":n.replace(/"/g,"")}}function a(e,t){let i=Math.max(e.left,t.left),n=Math.max(e.top,t.top),o=Math.min(e.right,t.right),r=Math.min(e.bottom,t.bottom);return i<o&&n<r?{left:i,top:n,right:o,bottom:r,width:o-i,height:r-n,x:i,y:n,zoom:1}:null}function l(e,t,i){let n,o=1;if(e instanceof Element)n=e.getBoundingClientRect(),e instanceof i.HTMLElement&&!("currentCSSZoom"in e)&&(o=Number.parseFloat(i.getComputedStyle(e).zoom)||1);else{let t=i.document.createRange();t.selectNodeContents(e),n=t.getBoundingClientRect()}let r=o*t;return{width:n.width*r,height:n.height*r,left:n.left*r,top:n.top*r,right:n.right*r,bottom:n.bottom*r,x:n.x*r,y:n.y*r,zoom:r}}function f(e,t,i,n=1){let o,r,s;if(!e||!(e instanceof t.HTMLElement)&&e.nodeType!==Node.TEXT_NODE&&"svg"!==e.nodeName.toLowerCase())return h(e,"Element is not in the DOM hierarchy"),!1;if(e instanceof t.HTMLElement){let i=t.getComputedStyle(e);if("none"===i.display||"hidden"===i.visibility||"0"===i.opacity&&"INPUT"!==e.tagName)return h(e,"Element is hidden"),!1}let d=l(e,n,t);if(0===d.width&&0===d.height)return h(e,"Element has no size"),!1;if(1===n&&(o=d.left+d.width/2,r=d.top+d.height/2,!(!(s=t.document.elementFromPoint(o,r))||s===e||e?.contains(s)||s?.contains(e))&&a(d,l(s,1,t))&&(h(e,"Element is covered by another element",{topElement:s,el:e,rect:d,x:o,y:r}),1)))return!1;let c=function(e,t,i,n=2/3){let o=e.height,r=e.width,h=a(e,{left:0,top:0,width:t.innerWidth||i.documentElement.clientWidth,height:t.innerHeight||i.documentElement.clientHeight,right:t.innerWidth||i.documentElement.clientWidth,bottom:t.innerHeight||i.documentElement.clientHeight,x:0,y:0,zoom:1});return!!h&&h.width*h.height/(o*r)>=n}(d,t,i),u=e,p=e=>{let i=e?.parentElement;for(;i;){if("static"!==t.getComputedStyle(i).position)return i;i=i.parentElement}return null};for(;u&&u!==i.body;){if(!(u instanceof t.HTMLElement)){u=u.parentElement;continue}let i=t.getComputedStyle(u);if("hidden"===i.overflow){let i=l(u,1,t);if(d.right<i.left-10||d.left>i.right+10||d.bottom<i.top-10||d.top>i.bottom+10)return h(e,"element is partially or totally hidden by an ancestor",{rect:d,parentRect:i}),!1}if("fixed"===i.position||"sticky"===i.position)break;u="absolute"===i.position?p(u):u.parentElement}return{left:Math.round(d.left),top:Math.round(d.top),width:Math.round(d.width),height:Math.round(d.height),zoom:d.zoom,isVisible:c}}function d(e,t){return e&&e instanceof t.HTMLElement&&e.attributes?Object.fromEntries(Array.from(e.attributes).map(e=>{if("class"===e.name)return[e.name,`.${e.value.split(" ").join(".")}`];let t=e.value;return t.startsWith("data:image")&&(t="image"),t.length>300&&(t=`${t.slice(0,300)}...`),[e.name,t]})):{}}function c(){if("undefined"!=typeof window)return window.midsceneNodeHashCache}function u(e,t,i){let r=function(e,t=""){let i=JSON.stringify({content:t,rect:e}),r=5,h="",s=n.sha256.create().update(i).hex().split("").map(e=>String.fromCharCode(97+Number.parseInt(e,16)%26)).join("");for(;r<s.length-1;){if(o[h=s.slice(0,r)]&&o[h]!==i){r++;continue}o[h]=i;break}return h}(i,t);return e&&("undefined"==typeof window||c()||"undefined"!=typeof window&&(window.midsceneNodeHashCache=new Map),!function(e,t){let i=c();if(i&&!i.has(t)){if(i.size>=2e3){let e=i.keys().next().value;void 0!==e&&i.delete(e)}i.set(t,e)}}(e,r)),r}let p=0;function m(e){let t="";if(e instanceof HTMLElement)t=e.tagName?.toLowerCase();else{let i=e.parentElement;i&&i instanceof HTMLElement&&(t=i.tagName?.toLowerCase())}return t?`<${t}>`:""}function y(i,n,o,r=1,h={left:0,top:0},a=!1){var l;let c=f(i,n,o,r);if(!c||c.width<3||c.height<3||((0!==h.left||0!==h.top)&&(c.left+=h.left,c.top+=h.top),c.height>=window.innerHeight&&c.width>=window.innerWidth))return null;if(i instanceof HTMLElement&&("input"===i.tagName.toLowerCase()||"textarea"===i.tagName.toLowerCase()||"select"===i.tagName.toLowerCase()||"option"===i.tagName.toLowerCase())){let e=d(i,n),t=e.value||e.placeholder||i.textContent||"",o=u(i,t,c),r=i.tagName.toLowerCase();if("select"===i.tagName.toLowerCase()){let e=i.options[i.selectedIndex];t=e?.textContent||""}return("input"===i.tagName.toLowerCase()||"textarea"===i.tagName.toLowerCase())&&i.value&&(t=i.value),{id:o,nodeHashId:o,nodeType:"FORM_ITEM Node",indexId:p++,attributes:{...e,htmlTagName:`<${r}>`,nodeType:"FORM_ITEM Node"},content:t.trim(),rect:c,center:[Math.round(c.left+c.width/2),Math.round(c.top+c.height/2)],zoom:c.zoom,isVisible:c.isVisible}}if(i instanceof HTMLElement&&"button"===i.tagName.toLowerCase()){let e=function(e,t,i,n=1){let o=f(e,t,i,n);if(!o)return null;let r=o.left,h=o.top,s=o.left+o.width,a=o.top+o.height;return!function e(o){for(let l=0;l<o.childNodes.length;l++){let d=o.childNodes[l];if(1===d.nodeType){let o=f(d,t,i,n);o&&(r=Math.min(r,o.left),h=Math.min(h,o.top),s=Math.max(s,o.left+o.width),a=Math.max(a,o.top+o.height)),e(d)}}}(e),{...o,left:r,top:h,width:s-r,height:a-h}}(i,n,o,r);if(!e)return null;let t=d(i,n),h=s(i,n),a=i.innerText||h.before||h.after||"",l=u(i,a,e);return{id:l,indexId:p++,nodeHashId:l,nodeType:"BUTTON Node",attributes:{...t,htmlTagName:m(i),nodeType:"BUTTON Node"},content:a,rect:e,center:[Math.round(e.left+e.width/2),Math.round(e.top+e.height/2)],zoom:e.zoom,isVisible:e.isVisible}}if(!t(l=i)&&l instanceof Element&&"none"!==window.getComputedStyle(l).getPropertyValue("background-image")||e(l)||l instanceof HTMLElement&&"img"===l.tagName.toLowerCase()||l instanceof SVGElement&&"svg"===l.tagName.toLowerCase()){let e=d(i,n),t=u(i,"",c);return{id:t,indexId:p++,nodeHashId:t,attributes:{...e,...i.nodeName?.toLowerCase()==="svg"?{svgContent:"true"}:{},nodeType:"IMG Node",htmlTagName:m(i)},nodeType:"IMG Node",content:"",rect:c,center:[Math.round(c.left+c.width/2),Math.round(c.top+c.height/2)],zoom:c.zoom,isVisible:c.isVisible}}if(i instanceof Element&&i?.childNodes?.length===1&&i?.childNodes[0]instanceof Text||i.nodeName?.toLowerCase?.()==="#text"&&!e(i)){let e=i.textContent?.trim().replace(/\n+/g," ");if(!e)return null;let t=d(i,n),o=Object.keys(t);if(!e.trim()&&0===o.length)return null;let r=u(i,e,c);return{id:r,indexId:p++,nodeHashId:r,nodeType:"TEXT Node",attributes:{...t,nodeType:"TEXT Node",htmlTagName:m(i)},center:[Math.round(c.left+c.width/2),Math.round(c.top+c.height/2)],content:e,rect:c,zoom:c.zoom,isVisible:c.isVisible}}if(i instanceof HTMLElement&&"a"===i.tagName.toLowerCase()){let e=d(i,n),t=s(i,n),o=i.innerText||t.before||t.after||"",r=u(i,o,c);return{id:r,indexId:p++,nodeHashId:r,nodeType:"Anchor Node",attributes:{...e,htmlTagName:m(i),nodeType:"Anchor Node"},content:o,rect:c,center:[Math.round(c.left+c.width/2),Math.round(c.top+c.height/2)],zoom:c.zoom,isVisible:c.isVisible}}if(!(!(i instanceof HTMLElement)||t(i))&&window.getComputedStyle(i).getPropertyValue("background-color")||a){let e=d(i,n),t=u(i,"",c);return{id:t,nodeHashId:t,indexId:p++,nodeType:"CONTAINER Node",attributes:{...e,nodeType:"CONTAINER Node",htmlTagName:m(i)},content:"",rect:c,center:[Math.round(c.left+c.width/2),Math.round(c.top+c.height/2)],zoom:c.zoom,isVisible:c.isVisible}}return null}function x(e,t=!1){let i=function(e,t=!1){r=t,p=0;let i=document.body||document,n=e||i,o=[];function s(e,t,i,n=1,o={left:0,top:0}){if(!e||e.nodeType&&10===e.nodeType)return null;let r=y(e,t,i,n,o);if(e instanceof t.HTMLIFrameElement&&e.contentWindow&&e.contentWindow)return null;let a={node:r,children:[]};if(r?.nodeType==="BUTTON Node"||r?.nodeType==="IMG Node"||r?.nodeType==="TEXT Node"||r?.nodeType==="FORM_ITEM Node"||r?.nodeType==="CONTAINER Node")return a;let f=l(e,n,t);for(let n=0;n<e.childNodes.length;n++){h("will dfs",e.childNodes[n]);let r=s(e.childNodes[n],t,i,f.zoom,o);Array.isArray(r)?a.children.push(...r):r&&a.children.push(r)}return null===a.node?0===a.children.length?null:a.children:a}let a=s(n,window,document,1,{left:0,top:0});if(Array.isArray(a)?o.push(...a):a&&o.push(a),n===i){let e=document.querySelectorAll("iframe");for(let t=0;t<e.length;t++){let i=e[t];if(i.contentDocument&&i.contentWindow){let e=y(i,window,document,1);if(e){let t=s(i.contentDocument.body,i.contentWindow,i.contentDocument,1,{left:e.rect.left,top:e.rect.top});Array.isArray(t)?o.push(...t):t&&o.push(t)}}}}return{node:null,children:o}}(e,t),n=[];return!function e(t){t.node&&n.push(t.node);for(let i=0;i<t.children.length;i++)e(t.children[i])}({children:i.children,node:i.node}),n}console.log(x(document.body,!0)),console.log(JSON.stringify(x(document.body,!0))),"undefined"!=typeof window&&(window.extractTextWithPosition=x),"undefined"!=typeof window&&(window.midsceneVisibleRect=f)})(),window.midscene_element_inspector={}})();
|
htmlElementDebug.js.LICENSE.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* [js-sha256]{@link https://github.com/emn178/js-sha256}
|
| 3 |
+
*
|
| 4 |
+
* @version 0.11.0
|
| 5 |
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
| 6 |
+
* @copyright Chen, Yi-Cyuan 2014-2024
|
| 7 |
+
* @license MIT
|
| 8 |
+
*/
|
icon128.png
ADDED
|
|
index.335c23e8.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
index.335c23e8.js.LICENSE.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! For license information please see cdpInput.mjs.LICENSE.txt */
|
| 2 |
+
|
| 3 |
+
/*! For license information please see us-keyboard-layout.mjs.LICENSE.txt */
|
| 4 |
+
|
| 5 |
+
/**
|
| 6 |
+
* @license
|
| 7 |
+
* Copyright 2017 Google Inc.
|
| 8 |
+
* SPDX-License-Identifier: Apache-2.0
|
| 9 |
+
*/
|
index.335c23e8.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
index.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
<!doctype html><html><head><title>Midscene</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-polyfill.cd23d531.js"></script><script defer src="/static/js/lib-react.9a9b147a.js"></script><script defer src="/static/js/256.9b0135c2.js"></script><script defer src="/static/js/43.46c2f4c8.js"></script><script defer src="/static/js/364.2af087c2.js"></script><script defer src="/static/js/988.dd14c178.js"></script><script defer src="/static/js/629.36a86c96.js"></script><script defer src="/static/js/index.335c23e8.js"></script></head><body><div id="root"></div></body></html>
|
lib-polyfill.cd23d531.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
lib-polyfill.cd23d531.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
lib-react.9a9b147a.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
lib-react.9a9b147a.js.LICENSE.txt
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* @license React
|
| 3 |
+
* react-dom.production.min.js
|
| 4 |
+
*
|
| 5 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 6 |
+
*
|
| 7 |
+
* This source code is licensed under the MIT license found in the
|
| 8 |
+
* LICENSE file in the root directory of this source tree.
|
| 9 |
+
*/
|
| 10 |
+
|
| 11 |
+
/**
|
| 12 |
+
* @license React
|
| 13 |
+
* react-jsx-runtime.production.min.js
|
| 14 |
+
*
|
| 15 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 16 |
+
*
|
| 17 |
+
* This source code is licensed under the MIT license found in the
|
| 18 |
+
* LICENSE file in the root directory of this source tree.
|
| 19 |
+
*/
|
| 20 |
+
|
| 21 |
+
/**
|
| 22 |
+
* @license React
|
| 23 |
+
* react.production.min.js
|
| 24 |
+
*
|
| 25 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 26 |
+
*
|
| 27 |
+
* This source code is licensed under the MIT license found in the
|
| 28 |
+
* LICENSE file in the root directory of this source tree.
|
| 29 |
+
*/
|
| 30 |
+
|
| 31 |
+
/**
|
| 32 |
+
* @license React
|
| 33 |
+
* scheduler.production.min.js
|
| 34 |
+
*
|
| 35 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 36 |
+
*
|
| 37 |
+
* This source code is licensed under the MIT license found in the
|
| 38 |
+
* LICENSE file in the root directory of this source tree.
|
| 39 |
+
*/
|
lib-react.9a9b147a.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open-sans-10-black.fnt
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<font>
|
| 3 |
+
<info face="Open Sans Regular" size="10" bold="0" italic="0" charset="" unicode="0" stretchH="100" smooth="1" aa="1" padding="1,1,1,1" spacing="-2,-2" />
|
| 4 |
+
<common lineHeight="14" base="11" scaleW="512" scaleH="512" pages="1" packed="0" />
|
| 5 |
+
<pages>
|
| 6 |
+
<page id="0" file="open-sans-10-black.png" />
|
| 7 |
+
</pages>
|
| 8 |
+
<chars count="97">
|
| 9 |
+
<char id="0" x="487" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 10 |
+
<char id="10" x="0" y="0" width="0" height="0" xoffset="-1" yoffset="0" xadvance="0" page="0" chnl="0" />
|
| 11 |
+
<char id="32" x="0" y="0" width="0" height="0" xoffset="-1" yoffset="0" xadvance="3" page="0" chnl="0" />
|
| 12 |
+
<char id="33" x="435" y="0" width="4" height="9" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 13 |
+
<char id="34" x="141" y="12" width="6" height="5" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 14 |
+
<char id="35" x="468" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 15 |
+
<char id="36" x="57" y="0" width="8" height="11" xoffset="-1" yoffset="2" xadvance="6" page="0" chnl="0" />
|
| 16 |
+
<char id="37" x="458" y="0" width="10" height="9" xoffset="-1" yoffset="3" xadvance="8" page="0" chnl="0" />
|
| 17 |
+
<char id="38" x="477" y="0" width="10" height="9" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 18 |
+
<char id="39" x="147" y="12" width="4" height="5" xoffset="-1" yoffset="3" xadvance="2" page="0" chnl="0" />
|
| 19 |
+
<char id="40" x="20" y="0" width="5" height="11" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 20 |
+
<char id="41" x="25" y="0" width="5" height="11" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 21 |
+
<char id="42" x="133" y="12" width="8" height="6" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 22 |
+
<char id="43" x="0" y="12" width="8" height="8" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 23 |
+
<char id="44" x="168" y="12" width="4" height="4" xoffset="-1" yoffset="9" xadvance="2" page="0" chnl="0" />
|
| 24 |
+
<char id="45" x="172" y="12" width="5" height="3" xoffset="-1" yoffset="7" xadvance="3" page="0" chnl="0" />
|
| 25 |
+
<char id="46" x="164" y="12" width="4" height="4" xoffset="-1" yoffset="8" xadvance="3" page="0" chnl="0" />
|
| 26 |
+
<char id="47" x="446" y="0" width="6" height="9" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 27 |
+
<char id="48" x="427" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 28 |
+
<char id="49" x="357" y="0" width="6" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 29 |
+
<char id="50" x="363" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 30 |
+
<char id="51" x="371" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 31 |
+
<char id="52" x="379" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 32 |
+
<char id="53" x="387" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 33 |
+
<char id="54" x="395" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 34 |
+
<char id="55" x="403" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 35 |
+
<char id="56" x="411" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 36 |
+
<char id="57" x="419" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 37 |
+
<char id="58" x="105" y="12" width="4" height="7" xoffset="-1" yoffset="5" xadvance="3" page="0" chnl="0" />
|
| 38 |
+
<char id="59" x="501" y="0" width="4" height="8" xoffset="-1" yoffset="5" xadvance="3" page="0" chnl="0" />
|
| 39 |
+
<char id="60" x="109" y="12" width="8" height="7" xoffset="-1" yoffset="4" xadvance="6" page="0" chnl="0" />
|
| 40 |
+
<char id="61" x="151" y="12" width="8" height="5" xoffset="-1" yoffset="5" xadvance="6" page="0" chnl="0" />
|
| 41 |
+
<char id="62" x="117" y="12" width="8" height="7" xoffset="-1" yoffset="4" xadvance="6" page="0" chnl="0" />
|
| 42 |
+
<char id="63" x="439" y="0" width="7" height="9" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 43 |
+
<char id="64" x="69" y="0" width="11" height="10" xoffset="-1" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 44 |
+
<char id="65" x="80" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 45 |
+
<char id="66" x="89" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 46 |
+
<char id="67" x="97" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 47 |
+
<char id="68" x="106" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 48 |
+
<char id="69" x="115" y="0" width="7" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 49 |
+
<char id="70" x="122" y="0" width="7" height="9" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 50 |
+
<char id="71" x="129" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 51 |
+
<char id="72" x="138" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 52 |
+
<char id="73" x="147" y="0" width="4" height="9" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 53 |
+
<char id="74" x="5" y="0" width="5" height="11" xoffset="-2" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 54 |
+
<char id="75" x="151" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 55 |
+
<char id="76" x="160" y="0" width="7" height="9" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 56 |
+
<char id="77" x="167" y="0" width="11" height="9" xoffset="-1" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 57 |
+
<char id="78" x="178" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="8" page="0" chnl="0" />
|
| 58 |
+
<char id="79" x="187" y="0" width="10" height="9" xoffset="-1" yoffset="3" xadvance="8" page="0" chnl="0" />
|
| 59 |
+
<char id="80" x="197" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 60 |
+
<char id="81" x="10" y="0" width="10" height="11" xoffset="-1" yoffset="3" xadvance="8" page="0" chnl="0" />
|
| 61 |
+
<char id="82" x="205" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 62 |
+
<char id="83" x="214" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 63 |
+
<char id="84" x="222" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 64 |
+
<char id="85" x="230" y="0" width="9" height="9" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 65 |
+
<char id="86" x="239" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 66 |
+
<char id="87" x="247" y="0" width="12" height="9" xoffset="-1" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 67 |
+
<char id="88" x="259" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 68 |
+
<char id="89" x="267" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 69 |
+
<char id="90" x="275" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 70 |
+
<char id="91" x="30" y="0" width="6" height="11" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 71 |
+
<char id="92" x="452" y="0" width="6" height="9" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 72 |
+
<char id="93" x="36" y="0" width="5" height="11" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 73 |
+
<char id="94" x="125" y="12" width="8" height="6" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 74 |
+
<char id="95" x="177" y="12" width="8" height="3" xoffset="-2" yoffset="11" xadvance="4" page="0" chnl="0" />
|
| 75 |
+
<char id="96" x="159" y="12" width="5" height="4" xoffset="0" yoffset="2" xadvance="6" page="0" chnl="0" />
|
| 76 |
+
<char id="97" x="8" y="12" width="7" height="7" xoffset="-1" yoffset="5" xadvance="6" page="0" chnl="0" />
|
| 77 |
+
<char id="98" x="283" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 78 |
+
<char id="99" x="15" y="12" width="7" height="7" xoffset="-1" yoffset="5" xadvance="5" page="0" chnl="0" />
|
| 79 |
+
<char id="100" x="291" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 80 |
+
<char id="101" x="22" y="12" width="8" height="7" xoffset="-1" yoffset="5" xadvance="6" page="0" chnl="0" />
|
| 81 |
+
<char id="102" x="299" y="0" width="6" height="9" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 82 |
+
<char id="103" x="305" y="0" width="8" height="9" xoffset="-1" yoffset="5" xadvance="5" page="0" chnl="0" />
|
| 83 |
+
<char id="104" x="313" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 84 |
+
<char id="105" x="65" y="0" width="4" height="10" xoffset="-1" yoffset="2" xadvance="3" page="0" chnl="0" />
|
| 85 |
+
<char id="106" x="0" y="0" width="5" height="12" xoffset="-2" yoffset="2" xadvance="3" page="0" chnl="0" />
|
| 86 |
+
<char id="107" x="321" y="0" width="8" height="9" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 87 |
+
<char id="108" x="329" y="0" width="4" height="9" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 88 |
+
<char id="109" x="30" y="12" width="11" height="7" xoffset="-1" yoffset="5" xadvance="9" page="0" chnl="0" />
|
| 89 |
+
<char id="110" x="41" y="12" width="8" height="7" xoffset="-1" yoffset="5" xadvance="6" page="0" chnl="0" />
|
| 90 |
+
<char id="111" x="49" y="12" width="8" height="7" xoffset="-1" yoffset="5" xadvance="6" page="0" chnl="0" />
|
| 91 |
+
<char id="112" x="333" y="0" width="8" height="9" xoffset="-1" yoffset="5" xadvance="6" page="0" chnl="0" />
|
| 92 |
+
<char id="113" x="341" y="0" width="8" height="9" xoffset="-1" yoffset="5" xadvance="6" page="0" chnl="0" />
|
| 93 |
+
<char id="114" x="505" y="0" width="6" height="7" xoffset="-1" yoffset="5" xadvance="4" page="0" chnl="0" />
|
| 94 |
+
<char id="115" x="57" y="12" width="7" height="7" xoffset="-1" yoffset="5" xadvance="5" page="0" chnl="0" />
|
| 95 |
+
<char id="116" x="495" y="0" width="6" height="8" xoffset="-1" yoffset="4" xadvance="4" page="0" chnl="0" />
|
| 96 |
+
<char id="117" x="64" y="12" width="8" height="7" xoffset="-1" yoffset="5" xadvance="6" page="0" chnl="0" />
|
| 97 |
+
<char id="118" x="72" y="12" width="8" height="7" xoffset="-1" yoffset="5" xadvance="5" page="0" chnl="0" />
|
| 98 |
+
<char id="119" x="80" y="12" width="10" height="7" xoffset="-1" yoffset="5" xadvance="8" page="0" chnl="0" />
|
| 99 |
+
<char id="120" x="90" y="12" width="8" height="7" xoffset="-1" yoffset="5" xadvance="5" page="0" chnl="0" />
|
| 100 |
+
<char id="121" x="349" y="0" width="8" height="9" xoffset="-1" yoffset="5" xadvance="5" page="0" chnl="0" />
|
| 101 |
+
<char id="122" x="98" y="12" width="7" height="7" xoffset="-1" yoffset="5" xadvance="5" page="0" chnl="0" />
|
| 102 |
+
<char id="123" x="41" y="0" width="6" height="11" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 103 |
+
<char id="124" x="53" y="0" width="4" height="11" xoffset="1" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 104 |
+
<char id="125" x="47" y="0" width="6" height="11" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 105 |
+
<char id="126" x="185" y="12" width="8" height="3" xoffset="-1" yoffset="6" xadvance="6" page="0" chnl="0" />
|
| 106 |
+
</chars>
|
| 107 |
+
<kernings count="51">
|
| 108 |
+
<kerning first="34" second="65" amount="-1" />
|
| 109 |
+
<kerning first="46" second="86" amount="-1" />
|
| 110 |
+
<kerning first="84" second="100" amount="-1" />
|
| 111 |
+
<kerning first="39" second="101" amount="-1" />
|
| 112 |
+
<kerning first="84" second="103" amount="-1" />
|
| 113 |
+
<kerning first="34" second="113" amount="-1" />
|
| 114 |
+
<kerning first="102" second="39" amount="1" />
|
| 115 |
+
<kerning first="65" second="89" amount="-1" />
|
| 116 |
+
<kerning first="84" second="113" amount="-1" />
|
| 117 |
+
<kerning first="89" second="46" amount="-1" />
|
| 118 |
+
<kerning first="76" second="34" amount="-1" />
|
| 119 |
+
<kerning first="80" second="44" amount="-1" />
|
| 120 |
+
<kerning first="65" second="34" amount="-1" />
|
| 121 |
+
<kerning first="70" second="44" amount="-1" />
|
| 122 |
+
<kerning first="84" second="46" amount="-1" />
|
| 123 |
+
<kerning first="102" second="34" amount="1" />
|
| 124 |
+
<kerning first="39" second="100" amount="-1" />
|
| 125 |
+
<kerning first="65" second="84" amount="-1" />
|
| 126 |
+
<kerning first="44" second="84" amount="-1" />
|
| 127 |
+
<kerning first="39" second="113" amount="-1" />
|
| 128 |
+
<kerning first="84" second="115" amount="-1" />
|
| 129 |
+
<kerning first="76" second="39" amount="-1" />
|
| 130 |
+
<kerning first="39" second="99" amount="-1" />
|
| 131 |
+
<kerning first="39" second="111" amount="-1" />
|
| 132 |
+
<kerning first="44" second="87" amount="-1" />
|
| 133 |
+
<kerning first="65" second="39" amount="-1" />
|
| 134 |
+
<kerning first="39" second="65" amount="-1" />
|
| 135 |
+
<kerning first="89" second="44" amount="-1" />
|
| 136 |
+
<kerning first="46" second="89" amount="-1" />
|
| 137 |
+
<kerning first="34" second="101" amount="-1" />
|
| 138 |
+
<kerning first="123" second="74" amount="1" />
|
| 139 |
+
<kerning first="89" second="65" amount="-1" />
|
| 140 |
+
<kerning first="40" second="74" amount="1" />
|
| 141 |
+
<kerning first="34" second="100" amount="-1" />
|
| 142 |
+
<kerning first="70" second="46" amount="-1" />
|
| 143 |
+
<kerning first="84" second="101" amount="-1" />
|
| 144 |
+
<kerning first="65" second="74" amount="1" />
|
| 145 |
+
<kerning first="44" second="89" amount="-1" />
|
| 146 |
+
<kerning first="84" second="99" amount="-1" />
|
| 147 |
+
<kerning first="84" second="65" amount="-1" />
|
| 148 |
+
<kerning first="44" second="86" amount="-1" />
|
| 149 |
+
<kerning first="84" second="44" amount="-1" />
|
| 150 |
+
<kerning first="46" second="84" amount="-1" />
|
| 151 |
+
<kerning first="34" second="99" amount="-1" />
|
| 152 |
+
<kerning first="46" second="87" amount="-1" />
|
| 153 |
+
<kerning first="84" second="111" amount="-1" />
|
| 154 |
+
<kerning first="80" second="46" amount="-1" />
|
| 155 |
+
<kerning first="34" second="111" amount="-1" />
|
| 156 |
+
<kerning first="84" second="97" amount="-1" />
|
| 157 |
+
<kerning first="91" second="74" amount="1" />
|
| 158 |
+
<kerning first="69" second="74" amount="1" />
|
| 159 |
+
</kernings>
|
| 160 |
+
</font>
|
open-sans-10-black.png
ADDED
|
open-sans-12-black.fnt
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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1,1" spacing="-2,-2" />
|
| 3 |
+
<common lineHeight="17" base="13" scaleW="512" scaleH="512" pages="1" packed="0" />
|
| 4 |
+
<pages>
|
| 5 |
+
<page id="0" file="open-sans-12-black.png" />
|
| 6 |
+
</pages>
|
| 7 |
+
<chars count="97">
|
| 8 |
+
<char id="0" x="21" y="14" width="8" height="11" xoffset="0" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 9 |
+
<char id="10" x="0" y="0" width="0" height="0" xoffset="-1" yoffset="0" xadvance="0" page="0" chnl="0" />
|
| 10 |
+
<char id="32" x="0" y="0" width="0" height="0" xoffset="-1" yoffset="0" xadvance="3" page="0" chnl="0" />
|
| 11 |
+
<char id="33" x="473" y="0" width="5" height="11" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 12 |
+
<char id="34" x="205" y="14" width="7" height="5" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 13 |
+
<char id="35" x="0" y="14" width="10" height="11" xoffset="-1" yoffset="3" xadvance="8" page="0" chnl="0" />
|
| 14 |
+
<char id="36" x="77" y="0" width="9" height="12" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 15 |
+
<char id="37" x="499" y="0" width="12" height="11" xoffset="-1" yoffset="3" xadvance="10" page="0" chnl="0" />
|
| 16 |
+
<char id="38" x="10" y="14" width="11" height="11" xoffset="-1" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 17 |
+
<char id="39" x="212" y="14" width="4" height="5" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 18 |
+
<char id="40" x="27" y="0" width="6" height="13" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 19 |
+
<char id="41" x="33" y="0" width="6" height="13" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 20 |
+
<char id="42" x="196" y="14" width="9" height="7" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 21 |
+
<char id="43" x="40" y="14" width="9" height="9" xoffset="-1" yoffset="4" xadvance="7" page="0" chnl="0" />
|
| 22 |
+
<char id="44" x="216" y="14" width="5" height="5" xoffset="-1" yoffset="11" xadvance="3" page="0" chnl="0" />
|
| 23 |
+
<char id="45" x="249" y="14" width="6" height="3" xoffset="-1" yoffset="8" xadvance="4" page="0" chnl="0" />
|
| 24 |
+
<char id="46" x="235" y="14" width="5" height="4" xoffset="-1" yoffset="10" xadvance="3" page="0" chnl="0" />
|
| 25 |
+
<char id="47" x="485" y="0" width="7" height="11" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 26 |
+
<char id="48" x="464" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 27 |
+
<char id="49" x="386" y="0" width="6" height="11" xoffset="0" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 28 |
+
<char id="50" x="392" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 29 |
+
<char id="51" x="401" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 30 |
+
<char id="52" x="410" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 31 |
+
<char id="53" x="419" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 32 |
+
<char id="54" x="428" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 33 |
+
<char id="55" x="437" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 34 |
+
<char id="56" x="446" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 35 |
+
<char id="57" x="455" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 36 |
+
<char id="58" x="164" y="14" width="5" height="8" xoffset="-1" yoffset="6" xadvance="3" page="0" chnl="0" />
|
| 37 |
+
<char id="59" x="29" y="14" width="5" height="10" xoffset="-1" yoffset="6" xadvance="3" page="0" chnl="0" />
|
| 38 |
+
<char id="60" x="169" y="14" width="9" height="8" xoffset="-1" yoffset="5" xadvance="7" page="0" chnl="0" />
|
| 39 |
+
<char id="61" x="221" y="14" width="9" height="5" xoffset="-1" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 40 |
+
<char id="62" x="178" y="14" width="9" height="8" xoffset="-1" yoffset="5" xadvance="7" page="0" chnl="0" />
|
| 41 |
+
<char id="63" x="478" y="0" width="7" height="11" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 42 |
+
<char id="64" x="64" y="0" width="13" height="12" xoffset="-1" yoffset="3" xadvance="11" page="0" chnl="0" />
|
| 43 |
+
<char id="65" x="86" y="0" width="10" height="11" xoffset="-1" yoffset="3" xadvance="8" page="0" chnl="0" />
|
| 44 |
+
<char id="66" x="96" y="0" width="9" height="11" xoffset="0" yoffset="3" xadvance="8" page="0" chnl="0" />
|
| 45 |
+
<char id="67" x="105" y="0" width="10" height="11" xoffset="-1" yoffset="3" xadvance="8" page="0" chnl="0" />
|
| 46 |
+
<char id="68" x="115" y="0" width="10" height="11" xoffset="0" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 47 |
+
<char id="69" x="125" y="0" width="7" height="11" xoffset="0" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 48 |
+
<char id="70" x="132" y="0" width="7" height="11" xoffset="0" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 49 |
+
<char id="71" x="139" y="0" width="10" height="11" xoffset="-1" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 50 |
+
<char id="72" x="149" y="0" width="9" height="11" xoffset="0" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 51 |
+
<char id="73" x="158" y="0" width="4" height="11" xoffset="0" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 52 |
+
<char id="74" x="10" y="0" width="6" height="13" xoffset="-2" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 53 |
+
<char id="75" x="162" y="0" width="9" height="11" xoffset="0" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 54 |
+
<char id="76" x="171" y="0" width="7" height="11" xoffset="0" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 55 |
+
<char id="77" x="178" y="0" width="11" height="11" xoffset="0" yoffset="3" xadvance="11" page="0" chnl="0" />
|
| 56 |
+
<char id="78" x="189" y="0" width="9" height="11" xoffset="0" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 57 |
+
<char id="79" x="198" y="0" width="11" height="11" xoffset="-1" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 58 |
+
<char id="80" x="209" y="0" width="8" height="11" xoffset="0" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 59 |
+
<char id="81" x="16" y="0" width="11" height="13" xoffset="-1" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 60 |
+
<char id="82" x="217" y="0" width="9" height="11" xoffset="0" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 61 |
+
<char id="83" x="226" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 62 |
+
<char id="84" x="235" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 63 |
+
<char id="85" x="244" y="0" width="9" height="11" xoffset="0" yoffset="3" xadvance="9" page="0" chnl="0" />
|
| 64 |
+
<char id="86" x="253" y="0" width="10" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 65 |
+
<char id="87" x="263" y="0" width="13" height="11" xoffset="-1" yoffset="3" xadvance="11" page="0" chnl="0" />
|
| 66 |
+
<char id="88" x="276" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 67 |
+
<char id="89" x="285" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 68 |
+
<char id="90" x="294" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 69 |
+
<char id="91" x="39" y="0" width="6" height="13" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 70 |
+
<char id="92" x="492" y="0" width="7" height="11" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 71 |
+
<char id="93" x="45" y="0" width="5" height="13" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 72 |
+
<char id="94" x="187" y="14" width="9" height="8" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 73 |
+
<char id="95" x="255" y="14" width="9" height="3" xoffset="-2" yoffset="13" xadvance="5" page="0" chnl="0" />
|
| 74 |
+
<char id="96" x="230" y="14" width="5" height="4" xoffset="1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 75 |
+
<char id="97" x="49" y="14" width="8" height="8" xoffset="-1" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 76 |
+
<char id="98" x="303" y="0" width="8" height="11" xoffset="0" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 77 |
+
<char id="99" x="57" y="14" width="8" height="8" xoffset="-1" yoffset="6" xadvance="6" page="0" chnl="0" />
|
| 78 |
+
<char id="100" x="311" y="0" width="9" height="11" xoffset="-1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 79 |
+
<char id="101" x="65" y="14" width="9" height="8" xoffset="-1" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 80 |
+
<char id="102" x="320" y="0" width="7" height="11" xoffset="-1" yoffset="3" xadvance="4" page="0" chnl="0" />
|
| 81 |
+
<char id="103" x="327" y="0" width="9" height="11" xoffset="-1" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 82 |
+
<char id="104" x="336" y="0" width="8" height="11" xoffset="0" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 83 |
+
<char id="105" x="344" y="0" width="5" height="11" xoffset="-1" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 84 |
+
<char id="106" x="0" y="0" width="6" height="14" xoffset="-2" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 85 |
+
<char id="107" x="349" y="0" width="8" height="11" xoffset="0" yoffset="3" xadvance="6" page="0" chnl="0" />
|
| 86 |
+
<char id="108" x="357" y="0" width="3" height="11" xoffset="0" yoffset="3" xadvance="3" page="0" chnl="0" />
|
| 87 |
+
<char id="109" x="74" y="14" width="12" height="8" xoffset="0" yoffset="6" xadvance="11" page="0" chnl="0" />
|
| 88 |
+
<char id="110" x="86" y="14" width="8" height="8" xoffset="0" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 89 |
+
<char id="111" x="94" y="14" width="9" height="8" xoffset="-1" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 90 |
+
<char id="112" x="360" y="0" width="8" height="11" xoffset="0" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 91 |
+
<char id="113" x="368" y="0" width="9" height="11" xoffset="-1" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 92 |
+
<char id="114" x="103" y="14" width="6" height="8" xoffset="0" yoffset="6" xadvance="5" page="0" chnl="0" />
|
| 93 |
+
<char id="115" x="109" y="14" width="8" height="8" xoffset="-1" yoffset="6" xadvance="6" page="0" chnl="0" />
|
| 94 |
+
<char id="116" x="34" y="14" width="6" height="9" xoffset="-1" yoffset="5" xadvance="4" page="0" chnl="0" />
|
| 95 |
+
<char id="117" x="117" y="14" width="9" height="8" xoffset="-1" yoffset="6" xadvance="7" page="0" chnl="0" />
|
| 96 |
+
<char id="118" x="126" y="14" width="9" height="8" xoffset="-1" yoffset="6" xadvance="6" page="0" chnl="0" />
|
| 97 |
+
<char id="119" x="135" y="14" width="12" height="8" xoffset="-1" yoffset="6" xadvance="9" page="0" chnl="0" />
|
| 98 |
+
<char id="120" x="147" y="14" width="9" height="8" xoffset="-1" yoffset="6" xadvance="6" page="0" chnl="0" />
|
| 99 |
+
<char id="121" x="377" y="0" width="9" height="11" xoffset="-1" yoffset="6" xadvance="6" page="0" chnl="0" />
|
| 100 |
+
<char id="122" x="156" y="14" width="8" height="8" xoffset="-1" yoffset="6" xadvance="6" page="0" chnl="0" />
|
| 101 |
+
<char id="123" x="50" y="0" width="7" height="13" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 102 |
+
<char id="124" x="6" y="0" width="4" height="14" xoffset="1" yoffset="3" xadvance="7" page="0" chnl="0" />
|
| 103 |
+
<char id="125" x="57" y="0" width="7" height="13" xoffset="-1" yoffset="3" xadvance="5" page="0" chnl="0" />
|
| 104 |
+
<char id="126" x="240" y="14" width="9" height="4" xoffset="-1" yoffset="7" xadvance="7" page="0" chnl="0" />
|
| 105 |
+
</chars>
|
| 106 |
+
<kernings count="75">
|
| 107 |
+
<kerning first="44" second="67" amount="-1" />
|
| 108 |
+
<kerning first="44" second="71" amount="-1" />
|
| 109 |
+
<kerning first="46" second="79" amount="-1" />
|
| 110 |
+
<kerning first="46" second="81" amount="-1" />
|
| 111 |
+
<kerning first="46" second="84" amount="-1" />
|
| 112 |
+
<kerning first="44" second="86" amount="-1" />
|
| 113 |
+
<kerning first="89" second="100" amount="-1" />
|
| 114 |
+
<kerning first="39" second="101" amount="-1" />
|
| 115 |
+
<kerning first="84" second="103" amount="-1" />
|
| 116 |
+
<kerning first="84" second="110" amount="-1" />
|
| 117 |
+
<kerning first="39" second="111" amount="-1" />
|
| 118 |
+
<kerning first="89" second="113" amount="-1" />
|
| 119 |
+
<kerning first="84" second="115" amount="-1" />
|
| 120 |
+
<kerning first="40" second="74" amount="1" />
|
| 121 |
+
<kerning first="84" second="109" amount="-1" />
|
| 122 |
+
<kerning first="65" second="74" amount="2" />
|
| 123 |
+
<kerning first="86" second="44" amount="-1" />
|
| 124 |
+
<kerning first="44" second="81" amount="-1" />
|
| 125 |
+
<kerning first="44" second="79" amount="-1" />
|
| 126 |
+
<kerning first="46" second="71" amount="-1" />
|
| 127 |
+
<kerning first="65" second="39" amount="-1" />
|
| 128 |
+
<kerning first="80" second="46" amount="-2" />
|
| 129 |
+
<kerning first="34" second="99" amount="-1" />
|
| 130 |
+
<kerning first="70" second="44" amount="-1" />
|
| 131 |
+
<kerning first="76" second="39" amount="-1" />
|
| 132 |
+
<kerning first="80" second="65" amount="-1" />
|
| 133 |
+
<kerning first="84" second="99" amount="-1" />
|
| 134 |
+
<kerning first="102" second="39" amount="1" />
|
| 135 |
+
<kerning first="89" second="111" amount="-1" />
|
| 136 |
+
<kerning first="34" second="100" amount="-1" />
|
| 137 |
+
<kerning first="80" second="44" amount="-2" />
|
| 138 |
+
<kerning first="44" second="84" amount="-1" />
|
| 139 |
+
<kerning first="89" second="101" amount="-1" />
|
| 140 |
+
<kerning first="84" second="100" amount="-1" />
|
| 141 |
+
<kerning first="91" second="74" amount="1" />
|
| 142 |
+
<kerning first="65" second="84" amount="-1" />
|
| 143 |
+
<kerning first="39" second="65" amount="-1" />
|
| 144 |
+
<kerning first="44" second="89" amount="-1" />
|
| 145 |
+
<kerning first="34" second="101" amount="-1" />
|
| 146 |
+
<kerning first="89" second="65" amount="-1" />
|
| 147 |
+
<kerning first="84" second="101" amount="-1" />
|
| 148 |
+
<kerning first="70" second="46" amount="-1" />
|
| 149 |
+
<kerning first="46" second="89" amount="-1" />
|
| 150 |
+
<kerning first="65" second="34" amount="-1" />
|
| 151 |
+
<kerning first="76" second="34" amount="-1" />
|
| 152 |
+
<kerning first="84" second="117" amount="-1" />
|
| 153 |
+
<kerning first="84" second="111" amount="-1" />
|
| 154 |
+
<kerning first="84" second="46" amount="-1" />
|
| 155 |
+
<kerning first="39" second="100" amount="-1" />
|
| 156 |
+
<kerning first="39" second="113" amount="-1" />
|
| 157 |
+
<kerning first="34" second="65" amount="-1" />
|
| 158 |
+
<kerning first="34" second="111" amount="-1" />
|
| 159 |
+
<kerning first="44" second="87" amount="-1" />
|
| 160 |
+
<kerning first="89" second="97" amount="-1" />
|
| 161 |
+
<kerning first="87" second="46" amount="-1" />
|
| 162 |
+
<kerning first="46" second="67" amount="-1" />
|
| 163 |
+
<kerning first="84" second="114" amount="-1" />
|
| 164 |
+
<kerning first="84" second="97" amount="-1" />
|
| 165 |
+
<kerning first="87" second="44" amount="-1" />
|
| 166 |
+
<kerning first="89" second="44" amount="-1" />
|
| 167 |
+
<kerning first="34" second="113" amount="-1" />
|
| 168 |
+
<kerning first="86" second="46" amount="-1" />
|
| 169 |
+
<kerning first="84" second="44" amount="-1" />
|
| 170 |
+
<kerning first="84" second="113" amount="-1" />
|
| 171 |
+
<kerning first="65" second="89" amount="-1" />
|
| 172 |
+
<kerning first="46" second="87" amount="-1" />
|
| 173 |
+
<kerning first="84" second="65" amount="-1" />
|
| 174 |
+
<kerning first="46" second="86" amount="-1" />
|
| 175 |
+
<kerning first="89" second="46" amount="-1" />
|
| 176 |
+
<kerning first="89" second="99" amount="-1" />
|
| 177 |
+
<kerning first="102" second="34" amount="1" />
|
| 178 |
+
<kerning first="84" second="112" amount="-1" />
|
| 179 |
+
<kerning first="123" second="74" amount="1" />
|
| 180 |
+
<kerning first="39" second="99" amount="-1" />
|
| 181 |
+
<kerning first="69" second="74" amount="1" />
|
| 182 |
+
</kernings>
|
| 183 |
+
</font>
|