PageSourceSearch

https://fitmotivation.com/_nuxt/CvtpM678.js

js fitmotivation.com collected 2026-10-04 20:51:13 UTC 2,017 bytes, 1 lines download raw bytes

1import{_ as f}from"./Dba53ezs.js";import{_ as m,o as v,b as l,i as r,e as c,F as C,k as b,f as n,s as k,v as y,l as x,g as D,t as w,j as d,r as u,n as F,h as g,d as I}from"./DyKsjnBy.js";import{u as _}from"./B19iVaUt.js";import{u as L}from"./Cp1O2d5O.js";const M={key:0,class:"categoryChoicesForm"},N={key:0,class:"categoryChoices"},T=["checked","disabled","value"],V={__name:"FormsLandingAssignmentsForm",setup(p){const s=u([]),o=u([]);async function i(a){a.preventDefault();const e=parseInt(a.currentTarget.value);if(o.length>5)alert("You can only select up to 5 categories.");else{for(let t=0;t<s.length;t++)s[t].id===e&&(s[t].selected=!s[t].selected);await _().assignCategoriesToLanding(o.value)}}return v(async()=>{const a=await _().getAllParentChildCategoriesWithCounts();s.value=a.categories.filter(e=>e.id!==1&&e.id!==37&&e.id!==30);for(let e of s.value)e.selected===!0&&o.value.push(e.id)}),(a,e)=>a.isLoading?d("",!0):(l(),r("form",M,[c(s).length>0?(l(),r("ul",N,[(l(!0),r(C,null,b(c(s),t=>(l(),r("li",null,[n("label",null,[k(n("input",{type:"checkbox",name:"categories[]",checked:t.selected,disabled:!t.selected&&c(o).length>=5,onChange:i,"onUpdate:modelValue":e[0]||(e[0]=h=>x(o)?o.value=h:null),value:t.id},null,40,T),[[y,c(o)]]),D(w(t.name),1)])]))),256))])):d("",!0)]))}},S=m(V,[["__scopeId","data-v-3959f881"]]),$={class:"container"},A={class:"row"},B={class:"col-12"},E={class:"category-choices"},R={__name:"assignments",setup(p){const{getPageMetaData:s,IDENTIFIERS:o}=L(),i=s(o.COMMON);return F({title:i.title,description:i.description,ogTitle:i.title,ogDescription:i.description}),(a,e)=>{const t=f;return l(),r("div",$,[n("div",A,[n("div",B,[n("div",E,[e[1]||(e[1]=n("h1",null,"You can choose up to 5 categories you would like to display on the main video landing page when you login. ",-1)),g(S),g(t,{to:"/videos"},{default:I(()=>[...e[0]||(e[0]=[n("button",{class:"btn btn-primary mx-auto btn-done"},"Done",-1)])]),_:1})])])])])}}},U=m(R,[["__scopeId","data-v-93332cbc"]]);export{U as default};

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.