����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.117.93.231 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/cbt.bofirm.com/public/js/ |
Upload File : |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9048,629,6468,6178,3496,565],{15422:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:["on"]};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("transition",{attrs:{"leave-active-class":"transition ease-in duration-1000","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.on,expression:"on"}],staticClass:"text-gray-600"},[t._t("default")],2)])],1)}),[],!1,null,null,null).exports},5523:(t,e,s)=>{s.d(e,{Z:()=>o});const r={components:{ArcSectionTitle:s(34073).Z}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"md:grid md:grid-cols-3 md:gap-6"},[s("arc-section-title",{scopedSlots:t._u([{key:"title",fn:function(){return[t._t("title")]},proxy:!0},{key:"description",fn:function(){return[t._t("description")]},proxy:!0}],null,!0)}),t._v(" "),s("div",{staticClass:"mt-5 md:mt-0 md:col-span-2"},[s("div",{staticClass:"px-4 py-5 sm:p-6 bg-white shadow sm:rounded-sm"},[t._t("content")],2)])],1)}),[],!1,null,null,null).exports},97618:(t,e,s)=>{s.d(e,{Z:()=>r});const r=(0,s(51900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 50 50"}},[s("g",{attrs:{id:"Icon",transform:"translate(13 344)"}},[s("g",{attrs:{id:"circle",transform:"translate(-29 -361.14)"}},[s("circle",{attrs:{id:"bg_circle",cx:"25",cy:"25",r:"25",transform:"translate(16 17.14)",fill:"#25c16f"}}),t._v(" "),s("path",{attrs:{id:"white_ring",d:"M20,0A19.969,19.969,0,0,1,37.151,30.248c-.712,1.229-2.946,1.654-4.181,2.926-1.2,1.235-1.426,3.291-3.258,4.338A20.011,20.011,0,1,1,20,0Z",transform:"translate(21 22.14)",fill:"#fff"}}),t._v(" "),s("circle",{attrs:{id:"green_ring",cx:"15",cy:"15",r:"15",transform:"translate(26 27.14)",fill:"#25c16f"}})]),t._v(" "),s("g",{attrs:{id:"cursor",transform:"matrix(1, -0.017, 0.017, 1, 10.797, -319.593)"}},[s("path",{attrs:{id:"right",d:"M10.286,23.465a.687.687,0,0,1-.63-.413L.057.962a.687.687,0,0,1,.9-.9l22.09,9.6a.687.687,0,0,1-.073,1.288L16.249,13A4.885,4.885,0,0,0,13,16.249l-2.058,6.73a.687.687,0,0,1-.619.485Z",transform:"translate(0 0)",fill:"#fff"}}),t._v(" "),s("path",{attrs:{id:"left",d:"M27.244,9.657,5.154.058A.688.688,0,0,0,4.394.2h0L18.412,14.221A4.887,4.887,0,0,1,20.441,13l6.73-2.058a.687.687,0,0,0,.073-1.288Z",transform:"translate(-4.192 -0.001)",fill:"#fff"}})])])])}),[],!1,null,null,null).exports},60651:(t,e,s)=>{s.d(e,{Z:()=>o});const r={data:function(){return{show:!0}},computed:{style:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.bannerStyle)||"success"},message:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.banner)||""}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.show&&t.message?s("div",{class:{"bg-indigo-500":"success"==t.style,"bg-red-700":"danger"==t.style}},[s("div",{staticClass:"max-w-screen-xl mx-auto py-2 px-3 sm:px-6 lg:px-8"},[s("div",{staticClass:"flex items-center justify-between flex-wrap"},[s("div",{staticClass:"w-0 flex-1 flex items-center min-w-0"},[s("span",{staticClass:"flex p-2 rounded-md",class:{"bg-indigo-600":"success"==t.style,"bg-red-600":"danger"==t.style}},["success"==t.style?s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]):t._e(),t._v(" "),"danger"==t.style?s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})]):t._e()]),t._v(" "),s("p",{staticClass:"ml-3 font-medium text-white truncate"},[t._v("\n "+t._s(t.message)+"\n ")])]),t._v(" "),s("div",{staticClass:"flex-shrink-0 sm:ml-3"},[s("button",{staticClass:"-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition ease-in-out duration-150",class:{"hover:bg-indigo-600 focus:bg-indigo-600":"success"==t.style,"hover:bg-red-600 focus:bg-red-600":"danger"==t.style},attrs:{type:"button","aria-label":"Dismiss"},on:{click:function(e){e.preventDefault(),t.show=!1}}},[s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])])])]):t._e()])}),[],!1,null,null,null).exports},93046:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:{type:{type:String,default:"submit"}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"inline-flex items-center px-4 py-2 bg-gray-800 border border-transparent rounded-sm font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 active:bg-gray-900 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports},25888:(t,e,s)=>{s.d(e,{Z:()=>c});var r=s(93046),o=s(88749),a=s(6985),n=s(26216),i=s(9556);const l={props:{title:{default:"Confirm Password"},content:{default:"For your security, please confirm your password to continue."},button:{default:"Confirm"}},components:{JetButton:r.Z,JetDialogModal:o.Z,JetInput:a.Z,JetInputError:n.Z,JetSecondaryButton:i.Z},data:function(){return{confirmingPassword:!1,form:{password:"",error:""}}},methods:{startConfirmingPassword:function(){var t=this;axios.get(route("password.confirmation")).then((function(e){e.data.confirmed?t.$emit("confirmed"):(t.confirmingPassword=!0,setTimeout((function(){return t.$refs.password.focus()}),250))}))},confirmPassword:function(){var t=this;this.form.processing=!0,axios.post(route("password.confirm"),{password:this.form.password}).then((function(){t.form.processing=!1,t.closeModal(),t.$nextTick((function(){return t.$emit("confirmed")}))})).catch((function(e){t.form.processing=!1,t.form.error=e.response.data.errors.password[0],t.$refs.password.focus()}))},closeModal:function(){this.confirmingPassword=!1,this.form.password="",this.form.error=""}}};const c=(0,s(51900).Z)(l,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",[s("span",{on:{click:t.startConfirmingPassword}},[t._t("default")],2),t._v(" "),s("jet-dialog-modal",{attrs:{show:t.confirmingPassword},on:{close:t.closeModal},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n "+t._s(t.title)+"\n ")]},proxy:!0},{key:"content",fn:function(){return[t._v("\n "+t._s(t.content)+"\n\n "),s("div",{staticClass:"mt-4"},[s("jet-input",{ref:"password",staticClass:"mt-1 block w-3/4",attrs:{type:"password",placeholder:"Password"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.confirmPassword(e)}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),s("jet-input-error",{staticClass:"mt-2",attrs:{message:t.form.error}})],1)]},proxy:!0},{key:"footer",fn:function(){return[s("jet-secondary-button",{nativeOn:{click:function(e){return t.closeModal(e)}}},[t._v("\n Nevermind\n ")]),t._v(" "),s("jet-button",{staticClass:"ml-2",class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing},nativeOn:{click:function(e){return t.confirmPassword(e)}}},[t._v("\n "+t._s(t.button)+"\n ")])]},proxy:!0}])})],1)}),[],!1,null,null,null).exports},33215:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:{type:{type:String,default:"button"}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"inline-flex items-center justify-center px-4 py-2 bg-red-600 border border-transparent rounded-smd font-semibold text-xs text-white uppercase tracking-widest hover:bg-red-500 focus:outline-none focus:border-red-700 focus:shadow-outline-red active:bg-red-600 transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports},88749:(t,e,s)=>{s.d(e,{Z:()=>o});const r={components:{Modal:s(10116).Z},props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.$emit("close")}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("modal",{attrs:{show:t.show,"max-width":t.maxWidth,closeable:t.closeable},on:{close:t.close}},[s("div",{staticClass:"px-6 py-4"},[s("div",{staticClass:"text-lg"},[t._t("title")],2),t._v(" "),s("div",{staticClass:"mt-4"},[t._t("content")],2)]),t._v(" "),s("div",{staticClass:"px-6 py-4 bg-gray-100 text-right"},[t._t("footer")],2)])}),[],!1,null,null,null).exports},16446:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:{align:{default:"right"},width:{default:"48"},contentClasses:{default:function(){return["py-1","bg-white"]}}},data:function(){return{open:!1}},created:function(){var t=this,e=function(e){t.open&&27===e.keyCode&&(t.open=!1)};this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)})),document.addEventListener("keydown",e)},computed:{widthClass:function(){return{48:"w-48"}[this.width.toString()]},alignmentClasses:function(){return"left"===this.align?"origin-top-left left-0":"right"===this.align?"rtl:origin-top-left rtl:left-0 ltr:origin-top-right ltr:right-0":"origin-top"}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"relative"},[s("div",{on:{click:function(e){t.open=!t.open}}},[t._t("trigger")],2),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"fixed inset-0 z-40",on:{click:function(e){t.open=!1}}}),t._v(" "),s("transition",{attrs:{"enter-active-class":"transition ease-out duration-200","enter-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"absolute z-50 mt-2 shadow rounded",class:[t.widthClass,t.alignmentClasses],staticStyle:{display:"none"},on:{click:function(e){t.open=!1}}},[s("div",{staticClass:"rounded-sm ring-1 ring-black ring-opacity-5",class:t.contentClasses},[t._t("content")],2)])])],1)}),[],!1,null,null,null).exports},93210:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:["href","as"]};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["button"===t.as?s("button",{staticClass:"block text-sm w-full px-4 py-2 leading-5 text-gray-700 ltr:text-left rtl:text-right hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{type:"submit"}},[t._t("default")],2):s("inertia-link",{staticClass:"text-sm block px-4 py-2 leading-5 text-gray-700 hover:bg-gray-100 ltr:text-left rtl:text-right focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},48243:(t,e,s)=>{s.d(e,{Z:()=>o});const r={components:{ArcSectionTitle:s(34073).Z},computed:{hasActions:function(){return!!this.$slots.actions}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"md:grid md:grid-cols-3 md:gap-6"},[s("arc-section-title",{scopedSlots:t._u([{key:"title",fn:function(){return[t._t("title")]},proxy:!0},{key:"description",fn:function(){return[t._t("description")]},proxy:!0}],null,!0)}),t._v(" "),s("div",{staticClass:"mt-5 md:mt-0 md:col-span-2"},[s("form",{on:{submit:function(e){return e.preventDefault(),t.$emit("submitted")}}},[s("div",{staticClass:"shadow sm:rounded-sm"},[s("div",{staticClass:"px-4 py-5 bg-white sm:p-6"},[s("div",{staticClass:"grid grid-cols-6 gap-6"},[t._t("form")],2)]),t._v(" "),t.hasActions?s("div",{staticClass:"flex items-center justify-end px-4 py-3 bg-gray-50 text-right sm:px-6"},[t._t("actions")],2):t._e()])])])],1)}),[],!1,null,null,null).exports},6985:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:["value"],methods:{focus:function(){this.$refs.input.focus()}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{ref:"input",staticClass:"text-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-sm shadow-sm",domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,null,null).exports},26216:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:["message"]};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"show",rawName:"v-show",value:t.message,expression:"message"}]},[s("p",{staticClass:"text-red-600 text-sm"},[t._v("\n "+t._s(t.message)+"\n ")])])}),[],!1,null,null,null).exports},39283:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:["value"]};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("label",{staticClass:"block font-medium text-gray-700 text-sm mb-1"},[t.value?s("span",[t._v(t._s(t.value))]):s("span",[t._t("default")],2)])}),[],!1,null,null,null).exports},10116:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.closeable&&this.$emit("close")}},watch:{show:{immediate:!0,handler:function(t){document.body.style.overflow=t?"hidden":null}}},created:function(){var t=this,e=function(e){"Escape"===e.key&&t.show&&t.close()};document.addEventListener("keydown",e),this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)}))},computed:{maxWidthClass:function(){return{sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"}[this.maxWidth]}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("portal",{attrs:{to:"modal"}},[s("transition",{attrs:{"leave-active-class":"duration-200"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0"},[s("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"fixed inset-0 transform transition-all",on:{click:t.close}},[s("div",{staticClass:"absolute inset-0 bg-gray-500 opacity-75"})])]),t._v(" "),s("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mt-16 mb-6 bg-white rounded-sm overflow-hidden shadow-xl transform transition-all sm:w-full sm:mx-auto",class:t.maxWidthClass},[t._t("default")],2)])],1)])],1)}),[],!1,null,null,null).exports},57850:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:["href","active"],computed:{classes:function(){return this.active?"inline-flex items-center px-1 pt-1 border-b-2 border-indigo-400 font-medium leading-5 text-gray-900 focus:outline-none focus:border-indigo-700 transition duration-150 ease-in-out":"inline-flex items-center px-1 pt-1 border-b-2 border-transparent font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out"}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)}),[],!1,null,null,null).exports},37760:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:["active","href","as"],computed:{classes:function(){return this.active?"block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out":"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out"}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["button"==t.as?s("button",{staticClass:"w-full text-left",class:t.classes},[t._t("default")],2):s("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},78589:(t,e,s)=>{s.d(e,{Z:()=>o});const r={name:"RewardBadge",props:{points:{type:[Number,String],default:0},textColor:{type:String,default:"text-gray-400"},iconSize:{type:String,default:"w-7 h-7"}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"flex group gap-2 items-center"},[s("svg",{staticClass:"transition duration-300 ease-in-out transform group-hover:scale-110",class:t.iconSize,attrs:{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"300px",height:"300px",viewBox:"0 0 300 300","enable-background":"new 0 0 300 300","xml:space":"preserve"}},[s("g",[s("ellipse",{attrs:{fill:"#FFC843",cx:"149.833",cy:"149.501",rx:"147.833",ry:"146.166"}}),s("ellipse",{attrs:{fill:"#D38700",cx:"150",cy:"150.168",rx:"113.667",ry:"113.833"}}),t._v(" "),s("polygon",{attrs:{fill:"#FFC843",points:"192.716,211.945 151.021,190.203 109.476,212.222 117.27,165.852 83.489,133.142 129.999,126.226\n 150.667,83.991 171.618,126.086 218.172,132.693 184.611,165.626"}})])]),t._v(" "),s("span",{staticClass:"font-semibold ",class:t.textColor},[t._v(t._s(t.points)+" XP")])])}),[],!1,null,null,null).exports},9556:(t,e,s)=>{s.d(e,{Z:()=>o});const r={props:{type:{type:String,default:"button"}}};const o=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"inline-flex items-center px-4 py-2 bg-white border border-gray-300 rounded-sm font-semibold text-xs text-gray-700 uppercase tracking-widest shadow-sm hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-gray-800 active:bg-gray-50 transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports},96786:(t,e,s)=>{s.d(e,{Z:()=>r});const r=(0,s(51900).Z)({},(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden sm:block"},[e("div",{staticClass:"py-8"},[e("div",{staticClass:"border-t border-gray-200"})])])}],!1,null,null,null).exports},34073:(t,e,s)=>{s.d(e,{Z:()=>r});const r=(0,s(51900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"md:col-span-1"},[s("div",{staticClass:"px-4 sm:px-0"},[s("h3",{staticClass:"text-base font-medium text-gray-900"},[t._t("title")],2),t._v(" "),s("p",{staticClass:"mt-1 text-sm text-gray-600"},[t._t("description")],2)])])}),[],!1,null,null,null).exports},66727:(t,e,s)=>{s.d(e,{Z:()=>x});var r=s(97618),o=s(60651),a=s(16446),n=s(93210),i=s(57850),l=s(37760),c=s(71003),u=s(50298),d=s(15366);const p={name:"SidebarDropdown",props:{title:String,items:Array},data:function(){return{open:!1}},methods:{isActive:function(t){return window.location.href===t},isOpen:function(){return this.urls.includes(window.location.href)}},computed:{urls:function(){var t=[];return this.items.forEach((function(e){return t.push(e.url)})),t}},created:function(){this.open=this.isOpen()}};var m=s(51900);const v=(0,m.Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex items-center justify-between px-4 py-3 transition cursor-pointer group hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":t.open},attrs:{role:"button"},on:{click:function(e){t.open=!t.open}}},[s("div",{staticClass:"flex items-center"},[t._t("icon"),t._v(" "),s("span",[t._v(t._s(t.__(t.title)))])],2),t._v(" "),s("svg",{staticClass:"flex-shrink-0 w-4 h-4 ml-2 transition transform",class:{"rotate-90":t.open},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"}})])]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"mb-4"},t._l(t.items,(function(e){return s("div",{key:e.url,staticClass:"block"},[e.active?s("inertia-link",{staticClass:"flex items-center py-2 pl-12 pr-4 transition cursor-pointer hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":t.isActive(e.url)},attrs:{href:e.url}},[t._v("\n "+t._s(t.__(e.label))+"\n ")]):t._e()],1)})),0)])}),[],!1,null,null,null).exports;const f={name:"SidebarLink",props:{title:String,url:String},computed:{active:function(){return window.location.href===this.url}}};const h=(0,m.Z)(f,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("inertia-link",{staticClass:"flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":t.active},attrs:{href:t.url}},[t._t("icon"),t._v(" "),s("span",[t._v(t._s(t.__(t.title)))])],2)}),[],!1,null,null,null).exports;var g=s(44943),_=s(78465);const w={components:{ArcApplicationMark:r.Z,ArcBanner:o.Z,ArcDropdown:a.Z,ArcDropdownLink:n.Z,ArcNavLink:i.Z,ArcResponsiveNavLink:l.Z,ConfirmDialog:c.default,Message:d.default,Toast:u.default,SidebarDropdown:v,SidebarLink:h,PerfectScrollbar:g.PerfectScrollbar,InputSwitch:_.default},data:function(){return{sideBar:!1,darkMode:!1,scrollbarOptions:{suppressScrollX:!0},successMessage:String,errorMessage:String,items:[{label:"Home Dashboard",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg>',url:route("admin_dashboard"),active:"admin"===this.$page.props.user.role_id},{label:"Home Dashboard",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg>',url:route("instructor_dashboard"),active:"instructor"===this.$page.props.user.role_id},{label:"File Manager",item_type:"link",url:route("file-manager"),icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"></path></svg>',active:"admin"===this.$page.props.user.role_id},{item_type:"divider",label:"Engage"},{label:"Manage Tests",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Quizzes",url:route("quizzes.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Exams",url:route("exams.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Quiz Types",url:route("quiz-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Exam Types",url:route("exam-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Manage Learning",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"/></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Practice Sets",url:route("practice-sets.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Lessons",url:route("practice.configure_lessons"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Videos",url:route("practice.configure_videos"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{item_type:"divider",label:"Library"},{label:"Question Bank",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Questions",url:route("questions.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Import Questions",url:route("initiate_import_questions"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Comprehensions",url:route("comprehensions.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Question Types",url:route("question-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Lesson Bank",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,url:route("lessons.index")},{label:"Video Bank",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,url:route("videos.index")},{item_type:"divider",label:"Configuration"},{label:"Monetization",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z"/></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Plans",url:route("plans.index"),active:"admin"===this.$page.props.user.role_id},{label:"Subscriptions",url:route("subscriptions.index"),active:"admin"===this.$page.props.user.role_id},{label:"Payments",url:route("payments.index"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Users",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Users",url:route("users.index"),active:"admin"===this.$page.props.user.role_id},{label:"User Groups",url:route("user-groups.index"),active:"admin"===this.$page.props.user.role_id},{label:"Import Users",url:route("initiate_import_users"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Categories",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Categories",url:route("categories.index"),active:"admin"===this.$page.props.user.role_id},{label:"Sub Categories",url:route("sub-categories.index"),active:"admin"===this.$page.props.user.role_id},{label:"Tags",url:route("tags.index"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Subjects",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Sections",url:route("sections.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Skills",url:route("skills.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Topics",url:route("topics.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Settings",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"General Settings",url:route("general_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Localization Settings",url:route("localization_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Home Page Settings",url:route("home_page_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Email Settings",url:route("email_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Payment Settings",url:route("payment_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Billing & Tax Settings",url:route("billing_tax_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Theme Settings",url:route("theme_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Maintenance Settings",url:route("maintenance_settings"),active:"admin"===this.$page.props.user.role_id}]}]}},methods:{switchToTeam:function(t){this.$inertia.put(route("current-team.update"),{team_id:t.id},{preserveState:!1})},changeMode:function(){this.darkMode?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},logout:function(){this.$inertia.post(route("logout"))}}};const x=(0,m.Z)(w,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"ltr:ml-0 rtl:mr-0 transition md:ltr:ml-60 md:rtl:mr-60"},[s("arc-banner")],1),t._v(" "),s("div",{staticClass:"min-h-screen"},[s("nav",{staticClass:"fixed top-0 ltr:left-0 rtl:right-0 z-20 h-full pb-10 overflow-hidden transition origin-left transform bg-gray-900 w-60 md:ltr:translate-x-0 md:rtl:-translate-x-0",class:{"ltr:-translate-x-full rtl:translate-x-full":!t.sideBar,"translate-x-0":t.sideBar},on:{click:function(e){t.sideBar=!1}}},[s("inertia-link",{staticClass:"flex items-center px-4 py-5",attrs:{href:t.route("home")}},[s("img",{staticClass:"h-8 w-auto",attrs:{src:t.$page.props.assetUrl+t.$page.props.general.logo_path,alt:t.$page.props.general.app_name}})]),t._v(" "),s("perfect-scrollbar",{ref:"scroll",staticClass:"h-full overflow-hidden",attrs:{options:t.scrollbarOptions}},[s("nav",{staticClass:"text-sm font-medium pb-16 text-gray-400",attrs:{"aria-label":"Main Navigation"}},[t._l(t.items,(function(e){return[e.active&&"dropdown"===e.item_type?s("sidebar-dropdown",{attrs:{title:e.label,items:e.items},scopedSlots:t._u([{key:"icon",fn:function(){return[s("span",{domProps:{innerHTML:t._s(e.icon)}})]},proxy:!0}],null,!0)}):t._e(),t._v(" "),!0===e.active&&"link"===e.item_type?s("sidebar-link",{attrs:{title:e.label,url:e.url},scopedSlots:t._u([{key:"icon",fn:function(){return[s("span",{domProps:{innerHTML:t._s(e.icon)}})]},proxy:!0}],null,!0)}):t._e(),t._v(" "),"divider"===e.item_type?s("div",{staticClass:"my-4 mx-4 uppercase font-semibold text-green-500 text-xs"},[t._v("\n "+t._s(e.label)+"\n ")]):t._e()]}))],2)])],1),t._v(" "),s("div",{staticClass:"ltr:ml-0 rtl:mr-0 transition md:ltr:ml-60 md:rtl:mr-60"},[s("header",{staticClass:"bg-white shadow flex items-center justify-between w-full md:mx-auto md:sticky md:z-30 md:top-0 px-4 h-14"},[s("button",{staticClass:"block btn btn-light-secondary md:hidden",on:{click:function(e){t.sideBar=!0}}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("Menu")))]),t._v(" "),s("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z","clip-rule":"evenodd"}})])]),t._v(" "),s("div",{staticClass:"hidden -ml-3 form-icon md:block w-96"},[s("inertia-link",{staticClass:"text-sm font-semibold px-4 py-5 capitalize",attrs:{href:t.route("home")}},[t._v("\n "+t._s(t.__(t.$page.props.user.role_id))+" "+t._s(t.__("Dashboard"))+"\n ")])],1),t._v(" "),s("div",{staticClass:"flex items-center"},[s("a",{staticClass:"flex text-gray-500",attrs:{href:"#"}},[s("svg",{staticClass:"flex-shrink-0 w-5 h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{d:"M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"}})])]),t._v(" "),s("div",{staticClass:"ltr:ml-4 rtl:mr-4 relative"},[s("arc-dropdown",{attrs:{align:"right",width:"48"},scopedSlots:t._u([{key:"trigger",fn:function(){return[t.$page.props.jetstream.managesProfilePhotos?s("button",{staticClass:"flex border-2 border-transparent rounded-full focus:outline-none focus:border-gray-300 transition duration-150 ease-in-out"},[s("img",{staticClass:"h-8 w-8 rounded-full object-cover",attrs:{src:t.$page.props.user.profile_photo_url,alt:t.$page.props.user.name}})]):s("span",{staticClass:"inline-flex rounded-md"},[s("button",{staticClass:"inline-flex items-center px-3 py-2 border border-transparent leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition ease-in-out duration-150",attrs:{type:"button"}},[t._v("\n "+t._s(t.$page.props.user.name)+"\n\n "),s("svg",{staticClass:"ml-2 -mr-0.5 h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])])])]},proxy:!0},{key:"content",fn:function(){return[s("div",{staticClass:"block px-4 py-2 text-xs text-gray-400"},[t._v("\n "+t._s(t.__("Manage Account"))+"\n ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("profile.show")}},[t._v("\n "+t._s(t.__("Profile"))+"\n ")]),t._v(" "),t.$page.props.jetstream.hasApiFeatures?s("arc-dropdown-link",{attrs:{href:t.route("api-tokens.index")}},[t._v("\n "+t._s(t.__("Api Tokens"))+"\n ")]):t._e(),t._v(" "),s("div",{staticClass:"border-t border-gray-100"}),t._v(" "),s("form",{attrs:{method:"post",action:t.route("logout")}},[s("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.$page.props.csrf_token}}),t._v(" "),s("arc-dropdown-link",{attrs:{as:"button"}},[t._v("\n "+t._s(t.__("Logout"))+"\n ")])],1)]},proxy:!0}])})],1)])]),t._v(" "),s("section",[s("div",{staticClass:"container mx-auto pt-4 px-4 sm:px-6 lg:px-8"},[s("div",{staticClass:"flex flex-col md:flex-row items-start md:items-center justify-between"},[s("div",[t._t("header")],2),t._v(" "),s("div",{staticClass:"mb-6 sm:mb-0 sm:mt-0"},[t._t("actions")],2)])])]),t._v(" "),s("main",[s("div",{staticClass:"container mx-auto px-4 sm:px-6 lg:px-8"},[t.$page.props.successMessage?s("Message",{attrs:{severity:"success",closable:!1}},[t._v(t._s(t.$page.props.successMessage))]):t._e(),t._v(" "),t.$page.props.errorMessage?s("Message",{attrs:{severity:"error",closable:!1}},[t._v(t._s(t.$page.props.errorMessage))]):t._e()],1),t._v(" "),t._t("default")],2),t._v(" "),s("portal-target",{attrs:{name:"modal",multiple:""}}),t._v(" "),s("ConfirmDialog"),t._v(" "),s("Toast",{attrs:{position:t.$page.props.rtl?"bottom-left":"bottom-right"}}),t._v(" "),s("Toast",{attrs:{position:t.$page.props.rtl?"top-left":"top-right",group:"lm"}})],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.sideBar,expression:"sideBar"}],staticClass:"fixed inset-0 z-10 w-screen h-screen bg-black bg-opacity-25 md:hidden",on:{click:function(e){t.sideBar=!1}}})])])}),[],!1,null,null,null).exports},91455:(t,e,s)=>{s.d(e,{Z:()=>g});var r=s(97618),o=s(60651),a=s(16446),n=s(93210),i=s(57850),l=s(37760),c=s(50298),u=s(78589),d=s(15366);const p={name:"SideBarNav",props:{isMobile:Boolean}};var m=s(51900);const v=(0,m.Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("nav",{staticClass:"relative px-4 space-y-3",class:{"flex-1 bg-primary":!t.isMobile}},[s("div",{staticClass:"bg-gray-100 bg-opacity-10 rounded-md py-3 px-4"},[s("h4",{staticClass:"text-white text-base font-semibold"},[t._v(t._s(t.$page.props.currentCategory?t.$page.props.currentCategory.name:t.__("No Syllabus Selected")))]),t._v(" "),s("inertia-link",{staticClass:"text-secondary underline text-sm",attrs:{href:t.route("change_syllabus")}},[t._v("\n "+t._s(t.$page.props.currentCategory?t.__("Change Syllabus"):t.__("Choose Syllabus"))+"\n ")])],1),t._v(" "),s("inertia-link",{staticClass:"group rounded-md md py-3 px-4 flex items-center text-base font-semibold",class:["user_dashboard"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("user_dashboard")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["user_dashboard"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[s("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),s("path",{attrs:{d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"}})]),t._v("\n "+t._s(t.__("Dashboard"))+"\n ")]),t._v(" "),s("inertia-link",{staticClass:"group rounded-md py-3 px-4 flex items-center text-base font-semibold",class:["learn_practice"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("learn_practice")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["learn_practice"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",fill:"currentColor"}},[s("g",[s("path",{attrs:{d:"M0,0h24v24H0V0z",fill:"none"}})]),s("g",[s("path",{attrs:{d:"M5,20V4h2v7l2.5-1.5L12,11V4h5v7.08c0.33-0.05,0.66-0.08,1-0.08s0.67,0.03,1,0.08V4c0-1.1-0.9-2-2-2H5C3.9,2,3,2.9,3,4v16 c0,1.1,0.9,2,2,2h7.26c-0.42-0.6-0.75-1.28-0.97-2H5z M18,13c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5S20.76,13,18,13z M16.75,20.5v-5l4,2.5L16.75,20.5z"}})])]),t._v("\n "+t._s(t.__("Learn & Practice"))+"\n ")]),t._v(" "),s("inertia-link",{staticClass:"group rounded-md py-3 px-4 flex items-center text-base font-semibold",class:["exam_dashboard"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("exam_dashboard")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["exam_dashboard"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",fill:"currentColor"}},[s("path",{attrs:{d:"M10 11H18V9H10ZM10 14H14V12H10ZM10 8H18V6H10ZM8 18Q7.175 18 6.588 17.413Q6 16.825 6 16V4Q6 3.175 6.588 2.587Q7.175 2 8 2H20Q20.825 2 21.413 2.587Q22 3.175 22 4V16Q22 16.825 21.413 17.413Q20.825 18 20 18ZM8 16H20Q20 16 20 16Q20 16 20 16V4Q20 4 20 4Q20 4 20 4H8Q8 4 8 4Q8 4 8 4V16Q8 16 8 16Q8 16 8 16ZM8 4Q8 4 8 4Q8 4 8 4V16Q8 16 8 16Q8 16 8 16Q8 16 8 16Q8 16 8 16V4Q8 4 8 4Q8 4 8 4ZM4 22Q3.175 22 2.588 21.413Q2 20.825 2 20V6H4V20Q4 20 4 20Q4 20 4 20H18V22Z"}})]),t._v("\n "+t._s(t.__("Exams"))+"\n ")]),t._v(" "),s("inertia-link",{staticClass:"group rounded-md py-3 px-4 flex items-center text-base font-semibold",class:["quiz_dashboard"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("quiz_dashboard")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["quiz_dashboard"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",fill:"currentColor"}},[s("g",[s("path",{attrs:{d:"M0,0h24v24H0V0z",fill:"none"}})]),s("g",[s("path",{attrs:{d:"M4,6H2v14c0,1.1,0.9,2,2,2h14v-2H4V6z M20,2H8C6.9,2,6,2.9,6,4v12c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V4 C22,2.9,21.1,2,20,2z M20,16H8V4h12V16z M13.51,10.16c0.41-0.73,1.18-1.16,1.63-1.8c0.48-0.68,0.21-1.94-1.14-1.94 c-0.88,0-1.32,0.67-1.5,1.23l-1.37-0.57C11.51,5.96,12.52,5,13.99,5c1.23,0,2.08,0.56,2.51,1.26c0.37,0.6,0.58,1.73,0.01,2.57 c-0.63,0.93-1.23,1.21-1.56,1.81c-0.13,0.24-0.18,0.4-0.18,1.18h-1.52C13.26,11.41,13.19,10.74,13.51,10.16z M12.95,13.95 c0-0.59,0.47-1.04,1.05-1.04c0.59,0,1.04,0.45,1.04,1.04c0,0.58-0.44,1.05-1.04,1.05C13.42,15,12.95,14.53,12.95,13.95z"}})])]),t._v("\n "+t._s(t.__("Quizzes"))+"\n ")]),t._v(" "),s("inertia-link",{staticClass:"group rounded-md py-3 px-4 flex items-center text-base font-semibold",class:["my_progress"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("my_progress")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["my_progress"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[s("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),s("path",{attrs:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"}})]),t._v("\n "+t._s(t.__("My Progress"))+"\n ")])],1)}),[],!1,null,null,null).exports;var f=s(44943);const h={components:{ArcApplicationMark:r.Z,ArcBanner:o.Z,ArcDropdown:a.Z,ArcDropdownLink:n.Z,ArcNavLink:i.Z,ArcResponsiveNavLink:l.Z,Toast:c.default,Message:d.default,RewardsBadge:u.Z,SideBarNav:v,PerfectScrollbar:f.PerfectScrollbar},props:{canLogin:Boolean,canRegister:Boolean},data:function(){return{showingNavigationDropdown:!1,sidebar:!1,scrollbarOptions:{swipeEasing:!0,suppressScrollX:!0,maxScrollbarLength:100}}},methods:{switchToTeam:function(t){this.$inertia.put(route("current-team.update"),{team_id:t.id},{preserveState:!1})},toggleMenu:function(t){var e=document.getElementById("menu");t?e.classList.remove("hidden"):e.classList.add("hidden")},logout:function(){this.$inertia.post(route("logout"))}}};const g=(0,m.Z)(h,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"h-screen overflow-hidden flex bg-gray-100",on:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"window",void 0,e.key,void 0)&&t._k(e.keyCode,"escape",void 0,e.key,void 0))return null;t.sidebar=!1}}},[s("arc-banner"),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar,expression:"sidebar"}],ref:"dialog",staticClass:"fixed inset-0 z-40 flex md:hidden",attrs:{"aria-modal":"true"}},[s("transition",{attrs:{"enter-class":"transition-opacity ease-linear duration-300","enter-active-class":"opacity-0","enter-to-class":"opacity-100","leave-class":"transition-opacity ease-linear duration-300","leave-active-class":"opacity-100","leave-to-class":"opacity-0"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar,expression:"sidebar"}],staticClass:"fixed inset-0 bg-gray-600 bg-opacity-75",attrs:{"aria-hidden":"true"},on:{click:function(e){t.sidebar=!1}}})]),t._v(" "),s("transition",{attrs:{"enter-class":"transition ease-in-out duration-300 transform","enter-active-class":"-translate-x-full","enter-to-class":"translate-x-0","leave-class":"transition ease-in-out duration-300 transform","leave-active-class":"translate-x-0","leave-to-class":"-translate-x-full"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar,expression:"sidebar"}],staticClass:"relative max-w-xs w-full bg-primary pt-5 pb-4 flex-1 flex flex-col"},[s("transition",{attrs:{"enter-class":"ease-in-out duration-300","enter-active-class":"opacity-0","enter-to-class":"opacity-100","leave-class":"ease-in-out duration-300","leave-active-class":"opacity-100","leave-to-class":"opacity-0"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar,expression:"sidebar"}],staticClass:"absolute top-0 right-0 -mr-12 pt-2"},[s("button",{staticClass:"ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",attrs:{type:"button"},on:{click:function(e){t.sidebar=!1}}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("Close sidebar")))]),t._v(" "),s("svg",{staticClass:"h-6 w-6 text-white",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])]),t._v(" "),s("div",{staticClass:"flex-shrink-0 px-4 pb-4 border-b border-gray-100 border-opacity-10 flex items-center"},[s("a",{attrs:{href:t.route("welcome")}},[s("img",{staticClass:"h-8 w-auto",attrs:{src:t.$page.props.assetUrl+t.$page.props.general.white_logo_path,alt:t.$page.props.general.app_name}})])]),t._v(" "),s("div",{staticClass:"mt-4 flex-1 h-0 overflow-y-auto"},[s("side-bar-nav",{attrs:{"is-mobile":!0}})],1)],1)]),t._v(" "),s("div",{staticClass:"flex-shrink-0 w-14"})],1),t._v(" "),s("div",{staticClass:"hidden bg-primary md:flex md:flex-shrink-0"},[s("div",{staticClass:"w-72 flex flex-col"},[s("div",{staticClass:"border-r border-gray-200 pb-4 flex flex-col flex-grow overflow-y-auto"},[s("div",{staticClass:"flex-shrink-0 h-16 px-6 border-b border-gray-100 border-opacity-10 flex items-center"},[s("a",{attrs:{href:t.route("welcome")}},[s("img",{staticClass:"h-8 w-auto",attrs:{src:t.$page.props.assetUrl+t.$page.props.general.white_logo_path,alt:t.$page.props.general.app_name}})])]),t._v(" "),s("div",{staticClass:"flex-grow mt-4 flex flex-col"},[s("side-bar-nav",{attrs:{"is-mobile":!1}})],1)])])]),t._v(" "),s("div",{staticClass:"flex-1 w-full mx-auto w-0 flex flex-col md:px-0"},[s("div",{staticClass:"relative z-20 flex-shrink-0 flex h-16 bg-white sm:border-b border-gray-200 lg:border-none"},[s("button",{staticClass:"border-b border-r border-gray-200 px-4 text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500 md:hidden",attrs:{type:"button"},on:{click:function(e){t.sidebar=!0}}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("Open sidebar")))]),t._v(" "),s("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h7"}})])]),t._v(" "),s("div",{staticClass:"flex-1 max-w-5xl mx-auto border-b border-gray-200 flex justify-between px-4 md:px-0"},[s("div",{staticClass:"flex-1 flex"},[s("form",{staticClass:"w-full flex md:ml-0",attrs:{action:"#",method:"GET"}},[s("label",{staticClass:"sr-only",attrs:{for:"search-field"}},[t._v(t._s(t.__("Search")))]),t._v(" "),s("div",{staticClass:"relative w-full text-gray-400 focus-within:text-gray-600"},[s("div",{staticClass:"pointer-events-none absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center"},[s("svg",{staticClass:"h-5 w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"}})])]),t._v(" "),s("input",{staticClass:"block h-full w-full border-transparent py-2 ltr:pl-8 rtl:pr-8 ltr:pr-3 rtl:pl-3 text-gray-900 placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-0 focus:border-transparent sm:text-sm",attrs:{id:"search-field",placeholder:"Search",type:"search",name:"search"}})])])]),t._v(" "),s("div",{staticClass:"ltr:ml-4 rtl:mr-4 flex items-center md:ltr:ml-6 md:rtl:mr-6"},[s("rewards-badge",{attrs:{"text-color":"text-primary",points:t.$page.props.user.wallet_balance}}),t._v(" "),s("button",{staticClass:"ltr:ml-3 rtl:mr-3 bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",attrs:{type:"button"}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("View notifications")))]),t._v(" "),s("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"}})])]),t._v(" "),s("div",{staticClass:"ltr:ml-3 rtl:mr-3 relative"},[s("arc-dropdown",{attrs:{align:"right",width:"48"},scopedSlots:t._u([{key:"trigger",fn:function(){return[t.$page.props.jetstream.managesProfilePhotos?s("button",{staticClass:"flex border-2 border-transparent rounded-full focus:outline-none focus:border-gray-300 transition duration-150 ease-in-out"},[s("img",{staticClass:"h-8 w-8 rounded-full object-cover",attrs:{src:t.$page.props.user.profile_photo_url,alt:t.$page.props.user.first_name}})]):s("span",{staticClass:"inline-flex rounded-md"},[s("button",{staticClass:"inline-flex items-center px-3 py-2 border border-transparent leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition ease-in-out duration-150",attrs:{type:"button"}},[t._v("\n "+t._s(t.$page.props.user.first_name)+"\n\n "),s("svg",{staticClass:"ml-2 -mr-0.5 h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])])])]},proxy:!0},{key:"content",fn:function(){return[s("div",{staticClass:"block px-4 py-2 text-xs text-gray-400"},[t._v("\n "+t._s(t.$page.props.user.first_name)+" "+t._s(t.$page.props.user.last_name)+"\n ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("profile.show")}},[t._v("\n "+t._s(t.__("Profile"))+"\n ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("user_subscriptions")}},[t._v("\n "+t._s(t.__("My Subscriptions"))+"\n ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("user_payments")}},[t._v("\n "+t._s(t.__("My Payments"))+"\n ")]),t._v(" "),t.$page.props.jetstream.hasApiFeatures?s("arc-dropdown-link",{attrs:{href:t.route("api-tokens.index")}},[t._v("\n "+t._s(t.__("API Tokens"))+"\n ")]):t._e(),t._v(" "),s("div",{staticClass:"border-t border-gray-100"}),t._v(" "),s("form",{attrs:{method:"post",action:t.route("logout")}},[s("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.$page.props.csrf_token}}),t._v(" "),s("arc-dropdown-link",{attrs:{as:"button"}},[t._v("\n "+t._s(t.__("Logout"))+"\n ")])],1)]},proxy:!0}])})],1)],1)])]),t._v(" "),s("div",{staticClass:"bg-white z-10 shadow"},[s("div",{staticClass:"max-w-5xl mx-auto"},[s("div",{staticClass:"py-4"},[s("div",{staticClass:"px-4 sm:px-6 md:px-0"},[s("div",{staticClass:"flex flex-col md:flex-row items-start md:items-center justify-between"},[s("div",[t._t("header")],2),t._v(" "),t.$slots.actions?s("div",{staticClass:"sm:mb-0 sm:mt-0"},[t._t("actions")],2):t._e()])])])])]),t._v(" "),s("perfect-scrollbar",{ref:"scroll",staticClass:"flex-1 relative h-full z-0 overflow-hidden focus:outline-none",attrs:{options:t.scrollbarOptions}},[s("main",{staticClass:"max-w-5xl mx-auto"},[s("div",{staticClass:"px-4 sm:px-6 md:px-0"},[s("Message",{directives:[{name:"show",rawName:"v-show",value:t.$page.props.successMessage,expression:"$page.props.successMessage"}],attrs:{severity:"success",closable:!1}},[t._v("\n "+t._s(t.$page.props.successMessage)+"\n ")]),t._v(" "),t.$page.props.errorMessage?s("Message",{attrs:{severity:"error",closable:!1}},[t._v("\n "+t._s(t.$page.props.errorMessage)+"\n ")]):t._e(),t._v(" "),t._t("default")],2)])]),t._v(" "),s("Toast",{attrs:{position:"top-right"}}),t._v(" "),s("portal-target",{attrs:{name:"modal",multiple:""}})],1)],1)}),[],!1,null,null,null).exports},10629:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var r=s(5523),o=s(88749),a=s(33215),n=s(6985),i=s(26216),l=s(9556);const c={components:{ArcActionSection:r.Z,ArcDangerButton:a.Z,ArcDialogModal:o.Z,ArcInput:n.Z,ArcInputError:i.Z,ArcSecondaryButton:l.Z},data:function(){return{confirmingUserDeletion:!1,form:this.$inertia.form({password:""})}},methods:{confirmUserDeletion:function(){var t=this;this.confirmingUserDeletion=!0,setTimeout((function(){return t.$refs.password.focus()}),250)},deleteUser:function(){var t=this;this.form.delete(route("current-user.destroy"),{preserveScroll:!0,onSuccess:function(){return t.closeModal()},onError:function(){return t.$refs.password.focus()},onFinish:function(){return t.form.reset()}})},closeModal:function(){this.confirmingUserDeletion=!1,this.form.reset()}}};const u=(0,s(51900).Z)(c,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-action-section",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n Delete Account\n ")]},proxy:!0},{key:"description",fn:function(){return[t._v("\n Permanently delete your account.\n ")]},proxy:!0},{key:"content",fn:function(){return[s("div",{staticClass:"max-w-xl text-gray-600"},[t._v("\n Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.\n ")]),t._v(" "),s("div",{staticClass:"mt-5"},[s("arc-danger-button",{nativeOn:{click:function(e){return t.confirmUserDeletion(e)}}},[t._v("\n Delete Account\n ")])],1),t._v(" "),s("arc-dialog-modal",{attrs:{show:t.confirmingUserDeletion},on:{close:t.closeModal},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n Delete Account\n ")]},proxy:!0},{key:"content",fn:function(){return[t._v("\n Are you sure you want to delete your account? Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.\n\n "),s("div",{staticClass:"mt-4"},[s("arc-input",{ref:"password",staticClass:"mt-1 block w-3/4",attrs:{type:"password",placeholder:"Password"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.deleteUser(e)}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.password}})],1)]},proxy:!0},{key:"footer",fn:function(){return[s("arc-secondary-button",{nativeOn:{click:function(e){return t.closeModal(e)}}},[t._v("\n Nevermind\n ")]),t._v(" "),s("arc-danger-button",{staticClass:"ml-2",class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing},nativeOn:{click:function(e){return t.deleteUser(e)}}},[t._v("\n Delete Account\n ")])]},proxy:!0}])})]},proxy:!0}])})}),[],!1,null,null,null).exports},26468:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var r=s(15422),o=s(5523),a=s(93046),n=s(88749),i=s(6985),l=s(26216),c=s(9556);const u={props:["sessions"],components:{ArcActionMessage:r.Z,ArcActionSection:o.Z,ArcButton:a.Z,ArcDialogModal:n.Z,ArcInput:i.Z,ArcInputError:l.Z,ArcSecondaryButton:c.Z},data:function(){return{confirmingLogout:!1,form:this.$inertia.form({password:""})}},methods:{confirmLogout:function(){var t=this;this.confirmingLogout=!0,setTimeout((function(){return t.$refs.password.focus()}),250)},logoutOtherBrowserSessions:function(){var t=this;this.form.delete(route("other-browser-sessions.destroy"),{preserveScroll:!0,onSuccess:function(){return t.closeModal()},onError:function(){return t.$refs.password.focus()},onFinish:function(){return t.form.reset()}})},closeModal:function(){this.confirmingLogout=!1,this.form.reset()}}};const d=(0,s(51900).Z)(u,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-action-section",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n "+t._s(t.__("Browser Sessions"))+"\n ")]},proxy:!0},{key:"content",fn:function(){return[s("div",{staticClass:"max-w-xl text-sm text-gray-600"},[t._v("\n "+t._s(t.__("browser_session_message"))+"\n ")]),t._v(" "),t.sessions.length>0?s("div",{staticClass:"mt-5 space-y-6"},t._l(t.sessions,(function(e,r){return s("div",{key:r,staticClass:"flex items-center"},[s("div",[e.agent.is_desktop?s("svg",{staticClass:"w-8 h-8 text-gray-500",attrs:{fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}})]):s("svg",{staticClass:"w-8 h-8 text-gray-500",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"}},[s("path",{attrs:{d:"M0 0h24v24H0z",stroke:"none"}}),s("rect",{attrs:{x:"7",y:"4",width:"10",height:"16",rx:"1"}}),s("path",{attrs:{d:"M11 5h2M12 17v.01"}})])]),t._v(" "),s("div",{staticClass:"ml-3"},[s("div",{staticClass:" text-gray-600"},[t._v("\n "+t._s(e.agent.platform)+" - "+t._s(e.agent.browser)+"\n ")]),t._v(" "),s("div",[s("div",{staticClass:"text-xs text-gray-500"},[t._v("\n "+t._s(e.ip_address)+",\n\n "),e.is_current_device?s("span",{staticClass:"text-green-500 font-semibold"},[t._v("This device")]):s("span",[t._v("Last active "+t._s(e.last_active))])])])])])})),0):t._e(),t._v(" "),s("div",{staticClass:"flex items-center mt-5"},[s("arc-button",{nativeOn:{click:function(e){return t.confirmLogout(e)}}},[t._v("\n "+t._s(t.__("Logout Other Browser Sessions"))+"\n ")]),t._v(" "),s("arc-action-message",{staticClass:"ml-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n "+t._s(t.__("Done"))+".\n ")])],1),t._v(" "),s("arc-dialog-modal",{attrs:{show:t.confirmingLogout},on:{close:t.closeModal},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n "+t._s(t.__("Logout Other Browser Sessions"))+"\n ")]},proxy:!0},{key:"content",fn:function(){return[t._v("\n "+t._s(t.__("browser_session_consent"))+"\n\n "),s("div",{staticClass:"mt-4"},[s("arc-input",{ref:"password",staticClass:"mt-1 block w-3/4",attrs:{type:"password",placeholder:"Password"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.logoutOtherBrowserSessions(e)}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.password}})],1)]},proxy:!0},{key:"footer",fn:function(){return[s("arc-secondary-button",{nativeOn:{click:function(e){return t.closeModal(e)}}},[t._v("\n "+t._s(t.__("Nevermind"))+"\n ")]),t._v(" "),s("arc-button",{staticClass:"ml-2",class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing},nativeOn:{click:function(e){return t.logoutOtherBrowserSessions(e)}}},[t._v("\n "+t._s(t.__("Logout Other Browser Sessions"))+"\n ")])]},proxy:!0}])})]},proxy:!0}])})}),[],!1,null,null,null).exports},59048:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var r=s(91455),o=s(66727),a=s(10629),n=s(96786),i=s(26468),l=s(6178),c=s(53496),u=s(40565);const d={props:["sessions"],components:{AppLayout:r.Z,AdminLayout:o.Z,DeleteUserForm:a.default,ArcSectionBorder:n.Z,LogoutOtherBrowserSessionsForm:i.default,TwoFactorAuthenticationForm:l.default,UpdatePasswordForm:c.default,UpdateProfileInformationForm:u.default},metaInfo:function(){return{title:this.title}},computed:{title:function(){return this.__("User Profile")+" - "+this.$page.props.general.app_name},isAdmin:function(){return this.$page.props.isAdmin}}};const p=(0,s(51900).Z)(d,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.isAdmin?t._e():s("app-layout",{scopedSlots:t._u([{key:"header",fn:function(){return[s("h1",{staticClass:"app-heading"},[t._v(t._s(t.__("Profile")))])]},proxy:!0}],null,!1,1513817737)},[t._v(" "),s("div",{staticClass:"py-8"},[t.$page.props.jetstream.canUpdateProfileInformation?s("div",[s("update-profile-information-form",{attrs:{user:t.$page.props.user}}),t._v(" "),s("arc-section-border")],1):t._e(),t._v(" "),t.$page.props.jetstream.canUpdatePassword?s("div",[s("update-password-form",{staticClass:"mt-10 sm:mt-0"}),t._v(" "),s("arc-section-border")],1):t._e(),t._v(" "),!t.$page.props.isDemo&&t.$page.props.jetstream.canManageTwoFactorAuthentication?s("div",[s("two-factor-authentication-form",{staticClass:"mt-10 sm:mt-0"}),t._v(" "),s("arc-section-border")],1):t._e(),t._v(" "),t.$page.props.isDemo?t._e():s("logout-other-browser-sessions-form",{staticClass:"mt-10 sm:mt-0",attrs:{sessions:t.sessions}}),t._v(" "),t.$page.props.jetstream.hasAccountDeletionFeatures?[s("arc-section-border"),t._v(" "),s("delete-user-form",{staticClass:"mt-10 sm:mt-0"})]:t._e()],2)]),t._v(" "),t.isAdmin?s("admin-layout",{scopedSlots:t._u([{key:"header",fn:function(){return[s("h4",{staticClass:"page-heading"},[t._v("\n "+t._s(t.__("Profile"))+"\n ")])]},proxy:!0}],null,!1,1833479166)},[t._v(" "),s("div",[s("div",{staticClass:"max-w-7xl mx-auto py-10 sm:px-6 lg:px-8"},[t.$page.props.jetstream.canUpdateProfileInformation?s("div",[s("update-profile-information-form",{attrs:{user:t.$page.props.user}}),t._v(" "),s("arc-section-border")],1):t._e(),t._v(" "),t.$page.props.jetstream.canUpdatePassword?s("div",[s("update-password-form",{staticClass:"mt-10 sm:mt-0"}),t._v(" "),s("arc-section-border")],1):t._e(),t._v(" "),!t.$page.props.isDemo&&t.$page.props.jetstream.canManageTwoFactorAuthentication?s("div",[s("two-factor-authentication-form",{staticClass:"mt-10 sm:mt-0"}),t._v(" "),s("arc-section-border")],1):t._e(),t._v(" "),t.$page.props.isDemo?t._e():s("div",[s("logout-other-browser-sessions-form",{staticClass:"mt-10 sm:mt-0",attrs:{sessions:t.sessions}})],1),t._v(" "),t.$page.props.jetstream.hasAccountDeletionFeatures?[s("arc-section-border"),t._v(" "),s("delete-user-form",{staticClass:"mt-10 sm:mt-0"})]:t._e()],2)])]):t._e()],1)}),[],!1,null,null,null).exports},6178:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var r=s(5523),o=s(93046),a=s(25888),n=s(33215),i=s(9556);const l={components:{ArcActionSection:r.Z,ArcButton:o.Z,ArcConfirmsPassword:a.Z,ArcDangerButton:n.Z,ArcSecondaryButton:i.Z},data:function(){return{enabling:!1,disabling:!1,qrCode:null,recoveryCodes:[]}},methods:{enableTwoFactorAuthentication:function(){var t=this;this.enabling=!0,this.$inertia.post("/user/two-factor-authentication",{},{preserveScroll:!0,onSuccess:function(){return Promise.all([t.showQrCode(),t.showRecoveryCodes()])},onFinish:function(){return t.enabling=!1}})},showQrCode:function(){var t=this;return axios.get("/user/two-factor-qr-code").then((function(e){t.qrCode=e.data.svg}))},showRecoveryCodes:function(){var t=this;return axios.get("/user/two-factor-recovery-codes").then((function(e){t.recoveryCodes=e.data}))},regenerateRecoveryCodes:function(){var t=this;axios.post("/user/two-factor-recovery-codes").then((function(e){t.showRecoveryCodes()}))},disableTwoFactorAuthentication:function(){var t=this;this.disabling=!0,this.$inertia.delete("/user/two-factor-authentication",{preserveScroll:!0,onSuccess:function(){return t.disabling=!1}})}},computed:{twoFactorEnabled:function(){return!this.enabling&&this.$page.props.user.two_factor_enabled}}};const c=(0,s(51900).Z)(l,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-action-section",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n "+t._s(t.__("Two Factor Authentication"))+"\n ")]},proxy:!0},{key:"content",fn:function(){return[t.twoFactorEnabled?s("h3",{staticClass:"text-lg font-medium text-gray-900"},[t._v("\n "+t._s(t.__("You have enabled two factor authentication"))+".\n ")]):s("h3",{staticClass:"text-lg font-medium text-gray-900"},[t._v("\n "+t._s(t.__("You have not enabled two factor authentication"))+".\n ")]),t._v(" "),s("div",{staticClass:"mt-3 max-w-xl text-sm text-gray-600"},[s("p",[t._v("\n "+t._s(t.__("two_factor_message"))+"\n ")])]),t._v(" "),t.twoFactorEnabled?s("div",[t.qrCode?s("div",[s("div",{staticClass:"mt-4 max-w-xl text-gray-600"},[s("p",{staticClass:"font-semibold"},[t._v("\n "+t._s(t.__("tfa_qr_message"))+"\n ")])]),t._v(" "),s("div",{staticClass:"mt-4 dark:p-4 dark:w-56 dark:bg-white",domProps:{innerHTML:t._s(t.qrCode)}})]):t._e(),t._v(" "),t.recoveryCodes.length>0?s("div",[s("div",{staticClass:"mt-4 max-w-xl text-gray-600"},[s("p",{staticClass:"font-semibold"},[t._v("\n "+t._s(t.__("tfa_recovery_message"))+"\n ")])]),t._v(" "),s("div",{staticClass:"grid gap-1 max-w-xl mt-4 px-4 py-4 font-mono bg-gray-100 rounded-lg"},t._l(t.recoveryCodes,(function(e){return s("div",{key:e},[t._v("\n "+t._s(e)+"\n ")])})),0)]):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"mt-5"},[t.twoFactorEnabled?s("div",[s("arc-confirms-password",{on:{confirmed:t.regenerateRecoveryCodes}},[t.recoveryCodes.length>0?s("arc-secondary-button",{staticClass:"mr-3"},[t._v("\n "+t._s(t.__("Regenerate Recovery Codes"))+"\n ")]):t._e()],1),t._v(" "),s("arc-confirms-password",{on:{confirmed:t.showRecoveryCodes}},[0===t.recoveryCodes.length?s("arc-secondary-button",{staticClass:"mr-3"},[t._v("\n "+t._s(t.__("Show Recovery Codes"))+"\n ")]):t._e()],1),t._v(" "),s("arc-confirms-password",{on:{confirmed:t.disableTwoFactorAuthentication}},[s("arc-danger-button",{class:{"opacity-25":t.disabling},attrs:{disabled:t.disabling}},[t._v("\n "+t._s(t.__("Disable"))+"\n ")])],1)],1):s("div",[s("arc-confirms-password",{on:{confirmed:t.enableTwoFactorAuthentication}},[s("arc-button",{class:{"opacity-25":t.enabling},attrs:{type:"button",disabled:t.enabling}},[t._v("\n "+t._s(t.__("Enable"))+"\n ")])],1)],1)])]},proxy:!0}])})}),[],!1,null,null,null).exports},53496:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var r=s(15422),o=s(93046),a=s(48243),n=s(6985),i=s(26216),l=s(39283);const c={components:{ArcActionMessage:r.Z,ArcButton:o.Z,ArcFormSection:a.Z,ArcInput:n.Z,ArcInputError:i.Z,ArcLabel:l.Z},data:function(){return{form:this.$inertia.form({current_password:"",password:"",password_confirmation:""})}},methods:{updatePassword:function(){var t=this;this.form.put(route("user-password.update"),{errorBag:"updatePassword",preserveScroll:!0,onSuccess:function(){return t.form.reset()},onError:function(){t.form.errors.password&&(t.form.reset("password","password_confirmation"),t.$refs.password.focus()),t.form.errors.current_password&&(t.form.reset("current_password"),t.$refs.current_password.focus())}})}}};const u=(0,s(51900).Z)(c,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updatePassword},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n "+t._s(t.__("Update Password"))+"\n ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"current_password",value:t.__("Current Password")}}),t._v(" "),s("arc-input",{ref:"current_password",staticClass:"mt-1 block w-full",attrs:{id:"current_password",type:"password",autocomplete:"current-password"},model:{value:t.form.current_password,callback:function(e){t.$set(t.form,"current_password",e)},expression:"form.current_password"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.current_password}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"password",value:t.__("New Password")}}),t._v(" "),s("arc-input",{ref:"password",staticClass:"mt-1 block w-full",attrs:{id:"password",type:"password",autocomplete:"new-password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.password}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"password_confirmation",value:t.__("Confirm Password")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"password_confirmation",type:"password",autocomplete:"new-password"},model:{value:t.form.password_confirmation,callback:function(e){t.$set(t.form,"password_confirmation",e)},expression:"form.password_confirmation"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.password_confirmation}})],1)]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n "+t._s(t.__("Saved"))+".\n ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n "+t._s(t.__("Save"))+"\n ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},40565:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var r=s(93046),o=s(48243),a=s(6985),n=s(26216),i=s(39283),l=s(15422),c=s(9556);const u={components:{ArcActionMessage:l.Z,ArcButton:r.Z,ArcFormSection:o.Z,ArcInput:a.Z,ArcInputError:n.Z,ArcLabel:i.Z,ArcSecondaryButton:c.Z},props:["user"],data:function(){return{form:this.$inertia.form({_method:"PUT",first_name:this.user.first_name,last_name:this.user.last_name,email:this.user.email,photo:null}),photoPreview:null}},methods:{updateProfileInformation:function(){this.$refs.photo&&(this.form.photo=this.$refs.photo.files[0]),this.form.post(route("user-profile-information.update"),{errorBag:"updateProfileInformation",preserveScroll:!0})},selectNewPhoto:function(){this.$refs.photo.click()},updatePhotoPreview:function(){var t=this,e=new FileReader;e.onload=function(e){t.photoPreview=e.target.result},e.readAsDataURL(this.$refs.photo.files[0])},deletePhoto:function(){var t=this;this.$inertia.delete(route("current-user-photo.destroy"),{preserveScroll:!0,onSuccess:function(){return t.photoPreview=null}})}}};const d=(0,s(51900).Z)(u,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateProfileInformation},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n "+t._s(t.__("Profile Information"))+"\n ")]},proxy:!0},{key:"form",fn:function(){return[t.$page.props.jetstream.managesProfilePhotos?s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("input",{ref:"photo",staticClass:"hidden",attrs:{type:"file"},on:{change:t.updatePhotoPreview}}),t._v(" "),s("arc-label",{attrs:{for:"photo",value:t.__("Photo")}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.photoPreview,expression:"! photoPreview"}],staticClass:"mt-2"},[s("img",{staticClass:"rounded-full h-20 w-20 object-cover",attrs:{src:t.user.profile_photo_url,alt:t.user.name}})]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.photoPreview,expression:"photoPreview"}],staticClass:"mt-2"},[s("span",{staticClass:"block rounded-full w-20 h-20",style:"background-size: cover; background-repeat: no-repeat; background-position: center center; background-image: url('"+t.photoPreview+"');"})]),t._v(" "),s("arc-secondary-button",{staticClass:"mt-2 ltr:mr-2 rtl:ml-2",attrs:{type:"button"},nativeOn:{click:function(e){return e.preventDefault(),t.selectNewPhoto(e)}}},[t._v("\n "+t._s(t.__("Select A New Photo"))+"\n ")]),t._v(" "),t.user.profile_photo_path?s("arc-secondary-button",{staticClass:"mt-2",attrs:{type:"button"},nativeOn:{click:function(e){return e.preventDefault(),t.deletePhoto(e)}}},[t._v("\n "+t._s(t.__("Remove Photo"))+"\n ")]):t._e(),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.photo}})],1):t._e(),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"first_name",value:t.__("First Name")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"first_name",type:"text",autocomplete:"first_name"},model:{value:t.form.first_name,callback:function(e){t.$set(t.form,"first_name",e)},expression:"form.first_name"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.first_name}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"last_name",value:t.__("Last Name")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"last_name",type:"text",autocomplete:"last_name"},model:{value:t.form.last_name,callback:function(e){t.$set(t.form,"last_name",e)},expression:"form.last_name"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.last_name}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"email",value:t.__("Email")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"email",type:"email"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.email}})],1)]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n "+t._s(t.__("Saved"))+".\n ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n "+t._s(t.__("Save"))+"\n ")])]},proxy:!0}])})}),[],!1,null,null,null).exports}}]);