PageSourceSearch

https://eventconnex.co/_next/static/chunks/pages/organizers/[organ…/onsite/check-in-5dcb50062ce311ad.js

js eventconnex.co collected 2026-09-26 08:17:20 UTC 20,221 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7704],{15501:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return z}});var s=n(50029),r=n(92777),a=n(82262),i=n(45959),c=n(63553),o=n(37247),l=n(87794),u=n.n(l),d=n(67294),f=n(72198),m=n(87629),p=n(47643),h=n(59499),x=n(4730),v=n(76046),g=(n(43648),n(95303)),b=n(85893),j=["field","form","className","required","placeholder","type","isNotClearable","containerClassName","onKeyDown","autoComplete","prepend","description","append","example","borderError"];function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N=v.styled.label.withConfig({displayName:"TextField__Label",componentId:"sc-1a9z4uv-0"})(["color:"," !important;"],(function(e){return e.theme.textColor})),k=v.styled.input.withConfig({displayName:"TextField__TextInput",componentId:"sc-1a9z4uv-1"})(["color:"," !important;border-color:",";"],(function(e){return e.theme.textColor}),g.$_.border),C=function(e){var t=e.field,n=e.form,s=n.touched,r=n.errors,a=e.className,i=e.required,c=e.placeholder,o=e.type,l=e.isNotClearable,u=void 0!==l&&l,f=e.containerClassName,m=e.onKeyDown,p=void 0===m?function(){}:m,h=e.autoComplete,v=void 0===h?"on":h,g=e.prepend,w=void 0===g?"":g,C=e.description,D=e.append,Z=void 0===D?"":D,H=e.example,O=e.borderError,_=void 0!==O&&O,S=(0,x.Z)(e,j),V=function(){return"password"===M&&"password"===o?(0,b.jsx)(I,{icon:"/assets/icons/eye.svg"}):"password"!==M&&"password"===o?(0,b.jsx)(I,{icon:"/assets/icons/eyeOff.svg"}):null},E=Boolean(r[t.name]&&s[t.name]),P=(0,d.useState)(o),M=P[0];P[1];return(0,b.jsxs)("div",{className:f,children:[e.label?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(N,{className:"d-flex",children:[e.label," ",i&&(0,b.jsx)("span",{className:"text-danger",children:"*"})," ",H&&(0,b.jsx)("div",{className:"text-muted ml-2",children:H})]}),C&&(0,b.jsx)("p",{className:"py-0 my-0 text-muted",children:(0,b.jsxs)("small",{children:[" ",e.description," "]})})]}):"",(0,b.jsxs)("div",{className:"input-group ".concat(_&&"error"),style:{position:"relative"},children:[w&&(0,b.jsx)("div",{class:"input-group-prepend ",children:(0,b.jsx)("span",{class:"input-group-text border-dark",children:w})}),(0,b.jsx)(k,y(y(y({type:M,className:"form-control ".concat(E&&"error"," ").concat(a," border-0")},t),S),{},{autoComplete:v,placeholder:c,onWheel:function(e){e.preventDefault()},style:{backgroundColor:e.disabled?"#E0E0E0":"white"},min:e.min?e.min:0,max:e.max&&e.max,onChange:function(n){if(!u||""!==n.target.value){var s=n;e.maxLength&&(s.target.value=s.target.value.slice(0,e.maxLength)),e.positive&&s.target.value.length>0&&(s.target.value=s.target.value.replace("-","")),e.max&&s.target.value>e.max&&(s.target.value=e.max),e.min&&s.target.value<e.min&&(s.target.value=e.min),s.target.value=(s.target.value+"").trimLeft(),t.onChange(s)}e.onChange&&e.onChange(s.target.value)},onFocus:function(e){u&&e.target.select()},onKeyDown:p})),Z&&(0,b.jsx)("div",{className:"input-group-append ",children:(0,b.jsx)("span",{className:"input-group-text border-dark",children:Z})}),(0,b.jsx)(V,{})]}),E&&(0,b.jsx)("div",{style:{whiteSpace:"pre-line"},className:"text-danger",children:r[t.name]})]})},D=n(62050),Z=n(97837),H=n(91659),O=n(83715),_=n(70814),S=n(31719),V=function(e,t){var n=e.split("."),s=null;switch(n[n.length-1].toLowerCase()){case"png":case"jpg":case"jpeg":case"gif":case"webp":s=(0,b.jsx)("img",{className:"rounded img--check-in",src:e});break;case"webm":case"mp4":case"mov":case"wav":case"wmv":s=(0,b.jsxs)("div",{className:"d-flex align-items-center flex-column",children:[(0,b.jsx)("video",{controls:!0,width:"100%",src:e}),(0,b.jsx)("p",{className:"my-2",children:t})]});break;case"mp3":s=(0,b.jsxs)("div",{className:"d-flex align-items-center flex-column",children:[(0,b.jsx)("p",{className:"mb-2",children:t}),(0,b.jsx)("audio",{controls:!0,src:e})]});break;case"pdf":s=(0,b.jsxs)("div",{className:"d-flex align-items-center justify-content-between w-100 border p-3 rounded",children:[(0,b.jsxs)("div",{className:"d-flex align-items-center",children:[(0,b.jsx)("i",{className:"fas fa-file-pdf fs-30 ml-3 text-danger"}),(0,b.jsx)("span",{className:"ml-3",children:t})]}),(0,b.jsx)("a",{href:e,download:!0,children:(0,b.jsx)("button",{className:"btn btn-outline-black mr-2 py-1",type:"button",children:(0,b.jsx)("i",{className:"fa fa-download"})})})]});break;default:s=(0,b.jsxs)("div",{className:"d-flex align-items-center justify-content-between w-100 border p-3 rounded",children:[(0,b.jsxs)("div",{className:"d-flex align-items-center w-75",children:[(0,b.jsx)("i",{className:"fas fa-file-excel fs-30 ml-3 text--color__excel"}),(0,b.jsx)("span",{className:"ml-3 truncated",children:t})]}),(0,b.jsx)("a",{href:e,download:!0,children:(0,b.jsx)("button",{className:"btn btn-outline-black mr-2 py-1",type:"button",children:(0,b.jsx)("i",{className:"fa fa-download"})})})]})}return s},E={accountID:"",firstName:"",lastName:"",email:"",serial:"",badgeHtml:""},P=[{id:"",questionName:"",answers:[{answerID:"",text:""},{answerID:"",text:""},{answerID:"",text:""},{answerID:"",text:""},{answerID:"",text:""},{answerID:"",text:""}]}],M=v.default.div.withConfig({displayName:"OnsiteCheckIn__LabelStyled",componentId:"sc-1ojo58u-0"})(["margin-bottom:8px;p{margin-bottom:0 !important;}"]),F=function(e){var t=e.sideNav,n=e.eventsID,r=e.eventInfo,a=(0,d.useState)(!1),i=a[0],c=a[1],o=(0,d.useState)(E),l=o[0],h=o[1],x=(0,d.useState)(P),v=x[0],g=x[1],j=(0,d.useState)(!1),w=j[0],y=j[1],N=(0,d.useState)(!1),I=N[0],k=N[1],F=(0,d.useState)(null),B=F[0],R=F[1],T=(0,d.useRef)(null),z=function(){var e=(0,s.Z)(u().mark((function e(t){var s,a,i,c,o,l,d;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.serialNo){e.next=3;break}return R(null),e.abrupt("return");case 3:return s=t.serialNo.trim(),y(!0),e.prev=5,e.next=8,D.Z.getOnsiteAccountCheckIn({serialNo:s,eventID:n,registerConfigID:r.registerConfigID});case 8:return a=e.sent,i=a.data.result,c=i.accountID,o=i.registerFormConfigID,e.next=13,D.Z.getOnsiteAnswerQuestion({accountID:c,eventID:n,registerConfigID:r.registerConfigID,registerFormConfigID:o});case 13:l=e.sent,d=l.data.result.answerQuestion,h(i),g(d),y(!1),R(!0),e.next=26;break;case 21:e.prev=21,e.t0=e.catch(5),y(!1),R(!1),h(E);case 26:case"end":return e.stop()}}),e,null,[[5,21]])})));return function(t){return e.apply(this,arguments)}}(),L=function(){var e=(0,s.Z)(u().mark((function e(){var t,s;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l.serial){e.next=2;break}return e.abrupt("return");
1case 2:return e.prev=2,e.next=5,D.Z.sendCheckInVisitor({serialNo:l.serial.trim(),eventID:n,device:"web",accessFrom:"connex"});case 5:Z.F.showSuccessToast("Check In Success"),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(2),console.log("\ud83d\ude80 ~ handleCheckIn ~ err:",e.t0),e.t0.response.data&&(t=e.t0.response.data,s=t.message,t.statusCode,"Account not permission action."===s?S.W.showDialogWarning({message:"Access Denied",title:"You don't have permission to this action. Please check your credentials and try again.",labelButtonClose:"OK"}):S.W.showDialogFail({message:s}));case 12:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(){return e.apply(this,arguments)}}(),A=function(){h(E),i?(localStorage.setItem("autoCheckIn",!1),c(!1)):(localStorage.setItem("autoCheckIn",!0),c(!0))},W=function(e,t){var n=e.split("."),s={icon:null,isShowBtn:!0};switch(n[n.length-1].toLowerCase()){case"png":case"jpg":case"jpeg":case"gif":case"webp":s={icon:(0,b.jsx)("i",{className:"fas fa-file-image fs-30 ml-3 text_primary"}),isShowBtn:!0};break;case"webm":case"mp4":case"mov":case"wav":case"wmv":s={icon:(0,b.jsx)("i",{className:"fas fa-file-video fs-30 ml-3 text-warning"}),isShowBtn:!0};break;case"mp3":s={icon:(0,b.jsx)("i",{className:"fas fa-file-audio fs-30 ml-3 text-info"}),isShowBtn:!0};break;case"pdf":s={icon:(0,b.jsx)("i",{className:"fas fa-file-pdf fs-30 ml-3 text-danger"}),isShowBtn:!1};break;default:s={icon:(0,b.jsx)("i",{className:"fas fa-file-excel fs-30 ml-3 text--color__excel"}),isShowBtn:!1}}return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"d-flex align-items-center justify-content-between",children:[(0,b.jsxs)("div",{className:"d-flex align-items-center w-75",children:[s.icon,(0,b.jsx)("span",{className:"ml-3 truncated mw-100",children:t})]}),(0,b.jsxs)("div",{children:[s.isShowBtn&&(0,b.jsx)("button",{className:"btn btn-outline-black mr-2 py-1",type:"button",onClick:function(){return k(!0)},children:(0,b.jsx)("i",{className:"fas fa-magnifying-glass-plus"})}),(0,b.jsx)("a",{href:e,download:!0,children:(0,b.jsx)("button",{className:"btn btn-outline-black mr-2 py-1",type:"button",children:(0,b.jsx)("i",{className:"fa fa-download"})})})]})]}),(0,b.jsx)(_.Z,{show:I,size:"xl",onCloseCallback:function(){return k(!I)},children:(0,b.jsx)("div",{className:"d-flex p-4 justify-content-center align-items-center p-3 onsite--view__point",children:V(e,t)})})]})};return(0,d.useEffect)((function(){var e=localStorage.getItem("autoCheckIn");if(e){var t=JSON.parse(e);c(t)}}),[]),(0,d.useEffect)((0,s.Z)(u().mark((function e(){var t,s;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i&&l.accountID&&l.serial)){e.next=11;break}return e.prev=1,e.next=4,D.Z.sendCheckInVisitor({serialNo:l.serial.trim(),eventID:n,device:"web",accessFrom:"connex"});case 4:Z.F.showSuccessToast("Check In Success"),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(1),console.log("\ud83d\ude80 ~ useEffect ~ err:",e.t0),e.t0.response.data&&(t=e.t0.response.data,s=t.message,t.statusCode,"Account not permission action."===s?S.W.showDialogWarning({message:"Access Denied",title:"You don't have permission to this action. Please check your credentials and try again.",labelButtonClose:"OK"}):S.W.showDialogFail({message:s}));case 11:case"end":return e.stop()}}),e,null,[[1,7]])}))),[l.accountID,l.serial]),(0,b.jsxs)(m.Z,{className:"my-3",sideNav:t,isShowSubNavMenuEvent:!0,isShowSideNav:!0,showPublicEvent:!0,children:[(0,b.jsx)("div",{className:"container-fluid",children:(0,b.jsx)("div",{className:"event-container shadow-sm px-3 py-4 mt-4",children:(0,b.jsx)("div",{className:"row",children:(0,b.jsxs)("div",{className:"col-12 mb-3",children:[(0,b.jsxs)("div",{className:"d-flex align-items-center justify-content-between mb-4",children:[(0,b.jsx)("h1",{className:"text-blue fs-28 fw-700 m-0",children:"Check In"}),(0,b.jsxs)("div",{className:"d-flex justify-content-center align-items-center",children:[(0,b.jsx)("span",{className:"mr-3 cursor-pointer",onClick:A,children:"Auto Check In"}),(0,b.jsx)(p.Z,{colorChecked:"checked--green",className:"mb-0",disabled:!1,checked:i,onClick:A})]})]}),(0,b.jsx)(f.Formik,{innerRef:T,initialValues:{serialNo:""},enableReinitialize:!0,onSubmit:z,children:function(e){return(0,b.jsxs)(f.Form,{className:"position-relative",children:[(0,b.jsx)(f.Field,{label:"Serial Number",name:"serialNo",placeholder:"Serial Number",component:C,className:"h-100",borderError:!1===B}),(0,b.jsx)("div",{className:"input--icon",children:null===B?(0,b.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:(0,b.jsx)("path",{d:"M0 28V4H1.125V28H0ZM1.67856 27.9829V4H2.25V27.9829H1.67856ZM3.375 27.9829V4H3.92856V27.9829H3.375ZM6.17856 27.9829V4H6.73212V27.9829H6.17856ZM8.42856 27.9829V4H9.53569V27.9829H8.42856ZM11.2321 27.9829V4H11.7857V27.9829H11.2321ZM12.3571 27.9829V4H12.9107V27.9829H12.3571ZM13.4821 27.9829V4H14.0357V27.9829H13.4821ZM15.7143 27.9829V4H16.8393V27.9829H15.7143ZM18.5179 27.9829V4H19.6429V27.9829H18.5179ZM20.7678 27.9829V4H21.8929V27.9829H20.7678ZM23.0179 27.9829V4H24.1429V27.9829H23.0179ZM24.6964 27.9829V4H25.8214V27.9829H24.6964ZM27.5179 27.9829V4H29.1964V27.9829H27.5179ZM29.75 27.9829V4H30.3214V27.9829H29.75ZM30.875 28V4H32V28H30.875Z",fill:"#4C5398"})}):B?(0,b.jsx)("i",{className:"fas fa-check-circle fs-24 mt-1 text-success"}):(0,b.jsx)("i",{className:"fas fa-times-circle fs-24 mt-1 text-danger cursor-pointer",onClick:function(){R(null),e.setFieldValue("serialNo","")}})})]})}})]})})})}),(0,b.jsx)("div",{className:"container-fluid mb-3",children:(0,b.jsx)("div",{className:"event-container bg-transparent mt-4",children:l.accountID?(0,b.jsxs)(O.Kv,{noBadge:!(null!==l&&void 0!==l&&l.badgeHtml),children:[(0,b.jsx)("div",{children:(0,b.jsxs)(O.E,{className:"w-100 result__check--in",children:[(0,b.jsx)("p",{className:"text-blue fs-28 fw-700 m-0",children:"Result Check In"}),(0,b.jsx)("section",{className:"d-lg-flex p-0 justify-content-center align-items-start pb-4",children:(0,b.jsx)("div",{className:"w-100 radius-15",children:v.map((function(e){return(0,b.jsxs)("div",{className:"w-100",children:[(0,b.jsx)(M,{className:"mt-3",children:(0,b.jsx)("div",{dangerouslySetInnerHTML:{__html:e.questionName||""}})}),0===e.answers.length?(0,b.jsx)("input",{readOnly:!0,className:"form-control bg-white mb-3",type:"text",defaultValue:""}):e.answers.map((function(t,n){var s,r,a,i,c;return null!==(s=t.file)&&void 0!==s&&s.fileUrl?(0,b.jsx)("div",{className:"d-flex justify-content-center my-3",children:"64c0f1ea36995a001c35dc11"===e.question?(0,b.jsx)("img",{className:"rounded img--check-in",src:(null===(r=t.file)||void 0===r?void 0:r.fileUrl)||"/static/img/noimage.jpg",alt:"Image Profile"}):V(null===(a=t.file)||void 0===a?void 0:a.fileUrl,null===(i=t.file)||void 0===i?void 0:i.fileName)},t.answerID):(null===t||void 0===t||null===(c=t.files)||void 0===c?void 0:c.length)>=1?(0,b.jsx)("div",{children:t.files.map((function(e,t){return(0,b.jsx)("div",{className:"rounded py-2 mt-3 border",children:W(e.fileUrl,e.fileName)},t)}))},t.answerID):(0,b.jsx)("div",{children:e.answers.length>1?(0,b.jsxs)("div",{className:"d-flex ml-3",children:[(0,b.jsxs)("span",{className:"mr-3",children:[n+1,"."]}),(0,b.jsx)("span",{children:t.text})]}):(0,b.jsx)("input",{readOnly:!0,className:"form-control bg-white",type:"text",defaultValue:t.text})},t.answerID)}))]},e.id)}))})})]})}),(null===l||void 0===l?void 0:l.statusUseBadge)&&(null===l||void 0===l?void 0:l.badgeHtml)&&(0,b.jsx)("div",{className:"w-100 d-flex justify-content-center",children:(null===l||void 0===l?void 0:l.badgeHtml)&&(0,b.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===l||void 0===l?void 0:l.badgeHtml)||""}})}),!i&&(0,b.jsx)("div",{className:"d-flex justify-content-center",children:(0,b.jsx)(H.ZP,{type:"button",onClick:L,children:"Check in"})})]}):!1===B?(0,b.jsx)("div",{className:"d-flex justify-content-center align-items-center",children:(0,b.jsx)("img",{src:"/assets/icons/access-err.svg",alt:"catchErrHtml-img"})}):(0,b.jsxs)("div",{className:"d-flex justify-content-center col-12 mt-4",children:[(0,b.jsx)("br",{}),(0,b.jsx)(H.ZP,{isLoading:w,disabled:w,className:"col-3 ml-2 mt-4 w-100 btn-gradient",onClick:function(){T.current&&T.current.handleSubmit()},children:"Submit"})]})})})]})},B=n(95160);function R(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,s=(0,o.Z)(e);if(t){var r=(0,o.Z)(this).constructor;n=Reflect.construct(s,arguments,r)}else n=s.apply(this,arguments);return(0,c.Z)(this,n)}}var T=function(e){(0,i.Z)(n,e);var t=R(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.organizerID,n=e.eventsID,s=e.eventInfo;return(0,b.jsx)(F,{eventsID:n,eventInfo:s,sideNav:(0,B.Nm)({organizerID:t,eventsID:n})})}}],[{key:"getInitialProps",value:function(){var e=(0,s.Z)(u().mark((function e(t){var n,s,r,a,i,c;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.query,s=n.organizerID,r=n.eventsID,a={organizerID:s,eventID:r},e.prev=2,e.next=5,D.Z.getInfoEvent(a,t);case 5:return i=e.sent,c=i.data.result,e.abrupt("return",{organizerID:s,eventsID:r,eventInfo:c});case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",{organizerID:s,eventsID:r,eventInfo:{}});case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t){return e.apply(this,arguments)}}()}]),n}(d.Component),z=T},23259:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/organizers/[organizerID]/events/[eventsID]/onsite/check-in",function(){return n(15501)}])},10748:function(e,t,n){"use strict";function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return s}})},92777:function(e,t,n){"use strict";function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return s}})},82262:function(e,t,n){"use strict";function s(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function r(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}n.d(t,{Z:function(){return r}})},37247:function(e,t,n){"use strict";
1function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}n.d(t,{Z:function(){return s}})},45959:function(e,t,n){"use strict";function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}n.d(t,{Z:function(){return r}})},63553:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var s=n(14027),r=n(10748);function a(e,t){if(t&&("object"===s(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}},50549:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(67294);const r=s.createContext({});function a({baseColor:e,highlightColor:t,width:n,height:s,borderRadius:r,circle:a,direction:i,duration:c,enableAnimation:o=true,customHighlightBackgroun
1d:l}){const u={};return"rtl"===i&&(u["--animation-direction"]="reverse"),"number"===typeof c&&(u["--animation-duration"]=`${c}s`),o||(u["--pseudo-element-display"]="none"),"string"!==typeof n&&"number"!==typeof n||(u.width=n),"string"!==typeof s&&"number"!==typeof s||(u.height=s),"string"!==typeof r&&"number"!==typeof r||(u.borderRadius=r),a&&(u.borderRadius="50%"),"undefined"!==typeof e&&(u["--base-color"]=e),"undefined"!==typeof t&&(u["--highlight-color"]=t),"string"===typeof l&&(u["--custom-highlight-background"]=l),u}function i({count:e=1,wrapper:t,className:n,containerClassName:i,containerTestId:c,circle:o=!1,style:l,...u}){var d,f,m;const p=s.useContext(r),h={...u};for(const[s,r]of Object.entries(u))"undefined"===typeof r&&delete h[s];const x={...p,...h,circle:o},v={...l,...a(x)};let g="react-loading-skeleton";n&&(g+=` ${n}`);const b=null!==(d=x.inline)&&void 0!==d&&d,j=[],w=Math.ceil(e);for(let r=0;r<w;r++){let t=v;if(w>e&&r===w-1){const n=null!==(f=t.width)&&void 0!==f?f:"100%",s=e%1,r="number"===typeof n?n*s:`calc(${n} * ${s})`;t={...t,width:r}}const n=s.createElement("span",{className:g,style:t,key:r},"\u200c");b?j.push(n):j.push(s.createElement(s.Fragment,{key:r},n,s.createElement("br",null)))}return s.createElement("span",{className:i,"data-testid":c,"aria-live":"polite","aria-busy":null===(m=x.enableAnimation)||void 0===m||m},t?j.map(((e,n)=>s.createElement(t,{key:n},e))):j)}}},function(e){e.O(0,[8209,7573,6901,2198,814,6255,7629,3715,9774,2888,179],(function(){return t=23259,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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