PageSourceSearch

https://static.sketchfab.com/static/builds/web/dist/02855c9aff6e440278f4857c2a6dd1eb-v2.js

js sketchfab.com collected 2026-09-24 08:24:39 UTC 4,501 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksketchfab=self.webpackChunksketchfab||[]).push([[651],{vAnt:(e,a,s)=>{s.d(a,{Z:()=>m});var t,n,o=s("sQwH"),l=s("3MRe"),c=s("D4hk"),i=s("3Z9q"),d=s("X40V"),r=s("wExz"),p=s("lMO9");const Z=["subtext","text","onClick","icon","size","type","className","iconClassName","disabled","loading","success","progress","htmlType","children"],h=i.forwardRef(((e,a)=>e.href&&!e.disabled?i.createElement("a",(0,c.Z)({ref:a},e)):i.createElement("button",(0,c.Z)({ref:a},e)))),m=i.forwardRef(((e,a)=>{let{subtext:s,text:m,onClick:u,icon:b,size:v="medium",type:k="primary",className:f="",iconClassName:g="",disabled:w=!1,loading:C=!1,success:N=!1,progress:y,htmlType:x,children:_}=e,I=(0,l.Z)(e,Z);const E=w||C;return i.createElement(h,(0,c.Z)({ref:a},I,{type:x,className:(0,d.AK)("button",`btn-${k}`,`btn-${v}`,f,{"btn-loading":C,"btn-disabled":E}),disabled:E,onClick:e=>{!E&&u&&u(e)}}),N?t||(t=(0,o.Z)(p.Z,{})):C?n||(n=(0,o.Z)(r.Z,{})):b?(0,o.Z)("span",{className:"icon"},void 0,b):g?(0,o.Z)("span",{className:(0,d.AK)("icon ",g)}):null,(0,o.Z)("span",{className:"button__text-container"},void 0,m,s?(0,o.Z)("span",{className:"button__subtext"},void 0,s):null),_,C&&void 0!==y?(0,o.Z)("span",{className:"button__progress",style:{width:100*y+"%"}}):null)}))},"8xE2":(e,a,s)=>{s.d(a,{Z:()=>i});var t=s("sQwH"),n=s("NQ1V"),o=s("3Z9q"),l=s("g/7r"),c=s("X40V");class i extends o.Component{constructor(...e){super(...e),(0,n.Z)(this,"onClickIfSpacebar",(e=>{var a=e.keyCode||e.which;0!==a&&32!==a||this.onClick(e)})),(0,n.Z)(this,"onClick",(e=>{e.preventDefault(),this.props.disabled||this.props.onChange(!this.props.isChecked,e)}))}render(){const{isChecked:e,isIndeterminate:a,name:s,isTouched:n,error:i,disabled:d=!1,label:r="",className:p="",children:Z,title:h}=this.props;return(0,t.Z)(o.Fragment,{},void 0,(0,t.Z)("div",{onKeyDown:this.onClickIfSpacebar,onClick:this.onClick,className:`c-checkbox ${p} ${d?"--disabled":""} ${a?"--indeterminate":""} ${e?"--active":""}`,title:h},void 0,(0,t.Z)("input",{id:s,className:"c-checkbox__input",type:"checkbox",name:s,checked:e,onChange:l.EI,disabled:d}),(0,t.Z)("div",{"data-selenium":`checkbox-${s}`,className:"c-checkbox__actor"}),(0,t.Z)("label",{tabIndex:0,className:(0,c.AK)("c-checkbox__label",{"--disabled":d}),htmlFor:s},void 0,Z||r)),n&&i?(0,t.Z)("label",{className:"form-error"},void 0,i):null)}}},lMO9:(e,a,s)=>{s.d(a,{Z:()=>o});var t=s("sQwH"),n=(s("3Z9q"),s("KDlt"));s("Z5CY");const o=()=>(0,t.Z)("div",{className:"check",dangerouslySetInnerHTML:{__html:n.Z.getFromMacro("front/macros/logo","spinner_check",[])}})},wExz:(e,a,s)=>{s.d(a,{Z:()=>o});var t,n=s("sQwH");s("3Z9q");const o=()=>t||(t=(0,n.Z)("div",{className:"sketchfab-spinner"},void 0,(0,n.Z)("svg",{viewBox:"0 0 13 16",xmlns:"http://www.w3.org/2000/svg"},void 0,(0,n.Z)("g",{fillRule:"nonzero"},void 0,(0,n.Z)("path",{className:"shape1",d:"M5.3029 8.1731L0 4.9864v5.8286l5.3029 3.1867z"}),(0,n.Z)("path",{className:"shape2",d:"M5.9987 6.9902l5.8157-3.495L5.9987 0 .1829 3.4953z"}),(0,n.Z)("path",{className:"shape3",d:"M6.6944 8.1731v5.8286l5.303-3.1867V4.9864z"})))))},abxi:(e,a,s)=>{s.r(a),s.d(a,{default:()=>m});var t,n,o=s("sQwH"),l=s("IDtV"),c=s("3Z9q"),i=s("YpOo"),d=s("vAnt"),r=s("8xE2"),p=s("5hHH"),Z=s("jQKg"),h=s("eKF4");const m=(0,l.Z)((e=>{const[a,s]=c.useState(!1),l=()=>Z.Z.deleteAccount().then((()=>{localStorage.setItem("userUid",h.Z.me().get("uid")),p.Z.push("/farewell")}));return(0,o.Z)(i.Z,{className:"c-popup-confirmation",title:"Before deleting your account",onClose:e.popup.close},void 0,(0,o.Z)("div",{className:"c-popup__body"},void 0,t||(t=(0,o.Z)("p",{},void 0,"Deleting your account will ",(0,o.Z)("b",{},void 0,"delete all your content")," on Sketchfab. It is"," ",(0,o.Z)("b",{},void 0,"final")," and ",(0,o.Z)("b",{},void 0,"irreversible"),".")),n||(n=(0,o.Z)("p",{},void 0,"You will ",(0,o.Z)("b",{},void 0,"not")," be able to create a new account using the same username or email address.")),(0,o.Z)(r.Z,{name:"confirmed",isChecked:a,label:"I understand that all my content will be deleted.",onChange:s})),(0,o.Z)("div",{className:"c-popup__footer"},void 0,(0,o.Z)(d.Z,{type:"tertiary",onClick:e.popup.close},void 0," ","Keep my account"," "),(0,o.Z)(d.Z,{type:"danger",disabled:!a,onClick:async()=>{h.Z.me().get("hasPaidPlan")&&!h.Z.me().get("planEndsAt")?await Z.Z.cancelPlanSubscription().then((()=>l())):l()}},void 0," ","I understand, delete my account"," ")))}))}}]);
2//# sourceMappingURL=02855c9aff6e440278f4857c2a6dd1eb-v2.js.map

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.