const Ziggy = {"url":"https:\/\/streamingcommunity.ooo","port":null,"defaults":{},"routes":{"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"uploads.restart":{"uri":"uploads\/{upload}","methods":["POST"],"parameters":["upload"],"bindings":{"upload":"id"}},"uploads.restart.bulk":{"uri":"uploads\/restart\/bulk","methods":["POST"]},"scheduled_uploads.store":{"uri":"scheduled-uploads","methods":["POST"]},"scheduled_uploads.update":{"uri":"scheduled-uploads\/{scheduled_upload}","methods":["PATCH"],"parameters":["scheduled_upload"]},"scheduled_uploads.destroy":{"uri":"scheduled-uploads\/{scheduled_upload}","methods":["DELETE"],"parameters":["scheduled_upload"]},"register":{"uri":"register","methods":["GET","HEAD"]},"login":{"uri":"login","methods":["GET","HEAD"]},"password.request":{"uri":"forgot-password","methods":["GET","HEAD"]},"password.email":{"uri":"forgot-password","methods":["POST"]},"password.reset":{"uri":"reset-password\/{token}","methods":["GET","HEAD"],"parameters":["token"]},"password.update":{"uri":"reset-password","methods":["POST"]},"verification.notice":{"uri":"verify-email","methods":["GET","HEAD"]},"verification.verify":{"uri":"verify-email\/{id}\/{hash}","methods":["GET","HEAD"],"parameters":["id","hash"]},"verification.send":{"uri":"email\/verification-notification","methods":["POST"]},"password.confirm":{"uri":"confirm-password","methods":["GET","HEAD"]},"logout":{"uri":"logout","methods":["POST"]},"api.sliders.fetch":{"uri":"api\/sliders\/fetch","methods":["POST"]},"api.titles.preview":{"uri":"api\/titles\/preview\/{id}","methods":["POST"],"parameters":["id"]},"api.browse":{"uri":"api\/browse\/{slider_name}","methods":["GET","HEAD"],"parameters":["slider_name"]},"api.archive":{"uri":"api\/archive","methods":["GET","HEAD"]},"api.search":{"uri":"api\/search","methods":["GET","HEAD"]},"api.mylist":{"uri":"api\/mylist","methods":["GET","HEAD"]},"api.coinbase.charge":{"uri":"api\/coinbase\/charge","methods":["POST"]},"api.stripe.payment":{"uri":"api\/stripe\/payment","methods":["POST"]},"api.paypal.capture":{"uri":"api\/paypal\/capture\/{order_id}","methods":["POST"],"parameters":["order_id"]},"api.coinremitter.invoice":{"uri":"api\/coinremitter\/invoice","methods":["POST"]},"api.stripe2.webhook":{"uri":"api\/stripe2\/webhook","methods":["POST"]},"api.favourites.toggle":{"uri":"api\/favourites\/toggle\/{title_id}","methods":["POST"],"parameters":["title_id"]},"api.ratings.rate":{"uri":"api\/ratings\/rate\/{title_id}","methods":["POST"],"parameters":["title_id"]},"api.ratings.delete":{"uri":"api\/ratings\/delete\/{title_id}","methods":["DELETE"],"parameters":["title_id"]},"api.watchlist.add":{"uri":"api\/watchlist\/add","methods":["POST"]},"api.watchlist.delete":{"uri":"api\/watchlist\/delete","methods":["DELETE"]},"api.download.generate":{"uri":"api\/download\/generate_link","methods":["POST"]},"api.video_info":{"uri":"api\/video\/{video_id}","methods":["GET","HEAD"],"parameters":["video_id"]},"api.notifications.mark_as_read":{"uri":"api\/notifications\/mark_as_read","methods":["POST"]},"api.notifications.delete":{"uri":"api\/notifications\/delete\/{notification_id}","methods":["DELETE"],"parameters":["notification_id"]},"api.title_requests.toggle_upvote":{"uri":"api\/title-requests\/toggle-upvote\/{titleRequest}","methods":["POST"],"parameters":["titleRequest"],"bindings":{"titleRequest":"id"}},"api.title_requests.search":{"uri":"api\/title-requests\/search\/{type}","methods":["GET","HEAD"],"wheres":{"type":"movie|tv"},"parameters":["type"]},"api.title_requests.number_of_seasons":{"uri":"api\/title-requests\/number-of-seasons\/{tmdb_id}","methods":["GET","HEAD"],"parameters":["tmdb_id"]},"home":{"uri":"\/","methods":["GET","HEAD"]},"shows":{"uri":"serie-tv","methods":["GET","HEAD"]},"movies":{"uri":"film","methods":["GET","HEAD"]},"titles.show":{"uri":"titles\/{id}-{slug}","methods":["GET","HEAD"],"parameters":["id","slug"]},"titles.season.show":{"uri":"titles\/{id}-{slug}\/stagione-{num}","methods":["GET","HEAD"],"parameters":["id","slug","num"]},"titles.watch":{"uri":"watch\/{title_id}","methods":["GET","HEAD"],"parameters":["title_id"]},"titles.watch.iframe":{"uri":"iframe\/{title_id}","methods":["GET","HEAD"],"parameters":["title_id"]},"browse":{"uri":"browse\/{slider_name}","methods":["GET","HEAD"],"parameters":["slider_name"]},"archive":{"uri":"archivio","methods":["GET","HEAD"]},"search":{"uri":"search","methods":["GET","HEAD"]},"premium":{"uri":"premium","methods":["GET","HEAD"]},"title_requests":{"uri":"richiedi-un-titolo","methods":["GET","HEAD"]},"account":{"uri":"account","methods":["GET","HEAD"]},"mylist":{"uri":"my-list","methods":["GET","HEAD"]},"premium.change_plan":{"uri":"premium\/change-plan\/{premiumPlan}","methods":["PATCH"],"parameters":["premiumPlan"],"bindings":{"premiumPlan":"id"}},"title_requests.store":{"uri":"title-requests","methods":["POST"]},"account.update_name":{"uri":"account\/update-name","methods":["PATCH"]},"account.update_email":{"uri":"account\/update-email","methods":["PATCH"]},"account.update_password":{"uri":"account\/update-password","methods":["PATCH"]},"account.destroy":{"uri":"account","methods":["DELETE"]},"stripe.checkout":{"uri":"stripe\/checkout","methods":["POST"]},"premium.checkout":{"uri":"premium\/checkout","methods":["GET","HEAD"]},"slide_banner":{"uri":"slide-banner\/{slideBanner}","methods":["GET","HEAD"],"parameters":["slideBanner"],"bindings":{"slideBanner":"id"}},"title_requests.update":{"uri":"title-requests\/{titleRequest}","methods":["PATCH"],"parameters":["titleRequest"],"bindings":{"titleRequest":"id"}},"title_requests.delete":{"uri":"title-requests\/{titleRequest}","methods":["DELETE"],"parameters":["titleRequest"],"bindings":{"titleRequest":"id"}},"titles.store":{"uri":"titles","methods":["POST"]},"titles.update":{"uri":"titles\/{title}","methods":["PATCH"],"parameters":["title"],"bindings":{"title":"id"}},"titles.replace_video":{"uri":"titles\/{title}\/replace-video","methods":["PATCH"],"parameters":["title"],"bindings":{"title":"id"}},"titles.destroy":{"uri":"titles\/{title}","methods":["DELETE"],"parameters":["title"],"bindings":{"title":"id"}},"titles.post":{"uri":"titles\/{title}\/post","methods":["POST"],"parameters":["title"],"bindings":{"title":"id"}},"premium_users.store":{"uri":"premium_users","methods":["POST"]},"premium_users.update":{"uri":"premium_users\/{premiumUser}","methods":["PATCH"],"parameters":["premiumUser"],"bindings":{"premiumUser":"id"}},"premium_users.destroy":{"uri":"premium_users\/{premiumUser}","methods":["DELETE"],"parameters":["premiumUser"],"bindings":{"premiumUser":"id"}},"slide_banners.store":{"uri":"slide_banners","methods":["POST"]},"slide_banners.update":{"uri":"slide_banners\/{banner}","methods":["PATCH"],"parameters":["banner"],"bindings":{"banner":"id"}},"slide_banners.destroy":{"uri":"slide_banners\/{banner}","methods":["DELETE"],"parameters":["banner"],"bindings":{"banner":"id"}},"payment_methods.store":{"uri":"payment_methods","methods":["POST"]},"payment_methods.update":{"uri":"payment_methods\/{paymentMethod}","methods":["PATCH"],"parameters":["paymentMethod"],"bindings":{"paymentMethod":"id"}},"payment_methods.destroy":{"uri":"payment_methods\/{paymentMethod}","methods":["DELETE"],"parameters":["paymentMethod"],"bindings":{"paymentMethod":"id"}},"premium_plans.update":{"uri":"premium_plans\/{plan}","methods":["PATCH"],"parameters":["plan"],"bindings":{"plan":"id"}},"previews.update":{"uri":"previews\/{preview}","methods":["PATCH"],"parameters":["preview"],"bindings":{"preview":"id"}}}}; !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(t||self).route=r()}(this,function(){function t(t,r){for(var e=0;e1;){var r=t.pop(),e=r.obj[r.prop];if(v(e)){for(var n=[],o=0;o=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||o===l.RFC1738&&(40===a||41===a)?u+=i.charAt(f):a<128?u+=p[a]:a<2048?u+=p[192|a>>6]+p[128|63&a]:a<55296||a>=57344?u+=p[224|a>>12]+p[128|a>>6&63]+p[128|63&a]:(a=65536+((1023&a)<<10|1023&i.charCodeAt(f+=1)),u+=p[240|a>>18]+p[128|a>>12&63]+p[128|a>>6&63]+p[128|63&a])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,r){if(v(t)){for(var e=[],n=0;n0?h.join(",")||null:void 0}];else if(g(f))T=f;else{var x=Object.keys(h);T=a?x.sort(a):x}for(var N=0;N-1?t.split(","):t},A=function(t,r,e,n){if(t){var o=e.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,u=e.depth>0&&/(\[[^[\]]*])/.exec(o),f=u?o.slice(0,u.index):o,a=[];if(f){if(!e.plainObjects&&T.call(Object.prototype,f)&&!e.allowPrototypes)return;a.push(f)}for(var c=0;e.depth>0&&null!==(u=i.exec(o))&&c=0;--i){var u,f=t[i];if("[]"===f&&e.parseArrays)u=[].concat(o);else{u=e.plainObjects?Object.create(null):{};var a="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,c=parseInt(a,10);e.parseArrays||""!==a?!isNaN(c)&&f!==a&&String(c)===a&&c>=0&&e.parseArrays&&c<=e.arrayLimit?(u=[])[c]=o:"__proto__"!==a&&(u[a]=o):u={0:o}}o=u}return o}(a,r,e,n)}},D=function(t,r){var e=function(t){if(!t)return x;if(null!=t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:void 0===t.allowDots?x.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:x.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:x.arrayLimit,charset:void 0===t.charset?x.charset:t.charset,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:x.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:x.comma,decoder:"function"==typeof t.decoder?t.decoder:x.decoder,delimiter:"string"==typeof t.delimiter||d.isRegExp(t.delimiter)?t.delimiter:x.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:x.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:x.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:x.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:x.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:x.strictNullHandling}}(r);if(""===t||null==t)return e.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,r){var e,n={},o=(r.ignoreQueryPrefix?t.replace(/^\?/,""):t).split(r.delimiter,Infinity===r.parameterLimit?void 0:r.parameterLimit),i=-1,u=r.charset;if(r.charsetSentinel)for(e=0;e-1&&(a=k(a)?[a]:a),n[f]=T.call(n,f)?d.combine(n[f],a):a}return n}(t,e):t,o=e.plainObjects?Object.create(null):{},i=Object.keys(n),u=0;u"+((null==(i=r.wheres[n])?void 0:i.replace(/(^\^)|(\$$)/g,""))||"[^/?]+")+")";return o?"("+e+u+")?":""+e+u}).replace(/^\w+:\/\//,""),n=t.replace(/^\w+:\/\//,"").split("?"),o=n[0],i=n[1],u=new RegExp("^"+e+"/?$").exec(decodeURI(o));if(u){for(var f in u.groups)u.groups[f]="string"==typeof u.groups[f]?decodeURIComponent(u.groups[f]):u.groups[f];return{params:u.groups,query:D(i)}}return!1},e.compile=function(t){var r=this;return this.parameterSegments.length?this.template.replace(/{([^}?]+)(\??)}/g,function(e,n,o){var i,u;if(!o&&[null,void 0].includes(t[n]))throw new Error("Ziggy error: '"+n+"' parameter is required for route '"+r.name+"'.");if(r.wheres[n]&&!new RegExp("^"+(o?"("+r.wheres[n]+")?":r.wheres[n])+"$").test(null!=(u=t[n])?u:""))throw new Error("Ziggy error: '"+n+"' parameter does not match required format '"+r.wheres[n]+"' for route '"+r.name+"'.");return encodeURI(null!=(i=t[n])?i:"").replace(/%7C/g,"|").replace(/%25/g,"%").replace(/\$/g,"%24")}).replace(this.origin+"//",this.origin+"/").replace(/\/+$/,""):this.template},r(t,[{key:"template",get:function(){var t=(this.origin+"/"+this.definition.uri).replace(/\/+$/,"");return""===t?"/":t}},{key:"origin",get:function(){return this.config.absolute?this.definition.domain?""+this.config.url.match(/^\w+:\/\//)[0]+this.definition.domain+(this.config.port?":"+this.config.port:""):this.config.url:""}},{key:"parameterSegments",get:function(){var t,r;return null!=(t=null==(r=this.template.match(/{[^}?]+\??}/g))?void 0:r.map(function(t){return{name:t.replace(/{|\??}/g,""),required:!/\?}$/.test(t)}}))?t:[]}}]),t}(),F=/*#__PURE__*/function(t){var n,i;function u(r,n,o,i){var u;if(void 0===o&&(o=!0),(u=t.call(this)||this).t=null!=i?i:"undefined"!=typeof Ziggy?Ziggy:null==globalThis?void 0:globalThis.Ziggy,u.t=e({},u.t,{absolute:o}),r){if(!u.t.routes[r])throw new Error("Ziggy error: route '"+r+"' is not in the route list.");u.i=new $(r,u.t.routes[r],u.t),u.u=u.l(n)}return u}i=t,(n=u).prototype=Object.create(i.prototype),n.prototype.constructor=n,o(n,i);var f=u.prototype;return f.toString=function(){var t=this,r=Object.keys(this.u).filter(function(r){return!t.i.parameterSegments.some(function(t){return t.name===r})}).filter(function(t){return"_query"!==t}).reduce(function(r,n){var o;return e({},r,((o={})[n]=t.u[n],o))},{});return this.i.compile(this.u)+function(t,r){var e,n=t,o=function(t){if(!t)return R;if(null!=t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var r=t.charset||R.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=l.default;if(void 0!==t.format){if(!b.call(l.formatters,t.format))throw new TypeError("Unknown format option provided.");e=t.format}var n=l.formatters[e],o=R.filter;return("function"==typeof t.filter||g(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:R.addQueryPrefix,allowDots:void 0===t.allowDots?R.allowDots:!!t.allowDots,charset:r,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:R.charsetSentinel,delimiter:void 0===t.delimiter?R.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:R.encode,encoder:"function"==typeof t.encoder?t.encoder:R.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:R.encodeValuesOnly,filter:o,format:e,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:R.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:R.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:R.strictNullHandling}}(r);"function"==typeof o.filter?n=(0,o.filter)("",n):g(o.filter)&&(e=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var u=h[r&&r.arrayFormat in h?r.arrayFormat:r&&"indices"in r?r.indices?"indices":"repeat":"indices"];e||(e=Object.keys(n)),o.sort&&e.sort(o.sort);for(var f=0;f0?s+c:""}(e({},r,this.u._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:function(t,r){return"boolean"==typeof t?Number(t):r(t)}})},f.v=function(t){var r=this;t?this.t.absolute&&t.startsWith("/")&&(t=this.p().host+t):t=this.h();var n={},o=Object.entries(this.t.routes).find(function(e){return n=new $(e[0],e[1],r.t).matchesUrl(t)})||[void 0,void 0];return e({name:o[0]},n,{route:o[1]})},f.h=function(){var t=this.p(),r=t.pathname,e=t.search;return(this.t.absolute?t.host+r:r.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+e},f.current=function(t,r){var n=this.v(),o=n.name,i=n.params,u=n.query,f=n.route;if(!t)return o;var a=new RegExp("^"+t.replace(/\./g,"\\.").replace(/\*/g,".*")+"$").test(o);if([null,void 0].includes(r)||!a)return a;var c=new $(o,f,this.t);r=this.l(r,c);var l=e({},i,u);return!(!Object.values(r).every(function(t){return!t})||Object.values(l).some(function(t){return void 0!==t}))||function t(r,e){return Object.entries(r).every(function(r){var n=r[0],o=r[1];return Array.isArray(o)&&Array.isArray(e[n])?o.every(function(t){return e[n].includes(t)}):"object"==typeof o&&"object"==typeof e[n]&&null!==o&&null!==e[n]?t(o,e[n]):e[n]==o})}(r,l)},f.p=function(){var t,r,e,n,o,i,u="undefined"!=typeof window?window.location:{},f=u.host,a=u.pathname,c=u.search;return{host:null!=(t=null==(r=this.t.location)?void 0:r.host)?t:void 0===f?"":f,pathname:null!=(e=null==(n=this.t.location)?void 0:n.pathname)?e:void 0===a?"":a,search:null!=(o=null==(i=this.t.location)?void 0:i.search)?o:void 0===c?"":c}},f.has=function(t){return Object.keys(this.t.routes).includes(t)},f.l=function(t,r){var n=this;void 0===t&&(t={}),void 0===r&&(r=this.i),null!=t||(t={}),t=["string","number"].includes(typeof t)?[t]:t;var o=r.parameterSegments.filter(function(t){return!n.t.defaults[t.name]});if(Array.isArray(t))t=t.reduce(function(t,r,n){var i,u;return e({},t,o[n]?((i={})[o[n].name]=r,i):"object"==typeof r?r:((u={})[r]="",u))},{});else if(1===o.length&&!t[o[0].name]&&(t.hasOwnProperty(Object.values(r.bindings)[0])||t.hasOwnProperty("id"))){var i;(i={})[o[0].name]=t,t=i}return e({},this.g(r),this.m(t,r))},f.g=function(t){var r=this;return t.parameterSegments.filter(function(t){return r.t.defaults[t.name]}).reduce(function(t,n,o){var i,u=n.name;return e({},t,((i={})[u]=r.t.defaults[u],i))},{})},f.m=function(t,r){var n=r.bindings,o=r.parameterSegments;return Object.entries(t).reduce(function(t,r){var i,u,f=r[0],a=r[1];if(!a||"object"!=typeof a||Array.isArray(a)||!o.some(function(t){return t.name===f}))return e({},t,((u={})[f]=a,u));if(!a.hasOwnProperty(n[f])){if(!a.hasOwnProperty("id"))throw new Error("Ziggy error: object passed as '"+f+"' parameter is missing route model binding key '"+n[f]+"'.");n[f]="id"}return e({},t,((i={})[f]=a[n[f]],i))},{})},f.valueOf=function(){return this.toString()},f.check=function(t){return this.has(t)},r(u,[{key:"params",get:function(){var t=this.v();return e({},t.params,t.query)}}]),u}(/*#__PURE__*/u(String));return function(t,r,e,n){var o=new F(t,r,e,n);return t?o.toString():o}});