PageSourceSearch

https://surfearner.com/v2api/static/vendor/gocaptcha/gocaptcha.min.js

js surfearner.com collected 2026-09-26 00:47:39 UTC 46,860 bytes, 39 lines download raw bytes

1(()=>{var he=(t,e,s)=>()=>{if(s)throw s[0];try{return t&&(e=t(t=0)),e}catch(l){throw s=[l],l}};var ce=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(s){throw e=0,s}};function Bt(t){t._depsLength=0,t._trackId++}function kt(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)Xt(t.deps[e],t);t.deps.length=t._depsLength}}function Xt(t,e){t.delete(e),t.size==0&&t.cleanup()}function Yt(t,e){if(e.get(t)!==t._trackId){e.set(t,t._trackId);let s=t.deps[t._depsLength];s!==e?(s&&Xt(s,t),t.deps[t._depsLength++]=e):t._depsLength++}}function Wt(t){for(let e of t.keys())e._dirtyLevel<Z.Dirty&&(e._dirtyLevel=Z.Dirty),e._running||e.scheduler&&e.scheduler()}function it(t){return typeof t=="object"&&t!==null}function at(t){return t!==null&&typeof t=="function"}function ue(t){return typeof t=="string"}function de(t,e){if(!st)return;let s=Dt.get(t);s||Dt.set(t,s=new Map);let l=s.get(e);l||s.set(e,l=jt(()=>s.delete(e),e)),Yt(st,l)}function ge(t,e,s,l){let i=Dt.get(t);if(!i)return;let o=i.get(e);o&&Wt(o)}function ve(t){if(!it(t)||t[dt.IS_REACTIVE])return t;let e=It.get(t);if(e)return e;let s=new Proxy(t,pe);return It.set(t,s),s}function N(t){return ve(t)}function fe(t){return it(t)?N(t):t}function me(t){return!(!t||!t[dt.IS_REACTIVE])}function G(t){return Ee(t)}function Ee(t){return new ye(t)}function Vt(t){st&&Yt(st,t.dep=t.dep||jt(()=>t.dep=void 0,"undefined"))}function $t(t){let e=t.dep;e&&Wt(e)}function be(t){return gt(t)?t.value:t}function Le(t){return new Proxy(t,{get:(e,s,l)=>be(Reflect.get(e,s,l)),set:(e,s,l,i)=>gt(e[s])&&!gt(l)?e[s].value=l:Reflect.set(e,s,l,i)})}function gt(t){return t&&t.__v_isRef}function S(t){let e,s;return at(t)?(e=t,s=()=>{}):(e=t.get,s=t.set),new _e(e,s)}function j(t,e,s={}){return De(t,e,s)}function Ut(t,e,s=0,l=new Set){if(!it(t))return t;if(e){if(s>=e)return t;s++}if(l.has(t))return t;for(let i in t)Ut(t[i],e,s,l);return t}function De(t,e,{deep:s,immediate:l}){let i,o,C;me(t)?i=()=>(w=>Ut(w,s===!1?1:void 0))(t):gt(t)?i=()=>t.value:at(t)&&(i=t);let d=w=>{C=()=>{w(),C=void 0}},I=()=>{if(e){let w=L.run();C&&C(),e(w,o,d),o=w}else L.run()},L=new Ct(i,I);return e?l?I():o=L.run():L.run(),()=>{L.stop()}}function Mt(t){return t?.__v_isVnode}function Lt(t,e){return t.type===e.type&&t.key===e.key}function ht(t,e,s,l){let i=ue(t)?R.ELEMENT:Ce(t)?R.TELEPORT:it(t)?R.STATEFUL_COMPONENT:at(t)?R.FUNCTIONAL_COMPONENT:0,o={__v_isVnode:!0,type:t,props:e,children:s,key:e?.key,el:null,shapeFlag:i,ref:e?.ref,patchFlag:l};return Ht&&l>0&&Ht.push(o),s&&(Array.isArray(s)?o.shapeFlag|=R.ARRAY_CHILDREN:it(s)?o.shapeFlag|=R.SLOTS_CHILDREN:(s=String(s),o.shapeFlag|=R.TEXT_CHILDREN)),o}function r(t,e,s){let l=arguments.length;return l===2?it(e)&&!Array.isArray(e)?Mt(e)?ht(t,null,[e]):ht(t,e):ht(t,null,e):(l>3&&(s=Array.from(arguments).slice(2)),l==3&&Mt(s)&&(s=[s]),ht(t,e,s))}function we(t){let e=[0],s=e.slice(0),l,i,o,C=t.length;for(let L=0;L<C;L++){let w=t[L];if(w!==0&&t[e[e.length-1]]<w){s[L]=e[e.length-1],e.push(L);continue}for(l=0,i=e.length-1;l<i;)o=(l+i)/2|0,t[e[o]]<w?l=o+1:i=o;w<t[e[l]]&&(s[L]=e[l-1],e[l]=L)}let d=e.length,I=e[d-1];for(;d-- >0;)e[d]=I,I=s[I];return e}function Pe(t){ft.includes(t)||ft.push(t),_t||(_t=!0,Se.then(()=>{_t=!1;let e=ft.slice(0);ft.length=0,e.forEach(s=>s()),e.length=0}))}function xe(t,e){return{data:null,vnode:t,subTree:null,isMounted:!1,update:null,props:{},attrs:{},slots:{},propsOptions:t.type.props,component:null,proxy:null,setupState:{},exposed:null,parent:e,ctx:{},provides:e?e.provides:Object.create(null)}}function Fe(t,e){t.vnode.shapeFlag&R.SLOTS_CHILDREN?t.slots=e:t.slots={}}function Oe(t){let{vnode:e}=t;Re(t,e.props),Fe(t,e.children),t.proxy=new Proxy(t,Ne);let{data:s=()=>{},render:l,setup:i}=e.type;if(i){let o={slots:t.slots,attrs:t.attrs,expose(d){t.exposed=d},emit(d,...I){let L=`on${d[0].toUpperCase()+d.slice(1)}`,w=t.vnode.props[L];w&&w(...I)}};Gt(t);let C=i(t.props,o);Kt(),at(C)?t.render=C:t.setupState=Le(C)}at(s)?t.data=N(s.call(t.proxy)):console.warn("data option must be a function"),t.render||(t.render=l)}function pt(t){return(e,s=wt)=>{if(s){let l=()=>{Gt(s),e.call(s),Kt()};(s[t]||(s[t]=[])).push(l)}}}function ot(t){for(let e=0;e<t.length;e++){let s=t[e];at(s)&&s()}}function Ae(t){let{insert:e,remove:s,createElement:l,createElementNS:i,createText:o,setText:C,setElementText:d,parentNode:I,nextSibling:L,patchProp:w}=t,F=n=>{if(Array.isArray(n))for(let a=0;a<n.length;a++)typeof n[a]!="string"&&typeof n[a]!="number"||(n[a]=ht(At,null,String(n[a])));return n},H=(n,a,h,u)=>{F(n);for(let v=0;v<n.length;v++)B(null,n[v],a,h,u)},$=(n,a,h)=>{!n?.props||!n?.props[ut.REF]||(h.setupState[n.props[ut.REF]]=a)},z=(n,a,h,u,v)=>{n===null?((E,y,P,p)=>{let{type:g,children:b,props:c,shapeFlag:D,transition:f}=E,m;if(ke.includes(g.toLowerCase())){let x=c?.xmlns||Ie;m=E.el=i(x,g)}else m=E.el=l(g);if(c)for(let x in c)x!==ut.REF&&w(m,x,null,c[x]);D&R.TEXT_CHILDREN?d(m,b):D&R.ARRAY_CHILDREN&&H(b,m,P,p),$(E,m,p),f&&f.beforeEnter(m),e(m,y,P),f&&f.enter(m)})(a,h,u,v):k(n,a,h,u,v)},_=(n,a)=>{for(let h=0;h<n.length;h++){let u=n[h];A(u,a)}},M=(n,a,h,u,v)=>{let E=n.children,y=F(a.children),P=n.shapeFlag,p=a.shapeFlag;p&R.TEXT_CHILDREN?(P&R.ARRAY_CHILDREN&&_(E,v),E!==y&&d(h,y)):P&R.ARRAY_CHILDREN?p&R.ARRAY_CHILDREN?((g,b,c,D)=>{let f=0,m=g.length-1,x=b.length-1;for(;f<=m&&f<=x;){let T=g[f],O=b[f];if(!Lt(T,O))break;B(T,O,c),f++}for(;f<=m&&f<=x;){let T=g[m],O=b[x];if(!Lt(T,O))break;B(T,O,c),m--,x--}if(f>
1m){if(f<=x){let T=x+1,O=b[T]?.el;for(;f<=x;)B(null,b[f],c,O),f++}}else if(f>x){if(f<=m)for(;f<=m;)A(g[f],D),f++}else{let T=f,O=f,xt=new Map,Rt=x-O+1,Tt=new Array(Rt).fill(0);for(let W=O;W<=x;W++){let tt=b[W];xt.set(tt.key,W)}for(let W=T;W<=m;W++){let tt=g[W],lt=xt.get(tt.key);lt==null?A(tt,D):(Tt[lt-O]=W+1,B(tt,b[lt],c))}let Nt=we(Tt),Ft=Nt.length-1;for(let W=Rt-1;W>=0;W--){let tt=O+W,lt=b[tt+1]?.el,bt=b[tt];bt.el?W==Nt[Ft]?Ft--:e(bt.el,c,lt):B(null,bt,c,lt)}}})(E,y,h,v):_(E,v):(P&R.TEXT_CHILDREN&&d(h,""),p&R.ARRAY_CHILDREN&&H(y,h,u,v))},k=(n,a,h,u,v)=>{let E=a.el=n.el,y=n.props||{},P=a.props||{},{patchFlag:p,dynamicChildren:g}=a;if(p){if(ct.STYLE,ct.CLASS,p&ct.TEXT&&n.children!==a.children)return d(E,a.children)}else((b,c,D)=>{for(let f in c)w(D,f,b[f],c[f]);for(let f in b)f in c||w(D,f,b[f],null)})(y,P,E);g?((b,c,D,f,m)=>{for(let x=0;x<c.dynamicChildren.length;x++)B(b.dynamicChildren[x],c.dynamicChildren[x],D,f,m)})(n,a,E,u,v):M(n,a,E,u,v)};function U(n){let{render:a,vnode:h,proxy:u,props:v,attrs:E,slots:y}=n;return h.shapeFlag&R.STATEFUL_COMPONENT?a.call(u,u):h.type(E,{slots:y})}function Q(n,a,h,u){let v=new Ct(()=>{if(n.isMounted){let{next:y}=n;y&&((p,g)=>{p.next=null,p.vnode=g,K(p,p.props,g.props||{}),Object.assign(p.slots,g.children)})(n,y),n._bu&&ot(n._bu);let P=U(n);B(n.subTree,P,a,h,n),n.subTree=P,n._u&&ot(n._u)}else{n._bm&&ot(n._bm);let y=U(n);B(null,y,a,h,n),n.isMounted=!0,n.subTree=y,n._m&&ot(n._m)}},()=>Pe(E)),E=n.update=()=>v.run();E()}let X=(n,a)=>{let h=Object.keys(a);if(h.length!==Object.keys(n).length)return!0;for(let u=0;u<h.length;u++){let v=h[u];if(a[v]!==n[v])return!0}return!1},K=(n,a,h)=>{if(X(a,h)){for(let u in h)n.props[u]=h[u];for(let u in n.props)u in h||delete n.props[u]}},J=(n,a)=>{let h=a.component=n.component;((u,v)=>{let{props:E,children:y}=u,{props:P,children:p}=v;return!(!y&&!p)||E!==P&&X(E,P||{})})(n,a)&&(h.next=a,h.update())},V=(n,a,h,u,v)=>{n===null?a.shapeFlag&R.COMPONENT_KEPT_ALIVE?v.ctx.activate(a,h,u):((E,y,P,p)=>{let g=E.component=xe(E,p);Be(E)&&(g.ctx.renderer={createElement:l,createElementNS:i,move(b,c,D){e(b.component.subTree.el,c,D)},unmount:A}),Oe(g),Q(g,y,P)})(a,h,u,v):J(n,a)},B=(n,a,h,u=null,v=null)=>{if(n==a)return;n&&!Lt(n,a)&&(A(n,v),n=null);let{type:E,shapeFlag:y,ref:P}=a;switch(E){case At:((p,g,b)=>{if(p==null)e(g.el=o(g.children),b);else{let c=g.el=p.el;p.children!==g.children&&C(c,g.children)}})(n,a,h);break;case zt:((p,g,b,c,D)=>{p==null?H(g.children,b,c,D):M(p,g,b,c,D)})(n,a,h,u,v);break;default:y&R.ELEMENT?z(n,a,h,u,v):y&R.TELEPORT?E.process(n,a,h,u,v,{mountChildren:H,patchChildren:M,move(p,g,b){e(p.component?p.component.subTree.el:p.el,g,b)}}):y&R.COMPONENT&&V(n,a,h,u,v)}P!==null&&(function(p,g){let b=g.shapeFlag&R.STATEFUL_COMPONENT?g.component.exposed||g.component.proxy:g.el;gt(p)&&(p.value=b)})(P,a)},A=(n,a)=>{let{shapeFlag:h,transition:u,el:v}=n,E=()=>{s(n.el)};h&R.COMPONENT_SHOULD_KEEP_ALIVE?a.ctx.deactivate(n):n.type===zt?_(n.children,a):h&R.COMPONENT?A(n.component.subTree,a):h&R.TELEPORT?n.type.remove(n,_):u?u.leave(v,E):E()};return{render:(n,a)=>(n==null?a._vnode&&A(a._vnode,null):(B(a._vnode||null,n,a),a._vnode=n),()=>{n&&n.component&&n.component._um&&ot(n.component._um),A(a._vnode,null),a._vnode=null})}}function Me(t,e,s){s==null?t.removeAttribute(e):t.setAttribute(e,s)}function He(t,e){e==null?t.removeAttribute("class"):t.className=e}function Xe(t){let e=s=>e.value(s);return e.value=t,e}function Ye(t,e,s){let l=t._vei||(t._vei={}),i=e.slice(2).toLowerCase(),o=l[e];if(s&&o)return o.value=s;if(s){let C=l[e]=Xe(s);return t.addEventListener(i,C)}o&&(t.removeEventListener(i,o),l[e]=void 0)}function We(t,e,s){let l=t.style;for(let i in s)l[i]=s[i];if(e)for(let i in e)s&&s[i]==null&&(l[i]=null)}function je(t,e,s,l){return e==="class"?He(t,l):e==="style"?We(t,s,l):/^on[^a-z]/.test(e)?Ye(t,e,l):Me(t,e,l)}function Je(t){let e=0,s=0;if(t.getBoundingClientRect){let l=t.getBoundingClientRect(),i=document.documentElement;e=l.left+Math.max(i.scrollLeft,document.body.scrollLeft)-i.clientLeft,s=l.top+Math.max(i.scrollTop,document.body.scrollTop)-i.clientTop}else for(;t!==document.body;)e+=t.offsetLeft,s+=t.offsetTop,t=t.offsetParent;return{domX:e,domY:s}}function rt(t,e){let s=e.relatedTarget;try{for(;s&&s!==t;)s=s.parentNode}catch(l){console.warn(l)}return s!==t}function Y(t){let e=JSON.stringify(t),s;try{s=JSON.parse(e)}catch{s=t}return s}function Ze(t={}){let e=new Qe(t);return{setConfig:e.setConfig,setState:e.setState,mount:e.mount,destroy:e.destroy}}function is(t={}){let e=new ss(t);return{setConfig:e.setConfig,setData:e.setData,setEvents:e.setEvents,mount:e.mount,destroy:e.destroy,clear:e.clear,reset:e.reset,refresh:e.refresh,close:e.close}}function ls(t,e,s,l,i,o,C,d,I){let L=N({dragLeft:0,thumbLeft:t.thumbX||0,isFreeze:!1}),w=k=>{L.isFreeze||(L.thumbLeft=k.thumbX||0)},F=k=>{if(!rt(d.value,k))return;let U=k.touches&&k.touches[0],Q=C.value.offsetLeft,X=i.value.offsetWidth,K=C.value.offsetWidth,J=X-K,V=o.value.offsetWidth,B=o.value.offsetLeft,A=X-V,n=(X-(V+B))/J,a=!1,h=null,u=0,v=0;U?u=U.pageX-Q:u=k.clientX-Q;let E=m=>{a=!0;let x=m.touches&&m.touches[0],T=0;x?T=x.pageX-u:T=m.clientX-u;let O=B+T*n;if(T>=J){L.dragLeft=J,L.thumbLeft=v=A;return}if(T<=0){L.dragLeft=0,L.thumbLeft=v=B;return}L.dragLeft=T,L.thumbLeft=v=O,e.move&&e.move(v,t.thumbY||0),m.cancelBubble=!0,m.preventDefault()},y=m=>{rt(d.value,m)&&(f(),a&&(a=!1,!(v<0)&&(e.confirm&&e.confirm({x:parseInt(v.toString()),y:t.thumbY||0},()=>{M()}),m.cancelBubble=!0,m.preventDefault())))},P=m=>{h=m},p=()=>{h=null},g=m=>
1{h&&(y(h),f())},b=s.scope,c=b?l.value:d.value,D=b?l.value:document.body,f=()=>{D.removeEventListener("mousemove",E,!1),D.removeEventListener("touchmove",E,{passive:!1}),c.removeEventListener("mouseup",y,!1),c.removeEventListener("mouseenter",p,!1),c.removeEventListener("mouseleave",P,!1),c.removeEventListener("touchend",y,!1),D.removeEventListener("mouseleave",y,!1),D.removeEventListener("mouseup",g,!1),L.isFreeze=!1};L.isFreeze=!0,D.addEventListener("mousemove",E,!1),D.addEventListener("touchmove",E,{passive:!1}),c.addEventListener("mouseup",y,!1),c.addEventListener("mouseenter",p,!1),c.addEventListener("mouseleave",P,!1),c.addEventListener("touchend",y,!1),D.addEventListener("mouseleave",y,!1),D.addEventListener("mouseup",g,!1)},H=k=>(z(),k.cancelBubble=!0,k.preventDefault(),!1),$=k=>(_(),k.cancelBubble=!0,k.preventDefault(),!1),z=()=>{e&&e.close&&e.close(),M()},_=()=>{e&&e.refresh&&e.refresh(),M()},M=()=>{L.dragLeft=0,L.thumbLeft=t.thumbX||0};return{state:L,updateData:w,dragEvent:F,closeEvent:H,refreshEvent:$,resetData:M,clearData:()=>{I&&I(),M()},refresh:_,close:z}}function rs(t={}){let e=new as(t);return{setConfig:e.setConfig,setData:e.setData,setEvents:e.setEvents,mount:e.mount,destroy:e.destroy,clear:e.clear,reset:e.reset,refresh:e.refresh,close:e.close}}function os(t,e,s,l,i,o,C){let d=N({x:t.thumbX||0,y:t.thumbY||0,isFreeze:!1}),I=_=>{d.isFreeze||(d.x=_.thumbX||0,d.y=_.thumbY||0)},L=_=>{if(!rt(i.value,_))return;let M=_.touches&&_.touches[0],k=o.value.offsetLeft,U=o.value.offsetTop,Q=i.value.offsetWidth,X=i.value.offsetHeight,K=o.value.offsetWidth,J=o.value.offsetHeight,V=Q-K,B=X-J,A=!1,n=null,a=0,h=0,u=0,v=0;M?(a=M.pageX-k,h=M.pageY-U):(a=_.clientX-k,h=_.clientY-U);let E=m=>{A=!0;let x=m.touches&&m.touches[0],T=0,O=0;x?(T=x.pageX-a,O=x.pageY-h):(T=m.clientX-a,O=m.clientY-h),T<=0&&(T=0),O<=0&&(O=0),T>=V&&(T=V),O>=B&&(O=B),d.x=T,d.y=O,u=T,v=O,e.move&&e.move(T,O),m.cancelBubble=!0,m.preventDefault()},y=m=>{rt(i.value,m)&&(f(),A&&(A=!1,!(u<0||v<0)&&(e.confirm&&e.confirm({x:u,y:v},()=>{z()}),m.cancelBubble=!0,m.preventDefault())))},P=m=>{n=m},p=()=>{n=null},g=m=>{n&&(y(n),f())},b=s.scope,c=b?l.value:i.value,D=b?l.value:document.body,f=()=>{D.removeEventListener("mousemove",E,!1),D.removeEventListener("touchmove",E,{passive:!1}),c.removeEventListener("mouseup",y,!1),c.removeEventListener("mouseenter",p,!1),c.removeEventListener("mouseleave",P,!1),c.removeEventListener("touchend",y,!1),D.removeEventListener("mouseleave",y,!1),D.removeEventListener("mouseup",g,!1),d.isFreeze=!1};d.isFreeze=!0,D.addEventListener("mousemove",E,!1),D.addEventListener("touchmove",E,{passive:!1}),c.addEventListener("mouseup",y,!1),c.addEventListener("mouseenter",p,!1),c.addEventListener("mouseleave",P,!1),c.addEventListener("touchend",y,!1),D.addEventListener("mouseleave",y,!1),D.addEventListener("mouseup",g,!1)},w=_=>(H(),_.cancelBubble=!0,_.preventDefault(),!1),F=_=>($(),_.cancelBubble=!0,_.preventDefault(),!1),H=()=>{e&&e.close&&e.close(),z()},$=()=>{e&&e.refresh&&e.refresh(),z()},z=()=>{d.x=t.thumbX||0,d.y=t.thumbY||0};return{state:d,updateData:I,dragEvent:L,closeEvent:w,refreshEvent:F,resetData:z,clearData:()=>{C&&C(),z()},refresh:$,close:H}}function us(t={}){let e=new cs(t);return{setConfig:e.setConfig,setData:e.setData,setEvents:e.setEvents,mount:e.mount,destroy:e.destroy,clear:e.clear,reset:e.reset,refresh:e.refresh,close:e.close}}function ds(t,e,s,l,i,o,C){let d=N({dragLeft:0,thumbAngle:t.angle||0,isFreeze:!1}),I=_=>{d.isFreeze||(d.thumbAngle=_.angle||0)},L=_=>{if(!rt(o.value,_))return;let M=_.touches&&_.touches[0],k=i.value.offsetLeft,U=o.value.offsetWidth,Q=i.value.offsetWidth,X=U-Q,K=360,J=(K-t.angle)/X,V=0,B=!1,A=null,n=0,a=0;M?n=M.pageX-k:n=_.clientX-k;let h=c=>{B=!0;let D=c.touches&&c.touches[0],f=0;if(D?f=D.pageX-n:f=c.clientX-n,V=t.angle+f*J,f>=X){d.dragLeft=X,d.thumbAngle=a=K;return}if(f<=0){d.dragLeft=0,d.thumbAngle=a=t.angle;return}d.dragLeft=f,d.thumbAngle=a=V,e.rotate&&e.rotate(V),c.cancelBubble=!0,c.preventDefault()},u=c=>{rt(o.value,c)&&(b(),B&&(B=!1,!(a<0)&&(e.confirm&&e.confirm(parseInt(a.toString()),()=>{z()}),c.cancelBubble=!0,c.preventDefault())))},v=c=>{A=c},E=()=>{A=null},y=c=>{A&&(u(A),b())}
1,P=s.scope,p=P?l.value:o.value,g=P?l.value:document.body,b=()=>{g.removeEventListener("mousemove",h,!1),g.removeEventListener("touchmove",h,{passive:!1}),p.removeEventListener("mouseup",u,!1),p.removeEventListener("mouseenter",E,!1),p.removeEventListener("mouseleave",v,!1),p.removeEventListener("touchend",u,!1),g.removeEventListener("mouseleave",u,!1),g.removeEventListener("mouseup",y,!1),d.isFreeze=!1};d.isFreeze=!0,g.addEventListener("mousemove",h,!1),g.addEventListener("touchmove",h,{passive:!1}),p.addEventListener("mouseup",u,!1),p.addEventListener("mouseenter",E,!1),p.addEventListener("mouseleave",v,!1),p.addEventListener("touchend",u,!1),g.addEventListener("mouseleave",u,!1),g.addEventListener("mouseup",y,!1)},w=_=>(H(),_.cancelBubble=!0,_.preventDefault(),!1),F=_=>($(),_.cancelBubble=!0,_.preventDefault(),!1),H=()=>{e&&e.close&&e.close(),z()},$=()=>{e&&e.refresh&&e.refresh(),z()},z=()=>{d.dragLeft=0,d.thumbAngle=t.angle};return{state:d,updateData:I,dragEvent:L,closeEvent:w,refreshEvent:F,resetData:z,clearData:()=>{C&&C(),z()},refresh:$,close:H}}function vs(t={}){let e=new ps(t);return{setConfig:e.setConfig,setData:e.setData,setEvents:e.setEvents,mount:e.mount,destroy:e.destroy,clear:e.clear,reset:e.reset,refresh:e.refresh,close:e.close}}var dt,Z,st,Ot,Ct,R,ct,nt,Dt,jt,pe,It,ye,_e,Ce,At,zt,Ht,ft,_t,Se,Re,Te,Ne,wt,Gt,Kt,Es,St,ys,bs,Pt,Be,ut,q,ke,Ie,ze,Ve,vt,et,mt,Et,yt,Jt,$e,Ue,Ge,Ke,qt,Qt,qe,Qe,Zt,te,ts,es,ss,ee,se,ns,as,ie,le,hs,cs,ne,ae,gs,ps,re,oe=he(()=>{(function(t){t.IS_REACTIVE="__v_isReactive"})(dt||(dt={}));(function(t){t[t.Dirty=4]="Dirty",t[t.NoDirty=0]="NoDirty"})(Z||(Z={}));Ct=class{constructor(t,e){this.fn=t,this.scheduler=e,this._trackId=0,this._depsLength=0,this._running=0,this._dirtyLevel=Z.Dirty,this.deps=[],this.active=!0}get dirty(){return this._dirtyLevel===Z.Dirty}set dirty(t){this._dirtyLevel=t?Z.Dirty:Z.NoDirty}run(){if(this._dirtyLevel=Z.NoDirty,!this.active)return this.fn();let t=st;try{return st=this,Ot=!0,Bt(this),this._running++,this.fn()}finally{this._running--,kt(this),Ot=!1,st=t}}stop(){this.active&&(this.active=!1,Bt(this),kt(this))}};(function(t){t[t.ELEMENT=1]="ELEMENT",t[t.FUNCTIONAL_COMPONENT=2]="FUNCTIONAL_COMPONENT",t[t.STATEFUL_COMPONENT=4]="STATEFUL_COMPONENT",t[t.TEXT_CHILDREN=8]="TEXT_CHILDREN",t[t.ARRAY_CHILDREN=16]="ARRAY_CHILDREN",t[t.SLOTS_CHILDREN=32]="SLOTS_CHILDREN",t[t.TELEPORT=64]="TELEPORT",t[t.COMPONENT_SHOULD_KEEP_ALIVE=128]="COMPONENT_SHOULD_KEEP_ALIVE",t[t.COMPONENT_KEPT_ALIVE=256]="COMPONENT_KEPT_ALIVE",t[t.COMPONENT=6]="COMPONENT"})(R||(R={}));(function(t){t[t.TEXT=1]="TEXT",t[t.CLASS=2]="CLASS",t[t.STYLE=4]="STYLE"})(ct||(ct={}));nt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),Dt=new WeakMap,jt=(t,e)=>{let s=new Map;return s.cleanup=t,s.name=e,s};pe={get(t,e,s){if(e===dt.IS_REACTIVE)return!0;de(t,e);let l=Reflect.get(t,e,s);return it(l)?N(l):l},set(t,e,s,l){let i=t[e],o=Reflect.set(t,e,s,l);return i!==s&&ge(t,e,s,i),o}},It=new WeakMap;ye=class{constructor(t){this.rawValue=t,this.__v_isRef=!0,this._value=fe(t)}get value(){return Vt(this),this._value}set value(t){t!==this.rawValue&&(this.rawValue=t,this._value=t,$t(this))}};_e=class{constructor(t,e){this.setter=e,this.effect=new Ct(()=>t(this._value),()=>{$t(this)})}get value(){return Vt(this),this.effect.dirty&&(this._value=this.effect.run()),this._value}set value(t){this.setter(t)}};Ce=t=>t.__isTeleport,At=Symbol("Text"),zt=Symbol("Fragment");Ht=null;ft=[],_t=!1,Se=Promise.resolve();Re=(t,e)=>{let s={},l={},i=t.propsOptions||{};if(e)for(let o in e){let C=e[o];o in i?s[o]=C:l[o]=C}t.attrs=l,t.props=N(s)},Te={$attrs:t=>t.attrs,$slots:t=>t.slots},Ne={get(t,e){let{data:s,props:l,setupState:i}=t;if(s&&nt(s,e))return s[e];if(l&&nt(l,e))return l[e];if(i&&nt(i,e))return i[e];let o=Te[e];return o?o(t):void 0},set(t,e,s){let{data:l,props:i,setupState:o}=t;if(l&&nt(l,e))l[e]=s;else{if(i&&nt(i,e))return console.warn("props are readonly"),!1;o&&nt(o,e)&&(o[e]=s)}return!0}};wt=null,Gt=t=>{wt=t},Kt=()=>{wt=null};Es=pt("_bm"),St=pt("_m"),ys=pt("_bu"),bs=pt("_u"),Pt=pt("_um");Be=t=>t.type.__isKeepAlive;(function(t){t.REF="ref"})(ut||(ut={}));(function(t){t.SVG="svg",t.RECT="rect",t.CIRCLE="circle",t.ELLIPSE="ellipse",t.LINE="line",t.POLYLINE="polyline",t.POLYGON="polygon",t.PATH="path",t.ANIMATE="animate"})(q||(q={}));ke=[q.SVG,q.RECT,q.CIRCLE,q.ELLIPSE,q.LINE,q.POLYLINE,q.POLYGON,q.PATH,q.ANIMATE],Ie="http://www.w3.org/2000/svg";ze={insert:(t,e,s)=>e.insertBefore(t,s||null),remove(t){let e=t.parentNode;e&&e.removeChild(t)},createElement:t=>document.createElement(t),createElementNS:(t,e)=>document.createElementNS(t,e),createText:t=>document.createTextNode(t),setText:(t,e)=>t.nodeValue=e,setElementText:(t,e)=>t.textContent=e,parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling};Ve=Object.assign({patchProp:je},ze),vt=(t,e)=>Ae(Ve).render(t,e),et={width:22,height:22,clickEvent:()=>{}},mt=t=>(t={...et,...t},r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",width:"84",height:"84"},[r("circle",{cx:"50",cy:"36.8101",r:"10"}
1,[r("animate",{attributeName:"cy",dur:"1s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.45 0 0.9 0.55;0 0.45 0.55 0.9",keyTimes:"0;0.5;1",values:"23;77;23"})])])),Et=t=>(t={...et,...t},r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",width:t.width,height:t.height,onClick:t.clickEvent},[r("path",{d:`M100.1,189.9C100.1,189.9,100,189.9,100.1,189.9c-49.7,0-90-40.4-90-89.9c0-49.6,40.4-89.9,89.9-89.9
2		c49.6,0,89.9,40.4,89.9,89.9c0,18.2-5.4,35.7-15.6,50.7c-1.5,2.1-3.6,3.4-6.1,3.9c-2.5,0.4-5-0.1-7-1.6c-4.2-3-5.3-8.6-2.4-12.9
3		c8.1-11.9,12.4-25.7,12.4-40.1c0-39.2-31.9-71.1-71.1-71.1c-39.2,0-71.1,31.9-71.1,71.1c0,39.2,31.9,71.1,71.1,71.1
4		c7.7,0,15.3-1.2,22.6-3.6c2.4-0.8,4.9-0.6,7.2,0.5c2.2,1.1,3.9,3.1,4.7,5.5c1.6,4.9-1,10.2-5.9,11.9
5		C119.3,188.4,109.8,189.9,100.1,189.9z M73,136.4C73,136.4,73,136.4,73,136.4c-2.5,0-4.9-1-6.7-2.8c-3.7-3.7-3.7-9.6,0-13.3
6		L86.7,100L66.4,79.7c-3.7-3.7-3.7-9.6,0-13.3c3.7-3.7,9.6-3.7,13.3,0L100,86.7l20.3-20.3c1.8-1.8,4.1-2.8,6.7-2.8c0,0,0,0,0,0
7		c2.5,0,4.9,1,6.7,2.8c1.8,1.8,2.8,4.1,2.8,6.7c0,2.5-1,4.9-2.8,6.7L113.3,100l20.3,20.3c3.7,3.7,3.7,9.6,0,13.3
8		c-3.7,3.7-9.6,3.7-13.3,0L100,113.3l-20.3,20.3C77.9,135.4,75.5,136.4,73,136.4z`})])),yt=t=>(t={...et,...t},r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",width:t.width,height:t.height,onClick:t.clickEvent},[r("path",{d:`M135,149.9c-10.7,7.6-23.2,11.4-36,11.2c-1.7,0-3.4-0.1-5-0.3c-0.7-0.1-1.4-0.2-2-0.3c-1.3-0.2-2.6-0.4-3.9-0.6
9	c-0.8-0.2-1.6-0.4-2.3-0.5c-1.2-0.3-2.5-0.6-3.7-1c-0.6-0.2-1.2-0.4-1.7-0.6c-1.4-0.5-2.8-1-4.2-1.5c-0.3-0.1-0.6-0.3-0.9-0.4
10	c-1.6-0.7-3.2-1.4-4.7-2.3c-0.1,0-0.1-0.1-0.2-0.1c-5.1-2.9-9.8-6.4-14-10.6c-0.1-0.1-0.1-0.1-0.2-0.2c-1.3-1.3-2.5-2.7-3.7-4.1
11	c-0.2-0.3-0.5-0.6-0.7-0.9c-8.4-10.6-13.5-24.1-13.5-38.8h14.3c0.4,0,0.7-0.2,0.9-0.5c0.2-0.3,0.2-0.8,0-1.1L29.5,60.9
12	c-0.2-0.3-0.5-0.5-0.9-0.5c-0.4,0-0.7,0.2-0.9,0.5L3.8,97.3c-0.2,0.3-0.2,0.7,0,1.1c0.2,0.3,0.5,0.5,0.9,0.5h14.3
13	c0,17.2,5.3,33.2,14.3,46.4c0.1,0.2,0.2,0.4,0.3,0.6c0.9,1.4,2,2.6,3,3.9c0.4,0.5,0.7,1,1.1,1.5c1.5,1.8,3,3.5,4.6,5.2
14	c0.2,0.2,0.3,0.3,0.5,0.5c5.4,5.5,11.5,10.1,18.2,13.8c0.2,0.1,0.3,0.2,0.5,0.3c1.9,1,3.9,2,5.9,2.9c0.5,0.2,1,0.5,1.5,0.7
15	c1.7,0.7,3.5,1.3,5.2,1.9c0.8,0.3,1.7,0.6,2.5,0.8c1.5,0.5,3.1,0.8,4.7,1.2c1.1,0.2,2.1,0.5,3.2,0.7c0.4,0.1,0.9,0.2,1.3,0.3
16	c1.5,0.3,3,0.4,4.5,0.6c0.5,0.1,1.1,0.2,1.6,0.2c2.7,0.3,5.4,0.4,8.1,0.4c16.4,0,32.5-5.1,46.2-14.8c4.4-3.1,5.5-9.2,2.4-13.7
17	C145.5,147.8,139.4,146.7,135,149.9 M180.6,98.9c0-17.2-5.3-33.1-14.2-46.3c-0.1-0.2-0.2-0.5-0.4-0.7c-1.1-1.6-2.3-3.1-3.5-4.6
18	c-0.1-0.2-0.3-0.4-0.4-0.6c-8.2-10.1-18.5-17.9-30.2-23c-0.3-0.1-0.6-0.3-1-0.4c-1.9-0.8-3.8-1.5-5.7-2.1c-0.7-0.2-1.4-0.5-2.1-0.7
19	c-1.7-0.5-3.4-0.9-5.1-1.3c-0.9-0.2-1.9-0.5-2.8-0.7c-0.5-0.1-0.9-0.2-1.4-0.3c-1.3-0.2-2.6-0.3-3.8-0.5c-0.9-0.1-1.8-0.3-2.6-0.3
20	c-2.1-0.2-4.3-0.3-6.4-0.3c-0.4,0-0.8-0.1-1.2-0.1c-0.1,0-0.1,0-0.2,0c-16.4,0-32.4,5-46.2,14.8C49,35,48,41.1,51,45.6
21	c3.1,4.4,9.1,5.5,13.5,2.4c10.6-7.5,23-11.3,35.7-11.2c1.8,0,3.6,0.1,5.4,0.3c0.6,0.1,1.1,0.1,1.6,0.2c1.5,0.2,2.9,0.4,4.3,0.7
22	c0.6,0.1,1.3,0.3,1.9,0.4c1.4,0.3,2.8,0.7,4.2,1.1c0.4,0.1,0.9,0.3,1.3,0.4c1.6,0.5,3.1,1.1,4.6,1.7c0.2,0.1,0.3,0.1,0.5,0.2
23	c9,3.9,17,10,23.2,17.6c0,0,0.1,0.1,0.1,0.2c8.7,10.7,14,24.5,14,39.4H147c-0.4,0-0.7,0.2-0.9,0.5c-0.2,0.3-0.2,0.8,0,1.1l24,36.4
24	c0.2,0.3,0.5,0.5,0.9,0.5c0.4,0,0.7-0.2,0.9-0.5l23.9-36.4c0.2-0.3,0.2-0.7,0-1.1c-0.2-0.3-0.5-0.5-0.9-0.5L180.6,98.9L180.6,98.9
25	L180.6,98.9z`})])),Jt=t=>(t={...et,...t},r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",width:t.width,height:t.height},[r("path",{d:`M131.6,116.3c0,0-75.6,0-109.7,0c-9.1,0-16.2-7.4-16.2-16.2c0-9.1,7.4-16.2,16.2-16.2c28.7,0,109.7,0,109.7,0
26	s-5.4-5.4-30.4-30.7c-6.4-6.4-6.4-16.7,0-23.1s16.7-6.4,23.1,0l58.4,58.4c6.4,6.4,6.4,16.7,0,23.1c0,0-32.9,32.9-57.9,57.9
27	c-6.4,6.4-16.7,6.4-23.1,0c-6.4-6.4-6.4-16.7,0-23.1C121.8,126.2,131.6,116.3,131.6,116.3z`})])),$e=t=>(t={...et,...t},r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",width:t.width,height:t.height},[r("circle",{fill:"#3E7CFF",cx:"100",cy:"100",r:"96.3"}),r("path",{fill:"#FFFFFF",d:`M140.8,64.4l-39.6-11.9h-2.4L59.2,64.4c-1.6,0.8-2.8,2.4-2.8,4v24.1c0,25.3,15.8,45.9,42.3,54.6
28  c0.4,0,0.8,0.4,1.2,0.4c0.4,0,0.8,0,1.2-0.4c26.5-8.7,42.3-28.9,42.3-54.6V68.3C143.5,66.8,142.3,65.2,140.8,64.4z`})])),Ue=t=>(t={...et,...t},r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",width:t.width,height:t.height},[r("path",{fill:"#FFA000",d:`M184,26.6L102.4,2.1h-4.9L16,26.6c-3.3,1.6-5.7,4.9-5.7,8.2v49.8c0,52.2,32.6,94.7,87.3,112.6
29	c0.8,0,1.6,0.8,2.4,0.8s1.6,0,2.4-0.8c54.7-18,87.3-59.6,87.3-112.6V34.7C189.8,31.5,187.3,28.2,184,26.6z M107.3,109.1
30	c-0.5,5.4-3.9,7.9-7.3,7.9c-2.5,0,0,0,0,0c-3.2-0.6-5.7-2-6.8-7.4l-4.4-50.9c0-5.1,6.2-9.7,11.5-9.7c5.3,0,11,4.7,11,9.9
31	L107.3,109.1z M109.3,133.3c0,5.1-4.2,9.3-9.3,9.3c-5.1,0-9.3-4.2-9.3-9.3c0-5.1,4.2-9.3,9.3-9.3C105.1,124,109.3,128.1,109.3,133.3
32	z`})])),Ge=t=>(t={...et,...t},r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",width:t.width,height:t.height},[r("path",{fill:"#ED4630",d:`M184,26.6L102.4,2.1h-4.9L16,26.6c-3.3,1.6-5.7,4.9-5.7,8.2v49.8c0,52.2,32.6,94.7,87.3,112.6
33	c0.8,0,1.6,0.8,2.4,0.8s1.6,0,2.4-0.8c54.7-18,87.3-59.6,87.3-112.6V34.7C189.8,31.5,187.3,28.2,184,26.6z M134.5,123.1
34	c3.1,3.1,3.1,8.2,0,11.3c-1.6,1.6-3.6,2.3-5.7,2.3s-4.1-0.8-5.7-2.3L100,111.3l-23.1,23.1c-1.6,1.6-3.6,2.3-5.7,2.3
35	c-2,0-4.1-0.8-5.7-2.3c-3.1-3.1-3.1-8.2,0-11.3L88.7,100L65.5,76.9c-3.1-3.1-3.1-8.2,0-11.3c3.1-3.1,8.2-3.1,11.3,0L100,88.7
36	l23.1-23.1c3.1-3.1,8.2-3.1,11.3,0c3.1,3.1,3.1,8.2,0,11.3L111.3,100L134.5,123.1z`})])),Ke=t=>(t={...et,...t},r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",width:t.width,height:t.height},[r("path",{fill:"#5EAA2F",d:`M183.3,27.2L102.4,2.9h-4.9L16.7,27.2C13.4,28.8,11,32,11,35.3v49.4c0,51.8,32.4,93.9,86.6,111.7
37	c0.8,0,1.6,0.8,2.4,0.8c0.8,0,1.6,0,2.4-0.8c54.2-17.8,86.6-59.1,86.6-111.7V35.3C189,32,186.6,28.8,183.3,27.2z M146.1,81.4
38	l-48.5,48.5c-1.6,1.6-3.2,2.4-5.7,2.4c-2.4,0-4-0.8-5.7-2.4L62,105.7c-3.2-3.2-3.2-8.1,0-11.3c3.2-3.2,8.1-3.2,11.3,0l18.6,18.6
39	l42.9-42.9c3.2-3.2,8.1-3.2,11.3,0C149.4,73.3,149.4,78.2,146.1,81.4L146.1,81.4z`})])),qt=()=>({width:330,height:44,verticalPadding:12,horizontalPadding:16}),Qt=()=>({type:"default",disabled:!1,title:"Click Button",clickEvent:()=>{}});qe=class{constructor(){this.name="ButtonComponent",this.logicProps=N({config:{...qt()},state:{...Qt()}}),this.localConfig=N({...Y(this.logicProps.config)}),this.localState=N({...Y(this.logicProps.state)}),this.setPropsConfig=t=>{this.logicProps.config=t},this.setPropsState=t=>{this.logicProps.state=t},this.setup=()=>{let t=this.localConfig;return this.btnClass=S(()=>{let e=this.localState.type,s=this.localState.disabled;return["go-captcha","gc-button-mode","gc-btn-block",`gc-${e}`,s?"gc-disabled":""].join(" ")}),this.btnStyles=S(()=>{let e=t.width,s=t.height,l=t.horizontalPadding,i=t.verticalPadding;return{width:e+"px",height:s+"px",paddingLeft:l+"px",paddingRight:l+"px",paddingTop:i+"px",paddingBottom:i+"px"}}),{}},this.render=t=>{let e=this.localState,s=$e();return e.value==="warn"?s=Ue():e.value==="error"?s=Ge():e.value==="success"&&(s=Ke()),r("div",{class:this.btnClass.value,style:this.btnStyles.value,onClick:this.localState.clickEvent},[r("div",{class:`${this.localState.type==="default"?"gc-ripple":""}`},[s]),r("span",{}
39,[this.localState.title])])},this.mount=t=>{this.unmountFn=vt(r(this),t)},this.unmount=()=>{this.unmountFn&&this.unmountFn()},j(()=>this.logicProps.config,(t,e)=>{Object.assign(this.localConfig,t)},{deep:!0}),j(()=>this.logicProps.state,(t,e)=>{Object.assign(this.localState,t)},{deep:!0})}},Qe=class{constructor(t={}){this.setConfig=(e={})=>(e={...qt(),...e},this._logic.setPropsConfig(e),this),this.setState=(e={})=>(e={...Qt(),...e},this._logic.setPropsState(e),this),this.mount=e=>{if(!this._el)return this._logic.mount(e),this._el=e,this},this.destroy=()=>(this._logic.unmount(),this._el=null,this),this._logic=new qe,this.setConfig(t)}};Zt=()=>({width:300,height:220,thumbWidth:150,thumbHeight:40,verticalPadding:16,horizontalPadding:12,showTheme:!0,title:"\u8BF7\u5728\u4E0B\u56FE\u4F9D\u6B21\u70B9\u51FB",buttonText:"\u786E\u8BA4",iconSize:22,dotSize:24}),te=()=>({image:"",thumb:""}),ts=(t,e,s)=>{let l=G([]),i=F=>{let H=F.currentTarget,$=Je(H),z=F.pageX||F.clientX,_=F.pageY||F.clientY,M=$.domX,k=$.domY,U=z-M,Q=_-k,X=parseInt(U.toString()),K=parseInt(Q.toString()),J=new Date,V=l.value.length,B={key:J.getTime(),index:V+1,x:X,y:K};return l.value=[...l.value,B],e.click&&e.click(X,K),F.cancelBubble=!0,F.preventDefault(),!1},o=F=>{let H=Y(l.value);return e.confirm&&e.confirm(H,()=>{w()}
39),F.cancelBubble=!0,F.preventDefault(),!1},C=F=>(I(),F.cancelBubble=!0,F.preventDefault(),!1),d=F=>(L(),F.cancelBubble=!0,F.preventDefault(),!1),I=()=>{e.close&&e.close(),w()},L=()=>{e.refresh&&e.refresh(),w()},w=()=>{l.value=[]};return{dots:l,clickEvent:i,confirmEvent:o,closeEvent:C,refreshEvent:d,resetData:w,clearData:()=>{w(),s&&s()},refresh:L,close:I}},es=class{constructor(){this.name="ClickComponent",this.logicProps=N({data:{...te()},event:{},config:{...Zt()}}),this.localData=N({...Y(this.logicProps.data)}),this.localEvent=N({...Y(this.logicProps.event)}),this.localConfig=N({...Y(this.logicProps.config)}),this.clear=()=>{this.handler.clearData()},this.reset=()=>{this.handler.resetData()},this.refresh=()=>{this.handler.refresh()},this.close=()=>{this.handler.close()},this.clearData=()=>{this.localData.image="",this.localData.thumb=""},this.setPropsData=t=>{this.logicProps.data=t},this.setPropsEvent=t=>{this.logicProps.event=t},this.setPropsConfig=t=>{this.logicProps.config=t},this.setup=()=>{let t=this.localData,e=this.localEvent,s=this.localConfig;return this.handler=ts(t,e,this.clearData),this.wrapperStyles=S(()=>{let l=s.horizontalPadding||0,i=s.verticalPadding||0;return{width:(s.width||0)+l*2+(s.showTheme?2:0)+"px",paddingLeft:l+"px",paddingRight:l+"px",paddingTop:i+"px",paddingBottom:i+"px",display:this.hasDisplayWrapperState.value?"inherit":"none"}}),this.hasDisplayImageState=S(()=>t.image&&t.image.length>0||t.thumb&&t.thumb.length>0),this.hasDisplayWrapperState=S(()=>(s.width||0)>0||(s.height||0)>0),this.bodyStyles=S(()=>({width:s.width+"px",height:s.height+"px"})),this.thumbStyles=S(()=>({width:s.thumbWidth+"px",height:s.thumbHeight+"px",display:this.hasDisplayImageState.value?"inherit":"none"})),this.imageStyles=S(()=>({width:s.width+"px",height:s.height+"px",display:this.hasDisplayImageState.value?"inherit":"none"})),this.iconStyles=S(()=>{let l=s.iconSize;return{width:l,height:l}}),{}},this.render=t=>r("div",{class:`go-captcha gc-click-mode gc-wrapper ${this.localConfig.showTheme&&"gc-theme"}`,style:this.wrapperStyles.value},[r("div",{class:"gc-header"},[r("span",{},[this.localConfig.title]),r("img",{style:this.thumbStyles.value,src:this.localData.thumb})]),r("div",{class:"gc-body",style:this.bodyStyles.value},[r("div",{class:"gc-loading"},[mt()]),r("img",{class:"gc-picture",style:this.imageStyles.value,src:this.localData.image,onClick:this.handler.clickEvent}),r("div",{class:"gc-dots"},[...this.handler.dots.value.map(e=>r("div",{class:"gc-dot",key:`${e.key+"-"+e.index}`,style:{width:this.localConfig.dotSize+"px",height:this.localConfig.dotSize+"px",borderRadius:this.localConfig.dotSize+"px",top:e.y-(this.localConfig.dotSize||1)/2-1+"px",left:e.x-(this.localConfig.dotSize||1)/2-1+"px"}},[e.index]))])]),r("div",{class:"gc-footer"},[r("div",{class:"gc-icon-block"},[Et({...this.iconStyles.value,clickEvent:this.handler.closeEvent}),yt({...this.iconStyles.value,clickEvent:this.handler.refreshEvent})]),r("div",{class:"gc-button-block"},[r("button",{class:!this.hasDisplayImageState.value&&"disabled",onClick:this.handler.confirmEvent},[this.localConfig.buttonText])])])]),this.mount=t=>{this.unmountFn=vt(r(this),t)},this.unmount=()=>{this.unmountFn&&this.unmountFn()},j(()=>this.logicProps.config,(t,e)=>{Object.assign(this.localConfig,t)},{deep:!0}),j(()=>this.logicProps.data,(t,e)=>{Object.assign(this.localData,t)},{deep:!0}),j(()=>this.logicProps.event,(t,e)=>{Object.assign(this.localEvent,t)},{deep:!0})}},ss=class{constructor(t={}){this.setConfig=(e={})=>(e={...Zt(),...e},this._logic.setPropsConfig(e),this),this.setData=(e={})=>(e={...te(),...e},this._logic.setPropsData(e),this),this.setEvents=(e={})=>(e={...e},this._logic.setPropsEvent(e),this),this.mount=e=>{if(!this._el)return this._logic.mount(e),this._el=e,this},this.destroy=()=>(this._logic.unmount(),this._el=null,this),this.clear=()=>{this._logic.clear()},this.reset=()=>{this._logic.reset()},this.refresh=()=>{this._logic.refresh()},this.close=()=>{this._logic.close()},this._logic=new es,this.setConfig(t)}};ee=()=>
39({width:300,height:220,thumbWidth:150,thumbHeight:40,verticalPadding:16,horizontalPadding:12,showTheme:!0,title:"\u8BF7\u62D6\u52A8\u6ED1\u5757\u5B8C\u6210\u62FC\u56FE",iconSize:22,scope:!0}),se=()=>({thumbX:0,thumbY:0,thumbWidth:0,thumbHeight:0,image:"",thumb:""});ns=class{constructor(){this.name="SlideComponent",this.logicProps=N({data:{...se()},event:{},config:{...ee()}}),this.localData=N({...Y(this.logicProps.data)}),this.localEvent=N({...Y(this.logicProps.event)}),this.localConfig=N({...Y(this.logicProps.config)}),this.rootRef=G(null),this.dragBarRef=G(null),this.containerRef=G(null),this.dragBlockRef=G(null),this.tileRef=G(null),this.clear=()=>{this.handler.clearData()},this.reset=()=>{this.handler.resetData()},this.refresh=()=>{this.handler.refresh()},this.close=()=>{this.handler.close()},this.clearData=()=>{this.localData.thumb="",this.localData.image="",this.localData.thumbX=0,this.localData.thumbY=0,this.localData.thumbWidth=0,this.localData.thumbHeight=0},this.setPropsData=t=>{this.logicProps.data=t},this.setPropsEvent=t=>{this.logicProps.event=t},this.setPropsConfig=t=>{this.logicProps.config=t},this.setup=()=>{let t=this.localData,e=this.localEvent,s=this.localConfig;this.wrapperStyles=S(()=>{let i=s.horizontalPadding||0,o=s.verticalPadding||0;return{width:(s.width||0)+i*2+(s.showTheme?2:0)+"px",paddingLeft:i+"px",paddingRight:i+"px",paddingTop:o+"px",paddingBottom:o+"px",display:this.hasDisplayWrapperState.value?"inherit":"none"}}),this.hasDisplayImageState=S(()=>t.image&&t.image.length>0||t.thumb&&t.thumb.length>0),this.hasDisplayWrapperState=S(()=>(s.width||0)>0||(s.height||0)>0),this.bodyStyles=S(()=>{let i=s.width,o=s.height;return{width:i+"px",height:o+"px"}}),this.thumbStyles=S(()=>{let i=this.handler.state.thumbLeft,o=this.hasDisplayImageState.value,C=t.thumbWidth||s.thumbWidth,d=t.thumbHeight||s.thumbHeight;return{width:C+"px",height:d+"px",display:o?"inherit":"none",top:t.thumbY+"px",left:i+"px"}}),this.imageStyles=S(()=>{let i=s.width,o=s.height;return{width:i+"px",height:o+"px",display:this.hasDisplayImageState.value?"inherit":"none"}}),this.iconStyles=S(()=>{let i=s.iconSize;return{width:i,height:i}});let l=i=>i.preventDefault();return St(async()=>{this.dragBlockRef?.value&&this.dragBlockRef.value.addEventListener("dragstart",l)}),Pt(()=>{this.dragBlockRef?.value&&this.dragBlockRef.value.removeEventListener("dragstart",l)}),{rootRef:this.rootRef,containerRef:this.containerRef,tileRef:this.tileRef,dragBlockRef:this.dragBlockRef,dragBarRef:this.dragBarRef}},this.render=t=>r("div",{class:`go-captcha gc-slide-mode gc-wrapper ${this.localConfig.showTheme&&"gc-theme"}`,style:this.wrapperStyles.value,ref:"rootRef"},[r("div",{class:"gc-header"},[r("span",{},[this.localConfig.title]),r("div",{class:"gc-icon-block"},[Et({...this.iconStyles.value,clickEvent:this.handler.closeEvent}),yt({...this.iconStyles.value,clickEvent:this.handler.refreshEvent})])]),r("div",{class:"gc-body",style:this.bodyStyles.value,ref:"containerRef"},[r("div",{class:"gc-loading"},[mt()]),r("img",{class:"gc-picture",style:this.imageStyles.value,src:this.localData.image}),r("div",{class:"gc-tile",ref:"tileRef",style:this.thumbStyles.value},[r("img",{style:{display:this.hasDisplayImageState.value?"inherit":"none"},src:this.localData.thumb})])]),r("div",{class:"gc-footer"},[r("div",{class:"gc-drag-slide-bar",ref:"dragBarRef"},[r("div",{class:"gc-drag-line"}),r("div",{class:`gc-drag-block ${this.hasDisplayImageState.value?"":"disabled"}`,style:{left:this.handler.state.dragLeft+"px"},ref:"dragBlockRef",onMousedown:this.handler.dragEvent},[r("div",{class:"gc-drag-block-inline",onTouchstart:this.handler.dragEvent},[Jt()])])])])]),this.mount=t=>{this.unmountFn=vt(r(this),t)},this.unmount=()=>{this.unmountFn&&this.unmountFn()},j(()=>this.logicProps.config,(t,e)=>{Object.assign(this.localConfig,t)},{deep:!0}),j(()=>this.logicProps.data,(t,e)=>{Object.assign(this.localData,t),this.handler?.updateData(this.localData)},{deep:!0}),j(()=>this.logicProps.event,(t,e)=>{Object.assign(this.localEvent,t)},{deep:!0}),this.handler=ls(this.localData,this.localEvent,this.localConfig,this.rootRef,this.containerRef,this.tileRef,this.dragBlockRef,this.dragBarRef,this.clearData)}},as=class{constructor(t={}){this.setConfig=(e={})=>(e={...ee(),...e},this._logic.setPropsConfig(e),this),this.setData=(e={})=>(e={...se(),...e},this._logic.setPropsData(e),this),this.setEvents=(e={})=>(e={...e},this._logic.setPropsEvent(e),this),this.mount=e=>{if(!this._el)return this._logic.mount(e),this._el=e,this},this.destroy=()=>(this._logic.unmount(),this._el=null,this),this.clear=()=>{this._logic.clear()},this.reset=()=>{this._logic.reset()},this.refresh=()=>{this._logic.refresh()},this.close=()=>{this._logic.close()},this._logic=new ns,this.setConfig(t)}};ie=()=>({width:300,height:220,verticalPadding:16,horizontalPadding:12,showTheme:!0,title:"\u8BF7\u62D6\u62FD\u8D34\u56FE\u5B8C\u6210\u62FC\u56FE",iconSize:22,scope:!0}),le=()=>
39({thumbX:0,thumbY:0,thumbWidth:0,thumbHeight:0,image:"",thumb:""});hs=class{constructor(){this.name="SlideRegionComponent",this.logicProps=N({data:{...le()},event:{},config:{...ie()}}),this.localData=N({...Y(this.logicProps.data)}),this.localEvent=N({...Y(this.logicProps.event)}),this.localConfig=N({...Y(this.logicProps.config)}),this.rootRef=G(null),this.containerRef=G(null),this.tileRef=G(null),this.clear=()=>{this.handler.clearData()},this.reset=()=>{this.handler.resetData()},this.refresh=()=>{this.handler.refresh()},this.close=()=>{this.handler.close()},this.clearData=()=>{this.localData.thumb="",this.localData.image="",this.localData.thumbX=0,this.localData.thumbY=0,this.localData.thumbWidth=0,this.localData.thumbHeight=0},this.setPropsData=t=>{this.logicProps.data=t},this.setPropsEvent=t=>{this.logicProps.event=t},this.setPropsConfig=t=>{this.logicProps.config=t},this.setup=()=>{let t=this.localData,e=this.localEvent,s=this.localConfig;this.wrapperStyles=S(()=>{let i=s.horizontalPadding||0,o=s.verticalPadding||0;return{width:(s.width||0)+i*2+(s.showTheme?2:0)+"px",paddingLeft:i+"px",paddingRight:i+"px",paddingTop:o+"px",paddingBottom:o+"px",display:this.hasDisplayWrapperState.value?"inherit":"none"}}),this.hasDisplayImageState=S(()=>t.image&&t.image.length>0||t.thumb&&t.thumb.length>0),this.hasDisplayWrapperState=S(()=>(s.width||0)>0||(s.height||0)>0),this.bodyStyles=S(()=>{let i=s.width,o=s.height;return{width:i+"px",height:o+"px"}}),this.thumbStyles=S(()=>{let i=this.handler.state.x,o=this.handler.state.y,C=this.hasDisplayImageState.value,d=t.thumbWidth||s.thumbWidth,I=t.thumbHeight||s.thumbHeight;return{width:d+"px",height:I+"px",display:C?"inherit":"none",top:o+"px",left:i+"px"}}),this.imageStyles=S(()=>{let i=s.width,o=s.height;return{width:i+"px",height:o+"px",display:this.hasDisplayImageState.value?"inherit":"none"}}),this.iconStyles=S(()=>{let i=s.iconSize;return{width:i,height:i}});let l=i=>i.preventDefault();return St(async()=>{this.tileRef?.value&&this.tileRef.value.addEventListener("dragstart",l)}),Pt(()=>{this.tileRef?.value&&this.tileRef.value.removeEventListener("dragstart",l)}),{rootRef:this.rootRef,containerRef:this.containerRef,tileRef:this.tileRef}},this.render=t=>r("div",{class:`go-captcha gc-slide-mode gc-wrapper ${this.localConfig.showTheme&&"gc-theme"}`,style:this.wrapperStyles.value,ref:"rootRef"},[r("div",{class:"gc-header"},[r("span",{style:{"text-align":"center",padding:"0"}},[this.localConfig.title])]),r("div",{class:"gc-body",style:this.bodyStyles.value,ref:"containerRef"},[r("div",{class:"gc-loading"},[mt()]),r("img",{class:"gc-picture",style:this.imageStyles.value,src:this.localData.image}),r("div",{class:"gc-tile",ref:"tileRef",style:this.thumbStyles.value,onMousedown:this.handler.dragEvent,onTouchstart:this.handler.dragEvent},[r("img",{style:{display:this.hasDisplayImageState.value?"inherit":"none"},src:this.localData.thumb})])]),r("div",{class:"gc-footer"},[r("div",{class:"gc-icon-block"},[r("div",{class:"gc-icon-block"},[Et({...this.iconStyles.value,clickEvent:this.handler.closeEvent}),yt({...this.iconStyles.value,clickEvent:this.handler.refreshEvent})])])])]),this.mount=t=>{this.unmountFn=vt(r(this),t)},this.unmount=()=>{this.unmountFn&&this.unmountFn()},j(()=>this.logicProps.config,(t,e)=>{Object.assign(this.localConfig,t)},{deep:!0}),j(()=>this.logicProps.data,(t,e)=>{Object.assign(this.localData,t),this.handler?.updateData(this.localData)},{deep:!0}),j(()=>this.logicProps.event,(t,e)=>{Object.assign(this.localEvent,t)},{deep:!0}),this.handler=os(this.localData,this.localEvent,this.localConfig,this.rootRef,this.containerRef,this.tileRef,this.clearData)}},cs=class{constructor(t={}){this.setConfig=(e={})=>(e={...ie(),...e},this._logic.setPropsConfig(e),this),this.setData=(e={})=>(e={...le(),...e},this._logic.setPropsData(e),this),this.setEvents=(e={})=>(e={...e},this._logic.setPropsEvent(e),this),this.mount=e=>{if(!this._el)return this._logic.mount(e),this._el=e,this},this.destroy=()=>(this._logic.unmount(),this._el=null,this),this.clear=()=>{this._logic.clear()},this.reset=()=>{this._logic.reset()},this.refresh=()=>{this._logic.refresh()},this.close=()=>{this._logic.close()},this._logic=new hs,this.setConfig(t)}};ne=()=>({width:300,height:220,size:220,verticalPadding:16,horizontalPadding:12,showTheme:!0,title:"\u8BF7\u62D6\u52A8\u6ED1\u5757\u5B8C\u6210\u62FC\u56FE",iconSize:22,scope:!0}),ae=()=>({angle:0,image:"",thumb:"",thumbSize:0});gs=class{constructor(){this.name="RotateComponent",this.logicProps=N({data:{...ae()},event:{},config:{...ne()}}),this.localData=N({...Y(this.logicProps.data)}),this.localEvent=N({...Y(this.logicProps.event)}),this.localConfig=N({...Y(this.logicProps.config)}),this.rootRef=G(null),this.dragBarRef=G(null),this.dragBlockRef=G(null),this.clear=()=>{this.handler.clearData()},this.reset=()=>{this.handler.resetData()},this.refresh=()=>{this.handler.refresh()},this.close=()=>{this.handler.close()},this.clearData=()=>{this.localData.thumb="",this.localData.image="",this.localData.angle=0},this.setPropsData=t=>{this.logicProps.data=t},this.setPropsEvent=t=>{this.logicProps.event=t},this.setPropsConfig=t=>{this.logicProps.config=t},this.setup=()=>{let t=this.localData,e=this.localEvent,s=this.localConfig;this.wrapperStyles=S(()=>{let i=s.horizontalPadding||0,o=s.verticalPadding||0;return{width:(s.width||0)+i*2+(s.showTheme?2:0)+"px",paddingLeft:i+"px",paddingRight:i+"px",paddingTop:o+"px",paddingBottom:o+"px",display:this.hasDisplayWrapperState.value?"inherit":"none"}}),this.hasDisplayImageState=S(()=>t.image&&t.image.length>0||t.thumb&&t.thumb.length>0),this.hasDisplayWrapperState=S(()=>(s.width||0)>0||(s.height||0)>0),this.bodyStyles=S(()=>{let i=s.width,o=s.height;return{width:i+"px",height:o+"px"}}),this.thumbStyles=S(()=>({transform:`rotate(${this.handler.state.thumbAngle}deg)`,...t.thumbSize>0?{width:t.thumbSize+"px",height:t.thumbSize+"px"}:{}})),this.imageStyles=S(()=>{let i=s.size;return{width:i+"px",height:i+"px"}}),this.iconStyles=S(()=>{let i=s.iconSize;return{width:i,height:i}});let l=i=>i.preventDefault();return St(async()=>{this.dragBlockRef?.value&&this.dragBlockRef.value.addEventListener("dragstart",l)}),Pt(()=>{this.dragBlockRef?.value&&this.dragBlockRef.value.removeEventListener("dragstart",l)}),{rootRef:this.rootRef,dragBlockRef:this.dragBlockRef,dragBarRef:this.dragBarRef}},this.render=t=>r("div",{class:`go-captcha gc-rotate-mode gc-wrapper ${this.localConfig.showTheme&&"gc-theme"}`,style:this.wrapperStyles.value,ref:"rootRef"},[r("div",{class:"gc-header"},[r("span",{},[this.localConfig.title]),r("div",{class:"gc-icon-block"},[Et({...this.iconStyles.value,clickEvent:this.handler.closeEvent}),yt({...this.iconStyles.value,clickEvent:this.handler.refreshEvent})])]),r("div",{class:"gc-body",style:this.bodyStyles.value,ref:"containerRef"},[r("div",{class:"gc-body-inner",style:this.imageStyles.value},[r("div",{class:"gc-loading"},[mt()]),r("div",{class:"gc-picture gc-rotate-picture",style:this.imageStyles.value},[r("img",{style:{display:this.hasDisplayImageState.value?"inherit":"none"},src:this.localData.image}),r("div",{class:"gc-round"})]),r("div",{class:"gc-thumb gc-rotate-thumb"},[r("div",{class:"gc-rotate-thumb-block",style:this.thumbStyles.value},[r("img",{style:{display:this.hasDisplayImageState.value?"inherit":"none"},src:this.localData.thumb})])])])]),r("div",{class:"gc-footer"},[r("div",{class:"gc-drag-slide-bar",ref:"dragBarRef"},[r("div",{class:"gc-drag-line"}),r("div",{class:`gc-drag-block ${this.hasDisplayImageState.value?"":"disabled"}`,style:{left:this.handler.state.dragLeft+"px"},ref:"dragBlockRef",onMousedown:this.handler.dragEvent},[r("div",{class:"gc-drag-block-inline",onTouchstart:this.handler.dragEvent},[Jt()])])])])]),this.mount=t=>{this.unmountFn=vt(r(this),t)},this.unmount=()=>{this.unmountFn&&this.unmountFn()},j(()=>this.logicProps.config,(t,e)=>{Object.assign(this.localConfig,t)},{deep:!0}),j(()=>this.logicProps.data,(t,e)=>{Object.assign(this.localData,t),this.handler?.updateData(this.localData)},{deep:!0}),j(()=>this.logicProps.event,(t,e)=>{Object.assign(this.localEvent,t)},{deep:!0}),this.handler=ds(this.localData,this.localEvent,this.localConfig,this.rootRef,this.dragBlockRef,this.dragBarRef,this.clearData)}},ps=class{constructor(t={}){this.setConfig=(e={})=>(e={...ne(),...e},this._logic.setPropsConfig(e),this),this.setData=(e={})=>(e={...ae(),...e},this._logic.setPropsData(e),this),this.setEvents=(e={})=>(e={...e},this._logic.setPropsEvent(e),this),this.mount=e=>{if(!this._el)return this._logic.mount(e),this._el=e,this},this.destroy=()=>(this._logic.unmount(),this._el=null,this),this.clear=()=>{this._logic.clear()},this.reset=()=>{this._logic.reset()},this.refresh=()=>{this._logic.refresh()},this.close=()=>{this._logic.close()},this._logic=new gs,this.setConfig(t)}};re={Button:Ze,Click:is,Slide:rs,SlideRegion:us,Rotate:vs}});var fs=ce(()=>{oe();window.GoCaptcha=re});fs();})();

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