1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[604],{3364:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return ye},default:function(){return be}});var a=n(7375),r=n(6156),s=n(7294),o=n(9008),l=n(1163),i=n(2148),c=n(2641),u=n(5607),p=n(7052),m=n(3253),d=n.n(m),f=n(8226),y=n.n(f),b=s.createElement,v=function(e){var t=e.isOpen,n=e.title,a=e.children,r=e.actions,s=e.setOpen;return b(d(),{isOpen:t,closeTimeoutMS:0,style:{},ariaHideApp:!1},n&&b("div",{className:y().header},n||"-",b("span",{className:y().close,role:"button",onClick:function(){return s(!1)}},b("i",{className:"flaticon-cancel"}))),b("div",{className:y().body},a),r&&b("div",{className:y().footer},r))},g=n(7757),h=n.n(g),_=n(2137),N=n(4184),w=n.n(N);var x=n(3271),O=n.n(x),C=s.createElement;function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=function(e){var t=e.onLogin,n=(0,s.useState)(!1),a=n[0],r=n[1],o=(0,s.useState)(""),l=o[0],i=o[1],c=(0,s.useState)(""),u=c[0],p=c[1],m=(0,s.useState)({mac:"",password:""}),d=m[0],f=m[1],y=(0,s.useState)({mac:!1,password:!1}),b=y[0],v=y[1],g=function(e){var t=(0,s.useRef)({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}(u),N=(0,s.useMemo)((function(){return{mac:u,password:l}}),[u,l]),x=(0,s.useCallback)((function(){var e={mac:"",password:""};return u?17!==u.length?e.mac="Please input full mac address!":!function(e){return/^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/i.test(e)}(u)?e.mac="Please input valid mac address!":e.mac="":e.mac="Mac address is required!",l?6!==l.length?e.password="Device key must be six digits!":!function(e){return/^[0-9]{6}$/.test(e)}(l)?e.password="Please input valid device key!":e.password="":e.password="Device key is required!",f(e),""===e.mac&&""===e.password}),[l,u,d]),P=function(){var e=(0,_.Z)(h().mark((function e(n){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.preventDefault(),x()){e.next=4;break}return e.abrupt("return");case 4:return r(!0),e.next=7,t(N);case 7:r(!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=(0,s.useCallback)((function(e){for(var t=e.target.value||"",n=t.replace(new RegExp(":","g"),""),a="",r=0;r<n.length;)a.length>0&&a.length%3===2&&(a+=":"),a+=n.charAt(r),r++;p(a)}),[g]);return(0,s.useEffect)((function(){x()}),[l,u]),C("div",{className:O().container},C("h3",{className:"text-center"},"Login to add your playlist"),C("form",{className:"mt-3",onSubmit:P},C("div",{className:"form-group"},C("label",{className:O().label,htmlFor:"mac_address"},"Mac Address",C("span",{className:O().required},"*")),C("input",{className:w()("form-control",O().input),type:"text",name:"mac_address",id:"mac_address",maxLength:17,placeholder:"e.g. c8:a4:76:30:47:48",value:u,onChange:S,onFocus:function(){return v(k(k({},b),{},{mac:!0}))},required:!0}),d.mac&&b.mac&&C("span",{className:O().error},d.mac)),C("div",{className:"form-group mt-4"},C("label",{className:O().label,htmlFor:"password"},"Device Key",C("span",{className:O().required},"*")),C("input",{className:w()("form-control",O().input),type:"password",name:"password",id:"password",maxLength:6,placeholder:"e.g. 123456",value:l,onChange:function(e){i(e.target.value)},onFocus:function(){return v(k(k({},b),{},{password:!0}))},required:!0}),d.password&&b.password&&C("span",{className:O().error},d.password)),C("button",{type:"submit",className:w()("btn btn-primary mt-4",O().button),style:{width:"100%"},disabled:d.mac||d.password||!b.mac||!b.password||a},"Login")))},E=n(8430),L=n.n(E),A=s.createElement,q=function(e){var t=e.open,n=e.setOpen,a=e.onConfirm,r=e.onCancel,o=e.error,l=(0,s.use
1State)(""),i=l[0],c=l[1];return(0,s.useEffect)((function(){t||c("")}),[t]),A(v,{isOpen:t,setOpen:n,title:"Confirm Your PIN"},A("p",null,"PIN is required to access the protected playlist."),A("form",{onSubmit:function(e){e.preventDefault(),a(i)}},A("div",{className:"form-group mt-3"},A("label",{className:L().formLabel},"PIN"),A("input",{type:"password",name:"pin",placeholder:"",required:!0,className:"form-control",value:i,onChange:function(e){return c(e.target.value)}}),o&&A("p",{style:{fontSize:"0.75rem",color:"red"}},o)),A("div",{className:"d-flex justify-content-center py-2"},A("button",{className:"btn btn-success py-2 me-3 text-capitalize",type:"submit"},"Ok"),A("button",{className:"btn btn-secondary py-2 text-capitalize",type:"button",onClick:r},"Cancel"))))},j=n(9796),D=n(5195),Z=n.n(D),I=s.createElement,F=function(e){var t=e.children,n=e.className,a=e.onLogout,o=e.showError,i=(0,l.useRouter)(),c=(0,s.useState)({isActive:!1,expiration:"-",mac:"-"}),u=c[0],p=c[1],m=(0,s.useMemo)((function(){var e=u.expiration;try{var t=(new Date).getTimezoneOffset(),n=(new Date(e).getTime()/1e3).toFixed(0)-60*t-((new Date).getTime()/1e3).toFixed(0);return n>=604800?"Active":n>=0?"Trial":"Expired"}catch(a){return"-"}}),[u.expiration]),d=(0,s.useMemo)((function(){try{return new Date(u.expiration).toLocaleDateString()}catch(e){return"-"}}),[u.expiration]);return(0,s.useEffect)((function(){(0,j.S2)().then((function(e){return p(e)})).catch((function(e){console.log("[/me]",Object.keys(e),e.response.status),401===e.response.status&&(o({title:"Authentication Error",text:"Please login again!"}),setTimeout((function(){a()}),3e3))}))}),[]),I("div",{className:w()(Z().container,"container",n)},I("div",{className:"section-title"},I("h2",null,"Your playlists"),I("div",{className:"bar"}),I("p",null,"Say something simple here.")),I("div",{className:Z().statuses},I(T,{label:"Mac Address",value:u?u.mac:"-"}),I(T,{label:"Status",value:m}),I(T,{label:"Expiration",value:d})),I("div",{className:Z().flexContainer},I("div",{className:Z().tabContainer},I("div",{className:w()(Z().tab,(0,r.Z)({},Z().activeTab,"list"===i.query.tab)),role:"button",onClick:function(){return l.default.push("/manage-playlists/list")}},"Playlist"),I("div",{className:w()(Z().tab,(0,r.Z)({},Z().activeTab,"activate"===i.query.tab)),role:"button",onClick:function(){return l.default.push("/manage-playlists/activate")}},"Activate"),I("div",{className:w()(Z().tab,"d-flex align-items-center"),onClick:a},I("i",{className:"fas fa-sign-out-alt fs-3"}),"Logout")),I("div",{className:Z().childrenWrapper},t)))},T=function(e){var t=e.label,n=e.value;return I("div",{className:Z().statusItem},I("label",{className:Z().statusLabel},t,":"),I("p",null,n))},z=n(3892),W=n(7614),M=n.n(W),R=s.createElement,U=function(e){var t=e.refreshFlag,n=e.onAdd,a=e.onAddXC,r=e.onEdit,o=e.onDelete,l=(0,s.useState)([]),i=l[0],c=l[1];return(0,s.useEffect)((function(){(0,j.C$)().then((function(e){return c(e)})).catch((function(e){z.A.error({title:"Loading Playlist",text:e.message})}))}),[t]),R("section",{className:"container comparisons-area bg-f7fafd px-0"},R("div",{className:"container px-0"},R("div",{className:"d-flex justify-content-start"},R("button",{className:"mb-1 me-2 btn btn-secondary px-3 py-2 text-capitalize",onClick:n},"Add Playlist"),R("button",{className:"d-block mb-1 btn btn-secondary px-3 py-2 text-capitalize",onClick:a},"Add XC Playlist")),R("div",{className:w()("comparisons-table table-responsive",M().tableWrapper)},R("table",{className:"table"},R("thead",null,R("tr",null,R("th",{scope:"col"},"Name"),R("th",{scope:"col"},"URL"),R("th",{scope:"col"}))),R("tbody",null,i.map((function(e){return R("tr",{key:e.id},R("td",null,R("span",{className:M().name},e.name)),R("td",{className:w()("text-start",M().url)},e.url),R("td",null,R("button",{className:w()("btn btn-success btn-small mb-1 text-capitalize",M().button),onClick:function(){return r(e)}},"Edit"),R("br",null),R("button",{className:w()("btn btn-warning btn-small text-capitalize",M().button),onClick:function(){return o(e)}},"Delete")))})))))))},X=n(3906),G=n.n(X),B=s.createElement;function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?V(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y={id:null,name:"",is_protected:!1,pin:"",cpin:"",url:"",host:"",username:"",password:""};var Q=function(e){var t=e.values,n=e.formType,a=void 0===n?"URL":n,o=e.onSubmit,l=(0,s.useState)(Y),c=l[0],u=l[1],p=(0,s.useMemo)((function(){return(e="URL"===a?c.url:c.host)?/https?:\/\/(?:w{1,3}\.)?[^\s.]+(?:\.[a-z]+)*(?::\d+)?(?![^<]*(?:<\/\w+>|\/?>))/.test(e)?e.includes("iboproapp.com")||e.includes("iboplayer.pro")||e.includes("ibplayer.pro")?"".concat(i.v.appname," itself does not provides playlists!"):"":"Please input valid URL!":"";var e}),[c.host,c.url,a]),m=(0,s.useMemo)((function(){return c.is_protected&&c.pin.length>=4&&c.pin===c.cpin}),[c.is_protected,c.pin,c.cpin]),d=(0,s.useMemo)((function(){return(!c.is_protected||m)&&!p}),[c.is_protected,m,p]),f=function(e){u(H(H({},c),{},(0,r.Z)({},e.target.name,e.target.value)))};return(0,s.useEffect)((function(){t&&u(H(H({},Y),t))}),[t]),B("form",{onSubmit:function(e){e.preventDefault(),console.log("playlist.form.submit"),c.is_protected&&c.pin!==c.cpin||o(H(H({},c),{},{type:a}))}},B("div",{className:"form-group"},B("label",{className:G().formLabel},"Playlist Name"),B("input",{type:"text",name:"name",maxLength:50,placeholder:"e.g. Favorite I",className:"form-control",value:c.name,onChange:function(e){u(H(H({},c),{},(0,r.Z)({},e.target.name,e.target.value)))}})),"URL"===a&&B("div",{className:"form-group mt-3"},B("label",{className:G().formLabel},"Playlist URL"),B("input",{type:"text",name:"url",placeholder:".m3u or .m3u8",required:"URL"===a,className:"form-control",value:c.url,onChange:f}),B("span",{className:G().error},p)),"XC"===a&&B(s.Fragment,null,B("div",{className:"form-group mt-3"},B("label",{className:G().formLabel},"Playlist Host"),B("input",{type:"text",name:"host",placeholder:"e.g. https://example.com",required:"XC"===a,className:"form-control",value:c.host,onChange:f}),B("span",{className:G().error},p)),B("div",{className:"form-group mt-3"},B("label",{className:G().formLabel},"Username"),B("input",{type:"text",name:"username",autoComplete:"off",autoCorrect:"off",placeholder:"",required:"XC"===a,className:"form-control",value:c.username,onChange:f})),B("div",{className:"form-group mt-3"},B("label",{className:G().formLabel},"Password"),B("input",{type:"text",name:"password",placeholder:"",required:"XC"===a,className:"form-control",value:c.password,onChange:f}))),B("div",{className:"form-group mt-3"},B("input",{className:"me-2",type:"checkbox",id:"playlist-protected",checked:c.is_protected,onChange:function(e){return u(H(H({},c),{},{is_protected:e.target.checked}))}}),B("label",{className:w()(G().formLabel,"mb-0"),htmlFor:"playlist-protected"},"Protect this playlist"),B("br",null),B("span",{style:{fontSize:"0.75rem",color:"#d1911c"}},"Protected playlists will not be viewed or modified without entering PIN.")),B("div",{className:w()("justify-content-between mt-2",G().pinGroupWrapper)},B("div",{className:w()("form-group",G().pinGroup)},B("label",{className:G().formLabel},"PIN"),B("br",null),B("input",{className:G().pinInput,type:"password",autoComplete:"off",name:"pin",onChange:f,disabled:!c.is_protected,required:c.is_protected,maxLength:6}),B("p",{className:w()({"d-block":c.is_protected&&!c.pin.length,"d-none":!c.is_protected||c.pin.length}),style:{fontSize:"0.75rem",color:"red"}},"PIN is required!")),B("div",{className:w()("form-group",G().pinGroup)},B("label",{className:G().formLabel},"Confirm PIN"),B("br",null),B("input",{className:G().pinInput,type:"password",name:"cpin",onChange:f,disabled:!c.is_protected,required:c.is_protected,maxLength:6}),B("p",{className:w()({"d-block":c.is_protected&&!m,"d-none":!c.is_protected||!c.pin.length||m}),style:{fontSize:"0.75rem",color:"red"}},"Pin doesn't match"))),B("button",{type:"submit",className:w()("btn btn-primary mt-4",(0,r.Z)({},G().btnDisabled,!d)),style:{width:"100%"},disabled:!d},"Submit"))},$=n(3896),J=(n(5021),s.createElement,n(8482)),K=n.n(J),ee=s.createElement,te="paypal",ne={paypal:!1,stripe:!1},ae=function(e){var t=e.notifyOnError,n=(0,s.useContext)($.F).setting,a=(0,s.use
1State)(!1),r=a[0],o=a[1],l=(0,s.useState)(ne),c=l[0],u=l[1],p=function(){var e=(0,_.Z)(h().mark((function e(n){var a;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o(!0),e.next=4,(0,j.y9)({amount:8});case 4:a=e.sent,window.location=a.url,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.log("stripe.handlesubmit",e.t0.response.data),e.t0.response&&t(e.t0.response.data.message);case 12:return e.prev=12,o(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,8,12,15]])})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=(0,_.Z)(h().mark((function e(n){var a;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o(!0),e.next=4,(0,j.wD)({amount:8});case 4:if((a=e.sent).status){e.next=7;break}throw new Error(a.message);case 7:window.location.href=a.redirect_to,e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),console.log("paypal.handlesubmit",e.t0),e.t0.response?t(e.t0.response.data.message):t(e.t0.message);case 14:return e.prev=14,o(!1),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[0,10,14,17]])})));return function(t){return e.apply(this,arguments)}}();return(0,s.useEffect)((function(){(0,j.DI)().then((function(e){u(e)})).catch((function(e){console.log("[CheckoutForm]",e)}))}),[]),ee("div",{className:"container"},ee("div",{className:K().disclaimer},ee("label",null,"Disclaimer"),ee("p",null,"We don't provide contents but pure media player. To use our player, you have to upload your own playlist. If you have no playlist, you can't use the player anymore so in this case no need to pay. Also we are not allowing activation for the users that don't have own playlist."),ee("p",null,"As each device has an unique Mac address,"," ",ee("u",null,ee("b",null,"a payment is valid for a device only.")))),ee("p",{className:"mt-2"},"Price:"," ",ee("strong",null,n.loading?i.Z.price:n.appPrice," \u20ac (For lifetime)")),ee("div",{className:K().payments},ee("button",{className:K().payButton,disabled:r||!c.paypal,onClick:function(){(te===te?m:p)()}},ee("img",{style:{height:"60px"},src:"/m3u/paypal-button.png"})),ee("p",{className:K().restartApp},"After you make the payment, please restart the application so that you can see your account has been activated."),!c.stripe&&!c.paypal&&ee("div",{className:"text-center text-warning"},"We are configuring online payments, coming soon!")))},re=n(64),se=n.n(re),oe=s.createElement,le=function(e){var t=e.children;return oe("div",{className:se().container},t)},ie=n(9726),ce=s.createElement;function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var me={list:{title:"Manage Playlists - ".concat(i.Z.appname),description:"".concat(i.Z.appname," is a fantastic IPTV application good functionalities. Upload your channels and enjoy!")},activate:{title:"Activate Device - ".concat(i.Z.appname),description:"".concat(i.Z.appname," is a fantastic IPTV application good functionalities. Activate your device today for more funtionalities!")},login:{title:"Login - ".concat(i.Z.appname),description:"".concat(i.Z.appname," is a fantastic IPTV application good functionalities. Login Please")}},de="delete",fe="update",ye=!0,be=function(e){var t,n,r,i,m,d,f=e.loading,y=(0,l.useRouter)(),b=(0,s.useState)(!1),g=b[0],h=b[1],_=(0,s.useState)(!1),N=_[0],w=_[1],x=(0,s.useState)(0),O=x[0],C=x[1],P=(0,s.useState)({}),k=P[0],E=P[1],L=(0,s.useState)("URL"),A=L[0],D=L[1],Z=(0,s.useState)(""),I=Z[0],T=Z[1],W=(0,s.useState)(""),M=W[0],R=W[1],X=(0,s.useState)({open:!1,title:"Confirmation",body:"Are you sure?"}
1),G=X[0],B=X[1],V=(0,s.useState)({open:!1,error:""}),H=V[0],Y=V[1],$=function(){C(1-O)},J=function(e){D(e),E(null),w(!0)},K=(0,s.useCallback)((function(e){return(0,j.y4)(e,k.id).then((function(e){if(!e.status)throw new Error(e.message);I===fe?(E(pe(pe({},k),e.playlist)),Y({open:!1,error:""}),w(!0)):I===de&&ee()})).catch((function(e){Y(pe(pe({},H),{},{error:e.message}))}))}),[k,I,H]),ee=(0,s.useCallback)((function(){if(M)return(0,j.kZ)(M).then((function(e){if(!e.status)throw new Error(e.message);z.A.success({title:"Delete Playlist",text:e.message}),$()})).catch((function(e){z.A.error({title:"Delete Playlist",text:e.message||"Failed to delete"})})).finally((function(){R(null),E(),T(),B(pe(pe({},G),{},{open:!1})),Y(pe(pe({},H),{},{open:!1}))}))}),[M]);return(0,s.useEffect)((function(){if(!f)try{var e=!!(0,ie.Bp)();if(h(e),e&&"login"===y.query.tab){var t=y.query,n=t.callback_url,r=(t.tab,(0,a.Z)(t,["callback_url","tab"]));l.default.push({pathname:n||"/manage-playlists/list",query:r})}else if(!e&&"login"!==y.query.tab){var s=y.query,o=s.tab,i=(0,a.Z)(s,["tab"]),c=y.pathname.replace("[tab]",o);l.default.push({pathname:"/manage-playlists/login",query:pe(pe({},i),{},{callback_url:c})})}}catch(u){h(!1),(0,ie.Fr)("")}}),[g,y.query.tab,f]),(0,s.useEffect)((function(){var e,t;if(!f&&g&&"login"!==(null===(e=y.query)||void 0===e?void 0:e.tab)&&null!==(t=y.query)&&void 0!==t&&t.r){var n;if(Number(null===(n=y.query)||void 0===n?void 0:n.r)){var a,r=(null===(a=y.query)||void 0===a?void 0:a.m)||"Payment Success!";z.A.success({title:"Payment",text:r})}else{var s;z.A.error({title:"Payment",text:"Payment failed: "+(null===(s=y.query)||void 0===s?void 0:s.m)})}l.default.push(window.location.href.split("?")[0])}}),[null===(t=y.query)||void 0===t?void 0:t.r,null===(n=y.query)||void 0===n?void 0:n.m,null===(r=y.query)||void 0===r?void 0:r.tab,f,g]),ce(s.Fragment,null,ce(o.default,null,ce("title",null,me[(null===(i=y.query)||void 0===i?void 0:i.tab)||"list"].title),ce("meta",{name:"description",content:null===(m=me[(null===(d=y.query)||void 0===d?void 0:d.tab)||"list"])||void 0===m?void 0:m.description})),ce(c.Z,null),ce(u.Z,{pageTitle:"Manage Your Playlists",pageCaption:"Do it simply wherever you go"}),!g&&ce(le,null,ce(S,{onLogin:function(e){return(0,j.Qb)(e).then((function(e){e.status?(z.A.success({title:"Login",text:e.message}),setTimeout((function(){h(!0)}),2e3)):z.A.error({title:"Login",text:e.message})})).catch((function(e){var t,n,a=e.message;null!==e&&void 0!==e&&null!==(t=e.response)&&void 0!==t&&null!==(n=t.data)&&void 0!==n&&n.message&&(a=e.response.data.message),z.A.error({title:"Login",text:a})}))}})),ce(le,null,g&&ce(F,{onLogout:function(){(0,ie.Fr)(""),l.default.push({pathname:y.pathname,query:{tab:"login"}})},showError:z.A.error},"list"===y.query.tab&&ce(U,{refreshFlag:O,onAdd:function(){return J("URL")},onEdit:function(e){if(E(e),D(e.type),!e.is_protected)return w(!0);T(fe),Y({open:!0,error:""})},onAddXC:function(){return J("XC")},onDelete:function(e){return R((t=e).id),E(t),void(t.is_protected?(T(de),Y({open:!0,error:""})):B(pe(pe({},G),{},{open:!0,body:"Are you sure to delete?"})));var t}}),"activate"===y.query.tab&&ce(ae,{notifyOnError:function(e){return z.A.error({title:"Payment",text:e})}}
1))),ce(p.Z,null),ce(v,{isOpen:N,setOpen:w,title:null!==k&&void 0!==k&&k.id?"Update Playlist":"Add Playlist"},ce(Q,{values:k,onSubmit:function(e){return(0,j.S8)(e).then((function(e){if(!e.created_at||!e.updated_at)throw new Error(e.message);z.A.success({title:"Playlist",text:"Operation success!"}),$(),E(null),w(!1)})).catch((function(e){var t,n;z.A.error({title:"Playlist",text:(null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)||e.message||"Operation failed"})}))},formType:A})),ce(v,{isOpen:G.open,setOpen:function(e){return B(pe(pe({},G),{},{open:e}))},title:G.title,actions:ce("div",{className:"d-flex justify-content-center py-2"},ce("button",{className:"btn btn-success py-2 me-3 text-capitalize",onClick:ee},"Ok"),ce("button",{className:"btn btn-secondary py-2 text-capitalize",onClick:function(){R(null),B(pe(pe({},G),{},{open:!1}))}},"Cancel"))},G.body),ce(q,{open:H.open,setOpen:function(e){return Y(pe(pe({},H),{},{open:e}))},onConfirm:function(e){return K(e)},onCancel:function(){Y({open:!1,error:""})},error:H.error}))}},8492:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/manage-playlists/[tab]",function(){return n(3364)}])},64:function(e){e.exports={container:"styles_container__1a9rv"}},8226:function(e){e.exports={header:"styles_header__3tMaC",body:"styles_body__1AMRC",close:"styles_close__1dySz",footer:"styles_footer__1nNOS"}},8482:function(e){e.exports={disclaimer:"styles_disclaimer__Il5pE",payments:"styles_payments__31I2g",payButton:"styles_payButton__3Eo1w",actions:"styles_actions__3tye5",restartApp:"styles_restartApp__1rAvL",loadingWrapper:"styles_loadingWrapper__1cGch",loading:"styles_loading__3J5Fa"}},3271:function(e){e.exports={container:"styles_container__2JmmC",label:"styles_label__3quCW",input:"styles_input__3n4I3",error:"styles_error__1wnxD",button:"styles_button__2OCSn",required:"styles_required__1ms6z"}},8430:function(e){e.exports={formLabel:"styles_formLabel__mrCbx",btnDisabled:"styles_btnDisabled__3h4E4"}},5195:function(e){e.exports={container:"styles_container__3ABYQ",flexContainer:"styles_flexContainer__2X385",tabContainer:"styles_tabContainer__29W0-",tab:"styles_tab__10vpk",activeTab:"styles_activeTab__3Ro-x",childrenWrapper:"styles_childrenWrapper__12ygV",statuses:"styles_statuses__3HW9C",statusItem:"styles_statusItem__2ah4k",statusLabel:"styles_statusLabel__1hf7q"}},3906:function(e){e.exports={formLabel:"styles_formLabel__16HCK",btnDisabled:"styles_btnDisabled__3bCgF",pinGroupWrapper:"styles_pinGroupWrapper__3wGWV",error:"styles_error__1Q-e6",pinGroup:"styles_pinGroup__DtjWr",pinInput:"styles_pinInput__2Zd3r"}},7614:function(e){e.exports={button:"styles_button__17ZvA",name:"styles_name__aLam3",url:"styles_url__3fABT"}}},function(e){e.O(0,[774,745,631,888,179],(function(){return t=8492,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.