1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1909],{31909:function(e,a,n){"use strict";n.r(a),n.d(a,{FishbowlQuickGame:function(){return FishbowlQuickGame}});var o=n(12741),t=n(81333),r=n(2784),i=n(8757),s=n(6398),l=n(80851),c=n.n(l),u=n(25278),d=n.n(u),m=n(52322),h=c();function playFeedback(e){null===(a=(n=window.navigator).vibrate)||void 0===a||a.call(n,e?45:18);var a,n,o=window.AudioContext||window.webkitAudioContext;if(o){var t=new o,r=t.createOscillator(),i=t.createGain();r.frequency.value=e?660:330,i.gain.setValueAtTime(.045,t.currentTime),i.gain.exponentialRampToValueAtTime(.001,t.currentTime+.08),r.connect(i),i.connect(t.destination),r.start(),r.stop(t.currentTime+.08),r.addEventListener("ended",function(){t.close()})}}function FishbowlQuickGame(e){var a=e.onExit,n=r.useState(["Team A","Team B"]),l=(0,t.Z)(n,2),c=l[0],u=l[1],p=r.useState(30),g=(0,t.Z)(p,2),b=g[0],f=g[1],w=r.useState(60),S=(0,t.Z)(w,2),y=S[0],k=S[1],C=r.useState(null),v=(0,t.Z)(C,2),F=v[0],x=v[1],_=r.useState(null),P=(0,t.Z)(_,2),T=P[0],B=P[1],j=r.useState(null),N=(0,t.Z)(j,2),G=N[0],A=N[1],I=r.useState(0),R=(0,t.Z)(I,2),M=R[0],O=R[1],D=r.useState(!0),E=(0,t.Z)(D,2),L=E[0],W=E[1],H=r.useState(!1),Q=(0,t.Z)(H,2),K=Q[0],J=Q[1],U=r.useRef(null);r.useEffect(function(){var e=h.consumeFishbowlGeneratorHandoff(window.sessionStorage);if(e)A(e),f(e.length<=20?20:e.length<=30?30:40);else{var a=h.readFishbowlQuickSession(window.localStorage);a&&"game-results"!==a.phase&&B(a)}J(!0)},[]),r.useEffect(function(){K&&F&&("game-results"===F.phase?h.removeFishbowlQuickSession(window.localStorage):h.writeFishbowlQuickSession(window.localStorage,F))},[K,F]),r.useEffect(function(){if(F&&"turn-active"===F.phase){var refreshTimer=function(){var e=h.getFishbowlSecondsRemaining(F.turnExpiresAt,Date.now());O(e),0===e&&x(function(e){return e&&"turn-active"===e.phase?h.finishFishbowlTurn(e):e})};refreshTimer();var e=window.setInterval(refreshTimer,250);return function(){return window.clearInterval(e)}}},[F]),r.useEffect(function(){if(F&&"game-results"!==F.phase){var preventAccidentalExit=function(e){e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",preventAccidentalExit),function(){return window.removeEventListener("beforeunload",preventAccidentalExit)}}},[F]),r.useEffect(function(){var e;F&&(null===(e=U.current)||void 0===e||e.focus())},[F]);var Y=F?h.FISHBOWL_ROUNDS[F.roundIndex]:h.FISHBOWL_ROUNDS[0],z=F?h.getCurrentFishbowlPrompt(F):null;function beginTurn(){if(F){var e=h.beginFishbowlTurn(F);O(e.timerSeconds),x(e)}}function rematch(e){F&&(x(h.rematchFishbowlSession(F,{sameBowl:e})),e||(0,i.M5)(i.tY.BOWL_GENERATED,{mode:"quick",promptSource:"curated",promptCount:F.promptCount}),(0,s.Fq)(s.lC.REPLAYED,{gameSlug:"fishbowl",gameTitle:"Fishbowl",playMode:"pass_and_play",sourceSurface:e?F.sourceSurface:"custom_landing"}))}if(!K)return(0,m.jsx)("div",{className:d().shell,"aria-busy":"true",children:(0,m.jsx)("p",{className:d().loading,children:"Preparing Fishbowlâ¦"})});if(!F)return(0,m.jsxs)("div",{className:d().shell,children:[(0,m.jsxs)("header",{className:d().header,children:[(0,m.jsxs)("div",{children:[(0,m.jsx)("span",{className:d().eyebrow,children:"Quick Play \xb7 one shared phone"}),(0,m.jsx)("h2",{children:"Set up your Fishbowl"}),(0,m.jsx)("p",{children:"Pick teams and a timer. Pocket Party supplies the bowl."})]}),(0,m.jsxs)("button",{className:d().closeButton,type:"button",onClick:a,children:["Close",(0,m.jsx)("span",{className:d().srOnly,children:" Fishbowl Quick Play"})]})]}),T?(0,m.jsxs)("section",{className:d().resumeCard,"aria-labelledby":"resume-fishbowl-heading",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)("h3",{id:"resume-fishbowl-heading",children:"Your game is still here"}),(0,m.jsxs)("p",{children:["Round ",T.roundIndex+1," \xb7 ",T.teams[0].score,"â",T.teams[1].score]})]}),(0,m.jsxs)("div",{className:d().inlineActions,children:[(0,m.jsx)("button",{className:d().primaryButton,type:"button",onClick:function(){T&&(x(T),u([T.teams[0].name,T.teams[1].name]),f(T.promptCount),k(T.timerSeconds),B(null))},children:"Resume game"}),(0,m.jsx)("button",{className:d().textButton,type:"button",onClick:function(){h.removeFishbowlQuickSession(window.localStorage),B(null)},children:"Discard"})]})]}):null,G?(0,m.jsxs)("div",{className:d().importNotice,role:"status",children:["â Your ",G.length,"-word custom bowl is ready.",(0,m.jsx)("button",{type:"button",onClick:function(){return A(null)}
1,children:"Use curated words instead"})]}):null,(0,m.jsxs)("div",{className:d().setupGrid,children:[(0,m.jsxs)("fieldset",{className:d().fieldset,children:[(0,m.jsx)("legend",{children:"Team names"}),c.map(function(e,a){return(0,m.jsxs)("label",{children:["Team ",0===a?"A":"B",(0,m.jsx)("input",{maxLength:24,value:e,onChange:function(e){return u(function(n){var t=(0,o.Z)(n);return t[a]=e.target.value,t})}})]},a)})]}),G?null:(0,m.jsxs)("fieldset",{className:d().fieldset,children:[(0,m.jsx)("legend",{children:"Words in the bowl"}),(0,m.jsx)("div",{className:d().segmentedControl,children:[20,30,40].map(function(e){return(0,m.jsxs)("label",{children:[(0,m.jsx)("input",{checked:b===e,name:"fishbowl-prompt-count",type:"radio",value:e,onChange:function(){return f(e)}}),(0,m.jsx)("span",{children:e})]},e)})})]}),(0,m.jsxs)("fieldset",{className:d().fieldset,children:[(0,m.jsx)("legend",{children:"Turn length"}),(0,m.jsx)("div",{className:d().segmentedControl,children:[45,60,90].map(function(e){return(0,m.jsxs)("label",{children:[(0,m.jsx)("input",{checked:y===e,name:"fishbowl-timer",type:"radio",value:e,onChange:function(){return k(e)}}),(0,m.jsxs)("span",{children:[e,"s"]})]},e)})})]})]}),(0,m.jsx)("button",{className:d().startButton,type:"button",onClick:function(){var e=function(e){if(!e)return"curated";var a=e.some(function(e){return e.id.startsWith("custom-")||e.id.startsWith("fishbowl-custom-")}),n=e.some(function(e){return!e.id.startsWith("custom-")&&!e.id.startsWith("fishbowl-custom-")});return a&&n?"mixed":a?"custom":"curated"}(G),a=h.createFishbowlQuickSession({teamNames:c,prompts:G||void 0,promptSource:e,sourceSurface:G?"word_generator":"custom_landing",promptCount:b,timerSeconds:y});x(a),B(null),(0,i.M5)(i.tY.SETUP_COMPLETED,{mode:"quick",promptSource:e,promptCount:a.promptCount,timerSeconds:y}),G||(0,i.M5)(i.tY.BOWL_GENERATED,{mode:"quick",promptSource:e,promptCount:a.promptCount}),(0,s.Fq)(s.lC.STARTED,{gameSlug:"fishbowl",gameTitle:"Fishbowl",playMode:"pass_and_play",sourceSurface:a.sourceSurface})},children:"Start Quick Play"}),(0,m.jsx)("p",{className:d().setupNote,children:"For 4+ players. Pass the phone to each team's clue-giverâanswers stay on this screen."})]});var Z=F.teams[F.activeTeamIndex],q=F.teams[0===F.activeTeamIndex?1:0],V=F.roundIndex===h.FISHBOWL_ROUNDS.length-1,X=Math.max(F.teams[0].score,F.teams[1].score),$=F.teams.filter(function(e){return e.score===X});return(0,m.jsxs)("div",{className:d().shell,children:[(0,m.jsxs)("header",{className:d().gameHeader,children:[(0,m.jsx)("button",{className:d().closeButton,type:"button",onClick:function(){(!F||"game-results"===F.phase||window.confirm("Leave this Fishbowl game? Your progress is saved so you can resume later."))&&a()},children:"Exit game"}),(0,m.jsxs)("span",{className:d().roundPill,children:["Round ",F.roundIndex+1," of 3 \xb7 ",Y.name]}),(0,m.jsx)("button",{"aria-pressed":L,className:d().closeButton,type:"button",onClick:function(){return W(function(e){return!e})},children:L?"Sound on":"Sound off"})]}),(0,m.jsx)("div",{className:d().scoreboard,"aria-label":"Score",children:F.teams.map(function(e,a){return(0,m.jsxs)("div",{className:a===F.activeTeamIndex?d().activeScore:"",children:[(0,m.jsx)("span",{children:e.name}),(0,m.jsx)("strong",{children:e.score})]},a)})}),"round-intro"===F.phase?(0,m.jsxs)("section",{className:d().stateCard,children:[(0,m.jsxs)("span",{className:d().eyebrow,children:["Round ",F.roundIndex+1]}),(0,m.jsx)("h2",{ref:U,tabIndex:-1,children:Y.name}),(0,m.jsx)("p",{className:d().largeCopy,children:Y.instruction}),(0,m.jsxs)("div",{className:d().ruleNote,children:["The same ",F.prompts.length," prompts return each round. ",Z.name," starts this round."]}),(0,m.jsxs)("button",{className:d().primaryButton,type:"button",onClick:beginTurn,children:["Start ",Z.name,"'s turn"]})]}):null,"turn-ready"===F.phase?(0,m.jsxs)("section",{className:d().stateCard,children:[(0,m.jsx)("span",{className:d().eyebrow,children:"Pass the phone"}),(0,m.jsxs)("h2",{ref:U,tabIndex:-1,children:[Z.name,", choose a new clue-giver"]}),(0,m.jsxs)("p",{className:d().largeCopy,children:["Keep the screen hidden from ",q.name,". When your clue-giver is ready, start the timer."]}),(0,m.jsxs)("button",{className:d().primaryButton,type:"button",onClick:beginTurn,children:["Start ",F.timerSeconds,"-second turn"]})]}
1):null,"turn-active"===F.phase&&z?(0,m.jsxs)("section",{className:d().playArea,"aria-labelledby":"fishbowl-current-prompt",children:[(0,m.jsx)("div",{"aria-label":"".concat(M," seconds remaining"),className:M<=10?d().timerUrgent:d().timer,role:"timer",children:"".concat(Math.floor(M/60),":").concat(String(M%60).padStart(2,"0"))}),(0,m.jsxs)("p",{className:d().privateLabel,children:["Clue-giver only \xb7 ",Z.name]}),(0,m.jsx)("h2",{id:"fishbowl-current-prompt",ref:U,tabIndex:-1,children:z.text}),(0,m.jsx)("p",{className:d().promptRule,children:Y.instruction}),(0,m.jsxs)("div",{className:d().playActions,children:[(0,m.jsx)("button",{className:d().correctButton,type:"button",onClick:function(){if(F){L&&playFeedback(!0);var e=h.completeFishbowlPrompt(F);x(e),("round-results"===e.phase||"game-results"===e.phase)&&(0,i.M5)(i.tY.ROUND_COMPLETED,{mode:"quick",roundIndex:F.roundIndex+1,roundType:"one-word"===Y.id?"one_word":Y.id}),"game-results"===e.phase&&(0,s.Fq)(s.lC.COMPLETED,{gameSlug:"fishbowl",gameTitle:"Fishbowl",playMode:"pass_and_play",sourceSurface:e.sourceSurface,outcome:"completed"})}},children:"Correct +1"}),(0,m.jsx)("button",{className:d().skipButton,type:"button",onClick:function(){F&&(L&&playFeedback(!1),x(h.skipFishbowlPrompt(F)))},children:"Skip \xb7 return to bowl"})]}),(0,m.jsx)("button",{className:d().textButton,type:"button",onClick:function(){F&&x(h.finishFishbowlTurn(F))},children:"End turn early"}),(0,m.jsx)("p",{className:d().liveRegion,"aria-live":"polite",children:M<=10?"".concat(M," seconds left."):""})]}):null,"round-results"===F.phase?(0,m.jsxs)("section",{className:d().stateCard,children:[(0,m.jsx)("span",{className:d().eyebrow,children:"Bowl cleared"}),(0,m.jsxs)("h2",{ref:U,tabIndex:-1,children:[Y.name," complete"]}),(0,m.jsxs)("p",{className:d().largeCopy,children:[F.teams[0].name," ",F.teams[0].score," \xb7 ",F.teams[1].name," ",F.teams[1].score]}),(0,m.jsxs)("p",{children:["Every prompt goes back into the bowl for ",h.FISHBOWL_ROUNDS[F.roundIndex+1].name,"."]}),(0,m.jsxs)("button",{className:d().primaryButton,type:"button",onClick:function(){F&&x(h.advanceFishbowlRound(F))},children:["See round ",F.roundIndex+2," rules"]})]}):null,"game-results"===F.phase?(0,m.jsxs)("section",{className:d().stateCard,children:[(0,m.jsx)("span",{className:d().eyebrow,children:"Game complete"}),(0,m.jsx)("h2",{ref:U,tabIndex:-1,children:2===$.length?"Itâs a tie!":"".concat($[0].name," wins!")}),(0,m.jsx)("div",{className:d().finalScores,children:F.teams.map(function(e){return(0,m.jsxs)("div",{children:[(0,m.jsx)("span",{children:e.name}),(0,m.jsx)("strong",{children:e.score})]},e.name)})}),(0,m.jsxs)("div",{className:d().resultActions,children:[(0,m.jsx)("button",{className:d().primaryButton,type:"button",onClick:function(){return rematch(!0)},children:"Rematch with same bowl"}),(0,m.jsx)("button",{className:d().secondaryButton,type:"button",onClick:function(){return rematch(!1)},children:"Start with a new bowl"}),(0,m.jsx)("button",{className:d().textButton,type:"button",onClick:function(){(0,i.M5)(i.tY.POCKET_PARTY_CTA_CLICKED,{mode:"quick",ctaPlacement:"game_results"}),window.location.assign("/games")},children:"Explore more Pocket Party games"})]})]}):null,(0,m.jsx)("p",{className:d().progressNote,children:F.remainingPromptIds.length>0?"".concat(F.remainingPromptIds.length," prompt").concat(1===F.remainingPromptIds.length?"":"s"," left this round"):V?"All three rounds complete":"Round complete"})]})}a.default=FishbowlQuickGame},80851:function(e,a,n){var o=n(34280),t=n(82108),r=n(63782);function ownKeys(e,a){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);a&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?ownKeys(Object(n),!0).forEach(function(a){r(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}
1var i=n(5747),s=i.createFishbowlBowl,l=i.shuffleFishbowlValues,c="pocket-party:fishbowl:quick:v1",u="pocket-party:fishbowl:generator-bowl:v1",d=[{id:"describe",name:"Describe",instruction:"Describe the prompt without saying it, spelling it, rhyming it, or using part of the answer."},{id:"charades",name:"Charades",instruction:"Act out the prompt without speaking, making sounds, or silently mouthing words."},{id:"one-word",name:"One Word",instruction:"Give exactly one spoken clue. Do not gesture, act, or add another word."}];function normalizeFishbowlPromptText(e){return e.trim().replace(/\s+/g," ")}function deduplicateFishbowlPrompts(e){var a=new Set,n=new Set;return e.filter(function(e){var o=normalizeFishbowlPromptText(e.text).toLocaleLowerCase("en");return!(!o||a.has(e.id)||n.has(o))&&(a.add(e.id),n.add(o),!0)})}function createFishbowlQuickSession(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.teamNames,n=void 0===a?["Team A","Team B"]:a,o=e.promptCount,t=e.timerSeconds,r=e.promptSource,i=e.sourceSurface,c=e.now,u=void 0===c?Date.now():c,d=e.random,m=void 0===d?Math.random:d,h=deduplicateFishbowlPrompts(e.prompts||[]),p=h.length>=4?h.slice(0,40):s({count:void 0===o?30:o,random:m}),g=p.length<=20?20:p.length<=30?30:40,cleanTeamName=function(e,a){return normalizeFishbowlPromptText(e).slice(0,24)||a};return{version:1,mode:"quick",phase:"round-intro",teams:[{name:cleanTeamName(n[0],"Team A"),score:0},{name:cleanTeamName(n[1],"Team B"),score:0}],prompts:p,promptSource:void 0===r?"curated":r,sourceSurface:void 0===i?"custom_landing":i,promptCount:g,timerSeconds:void 0===t?60:t,roundIndex:0,remainingPromptIds:l(p.map(function(e){return e.id}),m),activeTeamIndex:0,turnExpiresAt:null,createdAt:u,updatedAt:u,completedAt:null}}function isFishbowlQuickSession(e){return!!e&&"object"===o(e)&&1===e.version&&"quick"===e.mode&&"string"==typeof e.phase&&Array.isArray(e.teams)&&2===e.teams.length&&Array.isArray(e.prompts)&&e.prompts.length>=4&&["curated","custom","mixed"].includes(String(e.promptSource))&&["custom_landing","word_generator"].includes(String(e.sourceSurface))&&Array.isArray(e.remainingPromptIds)&&[45,60,90].includes(Number(e.timerSeconds))&&Number.isInteger(e.roundIndex)&&Number(e.roundIndex)>=0&&3>Number(e.roundIndex)}function parseFishbowlQuickSession(e){if(!e)return null;try{var a=JSON.parse(e);return isFishbowlQuickSession(a)?a:null}catch(e){return null}}e.exports={FISHBOWL_SESSION_VERSION:1,FISHBOWL_QUICK_STORAGE_KEY:c,FISHBOWL_GENERATOR_HANDOFF_KEY:u,FISHBOWL_ROUNDS:d,normalizeFishbowlPromptText:normalizeFishbowlPromptText,createCustomFishbowlPrompt:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=normalizeFishbowlPromptText(e);if(n.length<2||n.length>40)throw Error("Fishbowl prompts must be between 2 and 40 characters.");return{id:"fishbowl-custom-".concat(function(e){for(var a=2166136261,n=0;n<e.length;n+=1)a^=e.charCodeAt(n),a=Math.imul(a,16777619);return(a>>>0).toString(36)}(n.toLocaleLowerCase("en")),"-").concat(a),text:n,category:"kids-family",difficulty:"medium",ageSuitability:"all-ages"}},deduplicateFishbowlPrompts:deduplicateFishbowlPrompts,createFishbowlQuickSession:createFishbowlQuickSession,beginFishbowlTurn:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return["round-intro","turn-ready"].includes(e.phase)?_objectSpread(_objectSpread({},e),{},{phase:"turn-active",turnExpiresAt:a+1e3*e.timerSeconds,updatedAt:a}):e},getCurrentFishbowlPrompt:function(e){var a=e.remainingPromptIds[0];return e.prompts.find(function(e){return e.id===a})||null},completeFishbowlPrompt:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();if("turn-active"!==e.phase||0===e.remainingPromptIds.length)return e;var n=e.remainingPromptIds.slice(1),o=e.teams.map(function(a,n){return n===e.activeTeamIndex?_objectSpread(_objectSpread({},a),{},{score:a.score+1}):a});if(0===n.length){var t=e.roundIndex===d.length-1;return _objectSpread(_objectSpread({},e),{},{teams:o,remainingPromptIds:n,phase:t?"game-results":"round-results",turnExpiresAt:null,updatedAt:a,completedAt:t?a:null})}return _objectSpread(_objectSpread({},e),{},{teams:o,remainingPromptIds:n,updatedAt:a})},skipFishbowlPrompt:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return"turn-active"!==e.phase||e.remainingPromptIds.length<2?_objectSpread(_objectSpread({},e),{},{updatedAt:a}):_objectSpread(_objectSpread({},e),{},{remainingPromptIds:[].concat(t(e.remainingPromptIds.slice(1)),[e.remainingPromptIds[0]]),updatedAt:a})},finishFishbowlTurn:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return"turn-active"!==e.phase?e:_objectSpread(_objectSpread({},e),{},{phase:"turn-ready",activeTeamIndex:0===e.activeTeamIndex?1:0,turnExpiresAt:null,updatedAt:a})},advanceFishbowlRound:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Math.random;if("round-results"!==e.phase||e.roundIndex>
1=d.length-1)return e;var o=e.roundIndex+1;return _objectSpread(_objectSpread({},e),{},{phase:"round-intro",roundIndex:o,remainingPromptIds:l(e.prompts.map(function(e){return e.id}),n),activeTeamIndex:o%2==0?0:1,turnExpiresAt:null,updatedAt:a})},getFishbowlSecondsRemaining:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return e?Math.max(0,Math.ceil((e-a)/1e3)):0},rematchFishbowlSession:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.sameBowl,o=void 0===n||n,t=a.now,r=void 0===t?Date.now():t,i=a.random,l=void 0===i?Math.random:i,c=o?e.prompts:s({count:e.promptCount,random:l});return createFishbowlQuickSession({teamNames:[e.teams[0].name,e.teams[1].name],prompts:c,promptSource:o?e.promptSource:"curated",sourceSurface:e.sourceSurface,promptCount:e.promptCount,timerSeconds:e.timerSeconds,now:r,random:l})},isFishbowlQuickSession:isFishbowlQuickSession,parseFishbowlQuickSession:parseFishbowlQuickSession,readFishbowlQuickSession:function(e){return parseFishbowlQuickSession(e.getItem(c))},writeFishbowlQuickSession:function(e,a){e.setItem(c,JSON.stringify(a))},removeFishbowlQuickSession:function(e){e.removeItem(c)},writeFishbowlGeneratorHandoff:function(e,a){var n=deduplicateFishbowlPrompts(a).slice(0,40);if(n.length<4)throw Error("A Fishbowl handoff needs at least four unique prompts.");e.setItem(u,JSON.stringify(n))},consumeFishbowlGeneratorHandoff:function(e){var a=e.getItem(u);if(!a)return null;try{var n=JSON.parse(a);if(!Array.isArray(n))return null;var o=deduplicateFishbowlPrompts(n);if(o.length<4)return null;return e.removeItem(u),o.slice(0,40)}catch(e){return null}}}},25278:function(e){e.exports={shell:"FishbowlQuickGame_shell__LoEGU",header:"FishbowlQuickGame_header__1vJbF",gameHeader:"FishbowlQuickGame_gameHeader__h4qPs",stateCard:"FishbowlQuickGame_stateCard__YY1q1",playArea:"FishbowlQuickGame_playArea__Oq7W_",eyebrow:"FishbowlQuickGame_eyebrow__Nf4St",roundPill:"FishbowlQuickGame_roundPill__RiW9H",privateLabel:"FishbowlQuickGame_privateLabel__fifD4",closeButton:"FishbowlQuickGame_closeButton__aLt45",textButton:"FishbowlQuickGame_textButton__uO8le",setupGrid:"FishbowlQuickGame_setupGrid__J9_eK",fieldset:"FishbowlQuickGame_fieldset__2NnSS",segmentedControl:"FishbowlQuickGame_segmentedControl___9g4A",primaryButton:"FishbowlQuickGame_primaryButton__bvoQB",secondaryButton:"FishbowlQuickGame_secondaryButton__JCPZ7",startButton:"FishbowlQuickGame_startButton__8w1VI",correctButton:"FishbowlQuickGame_correctButton__8crgb",skipButton:"FishbowlQuickGame_skipButton__BFrcO",setupNote:"FishbowlQuickGame_setupNote__lJ1TD",progressNote:"FishbowlQuickGame_progressNote__YR94t",loading:"FishbowlQuickGame_loading__OxomZ",resumeCard:"FishbowlQuickGame_resumeCard__9hp1b",importNotice:"FishbowlQuickGame_importNotice__LdJUi",inlineActions:"FishbowlQuickGame_inlineActions__mog49",scoreboard:"FishbowlQuickGame_scoreboard__bNq0R",finalScores:"FishbowlQuickGame_finalScores__hurOu",activeScore:"FishbowlQuickGame_activeScore___4bPb",largeCopy:"FishbowlQuickGame_largeCopy__geIzl",ruleNote:"FishbowlQuickGame_ruleNote__59Bj5",timer:"FishbowlQuickGame_timer__Iri8N",timerUrgent:"FishbowlQuickGame_timerUrgent__0kxIH",promptRule:"FishbowlQuickGame_promptRule__RZv69",playActions:"FishbowlQuickGame_playActions__2_UdI",resultActions:"FishbowlQuickGame_resultActions__MpO7E",liveRegion:"FishbowlQuickGame_liveRegion__CCPdn",srOnly:"FishbowlQuickGame_srOnly__WLOUm"}},5747:function(e,a,n){var o=n(82108),t={"people-characters":["Albert Einstein","Amelia Earhart","Ariana Grande","Astronaut","Baker","Batman","Beethoven","Beyonce","Black Panther","Captain Hook","Charlie Chaplin","Chef","Cleopatra","Cowboy","Dentist","Detective","Dolly Parton","Dora the Explorer","Elsa","Elvis Presley","Firefighter","Frida Kahlo","Gandalf","Harry Potter","Hermione Granger","Indiana Jones","Jackie Chan","Jane Goodall","King Arthur","Lady Gaga","Leonardo da Vinci","Librarian","Lionel Messi","Mad Scientist","Magician","Malala Yousafzai","Marie Curie","Mary Poppins","Mermaid","Michael Jordan","Moana","Mr Bean","Neil Armstrong","Ninja","Olympic Athlete","Oprah Winfrey","Paddington Bear","Pikachu","Pirate","Queen Elizabeth II","Robin Hood","Robot","Sailor","Santa Claus","School Principal","Sherlock Holmes","Simone Biles","Snow White","Spider-Man","Superman","Taylor Swift","The Tooth Fairy","Thor","Train Conductor","Veter
1inarian","Vincent van Gogh","Wednesday Addams","Willy Wonka","Wonder Woman","Yoda","Zendaya","Zeus","Zookeeper","The Little Prince","David Attenborough"],"movies-tv":["Aladdin","Avatar","Back to the Future","Bluey","Brave","Cars","Coco","Despicable Me","Doctor Who","Encanto","Finding Nemo","Frozen","Ghostbusters","Home Alone","How to Train Your Dragon","Inside Out","Jaws","Jurassic Park","Kung Fu Panda","Looney Tunes","Mary Poppins Returns","Matilda","Minions","Moana 2","Monsters Inc","Paddington","Peter Pan","Pok\xe9mon","Ratatouille","Scooby-Doo","Shrek","Sing","Sonic the Hedgehog","SpongeBob SquarePants","Star Wars","Super Mario Bros","The Addams Family","The Incredibles","The Jungle Book","The Karate Kid","The Lion King","The Little Mermaid","The Lord of the Rings","The Muppets","The Parent Trap","The Princess Bride","The Simpsons","The Sound of Music","The Wizard of Oz","Toy Story","Up","Wallace and Gromit","Winnie the Pooh","Wonder","Zootopia","A Series of Unfortunate Events","Anne of Green Gables","Apollo 13","Babe","Bedknobs and Broomsticks","Chicken Run","Cool Runnings","E.T.","Flubber","Free Willy","Holes","Honey I Shrunk the Kids","Jumanji","Kikiâs Delivery Service","Mr Peabody and Sherman","Night at the Museum","School of Rock","Space Jam","The Iron Giant","The Secret Garden"],places:["Amazon Rainforest","Amusement Park","Antarctica","Aquarium","Arcade","Bakery","Beach","Big Ben","Bowling Alley","Buckingham Palace","Bus Stop","Campsite","Castle","Central Park","Cinema","Classroom","Coffee Shop","Colosseum","Concert Hall","Coral Reef","Desert Island","Eiffel Tower","Farm","Fire Station","Football Stadium","Great Barrier Reef","Great Wall of China","Haunted House","Himalayas","Hospital","Ice Rink","International Space Station","Library","Lighthouse","London Underground","Machu Picchu","Museum","New York City","North Pole","Opera House","Pet Shop","Playground","Post Office","Rainforest Treehouse","Restaurant","Roller-Skating Rink","Roman Ruins","School Cafeteria","Science Laboratory","Shopping Mall","Skate Park","Ski Lodge","Space Camp","Sydney Opera House","The Moon","Tokyo","Train Station","Treehouse","Underwater Cave","Volcano","Water Park","Wellington","Wildlife Sanctuary","Wind Farm","Zoo","Ancient Pyramid","Art Gallery","Botanical Garden","Canal Boat","Chocolate Factory","Community Garden","Drive-In Cinema","Floating Market","Mountain Cabin","Observatory"],animals:["Alpaca","Anteater","Arctic Fox","Axolotl","Baboon","Bald Eagle","Bat","Beaver","Blue Whale","Butterfly","Camel","Capybara","Chameleon","Cheetah","Chicken","Chimpanzee","Clownfish","Cobra","Crocodile","Dolphin","Dragonfly","Elephant","Emperor Penguin","Flamingo","Flying Squirrel","Fox","Frog","Giant Panda","Giraffe","Goat","Golden Retriever","Gorilla","Great White Shark","Hamster","Hedgehog","Hermit Crab","Hippopotamus","Honeybee","Horse","Hummingbird","Iguana","Jellyfish","Kangaroo","Kiwi Bird","Koala","Komodo Dragon","Lemur","Lion","Llama","Lobster","Meerkat","Moose","N
1arwhal","Octopus","Orangutan","Otter","Owl","Peacock","Pelican","Platypus","Polar Bear","Porcupine","Puffin","Rabbit","Raccoon","Red Panda","Rhinoceros","Sea Turtle","Sloth","Snow Leopard","Starfish","Toucan","Walrus","Wombat","Zebra"],"food-drink":["Apple Pie","Avocado Toast","Banana Split","Barbecue","Birthday Cake","Blueberry Muffin","Bubble Tea","Burrito","Caramel Popcorn","Carrot Cake","Cheeseburger","Chocolate Brownie","Chocolate Milk","Cinnamon Roll","Coconut Water","Corn on the Cob","Croissant","Cupcake","Dumplings","Falafel","Fish and Chips","French Toast","Fruit Salad","Garlic Bread","Gingerbread House","Grilled Cheese","Guacamole","Hot Chocolate","Hot Dog","Ice Cream Cone","Jelly Beans","Ketchup","Kiwi Fruit","Lemonade","Macaroni and Cheese","Mango Smoothie","Marshmallow","Mashed Potatoes","Nachos","Noodle Soup","Oatmeal","Onion Rings","Pancakes","Peanut Butter","Pepperoni Pizza","Pickle","Pineapple","Popcorn","Pretzel","Pumpkin Soup","Rainbow Sprinkles","Ramen","Roast Chicken","Salsa","Sandwich","Sausage Roll","Scrambled Eggs","Spaghetti","Strawberry Milkshake","Sushi","Taco","Tea Party","Tomato Soup","Trail Mix","Vanilla Milkshake","Vegetable Curry","Waffles","Watermelon","Yoghurt Parfait","Zucchini Fritters","Baked Potato","Churros","Fortune Cookie","Pavlova","Veggie Burger"],"everyday-objects":["Alarm Clock","Backpack","Bicycle Helmet","Binoculars","Board Game","Book","Broom","Camera","Camping Tent","Candle","Chessboard","Coffee Mug","Compass","Computer Keyboard","Crayon","Doorbell","Drum Set","Electric Fan","Flashlight","Frisbee","Garden Hose","Guitar","Hairbrush","Headphones","Hula Hoop","Ice Skates","Jump Rope","Kite","Laptop","Lunchbox","Magnifying Glass","Mailbox","Microphone","Mirror","Newspaper","Paintbrush","Paper Aeroplane","Pencil Case","Picnic Basket","Pillow","Raincoat","Remote Control","Roller Skates","Rubber Duck","School Bus","Shopping Trolley","Skateboard","Sleeping Bag","Snow Globe","Soccer Ball","Suitcase","Sunglasses","Teapot","Telescope","Toothbrush","Toy Train","Traffic Light","Trampoline","Treasure Map","Umbrella","Vacuum Cleaner","Violin","Water Bottle","Wheelbarrow","Whistle","Wind Chime","Wooden Spoon","Wristwatch","Yo-Yo","Zipline Harness","Beach Towel","Bubble Wand","Desk Lamp","Garden Gnome","Recipe Book"],actions:["Baking a Cake","Balancing on One Foot","Blowing Bubbles","Brushing Your Teeth","Building a Sandcastle","Catching a Butterfly","Climbing a Ladder","Cooking Spaghetti","Dancing the Robot","Digging for Treasure","Doing a Cartwheel","Drawing a Portrait","Driving a Bus","Feeding the Ducks","Flying a Kite","Folding Laundry","Giving a High Five","Hailing a Taxi","Hiking Up a Mountain","Hula Hooping","Ice Skating","Juggling Oranges","Jumping in Puddles","Kayaking","Knitting a Scarf","Learning to Surf","Making a Snowman","Opening a Stuck Jar","Painting a Fence","Playing Air Guitar","Playing Hopscotch","Planting a Tree","Popping a Balloon","Reading a Map","Riding a Roller Coaster","Roasting Marshmallows","Rock Climbing","Rolling Out Dough","Rowing a Boat","Scoring a Goal","Searching for Glasses","Skipping a Stone","Sledding Downhill","Sneaking Past a Guard","Solving a Puzzle","Spinning a Basketball","Stargazing","Taking a Photograph","Teaching a Dog a Trick","Throwing a Boomerang","Tying Shoelaces","Walking a Tightrope","Washing a Car","Watering Flowers","Winning a Race","Wrapping a Present","Writing a Postcard","Yawning in a Meeting","Building a Blanket Fort","Catching a Falling Plate","Chasing a Runaway Hat","Crossing a Wobbly Bridge","Decorating a Cupcake","Escaping a Maze","Finding a Hidden Key","Fixing a Flat Tyre","Growing a Giant Pumpkin","Guiding a Lost Tourist","Launching a Rocket","Packing for a Holiday","Rescuing a Kitten","Riding a Unicycle","Training for a Marathon","Walking an Invisible Dog","Waving from a Parade Float"],"kids-family":["Baby Dragon","Balloon Animal","Blanket Fort","Bubble Machine","Candy Castle","Cartoon Rocket","Cloud Castle","Cookie Monster","Dinosaur Egg","Dragon Boat","Fairy Garden","Flying Carpet","Friendly Ghost","Giant Teddy Bear","Glittery Crown","Golden Ticket","Hidden Treasure","Hot-Air Balloon","Ice-Cream Truck","Imaginary Friend","Jungle Gym","Knight in Armour","Lego Tower","Magic Beans","Magic Wand","Mermaid Tail","Miniature Train","Moon Boots","Pillow Fight","Pirate Ship","Play-Dough","Puppet Show","Rainbow","Remote-Controlled Car","Robot Dog","Roller-Coaster Ride","School Talent Show","Secret Clubhouse","Silly Hat","Snow Day","Soapbox Car","Space Helmet","Superhero Cape","Tea Set","Toy Dinosaur","Toy Shop","Treasure Chest","Tree Swing","Unicorn","Water Balloon","Wizard School","Wobbly Jelly","Xylophone","Friendly Alien","Magic Carpet Ride","Cardboard Castle","Circus Tent","Dress-Up Box","Giant Soap Bubble","Glow-in-the-Dark Stars","Indoor Camping","Jigsaw Puzzle","Kitchen Dance Party","Lemonade Stand","Marble Run","Mini Golf","Paper Crown","Picnic Adventure","Sock Puppet","Space Station","Sticker Collection","Stuffed Penguin","Superhero Landing","Teddy Bear Picnic","Toy Robot"]},r=["people-characters","movies-tv","places","animals","food-drink","everyday-objects","actions","kids-family"],i=["easy","medium","hard"],s=["all-ages","ages-10-
1plus"],l=r.flatMap(function(e){return t[e].map(function(a,n){return{id:"fishbowl-".concat(e,"-").concat(String(n+1).padStart(3,"0")),text:a,category:e,difficulty:n<25?"easy":n<50?"medium":"hard",ageSuitability:n<50?"all-ages":"ages-10-plus"}})});function shuffleFishbowlValues(e){for(var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Math.random,n=o(e),t=n.length-1;t>0;t-=1){var r=Math.floor(a()*(t+1)),i=[n[r],n[t]];n[t]=i[0],n[r]=i[1]}return n}e.exports={FISHBOWL_CATEGORIES:r,FISHBOWL_DIFFICULTIES:i,FISHBOWL_AGE_SUITABILITY:s,FISHBOWL_PROMPT_LIBRARY:l,createFishbowlBowl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.count,n=void 0===a?30:a,o=e.categories,t=void 0===o?[].concat(r):o,c=e.difficulties,u=void 0===c?[].concat(i):c,d=e.ageSuitability,m=void 0===d?[].concat(s):d,h=e.random,p=void 0===h?Math.random:h,g=l.filter(function(e){return t.includes(e.category)&&u.includes(e.difficulty)&&m.includes(e.ageSuitability)});if(g.length<n)throw Error("Only ".concat(g.length," Fishbowl prompts match the selected filters."));return shuffleFishbowlValues(g,p).slice(0,n)},shuffleFishbowlValues:shuffleFishbowlValues}}}]);
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.