PageSourceSearch

https://www.medidojo.com/assets/document-page-CuEtiog4.js

js medidojo.com collected 2026-09-25 03:35:22 UTC 7,464 bytes, 3 lines download raw bytes

1/* empty css             */import{i as F,a as $}from"./shell-DwI4xSXw.js";/* empty css             */import{t as N,a as D,i as x,b as W,s as B,d as M,e as T}from"./sticky-install-bar-CJWkUHQV.js";const U="https://go.medidojo.com/miw9?af_js_web=true&af_ss_ver=2_10_0&pid=website&c=blog&af_channel=site&af_android_url=https%3A%2F%2Fmedidojo.com%2Fandroid%2F";function O(t){return/^\/blog\/[^/]+\/?$/.test(t)}function R(t=window,e=document){if(!O(t.location.pathname)||e.querySelector(".dj-article-cta"))return;const r=e.querySelector("article.page-document__prose");if(!r)return;const a=e.createElement("aside");a.className="dj-article-cta",a.setAttribute("aria-label","Get the Dojo app");const n=e.createElement("div");n.className="dj-article-cta__copy";const o=e.createElement("p");o.className="dj-article-cta__title",o.textContent="Want a session for how you feel right now?";const s=e.createElement("p");s.className="dj-article-cta__text",s.textContent="Tell Dojo how you feel and get a guided session that fits. Available on iPhone.",n.append(o,s);const l=e.createElement("a");l.className="onelink-btn dj-btn dj-app-only",l.href=U,l.rel="noopener",l.dataset.ctaPosition="article_end",l.setAttribute("data-dj-ios-label","");const u=e.createElement("span");u.setAttribute("data-dj-label",""),u.textContent="Download for iPhone",l.append(u);const b=e.createElement("div");b.className="dj-qr-card dj-qr-only";const g=e.createElement("div");g.className="dj-qr-card__code";const S=e.createElement("div");S.className="af-qr",S.id="af-qr-article",g.append(S);const v=e.createElement("div");v.className="dj-qr-card__text";const _=e.createElement("span");_.className="dj-qr-card__title",_.textContent="Scan with your iPhone";const q=e.createElement("span");q.className="dj-qr-card__sub",q.textContent="Opens Dojo in the App Store",v.append(_,q),b.append(g,v),a.append(n,l,b),r.after(a)}function I(t=document){const e=t.querySelector(".dj-filters"),r=[...t.querySelectorAll(".dj-blog-grid > li[data-topic]")];if(!e||!r.length)return;const a=[...e.querySelectorAll("button[data-topic]")],n=o=>{a.forEach(s=>s.setAttribute("aria-pressed",s.dataset.topic===o?"true":"false")),r.forEach(s=>{s.hidden=o!=="all"&&!(s.dataset.topic??"").split(" ").includes(o)})};a.forEach(o=>o.addEventListener("click",()=>{const s=o.dataset.topic??"all";n(s),N("blog_topic_filtered",{topic:s,page_path:window.location.pathname})}))}const P=64.0625,w=window.matchMedia(`(min-width: ${P}rem)`),y=document.querySelector("#menu-toggle"),i=document.querySelector("#menu-panel"),H=document.body;D();R();I();F();x();W(window,document);$();B(window,()=>{D(),M(window,document)});function d(t){i==null||i.classList.toggle("is-open",t),y==null||y.setAttribute("aria-expanded",t?"true":"false"),H.classList.toggle("is-nav-open",t),i&&(i.setAttribute("aria-hidden",t?"false":"true"),t?i.removeAttribute("inert"):i.setAttribute("inert",""))}y==null||y.addEventListener("click",()=>{const t=!(i!=null&&i.classList.contains("is-open"));d(!!t)});const A=i==null?void 0:i.querySelector(".site-nav-mobile__backdrop");A==null||A.addEventListener("click",()=>d(!1));d(!1);const K=()=>typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function z(){const t=document.querySelector("#site-header");t&&t.querySelectorAll("nav a[href]").forEach(e=>{e.addEventListener("click",r=>{const a=e.getAttribute("href")??"",n=!!(i!=null&&i.classList.contains("is-open"));if(a.startsWith("#")&&a.length>1){const o=document.getElementById(a.slice(1));if(!o)return;r.preventDefault(),n&&d(!1);const s=()=>{o.scrollIntoView({behavior:K()?"auto":"smooth",block:"start"}),history.pushState(null,"",a)};n?requestAnimationFrame(()=>requestAnimationFrame(s)):s();return}n&&d(!1)})})}z();document.addEventListener("keydown",t=>{t.key==="Escape"&&d(!1)});function E(){w.matches&&d(!1)}typeof w.addEventListener=="function"?w.addEventListener("change",E):w.addListener(E);w.matches&&d(!1);function m(t,e,r){t&&(t.hidden=!1,t.textContent=e,t.classList.remove("support-form__status--error","support-form__status--success","support-form__status--info"),t.classList.add(`supp
1ort-form__status--${r}`))}async function j(t,e,r,a){const n=t.querySelector('button[type="submit"]');n==null||n.setAttribute("disabled","disabled"),m(e,"Sending...","info");try{const o=await fetch("/api/support",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),s=await o.json().catch(()=>({}));return o.ok?(m(e,a,"success"),t.reset(),!0):(m(e,s.error??"Something went wrong. Please try again.","error"),!1)}catch{return m(e,"Could not reach the server. Check your connection and try again.","error"),!1}finally{n==null||n.removeAttribute("disabled")}}const p=document.querySelector("#support-form"),L=document.querySelector("#support-form-status");p==null||p.addEventListener("submit",t=>{t.preventDefault(),(async()=>{const e=new FormData(p),r=String(e.get("name")??"").trim(),a=String(e.get("email")??"").trim(),n=String(e.get("message")??"").trim();if(!a){const o=p.querySelector("#support-email");o==null||o.focus(),m(L,"Please enter your email address.","error");return}await j(p,L,{name:r,email:a,message:n},"Message sent. We will get back to you soon.")})()});const f=document.querySelector("#business-form"),k=document.querySelector("#business-form-status");function c(t,e){return String(t.get(e)??"").trim()}f==null||f.addEventListener("submit",t=>{t.preventDefault(),(async()=>{const e=new FormData(f),r=c(e,"name"),a=c(e,"email");if(!a){const o=f.querySelector("#business-email");o==null||o.focus(),m(k,"Please enter your work email address.","error");return}const n=["Business early access request","",`Company: ${c(e,"company")}`,`Role: ${c(e,"role")}`,`Company type: ${c(e,"companyType")}`,`Use case: ${c(e,"useCase")}`,`Website or product link: ${c(e,"website")||"(not provided)"}`,`Timeline: ${c(e,"timeline")||"(not provided)"}`,`Estimated monthly sessions: ${c(e,"monthlySessions")||"(not provided)"}`,"","Message:",c(e,"message")||"(No message provided)"];await j(f,k,{name:r,email:a,message:n.join(`
2`)},"Thanks. We will review your request and get back to you if there is a fit.")})()});const h=document.querySelector("#android-form"),C=document.querySelector("#android-form-status");h==null||h.addEventListener("submit",t=>{t.preventDefault(),(async()=>{const e=new FormData(h),r=c(e,"name"),a=c(e,"email");if(!a){const u=h.querySelector("#android-email");u==null||u.focus(),m(C,"Please enter your email address.","error");return}const n=new URLSearchParams(window.location.search).get("sid"),o=n&&/^[A-Za-z0-9]{8}$/.test(n)?n:void 0,s=["Android waitlist request","",`User-Agent: ${navigator.userAgent}`,`Page: ${window.location.href}`,...o?[`Shared meditation sid: ${o}`]:[],"","Note:",c(e,"note")||"(none)"];await j(h,C,{name:r,email:a,message:s.join(`
3`)},"You are on the list. We will email you when Dojo is available on Android.")&&N("android_waitlist_submitted",{page_path:window.location.pathname,sid:o})})()});function G(){const t=window.location.hostname;document.querySelectorAll("a[href]").forEach(e=>{if(T(e))return;const r=e.getAttribute("href")??"";if(!(!r.startsWith("http://")&&!r.startsWith("https://")))try{if(new URL(r).hostname===t)return;e.setAttribute("target","_blank");const n=(e.getAttribute("rel")??"").split(/\s+/).filter(Boolean),o=new Set(n);o.add("noopener"),o.add("noreferrer"),e.setAttribute("rel",[...o].join(" "))}catch{}})}G();

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.