PageSourceSearch

https://sharesome.com/chunks/onboarding-OnboardingTopics-vue.js?id=56dbe09a1edb0bfc

js sharesome.com collected 2026-10-01 12:27:45 UTC 31,235 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"d64e558a075a25e51b68ab30eec7a787eaf4b6ca"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fa2a22b1-7c10-4f9c-9807-50ec2a5c1ec0",e._sentryDebugIdIdentifier="sentry-dbid-fa2a22b1-7c10-4f9c-9807-50ec2a5c1ec0")}catch(e){}}(),(self.webpackChunk=self.webpackChunk||[]).push([[12381,36281,50246,52594,64874],{49305(e,t,n){n.d(t,{A:()=>u});var o=n(54991),r=n.n(o),a=n(76314),i=n.n(a)()(r());i.push([e.id,".topic-bg[data-v-080ffeda]{background:linear-gradient(180deg,rgba(0,0,0,.6) 22.4%,rgba(0,0,0,.25))}","",{version:3,sources:["webpack://./resources/assets/js/components/onboarding/OnboardingTopics.vue"],names:[],mappings:"AACA,2BACE,uEAAF",sourcesContent:["\n.topic-bg {\n  background: linear-gradient(\n    180deg,\n    rgba(0, 0, 0, 0.6) 22.4%,\n    rgba(0, 0, 0, 0.25) 100%\n  );\n}\n"],sourceRoot:""}]);const u=i},56083(e,t,n){n.d(t,{O0:()=>P,wk:()=>A,zz:()=>B});var o,r,a,i,u,l,c=n(72505),s=n.n(c),f=n(15175),p=n(85471),d=n(80372),v=n(97786),g=n(22720),m=n(18069),y=n(44595);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function h(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(b(e)+" is not iterable")}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,u=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return x(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function k(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function a(n,o,r,a){var l=o&&o.prototype instanceof u?o:u,c=Object.create(l.prototype);return _(c,"_invoke",function(n,o,r){var a,u,l,c=0,s=r||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return a=t,u=0,l=e,p.n=n,i}};function d(n,o){for(u=n,l=o,t=0;!f&&c&&!r&&t<s.length;t++){var r,a=s[t],d=p.p,v=a[2];n>3?(r=v===o)&&(l=a[(u=a[4])?5:(u=3,3)],a[4]=a[5]=e):a[0]<=d&&((r=n<2&&d<a[1])?(u=0,p.v=o,p.n=a[1]):d<v&&(r=n<3||a[0]>o||o>v)&&(a[4]=n,a[5]=o,p.n=v,u=0))}if(r||n>1)return i;throw f=!0,o}return function(r,s,v){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&d(s,v),u=s,l=v;(t=u<2?e:l)||!f;){a||(u?u<3?(u>1&&(p.n=-1),d(u,l)):p.n=l:p.v=l);try{if(c=2,a){if(u||(r="next"),t=a[r]){if(!(t=t.call(a,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=a.return)&&t.call(a),u<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),u=1);a=e}else if((t=(f=p.n<0)?l:n.call(o,p))!==i)break}catch(t){a=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,r,a),!0),c}var i={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][o]?t(t([][o]())):(_(t={},o,function(){return this}),t),f=c.prototype=u.prototype=Object.create(s);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,_(e,r,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,_(f,"constructor",c),_(c,"constructor",l),l.displayName="GeneratorFunction",_(c,r,"GeneratorFunction"),_(f),_(f,r,"Generator"),_(f,o,function(){return this}),_(f,"toString",function(){return"[object Generator]"}),(k=function(){return{w:a,m:p}})()}function _(e,t,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}
1_=function(e,t,n,o){function a(t,n){_(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},_(e,t,n,o)}function S(e,t,n,o,r,a,i){try{var u=e[a](i),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(o,r)}function T(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var a=e.apply(t,n);function i(e){S(a,o,r,i,u,"next",e)}function u(e){S(a,o,r,i,u,"throw",e)}i(void 0)})}}var O=(0,p.computed)(function(){return f.A.getters["auth/currentUser"]}),j=(0,p.ref)(!1),C={categories:[],content_rating:O.value.sfw||1,preference:O.value.preferences||[],gender:parseInt(O.value.gender),nsfw:O.value.nsfw||0,sfw:O.value.sfw||0,postNsfw:0,profiles:[],reasons:[],roles:[],topics:[],birth_day:(null===(o=O.value)||void 0===o?void 0:o.profile.birth_day)||"",13:(null===(r=O.value)||void 0===r?void 0:r.settings[13])||[],15:(null===(a=O.value)||void 0===a?void 0:a.settings[15])||null,20:parseInt(null===(i=O.value)||void 0===i?void 0:i.settings[20]),21:parseInt(null===(u=O.value)||void 0===u?void 0:u.settings[21]),22:parseInt(null===(l=O.value)||void 0===l?void 0:l.settings[22])},A=(0,v.rXt)("onboarding",C),P=(0,p.computed)(function(){return A.value.content_rating>1&&A.value.content_rating<8?A.value.content_rating:2});(0,p.watch)(function(){return P.value},function(e){e&&(A.value.content_rating=e)});var z=[{name:"onboarding",title:"<strong class='font-bold text-xl'>Thank you for using Sharesome!</strong>",text:"Set your preferences to improve feed recommendations and social matching.",info:"All the following preferences can be set to private in your settings. You can change these at any time later."},{name:"onboarding.gender",title:"Choose your gender",text:"Start your Sharesome journey by choosing your gender to ensure a personalized and most enjoyable experience.",info:!1},{name:"onboarding.lookingfor",title:"What are you looking for?",text:"Sharesome can recommend you content, profiles and topics based on what you're looking for!",info:!1},{name:"onboarding.country",title:"Where are you from?",text:"By choosing your country or region, we can recommend you other users or content from near you.",info:!1},{name:"onboarding.preferences",title:"Select your preference",text:"Let us work our magic to make your Sharesome journey as tailor-made as a penguin's tuxedo!",info:!1},{name:"onboarding.birthday",title:"What's your birthday?",text:"With your birthday, we can recommend you content and profiles that are tailored to your age group.",info:!1},{name:"onboarding.postsettings",title:"Creator publishing settings",text:"You chose to use Sharesome as a content creator. Please set your default content type settings for your content here.",info:!1},{name:"onboarding.topics",title:"Recommended topics",text:"Pick your favorite topics, and we'll whip up some seriously cool content for you.",info:!1},{name:"onboarding.users",title:"Alright, let's follow some profiles!",text:"We've handpicked some profiles that match your vibe. Brace yourself for a match made in preference heaven!",info:!1},{name:"onboarding.premiumstart",title:'Choose Premium, Premium+ or Sharesome+!\n<span class="text-primary font-bold">Up to 70% off!</span>',text:"Pick the plan that fits you best. Each subscription unlocks different features:",info:!1},{name:"onboarding.premium",title:"Choose your subscription",text:"100% anonymous. Cancel anytime. Get access to exclusive features and benefits!",info:!1},{name:"onboarding.finish",title:"Congratulations,\nyou are all set up! 🥳",text:"Let's get you started! Remember, sharing is caring, but oversharing is daring!\nStay classy, sassy, and a little bit bad-assy.\nUntil our next rendezvous, happy scrolling!",info:"All of your previous selections can be changed later in your settings.",size:"text-2xl",text_size:"text-base md:text-md px-6"}],B=function(){var e=(0,m.rd)(),t=(0,m.lq)(),n=(0,p.computed)(function(){var e=z.findIndex(function(e){return e.name===t.name});return-1===e?0:e}),o=(0,g.AI)(function(){return 0===n.value}),r=(0,g.AI)(function(){return n.value===z.length-1}),a=(0,p.computed)(function(){return j.value}),i=(0,p.computed)(function(){return parseInt((n.value+1)/z.length*100)}),u=function(){A.value=null},l=(0,p.computed)(function(){return A.value.reasons.length>0}),c=(0,p.computed)(function(){return!!a.value||(0==n.value&&!l.value||(3==n.value&&null==A.value[15]&&1==A.value[21]||5==n.value&&!A.value.birth_day&&1==A.value[20]))}),v=(0,p.computed)(function(){if(a.value)return!0;switch(n.value){case 0:return c.value;case 1:return!(0,g.O9)(A.value.gender);case 2:return 0===A.value[13].length||1==A.value[13].length&&A.value[13].includes(0);case 3:return null==A.value[15]&&1==A.value[21];case 4:return 0===A.value.preference.length;case 5:return!A.value.birth_day&&1==A.value[20];case 6:return!A.value.sfw&&!A.value.preference.length;case 7:return 0===A.value.topics.length&&0===A.value.categories.length;case 8:return 0===A.value.profiles.length;case 9:case 10:return!0;default:return!1}}),b=(0,p.computed)(function(){return A.value.reasons.includes(2)}),x=(0,p.computed)(function(){return A.value.reasons.some(function(e){return 1==e||3===e||4===e})}),_=(0,p.computed)(function(){return v.value&&9==n.value?{name:"onboarding.finish"}:r.value?{name:"news"}:5!=n.value||b.value?8==n.value&&f.A.getters["auth/isPro"]?{name:"onboarding.finish"}:{name:z[n.value+1].name}:{name:"onboarding.topics"}}),S=(0,p.computed)(function(){return!o.value}),O=(0,p.computed)(function(){return o.value?{name:"news"}:7!=n.value||b.value?r.value?f.A.getters["auth/isPro"]?{name:"onboarding.users"}:{name:"onboarding.premiumstart"}:{name:z[n.value-1].name}:{name:"onboarding.birthday"}}),C=(0,p.computed)(function(){return![10].includes(n.value)}),P=(0,p.computed)(function(){return v.value?0===n.value?"Choose a reason":3===n.value&&null==A.value[15]&&1==A.value[21]?"Please choose a country":5!=n.value||A.value.birth_day||1!=A.value[20]?9===n.value?"Maybe later":"Skip":"Please enter your birthday":r.value?"Save & Finish":"Continue"}),B=(0,p.computed)(function(){return v.value||c.value?"default":"primary"}),F=(0,p.ref)([]),E=function(){var e=T(k().m(function e(){var t,n,o,r;return k().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!a.value){e.n=1;break}return e.a(2);case 1:return t={limit:24,order:"hot",preference:A.value.preference,gender:A.value.gender,looking_for:A.value[13],country:A.value[15],promoted:1,fill:1},n=setTimeout(function(){j.value=!0},250),e.p=2,e.n=3,s().get("/api/topics",{params:t});case 3:o=e.v,F.value=o.data,e.n=5;break;case 4:e.p=4,r=e.v,(0,d.f)(r);case 5:return e.p=5,clearTimeout(n),j.value=!1,e.f(5);case 6:return e.a(2)}},e,null,[[2,4,5,6]])}));return function(){return e.apply(this,arguments)}}(),L=(0,p.ref)([]),I=function(){var e=T(k().m(function e(){var t,n,o,r;return k().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!a.value){e.n=1;break}return e.a(2);case 1:return t=setTimeout(function(){j.value=!0},250),n={page:1,type:2,sort:"hot",limit:24,preference:A.value.preference,gender:A.value.gender,looking_for:A.value[13],country:A.value[15],fill:1},e.p=2,e.n=3,s().get("/api/userlist",{params:n});case 3:o=e.v,L.value=o.data.data,e.n=5;break;case 4:e.p=4,r=e.v,(0,d.f)(r);case 5:return e.p=5,clearTimeout(t),j.value=!1,e.f(5);case 6:return e.a(2)}},e,null,[[2,4,5,6]])}));return function(){return e.apply(this,arguments)}}(),N=function(){var e=T(k().m(function e(){var t,n,o,r,a=arguments;return k().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=(t=a.length>0&&void 0!==a[0]?a[0]:{}).k,o=t.v,e.p=1,e.n=2,(0,y.A)({t:1,k:n,v:o});case 2:f.A.dispatch("auth/set",{parent:"user_info",key:n,value:o}),e.n=4;break;case 3:e.p=3,r=e.v,(0,d.f)(r);case 4:return e.a(2)}},e,null,[[1,3]])}
1));return function(){return e.apply(this,arguments)}}(),G=function(){var e=T(k().m(function e(){return k().w(function(e){for(;;)switch(e.n){case 0:N({k:27,v:1}),N({k:28,v:A.value.reasons.join(",")});case 1:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),U=function(){var t=T(k().m(function t(){var n,o,r=arguments;return k().w(function(t){for(;;)switch(t.n){case 0:if(n=(r.length>0&&void 0!==r[0]?r[0]:{}).skip,o=void 0!==n&&n){t.n=1;break}return t.n=1,D();case 1:return o&&G(),t.n=2,u();case 2:e.push({name:"news"}),(0,g.TO)(function(){window.location.reload()},500);case 3:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),R=["preference"],D=function(){var e=T(k().m(function e(){var t,n,o,r,a,i,u;return k().w(function(e){for(;;)switch(e.p=e.n){case 0:t=new FormData,n={preference:A.value.preference,gender:A.value.gender,birth_day:A.value.birth_day,13:A.value[13],15:A.value[15],20:A.value[20],21:A.value[21],22:A.value[22]},b.value&&(n.content_rating=A.value.content_rating,n.sfw=A.value.sfw,n.nsfw=A.value.nsfw),o=k().m(function e(){var n,o,i,u;return k().w(function(e){for(;;)switch(e.n){case 0:if(n=w(a[r],2),o=n[0],i=n[1],u=!isNaN(Number(o)),!Number.isNaN(i)){e.n=1;break}return e.a(2,1);case 1:u?t.append("settings[".concat(o,"]"),i):R.includes(o)?i.forEach(function(e){t.append("".concat(o,"[").concat(e,"]"),"1")}):t.append(o,i);case 2:return e.a(2)}},e)}),r=0,a=Object.entries(n);case 1:if(!(r<a.length)){e.n=4;break}return e.d(h(o()),2);case 2:if(!e.v){e.n=3;break}return e.a(3,3);case 3:r++,e.n=1;break;case 4:return e.p=4,e.n=5,s().post("/api/settings/",t);case 5:if("error"===(i=e.v).data.status){e.n=6;break}return f.A.dispatch("auth/SET_CURRENT_USER",i.data.data),G(),e.a(2,i.data);case 6:return f.A.dispatch("saving/error",{text:i.data.message}),e.a(2,i.data);case 7:e.n=9;break;case 8:e.p=8,u=e.v,(0,d.f)(u);case 9:return e.a(2)}},e,null,[[4,8]])}));return function(){return e.apply(this,arguments)}}();return{addToSet:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key,n=e.value;A.value[t].includes(n)?A.value[t]=A.value[t].filter(function(e){return e!==n}):A.value[t].push(n)},buttonClass:B,current:n,computedBackLink:O,computedButtonText:P,computedNextLink:_,fetchProfiles:I,fetchTopics:E,finish:U,isFirstLink:o,hasReasons:l,isCreator:b,wantsToConnect:x,isDisabled:c,isLastLink:r,isLoading:a,loadedProfiles:L,loadedTopics:F,removeFromSet:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key,n=e.value;A.value[t].includes(n)&&(A.value[t]=A.value[t].filter(function(e){return e!==n}))},showButton:C,nextStep:function(){v.value&&9==n.value&&"default"==B.value?e.push({name:"onboarding.finish"}):e.push(_.value)},showBackLink:S,showButtonSkipText:v,progress:i,resetState:u,routes:z}}},48209(e,t,n){n.r(t),n.d(t,{default:()=>p});var o=n(15175),r=n(85471),a=n(2866);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function a(n,o,r,a){var i=o&&o.prototype instanceof c?o:c,s=Object.create(i.prototype);return u(s,"_invoke",function(n,o,r){var a,i,u,c=0,s=r||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return a=t,i=0,u=e,p.n=n,l}};function d(n,o){for(i=n,u=o,t=0;!f&&c&&!r&&t<s.length;t++){var r,a=s[t],d=p.p,v=a[2];n>3?(r=v===o)&&(u=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=d&&((r=n<2&&d<a[1])?(i=0,p.v=o,p.n=a[1]):d<v&&(r=n<3||a[0]>o||o>v)&&(a[4]=n,a[5]=o,p.n=v,i=0))}if(r||n>1)return l;throw f=!0,o}return function(r,s,v){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&d(s,v),i=s,u=v;(t=i<2?e:u)||!f;){a||(i?i<3?(i>1&&(p.n=-1),d(i,u)):p.n=u:p.v=u);try{if(c=2,a){if(i||(r="next"),t=a[r]){if(!(t=t.call(a,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(u=TypeError("The iterator does not provide a '"+r+"' method"),i=1);a=e}else if((t=(f=p.n<0)?u:n.call(o,p))!==l)break}catch(t){a=e,i=1,u=t}finally{c=1}}return{value:t,done:f}}}(n,r,a),!0),s}var l={};function c(){}function s(){}function f(){}t=Object.getPrototypeOf;var p=[][o]?t(t([][o]())):(u(t={},o,function(){return this}),t),d=f.prototype=c.prototype=Object.create(p);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,u(e,r,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=f,u(d,"constructor",f),u(f,"constructor",s),s.displayName="GeneratorFunction",u(f,r,"GeneratorFunction"),u(d),u(d,r,"Generator"),u(d,o,function(){return this}),u(d,"toString",function(){return"[object Generator]"}),(i=function(){return{w:a,m:v}})()}function u(e,t,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}u=function(e,t,n,o){function a(t,n){u(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},u(e,t,n,o)}function l(e,t,n,o,r,a,i){try{var u=e[a](i),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(o,r)}function c(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var a=e.apply(t,n);function i(e){l(a,o,r,i,u,"next",e)}function u(e){l(a,o,r,i,u,"throw",e)}i(void 0)})}}var s={};s.props={type:{default:!1,type:[Boolean,String]},typeActive:{default:!1,type:[Boolean,String]},size:{type:String,default:"base"},fontWeight:{type:String,default:"font-semibold"},height:{type:[String,Boolean],default:!1},rounded:{type:String,default:"rounded-xl"},padding:{type:[String,Boolean],default:!1},fontSize:{type:[String,Boolean],default:!1},topic:{default:function(){},required:!0,type:Object},icon:{default:!1,type:Boolean},colored:{default:!0,type:Boolean},profile:{default:!1,type:Boolean},storeAction:{default:!1,type:Boolean},disabled:{default:!1,type:Boolean},name:{default:!1,type:Boolean},dark:{default:!1,type:Boolean},textFollow:{default:"Join",type:String},textFollowing:{default:"Joined",type:String},alignment:{default:"justify-center",type:String}},s.setup=function(e,t){var u=e,l=t.emit,s=(0,r.computed)(function(){return u.topic.following}),f=(0,r.computed)(function(){return u.typeActive?u.typeActive:u.colored||u.disabled?"default":"primary"}),p=(0,r.computed)(function(){return u.type?u.type:u.colored&&!u.disabled?"primary":"default"}),d=(0,r.computed)(function(){return"".concat(u.textFollowing).concat(u.name?" "+u.topic.name:"")}),v=(0,r.computed)(function(){return"".concat(u.textFollow).concat(u.name?" "+u.topic.name:"")}),g=function(){var e=c(i().m(function e(){var t,r;return i().w(function(e){for(;;)switch(e.n){case 0:if(t={service:"follow",topic:u.topic,profile:u.profile,store:u.storeAction},o.A.getters["auth/loggedIn"]){e.n=2;break}return e.n=1,Promise.resolve().then(n.bind(n,25942));case 1:return r=e.v,(0,r.openLoginOrRegisterModal)({type:"register",text:"You have to create an account to join topics!"}),e.a(2);case 2:return e.n=3,a.A.action({api:"follow",options:t});case 3:l("emit","follow");case 4:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),m=function(){var e=c(i().m(function e(){var t;return i().w(function(e){for(;;)switch(e.n){case 0:return t={service:"unfollow",topic:u.topic,profile:u.profile,store:u.storeAction},e.n=1,a.A.action({api:"unfollow",options:t});case 1:l("emit","unfollow");case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();return{isFollowing:s,defaultClass:f,primaryClass:p,buttonTextFollowing:d,buttonTextFollow:v,follow:g,unfollow:m}};const f=s;const p=(0,n(14486).A)(f,function(){var e=this,t=e._self._c;e._self._setupProxy;
1return t("AppButton",{attrs:{type:e.isFollowing?e.defaultClass:e.primaryClass,title:e.isFollowing?"Leave this topic":"Join this topic",disabled:e.disabled,size:e.size,height:e.height,"font-weight":e.fontWeight,rounded:e.rounded,padding:e.padding,"font-size":e.fontSize,alignment:e.alignment},nativeOn:{click:function(t){t.stopPropagation(),e.isFollowing?e.unfollow():e.follow()}},scopedSlots:e._u([{key:"prefix",fn:function(){return[e.icon?t("AppIcon",{staticClass:"icon--20",attrs:{icon:e.isFollowing?"Minimize24Regular":"Add24Regular"}}):e._e()]},proxy:!0}])},[e._v(" "),e.disabled?[t("ContentLoader",{attrs:{background:!1,padding:!1,size:"xsmall",theme:"dark"}})]:e.$slots.default?e._e():[e._v(e._s(e.isFollowing?e.buttonTextFollowing:e.buttonTextFollow))],e._v(" "),e._t("default")],2)},[],!1,null,null,null).exports},83193(e,t,n){function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function r(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{default:()=>l});var a=n(85471),i={};i.props={image:{type:String,default:"wh-24 md:wh-32"},ai:{type:Boolean,default:!1},grid:{type:Boolean,default:!0},aspect:{type:String,default:"aspect-[10/12]"},padding:{type:String,default:"p-6"},fontSize:{type:String,default:"text-base"},size:{type:String,default:"base"},type:{type:String,default:"user"}},i.setup=function(e,t){var n=e,o=(0,a.computed)(function(){return"topic"==n.type}),r=(0,a.computed)(function(){return"user"==n.type||"onlyfans"==n.type}),i=(0,a.computed)(function(){return"livejasmin"==n.type||"sextpanther"==n.type}),u={base:["2.1rem","1.8rem","1.5rem"],sm:["1.8rem","1.6rem","1.5rem"],xs:["1.35rem","1.2rem","1rem"]};return{isTopic:o,isUser:r,isLiveCard:i,computedHeights:(0,a.computed)(function(){return u[n.size]})}};const u=i;const l=(0,n(14486).A)(u,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"relative flex h-full w-full items-center gap-x-6 overflow-hidden bg-surface",class:{"flex-col":!e.isTopic}},[t("div",{staticClass:"relative flex items-center",class:[{"aspect-[10/12] h-full w-full":e.isUser||e.isLiveCard,"aspect-square rounded-main":e.isTopic},e.isTopic?e.image:null]},[t("div",{staticClass:"shrink-0 overflow-hidden",class:r({"animated-background absolute inset-0 z-1 bg-ultra":e.grid,"block aspect-square w-full overflow-hidden rounded-lg bg-breeze object-cover dark:bg-overlay-10":!e.grid,"aspect-square rounded-main":e.isTopic,"aspect-[10/12]":e.isUser},"aspect-[10/12]",e.isLiveCard)})]),e._v(" "),t("div",{staticClass:"z-2 flex w-full flex-col justify-end gap-y-1 overflow-hidden bg-surface",class:[e.isUser?[e.padding,e.fontSize,"absolute inset-x-0 bottom-0 pt-6"]:"",e.isLiveCard?[e.padding,e.fontSize,"pt-4 text-center"]:""]},[t("div",{staticClass:"animated-background relative rounded-lg bg-breeze dark:bg-overlay-10",class:{"mb-2 w-1/3":e.isTopic,"mb-1 w-2/3":e.isUser,"mx-auto mb-1 w-3/4":e.isLiveCard},style:{height:e.computedHeights[0]}}),e._v(" "),e.isTopic?t("div",{staticClass:"animated-background relative w-1/2 roun
1ded-lg bg-breeze dark:bg-overlay-10",style:{height:e.computedHeights[1]}}):e._e()])])},[],!1,null,null,null).exports},41991(e,t,n){n.r(t),n.d(t,{default:()=>d});var o=n(85471),r=n(51127),a=n(15175),i=n(83193),u=n(48209);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f={};f.props={hover:{type:[Boolean,String],default:"md:hover:bg-ultra"},clickable:{type:Boolean,default:!0},padding:{type:String,default:"p-6"},size:{type:String,default:"base"},loading:{type:Boolean,default:!0},order:{type:[String,Number],default:"hot"},topic:{type:[Object,Boolean],default:!1},options:{type:Object,default:function(){}},rounded:{type:String,default:"rounded-main"},shadow:{type:String,default:"shadow-none md:shadow-sm"},colored:{type:Boolean,default:!1}},f.setup=function(e,t){var n=e,i=(0,o.computed)(function(){return n.topic.cover_url?"".concat(n.topic.cover_url).concat(n.topic.cover_url.includes("?")?"&":"?","width=160&aspect_ratio=1:1"):r.Ay.assetPath+"/img/default-cover-topic.jpg"}),u=(0,o.computed)(function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({mobile:!1,loggedIn:!1,showFollowing:!1,image:"wh-20 md:wh-26",wrapped:!1,topic:!1},n.options)}),l=t.emit;return{appConfig:r.Ay,coverUrl:i,mergedOptions:u,emitAction:function(e){l("emit",e)},promote:function(e){a.A.dispatch("modals/SHOW",{key:"boostTopic",data:{show:!0,from:!1,topic:e}})}}},f.components=Object.assign({PlaceholderTopicCard:i.default,ButtonFollowTopic:u.default},f.components);const p=f;const d=(0,n(14486).A)(p,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("AppBox",{staticClass:"group relative flex cursor-pointer items-center gap-x-6 overflow-hidden",class:[e.padding,e.hover,{"card-click-scale":e.clickable}],attrs:{rounded:e.rounded,shadow:e.shadow,tag:"article"}},[e.loading?t("PlaceholderTopicCard",{attrs:{grid:!1,type:"topic",size:e.size,image:e.mergedOptions.image}}):[t(e.clickable?"router-link":"div",{tag:"component",staticClass:"absolute inset-0 z-10 block",attrs:{to:e.clickable?{name:"topic",params:{slug:e.topic.slug}}:null,title:"Visit Topic ".concat(e.topic.name)},on:{click:function(e){e.stopPropagation()}}},[t("span",{staticClass:"sr-only"},[e._v("Go to "+e._s(e.topic.name)+" Topic")])]),e._v(" "),t("img",{staticClass:"block aspect-square shrink-0 overflow-hidden rounded-2xl bg-breeze object-cover dark:bg-overlay-10",class:e.mergedOptions.image,attrs:{src:e.coverUrl,alt:"Cover for ".concat(e.topic.name," Topic"),loading:"lazy"==e.mergedOptions.priority?"lazy":null,fetchpriority:"high"==e.mergedOptions.priority?"high":"low",decoding:"high"!=e.mergedOptions.priority?"async":null,width:"64",height:"64"},on:{error:function(t){t.target.src="".concat(e.appConfig.assetPath,"/img/default-cover-topic.jpg")}}}),e._v(" "),t("section",{staticClass:"flex-1 shrink-0"},[t("div",{staticClass:"flex items-center justify-between gap-x-2 md:gap-x-6"},[t("header",{staticClass:"flex flex-col"},[t("h3",{staticClass:"w-full break-words text-base font-bolder tracking-tight md:text-base"},[t("router-link",{staticClass:"block max-w-[16rem] truncate text-darkest hover:!text-darkest focus:!text-darkest active:!text-darkest xxs:max-w-[18rem] xs:max-w-none md:max-w-[32rem] md:hover:!text-primary",attrs:{to:{name:"topic",params:{slug:e.topic.slug}},title:"Visit Topic ".concat(e.topic.name)},on:{click:function(e){e.stopPropagation()}}},[e._v("\n              "+e._s(e.topic.name)+"\n            ")])],1),e._v(" "),t("p",{staticClass:"mb-0 flex w-full items-center gap-x-1 text-sm font-semibold opacity-50"},[t("AppIcon",{staticClass:"wh-8",attrs:{icon:"People24Regular"}}),e._v(" "),t("span",{directives:[{name:"formatstat",rawName:"v-formatstat",value:e.topic.followers_no,expression:"topic.followers_no"}]})],1)]),e._v(" "),"myTopics"===e.order?t("AppButton",{class:["z-10 ml-auto"],attrs:{type:"white",size:e.size,"font-weight":"font-bold","text-follow":"Join","text-following":"Joined",rounded:"rounded-2xl"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.promote(e.topic)}}},[e._v("\n          "+e._s(e.topic.boost_expires>
10?"Extend":"Promote")+"\n        ")]):e._e(),e._v(" "),"myTopics"!==e.order?t("ButtonFollowTopic",{key:"follow_".concat(e.topic.id),class:["z-10 ml-auto shrink-0"],attrs:{type:"default","type-active":"white-border",size:e.size,colored:e.colored,topic:e.topic,"font-weight":"font-bold","text-follow":"Join","text-following":"Joined",rounded:"rounded-xl"},on:{emit:e.emitAction}}):e._e()],1)])]],2)},[],!1,null,null,null).exports},52398(e,t,n){n.r(t),n.d(t,{default:()=>a});var o={};o.props={gap:{type:String,default:"gap-y-0"},margin:{type:String,default:""}},o.setup=function(e,t){return{}};const r=o;const a=(0,n(14486).A)(r,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex flex-col",class:[e.gap,e.margin]},[e._t("description"),e._v(" "),e._t("default")],2)},[],!1,null,"01d0e8fe",null).exports},89462(e,t,n){n.r(t),n.d(t,{default:()=>v});var o=n(85471),r=n(56083),a=n(25526),i=n(41991),u=n(52398),l={setup:function(e,t){var n=(0,r.zz)(),i=n.addToSet,u=n.fetchTopics,l=n.loadedTopics,c=n.isLoading;return(0,o.onMounted)(function(){u()}),(0,o.onUnmounted)(function(){l.value=[]}),{mobile:a.Hw,addToSet:i,loadedTopics:l,isLoading:c}}};l.components=Object.assign({VFormContainer:u.default,TopicCard:i.default},l.components);const c=l;var s=n(85072),f=n.n(s),p=n(49305),d={insert:"head",singleton:!1};f()(p.A,d);p.A.locals;const v=(0,n(14486).A)(c,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VFormContainer",[e.loadedTopics.length>0&&!e.isLoading?e._l(e.loadedTopics,function(n,o){return t("TopicCard",{key:"topic_".concat(n.id),staticClass:"-mx-6 md:-mx-4",attrs:{options:{priority:o<6?"high":"lazy",mobile:e.mobile,loggedIn:e.loggedIn,showFollowing:!0,image:"wh-20 md:wh-24"},clickable:!1,loading:!1,hover:!1,shadow:"shadow-none",size:"sm",topic:n,colored:!1},on:{emit:function(t){return e.addToSet({key:"topics",value:n.id})}}})}):e.isLoading&&!e.loadedTopics.length?[e._v("\n    Loading...\n  ")]:e.isLoading||e.loadedTopics.length?e._e():[t("p",[e._v("No topics found")])]],2)},[],!1,null,"080ffeda",null).exports}}]);

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.