PageSourceSearch

https://www.trainwithkickoff.com/_next/static/chunks/9936.cb36f851dd15c541.js

js trainwithkickoff.com collected 2026-10-04 00:03:42 UTC 61,729 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9936],{19936:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return z}});var i=t(73292),n=t(76341),a=t(67462),r=t(93128),o=t(85893),l=t(67294),c=t(25675),d=t.n(c),u=t(11163),h=function(e,s,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"database",n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"verified";return{id:e,label:s,detail:t,kind:i,status:n}},m=[{id:"coach-activation",eyebrow:"Coach onboarding",title:"A new coach becomes ready to work",summary:"One coach completes their profile, connects a calendar, accepts the agreement, and reaches a usable dashboard.",actor:"Coach",duration:"7:20",startState:"Invited coach opening the welcome experience",endState:"Active coach with calendar access on the work dashboard",fidelity:"Boundary-simulated",boundaries:["Contentful recorded fixture","Nylas OAuth simulated"],accent:"violet",chapters:[{id:"coach-welcome",number:"01",title:"Welcome and profile",actor:"Coach",duration:"2:10",timecode:"0:00",summary:"The coach enters through the real onboarding gate and completes the profile survey.",scene:"welcome",steps:["Open personalized welcome","Start profile survey","Submit required profile answers"],checkpoints:[h("coach-profile-ui","Profile answers accepted","The real onboarding survey reports completion.","browser"),h("coach-profile-db","Coach profile persisted","User and coach fields contain the submitted answers.")]},{id:"coach-calendar",number:"02",title:"Connect the calendar",actor:"Coach + Nylas boundary",duration:"1:45",timecode:"2:10",summary:"A declared OAuth boundary returns the coach to Kickoff with a usable scheduler.",scene:"calendar",steps:["Choose Google Calendar","Return from simulated OAuth","See scheduler configuration"],checkpoints:[h("calendar-boundary","Nylas boundary simulated","OAuth and grant APIs are handled by fail-closed fixtures.","boundary","disclosed"),h("calendar-db","Grant and scheduler saved","The coach grant and one scheduler configuration are persisted.")]},{id:"coach-agreement",number:"03",title:"Accept the coach agreement",actor:"Coach",duration:"1:25",timecode:"3:55",summary:"The last onboarding gate clears through the real agreement mutation.",scene:"survey",steps:["Review agreement","Accept terms","Continue into Kickoff"],checkpoints:[h("agreement-db","Agreement timestamp written","The onboarding requirement is marked complete.")]},{id:"coach-first-dashboard",number:"04",title:"First working dashboard",actor:"Coach",duration:"2:00",timecode:"5:20",summary:"A fresh dashboard load proves the coach has cleared every gate and can begin work.",scene:"dashboard",steps:["Land on work list","See assigned client","Open first task"],checkpoints:[h("dashboard-ui","Dashboard renders without redirect","The real coach work list is visible.","browser")]}]},{id:"insurance-activation",eyebrow:"Insurance onboarding",title:"An insurance client finds and books a coach",summary:"One client signs up, becomes eligible, chooses a matched coach, and books the first session through honest handoffs.",actor:"Insurance client",duration:"9:35",startState:"Prospective client beginning insurance sign-up",endState:"Eligible client with a selected coach and booked first session",fidelity:"Boundary-simulated",boundaries:["Bridge eligibility webhook simulated","Nylas availability fixture"],accent:"blue",chapters:[{id:"insurance-signup",number:"01",title:"Submit insurance details",actor:"Prospective insurance client",duration:"2:30",timecode:"0:00",summary:"A prospective client completes Kickoff’s insurance coverage form with the required identity and plan information.",scene:"survey",steps:["Enter first and last name","Choose state, date of birth, and insurer","Submit the coverage check"],checkpoints:[h("signup-db","Coverage request is accepted","The submitted identity and insurance details stay linked through eligibility.")]},{id:"insurance-eligibility",number:"02",title:"Confirm coverage",actor:"Client + Bridge boundary",duration:"2:05",timecode:"2:30",summary:"The client requests a check; the simulated signed webhook moves the real eligibility state.",scene:"coverage",steps:["Request eligibility check","Wait through visible pending state","See eligible result"],checkpoints:[h("bridge-boundary","Signed Bridge event simulated","The real webhook endpoint verifies and processes the fixture.","boundary","disclosed"),h("eligibility-db","Eligibility becomes service-eligible","Provider, status, and audit log are linked to this client.")]}
1,{id:"insurance-match",number:"03",title:"Choose a matched coach",actor:"Client",duration:"2:25",timecode:"4:35",summary:"Real match scoring surfaces a compatible coach and the client selects them.",scene:"matches",steps:["Review ranked matches","Open coach details","Choose Coach Maya"],checkpoints:[h("match-ui","Seeded coach appears through real scoring","The named coach is not a placeholder card.","browser"),h("match-db","Selected coach written","clients.selected_coach_id points to the chosen coach.")]},{id:"insurance-book",number:"04",title:"Book the first session",actor:"Client",duration:"2:35",timecode:"7:00",summary:"The client chooses a visible time and the real scheduling mutation creates the first call.",scene:"calendar",steps:["Review coach availability","Choose Thursday at 2:00 PM","See booking confirmation"],checkpoints:[h("booking-boundary","Nylas availability simulated","The scheduler UI uses a declared availability fixture.","boundary","disclosed"),h("booking-db","First session created","A kickoff_calls row links this client and selected coach.")]}]},{id:"coach-service",eyebrow:"Core coach loop",title:"A coach delivers the service",summary:"The coach starts from the work list, contacts a client, schedules and delivers a session, then completes the follow-up.",actor:"Coach + client",duration:"11:40",startState:"Coach opening today’s work list",endState:"Completed session with follow-up note saved",fidelity:"Boundary-simulated",boundaries:["Twilio media SDK simulated","Pusher participant events planted"],accent:"coral",chapters:[{id:"service-worklist",number:"01",title:"Start the day",actor:"Coach",duration:"1:45",timecode:"0:00",summary:"The coach opens the real work list and follows the client task instead of jumping routes.",scene:"dashboard",steps:["See pending work","Open Jordan’s task","Arrive in the client conversation"],checkpoints:[h("todo-ui","Assigned work is visible","The planted client appears in the real pending-work query.","browser")]},{id:"service-message",number:"02",title:"Contact the client",actor:"Coach",duration:"1:50",timecode:"1:45",summary:"The coach reads the thread and sends a reply through the product UI.",scene:"conversation",steps:["Read the latest client message","Write a reply","See delivered state"],checkpoints:[h("sms-db","Outbound SMS persisted","The reply is linked to the client conversation.")]},{id:"service-schedule",number:"03",title:"Schedule the session",actor:"Coach",duration:"2:10",timecode:"3:35",summary:"The coach follows the urgent scheduling prompt and books a visible future time.",scene:"calendar",steps:["Open scheduling prompt","Choose a future time","Confirm appointment"],checkpoints:[h("schedule-db","Session scheduled","The real scheduleCall mutation writes the call.")]},{id:"service-lobby",number:"04",title:"Meet in the lobby",actor:"Coach, then client",duration:"2:00",timecode:"5:45",summary:"The review switches actors explicitly as both sides prepare and enter the room.",scene:"lobby",steps:["Coach checks devices","Client arrives","Both join the room"],checkpoints:[h("twilio-boundary","Twilio media simulated","Media devices and remote-participant events use the SDK fixture.","boundary","disclosed"),h("room-db","Meeting room linked once","joinMeeting finds the planted room rather than duplicating it.")]},{id:"service-call",number:"05",title:"Deliver the session",actor:"Coach + client",duration:"2:05",timecode:"7:45",summary:"Both perspectives are shown while the real in-call UI handles mute, notes, and disconnect.",scene:"call",steps:["Confirm both participants","Use in-call controls","End the room"],checkpoints:[h("call-ui","Both participant states render","Coach and client scenes label the active perspective.","browser")]},{id:"service-followup",number:"06",title:"Complete the follow-up",actor:"Coach",duration:"1:50",timecode:"9:50",summary:"After the room ends, the coach reaches the visible follow-up state and saves the note.",scene:"notes",steps:["Return to client record","Complete follow-up note","See saved confirmation"],checkpoints:[h("followup-db","Follow-up note saved","The note round-trips through the real mutation.")]}]},{id:"insured-revenue",eyebrow:"Clinical revenue",title:"An insured session becomes revenue",summary:"A consented service moves from a real session through transcript and SOAP-note review to exactly one billing encounter.",actor:"Coach + system",duration:"10:15",startState:"Consented 
1insured service ready to begin",endState:"Signed clinical note with exactly one billing encounter",fidelity:"Boundary-simulated",boundaries:["Twilio status webhooks simulated","Candid vendor tail integration-tested"],accent:"green",chapters:[{id:"revenue-session",number:"01",title:"Complete the insured session",actor:"Coach + client",duration:"3:10",timecode:"0:00",summary:"The recording-enabled room visibly starts and ends with both participants present.",scene:"call",steps:["Confirm consent readiness","Join recorded room","End completed session"],checkpoints:[h("consent-integration","Recording consent guard","Server-side consent behavior is owned by explicit safeguard evidence.","integration")]},{id:"revenue-processing",number:"02",title:"Process the recording",actor:"System handoff",duration:"1:35",timecode:"3:10",summary:"A clear system chapter explains the signed webhooks and nonvisual transcript-chain work.",scene:"system",steps:["Receive room-ended event","Receive composition event","Queue transcript chain"],checkpoints:[h("twilio-status","Twilio callbacks simulated","Synthetic callbacks hit the real webhook endpoint.","boundary","disclosed"),h("transcript-db","Transcript chain queued","File, transcript, and meeting-room join rows exist.")]},{id:"revenue-note",number:"03",title:"Review and sign the SOAP note",actor:"Coach",duration:"3:05",timecode:"4:45",summary:"The coach reviews a complete note in the product, signs it, and sees it lock.",scene:"notes",steps:["Open completed service","Review SOAP sections","Sign, lock, and submit"],checkpoints:[h("note-db","Clinical note submitted","submitted_at is written and the note becomes immutable."),h("immutability","Signed note cannot be edited","Dedicated integration evidence owns the invariant.","integration")]},{id:"revenue-encounter",number:"04",title:"Create the billing event",actor:"System + reviewer",duration:"2:25",timecode:"7:50",summary:"The review ends on a visible outcome summary backed by the exactly-once database assertion.",scene:"billing",steps:["Submit signed note","Create billing encounter","Verify exactly-once result"],checkpoints:[h("encounter-db","Exactly one encounter exists","Client, service, and payer resolve to one billing row."),h("candid-tail","Vendor retry proven separately","Integration coverage owns failed submission and retry.","integration")]}]}],p=[{id:"coach-work-time-indicator",title:"Coach work-time indicator",domain:"Coach workflow",fidelity:"State demo",duration:"1:42",summary:"Walks the complete working, idle, hidden, in-call, and overdue state sequence."},{id:"coach-dashboard-new-lead",title:"Dashboard new-lead todo",domain:"Coach workflow",fidelity:"User-driven",duration:"2:06",summary:"A coach opens the work list and completes a newly assigned client task."},{id:"coach-client-identity",title:"Coach views a client",domain:"Coach workflow",fidelity:"State demo",duration:"1:18",summary:"Confirms the client workspace shows the expected planted identity and navigation."},{id:"stale-client-warning",title:"Stale-client warning",domain:"Coach workflow",fidelity:"State demo",duration:"0:56",summary:"Shows the warning banner and recovery action for an overdue client follow-up."},{id:"coach-target-client-count",title:"Target client count",domain:"Coach workflow",fidelity:"User-driven",duration:"1:13",summary:"Updates a coach account target and verifies the new value persists."},{id:"auto-schedule-preview-weeks",title:"Auto-schedule preview weeks",domain:"Coach workflow",fidelity:"User-driven",duration:"1:05",summary:"Changes the preview window and confirms the scheduling preference is saved."},{id:"two-coaches-one-inbox",title:"Two coaches, one inbox",domain:"Messaging",fidelity:"Boundary-simulated",duration:"2:18",summary:"A reply from one coach arrives in another coach’s already-open inbox."},{id:"sms-conversation-reply",title:"SMS conversation reply",domain:"Messaging",fidelity:"Boundary-simulated",duration:"1:44",summary:"A coach reads a client SMS thread and sends a reply through the real mutation."},{id:"client-general-notes",title:"Client general notes",domain:"Clinical care",fidelity:"User-driven",duration:"1:25",summary:"Reads and edits the client’s general notes with visible autosave confirmation."},{id:"nutrition-targets-injuries",title:"Nutrition targets and injuries",domain:"Clinical care",fidelity:"User-driven",duration:"1:57",summary:"Reviews and updates nutrition targets and injury details in the client record."},{id:"service-note-autosave",title:"Service-note autosave",domain:"Clinical care",fidelity:"User-driven",duration:"1:58",summary:"Opens a SOAP note, edits one section, and confirms the persisted value."},{id:"ai-enhanced-note-toggle",title:"AI-enhanced note toggle",domain:"Clinical care",fidelity:"State demo",duration:"1:22",summary:"Switches between manual and prepared AI-enhanced versions of a service note."}
1,{id:"note-addendum-signing",title:"Edit and sign a note addendum",domain:"Clinical care",fidelity:"User-driven",duration:"2:09",summary:"Edits a drafted addendum, attests to it, and submits the signed result."},{id:"video-room-creation",title:"Coach joins and creates a room",domain:"Video calls",fidelity:"Boundary-simulated",duration:"1:50",summary:"The coach joins from the lobby and Kickoff links the created room to the call."},{id:"video-call-controls",title:"Video call controls",domain:"Video calls",fidelity:"Boundary-simulated",duration:"2:46",summary:"Exercises tiles, mute, camera, screen sharing, disconnect, and room-drop states.",priority:"Human request: verify the controls remain clear at recording size."},{id:"client-consent-gate",title:"Client consent gate and join",domain:"Video calls",fidelity:"Boundary-simulated",duration:"2:12",summary:"An insurance client is blocked, consents, and then joins the waiting room.",priority:"Adjacent to the insurance consent changes in this release."},{id:"coach-in-meeting-message",title:"Coach-in-meeting lobby message",domain:"Video calls",fidelity:"State demo",duration:"0:54",summary:"Shows the client’s pre-join lobby state when the coach is already present."},{id:"present-slides",title:"Present slides in a call",domain:"Video calls",fidelity:"Boundary-simulated",duration:"1:39",summary:"The coach advances slides while the client view follows the same index."},{id:"insurance-recording-and-notes",title:"Insurance recording and notes",domain:"Video calls",fidelity:"Boundary-simulated",duration:"1:34",summary:"Toggles call recording and autosaves the in-call chief complaint note."},{id:"voice-to-video",title:"Voice-to-video handoff",domain:"Video calls",fidelity:"Boundary-simulated",duration:"2:21",summary:"Walks ringing, voicemail takeover, confirmation, and hang-up states."},{id:"client-sign-up",title:"Client sign-up survey",domain:"Onboarding",fidelity:"User-driven",duration:"2:20",summary:"A new client completes the signup funnel and persists their survey answers."},{id:"coach-sign-up",title:"Coach sign-up survey",domain:"Onboarding",fidelity:"User-driven",duration:"2:14",summary:"A new coach completes the profile survey and writes coach-keyed responses."},{id:"coach-agreement",title:"Coach agreement gate",domain:"Onboarding",fidelity:"User-driven",duration:"1:45",summary:"An agreement-pending coach accepts the terms and clears the dashboard gate."},{id:"coach-welcome",title:"Coach welcome",domain:"Onboarding",fidelity:"State demo",duration:"0:48",summary:"Shows the welcome splash with the planted coach name and survey call to action."},{id:"client-welcome",title:"Client welcome",domain:"Onboarding",fidelity:"State demo",duration:"0:42",summary:"Shows the welcome intro with the planted client name and next step."},{id:"calendar-oauth-callback",title:"Calendar OAuth callback",domain:"Onboarding",fidelity:"Boundary-simulated",duration:"1:49",summary:"Returns from Nylas OAuth, saves the grant and configuration, and opens scheduling."},{id:"merge-clients-default",title:"Reengagement link to client signup",domain:"Onboarding",fidelity:"User-driven",duration:"1:11",summary:"Merges the returning identity and follows the default client-signup branch."},{id:"merge-clients-insurance",title:"Reengagement link to coach matches",domain:"Onboarding",fidelity:"User-driven",duration:"1:09",summary:"Merges an insurance client and follows the coach-matching branch."},{id:"merge-clients-referred",title:"Reengagement link to coverage",domain:"Onboarding",fidelity:"User-driven",duration:"1:13",summary:"Merges a referred insurance client and follows the coverage-check branch."},{id:"insurance-consent-write",title:"Insurance consent write",domain:"Insurance",fidelity:"User-driven",duration:"1:34",summary:"Submits direct-billing consent and confirms the expected consent rows exist.",priority:"Related safeguard for the insurance onboarding changes."},{id:"insurance-eligibility-rerun",title:"Provider eligibility re-run",domain:"Insurance",fidelity:"Boundary-simulated",duration:"1:26",summary:"An admin performs a soft eligibility check and reviews the resulting status."},{id:"verify-coverage",title:"Verify insurance coverage",domain:"Insurance",fidelity:"Boundary-simulated",duration:"2:03",summary:"A client submits the coverage form and reaches an eligible service state."},{id:"credentialing-candid",title:"Credentialing through Candid",domain:"Credentialing",fidelity:"Boundary-simulated",duration:"2:12",summary:"An admin credentials a provider through Kickoff’s real write path."},{id:"admin-coaches-list",title:"Admin coaches list",domain:"Administration",fidelity:"User-driven",duration:"1:32",summary:"Finds a planted coach under the correct level and updates their target count."}
1,{id:"admin-payroll",title:"Admin payroll total",domain:"Administration",fidelity:"State demo",duration:"1:29",summary:"Shows the computed upcoming invoice total for a representative coach."},{id:"subscribe-client",title:"Client subscription",domain:"Billing",fidelity:"Boundary-simulated",duration:"2:04",summary:"Subscribes a client and confirms the first-paid and paid-through dates."},{id:"change-plan",title:"Change subscription plan",domain:"Billing",fidelity:"Boundary-simulated",duration:"1:38",summary:"Changes a client plan and records the product transition."},{id:"checkout-payment",title:"Checkout payment",domain:"Billing",fidelity:"Boundary-simulated",duration:"2:15",summary:"Completes checkout and confirms the client reaches a paying state."},{id:"coach-client-invoices",title:"Client invoice history",domain:"Billing",fidelity:"State demo",duration:"1:21",summary:"A coach opens Client Info and reviews the planted invoice history."},{id:"client-billing-summary",title:"Client billing summary",domain:"Billing",fidelity:"State demo",duration:"1:47",summary:"Shows the subscription and upcoming-invoice reads on the confirmation screen."}],y="38 min 50 sec",v="#5381",_="Improve insurance onboarding and session billing",g="Insurance onboarding & session billing",j="Kickoff QA Agent",x="This set covers the insurance onboarding and billing changes in this pull request, with related journey and standalone QA videos grouped for easy browsing.",b="Please review the insurance onboarding and billing changes in this pull request, especially eligibility and exactly-once billing.",f=t(67188),w=t.n(f),k=(0,a._)((0,n._)({},Object.fromEntries(m.flatMap(function(e){return e.chapters.map(function(e){return[e.id,"unreviewed"]})}))),{"insurance-signup":"approved","insurance-eligibility":"approved","service-worklist":"approved","service-message":"skipped","service-schedule":"issue"}),N={unreviewed:"Unreviewed",approved:"Approved",skipped:"Skipped",issue:"Flagged"},S={"User-driven":{label:"Real product flow",description:"The reviewer sees real Kickoff UI actions and first-party state changes."},"Boundary-simulated":{label:"External event simulated",description:"Kickoff behavior is real; a named vendor event or callback is simulated."},"State demo":{label:"Seeded UI example",description:"The video begins from a prepared state to demonstrate one focused condition."}},C={journeys:{"insurance-activation":"Directly affected by this pull request"},chapters:{"insurance-eligibility":"Changed webhook-to-UI transition","service-schedule":"Human request: verify timing and continuity","revenue-encounter":"High-risk path adjacent to this pull request"}},R=[{id:"view",label:"View only"},{id:"review",label:"Review workflow"}],A=function(e,s){var t=e.chapters.map(function(e){var t;return null!==(t=s[e.id])&&void 0!==t?t:"unreviewed"});return t.includes("issue")?"issue":t.every(function(e){return"approved"===e})?"approved":t.every(function(e){return"approved"===e||"skipped"===e})?"skipped":"unreviewed"},T=function(e){var s=e.status;return(0,o.jsxs)("span",{className:"".concat(w().statusPill," ").concat(w()["status_".concat(s)]),children:[(0,o.jsx)("span",{"aria-hidden":"true",children:"approved"===s?"✓":"skipped"===s?"→":"issue"===s?"!":"○"}),N[s]]})},O=function(e){var s=e.status;return(0,o.jsx)("span",{className:"".concat(w().taskStatusIcon," ").concat(w()["status_".concat(s)]),"aria-label":N[s],title:N[s],children:"approved"===s?"✓":"skipped"===s?"→":"issue"===s?"!":"•"})},E=function(e){var s=e.journey;return(0,o.jsxs)("span",{className:w().fidelityPill,title:S[s.fidelity].description,children:["User-driven"===s.fidelity?"●":"◇"," ",S[s.fidelity].label]})},B=function(e){var s=e.reason;return s?(0,o.jsx)("span",{className:w().priorityPill,title:s,children:"◆ Priority"}):null},P=function(){return(0,o.jsxs)("aside",{className:w().sceneSidebar,"aria-hidden":"true",children:[(0,o.jsx)("div",{className:w().sceneLogo,children:"K"}),(0,o.jsx)("span",{className:w().sceneNavActive,children:"⌂"}),(0,o.jsx)("span",{children:"✓"}),(0,o.jsx)("span",{children:"◎"}),(0,o.jsx)("span",{children:"◫"})]})},I=function(e){var s=e.children;return(0,o.jsxs)("div",{className:w().sceneApp,children:[(0,o.jsx)(P,{}),(0,o.jsxs)("div",{className:w().sceneBody,children:[(0,o.jsxs)("div",{className:w().sceneTopbar,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:w().sceneBack,children:"‹"}),(0,o.jsx)("strong",{children:"Kickoff"})]}),(0,o.jsx)("div",{className:w().sceneAvatar,children:"MP"})]}),s]})]})},M=function(e){var s=e.chapter;return"insurance-signup"===s.id?(0,o.jsx)("div",{className:w().actualProductFrame,children:(0,o.jsx)(d(),{priority:!0,unoptimized:!0,width:1280,height:720,className:w().actualProductScreenshot,src:"/prototypes/qa-journey-review/client-verify-coverage.png",alt:"Kickoff insurance coverage form with identity, state, birth date, insurer, and health-condition fields"})}):"call"===s.scene?(0,o.jsxs)("div",{className:w().callScene,children:[(0,o.jsxs)("div",{className:w().callTopbar,children:[(0,o.jsx)("span",{className:w().liveDot})," Session in progress",(0,o.jsx)("span",{className:w().actorBadge,children:"Coach perspective"})]}),(0,o.jsxs)("div",{className:w().callTiles,children:[(0,o.jsxs)("div",{className:w().personTile,children:[(0,o.jsx)("div",{className:w().personPortrait,children:"MP"}),(0,o.jsx)("span",{children:"Maya \xb7 Coach"})]}),(0,o.jsxs)("div",{className:"".concat(w().personTile," ").concat(w().clientTile),children:[(0,o.jsx)("div",{className:w().personPortrait,children:"JR"}),(0,o.jsx)("span",{children:"Jordan \xb7 Client"})]})]}),(0,o.jsxs)("div",{className:w().callControls,children:[(0,o.jsx)("span",{children:"◉"}),(0,o.jsx)("span",{children:"⌁"}),(0,o.jsx)("span",{children:"▣"}),(0,o.jsx)("span",{className:w().hangup,children:"\xd7"})]})]}):"system"===s.scene?(0,o.jsxs)("div",{className:w().systemScene,children:[(0,o.jsx)("span",{className:w().systemLabel,children:"SYSTEM HANDOFF"}),(0,o.jsx)("h3",{children:"The session continues behind the scenes"}),(0,o.jsxs)("div",{className:w().systemFlow,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:"1"}),"Room ended"]}),(0,o.jsx)("i",{children:"→"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:"2"}),"Recording ready"]}),(0,o.jsx)("i",{children:"→"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:"3"}),"Transcript queued"]})]}),(0,o.jsx)("p",{children:"These signed Twilio callbacks are simulated at the external boundary. Kickoff processing is real."})]}):(0,o.jsxs)(I,{children:["dashboard"===s.scene?(0,o.jsxs)("div",{className:w().dashboardScene,children:[(0,o.jsx)("p",{className:w().sceneEyebrow,children:"TODAY \xb7 4 ITEMS"}),(0,o.jsx)("h3",{children:"Good morning, Maya"}),(0,o.jsxs)("div",{className:w().todoCard,children:[(0,o.jsx)("span",{className:w().todoAvatar,children:"JR"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("strong",{children:"Jordan needs your attention"}),(0,o.jsx)("p",{children:"Reply and schedule the next session"})]}),(0,o.jsx)("button",{type:"button",children:"Open client"})]}),(0,o.jsxs)("div",{className:w().mutedRows,children:[(0,o.jsx)("span",{}),(0,o.jsx)("span",{}),(0,o.jsx)("span",{})]})]}):null,"conversation"===s.scene?(0,o.jsxs)("div",{className:w().conversationScene,children:[(0,o.jsxs)("div",{className:w().clientHeader,children:[(0,o.jsx)("span",{className:w().todoAvatar,children:"JR"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("strong",{children:"Jordan Rivera"}),(0,o.jsx)("p",{children:"Active client \xb7 local time 1:04 PM"})]})]}),(0,o.jsxs)("div",{className:w().messages,children:[(0,o.jsx)("p",{className:w().clientMessage,children:"Thursday afternoon works best for me!"}),(0,o.jsx)("p",{className:w().coachMessage,children:"Perfect — I’ll send over a time now."})]}),(0,o.jsxs)("div",{className:w().messageInput,children:["Message Jordan ",(0,o.jsx)("span",{children:"➤"})]})]}):null,"calendar"===s.scene?(0,o.jsxs)("div",{className:w().calendarScene,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:w().sceneEyebrow,children:"CHOOSE A TIME"}),(0,o.jsx)("h3",{children:"Thursday, July 23"})]}),(0,o.jsxs)("div",{className:w().calendarDays,children:[(0,o.jsxs)("span",{children:["MON",(0,o.jsx)("br",{}),(0,o.jsx)("b",{children:"20"})]}),(0,o.jsxs)("span",{children:["TUE",(0,o.jsx)("br",{}),(0,o.jsx)("b",{children:"21"})]}),(0,o.jsxs)("span",{children:["WED",(0,o.jsx)("br",{}),(0,o.jsx)("b",{children:"22"})]}
1),(0,o.jsxs)("span",{className:w().selectedDay,children:["THU",(0,o.jsx)("br",{}),(0,o.jsx)("b",{children:"23"})]}),(0,o.jsxs)("span",{children:["FRI",(0,o.jsx)("br",{}),(0,o.jsx)("b",{children:"24"})]})]}),(0,o.jsxs)("div",{className:w().timeSlots,children:[(0,o.jsx)("button",{type:"button",children:"11:00 AM"}),(0,o.jsx)("button",{type:"button",className:w().selectedTime,children:"2:00 PM"}),(0,o.jsx)("button",{type:"button",children:"4:30 PM"})]}),(0,o.jsxs)("div",{className:w().bookingBar,children:[(0,o.jsx)("span",{children:"Thu, July 23 \xb7 2:00 PM"}),(0,o.jsx)("button",{type:"button",children:"Confirm session"})]})]}):null,"lobby"===s.scene?(0,o.jsxs)("div",{className:w().lobbyScene,children:[(0,o.jsxs)("div",{className:w().lobbyPreview,children:[(0,o.jsx)("div",{className:w().personPortrait,children:"MP"}),(0,o.jsx)("span",{children:"Camera preview"})]}),(0,o.jsxs)("div",{className:w().lobbyCopy,children:[(0,o.jsx)("p",{className:w().sceneEyebrow,children:"READY TO JOIN"}),(0,o.jsx)("h3",{children:"Jordan is in the meeting"}),(0,o.jsx)("p",{children:"Camera and microphone are ready."}),(0,o.jsxs)("div",{className:w().deviceRow,children:[(0,o.jsx)("span",{children:"◉ MacBook Camera"}),(0,o.jsx)("span",{children:"⌁ Default Microphone"})]}),(0,o.jsx)("button",{type:"button",children:"Join as Coach"})]})]}):null,"notes"===s.scene?(0,o.jsxs)("div",{className:w().notesScene,children:[(0,o.jsxs)("div",{className:w().notesHeader,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:w().sceneEyebrow,children:"SERVICE NOTE"}),(0,o.jsx)("h3",{children:"Jordan Rivera \xb7 Jul 23"})]}),(0,o.jsx)("span",{className:w().savedBadge,children:"✓ Saved"})]}),(0,o.jsxs)("div",{className:w().noteGrid,children:[(0,o.jsxs)("label",{children:["Chief complaint",(0,o.jsx)("textarea",{defaultValue:"Follow-up on lower back mobility and weekly activity goals."})]}),(0,o.jsxs)("label",{children:["Assessment",(0,o.jsx)("textarea",{defaultValue:"Client completed the planned session and reported improved comfort."})]})]}),(0,o.jsxs)("div",{className:w().signBar,children:[(0,o.jsx)("span",{children:"Signing locks this clinical note."}),(0,o.jsx)("button",{type:"button",children:"Sign, Lock, & Submit"})]})]}):null,"coverage"===s.scene?(0,o.jsxs)("div",{className:w().coverageScene,children:[(0,o.jsx)("div",{className:w().coverageIcon,children:"✓"}),(0,o.jsx)("p",{className:w().sceneEyebrow,children:"COVERAGE CONFIRMED"}),(0,o.jsx)("h3",{children:"You’re eligible for Kickoff through your insurance"}),(0,o.jsx)("p",{children:"Your plan includes virtual sessions with a matched provider."}),(0,o.jsx)("button",{type:"button",children:"See my coach matches"})]}):null,"matches"===s.scene?(0,o.jsxs)("div",{className:w().matchesScene,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:w().sceneEyebrow,children:"YOUR TOP MATCH"}),(0,o.jsx)("h3",{children:"Meet Coach Maya"}),(0,o.jsx)("p",{children:"Strength training \xb7 Mobility \xb7 Sustainable habits"}),(0,o.jsxs)("div",{className:w().matchReasons,children:[(0,o.jsx)("span",{children:"✓ Fits your schedule"}),(0,o.jsx)("span",{children:"✓ Experience with your goals"}),(0,o.jsx)("span",{children:"✓ Accepts your plan"})]}),(0,o.jsx)("button",{type:"button",children:"Train with Maya"})]}),(0,o.jsx)("div",{className:w().coachPortrait,children:"M"})]}):null,"survey"===s.scene||"welcome"===s.scene?(0,o.jsxs)("div",{className:w().surveyScene,children:[(0,o.jsx)("div",{className:w().surveyProgress,children:(0,o.jsx)("span",{})}),(0,o.jsx)("p",{className:w().sceneEyebrow,children:"welcome"===s.scene?"WELCOME TO KICKOFF":"A LITTLE ABOUT YOU"}),(0,o.jsx)("h3",{children:"welcome"===s.scene?"Ready to build your coaching business?":"What would you like to focus on?"}),(0,o.jsxs)("div",{className:w().surveyOptions,children:[(0,o.jsxs)("button",{type:"button",className:w().selectedOption,children:["Build consistent habits ",(0,o.jsx)("span",{children:"✓"})]}),(0,o.jsx)("button",{type:"button",children:"Improve strength"}),(0,o.jsx)("button",{type:"button",children:"Move without pain"})]}),(0,o.jsx)("button",{type:"button",className:w().continueButton,children:"Continue"})]}):null,"billing"===s.scene?(0,o.jsxs)("div",{className:w().billingScene,children:[(0,o.jsx)("div",{className:w().billingIcon,children:"$"}),(0,o.jsx)("p",{className:w().sceneEyebrow,children:"BILLING OUTCOME"}),(0,o.jsx)("h3",{children:"One encounter is ready for submission"}),(0,o.jsxs)("div",{className:w().billingSummary,children:[(0,o.jsxs)("span",{children:["Client",(0,o.jsx)("strong",{children:"Jordan Rivera"})]}),(0,o.jsxs)("span",{children:["Service",(0,o.jsx)("strong",{children:"Virtual nutrition visit"})]}),(0,o.jsxs)("span",{children:["Encounter count",(0,o.jsx)("strong",{children:"Exactly 1"})]})]}),(0,o.jsx)("span",{className:w().verifiedBanner,children:"✓ Database outcome verified"})]}):null]})},D=function(e){var s=e.chapter;return(0,o.jsxs)("div",{className:w().productScenePlaceholder,children:[(0,o.jsx)("span",{children:"REAL KICKOFF CAPTURE NOT AVAILABLE"}),(0,o.jsx)("strong",{children:s.title}),(0,o.jsx)("p",{children:"This chapter will remain blank until its reviewer-facing screenshot or recording has been captured."})]})},V=function(e){var s=e.journey,t=e.chapter,i=e.onSelectChapter;return(0,o.jsxs)("section",{className:w().videoStage,"aria-label":"Mock journey recording",children:[(0,o.jsxs)("div",{className:w().videoLabelRow,children:[(0,o.jsxs)("span",{children:[(0,o.jsx)("i",{}
1)," ","insurance-signup"===t.id?"ACTUAL APP FRAME":"MOCK RECORDING"," ","\xb7 ",t.actor]}),(0,o.jsx)("span",{children:"1080p"})]}),"insurance-signup"===t.id?(0,o.jsx)(M,{chapter:t}):(0,o.jsx)(D,{chapter:t}),(0,o.jsxs)("div",{className:w().videoControls,children:[(0,o.jsx)("button",{type:"button","aria-label":"Play",children:"▶"}),(0,o.jsx)("span",{children:t.timecode}),(0,o.jsxs)("div",{className:w().videoTimeline,children:[(0,o.jsx)("div",{className:w().videoProgress,style:{width:"".concat(Math.max(8,(s.chapters.indexOf(t)+.45)/s.chapters.length*100),"%")}}),s.chapters.map(function(e,n){return(0,o.jsx)("button",{type:"button",className:e.id===t.id?w().activeMarker:"",style:{left:"".concat(n/s.chapters.length*100,"%")},onClick:function(){return i(e)},"aria-label":"Go to ".concat(e.title)},e.id)})]}),(0,o.jsx)("span",{children:s.duration}),(0,o.jsx)("button",{type:"button","aria-label":"Full screen",children:"⛶"})]})]})},q=function(e){var s=e.checkpoint;return(0,o.jsxs)("div",{className:w().checkpointRow,children:[(0,o.jsx)("span",{className:"".concat(w().checkpointIcon," ").concat(w()["checkpoint_".concat(s.kind)]),children:"boundary"===s.kind?"◇":"integration"===s.kind?"↗":"✓"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("strong",{children:s.label}),(0,o.jsx)("p",{children:s.detail})]})]})},L=function(e){var s=e.chapter;return(0,o.jsx)("div",{className:w().checkpointList,children:s.checkpoints.map(function(e){return(0,o.jsx)(q,{checkpoint:e},e.id)})})},F=function(e){var s=e.status,t=e.reviewNote,i=e.onSubmitReview,n=e.onSaveReviewNote,a=e.attachmentLabel,c=(0,r._)((0,l.useState)(t),2),d=c[0],u=c[1];return(0,o.jsxs)("div",{className:w().reviewActions,children:[(0,o.jsx)("div",{className:w().reviewActionHeading,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:"YOUR REVIEW"}),(0,o.jsx)("strong",{children:"Review this video"}),(0,o.jsx)("p",{children:"One click records the outcome."})]})}),(0,o.jsxs)("div",{className:w().reviewActionButtons,children:[(0,o.jsx)("button",{type:"button","aria-pressed":"approved"===s,className:w().approveButton,onClick:function(){return i("approved",d.trim())},children:"✓ Approve"}),(0,o.jsx)("button",{type:"button","aria-pressed":"skipped"===s,className:w().skipButton,onClick:function(){return i("skipped",d.trim())},children:"→ Skip"}),(0,o.jsx)("button",{type:"button","aria-pressed":"issue"===s,className:w().issueButton,onClick:function(){return i("issue",d.trim())},children:"! Flag"})]}),(0,o.jsxs)("div",{className:w().reviewComposer,children:[(0,o.jsxs)("label",{children:["Optional comment",(0,o.jsx)("span",{children:"Saves automatically"}),(0,o.jsx)("textarea",{"aria-label":"Review comment",value:d,onChange:function(e){u(e.target.value),n(e.target.value)},placeholder:"Add context for the team…"})]}),(0,o.jsx)("p",{children:void 0===a?"The chapter and current playhead are attached automatically.":a})]})]})},H=Array.from(new Set(p.map(function(e){return e.domain}))),J={"Coach workflow":"✓",Messaging:"↗","Clinical care":"+","Video calls":"◉",Onboarding:"→",Insurance:"◇",Credentialing:"◆",Administration:"⌘",Billing:"$"},U=p.reduce(function(e,s){var t=(0,r._)(s.duration.split(":").map(Number),2);return e+60*t[0]+t[1]},0),Q="".concat(Math.floor(U/3600)," hr ").concat(Math.round(U%3600/60)," min"),K=function(e){var s,t,c=e.extraCredit,d=e.reviewEnabled,u=void 0===d||d,h=(0,r._)((0,l.useState)(""),2),m=h[0],y=h[1],v=(0,r._)((0,l.useState)("All"),2),_=v[0],g=v[1],j=(0,r._)((0,l.useState)(null),2),x=j[0],b=j[1],f=(0,r._)((0,l.useState)({}),2),k=f[0],N=f[1],C=(0,r._)((0,l.useState)({}),2),R=C[0],A=C[1],O=m.trim().toLowerCase(),E=(0,l.useMemo)(function(){return p.filter(function(e){var s="All"===_||e.domain===_,t=0===O.length||"".concat(e.title," ").concat(e.domain," ").concat(e.summary," ").concat(e.fidelity).toLowerCase().includes(O);return s&&t})},[_,O]),P=H.map(function(e){return{domain:e,items:E.filter(function(s){return s.domain===e})}}).filter(function(e){return e.items.length>0}),I=p.find(function(e){return e.id===x}),M=E.findIndex(function(e){return e.id===x}),D=Object.values(k).filter(function(e){return"unreviewed"!==e}).length,V=function(e,s,t){N(function(t){return(0,a._)((0,n._)({},t),(0,i._)({},e,s))}),A(function(s){return(0,a._)((0,n._)({},s),(0,i._)({},e,t))})};return(0,o.jsxs)("section",{className:w().focusedCatalog,id:"standalone-evidence",children:[(0,o.jsxs)("div",{className:w().catalogHeader,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:void 0!==c&&c?"BEYOND THE JOURNEYS":"EVIDENCE LIBRARY"}),(0,o.jsx)("h2",{children:"All other QA videos"}),(0,o.jsxs)("p",{children:["Standalone checks that do not belong to an end-to-e
1nd journey. Their order stays fixed",u?"; priority calls attention to a video without moving it.":" so the library stays familiar from one refresh to the next."]})]}),(0,o.jsxs)("div",{className:w().catalogSummary,children:[(0,o.jsx)("strong",{children:p.length}),(0,o.jsx)("span",{children:"standalone videos"}),(0,o.jsx)("i",{}),(0,o.jsx)("strong",{children:Q}),(0,o.jsx)("span",{children:"total"}),u&&D?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("i",{}),(0,o.jsx)("strong",{children:D}),(0,o.jsx)("span",{children:"reviewed"})]}):null]})]}),(0,o.jsxs)("div",{className:w().catalogTools,children:[(0,o.jsxs)("label",{className:w().catalogSearch,children:[(0,o.jsx)("span",{"aria-hidden":"true",children:"⌕"}),(0,o.jsx)("input",{value:m,onChange:function(e){return y(e.target.value)},placeholder:"Search ".concat(p.length," videos"),"aria-label":"Search standalone QA videos"}),m?(0,o.jsx)("button",{type:"button",onClick:function(){return y("")},"aria-label":"Clear search",children:"\xd7"}):null]}),(0,o.jsxs)("div",{className:w().catalogResultCount,"aria-live":"polite",children:["Showing ",E.length," of ",p.length]})]}),(0,o.jsxs)("div",{className:w().catalogFilters,"aria-label":"Filter by domain",children:[(0,o.jsxs)("button",{type:"button","aria-pressed":"All"===_,className:"All"===_?w().filterActive:void 0,onClick:function(){return g("All")},children:["All ",(0,o.jsx)("span",{children:p.length})]}),H.map(function(e){var s=p.filter(function(s){return s.domain===e}).length;return(0,o.jsxs)("button",{type:"button","aria-pressed":_===e,className:_===e?w().filterActive:void 0,onClick:function(){return g(e)},children:[e," ",(0,o.jsx)("span",{children:s})]},e)})]}),P.length?(0,o.jsx)("div",{className:w().catalogGroups,children:P.map(function(e){return(0,o.jsxs)("section",{className:w().catalogGroup,children:[(0,o.jsxs)("header",{children:[(0,o.jsx)("span",{"aria-hidden":"true",children:J[e.domain]}),(0,o.jsx)("h3",{children:e.domain}),(0,o.jsxs)("small",{children:[e.items.length," ",1===e.items.length?"video":"videos"]})]}),(0,o.jsx)("div",{className:w().catalogItems,children:e.items.map(function(e){return(0,o.jsxs)("button",{type:"button","aria-pressed":x===e.id,className:x===e.id?w().catalogItemSelected:void 0,onClick:function(){return b(e.id)},children:[(0,o.jsxs)("span",{className:w().catalogThumbnail,children:[(0,o.jsx)("span",{className:w().catalogDomainMark,children:J[e.domain]}),(0,o.jsx)("span",{className:w().catalogPlay,children:"▶"}),(0,o.jsx)("time",{children:e.duration})]}),(0,o.jsxs)("span",{className:w().catalogItemCopy,children:[(0,o.jsxs)("span",{className:w().catalogItemTitleRow,children:[(0,o.jsx)("strong",{children:e.title}),u?(0,o.jsx)(B,{reason:e.priority}):null,u&&k[e.id]&&"unreviewed"!==k[e.id]?(0,o.jsx)(T,{status:k[e.id]}):null]}),(0,o.jsx)("small",{children:e.summary}),(0,o.jsxs)("span",{className:w().catalogItemMeta,children:[(0,o.jsx)("span",{children:S[e.fidelity].label}),(0,o.jsx)("span",{children:u?"Open & review →":"Watch video →"})]})]})]},e.id)})})]},e.domain)})}):(0,o.jsxs)("div",{className:w().catalogEmpty,children:[(0,o.jsx)("strong",{children:"No videos match this view."}),(0,o.jsx)("p",{children:"Try another domain or clear the search."}),(0,o.jsx)("button",{type:"button",onClick:function(){y(""),g("All")},children:"Show all videos"})]}),I?(0,o.jsx)("div",{className:w().catalogReviewBackdrop,children:(0,o.jsxs)("section",{className:w().catalogReviewDialog,role:"dialog","aria-modal":"true","aria-labelledby":"standalone-review-title",children:[(0,o.jsxs)("header",{className:w().catalogReviewHeader,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:u?"OPTIONAL STANDALONE REVIEW":"STANDALONE QA VIDEO"}),(0,o.jsx)("h2",{id:"standalone-review-title",children:I.title}),(0,o.jsx)("p",{children:I.summary})]}),(0,o.jsx)("button",{type:"button",onClick:function(){return b(null)},"aria-label":"Close standalone video review",children:"\xd7"})]}),(0,o.jsxs)("div",{className:w().catalogReviewMeta,children:[(0,o.jsx)("span",{children:I.domain}),(0,o.jsx)("span",{children:S[I.fidelity].label}),(0,o.jsx)("time",{children:I.duration}),u?(0,o.jsx)(B,{reason:I.priority}):null]}),(0,o.jsxs)("div",{className:"".concat(w().catalogReviewBody," ").concat(u?"":w().catalogReviewBodyViewOnl
1y),children:[(0,o.jsxs)("div",{className:w().standaloneVideoPanel,children:[(0,o.jsxs)("div",{className:w().standaloneVideoPlaceholder,children:[(0,o.jsx)("span",{children:"STANDALONE RECORDING"}),(0,o.jsx)("strong",{children:I.title}),(0,o.jsx)("p",{children:"Recording preview is not embedded in Phase 0. The captured artifact will play here in the production QA video browser."})]}),(0,o.jsxs)("div",{className:w().standaloneVideoControls,children:[(0,o.jsx)("button",{type:"button","aria-label":"Play standalone video",children:"▶"}),(0,o.jsx)("span",{children:"0:00"}),(0,o.jsx)("i",{}),(0,o.jsx)("time",{children:I.duration})]})]}),u?(0,o.jsx)(F,{status:null!==(s=k[I.id])&&void 0!==s?s:"unreviewed",reviewNote:null!==(t=R[I.id])&&void 0!==t?t:"",onSubmitReview:function(e,s){return V(I.id,e,s)},onSaveReviewNote:function(e){return A(function(s){return(0,a._)((0,n._)({},s),(0,i._)({},I.id,e))})},attachmentLabel:"The standalone video and current playhead are attached automatically."},I.id):null]}),(0,o.jsxs)("footer",{className:w().catalogReviewNavigation,children:[(0,o.jsxs)("p",{children:[M+1," of ",E.length," in this view"]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("button",{type:"button",disabled:M<=0,onClick:function(){var e,s;return b(null!==(s=null===(e=E[M-1])||void 0===e?void 0:e.id)&&void 0!==s?s:null)},children:"← Previous"}),(0,o.jsx)("button",{type:"button",disabled:M<0||M>=E.length-1,onClick:function(){var e,s;return b(null!==(s=null===(e=E[M+1])||void 0===e?void 0:e.id)&&void 0!==s?s:null)},children:"Next →"})]})]})]})}):null]})},W=function(e){var s=e.journeys,t=e.selectedJourney,i=e.activeChapter,n=e.onSelectJourney,a=e.onSelectChapter,r=s.reduce(function(e,s){return e+s.chapters.length},0);return(0,o.jsxs)("div",{className:"".concat(w().prototypeRoot," ").concat(w().releaseReview," ").concat(w().viewOnly),children:[(0,o.jsx)("header",{className:w().guidedHeader,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:w().prototypeTag,children:"QA VIDEO BROWSER \xb7 VIEW-ONLY PROTOTYPE"}),(0,o.jsx)("h1",{children:g}),(0,o.jsxs)("p",{children:["QA evidence for"," ",(0,o.jsxs)("a",{href:"#prototype-pull-request",children:["PR ",v," \xb7 ",_]})]})]})}),(0,o.jsxs)("section",{className:w().reviewBrief,children:[(0,o.jsxs)("blockquote",{className:w().curatorNote,children:[(0,o.jsxs)("p",{children:["“",x,"”"]}),(0,o.jsxs)("footer",{children:["— ",j," \xb7 ","AI"]})]}),(0,o.jsxs)("div",{className:w().videoSetSummary,children:[(0,o.jsx)("span",{children:"VIDEO SET"}),(0,o.jsxs)("strong",{children:[s.length," journeys \xb7 ",r," chapter videos"]}),(0,o.jsxs)("time",{children:[y," journey video"]}),(0,o.jsxs)("p",{children:[p.length," standalone QA videos below"]})]})]}),(0,o.jsx)("div",{className:w().belowFoldCue,children:(0,o.jsxs)("a",{href:"#standalone-evidence",children:["↓ Browse ",p.length," standalone QA videos"]})}),(0,o.jsxs)("main",{className:w().guidedWorkspace,children:[(0,o.jsxs)("aside",{className:w().reviewQueue,children:[(0,o.jsxs)("div",{className:w().panelHeading,children:[(0,o.jsx)("span",{children:"JOURNEYS"}),(0,o.jsx)("strong",{children:"Browse key product flows"}),(0,o.jsx)("p",{children:"Choose a journey, then a chapter video."})]}),s.map(function(e,s){var r=e.id===t.id;return(0,o.jsxs)("div",{className:w().queueJourney,children:[(0,o.jsxs)("button",{type:"button",onClick:function(){return n(e)},className:"".concat(w().queueJourneyButton," ").concat(r?w().selectedQueueItem:""),children:[(0,o.jsx)("span",{className:w().queueNumber,children:String(s+1).padStart(2,"0")}),(0,o.jsxs)("div",{children:[(0,o.jsx)("small",{children:e.eyebrow}),(0,o.jsx)("strong",{children:e.title}),(0,o.jsxs)("span",{children:[e.duration," \xb7 ",e.chapters.length," chapters"]})]})]}
1),r?(0,o.jsx)("div",{className:w().queueTasks,children:e.chapters.map(function(e){return(0,o.jsxs)("button",{type:"button",className:e.id===i.id?w().selectedQueueTask:"",onClick:function(){return a(e)},children:[(0,o.jsx)("span",{className:w().viewChapterNumber,children:e.number}),(0,o.jsxs)("div",{children:[(0,o.jsx)("strong",{children:e.title}),(0,o.jsx)("span",{children:e.duration})]})]},e.id)})}):null]},e.id)}),(0,o.jsxs)("div",{className:w().queueFooterViewOnly,children:[(0,o.jsxs)("span",{children:[r," journey videos"]}),(0,o.jsx)("strong",{children:y})]})]}),(0,o.jsxs)("section",{className:w().guidedMain,children:[(0,o.jsxs)("div",{className:w().journeyTitleRow,children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("span",{children:[t.eyebrow," \xb7 CHAPTER ",i.number]}),(0,o.jsx)("h2",{children:i.title}),(0,o.jsx)("p",{children:i.summary})]}),(0,o.jsx)("div",{children:(0,o.jsx)(E,{journey:t})})]}),(0,o.jsx)(V,{journey:t,chapter:i,onSelectChapter:a}),(0,o.jsxs)("div",{className:w().currentChapterCopy,children:[(0,o.jsx)("span",{children:"WHAT THIS SHOWS"}),(0,o.jsx)("h3",{children:t.title}),(0,o.jsx)("p",{children:t.summary}),(0,o.jsx)("ol",{children:i.steps.map(function(e){return(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"✓"}),e]},e)})})]}),(0,o.jsxs)("div",{className:w().reviewDisclosures,children:[(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:"About this video set"}),(0,o.jsx)("p",{children:x})]}),(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:"Expected evidence and checkpoints"}),(0,o.jsx)(L,{chapter:i})]}),(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:"What is real, simulated, or seeded?"}),(0,o.jsxs)("p",{children:[(0,o.jsxs)("strong",{children:[S[t.fidelity].label,"."]})," ",S[t.fidelity].description]}),(0,o.jsxs)("p",{children:["Specific disclosures: ",t.boundaries.join(" \xb7 ")]}),(0,o.jsxs)("p",{children:[t.startState," → ",t.endState]})]})]})]})]}),(0,o.jsx)(K,{reviewEnabled:!1})]})},G=function(e){var s,t,i=e.journeys,n=e.selectedJourney,a=e.activeChapter,r=e.statuses,l=e.chapterStatuses,c=e.reviewNotes,d=e.onSelectJourney,u=e.onSelectChapter,h=e.onSubmitReview,m=e.onSaveReviewNote,p=i.flatMap(function(e){return e.chapters}),x=p.filter(function(e){return"unreviewed"!==l[e.id]}).length,f=p.filter(function(e){return"approved"===l[e.id]}).length,k=p.filter(function(e){return"skipped"===l[e.id]}).length,N=p.filter(function(e){return"issue"===l[e.id]}).length,R=Math.round(x/p.length*100);return(0,o.jsxs)("div",{className:"".concat(w().prototypeRoot," ").concat(w().releaseReview),children:[(0,o.jsx)("header",{className:w().guidedHeader,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:w().prototypeTag,children:"QA REVIEW \xb7 MOCK DATA"}),(0,o.jsx)("h1",{children:g}),(0,o.jsxs)("p",{children:["Release review for"," ",(0,o.jsxs)("a",{href:"#prototype-pull-request",children:["PR ",v," \xb7 ",_]})]})]})}),(0,o.jsxs)("section",{className:w().reviewBrief,children:[(0,o.jsxs)("blockquote",{className:w().curatorNote,children:[(0,o.jsxs)("p",{children:["“",b,"”"]}),(0,o.jsxs)("footer",{children:["— ",j," \xb7 ","AI"]})]}),(0,o.jsxs)("div",{className:w().reviewProgress,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:"REVIEW PROGRESS"}),(0,o.jsxs)("strong",{children:[x," of ",p.length," tasks handled"]})]}),(0,o.jsxs)("time",{children:[y," total video"]}),(0,o.jsx)("div",{className:w().reviewProgressTrack,children:(0,o.jsx)("i",{style:{width:"".concat(R,"%")}})}),(0,o.jsxs)("p",{children:[f," approved \xb7 ",k," skipped \xb7 ",N," ","flagged"]})]})]}),(0,o.jsx)("div",{className:w().belowFoldCue,children:(0,o.jsx)("a",{href:"#standalone-evidence",children:"↓ 40 standalone QA videos below the journey review"})}),(0,o.jsxs)("main",{className:w().guidedWorkspace,children:[(0,o.jsxs)("aside",{className:w().reviewQueue,children:[(0,o.jsxs)("div",{className:w().panelHeading,children:[(0,o.jsx)("span",{children:"COMPLETE RELEASE CHECKLIST"}),(0,o.jsx)("strong",{children:"All core journeys"}),(0,o.jsx)("p",{children:"Every chapter is one review task."})]}),i.map(function(e,s){var t=e.id===n.id;return(0,o.jsxs)("div",{className:w().queueJourney,children:[(0,o.jsxs)("button",{type:"button",onClick:function(){return d(e)},className:"".concat(w().queueJourneyButton," ").concat(t?w().selectedQueueItem:""),children:[(0,o.jsx)("span",{className:w().queueNumber,children:String(s+1).padStart(2,"0")}),(0,o.jsxs)("div",{children:[(0,o.jsx)("small",{children:e.eyebrow}),(0,o.jsx)("strong",{children:e.title}),(0,o.jsxs)("span",{children:[e.duration," \xb7 ",e.chapters.length," tasks"]}),(0,o.jsx)(B,{reason:C.journeys[e.id]})]}),(0,o.jsx)(T,{status:r[e.id]})]}),t?(0,o.jsx)("div",{className:w().queueTasks,children:e.chapters.map(function(e){return(0,o.jsxs)("button",{type:"button",className:e.id===a.id?w().selectedQueueTask:"",onClick:function(){return u(e)},children:[(0,o.jsx)(O,{status:l[e.id]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("strong",{children:e.title}),(0,o.jsxs)("span",{children:["Chapter ",e.number," \xb7 ",e.duration]}),(0,o.jsx)(B,{reason:C.chapters[e.id]})]})]},e.id)})}):null]},e.id)}),(0,o.jsxs)("div",{className:w().queueFooter,children:[(0,o.jsxs)("span",{children:[R,"% handled"]}),(0,o.jsx)("strong",{children:y}),(0,o.jsx)("div",{children:(0,o.jsx)("i",{style:{width:"".concat(R,"%")}})})]})]}),(0,o.jsxs)("section",{className:w().guidedMain,children:[(0,o.jsxs)("div",{className:w().journeyTitleRow,children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("span",{children:[n.eyebrow," \xb7 CHAPTER ",a.number]}),(0,o.jsx)("h2",{children:a.title}),(0,o.jsx)("p",{children:a.summary}),(0,o.jsx)(B,{reason:null!==(s=C.chapters[a.id])&&void 0!==s?s:C.journeys[n.id]})]}),(0,o.jsx)("div",{children:(0,o.jsx)(E,{journey:n})})]}),(0,o.jsxs)("div",{className:w().videoReviewLayout,children:[(0,o.jsx)(V,{journey:n,chapter:a,onSelectChapter:u}),(0,o.jsx)(F,{status:l[a.id],reviewNote:null!==(t=c[a.id])&&void 0!==t?t:"",onSubmitReview:h,onSaveReviewNote:m},a.id)]}),(0,o.jsxs)("div",{className:w().currentChapterCopy,children:[(0,o.jsx)("span",{children:"WHAT TO WATCH"}),(0,o.jsx)("h3",{children:n.title}),(0,o.jsx)("p",{children:n.summary}),(0,o.jsx)("ol",{children:a.steps.map(function(e){return(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"✓"}),e]},e)})})]}),(0,o.jsxs)("div",{className:w().reviewDisclosures,children:[(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:"Why this task is in the review"}),(0,o.jsx)("p",{children:b})]}),(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:"Expected evidence and checkpoints"}),(0,o.jsx)(L,{chapter:a})]}),(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:"What is real, simulated, or seeded?"}),(0,o.jsxs)("p",{children:[(0,o.jsxs)("strong",{children:[S[n.fidelity].label,"."]})," ",S[n.fidelity].description]}),(0,o.jsxs)("p",{children:["Specific disclosures: ",n.boundaries.join(" \xb7 ")]}),(0,o.jsxs)("p",{children:[n.startState," → ",n.endState]})]})]})]})]}),(0,o.jsx)(K,{extraCredit:!0})]})},Y=function(e){var s=e.variant,t=e.onChange,i=R.findIndex(function(e){return e.id===s}),n=function(e){var s=(i+e+R.length)%R.length;t(R[s].id)};return(0,l.useEffect)(function(){var e=function(e){var s=e.target;null!=s&&s.matches('input, textarea, select, [contenteditable="true"]')||("ArrowLeft"===e.key&&n(-1),"ArrowRight"===e.key&&n(1))};return window.addEventListener("keydown",e),function(){return window.removeEventListener("keydown",e)}}),null},z=function(){var e,s,t=(0,u.useRouter)(),c="review"===t.query.variant?"review":"view",d=(0,r._)((0,l.useState)("insurance-activation"),2),h=d[0],p=d[1],y=(0,r._)((0,l.useState)("insurance-signup"),2),v=y[0],_=y[1],g=(0,r._)((0,l.useState)(k),2),j=g[0],x=g[1],b=(0,r._)((0,l.useState)({"service-message":"Covered by the scheduling chapter in this review.","service-schedule":"The handoff from scheduling into the lobby needs clearer timing."}),2),f=b[0],w=b[1],N=null!==(e=m.find(function(e){return e.id===h}))&&void 0!==e?e:m[0],S=null!==(s=N.chapters.find(function(e){return e.id===v}))&&void 0!==s?s:N.chapters[0],C=(0,l.useMemo)(function(){return Object.fromEntries(m.map(function(e){return[e.id,A(e,j)]}))},[j]),R={journeys:m,selectedJourney:N,activeChapter:S,statuses:C,chapterStatuses:j,reviewNotes:f,onSelectJourney:function(e){p(e.id),_(e.chapters[0].id)},onSelectChapter:function(e){return _(e.id)},onSubmitReview:function(e,s){x(function(s){return(0,a._)((0,n._)({},s),(0,i._)({},S.id,e))}),w(function(e){return(0,a._)((0,n._)({},e),(0,i._)({},S.id,s))})},onSaveReviewNote:function(e){w(function(s){return(0,a._)((0,n._)({},s),(0,i._)({},S.id,e))})}};return(0,o.jsxs)(o.Fragment,{children:["review"===c?(0,o.jsx)(G,(0,n._)({},R)):(0,o.jsx)(W,(0,n._)({},R)),(0,o.jsx)(Y,{variant:c,onChange:function(e){t.replace({pathname:t.pathname,query:(0,a._)((0,n._)({},t.query),{prototype:"1",variant:e})},void 0,{shallow:!0,scroll:!1})}})]})}},67188:function(e){e.exports={prototypeRoot:"styles_prototypeRoot__TiB1o",belowFoldCue:"styles_belowFoldCue__EBBf5",prototypeTag:"styles_prototypeTag__EJXbE",statusPill:"styles_statusPill__kvZXy",fidelityPill:"styles_fidelityPill__ot0EI",status_unreviewed:"styles_status_unreviewed__9m0uz",status_approved:"styles_status_approved__KRkyB",status_skipped:"styles_status_skipped__PjQkT",status_issue:"styles_status_issue__R7cVo",taskStatusIcon:"styles_taskStatusIcon__Jo529",priorityPill:"styles_priorityPill__pDQQR",videoStage:"styles_videoStage__9bRlF",videoLabelRow:"styles_videoLabelRow__ytzze",videoControls:"styles_videoControls__WeNU7",liveDot:"styles_liveDot__B6PrE",videoTimeline:"styles_videoTimeline__7W5fh",videoProgress:"styles_videoProgress__MCOup",activeMarker:"styles_activeMarker__hO_VP",sceneApp:"styles_sceneApp__t4qUf",callScene:"styles_callScene__qZlj_",systemScene:"styles_systemScene__0OdRd",actualProductFrame:"styles_actualProductFrame__f1tfP",actualProductScreenshot:"styles_actualProductScreenshot__CaQk5",productScenePlaceholder:"styles_productScenePlaceholder__01eqc",sceneSidebar:"styles_sceneSidebar__DK_Cs",sceneLogo:"styles_sceneLogo__RAe0t",sceneNavActive:"styles_sceneNavActive__CuJyC",sce
1neBody:"styles_sceneBody__ouMqH",sceneTopbar:"styles_sceneTopbar__4cHz7",sceneBack:"styles_sceneBack__Pt3tj",sceneAvatar:"styles_sceneAvatar__ImS_h",sceneEyebrow:"styles_sceneEyebrow__1E1l1",dashboardScene:"styles_dashboardScene__QHGit",conversationScene:"styles_conversationScene__gvpGn",calendarScene:"styles_calendarScene__IkTNl",lobbyScene:"styles_lobbyScene__OGs2o",notesScene:"styles_notesScene__dErxg",coverageScene:"styles_coverageScene__xYFNV",matchesScene:"styles_matchesScene__uawZ2",surveyScene:"styles_surveyScene__pjDlh",billingScene:"styles_billingScene__Idk_w",todoCard:"styles_todoCard__Ophs7",todoAvatar:"styles_todoAvatar__OYklw",clientHeader:"styles_clientHeader__vxowD",lobbyCopy:"styles_lobbyCopy__RBOHg",bookingBar:"styles_bookingBar__yi3Ng",continueButton:"styles_continueButton__d_sEk",signBar:"styles_signBar__h0uwz",mutedRows:"styles_mutedRows__KSaQ0",notesHeader:"styles_notesHeader__RI7w7",messages:"styles_messages__uK3V7",clientMessage:"styles_clientMessage__1KYEB",coachMessage:"styles_coachMessage__ZL0f_",messageInput:"styles_messageInput__qxGfK",calendarDays:"styles_calendarDays__l7xPd",timeSlots:"styles_timeSlots__epm7A",selectedDay:"styles_selectedDay__RfsNh",selectedTime:"styles_selectedTime__pKfUH",lobbyPreview:"styles_lobbyPreview__NOzEp",personPortrait:"styles_personPortrait__0SGvU",deviceRow:"styles_deviceRow__Brus0",savedBadge:"styles_savedBadge__As8CA",verifiedBanner:"styles_verifiedBanner__Awa7L",noteGrid:"styles_noteGrid__HtSxT",coverageIcon:"styles_coverageIcon__x8kpL",billingIcon:"styles_billingIcon__08j3c",coachPortrait:"styles_coachPortrait__mEZq2",matchReasons:"styles_matchReasons__ioOjV",surveyProgress:"styles_surveyProgress__ctvzB",surveyOptions:"styles_surveyOptions__RTqCv",selectedOption:"styles_selectedOption__1Axr5",billingSummary:"styles_billingSummary__Y8k8P",callTopbar:"styles_callTopbar__c4_he",actorBadge:"styles_actorBadge__Fapp1",callTiles:"styles_callTiles__pJnP0",personTile:"styles_personTile__8Y7jO",clientTile:"styles_clientTile__jDj9l",callControls:"styles_callControls__fD_ty",hangup:"styles_hangup__4VQ1N",systemLabel:"styles_systemLabel__1DN4b",systemFlow:"styles_systemFlow__1rUfe",chapterButtons:"styles_chapterButtons__N4e8n",chapters_vertical:"styles_chapters_vertical___RZ2A",chapters_horizontal:"styles_chapters_horizontal__YvV4Z",activeChapter:"styles_activeChapter__KVRDv",checkpointList:"styles_checkpointList__NujcN",checkpointRow:"styles_checkpointRow__LPDzc",checkpointIcon:"styles_checkpointIcon__k0TM6",checkpoint_boundary:"styles_checkpoint_boundary__AW8c2",checkpoint_integration:"styles_checkpoint_integration__JztXc",reviewActions:"styles_reviewActions__Zi5hB",reviewActionButtons:"styles_reviewActionButtons__6FMtW",approveButton:"styles_approveButton__LH6P4",issueButton:"styles_issueButton__XJdRV",skipButton:"styles_skipButton__KFKTd",reviewActionHeading:"styles_reviewActionHeading__jmdI8",reviewComposer:"styles_reviewComposer__QYjmk",issueNote:"styles_issueNote__7eKWt",snapshotStats:"styles_snapshotStats__PFtHX",focusedCatalog:"styles_focusedCatalog__Le8Z5",catalogHeader:"styles_catalogHeader__0_EJx",catalogSummary:"styles_catalogSummary__aQDY4",catalogTools:"styles_catalogTools__PtQLg",catalogSearch:"styles_catalogSearch__1QV7r",catalogResultCount:"styles_catalogResultCount__Gl_8l",catalogFilters:"styles_catalogFilters__bJ7xf",filterActive:"styles_filterActive__fZfiR",catalogGroups:"styles_catalogGroups___dcoR",catalogGroup:"styles_catalogGroup__hId6E",catalogItems:"styles_catalogItems__tjKOr",catalogItemSelected:"styles_catalogItemSelected__jtGD6",catalogThumbnail:"styles_catalogThumbnail__GJVKj",catalogDomainMark:"styles_catalogDomainMark__vy3wh",catalogPlay:"styles_catalogPlay__E3_sR",catalogItemCopy:"styles_catalogItemCopy__Q_Rdu",catalogItemTitleRow:"styles_catalogItemTitleRow__Wrgut",catalogItemMeta:"styles_catalogItemMeta__bSWfS",catalogReviewBackdrop:"styles_catalogReviewBackdrop__hKDs3",catalogReviewDialog:"styles_catalogReviewDialog__hvl_t",catalogReviewHeader:"styles_catalogReviewHeader__zyTu8",catalogReviewMeta:"styles_catalogReviewMeta__1YOrJ",catalogReviewBody:"styles_catalogReviewBody__Q7Za3",catalogReviewBodyViewOnl
1y:"styles_catalogReviewBodyViewOnly__mhk5n",standaloneVideoPanel:"styles_standaloneVideoPanel__aJ_nv",standaloneVideoPlaceholder:"styles_standaloneVideoPlaceholder__lpxmF",standaloneVideoControls:"styles_standaloneVideoControls___fzHr",catalogReviewNavigation:"styles_catalogReviewNavigation__0_nuc",prototypeSwitcher:"styles_prototypeSwitcher__jG_NI",activePrototypeMode:"styles_activePrototypeMode__7AZa8",catalogEmpty:"styles_catalogEmpty__ky3dN",releaseReview:"styles_releaseReview__lvm2l",guidedHeader:"styles_guidedHeader__wFMQ2",reviewBrief:"styles_reviewBrief__leLry",curatorNote:"styles_curatorNote__zzvWi",reviewProgress:"styles_reviewProgress__40fqb",videoSetSummary:"styles_videoSetSummary__LVPYj",reviewProgressTrack:"styles_reviewProgressTrack__FXDlE",snapshotMeta:"styles_snapshotMeta__j5Emr",guidedWorkspace:"styles_guidedWorkspace__AmZsE",reviewQueue:"styles_reviewQueue__hMYL1",guidedMain:"styles_guidedMain__BYRw6",evidenceRail:"styles_evidenceRail___pIqQ",panelHeading:"styles_panelHeading__OO_Xn",queueJourney:"styles_queueJourney__XjGnN",queueJourneyButton:"styles_queueJourneyButton__Rt0HY",selectedQueueItem:"styles_selectedQueueItem__hQyy1",queueNumber:"styles_queueNumber__cxR9j",queueTasks:"styles_queueTasks__OAwJO",selectedQueueTask:"styles_selectedQueueTask__JOFwK",viewChapterNumber:"styles_viewChapterNumber__Pd9nJ",queueFooter:"styles_queueFooter__h_0my",queueFooterViewOnly:"styles_queueFooterViewOnly__NOcy2",videoReviewLayout:"styles_videoReviewLayout__Jp_ld",viewOnly:"styles_viewOnly__aNA9h",journeyTitleRow:"styles_journeyTitleRow__5fCvJ",theaterIntro:"styles_theaterIntro__wMHrD",currentChapterCopy:"styles_currentChapterCopy___xhhn",boundaryBox:"styles_boundaryBox__B931c",stateTransition:"styles_stateTransition__EyeED",reviewDisclosures:"styles_reviewDisclosures___MyAX"}}}]);
2//# sourceMappingURL=9936.cb36f851dd15c541.js.map

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.