{"version":3,"sources":["components/content-holder/content-holder.styles.js","components/content-holder/content-holder.jsx","components/sub-head/sub-head.jsx","components/sub-head/sub-head.styles.js","components/common/mask-content/mask-content.jsx","components/common/mask-content/mask-content.styles.js","components/pages/lessons/create-lesson/create-lesson.jsx","common/api/lesson.js","stores/my-presentations/my-presentations.actions.js","stores/my-presentations/my-presentations.selectors.js","components/pages/lessons/create-lesson/create-lesson.container.js","components/pages/lessons/lessons.context.js","components/pages/lessons/lessons-head/lessons-head.jsx","components/paper/paper.styles.js","components/paper/paper.jsx","components/pages/lessons-list/lessons/tab-nav/tab-link/tab-link.styles.js","components/pages/lessons-list/lessons/tab-nav/tab-link/tab-link.jsx","components/pages/lessons-list/lessons/tab-nav/tab-nav.jsx","stores/shared-presentations/shared-presentations.selectors.js","components/pages/lessons-list/lessons/tab-nav/tab-nav.container.js","components/pages/lessons-list/lessons/shared/shared-table/shared-entry/context-menu/context-menu.jsx","common/api/profile.js","stores/shared-presentations/shared-presentations.actions.js","components/pages/lessons-list/lessons/shared/shared-table/shared-entry/context-menu/context-menu.container.js","components/pages/lessons-list/lessons/shared/shared-table/shared-entry/shared-entry.jsx","components/pages/lessons-list/lessons/shared/shared-table/shared-entry/shared-entry.styles.js","components/pages/lessons-list/lessons/shared/shared-table/shared-entry/shared-entry.container.js","components/pages/lessons-list/lessons/shared/shared-table/bulk-action/bulk-action.jsx","components/pages/lessons-list/lessons/shared/shared-table/bulk-action/bulk-action.container.js","components/pages/lessons-list/lessons/shared/shared-table/shared-table.jsx","components/pages/lessons-list/lessons/shared/shared-table/shared-table.styles.js","components/pages/lessons-list/lessons/shared/shared-table/shared-table.container.js","components/pages/lessons-list/lessons/shared/shared-skeleton/shared-skeleton-entry/shared-skeleton-entry.jsx","components/pages/lessons-list/lessons/shared/shared-skeleton/shared-skeleton-entry/shared-skeleton-entry.styles.js","components/pages/lessons-list/lessons/shared/shared-skeleton/shared-skeleton.jsx","components/pages/lessons-list/lessons/shared/shared-skeleton/shared-skeleton.styles.js","components/warning-message/warning-message.jsx","components/warning-message/warning-message.styles.js","components/pages/lessons-list/lessons/shared/shared.jsx","components/pages/lessons-list/lessons/shared/shared.container.js","components/pages/lessons-list/lessons/my-lessons/my-lessons.context.js","components/pages/prompt/share-icon.jsx","components/pages/lessons-list/lessons/my-lessons/context-menu/context-menu.jsx","components/pages/lessons-list/lessons/my-lessons/context-menu/context-menu.container.js","components/pages/lessons-list/lessons/my-lessons/bulk-action/bulk-action.jsx","components/pages/lessons-list/lessons/my-lessons/skeleton/skeleton.styles.js","components/pages/lessons-list/lessons/my-lessons/skeleton/skeleton.jsx","components/pages/lessons-list/lessons/my-lessons/controls/controls.jsx","components/pages/direct-present/present-mode.js","components/use-presentation-print/use-presentation-print.styles.js","components/use-presentation-print/use-presentation-print.jsx","components/print-modal/animated-checkmark.jsx","components/pages/prompt/upsell.jsx","components/print-modal/print-modal.jsx","components/share-lesson-modal/info-message/info-message.jsx","components/share-lesson-modal/info-message/info-message.styles.js","components/share-lesson-modal/share-lesson-modal.jsx","components/pages/lessons-list/redux/lessons.selectors.js","components/pages/lessons-list/redux/lessons.actions.js","components/share-lesson-modal/share-lesson-modal.container.js","components/share/qrcode.jsx","components/pages/lesson/send-to-pupils-modal/send-to-pupils-modal.jsx","common/api/pupil-activities.js","components/share/writing-pack.jsx","components/share/share.jsx","components/pages/lessons-list/lessons/my-lessons/my-lessons.jsx","components/pages/lessons-list/lessons/my-lessons/my-lessons.container.js","components/pages/lessons-list/lessons/lessons.jsx","components/pages/lessons-list/lessons/lessons.container.js","components/pages/lessons-list/lessons-list.jsx","components/prompts-layout.jsx","components/pages/lessons/lessons.jsx","components/app/header/free-trial-button.jsx","components/app/header/header.jsx","components/pages/shared-preview/head/head.jsx","components/pages/shared-preview/head/head.styles.js","stores/shared-presentation/shared-presentation.selectors.js","stores/shared-presentation/shared-presentation.actions.js","components/pages/shared-preview/head/head.container.js","components/presentation-preview/presentation-preview.styles.js","components/presentation-preview/context.js","components/presentation-preview/slide-constructor/slide-constructor.styles.js","components/icons/back-icon.jsx","components/icons/forward-icon.jsx","components/prev-next-controls/prev-next-controls.jsx","components/prev-next-controls/prev-next-controls.styles.js","components/presentation-preview/with-presentation.js","components/presentation-preview/slide-controls/slide-controls.container.jsx","components/presentation-preview/slide-constructor/mobile-sidebar/mobile-sidebar.styles.js","components/presentation-preview/slide-constructor/mobile-sidebar/sidebar-item/sidebar-item.jsx","components/presentation-preview/slide-constructor/mobile-sidebar/sidebar-item/sidebar-item.styles.js","components/presentation-preview/slide-constructor/mobile-sidebar/sidebar-item/sidebar-item.container.jsx","components/presentation-preview/slide-constructor/mobile-sidebar/mobile-sidebar.jsx","components/presentation-preview/slide-constructor/mobile-sidebar/mobile-sidebar.container.jsx","components/presentation-preview/slide-constructor/slide-constructor.jsx","components/tablet-portrait-placeholder/tablet-portrait-placeholder.styles.js","components/tablet-portrait-placeholder/rotate-icon.jsx","components/tablet-portrait-placeholder/tablet-portrait-placeholder.jsx","components/presentation-preview/presentation-skeleton/presentation-skeleton.jsx","components/presentation-preview/presentation-skeleton/presentation-skeleton.styles.js","components/presentation-preview/presentation-preview.jsx","components/pages/shared-preview/shared-preview.jsx","components/pages/shared-preview/shared-preview.styles.js","components/pages/shared-preview/shared-preview.container.js","components/pages/lesson/lesson.styles.js","components/pages/lesson/components/lp-menu/share-icon.jsx","components/pages/lesson/components/lp-menu/lp-menu.jsx","stores/presentation/presentation.selectors.js","components/pages/lesson/components/lp-menu/lp-menu.container.js","components/pages/lesson/components/sub-header/sub-header.jsx","components/pages/lesson/builder/redux/builder.actions.js","components/pages/lesson/builder/redux/builder.selectors.js","stores/presentation/presentation.actions.js","components/pages/lesson/builder/modals/create-slide/create-slide.jsx","components/pages/lesson/builder/slide-preview-list/new-slide-button/new-slide-button.jsx","components/pages/lesson/builder/slide-preview-list/slide-preview-list.jsx","components/pages/lesson/builder/slide-preview-list/slide-preview-list.container.js","components/pages/lesson/builder/slide-footer/slide-footer.styles.js","components/pages/lesson/builder/slide-footer/slide-footer.jsx","components/pages/lesson/builder/slide-footer/slide-footer.container.js","components/image-selector/unsplash/preview/preview-item/preview-item.jsx","components/image-selector/unsplash/preview/preview-item/preview-item.styles.js","components/pending-area/pending-area.jsx","components/pending-area/pending-area.styles.js","components/image-selector/unsplash/preview/preview.jsx","components/image-selector/unsplash/preview/preview.styles.js","components/image-selector/unsplash/unsplash.jsx","components/image-selector/unsplash/unsplash.styles.js","components/image-selector/unsplash/unsplash.container.jsx","components/image-selector/image-selector.jsx","components/image-selector/image-selectors.styles.js","components/image-selector/image-selector.container.js","components/presentation-wizard/image-slide/image-dialog/image-dialog.jsx","components/presentation-wizard/image-slide/image-dialog/image-dialog.styles.js","components/presentation-wizard/image-slide/image-dialog/image-dialog.container.js","components/pages/lesson/builder/edit-slide-panel/edit-slide-panel.jsx","components/pages/lesson/builder/slide-constructor/slide-constructor.jsx","components/pages/lesson/builder/slide-constructor/slide-constructor.container.js","components/small-screen-placeholder/small-screen-placeholder.styles.js","components/small-screen-placeholder/small-screen-placeholder.jsx","components/pages/lesson/builder/skeleton/skeleton.jsx","components/presentation-wizard/components/label/label.jsx","components/presentation-wizard/components/label/label.styles.js","components/common/form-elements/form-select/form-select.styles.js","components/common/form-elements/form-select/form-select.jsx","components/color-select/color-select.styles.js","components/color-select/color-select.jsx","components/presentation-wizard/components/accessibility-select/accessibility-select.jsx","components/presentation-wizard/components/accessibility-select/accessibility-select.styles.js","stores/year-groups/year-groups.selectors.js","common/api/year-groups.js","components/year-groups-selection/year-groups-selection.jsx","stores/year-groups/year-groups.action.js","components/pages/lesson/builder/modals/settings/settings.jsx","common/api/admin.js","components/presentation-controls/controls/controls.jsx","components/presentation-controls/presentation-controls.jsx","components/presentation-wizard/word-bank/create-dialog/create-dialog.styles.js","components/common/form-elements/form-row/form-row.styles.js","components/common/form-elements/form-row/form-row.jsx","components/presentation-wizard/word-bank/slide-form/slide-form.jsx","components/presentation-wizard/word-bank/slide-form/slide-form.styles.js","components/presentation-wizard/word-bank/create-dialog/create-dialog.jsx","components/presentation-wizard/word-bank/create-dialog/create-dialog.container.js","components/presentation-wizard/exercise-slide/create-dialog/create-dialog.styles.js","components/presentation-wizard/exercise-slide/create-dialog/create-dialog.jsx","components/presentation-wizard/exercise-slide/create-dialog/create-dialog.container.js","components/presentation-wizard/image-slide/create-dialog/create-dialog.jsx","components/editor/context.js","components/editor/editor.jsx","components/editor/editor.styles.js","components/editor/editor-provider.jsx","components/editor/controls.styles.js","components/editor/controls.jsx","components/editor/builds/sticky-editor.jsx","components/editor/builds/sticky-editor.styles.js","components/editor/index.js","components/presentation-wizard/link-slide/slide-form/slide-form.jsx","components/presentation-wizard/link-slide/create-dialog/create-dialog.jsx","components/presentation-wizard/success-criteria-slide/create-dialog/create-dialog.styles.js","components/presentation-wizard/success-criteria-slide/icons/sort-handle.jsx","components/presentation-wizard/success-criteria-slide/slide-form/form-row/form-row.jsx","components/presentation-wizard/success-criteria-slide/slide-form/form-row/form-row.styles.js","components/presentation-wizard/success-criteria-slide/slide-form/sortable-components/sortable-components.jsx","components/presentation-wizard/success-criteria-slide/suggested/suggested.jsx","components/presentation-wizard/success-criteria-slide/slide-form/slide-form.jsx","components/presentation-wizard/success-criteria-slide/slide-form/slide-form.styles.js","components/presentation-wizard/success-criteria-slide/create-dialog/create-dialog.jsx","components/presentation-wizard/success-criteria-slide/helpers.js","components/presentation-wizard/success-criteria-slide/create-dialog/create-dialog.container.js","components/presentation-wizard/text-slide/create-dialog/create-dialog.styles.js","components/presentation-wizard/text-slide/slide-form/slide-form.jsx","components/presentation-wizard/text-slide/create-dialog/create-dialog.jsx","components/presentation-wizard/text-slide/create-dialog/create-dialog.container.js","components/presentation-wizard/video-slide/create-dialog/create-dialog.styles.js","components/presentation-wizard/video-slide/slide-form/slide-form.jsx","components/presentation-wizard/video-slide/slide-form/slide-form.styles.js","components/presentation-wizard/video-slide/create-dialog/create-dialog.jsx","components/presentation-wizard/video-slide/create-dialog/create-dialog.container.js","components/presentation-wizard/exemplar-slide/select-work/select-work.jsx","components/presentation-wizard/create-slide-dialogs.jsx","components/presentation-wizard/title-slide/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/title-slide/edit-dialog/edit-dialog.jsx","components/presentation-wizard/title-slide/edit-dialog/edit-dialog.container.js","components/presentation-wizard/exemplar-slide/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/exemplar-slide/slide-form/slide-form.jsx","components/presentation-wizard/exemplar-slide/edit-dialog/edit-dialog.jsx","components/presentation-wizard/exemplar-slide/edit-dialog/edit-dialog.container.js","components/presentation-wizard/exercise-slide/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/exercise-slide/edit-dialog/edit-dialog.jsx","components/presentation-wizard/exercise-slide/edit-dialog/edit-dialog.container.js","components/presentation-wizard/image-slide/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/image-slide/slide-form/slide-form.jsx","components/presentation-wizard/image-slide/slide-form/slide-form.styles.js","components/presentation-wizard/image-slide/edit-dialog/edit-dialog.jsx","components/presentation-wizard/image-slide/edit-dialog/edit-dialog.container.js","components/presentation-wizard/lesson-overview/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/lesson-overview/edit-dialog/edit-dialog.jsx","components/presentation-wizard/lesson-overview/edit-dialog/edit-dialog.container.js","components/presentation-wizard/link-slide/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/link-slide/edit-dialog/edit-dialog.jsx","components/presentation-wizard/success-criteria-slide/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/success-criteria-slide/edit-dialog/edit-dialog.jsx","components/presentation-wizard/success-criteria-slide/edit-dialog/edit-dialog.container.js","components/presentation-wizard/text-slide/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/text-slide/edit-dialog/edit-dialog.jsx","components/presentation-wizard/text-slide/edit-dialog/edit-dialog.container.js","components/presentation-wizard/video-slide/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/video-slide/edit-dialog/edit-dialog.jsx","components/presentation-wizard/video-slide/edit-dialog/edit-dialog.container.js","components/presentation-wizard/word-bank/edit-dialog/edit-dialog.styles.js","components/presentation-wizard/word-bank/edit-dialog/edit-dialog.jsx","components/presentation-wizard/word-bank/edit-dialog/edit-dialog.container.js","components/presentation-wizard/edit-slide-dialogs.jsx","components/pages/lesson/builder/builder.jsx","components/pages/lesson/lesson.jsx","components/pages/lesson/lesson.container.js","components/pages/direct-present/direct-present.jsx","components/pages/direct-present/present-mode.provider.jsx","components/pages/print-preview/print-preview.jsx","components/pages/prompt/calendar/calendar.helpers.js","components/slides-deck/slides-deck.jsx","components/pages/prompt/bottom-cta.jsx","components/pages/prompt/rating.jsx","common/utils.js","components/pages/prompt/differentiation.jsx","components/pages/prompt/prompt.jsx","components/pages/prompt/calendar/calendar.jsx","components/pages/public-preview/public-preview.jsx","components/pages/teacher-preview/cta-modal.jsx","components/pages/teacher-preview/teacher-preview.jsx","components/pages/prompt/topics/topics.jsx","components/pages/prompt/weekly/weekly.js","components/pages/works/works.jsx","components/pages/prompt/search/search.jsx","components/pages/copy/copy.jsx","components/app/app.jsx","components/pages/lesson/builder/redux/builder.reducer.js","components/pages/lessons-list/redux/lessons.reducer.js","components/pages/lesson/redux/lesson.reducer.js","stores/pupils/pupils.reducer.js","stores/groups/groups.reducer.js","stores/presentation/presentation.reducer.js","stores/work/work.reducer.js","stores/shared-presentations/shared-presentations.reducer.js","stores/shared-presentation/shared-presentation.reducer.js","stores/public-presentation/public-presentation.reducer.js","stores/year-groups/year-groups.reducer.js","stores/my-presentations/my-presentations.reducer.js","stores/presentation-search/presentation-search.reducer.js","reducer.js","registerServiceWorker.js","index.js","components/pages/prompt/edtech-impact.png","common/images/octopus.png","common/images/duck.gif","components/share/gclassroom.png","components/tablet-portrait-placeholder/box.png","components/pages/lesson/builder/modals/create-slide/pattern.png","components/small-screen-placeholder/cat-squashed.gif","components/pages/prompt/builder.jpg","components/pages/prompt/wiggle-border.png","components/pages/public-preview/logo.svg","components/pages/teacher-preview/logo.svg","components/pages/prompt/duck-rocket.gif"],"names":["styles","_ref","BREAKPOINTS","container","maxWidth","padding","marginLeft","marginRight","XL","injectSheet","classes","children","className","React","createElement","classNames","height","backgroundColor","textAlign","display","alignItems","boxShadow","props","Object","assign","position","content","left","top","zIndex","width","pointerEvents","opacity","transition","apply","COLORS","row","marginTop","uploadWorkButton","margin","mobile","submitButton","justifyContent","alert","marginBottom","XS","desktop","_ref2","isOpen","onChange","onClose","onSubmit","pending","canUseLessons","createLessonCounter","createLessonSP","useFeatureCounter","sp","lesson_planning","create_presentation","Modal","closeButton","requestClose","ModalHeader","Formik","values","restricted","showDialog","trigger","title","then","initialValues","lessonOverview","_ref3","handleSubmit","handleBlur","handleChange","errors","touched","isValid","form","ModalContent","legacy","holder","MaskContent","Alert","type","FromLabel","small","spaceBetween","htmlFor","CharactersCount","value","max","FormInput","required","placeholder","name","id","onBlur","maxLength","autoFocus","FormTextArea","textAreaProps","ModalFooter","alignRight","childrenGap","Button","action","tall","simple","icon","SubsCrown","accent","apiUpdateSlide","data","params","apiClient","put","apiUploadImage","formData","FormData","keys","forEach","key","append","post","apiCreateSlide","presentationId","apiGetPresentation","get","apiUpdatePresentationProperties","apiCopyPresentation","apiSuccessCriteriaSearch","fetchMyPresentations","requestPrefix","request","apiGetPresentations","scope","search_string","order_by","include","limit","page","order","createPresentation","apiCreatePresentation","setPresentationToPublic","apiSetPresentationToPublic","setPresentationToPrivate","apiSetPresentationToPrivate","deletePresentation","delete","apiDeletePresentation","getState","state","MyPresentationsStore","getData","getMyPresentationsList","createSelector","result","map","entities","presentations","getPagination","pagination","getFilters","filters","isCreatingPresentation","creating","isPresentationUpdating","currentState","copying","settingToPublic","settingToPrivate","deleting","withRouter","withMe","connect","mapStateToProps","me","account","policy","can_use_lessons","mapDispatchToProps","dispatch","history","lesson_overview","catch","errorHandler","createLessonReq","push","presentation","CreateLesson","createContext","fontSize","newLesson","right","color","font","lineHeight","cursor","pobble365","textDecoration","fontWeight","extraWord","location","createLessonOpened","useContext","LessonsContext","useHistory","SubHead","Fragment","role","onClick","FontAwesomeIcon","faPlusCircle","paper","borderRadius","background","FONT_SIZES","listItem","borderBottom","hover","BLUE","NORMAL","active","borderBottomColor","link","TEXT","LIGHT_GREY","theme","linkClassName","NavLink","exact","activeClassName","BODY_LARGE","STYLE","hideMobile","shared","sharedCounter","animation","RED","FADED","from","to","activeTab","changeActiveTab","TabLink","SharedPresentationsStore","getRemovePresentationRequest","removePresentationRequests","getRemovePresentationRequests","requestError","getCounter","counter","getPresentations","getPresentationsResult","getPresentationsMap","getPresentationsList","presentationsMap","getPresentation","TabNav","onRemove","onCopy","onMarkAsSeen","onMarkAsUnseen","seen","DropMenu","button","ref","togglePopover","MoreButton","forwardedRef","Menu","MenuItem","IconHolder","Separator","closePopover","CopyIcon","CheckIcon","CircleIcon","openConfirmationDialog","bodyText","confirmText","cancelText","TrashIcon","apiGetMe","removePresentation","apiRemoveSharedPresentation","markAsSeen","apiMarkAsSeen","markAsUnseen","apiMarkAsUnseen","sharedPresentation","actualPresentationId","mergeProps","stateProps","ownProps","sharedPresentationId","copyPresentation","ContextMenu","previewLink","date","whiteSpace","checkboxChell","borderLeft","unseen","borderLeftColor","received","lo","TableRow","Cell","center","BulkCheckbox","Link","getAccountFullName","userAccount","teacher_type","pending_teacher_type","full_name","removePresentationRequest","format","created_at","SharedEntry","ActionButton","bulkSelectedList","length","BulkAction","allCell","receivedCell","titleCell","fromCell","loCell","BulkActionProvider","Table","HeadCell","SelectAllButton","SharedTable","context","titleWidth","Bone","checkbox","style","table","all","contextCell","bulkAction","SharedSkeletonEntry","warning","MID_GREY","onMount","noPresentations","useEffect","WarningMessage","SharedSkeleton","fetchPresentationsRequest","getFetchPresentationsRequest","Shared","SvgComponent","xmlns","viewBox","fill","d","print","onArchive","copy","onShare","setToPublic","setToPrivate","deleteItem","isPublic","fetchPresentations","delivered","openPublicLinkModal","token","refreshPage","setShareModalState","MyLessonsContext","_ref4","res","opened","ShareIcon","faLock","toast","success","faCopy","faTrashAlt","getPresentationFromTheList","public","lesson","deleteLessons","useBulkAction","useDispatch","Promise","dangerSecondary","skeletonStyle","Entry","actions","status","works","pupils","worksBone","dateBone","pupilsBone","thumbnail","canSeePupils","paddingBottom","Skeleton","memo","useMe","Array","_","index","Math","floor","random","paddingRight","flexDirection","searchHolder","filtersHolder","flex","sortHolder","minWidth","sortDirection","borderColor","search","borderRight","filterSelect","searchSpinner","searchButton","flexShrink","searchValue","setSearchValue","useState","filter","setFilter","useSelector","orderDirection","orderBy","e","preventDefault","initiator","onClear","clearable","target","faSearch","FormSelect","secondary","faLongArrowAltDown","faLongArrowAltUp","PresentModeContext","usePresentMode","test","slideHolder","border","overflow","slideContainer","boxSizing","usePresentationPrint","onAfterPrint","arguments","undefined","printInProgress","setPrintInProgress","componentRef","useRef","handlePrint","useReactToPrint","posthog","capture","copyStyles","pageStyle","current","setTimeout","PrintComponent","createPortal","Presentation","slideHolderClassName","slideContainerClassName","multiSlides","printMode","containerRef","slides","document","body","checkmarkCircle","strokeDasharray","strokeDashoffset","strokeWidth","strokeMiterlimit","stroke","GREEN","checkmark","ready","checkmarkCheck","transformOrigin","transform","cx","cy","r","currencyMap","AUD","NZD","USD","GBP","UpgradeButton","freeTrial","openCheckout","useChargebeeScript","useLocation","minw","darkBlue","replace","pathname","url","annual","add_trial","options","step","close","SchoolLeaders","pitch","list","listStyle","gap","price","priceNote","edtech","borderTop","aria-label","src","duck","alt","currency","schoolPrice","_blank","href","ENV","rel","edtechImpact","FreeTrial","HadTrialBefore","Upsell","signIn","tier","upsell","priceNumber","spinner","_ref5","hideCta","offerFreeTrial","useSubscriptionDetails","isLoggedIn","subsData","setSubsData","useMemo","parseInt","pobble_silver_annual","pobble_school_a_annual","subscription_marketing_data","isSchoolRepresentative","role_in_life","UpsellModal","_ref6","freeTrialWarning","setPresentation","upsellModalOpen","setUpsellModalOpen","freePrints","Cookies","set","printPresentationCounter","printPresentationSp","print_presentation","Checkmark","faPrint","disabled","lesson_category","category","lesson_id","lesson_title","message","InfoIcon","ShareLesson","disableEmailClassification","selectedEmails","setSelectedEmails","setMessage","Recaptcha","recaptchaProps","getReCaptchaToken","recaptchaPending","useRecaptcha","modalContent","FormRow","FormLabel","ColorsInfo","EmailInput","cacheKey","selected","InfoMessage","recaptchaToken","emails","ShareLessonModal","shareLesson","payload","presentation_id","recaptcha_token","LessonsList","shareLessonRequest","getShareLessonRequest","email","QRCodeComponent","QRCode","size","QRCodeModal","SendToPupilsContext","FormCell","Thanks","topBox","textBox","SendToPupilsForm","groupsBone","groupsCell","nameCell","selectPupils","HEADING_TINY","newGroupCell","alignSelf","dateTimePicker","peerReviewSection","peerReviewHint","BODY_SMALL","peerReviewLabel","match","onPupilsSelect","setStatus","presentationTitle","presentationLo","selectedPupils","sendToPupilsCounter","sendToPupilsSP","send_presentation_to_pupils","isInitialValid","apiCreatePASession","description","account_ids","accessible_at","peer_review","peerReview","Date","validationSchema","Yup","shape","_ref7","submitForm","setFieldValue","noValidate","validationError","DateTimePicker","minDate","clearIcon","calendarIcon","disableClock","ToggleSwitch","checked","faPaperPlane","SendToPupilsModal","_ref8","pupilSelectorOpened","setPupilsSelectorOpened","setSelectedPupils","selectedMap","onAfterClose","Provider","PupilSelectorModal","preSelected","onSelect","ids","WritingPackModal","modalOpen","faExternalLink","window","open","EditLesson","outline","outlineOffset","setPending","hasAccessToTL","ButtonElement","fromPrompt","faPencil","LessonLink","label","buttonWrapper","successIcon","setSuccess","readOnly","Tooltip","placement","navigator","clipboard","writeText","error","faCheck","ShareButton","Share","buttons","flexWrap","pageLinkSection","editLessonSection","paddingTop","gclassroomIcon","onAction","onPrint","onEmail","onQrCode","onSendToStudents","userIsOwner","present","setToken","handleWritingPackClick","writingPackState","closeWritingPackModal","setWritingPackState","hasAccess","today","toDateString","storedData","JSON","parse","localStorage","getItem","packs","includes","setItem","stringify","useWritingPack","posthogActionData","origin","obj","encodeURIComponent","join","gclassroom","faExpand","p365","faFileAlt","faQrcode","can_see_actions","faEnvelope","faUsersClass","ShareModal","printModalOpen","setPrintModalOpen","sendToStudentsOpen","setSendToStudentsOpen","shareModalOpen","setShareModalOpen","qrModal","setQrModal","onSendToPupils","PrintModal","text","NoResults","setCreateLessonOpened","octopus","Lesson","publicCell","workIcon","PURPLE","verticalAlign","workIconDelivered","workIconNoAccess","statusLabel","info","HEADING_NANO","paddingLeft","crown","quickAction","first","dataMap","lessonLink","lastEdited","updated_at","premiumRestricted","premium_restricted","faCrown","PresentationThumbnail","faGlobe","paginationHolder","myPresentations","isUpdating","fetched","fetching","tableRef","filtersApplied","pages","last","$set","savedLessonsPages","shareModalState","providerValue","Controls","Pagination","scrollRef","onPageChange","fetchingReq","fetchingPresentations","MyLessons","minHeight","tabContainer","Paper","Route","path","component","SharedContainer","Lessons","contentHolder","scrollTo","LessonsHead","ContentHolder","SidebarItem","item","mobileTitle","subItem","bottom","Sidebar","sidebar","items","free","divider","useRouteMatch","openedPresentation","setOpenedPresentation","studentWithoutSub","slice","faCalendarDay","faCalendarAlt","faStopwatch","startsWith","faHashtag","faStar","PromptsLayout","PendingTeacherBar","Switch","FreeTrialButton","buttonAccent","textShadow","LessonHeader","_me$account","isInPobbleSchool","preMenuSlot","student_type","isPreview","isCalendar","endsWith","Header","activePage","HEADING_DEFAULT","titleBone","backToLessons","copyButton","LeftIcon","SharedPresentationStore","getSharedPresentation","fetchSharedPresentation","apiGetSharedPresentation","copyRequest","getCopyRequest","portraitPlaceholder","notFound","PresentationContext","PresentationStateContext","fillRule","HEADING_MEDIUM","userSelect","onPrevSlide","onNextSlide","BackIcon","ForwardIcon","withPresentation","Component","Consumer","presentationState","PrevNextControls","slidePosition","prevSlide","nextSlide","iconHolder","showLabel","sidebarOpened","MobileSidebar","constructor","pendingCopy","processCopy","this","setState","render","infoOpened","noNotes","onBurgerClick","onInfoClick","onCloseClick","BarsIcon","CloseIcon","slide","activeSlideIndex","toggleSidebar","toggleInfo","public_note","note","controls","footer","activeSlide","activeSlideId","slideProps","containerClassName","SlideControls","fullVHExceptHeader","box","backgroundSize","backgroundImage","desc","RotateIcon","points","withWindowSize","windowSize","isPortrait","orientation","setSidebarOpened","setInfoOpened","usePresentationNavigation","loop","keyBy","TabletPortraitPlaceholder","PresentationSkeleton","SlideConstructor","NoItemsPlaceholder","previewHolder","Head","PresentationPreview","fetchRequest","getFetchRequest","shared_presentation","SharedPreview","shareCaret","share","showShareModal","setShowShareModal","PresentationStore","getFetchingRequest","getCreateSlideRequest","createSlideRequest","getUpdatePropertiesRequest","updatePropertiesRequest","getDuplicateSlideRequest","duplicateSlideRequest","getUpdateSlideRequest","updateSlideRequests","getUpdateSlideRequests","getDeleteSlideRequest","deleteSlideRequests","getDeleteSlideRequests","getUploadImageRequest","uploadImageRequests","getUploadImageRequests","getSlides","getSlidesMap","getSlidesResult","getSlidesList","slidesMap","getOrderedSlides","sortBy","getSlide","hidden","LPMenu","SubHeader","subHeader","back","setActiveSlideId","openCreateSlideDialog","slideType","slideParams","Builder","Main","getActiveSlideId","isDragging","isSettingsModalOpened","settingsModalOpened","getCreateSlideDialog","createSlideDialog","getEditSlideDialog","editSlideDialog","createSlide","customRequest","restoreSlide","updateSlide","asset","indexOf","uploadImage","use_presentation_image","removeImage","apiRemoveImage","updateSlideImmediately","testMode","immediateSlideUpdate","immediateUpdate","duplicateSlide","apiDuplicateSlide","deleteSlide","apiDeleteSlide","reorderSlidesRequest","slidesOrder","apiReorderSlides","slide_ids","faClipboardCheck","faTh","faImage","faPenFancy","faPlay","faText","faSquare","line_type","line_height","faLink","CreateSlide","gridTemplateColumns","CreateSlideModal","pattern","header","NewSlideButton","editSp","useSubscriptionPolicy","edit_presentation","modalOpened","setModalOpened","wide","Sortableholder","SortableContainer","SortableComponent","SortableElement","SlidePreview","iconHidden","BODY_DEFAULT","setActiveSlide","onMouseDown","faEyeSlash","draggedPreview","disabledPreview","newSlideButtonContainer","newSlideButtonHolder","slidePreviewList","onSortEnd","onSortStart","upToDatePresentation","i","selectedSlide","offsetTop","scrollTop","offsetHeight","listener","element","getAttribute","tagName","addEventListener","removeEventListener","pressDelay","isTouchScreen","distance","slideWidth","slideData","preview","oldIndex","newIndex","arrayMove","reorderSlides","SlidePreviewList","restrictOverlay","cell","labelsContainer","DARK_GREY","textareasContainer","notes","resize","publicNote","privateNote","PUBLIC_LABEL","PRIVATE_LABEL","debounceChange","debounce","private_note","updateNotes","SlideFooter","backgroundPosition","author","authorLink","textOverflow","image","userProfileUrl","stopPropagation","fadeIn","spinnerParams","Spinner","pendingArea","previews","onUnsplashSelect","PendingArea","PreviewItem","user","first_name","last_name","links","html","urls","thumb","searchInput","unsplashMessage","onSearchChange","defaultSearchValue","setValue","Preview","UnsplashContainer","componentDidMount","search_term","per_page","Unsplash","uploadImageWrapper","uploadIcon","optionsHolder","option","mainImage","onFileSelect","onMainImageSelect","FormFile","accept","ImageSelector","updating","offerUseCoverImage","uploadImageRequest","unsplashId","unsplash_id","files","removeImageImmediately","ImageDialog","nextItemInArray","array","layouts","lines","EditSlidePanel","quickActions","titleButton","imageDialogOpened","setImagedialogOpened","linesVariation","split","faLineColumns","openEditSlideDialog","slideId","slide_type","backgroundColorsList","secondaryColor","faPalette","layout","imagePosition","image_size","faColumns","faEye","faTrash","layoutContent","restrictedOverlay","slideWrapper","maxHeight","aspectRatio","quickActionsPanel","onSlideUpdate","builder","currentSlide","font_size","directSlideUpdate","MD","cat","slidePreview","valueStyles","select","extend","overflowY","oddOption","buttonIcon","arrowRenderer","AngleDownIcon","renderLabel","prefix","suffix","valueRenderer","valueClassName","optionRenderer","selectProps","Select","searchable","colorSelect","ColorSelect","colorOptions","accessibilityColorsList","accessibilityColors","applyToAll","onApplyToAll","Label","getYearGroups","YearGroups","yearGroups","apiGetYearGroups","group","ageContainer","ageDash","bone","clear","hideClear","boneClassName","selectClassName","contrast","optionClassName","yearGroupsFilter","yearGroupsPull","yearGroupsMap","yearGroup","range","selectedIds","faTimes","Settings","gridCell","gridGap","ageRow","showAge","yearGroupsSet","year_groups","accessibilityColor","accessibility_color","show_age","allYearGroups","all_year_groups","fontType","font_type","yearGroupsSetIds","showAgeSelector","setShowAgeSelector","updatePresentationProperties","wrapper","YearGroupSelection","FormCheckbox","AccessibilitySelect","SettingsModal","toastText","recommendedControlsRow","setAsRecommended","unsetRecommended","optionGroup","lastRow","checkboxes","p365form","audio","onRecommendedChange","recommended","flag","approved","publicPresentation","premium","recommended_until","categories","CATEGORIES","recommendedUntil","setRecommendedUntil","selectedCategory","setSelectedCategory","currentlyFlagged","setCurrentlyFlagged","currentlyPremium","setCurrentlyPremium","currentlyApproved","setCurrentlyApproved","currentlyPublic","setCurrentlyPublic","submitRecommended","useCallback","until","apiSetPresentationAsRecommended","changeCategory","apiSetPresentationCategory","flagPresentation","apiFlagPresentation","reason","apiUnflagPresentation","currentTarget","day","month","defaultValue","p365_month","min","p365_day","easier","harder","easierReq","harderReq","easier_version_id","harder_version_id","bleed","gapLeft","defaultChecked","sponsored","setSponsored","meRequest","setModalOpen","can_set_presentation_recommended_until","faTools","formHolder","THEME","colors","DARK_BLUE","titlePlaceholders","colorsOptions","groups","groupsRadioHolder","groupsRadioRow","groupRadio","bank","words","bankHistory","setBankHistory","setBank","setTitle","setAmountOfGroups","n","FormRadio","bankCopy","onLinkChange","disableSubmit","SlideForm","WordBankSlideCreateDialog","createRequest","trim","TextSlideCreaeteDialog","createImageSlide","createSlideRes","EditorContext","editorState","Editor","stripPastedStyles","handleKeyCommand","command","newState","RichUtils","EditorProvider","ControlPanel","sticky","ControlButton","controlButtonStyles","b","Bold","hasBold","getCurrentInlineStyle","has","toggleInlineStyle","faBold","Italic","hasItalic","faItalic","Underline","faUnderline","UnorderedList","blockType","anchorKey","getSelection","getAnchorKey","getCurrentContent","getBlockForKey","getType","toggleBlockType","faListUl","OrderedList","faListOl","Panel","separator","editor","panel","createStateFromHtml","contentState","convertFromHTML","sanitizeHtml","EditorState","createWithContent","stateToHTML","convertToHTML","onCancel","defaultValues","formRef","setEditorState","htmlText","createEmpty","apiCrawlLink","elements","getPlainText","linkId","StickyEditor","link_id","html_text","dragging","handle","criteria","prompts","deleteButton","criterion","formikProps","onDelete","SortHandle","TextareaAutosize","SortableHolder","SortableFormRow","SortableHandle","SortHandleIcon","GENRES","LEVELS","SuggestedForm","head","selectButton","criteriaContainer","criteriaHolder","prompt","ageGroupHolder","checkboxCell","loadMoreIndication","loadingMore","selectedYearGroup","onAdd","defaultFilters","genre","level","year_group_id","setYearGroups","searchResult","setSearchResult","setFilters","setSelected","loadMoreState","setLoadMoreState","everythingFetched","selectedArray","yg","node","handler","scrollHeight","btn","tertiary","AgeGroup","SuggestedModal","defaultCriteria","setDragging","openSuggested","setOpenSuggested","FieldArray","validateOnChange","arrayHelpers","criteriaWrapper","faLightbulbOn","clearAllButton","criteriaList","move","useDragHandle","helperClass","sortHelper","remove","addLineButton","removeEmptyLines","FormSupplier","slideForm","SuccessCriteriaSlideCreateDialog","filterCriteria","createSlideModal","setFieldTouched","plainText","html_body","video_url","ImageSlideCreateDialog","WorkPreview","work","html_description","media","work_id","addWorkSlide","WorkPreviewModal","Img","img","loaded","setLoaded","onLoad","WorksGrid","objectFit","objectPosition","subFooter","loading","age","setWorks","exemplar","thumb_url","imgHolder","school","country","year_group","Works","headerHolder","toggle","selectedAge","closeIcon","setUpsell","setControls","SelectWorkModal","workPreview","setWorkPreview","CreateSlideDialogs","Text","Image","Video","LinkSlide","WordBank","Exercise","SuccessCriteria","edistSlideDialog","updateSlideRequest","TitleSlideEditDialog","descriptionHTML","deleteSlideRequest","TextSlideEditDialog","getOptionsAsString","ImageSlideEditDialog","LessonOverviewSlideEditDialog","site_url","disable","SuccessCriteriaSlideEditDialog","video","full_url","VideoSlideEditDialog","WordBankSlideEditDialog","EditSlideDialogs","SC","Title","Exemplar","LO","MissingPresentation","paragraph","_location$state","presentationRequest","missingPresentation","response","turnToPresentationPending","setTurnToPresentationPending","showLastSlide","LP_SHOW_LAST_SLIDE","pull","BUILDER_ACTIVE_SLIDE_ID","presentationFetched","configHolder","PresentationControls","settings","faCog","layoutContainer","layoutSidebar","turnToPresentationWrapper","skip_copy_in_title","assetToPresentation","assetToPresentationIcon","faMagic","assetHint","SmallScreenPlaceholder","mobilePlaceholder","tabletPortraitPlaceholder","slideFooter","mediaTabletPortrait","borderStyle","onBuilder","downscale","hideControls","hideControlsButton","isPending","isFs","setFs","setHideControls","exit","screenfull","enabled","isFullscreen","isFirstSlide","isLastSlide","keyCode","on","off","toggleFS","faAngleLeft","fsButton","faCompress","prevButton","faArrowAltLeft","faArrowAltRight","PresentModeProvider","setOptions","isPresenting","DirectPresent","PrintPreview","dayjs","dayOfYear","dayOfWeek","getDay","dayOfTheYear","weekStarts","weekEnds","YEAR","year","months","getNumberOfDaysInMonth","daysInMonth","getWeekday","dateString","useCalendarData","monthIndex","currentMonthDays","dayJS","dayOfMonth","isCurrentMonth","isNextMonth","isPreviousMonth","currentWeek","createDaysForCurrentMonth","previousMonthDays","createDaysForPreviousMonth","firstDayOfTheMonthWeekday","previousMonth","subtract","visibleNumberOfDaysFromPreviousMonth","previousMonthLastMondayDayOfMonth","nextMonthDays","createDaysForNextMonth","lastDayOfTheMonthWeekday","nextMonth","add","days","SlidesDeck","saved","BottomCTA","StarRating","rate","float","RateLessonCTA","feedback","submit","hint","lastEntries","initial","imageRating","setImageRating","activitiesRating","setActivitiesRating","setFeedback","myRating","setMyRating","communityRating","setCommunityRating","submitting","setSubmitting","isPobbler","pobbler_type","latestEntries","setLatestEntries","rating","number_of_ratings","last_ratings","round","activities","entry","white","freePromptsCache","useFreePrompts","freePromptsId","setFreePromptsId","count","_p365$data$presentati","_weekly$data$presenta","weekly","topics","promptIds","Set","p","DifficultySelector","idPrefix","DEFAULT_INCLUDE","EditUpsell","ctaLink","ctaClassName","SvgScrollArrow","SVGLeftArrow","SVGRightArrow","HeroHeader","heroHeader","scrolledPastHero","setScrolledPastHero","pageYOffset","innerHeight","Nav","strokeOpacity","buttonNext","adjacentPresentations","setAdjacentPresentations","prev","next","direction","buttonPrev","Actions","caret","dropMenu","main","crownBlack","onSaved","savedStatus","setSavedStatus","saveLesson","Prompt","heroSection","heroImage","heroFooter","scroll","play","snippet","activitiesHeader","editButton","accentButton","simpleButton","resources","explore","tagLine","actionButtons","myPrompt","yellow","calendarButton","headerDifficulty","actionsHolder","restrictedFooter","restrictedPadding","restrictedHolder","restrictedDate","restrictedActivitiesMessage","mainDiffSelector","fixedHeader","panelCTATest","middleCTA","todayPresentationId","setTodayPresentationId","slidesContainerRef","useParams","editUpsellOpen","setEditUpsellOpen","freePromptIds","difficultySelector","selectedPresentation","isDifferentiated","includeString","setPresentations","selectedLevel","setSelectedLevel","selectedDifficulty","useDifficultyLevels","allDataLoaded","restrictedPrompt","individual_subscription","replaceState","handleScroll","scrollY","documentElement","onContextMenu","behavior","slideDeck","slidesHolder","wiggleBorder","sliceFrom","CalendarUpsell","cta","onToday","duckRocket","PobbleLink","as","pobble365cache","Calendar","daysGrid","dayGridItem","monthDay","dayContent","textTransform","subscribed","activeDay","monthTitle","yearAndMonth","calendarData","activeMonthContainer","todayId","setTodayId","activeMonth","getMonth","hadTrialBefore","individualPlan","showFreeTrial","useLayoutEffect","y","getBoundingClientRect","calendar","memoizedCalendarJSX","isActiveMonth","presentationDay","lessonId","CTA","getToken","AUTH_REDIRECT","URLS","APP","PublicPreview","skeleton","slidesContainer","logo","fullScreenButton","presentationReady","setReady","timer","setAsReady","onload","clearTimeout","faExpandAlt","overlay","popupDialog","login","setOpacity","checkScrollPosition","maxScroll","currentScroll","setSignupRedirect","Buttonelement","TeacherPreview","CtaModal","keywords","Topics","yearGroupSelection","overflowX","yearBone","activeYearGroup","highlight","presentationHolder","presentationsMappedToKeywords","keyword","find","toLowerCase","presentationsList","firstPresentation","year_group_ids","memoizedTopicsJSX","image_medium_url","year_group_range","TopicsUpsell","Weekly","presentationsUpcoming","featuredTitle","upcomingTitle","previousTitle","featured","setFeatured","res1","res2","memoizedWeeklyJSX","WorkActions","later","apiSavePresentation","savedPresentation","setSavedPresentation","faBookmark","faBookmarkSolid","ButttonElement","WorksPage","workModal","setWorkModal","SearchBox","input","PromptsGrid","grid","searchTerm","emptyState","isPremium","Search","empty","faBan","Copy","copyId","PostHogIdentity","_account$email_identi","identify","email_identity","createdAt","meError","UserProvider","fetchMe","resolve","reject","SubscriptionProvider","EnvironmentLine","Router","basename","process","ErrorBoundary","UserInspector","authRedirect","haveRights","can_use_presentations","appHolder","PageNotFound","ConfirmationDialog","ToastContainer","closeSettingsModal","createReducer","editDialog","BUILDER:SET_ACTIVE_SLIDE","PRESENT:SET_ACTIVE_SLIDE","PRESENTATION:CREATE_SLIDE_REQUEST_SUCCESS","PRESENTATION:DELETE_SLIDE_REQUEST_SUCCESS","findIndex","BUILDER:SET_PREVIEW_DRAGGING","PRESENTATION:ADD_ASSET","PRESENTATION:FETCH_REQUEST_SUCCESS","BUILDER:OPEN_CREATE_SLIDE_DIALOG","BUILDER:OPEN_EDIT_SLIDE_DIALOG","_ref9","Combined","combineReducers","LessonListReducer","createRequestReducer","deleteLessonDialogId","createModalOpen","shareModal","LESSON_LIST:SHOW_DELETE_LESSON_DIALOG","LESSON_LIST:OPEN_SHARE_MODAL","LessonReducer","PupilsReducer","PUPILS:FETCHING_REQUEST_SUCCESS","pupil","schema","Entity","idAttribute","normalize","normalizePupils","student_types","normalizeGroups","GroupsReducer","GROUPS_STORE:FETCHING_REQUEST_SUCCESS","group_categories","normalizeSlides","PresentationReducer","createMappedRequestReducer","PRESENTATION:FETCH_REQUEST","PRESENTATION:RESET","PRESENTATION:UPDATE_PROPERTIES_REQUEST_SUCCESS","PRESENTATION:UPLOAD_IMAGE_TO_SLIDE_REQUEST_SUCCESS","PRESENTATION:REMOVE_IMAGE_FROM_SLIDE","ordered_slide_ids","PRESENTATION:UPDATE_SLIDE_DIRECT","_ref10","_ref11","PRESENTATION:IMMEDIATE_UPDATE","_ref12","backup","PRESENTATION:RESTORE_SLIDE","_ref13","PRESENTATION:REORDER_SLIDES","_ref14","_ref15","PRESENTATION:UPDATE_NOTES_REQUEST_SUCCESS","_ref16","PRESENTATION:DUPLICATE_SLIDE_REQUEST_SUCCESS","_ref17","WorkStoreReducer","createWorkRequest","createCommentRequest","workFetchRequest","updatingWork","rotatingMediaRequests","uploadMediaRequests","tempId","requests","removeMediaRequests","WORK:FETCH_REQUEST_SUCCESS","WORK:UPLOAD_MEDIA_REQUEST_SUCCESS","medium","WORK:LEAVE_COMMENT_REQUEST_SUCCESS","comments","comment","WORK:UPDATE_WORK_REQUEST_SUCCESS","normalizeMedia","WORK:REMOVE_MEDIA_REQUEST_SUCCESS","mediaMap","WORK:REORDER_MEDIA","mediaOrder","mediaBackup","WORK:ROTATE_IMAGE_REQUEST_SUCCESS","image_url","SharedPresentationsReducer","SHARED_PRESENTATIONS:FETCH_COUNTER_REQUEST_SUCCESS","shared_presentations_counter","SHARED_PRESENTATIONS:REMOVE_REQUEST_SUCCESS","SHARED_PRESENTATIONS:FETCH_REQUEST_SUCCESS","normalizePresentations","shared_presentations","SHARED_PRESENTATIONS:MARK_AS_SEEN_REQUEST_SUCCESS","SHARED_PRESENTATIONS:MARK_AS_UNSEEN_REQUEST_SUCCESS","SharedPresentationReducer","SHARED_PRESENTATION:FETCH_REQUEST_SUCCESS","PublicPresentationReducer","fetchPresentationRequest","copyingPresentationRequest","PUBLIC_PRESENTATION:FETCH_REQUEST_SUCCESS","PUBLIC_PRESENTATION:SET_RECOMMENDED_REQUEST_SUCCESS","fetchTeachersRequest","YEAR_GROUPS:FETCH_REQUEST_SUCCESS","MyPresentations","MY_PRESENTATIONS:FETCH_REQUEST_SUCCESS","presentations_pagination","MY_PRESENTATIONS:FETCH_REQUEST","MY_PRESENTATIONS:SET_TO_PUBLIC_REQUEST_SUCCESS","MY_PRESENTATIONS:SET_TO_PRIVATE_REQUEST_SUCCESS","PresentationSearchReducer","fetchingP365","side","PRESENTATION_SEARCH:FETCH_REQUEST_SUCCESS","searchResults","normalizeSearchResults","PRESENTATION_SEARCH:CHANGE_RECOMMENDED_REQUEST_SUCCESS","PRESENTATION_SEARCH:FETCH_P365_REQUEST_SUCCESS","shift","Reducer","WorkStore","PupilsStore","GroupsStore","PublicPresentationStore","PresentationSearchStore","Boolean","hostname","serviceWorker","getRegistrations","registrations","reg","console","log","unregister","store","createStore","rootReducer","applyMiddleware","requestMiddleware","thunk","posthogOptions","api_host","autocapture","capture_pageview","capture_pageleave","disable_session_recording","ReactDOM","PostHogProvider","apiKey","PobbleStyles","App","getElementById","module","exports"],"mappings":"4PAYeA,MAZAC,IAAA,IAAC,YAAEC,GAAaD,EAAA,MAAM,CACnCE,UAAW,CACTC,SAAU,SACVC,QAAS,SACTC,WAAY,OACZC,YAAa,OACb,CAAC,sBAAsBL,EAAYM,OAAQ,CACzCJ,SAAU,a,gBCEDK,UAAYT,EAAZS,CAJOR,IAAA,IAAC,QAAES,EAAO,SAAEC,EAAQ,UAAEC,GAAWX,EAAA,OACrDY,IAAAC,cAAA,OAAKF,UAAWG,IAAWL,EAAQP,UAAWS,IAAaD,KCK9CF,UCXA,CACbN,UAAW,CACTa,OAAQ,OACRC,gBAAiB,OACjBC,UAAW,SACXC,QAAS,OACTC,WAAY,SACZC,UAAW,mCDIAZ,CANCR,IAAA,IAAC,QAAES,EAAO,SAAEC,EAAQ,UAAEC,KAAcU,GAAOrB,EAAA,OACzDY,IAAAC,cAAA,MAAAS,OAAAC,OAAA,CAAKZ,UAAWG,IAAWL,EAAQP,UAAWS,IAAgBU,GAC3DX,K,0FEOUF,UCdA,CACbN,UAAW,CACTsB,SAAU,WACV,UAAW,CACTC,QAAS,KACTD,SAAU,WACVE,KAAM,IACNC,IAAK,IACLC,OAAQ,MACRC,MAAO,OACPd,OAAQ,OACRC,gBAAiB,2BACjBc,cAAe,OACfC,QAAS,IACTC,WAAY,0BAGhBC,MAAO,CACLH,cAAe,OACf,UAAW,CACTC,QAAS,ODNAvB,CATKR,IAAA,IAAC,QAAES,EAAO,SAAEC,EAAQ,UAAEC,EAAS,MAAEsB,GAAOjC,EA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AASijD,eAAe,UAI5BtvD,GAAS,CACPlJ,QACE,qVACDvE,KAAKsT,GAAOsgB,GAAO,CAAE9sB,GAAIwM,IAAQ4D,GAAK0c,GAAO,CAAEy+B,QAASn7C,KAG3DkC,WAAW,IAAM,mCAAuD,M,oBC3DxE4jD,EAAOC,QAAU,IAA0B,2C,wHCA3CD,EAAOC,QAAU,IAA0B,qC,sCCA3CD,EAAOC,QAAU,spS,kBCAjBD,EAAOC,QAAU,0mY,oBCAjBD,EAAOC,QAAU,IAA0B,iC,oBCA3CD,EAAOC,QAAU,IAA0B,qC,oBCA3CD,EAAOC,QAAU,IAA0B,0C,gFCA3CD,EAAOC,QAAU,IAA0B,qC,kBCA3CD,EAAOC,QAAU,8qH,oBCAjBD,EAAOC,QAAU,IAA0B,kC,oBCA3CD,EAAOC,QAAU,IAA0B,kC,0DCA3CD,EAAOC,QAAU,IAA0B,0C","file":"static/js/main.e48a0486.chunk.js","sourcesContent":["const styles = ({ BREAKPOINTS }) => ({\n container: {\n maxWidth: '1320px',\n padding: '0 20px',\n marginLeft: 'auto',\n marginRight: 'auto',\n [`@media (max-width: ${BREAKPOINTS.XL})`]: {\n maxWidth: '1024px'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './content-holder.styles'\nimport classNames from 'classnames'\n\nconst ContentHolder = ({ classes, children, className }) => (\n
{children}
\n)\n\nexport default injectSheet(styles)(ContentHolder)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './sub-head.styles'\nimport classNames from 'classnames'\n\nconst SubHead = ({ classes, children, className, ...props }) => (\n
\n {children}\n
\n)\n\nexport default injectSheet(styles)(SubHead)\n","export default {\n container: {\n height: '70px',\n backgroundColor: '#fff',\n textAlign: 'center',\n display: 'flex',\n alignItems: 'center',\n boxShadow: '0 2px 4px 0 rgba(0, 0, 0, 0.1)'\n }\n}\n","import React from 'react'\nimport styles from './mask-content.styles'\nimport injectSheet from 'react-jss'\nimport classNames from 'classnames'\n\nconst MaskContent = ({ classes, children, className, apply }) => (\n \n {children}\n \n)\n\nexport default injectSheet(styles)(MaskContent)\n","export default {\n container: {\n position: 'relative',\n '&:after': {\n content: '\"\"',\n position: 'absolute',\n left: '0',\n top: '0',\n zIndex: '100',\n width: '100%',\n height: '100%',\n backgroundColor: 'rgba(255, 255, 255, 0.5)',\n pointerEvents: 'none',\n opacity: '0',\n transition: 'opacity 0.3s ease-out'\n }\n },\n apply: {\n pointerEvents: 'none',\n '&:after': {\n opacity: '1'\n }\n }\n}\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormTextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport FromLabel from 'pobble-components/dist/form-elements/form-label'\nimport CharactersCount from 'pobble-components/dist/form-elements/characters-count'\nimport MaskContent from '../../../common/mask-content/mask-content'\nimport {\n Modal,\n ModalHeader,\n ModalFooter,\n ModalContent\n} from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport { Formik } from 'formik'\nimport classNames from 'classnames'\nimport Alert from 'pobble-components/dist/alert'\nimport {\n useFeatureCounter,\n SubsCrown\n} from 'pobble-components/dist/subscriptions'\n\nconst TITLE_MAX_LENGTH = 50\nconst LESSON_OVERVIEW_MAX_LENGTH = 200\n\nconst styles = ({ COLORS, BREAKPOINTS }) => ({\n row: {\n marginTop: '20px',\n '&:first-child': {\n marginTop: '0'\n }\n },\n uploadWorkButton: {\n margin: '0 auto 0 -5px !important'\n },\n mobile: {\n display: 'none'\n },\n submitButton: {\n width: '100px',\n justifyContent: 'center'\n },\n alert: {\n marginBottom: '24px',\n '@media (min-width: 768px)': {\n display: 'none'\n }\n },\n [`@media (max-width: ${BREAKPOINTS.XS})`]: {\n desktop: { display: 'none' },\n mobile: { display: 'block' }\n }\n})\n\nconst CreateLesson = ({\n classes,\n isOpen,\n onChange,\n onClose,\n onSubmit,\n pending,\n canUseLessons\n}) => {\n const [createLessonCounter, createLessonSP] = useFeatureCounter(\n 'PresentationCreation',\n sp => sp.lesson_planning.create_presentation\n )\n\n return (\n \n Create a new lesson\n {\n if (createLessonSP.restricted) {\n createLessonSP.showDialog({\n trigger: 'create-lesson',\n title:\n 'You need a subscription to create and edit unlimited resources'\n })\n } else {\n onSubmit(values).then(createLessonCounter)\n }\n }}\n initialValues={{ title: '', lessonOverview: '' }}>\n {({\n handleSubmit,\n handleBlur,\n handleChange,\n values,\n errors,\n touched,\n isValid\n }) => {\n return (\n \n \n \n \n Lessons cannot be edited on a mobile device.\n \n
\n
\n \n Give your lesson a title\n \n \n \n
\n
\n \n \n Provide an overview of this unit of work\n \n \n Learning overview\n \n \n \n \n
\n
\n
\n
\n \n \n }\n className={classNames(classes.desktop, classes.submitButton)}\n pending={pending}\n tall\n type=\"submit\">\n Create\n \n \n \n )\n }}\n \n
\n )\n}\n\nexport default injectSheet(styles)(CreateLesson)\n","import { apiClient } from 'pobble-components/dist/api'\n\nexport const apiUpdateSlide = (id, data, params) =>\n apiClient.put(`v3/slides/${id}`, data, { params })\n\nexport const apiUploadImage = (id, data, params) => {\n const formData = new FormData()\n Object.keys(data).forEach(key => formData.append(key, data[key]))\n return apiClient.post(`/v3/slides/${id}/upload_image`, formData, { params })\n}\n\nexport const apiRemoveImage = (id, params) =>\n apiClient.delete(`v3/slides/${id}/remove_image`, { params })\n\nexport const apiCreateSlide = (presentationId, data, params) =>\n apiClient.post(`/v3/presentations/${presentationId}/slides`, data, { params })\n\nexport const apiDeleteSlide = id => apiClient.delete(`/v3/slides/${id}`)\n\nexport const apiReorderSlides = (id, data) =>\n apiClient.put(`/v3/presentations/${id}/reorder_slides`, data)\n\nexport const apiCrawlLink = (data, params) =>\n apiClient.post('/v3/links', data, { params })\n\nexport const apiUnsplashSearch = params =>\n apiClient.get('/v3/unsplash', { params })\n\nexport const apiShareBulk = data =>\n apiClient.post('/v3/bulk_presentation_share', data)\n\nexport const apiRemoveSharedPresentation = presentationId =>\n apiClient.delete(`/v3/shared_presentations/${presentationId}`)\n\nexport const apiGetSharedPresentation = (id, params) =>\n apiClient.get(`/v3/shared_presentations/${id}`, { params })\n\nexport const apiGetPresentation = (id, params) =>\n apiClient.get(`/v3/presentations/${id}`, { params })\n\nexport const apiMarkAsSeen = id =>\n apiClient.put(`/v3/shared_presentations/${id}/mark_as_seen`)\n\nexport const apiMarkAsUnseen = id =>\n apiClient.put(`/v3/shared_presentations/${id}/mark_as_unseen`)\n\nexport const apiSetPresentationToPrivate = id =>\n apiClient.put(`/v3/presentations/${id}/set_to_private`)\n\nexport const apiSetPresentationToPublic = (id, params) =>\n apiClient.put(`/v3/presentations/${id}/set_to_public`, null, { params })\n\nexport const apiDuplicateSlide = (id, params) =>\n apiClient.post(`/v3/slides/${id}/duplicate_slide_in_presentation`, null, {\n params\n })\n\nexport const apiUpdatePresentationProperties = (id, data, params) =>\n apiClient.put(`/v3/presentations/${id}/set_presentation_properties`, data, {\n params\n })\n\nexport const apiPresentationSearch = params =>\n apiClient.get(`/v3/presentations/search`, { params })\n\nexport const apiGetP365Today = params =>\n apiClient.get('/v3/p365/today', { params })\n\nexport const apiGetPresentations = params =>\n apiClient.get('/v3/me/presentations', { params })\n\nexport const apiCreatePresentation = data =>\n apiClient.post('/v3/presentations', data)\n\nexport const apiCopyPresentation = (id, data, params) =>\n apiClient.post(`/v3/presentations/${id}/create_presentation_copy`, data, {\n params\n })\n\nexport const apiDeletePresentation = id =>\n apiClient.delete(`v3/presentations/${id}`)\n\nexport const apiSuccessCriteriaSearch = params =>\n apiClient.get(`/v3/success_criteria_search`, { params })\n\nexport const apiCreateImageAsset = (data, params) =>\n apiClient.post(`v3/presentations/create_image_asset`, data, { params })\n","import {\n apiGetPresentations,\n apiCreatePresentation,\n apiCopyPresentation,\n apiSetPresentationToPublic,\n apiSetPresentationToPrivate,\n apiDeletePresentation\n} from '../../common/api/lesson'\n\nconst fetchMyPresentations = params => ({\n requestPrefix: 'MY_PRESENTATIONS:FETCH',\n params,\n request: () =>\n apiGetPresentations({\n scope: params.scope || 'all',\n search_string: params.search_string || null,\n order_by: params.order_by || null,\n include: `presentation.policy,presentation.image,presentation.names,presentation.asset_data,presentation.timestamps,presentation.details,presentation.lesson.delivery_stats,presentation.lesson.status,presentation.lesson.delivery_stats,presentations.limit.${\n params.limit\n },presentations.page.${params.page},presentations.order.${params.order ||\n 'desc'}`\n })\n})\n\nconst createPresentation = data => ({\n requestPrefix: 'MY_PRESENTATIONS:CREATE',\n request: () => apiCreatePresentation(data)\n})\n\nconst copyPresentation = id => ({\n requestPrefix: 'MY_RESENTATIONS:COPY',\n params: { id },\n request: () =>\n apiCopyPresentation(id, {\n include:\n 'presentation.names,presentation.details,presentation.lesson.delivery_stats,presentation.lesson.status'\n })\n})\n\nconst setPresentationToPublic = (id, params) => ({\n requestPrefix: 'MY_PRESENTATIONS:SET_TO_PUBLIC',\n params: { id },\n request: () => apiSetPresentationToPublic(id, params)\n})\n\nconst setPresentationToPrivate = id => ({\n requestPrefix: 'MY_PRESENTATIONS:SET_TO_PRIVATE',\n params: { id },\n request: () => apiSetPresentationToPrivate(id)\n})\n\nconst deletePresentation = id => ({\n requestPrefix: 'MY_PRESENTATIONS:DELETE',\n params: { id },\n request: () => apiDeletePresentation(id)\n})\n\nexport {\n fetchMyPresentations,\n createPresentation,\n copyPresentation,\n setPresentationToPublic,\n setPresentationToPrivate,\n deletePresentation\n}\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.MyPresentationsStore\n\nconst getData = state => getState(state).data\n\nconst getMyPresentationsList = createSelector(\n [getData],\n data => (!data ? [] : data.result.map(id => data.entities.presentations[id]))\n)\n\nconst getPagination = state => getState(state).pagination\n\nconst getFilters = state => getState(state).filters\n\nconst getPresentationFromTheList = (state, id) => {\n const data = getData(state)\n if (!data) return null\n return data.entities.presentations[id] || null\n}\n\nconst fetchingPresentations = state => getState(state).fetching\n\nconst isCreatingPresentation = state => getState(state).creating\n\nconst isPresentationUpdating = state => id => {\n const currentState = getState(state)\n return (\n (currentState.copying[id] && currentState.copying[id].pending) ||\n (currentState.settingToPublic[id] &&\n currentState.settingToPublic[id].pending) ||\n (currentState.settingToPrivate[id] &&\n currentState.settingToPrivate[id].pending) ||\n (currentState.deleting[id] && currentState.deleting[id].pending)\n )\n}\n\nexport {\n getMyPresentationsList,\n getData,\n getPresentationFromTheList,\n isPresentationUpdating,\n getPagination,\n fetchingPresentations,\n isCreatingPresentation,\n getFilters\n}\n","import { connect } from 'react-redux'\nimport CreateLesson from './create-lesson'\nimport { withMe } from 'pobble-components/dist/pobble-user'\nimport { withRouter } from 'react-router'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { createPresentation } from '../../../../stores/my-presentations/my-presentations.actions'\nimport { isCreatingPresentation } from '../../../../stores/my-presentations/my-presentations.selectors'\n\nconst mapStateToProps = (state, { me }) => ({\n pending: isCreatingPresentation(state).pending,\n canUseLessons: me.account.policy.can_use_lessons\n})\n\nconst mapDispatchToProps = (dispatch, { me, history }) => {\n const createLessonReq = values =>\n dispatch(\n createPresentation({\n title: values.title,\n lesson_overview: values.lessonOverview\n })\n ).catch(errorHandler)\n return {\n onSubmit: values => {\n return createLessonReq(values).then(({ data }) => {\n data && history.push(`/lesson/${data.presentation.id}/`)\n })\n }\n }\n}\n\nexport default withRouter(\n withMe(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(CreateLesson)\n )\n)\n","import React from 'react'\n\nexport default React.createContext(null)\n","import React, { Fragment, useContext } from 'react'\nimport injectSheet from 'react-jss'\nimport SubHead from '../../../sub-head/sub-head'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faPlusCircle } from '@fortawesome/pro-solid-svg-icons/faPlusCircle'\nimport { useHistory, withRouter } from 'react-router-dom'\nimport CreateLesson from '../create-lesson/create-lesson.container'\nimport classNames from 'classnames'\nimport LessonsContext from '../lessons.context'\n\nconst styles = ({ COLORS }) => ({\n container: {\n fontSize: '16px',\n position: 'relative',\n zIndex: '20',\n height: '70px',\n '@media (max-width: 767px)': {\n fontSize: '14px',\n height: '50px'\n }\n },\n newLesson: {\n position: 'absolute',\n right: '20px',\n color: 'var(--blue)',\n font: 'var(--body)',\n lineHeight: '1.2',\n cursor: 'pointer',\n display: 'flex',\n alignItems: 'center',\n '& svg': {\n marginRight: '4px'\n },\n '&:hover': {\n color: 'var(--blue-)'\n }\n },\n title: {\n textAlign: 'center',\n margin: '0',\n font: 'var(--heading--)',\n color: 'var(--gray-)',\n width: '100%'\n },\n pobble365: {\n display: 'none',\n '@media (min-width: 768px)': {\n position: 'absolute',\n color: 'var(--blue)',\n font: 'var(--body-)',\n textDecoration: 'none',\n top: '28px',\n left: '20px',\n display: 'block',\n fontWeight: 'bold'\n }\n },\n extraWord: {\n display: 'none',\n '@media (min-width: 768px)': {\n display: 'inline'\n }\n }\n})\n\nconst LessonsHead = ({ classes, location }) => {\n const { createLessonOpened } = useContext(LessonsContext)\n const history = useHistory()\n return (\n \n

My lessons

\n \n {\n history.push('/new')\n }}\n className={classNames(classes.newLesson, 'metrics__new-lesson')}>\n \n New lesson\n \n history.push('/')}\n isOpen={createLessonOpened}\n />\n \n
\n )\n}\n\nexport default withRouter(injectSheet(styles)(LessonsHead))\n","const styles = {\n paper: {\n borderRadius: '6px',\n background: '#fff',\n padding: '22px'\n }\n}\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './paper.styles'\nimport classNames from 'classnames'\n\nconst Paper = ({ classes, className, children }) => (\n
{children}
\n)\n\nexport default injectSheet(styles)(Paper)\n","import { hover } from 'pobble-components/dist/jss-mixins'\n\nconst styles = ({ FONT_SIZES, COLORS, BREAKPOINTS }) => ({\n listItem: {\n textDecoration: 'none',\n padding: '0 0 0.5em',\n borderBottom: '0.25em solid transparent',\n '&:first-child': {\n marginLeft: '0'\n },\n [`@media (max-width: ${BREAKPOINTS.XS})`]: {\n marginLeft: '0'\n },\n ...hover({\n '& $link': {\n color: COLORS.BLUE.NORMAL\n }\n })\n },\n active: {\n borderBottomColor: COLORS.BLUE.NORMAL,\n '& $link': {\n color: COLORS.BLUE.NORMAL\n }\n },\n link: {\n fontSize: '1em',\n lineHeight: '1.2',\n cursor: 'pointer',\n color: COLORS.TEXT.LIGHT_GREY.NORMAL\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './tab-link.styles'\nimport { NavLink } from 'react-router-dom'\nimport classNames from 'classnames'\n\nconst TabLink = ({\n classes,\n children,\n theme,\n className,\n linkClassName,\n ...props\n}) => (\n \n {children}\n \n)\n\nexport default injectSheet(styles)(TabLink)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport TabLink from './tab-link/tab-link'\n\nconst styles = ({ BREAKPOINTS, COLORS, FONT_SIZES }) => ({\n container: {\n ...FONT_SIZES.BODY_LARGE.STYLE,\n display: 'flex',\n borderBottom: '1px solid #ececec',\n '& > *': {\n margin: '0 0 -0.25em 32px',\n '&:first-child': {\n marginLeft: '0'\n }\n }\n },\n hideMobile: {\n [`@media (max-width: ${BREAKPOINTS.XS})`]: {\n display: 'none'\n }\n },\n shared: {\n display: 'flex',\n alignItems: 'flex-start'\n },\n sharedCounter: {\n opacity: '0',\n animation: '0.3s fadeIn ease-out forwards',\n fontSize: '12px',\n lineHeight: '1.2',\n display: 'inline-flex',\n background: COLORS.RED.FADED,\n color: '#fff',\n margin: '2px 0 0 6px',\n fontWeight: 'bold',\n alignItems: 'center',\n justifyContent: 'center',\n width: '22px',\n height: '22px',\n borderRadius: '22px'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n})\n\nconst TabNav = ({ classes, activeTab, changeActiveTab, sharedCounter }) => (\n
\n My lessons\n
\n \n Shared with me\n \n {!!sharedCounter && (\n {sharedCounter}\n )}\n
\n
\n)\n\nexport default injectSheet(styles)(TabNav)\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.SharedPresentationsStore\n\nconst getFetchPresentationsRequest = state =>\n getState(state).fetchPresentationsRequest\n\nconst getRemovePresentationRequests = state =>\n getState(state).removePresentationRequests\n\nconst getRemovePresentationRequest = (state, id) =>\n getRemovePresentationRequests(state)[id] || {\n pending: false,\n requestError: null\n }\n\nconst getCounter = state => getState(state).counter\n\nconst getPresentations = state => getState(state).presentations\n\nconst getPresentationsResult = createSelector(\n [getPresentations],\n presentations => (!presentations ? [] : presentations.result)\n)\n\nconst getPresentationsMap = createSelector(\n [getPresentations],\n presentations => (!presentations ? {} : presentations.entities.presentations)\n)\n\nconst getPresentationsList = createSelector(\n [getPresentationsResult, getPresentationsMap],\n (result, presentationsMap) => result.map(id => presentationsMap[id])\n)\n\nconst getPresentation = (state, id) => getPresentationsMap(state)[id]\n\nexport {\n getPresentations,\n getPresentationsList,\n getFetchPresentationsRequest,\n getPresentation,\n getRemovePresentationRequest,\n getCounter\n}\n","import { connect } from 'react-redux'\nimport TabNav from './tab-nav'\nimport { getCounter } from '../../../../../stores/shared-presentations/shared-presentations.selectors'\n\nconst mapStateToProps = state => ({\n sharedCounter: getCounter(state)\n})\n\nexport default connect(\n mapStateToProps,\n null\n)(TabNav)\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport TrashIcon from 'react-icons/lib/fa/trash-o'\nimport CheckIcon from 'react-icons/lib/fa/check-circle-o'\nimport CircleIcon from 'react-icons/lib/fa/circle-o'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\nimport CopyIcon from 'react-icons/lib/fa/copy'\n\nconst ContextMenu = ({\n classes,\n onRemove,\n onCopy,\n onMarkAsSeen,\n onMarkAsUnseen,\n seen\n}) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n closePopover()\n onCopy()\n }}>\n \n \n \n Create my copy\n \n {!seen && (\n {\n closePopover()\n onMarkAsSeen()\n }}>\n \n \n \n Mark as seen\n \n )}\n {seen && (\n {\n closePopover()\n onMarkAsUnseen()\n }}>\n \n \n \n Mark as unseen\n \n )}\n {\n openConfirmationDialog({\n theme: 'danger',\n bodyText:\n 'Are you sure you want to remove this lesson from \"Shared with me\"?',\n action: onRemove,\n confirmText: 'Remove',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Remove\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","import { apiClient } from 'pobble-components/dist/api'\n\nconst apiGetMe = params => apiClient.get('v3/me', { params })\n\nexport { apiGetMe }\n","import { apiGetMe } from '../../common/api/profile'\nimport {\n apiRemoveSharedPresentation,\n apiCopyPresentation,\n apiMarkAsSeen,\n apiMarkAsUnseen\n} from '../../common/api/lesson'\n\nconst fetchSharedPresentations = () => ({\n requestPrefix: 'SHARED_PRESENTATIONS:FETCH',\n request: () =>\n apiGetMe({\n include:\n 'account.with_me_shared_presentations,account.shared_presentation.timestamps,account.shared_presentation.presentation,account.shared_presentation.presentation.names,account.shared_presentation.presentation.account.teacher_type.account.names,account.shared_presentation.presentation.account.pending_teacher_type.account.names,account.shared_presentation.details'\n })\n})\n\nconst fetchSharedCounter = () => ({\n requestPrefix: 'SHARED_PRESENTATIONS:FETCH_COUNTER',\n request: () =>\n apiGetMe({\n include: 'account.with_me_shared_presentations_counter'\n })\n})\n\nconst removePresentation = (presentationId, seen) => ({\n requestPrefix: 'SHARED_PRESENTATIONS:REMOVE',\n params: { id: presentationId, seen },\n request: () => apiRemoveSharedPresentation(presentationId)\n})\n\nconst copyPresentation = (sharedPresentationId, actualPresentationId) => ({\n requestPrefix: 'SHARED_PRESENTATIONS:COPY',\n params: { id: sharedPresentationId },\n request: () => apiCopyPresentation(actualPresentationId)\n})\n\nconst markAsSeen = id => ({\n requestPrefix: 'SHARED_PRESENTATIONS:MARK_AS_SEEN',\n params: { id },\n request: () => apiMarkAsSeen(id)\n})\n\nconst markAsUnseen = id => ({\n requestPrefix: 'SHARED_PRESENTATIONS:MARK_AS_UNSEEN',\n params: { id },\n request: () => apiMarkAsUnseen(id)\n})\n\nexport {\n fetchSharedPresentations,\n removePresentation,\n copyPresentation,\n fetchSharedCounter,\n markAsSeen,\n markAsUnseen\n}\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport {\n removePresentation,\n copyPresentation,\n markAsSeen,\n markAsUnseen\n} from '../../../../../../../../stores/shared-presentations/shared-presentations.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getPresentation } from '../../../../../../../../stores/shared-presentations/shared-presentations.selectors'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { id }) => {\n const sharedPresentation = getPresentation(state, id)\n return {\n seen: sharedPresentation.seen,\n actualPresentationId: sharedPresentation.presentation.id\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onRemove: () =>\n dispatch(removePresentation(ownProps.id, stateProps.seen)).catch(\n errorHandler\n ),\n onMarkAsSeen: () => dispatch(markAsSeen(ownProps.id)).catch(errorHandler),\n onMarkAsUnseen: () => dispatch(markAsUnseen(ownProps.id)).catch(errorHandler),\n onCopy: () =>\n dispatch(copyPresentation(ownProps.id, stateProps.actualPresentationId))\n .then(() => dispatch(markAsSeen(ownProps.id)).catch(errorHandler))\n .then(() => ownProps.history.push('/'))\n .catch(errorHandler)\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ContextMenu)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './shared-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport { BulkCheckbox } from 'pobble-components/dist/bulk-action'\nimport ContextMenu from './context-menu/context-menu.container'\nimport { Link } from 'react-router-dom'\nimport classNames from 'classnames'\n\nconst SharedEntry = ({\n classes,\n received,\n from,\n title,\n lo,\n id,\n pending,\n previewLink,\n seen\n}) => (\n \n \n \n \n {received}\n \n {from}\n \n \n \n {title}\n \n \n {lo}\n \n \n \n \n)\n\nexport default injectSheet(styles)(SharedEntry)\n","export default ({ COLORS }) => ({\n previewLink: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n checkboxChell: {\n borderLeft: `5px solid transparent`\n },\n unseen: {\n borderLeftColor: COLORS.RED.FADED\n }\n})\n","import { connect } from 'react-redux'\nimport SharedEntry from './shared-entry'\nimport {\n getPresentation,\n getRemovePresentationRequest\n} from '../../../../../../../stores/shared-presentations/shared-presentations.selectors'\nimport { format } from 'date-fns'\n\nconst getAccountFullName = account => {\n const anyTeacherType =\n account.teacher_type || account.pending_teacher_type || {}\n const userAccount = anyTeacherType.account\n return !userAccount ? '' : userAccount.full_name\n}\n\nconst mapStateToProps = (state, { id }) => {\n const sharedPresentation = getPresentation(state, id)\n const removePresentationRequest = getRemovePresentationRequest(state, id)\n const { presentation } = sharedPresentation\n return {\n previewLink: `/shared/${id}`,\n pending: removePresentationRequest.pending,\n title: presentation.title,\n lo: presentation.lesson_overview,\n from: getAccountFullName(presentation.account),\n received: format(sharedPresentation.created_at, 'DD-MM-YYYY'),\n seen: sharedPresentation.seen\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(SharedEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './bulk-action.styles'\nimport { ActionButton } from 'pobble-components/dist/bulk-action'\nimport TrashIcon from 'react-icons/lib/fa/trash-o'\nimport CheckIcon from 'react-icons/lib/fa/check-circle-o'\nimport CircleIcon from 'react-icons/lib/fa/circle-o'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nconst BulkAction = ({ classes, onRemove, onMarkAsSeen, onMarkAsUnseen }) => (\n \n {({ Menu, MenuItem, IconHolder, closePopover, bulkSelectedList }) => (\n \n {\n closePopover()\n onMarkAsSeen(bulkSelectedList)\n }}>\n \n \n \n Mark as seen\n \n {\n closePopover()\n onMarkAsUnseen(bulkSelectedList)\n }}>\n \n \n \n Mark as unseen\n \n {\n closePopover()\n openConfirmationDialog({\n theme: 'danger',\n bodyText: `Are you sure you want to remove ${\n bulkSelectedList.length\n } presentation from \"Shared with me\" list?`,\n action: () => onRemove(bulkSelectedList),\n confirmText: 'Remove',\n cancelText: 'Cancel'\n })\n }}>\n \n \n \n Remove\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(BulkAction)\n","import { connect } from 'react-redux'\nimport BulkAction from './bulk-action'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport {\n removePresentation,\n markAsSeen,\n markAsUnseen\n} from '../../../../../../../stores/shared-presentations/shared-presentations.actions'\n\nconst mapDispatchToProps = dispatch => ({\n onMarkAsSeen: presentations =>\n presentations.forEach(\n presentation =>\n !presentation.seen && dispatch(markAsSeen(presentation.id))\n ),\n onMarkAsUnseen: presentations =>\n presentations.forEach(\n presentation =>\n presentation.seen && dispatch(markAsUnseen(presentation.id))\n ),\n onRemove: presentations =>\n presentations.forEach(presentation =>\n dispatch(removePresentation(presentation.id)).catch(errorHandler)\n )\n})\n\nexport default connect(\n null,\n mapDispatchToProps\n)(BulkAction)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './shared-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport SharedEntry from './shared-entry/shared-entry.container'\nimport {\n BulkActionProvider,\n SelectAllButton\n} from 'pobble-components/dist/bulk-action'\nimport BulkAction from './bulk-action/bulk-action.container'\n\nconst SharedTable = ({ classes, presentations }) => (\n \n \n \n \n \n \n \n Received\n From\n Title\n Overview\n \n \n \n \n \n \n {presentations.map(presentation => (\n \n ))}\n \n
\n
\n)\n\nexport default injectSheet(styles)(SharedTable)\n","export default {\n allCell: {\n width: '60px'\n },\n receivedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left',\n width: '20%'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n loCell: {\n textAlign: 'left',\n width: '40%'\n }\n}\n","import { connect } from 'react-redux'\nimport SharedTable from './shared-table'\nimport { getPresentationsList } from '../../../../../../stores/shared-presentations/shared-presentations.selectors'\n\nconst mapStateToProps = state => ({\n presentations: getPresentationsList(state)\n})\n\nexport default connect(\n mapStateToProps,\n null\n)(SharedTable)\n","import React from 'react'\nimport styles from './shared-skeleton-entry.styles'\nimport injectSheet from 'react-jss'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst SharedSkeletonEntry = ({ classes, titleWidth }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(SharedSkeletonEntry)\n","export default {\n from: {\n width: '80%'\n },\n received: {\n width: '80px'\n },\n context: {\n width: '40px',\n height: '40px !important',\n borderRadius: '5px',\n display: 'inline-block'\n }\n}\n","import React from 'react'\nimport styles from './shared-skeleton.styles'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, TableRow, HeadCell } from 'pobble-components/dist/table'\nimport SharedSkeletonEntry from './shared-skeleton-entry/shared-skeleton-entry'\n\nconst SharedSkeleton = ({ classes }) => (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n)\n\nexport default injectSheet(styles)(SharedSkeleton)\n","export default {\n container: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n table: {\n '& th': {\n textAlign: 'left',\n '& span': {\n height: '16px'\n }\n },\n '& td span': {\n height: '16px'\n },\n '& tr:hover td': {\n backgroundColor: 'transparent'\n }\n },\n all: {\n width: '25px'\n },\n allCell: {\n width: '60px',\n textAlign: 'center !important'\n },\n receivedCell: {\n width: '115px'\n },\n received: {\n width: '66px'\n },\n fromCell: {\n width: '20%'\n },\n from: {\n width: '42px'\n },\n titleCell: {\n width: '20%'\n },\n title: {\n width: '38px'\n },\n loCell: {\n width: '40%'\n },\n lo: {\n width: '135px'\n },\n contextCell: {\n width: '60px'\n },\n center: {\n textAlign: 'center !important'\n },\n bulkAction: {\n display: 'block',\n height: '40px !important',\n width: '93px',\n borderRadius: '4px'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React from 'react'\nimport styles from './warning-message.styles'\nimport injectSheet from 'react-jss'\n\nconst WarningMessage = ({ classes, children }) => (\n {children}\n)\n\nexport default injectSheet(styles)(WarningMessage)\n","export default ({ COLORS }) => ({\n warning: {\n color: COLORS.TEXT.MID_GREY.NORMAL\n }\n})\n","import React, { useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './shared.styles'\nimport SharedTable from './shared-table/shared-table.container'\nimport SharedSkeleton from './shared-skeleton/shared-skeleton'\nimport WarningMessage from '../../../../warning-message/warning-message'\n\nconst Shared = ({ onMount, noPresentations, pending }) => {\n useEffect(() => {\n onMount()\n }, []) // eslint-disable-line\n\n return noPresentations ? (\n You don't have lessons shared with you yet\n ) : pending ? (\n \n ) : (\n \n )\n}\n\nexport default injectSheet(styles)(Shared)\n","import { connect } from 'react-redux'\nimport Shared from './shared'\nimport { fetchSharedPresentations } from '../../../../../stores/shared-presentations/shared-presentations.actions'\nimport {\n getFetchPresentationsRequest,\n getPresentations\n} from '../../../../../stores/shared-presentations/shared-presentations.selectors'\n\nconst mapStateToProps = state => {\n const fetchPresentationsRequest = getFetchPresentationsRequest(state)\n const presentations = getPresentations(state)\n return {\n noPresentations: presentations && !presentations.result.length,\n pending: !presentations || fetchPresentationsRequest.pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => dispatch(fetchSharedPresentations())\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(Shared)\n","import React from 'react'\n\nexport default React.createContext(null)\n","import * as React from 'react'\nconst SvgComponent = props => (\n \n \n \n)\nexport default SvgComponent\n","import React, { useContext } from 'react'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faCopy } from '@fortawesome/pro-regular-svg-icons/faCopy'\nimport { faLock } from '@fortawesome/pro-regular-svg-icons/faLock'\nimport { faTrashAlt } from '@fortawesome/pro-regular-svg-icons/faTrashAlt'\nimport { toast } from 'pobble-components/dist/toast'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\nimport MyLessonsContext from '../my-lessons.context'\nimport ShareIcon from '../../../../prompt/share-icon'\nimport { apiClient } from 'pobble-components/dist/api'\n\nconst styles = ({ COLORS }) => ({\n print: {\n color: COLORS.TEXT.MID_GREY.NORMAL\n }\n})\n\nconst ContextMenu = ({\n classes,\n onArchive,\n copy,\n onShare,\n id,\n setToPublic,\n setToPrivate,\n deleteItem,\n isPublic,\n fetchPresentations,\n delivered,\n openPublicLinkModal,\n token,\n presentation\n}) => {\n const { refreshPage, setShareModalState } = useContext(MyLessonsContext)\n\n return (\n <>\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n closePopover()\n apiClient\n .get(`/v3/presentations/${id}`, {\n params: {\n include:\n 'presentation.details,presentation.slides,presentation.slide.details,presentation.names'\n }\n })\n .then(res => {\n setShareModalState({\n opened: true,\n presentation: res.data.presentation\n })\n })\n }}>\n \n \n \n Share\n \n {isPublic && (\n <>\n \n {\n setToPrivate(id).then(refreshPage)\n closePopover()\n }}>\n \n \n \n Set to private\n \n \n )}\n \n {\n closePopover()\n copy &&\n copy(id).then(() => {\n fetchPresentations({\n scope: 'all',\n page: 0,\n limit: 10\n }).then(() => toast.success('Lesson has been copied'))\n })\n }}>\n \n \n \n Duplicate\n \n \n {\n openConfirmationDialog({\n theme: 'danger',\n bodyText: `You are removing this lesson from your lesson list. This cannot be undone.${\n delivered\n ? `\\n\\nNote that the work associated with this lesson remains accessible, e.g. via the pupil's profile.`\n : ''\n }`,\n action: () => deleteItem(id).then(refreshPage),\n confirmText: 'Delete',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Delete\n \n \n )}\n \n \n )\n}\n\nexport default injectSheet(styles)(ContextMenu)\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport {\n copyPresentation,\n setPresentationToPublic,\n setPresentationToPrivate,\n fetchMyPresentations,\n deletePresentation\n} from '../../../../../../stores/my-presentations/my-presentations.actions'\nimport { getPresentationFromTheList } from '../../../../../../stores/my-presentations/my-presentations.selectors'\n\nconst mapStateToProps = (state, { id }) => {\n const presentation = getPresentationFromTheList(state, id)\n return {\n token: presentation.token,\n isPublic: presentation.public,\n delivered: presentation.lesson && presentation.lesson.delivered\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n copy: id => dispatch(copyPresentation(id)).catch(errorHandler),\n setToPublic: id => dispatch(setPresentationToPublic(id)).catch(errorHandler),\n setToPrivate: id =>\n dispatch(setPresentationToPrivate(id)).catch(errorHandler),\n fetchPresentations: params => dispatch(fetchMyPresentations(params)),\n deleteItem: id => dispatch(deletePresentation(id)).catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(ContextMenu)\n","import React, { useContext } from 'react'\nimport injectSheet from 'react-jss'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faTrashAlt } from '@fortawesome/pro-solid-svg-icons/faTrashAlt'\nimport MyLessonsContext from '../my-lessons.context'\nimport Button from 'pobble-components/dist/button'\nimport { useBulkAction } from 'pobble-components/dist/bulk-action'\nimport { useDispatch } from 'react-redux'\nimport { deletePresentation } from '../../../../../../stores/my-presentations/my-presentations.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst BulkAction = injectSheet({\n holder: {\n height: '40px'\n }\n})(({ classes, deleteLessons }) => {\n const { refreshPage } = useContext(MyLessonsContext)\n const { bulkSelectedList } = useBulkAction()\n const dispatch = useDispatch()\n\n return !bulkSelectedList.length ? (\n
\n ) : (\n {\n openConfirmationDialog({\n theme: 'danger',\n bodyText: `You are removing ${\n bulkSelectedList.length\n } resources from your resources list. This cannot be undone.`,\n action: () =>\n Promise.all(\n bulkSelectedList.map(presentation =>\n dispatch(deletePresentation(presentation.id))\n .then(refreshPage)\n .catch(errorHandler)\n )\n ),\n confirmText: 'Delete',\n cancelText: 'Cancel'\n })\n }}\n tall\n dangerSecondary\n icon={}>\n Delete selected\n \n )\n})\n\nexport default BulkAction\n","const entryStyle = {\n row: {\n animation: 'fadeIn 1s'\n },\n checkbox: {\n width: '20px',\n height: '20px',\n borderRadius: '4px'\n },\n actions: {\n '& > *': {\n display: 'none !important',\n '@media (min-width: 768px)': {\n display: 'block !important'\n },\n '&:last-child': {\n display: 'block !important'\n }\n }\n },\n action: {\n width: '40px',\n height: '40px',\n borderRadius: '5px',\n display: 'block',\n marginLeft: 'auto'\n },\n status: {\n width: '70px'\n },\n works: {\n width: '80px'\n },\n pupils: {\n width: '80px'\n },\n worksBone: {\n width: '20px'\n },\n dateBone: {\n width: '86px'\n },\n pupilsBone: {\n width: '20px'\n },\n thumbnail: {\n display: 'none',\n '@media (min-width: 541px)': {\n display: 'block'\n }\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n\nconst skeletonStyle = {\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n\nexport { entryStyle, skeletonStyle }\n","import React, { memo } from 'react'\nimport injectSheet from 'react-jss'\nimport { entryStyle, skeletonStyle } from './skeleton.styles'\nimport Bone from 'pobble-components/dist/bone'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport { useMe } from 'pobble-components/dist/pobble-user'\n\nconst Entry = injectSheet(entryStyle)(\n ({ classes, titleWidth, canSeePupils }) => (\n \n \n \n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n \n
\n
\n \n )\n)\n\nconst Skeleton = injectSheet(skeletonStyle)(\n memo(({ classes }) => {\n const { me } = useMe()\n const canSeePupils = !!me.account.teacher_type\n return (\n \n {[...Array(10).keys()].map((_, index) => (\n \n ))}\n \n )\n })\n)\n\nexport default injectSheet(skeletonStyle)(Skeleton)\n","import React, { useState, useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport Button from 'pobble-components/dist/button'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faSearch } from '@fortawesome/pro-solid-svg-icons/faSearch'\nimport { faLongArrowAltDown } from '@fortawesome/pro-solid-svg-icons/faLongArrowAltDown'\nimport { faLongArrowAltUp } from '@fortawesome/pro-solid-svg-icons/faLongArrowAltUp'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\nimport { useMe } from 'pobble-components/dist/pobble-user'\nimport classNames from 'classnames'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { getFilters } from '../../../../../../stores/my-presentations/my-presentations.selectors'\nimport { fetchMyPresentations } from '../../../../../../stores/my-presentations/my-presentations.actions'\n\nconst styles = ({ COLORS }) => ({\n container: {\n marginBottom: '20px',\n paddingRight: '10px',\n display: 'flex',\n alignItems: 'center',\n flexDirection: 'column',\n '@media (min-width: 768px)': {\n flexDirection: 'row'\n }\n },\n searchHolder: {\n width: '100%'\n },\n filtersHolder: {\n marginTop: '16px',\n width: '100%',\n display: 'flex',\n alignItems: 'center',\n '@media (min-width: 768px)': {\n width: 'auto',\n margin: '0 0 0 16px',\n '&:before': {\n content: '\"\"',\n width: '1px',\n height: '20px',\n background: '#ececec',\n marginRight: '16px'\n }\n },\n '& label': {\n marginBottom: '4px',\n whiteSpace: 'nowrap',\n display: 'flex',\n '@media (min-width: 768px)': {\n margin: '0 8px 0 0'\n }\n },\n '& > *': {\n flex: '1',\n '&:first-child': {\n marginRight: '16px'\n },\n '@media (min-width: 768px)': {\n display: 'flex',\n alignItems: 'center'\n }\n }\n },\n sortHolder: {\n display: 'flex',\n '& > *:first-child': {\n flex: '1',\n minWidth: '106px'\n }\n },\n sortDirection: {\n marginLeft: '4px',\n borderColor: '#ddd !important',\n color: `${COLORS.TEXT.MID_GREY.NORMAL} !important`,\n background: '#fff !important'\n },\n search: {\n display: 'flex',\n '& input': {\n borderRadius: '4px 0 0 4px',\n borderRight: 'none'\n }\n },\n filterSelect: {\n minWidth: '100px'\n },\n searchSpinner: {\n fontSize: '18px',\n color: '#fff'\n },\n searchButton: {\n borderRadius: '0 4px 4px 0',\n height: '40px',\n width: '40px',\n display: 'flex',\n justifyContent: 'center',\n padding: '0',\n flexShrink: '0'\n }\n})\n\nconst Controls = ({ classes }) => {\n const [searchValue, setSearchValue] = useState('')\n const [filter, setFilter] = useState('all')\n\n const filters = useSelector(getFilters)\n const dispatch = useDispatch()\n const fetchPresentations = params => dispatch(fetchMyPresentations(params))\n const orderDirection = !filters.order ? 'desc' : filters.order\n const orderBy = !filters.order_by ? 'change' : filters.order_by\n\n const { me } = useMe()\n const canUseLessons = !!me.account.policy.can_use_lessons\n\n useEffect(\n () => {\n if (filters) {\n setSearchValue(filters.search_string || '')\n setFilter(filters.scope)\n }\n },\n [filters]\n )\n return (\n
\n
\n {\n e.preventDefault()\n fetchPresentations({\n scope: filter,\n page: 0,\n limit: 10,\n search_string: searchValue,\n initiator: 'FILTERS'\n })\n }}>\n {\n fetchPresentations({\n ...filters,\n search_string: '',\n initiator: 'FILTERS'\n })\n }}\n clearable\n value={searchValue}\n onChange={e => setSearchValue(e.target.value)}\n placeholder=\"Search\"\n />\n \n \n
\n
\n
\n \n {\n const filter = e.target.value\n setFilter(e.target.value)\n fetchPresentations({\n scope: filter,\n page: 0,\n limit: 10,\n search_string: searchValue,\n initiator: 'FILTERS',\n order: orderDirection\n })\n }}>\n \n {canUseLessons && }\n \n \n \n
\n
\n \n
\n {\n fetchPresentations({\n ...filters,\n scope: filter,\n page: 0,\n limit: 10,\n initiator: 'SORT',\n order_by: e.target.value\n })\n }}>\n \n \n \n {\n fetchPresentations({\n ...filters,\n page: 0,\n limit: 10,\n initiator: 'SORT',\n order: orderDirection === 'desc' ? 'asc' : 'desc'\n })\n }}\n tall\n secondary\n className={classes.sortDirection}>\n \n \n
\n
\n
\n
\n )\n}\n\nexport default injectSheet(styles)(Controls)\n","import React, { useContext } from 'react'\n\nconst PresentModeContext = React.createContext(null)\n\nconst usePresentMode = () => {\n return useContext(PresentModeContext)\n}\n\nexport { PresentModeContext, usePresentMode }\n","export default {\n container: {\n position: 'fixed',\n height: '100%',\n width: '100%',\n opacity: '0',\n '@media print': {\n position: 'static',\n opacity: '1'\n }\n },\n test: {\n opacity: '1',\n position: 'static'\n },\n slideHolder: {\n '@media print': {\n position: 'relative',\n height: '100%',\n border: '1px solid #999',\n borderRadius: '10px',\n overflow: 'hidden'\n }\n },\n slideContainer: {\n '@media print': {\n boxSizing: 'border-box',\n '-webkit-print-color-adjust': 'exact',\n height: '100%',\n padding: '40px'\n }\n }\n}\n","import React, { useState, useRef } from 'react'\nimport { Presentation } from 'pobble-components/dist/presentation'\nimport { useReactToPrint } from 'react-to-print'\nimport styles from './use-presentation-print.styles'\nimport injectSheet from 'react-jss'\nimport classNames from 'classnames'\nimport { createPortal } from 'react-dom'\nimport posthog from 'posthog-js'\n\nconst usePresentationPrint = (data, { onAfterPrint, test } = {}) => {\n const [printInProgress, setPrintInProgress] = useState(false)\n const componentRef = useRef(null)\n const handlePrint = useReactToPrint({\n onAfterPrint: () => {\n posthog.capture('After presentation print')\n setPrintInProgress(false)\n onAfterPrint && onAfterPrint()\n },\n copyStyles: true,\n pageStyle:\n '@page { size: A4 landscape; margin: 0mm; } @media print { body { -webkit-print-color-adjust: exact; color-adjust: exact; } }\"',\n content: () => componentRef.current\n })\n const print = () => {\n setPrintInProgress(true)\n if (!test) {\n setTimeout(handlePrint, 3000)\n }\n }\n const PrintComponent = injectSheet(styles)(({ classes }) => {\n return !printInProgress\n ? null\n : createPortal(\n \n \n {({ slides }) => slides}\n \n ,\n document.body\n )\n })\n return { PrintComponent, print, printInProgress }\n}\n\nexport default usePresentationPrint\n","import * as React from 'react'\nimport injectSheet from 'react-jss'\nimport classNames from 'classnames'\n\nconst styles = ({ COLORS }) => ({\n checkmarkCircle: {\n strokeDasharray: '166',\n strokeDashoffset: '166',\n strokeWidth: '2',\n strokeMiterlimit: '10',\n stroke: COLORS.GREEN.NORMAL,\n fill: 'none',\n animation: 'stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards'\n },\n checkmark: {\n width: '56px',\n height: '56px',\n borderRadius: '50%',\n display: 'block',\n strokeWidth: '2',\n stroke: '#fff',\n strokeMiterlimit: '10',\n margin: '10% auto',\n boxShadow: `inset 0px 0px 0px ${COLORS.GREEN.NORMAL}`\n },\n ready: {\n animation: 'fill .4s ease-in-out forwards, scale .3s ease-in-out .5s both',\n '& $checkmarkCheck': {\n animation: 'stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards'\n }\n },\n checkmarkCheck: {\n transformOrigin: '50% 50%',\n strokeDasharray: '48',\n strokeDashoffset: '48'\n },\n '@keyframes stroke': {\n '100%': {\n strokeDashoffset: '0'\n }\n },\n '@keyframes scale': {\n '0%, 100%': {\n transform: 'none'\n },\n '50%': {\n transform: 'scale3d(1.1, 1.1, 1)'\n }\n },\n '@keyframes fill': {\n '100%': {\n boxShadow: `inset 0px 0px 0px 30px ${COLORS.GREEN.NORMAL}`\n }\n }\n})\n\nconst SvgComponent = injectSheet(styles)(({ classes, ready, ...props }) => {\n return (\n \n \n \n \n )\n})\n\nexport default SvgComponent\n","import { Modal, ModalContent } from 'pobble-components/dist/modal'\nimport React, { useState, useMemo, useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport Button from 'pobble-components/dist/button'\nimport { useMe } from 'pobble-components/dist/pobble-user'\nimport { apiClient } from 'pobble-components/dist/api'\nimport {\n useChargebeeScript,\n useSubscriptionDetails\n} from 'pobble-components/dist/subscriptions/utils'\nimport { useHistory, useLocation } from 'react-router-dom'\nimport duck from './duck-rocket.gif'\nimport posthog from 'posthog-js'\nimport edtechImpact from './edtech-impact.png'\nimport { ENV } from 'pobble-components/dist/setup'\n\nconst currencyMap = {\n AUD: 'A$',\n NZD: 'NZ$',\n USD: '$',\n GBP: '£'\n}\n\nconst UpgradeButton = injectSheet({\n button: {\n margin: '24px auto 0',\n background: 'var(--yellow) !important',\n color: 'var(--gray) !important',\n border: '1px solid var(--gray) !important',\n display: 'flex',\n justifyContent: 'center',\n '&:hover': {\n background: 'var(--yellow-) !important'\n }\n }\n})(({ id, classes, requestClose, children, freeTrial = true }) => {\n const { openCheckout } = useChargebeeScript()\n const history = useHistory()\n const location = useLocation()\n\n return (\n {\n requestClose()\n history.replace({\n pathname: location.pathname,\n search: `from=${id}`\n })\n posthog.capture('user clicked upsell modal cta', {\n id\n })\n openCheckout({\n url: 'v3/me/subscriptions/checkout_new_pobble_silver_js',\n params: { annual: true, add_trial: freeTrial },\n options: {\n step: step => {\n posthog.capture('checkout step', {\n id,\n step\n })\n },\n close: () => {\n history.replace({\n pathname: location.pathname,\n search: false\n })\n }\n }\n })\n }}\n className={`${\n classes.button\n } metrics__subscription_modal metrics__subscription_modal--${id}`}\n tall>\n {children}\n \n )\n})\n\nconst SchoolLeaders = injectSheet({\n title: {\n fontSize: '22px',\n lineHeight: '28px'\n },\n pitch: {\n font: 'var(--body-)',\n margin: '4px 0'\n },\n list: {\n flex: '1',\n padding: '0',\n listStyle: 'none',\n textAlign: 'left',\n font: 'var(--body)',\n display: 'flex',\n flexDirection: 'column',\n gap: '16px',\n '& li': {\n display: 'flex',\n gap: '10px'\n },\n '& svg': {\n color: 'var(--green)',\n fontSize: '20px'\n },\n '& span[role=img]': {\n marginTop: '2px'\n }\n },\n body: {\n display: 'flex',\n alignItems: 'center',\n margin: '36px 0 28px',\n flexDirection: 'column-reverse',\n gap: '48px',\n '@media (min-width: 768px)': {\n flexDirection: 'row',\n gap: '16px'\n }\n },\n price: {\n margin: 0,\n font: 'var(--heading_)'\n },\n priceNote: {\n margin: '16px auto',\n maxWidth: '440px'\n },\n edtech: {\n padding: '16px',\n borderTop: '1px solid var(--light-gray)',\n margin: '24px -32px -48px',\n '@media (min-width: 768px)': {\n margin: '24px -56px -48px'\n },\n '& img': {\n maxWidth: '200px',\n height: 'auto'\n }\n },\n button: {\n margin: '24px auto 0',\n background: 'var(--yellow) !important',\n color: 'var(--gray) !important',\n border: '1px solid var(--gray) !important',\n display: 'flex',\n justifyContent: 'center',\n width: '200px',\n '&:hover': {\n background: 'var(--yellow-) !important'\n }\n }\n})(({ classes, requestClose, id, price }) => {\n const setLinkEnv = link => {\n return `${link}${ENV !== 'prod' ? '-stg' : ''}`\n }\n\n return (\n <>\n

\n \n 🌟\n {' '}\n Unlock Pobble Premium for your whole school!{' '}\n \n 🌟\n \n

\n

\n The easiest and most effective way to improve writing standards across\n your school.\n

\n
\n
    \n
  • \n \n ⏰\n \n \n Save planning time: Provide every teacher with\n unlimited access to high-quality, ready-made writing lessons that\n can seamlessly enhance your existing English plans.\n \n
  • \n
  • \n \n ✅\n \n \n Curriculum-aligned: Pobble aligns with all\n curriculums and is simple to set up without requiring additional\n CPD for staff.\n \n
  • \n
  • \n \n 💡\n \n \n Inspire every student: Motivate every child to\n write with enthusiasm and confidence using differentiated\n activities designed for diverse learners.\n \n
  • \n
  • \n \n 💛\n \n \n Embed a school-wide love of writing: Make\n writing exciting for students while saving teachers hours of\n planning time.\n \n
  • \n
\n \"Duck\"\n
\n
\n

\n All this and more for only{' '}\n \n {!price ? '...' : `${price.currency}${price.schoolPrice}/year`}\n !
Ready to improve writing in your school? 🪄📝\n

\n
\n {\n posthog.capture('clicked on school leaders upsell cta')\n requestClose()\n }}\n className={`${\n classes.button\n } metrics__subscription_modal metrics__subscription_modal--${id}`}\n tall>\n Buy for your school now\n \n
\n \n \n \n
\n \n )\n})\n\nconst FreeTrial = injectSheet({\n pitch: {\n font: 'var(--body-)',\n margin: '4px 0'\n },\n list: {\n flex: '1',\n padding: '0',\n listStyle: 'none',\n textAlign: 'left',\n font: 'var(--body)',\n display: 'flex',\n flexDirection: 'column',\n gap: '16px',\n '& li': {\n display: 'flex',\n gap: '10px',\n fontWeight: 'bold',\n alignItems: 'center'\n },\n '& svg': {\n color: 'var(--green)',\n fontSize: '20px'\n }\n },\n body: {\n display: 'flex',\n alignItems: 'center',\n margin: '56px 0 48px',\n flexDirection: 'column-reverse',\n gap: '48px',\n '@media (min-width: 768px)': {\n flexDirection: 'row',\n gap: '16px'\n }\n },\n priceNote: {\n font: 'var(--body-)',\n color: 'var(--gray-)',\n margin: '16px auto 0',\n lineHeight: '24px'\n },\n edtech: {\n padding: '16px',\n borderTop: '1px solid var(--light-gray)',\n margin: '24px -32px -48px',\n '@media (min-width: 768px)': {\n margin: '24px -56px -48px'\n },\n '& img': {\n maxWidth: '200px',\n height: 'auto'\n }\n }\n})(({ classes, price, requestClose, id }) => {\n return (\n <>\n

\n \n 🌟\n {' '}\n Unlock your ultimate writing experience with Pobble Premium!{' '}\n \n 🌟\n \n

\n

\n Are you ready to elevate your teaching and inspire young writers like\n never before? Discover the power of Pobble Premium with your{' '}\n \n 7-day FREE trial!{' '}\n \n 🚀\n \n \n

\n
\n
    \n
  • \n \n 🗓️\n {' '}\n Full access to the Pobble 365 Calendar and differentiated\n activities.\n
  • \n
  • \n \n ✍️\n Select the difficulty of the writing activities\n
  • \n
  • \n \n 📝\n {' '}\n Topic and quick write lessons.\n
  • \n
  • \n \n 💡\n {' '}\n Plus, you can save, edit, and share unlimited writing content!\n
  • \n
\n \"Duck\"\n
\n
\n All this and more, for just{' '}\n {price && `${price.currency}${price.price}/month`}!
\n \n 🚀\n {' '}\n Don't miss out – try Pobble Premium now!{' '}\n \n 🚀\n \n
\n \n Start my 7-day free trial\n \n

\n No payment needed now. Cancel anytime
\n \n After your 7-day trial, continue to enjoy Pobble Premium for just{' '}\n {price && `${price.currency}${price.price}/month`}, billed annually.\n \n

\n
\n \n \n \n
\n \n )\n})\n\nconst HadTrialBefore = injectSheet({\n pitch: {\n font: 'var(--body-)',\n margin: '4px 0'\n },\n list: {\n flex: '1',\n padding: '0',\n listStyle: 'none',\n textAlign: 'left',\n font: 'var(--body)',\n display: 'flex',\n flexDirection: 'column',\n gap: '16px',\n '& li': {\n display: 'flex',\n gap: '10px',\n fontWeight: 'bold',\n alignItems: 'center'\n },\n '& svg': {\n color: 'var(--green)',\n fontSize: '20px'\n }\n },\n body: {\n display: 'flex',\n alignItems: 'center',\n margin: '56px 0 48px',\n flexDirection: 'column-reverse',\n gap: '48px',\n '@media (min-width: 768px)': {\n flexDirection: 'row',\n gap: '16px'\n }\n },\n priceNote: {\n font: 'var(--body-)',\n color: 'var(--gray-)',\n margin: '16px auto 0',\n lineHeight: '24px'\n }\n})(({ classes, price, requestClose, id }) => {\n return (\n <>\n

\n \n 🌟\n {' '}\n Unlock your ultimate writing experience with Pobble Premium!{' '}\n \n 🌟\n \n

\n

\n Are you ready to elevate your teaching and inspire young writers like\n never before? Discover the power of Pobble Premium\n

\n
\n
    \n
  • \n \n 🗓️\n {' '}\n Full access to the Pobble 365 Calendar and differentiated\n activities.\n
  • \n
  • \n \n 📝\n {' '}\n Topic and quick write lessons.\n
  • \n
  • \n \n 💡\n {' '}\n Plus, you can save, edit, and share unlimited writing content!\n
  • \n
\n \"Duck\"\n
\n
\n All this and more, for just{' '}\n {price && `${price.currency}${price.price}/month`}!
\n \n 🚀\n {' '}\n Don't miss out – upgrade now!{' '}\n \n 🚀\n \n
\n \n Upgrade now\n \n \n )\n})\n\nconst Upsell = injectSheet({\n content: {\n maxWidth: '680px',\n padding: '0',\n borderRadius: '8px',\n overflow: 'hidden'\n },\n holder: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n borderRadius: '8px',\n '& > *': {\n padding: '48px 32px',\n '@media (min-width: 768px)': {\n padding: '48px 56px'\n }\n }\n },\n signIn: {\n padding: '20px 32px',\n textAlign: 'center',\n background: '#f5f5f5',\n '& a': {\n color: 'var(--blue)',\n fontWeight: 'bold',\n textDecoration: 'underline'\n }\n },\n tier: {\n background: '#f0f0f0',\n '& h3': {\n textAlign: 'center',\n margin: '0 0 48px'\n },\n '@media (min-width: 768px)': {\n width: '100%'\n }\n },\n upsell: {\n font: 'var(--body)',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n '& h2': {\n margin: '0'\n }\n },\n price: {\n textAlign: 'center',\n margin: '0 0 48px',\n height: '84px',\n '& p': {\n margin: '0'\n },\n '& p:first-child': {\n position: 'relative',\n display: 'inline-block'\n }\n },\n currency: {\n position: 'absolute',\n top: '4px',\n right: '100%',\n marginRight: '-4px'\n },\n priceNumber: {\n fontSize: '64px',\n lineHeight: '1.2'\n },\n priceNote: {\n font: 'var(--body-)',\n color: 'var(--gray-)',\n margin: '16px auto 0',\n lineHeight: '24px'\n },\n spinner: {\n color: '#fff',\n fontSize: '16px',\n margin: 'auto'\n },\n pitch: {\n font: 'var(--body-)',\n margin: '4px 0'\n },\n list: {\n flex: '1',\n padding: '0',\n listStyle: 'none',\n textAlign: 'left',\n font: 'var(--body)',\n display: 'flex',\n flexDirection: 'column',\n gap: '16px',\n '& li': {\n display: 'flex',\n gap: '10px',\n fontWeight: 'bold',\n alignItems: 'center'\n },\n '& svg': {\n color: 'var(--green)',\n fontSize: '20px'\n }\n },\n body: {\n display: 'flex',\n alignItems: 'center',\n margin: '56px 0 48px',\n flexDirection: 'column-reverse',\n gap: '48px',\n '@media (min-width: 768px)': {\n flexDirection: 'row',\n gap: '16px'\n }\n }\n})(({ classes, children, id, requestClose, hideCta }) => {\n const { me } = useMe()\n const { offerFreeTrial } = useSubscriptionDetails()\n const isLoggedIn = !!me\n\n const [subsData, setSubsData] = useState(null)\n\n /*const variant =\n useFeatureFlagVariantKey('save-dedicated-upsell-2') || 'control'*/\n\n const price = useMemo(\n () => {\n if (!subsData) return null\n return {\n currency: currencyMap[subsData.currency],\n price: parseInt(subsData.pobble_silver_annual) / 12,\n schoolPrice: parseInt(subsData.pobble_school_a_annual)\n }\n },\n [subsData]\n )\n\n useEffect(() => {\n apiClient\n .get('v3/subscriptions/marketing_data')\n .then(res => setSubsData(res.data.subscription_marketing_data))\n }, [])\n\n useEffect(\n () => {\n posthog.capture('user opened upsell modal', {\n id: id\n })\n },\n [id]\n )\n\n const isSchoolRepresentative =\n me.account.role_in_life === 'school_administrator' ||\n me.account.role_in_life === 'english_leader_in_school'\n\n return (\n \n
\n
\n {isSchoolRepresentative ? (\n \n ) : offerFreeTrial ? (\n \n ) : (\n \n )}\n
\n
\n {!isLoggedIn && (\n
\n Already have a subscription? Sign in\n
\n )}\n
\n )\n})\n\nexport const UpsellModal = ({ isOpen, requestClose, ...props }) => {\n return (\n \n \n \n )\n}\n","import React, { useState, useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport { Modal, ModalContent, ModalFooter } from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faPrint } from '@fortawesome/pro-solid-svg-icons/faPrint'\nimport usePresentationPrint from '../use-presentation-print/use-presentation-print'\nimport { apiGetPresentation } from '../../common/api/lesson'\nimport Checkmark from './animated-checkmark'\nimport {\n useFeatureCounter,\n SubsCrown\n} from 'pobble-components/dist/subscriptions'\nimport { useSubscriptionDetails } from 'pobble-components/dist/subscriptions/utils'\nimport Cookies from 'js-cookie'\nimport { UpsellModal } from '../pages/prompt/upsell'\nimport posthog from 'posthog-js'\n\nconst styles = ({ COLORS }) => ({\n content: {\n minWidth: 'auto',\n width: '300px',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center'\n },\n icon: {\n marginTop: '.1em',\n marginBottom: '.2em',\n fontSize: '6em',\n color: COLORS.TEXT.LIGHT_GREY.NORMAL\n },\n freeTrialWarning: {\n padding: '16px 12px',\n borderRadius: '8px',\n background: '#fee43342',\n color: 'var(--gray)',\n marginTop: '24px',\n textAlign: 'center',\n '& strong': {\n display: 'block',\n marginTop: '8px'\n }\n }\n})\n\nconst PrintModal = ({ classes, id, isOpen, ...props }) => {\n const [presentation, setPresentation] = useState(null)\n const [upsellModalOpen, setUpsellModalOpen] = useState(false)\n\n const { PrintComponent, print, printInProgress } = usePresentationPrint(\n presentation,\n {\n onAfterPrint: () => {\n if (freeTrial) {\n const freePrints = Cookies.get('freePrints') || 10\n Cookies.set('freePrints', freePrints - 1)\n }\n return props.requestClose()\n }\n }\n )\n\n const { freeTrial } = useSubscriptionDetails()\n\n const freePrints = Cookies.get('freePrints') || 10\n\n const [printPresentationCounter, printPresentationSp] = useFeatureCounter(\n 'PresentationPrint',\n sp => sp.lesson_planning.print_presentation\n )\n\n useEffect(\n () => {\n if (id) {\n apiGetPresentation(id, {\n include:\n 'presentation.asset,presentation.lesson,presentation.account.names,presentation.account.avatar,presentation.names,presentation.image,presentation.details,presentation.slides,presentation.slide.details,presentation.slide.type,presentation.year_groups,presentation.year_group.order,presentation.recommended_until,presentation.category,presentation.flag.data'\n })\n .then(res => setPresentation(res.data.presentation))\n .catch()\n }\n },\n [id]\n )\n\n return (\n <>\n \n \n \n \n {!presentation && 'Preparing for print...'}\n {!!presentation && 'Ready to be printed'}\n \n {freeTrial &&\n freePrints < 5 && (\n
\n You have 10 free prints during your free-trial. After your free\n trial ends you will be able to print unlimited resources with a\n subscription.
\n \n {Cookies.get('freePrints') || 10} free prints left\n \n
\n )}\n
\n \n \n \n ) : (\n \n )\n }\n pending={printInProgress}\n disabled={\n !presentation || (freeTrial && Cookies.get('freePrints') === '0')\n }\n tall\n action={() => {\n if (printPresentationSp.restricted) {\n posthog.capture('triggers upsell modal from print', {\n lesson_category: presentation.category,\n lesson_id: presentation.id,\n lesson_title: presentation.title\n })\n setUpsellModalOpen(true)\n return props.requestClose()\n }\n print()\n printPresentationCounter()\n }}>\n {printInProgress && 'Loading...'}\n {!printInProgress && 'Print'}\n \n \n \n
\n setUpsellModalOpen(false)}\n />\n \n )\n}\n\nexport default injectSheet(styles)(PrintModal)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './info-message.styles'\nimport InfoIcon from 'react-icons/lib/fa/info-circle'\n\nconst InfoMessage = ({ classes, title }) => (\n

\n \n You are sharing \"{title}\n

\n)\n\nexport default injectSheet(styles)(InfoMessage)\n","export default ({ COLORS }) => ({\n message: {\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n margin: '20px 0 0',\n display: 'flex',\n alignItems: 'center'\n },\n icon: {\n marginRight: '5px'\n }\n})\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './share-lesson-modal.styles'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport EmailInput from 'pobble-components/dist/email-input'\nimport { ColorsInfo } from 'pobble-components/dist/email-input/utils'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport FormTextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport CharactersCount from 'pobble-components/dist/form-elements/characters-count'\nimport FormRow from 'pobble-components/dist/form-elements/form-row'\nimport InfoMessage from './info-message/info-message'\nimport { useRecaptcha } from 'pobble-components/dist/recaptcha'\n\nconst ShareLesson = injectSheet(styles)(\n ({\n classes,\n onSubmit,\n requestClose,\n pending,\n id,\n title,\n disableEmailClassification\n }) => {\n const [selectedEmails, setSelectedEmails] = useState([])\n const [message, setMessage] = useState('')\n\n const {\n Recaptcha,\n recaptchaProps,\n getReCaptchaToken,\n recaptchaPending\n } = useRecaptcha()\n\n return (\n <>\n Share resource\n \n \n \n To: {!!selectedEmails.length && }\n \n \n \n \n \n Message (optional) \n \n setMessage(e.target.value)}\n />\n \n \n \n \n \n getReCaptchaToken(recaptchaToken =>\n onSubmit({\n emails: selectedEmails,\n recaptchaToken,\n message\n }).then(requestClose)\n )\n }\n tall>\n {!pending &&\n !recaptchaPending &&\n `Send ${\n selectedEmails.length > 1 ? `${selectedEmails.length} ` : ''\n }invitation${selectedEmails.length > 1 ? 's' : ''}`}\n {(recaptchaPending || pending) && 'Sending...'}\n \n \n \n \n )\n }\n)\n\nconst ShareLessonModal = ({ requestClose, isOpen, ...props }) => {\n return (\n \n \n \n )\n}\n\nexport default ShareLessonModal\n","const getState = state => state.LessonsList.state\n\nconst getShareLessonRequest = state => state.LessonsList.shareLessonRequest\n\nconst getDeleteLessonDialogId = state => getState(state).deleteLessonDialogId\n\nconst isCreateModalOpen = state => getState(state).createModalOpen\n\nconst isShareModalOpen = state => getState(state).shareModal.opened\n\nconst getShareLessonId = state => getState(state).shareModal.id\n\nexport {\n getDeleteLessonDialogId,\n isCreateModalOpen,\n isShareModalOpen,\n getShareLessonRequest,\n getShareLessonId\n}\n","import { apiShareBulk } from '../../../../common/api/lesson'\n\nconst changeActiveTab = tabName => ({\n type: 'LESSON_LIST:CHANGE_ACTIVE_TAB',\n tabName\n})\n\nconst showDeleteLessonDialog = lessonId => ({\n type: 'LESSON_LIST:SHOW_DELETE_LESSON_DIALOG',\n lessonId\n})\n\nconst closeDeleteLessonDialog = lessonId => ({\n type: 'LESSON_LIST:CLOSE_DELETE_LESSON_DIALOG'\n})\n\nconst openShareModal = id => ({ type: 'LESSON_LIST:OPEN_SHARE_MODAL', id })\nconst closeShareModal = () => ({ type: 'LESSON_LIST:CLOSE_SHARE_MODAL' })\n\nconst shareLesson = (presentationId, { emails, recaptchaToken, message }) => ({\n requestPrefix: 'LESSON_LIST:SHARE',\n params: { presentationId, emails },\n request: () => {\n const payload = {\n presentation_id: presentationId,\n emails,\n recaptcha_token: recaptchaToken\n }\n if (message) payload.message = message\n\n return apiShareBulk(payload)\n }\n})\n\nexport {\n changeActiveTab,\n showDeleteLessonDialog,\n closeDeleteLessonDialog,\n shareLesson,\n openShareModal,\n closeShareModal\n}\n","import { connect } from 'react-redux'\nimport ShareLessonModal from './share-lesson-modal'\nimport { getShareLessonRequest } from '../pages/lessons-list/redux/lessons.selectors'\nimport { shareLesson } from '../pages/lessons-list/redux/lessons.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { toast } from 'pobble-components/dist/toast'\n\nconst mapStateToProps = (state, { id }) => {\n const shareLessonRequest = getShareLessonRequest(state)\n return {\n key: id,\n presentationId: id,\n pending: shareLessonRequest.pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onSubmit: ({ emails, recaptchaToken, message }) => {\n return dispatch(\n shareLesson(stateProps.presentationId, {\n emails: emails.map(email => email.value),\n recaptchaToken,\n message\n })\n )\n .then(() => {\n return toast.success('Your resources are on the way!')\n })\n .catch(errorHandler)\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(ShareLessonModal)\n","import React from 'react'\nimport { Modal, ModalContent } from 'pobble-components/dist/modal'\nimport injectSheet from 'react-jss'\nimport QRCode from 'react-qr-code'\n\nconst QRCodeComponent = injectSheet({\n container: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n }\n})(({ classes, link }) => {\n return (\n
\n \n
\n )\n})\n\nexport const QRCodeModal = injectSheet({\n content: {\n padding: '80px',\n width: 'auto'\n }\n})(({ classes, isOpen, link, requestClose }) => {\n return (\n \n \n \n \n \n )\n})\n","import React, { useState, createContext, useMemo, useContext } from 'react'\nimport injectSheet from 'react-jss'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faPaperPlane } from '@fortawesome/pro-solid-svg-icons/faPaperPlane'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormTextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport ToggleSwitch from 'pobble-components/dist/form-elements/toggle-switch'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport classNames from 'classnames'\nimport { Formik } from 'formik'\nimport * as Yup from 'yup'\nimport DateTimePicker from 'react-datetime-picker'\nimport { apiCreatePASession } from '../../../../common/api/pupil-activities'\nimport { withRouter } from 'react-router-dom'\nimport duck from '../../../../common/images/duck.gif'\nimport PupilSelectorModal from 'pobble-components/dist/pupil-selector'\nimport {\n useFeatureCounter,\n SubsCrown\n} from 'pobble-components/dist/subscriptions'\n\nconst SendToPupilsContext = createContext(null)\n\nconst formRowStyles = {\n container: {\n display: 'flex',\n alignItems: 'flex-end',\n marginTop: '20px',\n '&:first-child': {\n marginTop: '0'\n }\n }\n}\n\nconst FormRow = injectSheet(formRowStyles)(({ classes, children }) => (\n
{children}
\n))\n\nconst formCellStyles = {\n container: {\n minWidth: '200px',\n marginLeft: '20px',\n '&:first-child': {\n marginLeft: '0'\n }\n }\n}\n\nconst FormCell = injectSheet(formCellStyles)(\n ({ classes, children, className }) => (\n
{children}
\n )\n)\n\nconst thanksStyles = ({ COLORS }) => ({\n modalContent: {\n minWidth: '400px',\n padding: '0'\n },\n topBox: {\n background: '#fff',\n borderRadius: '8px 8px 0 0',\n textAlign: 'center',\n '& img': {\n marginTop: '10px',\n width: '50%'\n }\n },\n textBox: {\n fontSize: '14px',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n padding: '20px 20px 25px',\n '& h2': {\n margin: '0 0 .5em',\n fontSize: '1.71em',\n lineHeight: '1.2'\n },\n '& p': {\n fontSize: '1em',\n margin: '0 0 1.2em'\n }\n }\n})\n\nconst Thanks = injectSheet(thanksStyles)(({ classes }) => {\n const { requestClose } = useContext(SendToPupilsContext)\n return (\n <>\n \n
\n \"Duck\"\n
\n
\n

Thank you!

\n

Your lesson has been sent to your class.

\n \n
\n
\n \n )\n})\n\nconst formStyles = ({ COLORS, FONT_SIZES }) => ({\n groupsBone: {\n height: '40px',\n borderRadius: '4px',\n display: 'block'\n },\n groupsCell: {\n minWidth: '200px'\n },\n nameCell: {\n width: '100%'\n },\n modalContent: {\n minWidth: '400px'\n },\n selectPupils: {\n ...FONT_SIZES.HEADING_TINY.STYLE,\n color: COLORS.TEXT.MID_GREY.NORMAL,\n margin: '1em 0',\n textDecoration: 'underline'\n },\n newGroupCell: {\n alignSelf: 'flex-start',\n marginTop: '1.3em'\n },\n dateTimePicker: {\n width: '100%',\n '& .react-datetime-picker__wrapper': {\n borderRadius: '4px',\n borderColor: '#ddd',\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n '& input': {\n color: COLORS.TEXT.LIGHT_GREY.NORMAL\n }\n },\n '& .react-datetime-picker__inputGroup': {\n padding: '10px 15px'\n }\n },\n peerReviewSection: {\n margin: '20px -20px 0',\n padding: '20px 20px 0',\n borderTop: '1px solid #ececec'\n },\n peerReviewHint: {\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n ...FONT_SIZES.BODY_SMALL.STYLE,\n margin: '16px 0 0'\n },\n peerReviewLabel: {\n marginBottom: '16px !important'\n }\n})\n\nconst SendToPupilsForm = withRouter(\n injectSheet(formStyles)(\n ({ classes, match, onPupilsSelect, presentationId }) => {\n const {\n setStatus,\n status,\n presentationTitle,\n presentationLo,\n requestClose,\n selectedPupils\n } = useContext(SendToPupilsContext)\n\n const [sendToPupilsCounter, sendToPupilsSP] = useFeatureCounter(\n 'PresentationToPupilSending',\n sp => sp.lesson_planning.send_presentation_to_pupils\n )\n\n return (\n {\n if (sendToPupilsSP.restricted) {\n sendToPupilsSP.showDialog({\n trigger: 'send-to-pupils',\n title:\n 'You need a subscription to send unlimited resources to pupils'\n })\n return requestClose()\n }\n setStatus('pending')\n apiCreatePASession({\n title: values.name,\n description: values.description,\n account_ids: selectedPupils,\n accessible_at: values.date,\n presentation_id: presentationId,\n peer_review: selectedPupils.length < 2 ? false : values.peerReview\n })\n .then(() => {\n setStatus('sent')\n sendToPupilsCounter()\n })\n .catch(errorHandler)\n }}\n initialValues={{\n name: presentationTitle,\n date: new Date(),\n description: presentationLo,\n peerReview: false\n }}\n validationSchema={Yup.object().shape({\n name: Yup.string().required('Name can not be blank')\n })}>\n {({\n handleSubmit,\n isValid,\n values,\n submitForm,\n handleChange,\n handleBlur,\n errors,\n touched,\n setFieldValue\n }) => (\n
\n \n \n \n Name\n \n \n \n \n \n Description\n \n \n \n \n \n Share with\n {!selectedPupils.length && (\n \n )}\n {!!selectedPupils.length && (\n \n )}\n \n \n \n \n \n Pupils can access the lesson from:\n \n setFieldValue('date', value)}\n value={values.date}\n />\n \n \n {selectedPupils.length > 1 && (\n
\n \n Enable peer review?\n \n \n

\n Each pupil will automatically have their work shared with\n another pupil for them to review\n

\n
\n )}\n
\n \n \n \n ) : (\n \n )\n }>\n {status === 'pending' && 'Sending'}\n {status !== 'pending' && 'Share with pupils'}\n \n \n
\n )}\n \n )\n }\n )\n)\n\nconst SendToPupilsModal = ({\n isOpen,\n requestClose,\n presentationTitle,\n presentationLo,\n presentationId\n}) => {\n const [status, setStatus] = useState(false)\n const [pupilSelectorOpened, setPupilsSelectorOpened] = useState(false)\n const [selectedPupils, setSelectedPupils] = useState([])\n\n const selectedMap = useMemo(\n () => {\n const result = {}\n selectedPupils.forEach(id => (result[id] = true))\n return result\n },\n [selectedPupils]\n )\n\n const value = useMemo(\n () => ({\n status,\n setStatus,\n presentationTitle,\n requestClose,\n presentationLo,\n selectedPupils\n }),\n [\n setStatus,\n presentationTitle,\n presentationLo,\n requestClose,\n status,\n selectedPupils\n ]\n )\n return (\n <>\n setStatus(false)}\n isOpen={isOpen}\n requestClose={requestClose}\n closeButton={status !== 'sent'}>\n \n {status !== 'sent' && Share with pupils}\n {status !== 'sent' && (\n setPupilsSelectorOpened(true)}\n />\n )}\n {status === 'sent' && }\n \n setSelectedPupils(ids)}\n isOpen={pupilSelectorOpened}\n requestClose={() => setPupilsSelectorOpened(false)}\n />\n \n \n )\n}\n\nexport default SendToPupilsModal\n","import { apiClient } from 'pobble-components/dist/api'\n\nconst apiCreatePASession = (data, params) =>\n apiClient.post('/v3/pa_sessions', data, { params })\n\nexport { apiCreatePASession }\n","import React, { useState } from 'react'\nimport Button from 'pobble-components/dist/button'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faExternalLink } from '@fortawesome/pro-regular-svg-icons/faExternalLink'\nimport { apiClient } from 'pobble-components/dist/api'\nimport { toast } from 'pobble-components/dist/toast'\nimport posthog from 'posthog-js'\nimport { Modal, ModalContent, ModalFooter } from 'pobble-components/dist/modal'\nimport { useSubscriptionDetails } from 'pobble-components/dist/subscriptions/utils'\nimport Checkmark from '../print-modal/animated-checkmark'\nimport injectSheet from 'react-jss'\n\nexport function useWritingPack({ presentation }) {\n const [writingPackState, setWritingPackState] = useState({\n pending: false,\n url: null,\n modalOpen: false\n })\n\n const { hasAccessToTL } = useSubscriptionDetails()\n\n function handleWritingPackClick() {\n posthog.capture('click on writing pack', {\n hasAccess: hasAccessToTL\n })\n\n const today = new Date().toDateString()\n const storedData = JSON.parse(\n localStorage.getItem('writingPacksUsed') || '{}'\n )\n\n if (storedData.date !== today) {\n storedData.date = today\n storedData.packs = []\n }\n\n if (!storedData.packs) {\n storedData.packs = []\n }\n\n if (\n !storedData.packs.includes(presentation.id) &&\n storedData.packs.length >= 5\n ) {\n toast.error(\n \"You've reached a daily limit of 5 writing packs. Please try again tomorrow!\"\n )\n return\n }\n\n setWritingPackState({\n pending: true,\n url: null,\n modalOpen: true\n })\n apiClient\n .get(`/v3/presentations/${presentation.id}/answer_sheet_pdf`)\n .then(res => {\n setWritingPackState({\n pending: false,\n url: res.data.url,\n modalOpen: true\n })\n\n posthog.capture('generated writing pack')\n\n if (!storedData.packs.includes(presentation.id)) {\n storedData.packs.push(presentation.id)\n localStorage.setItem('writingPacksUsed', JSON.stringify(storedData))\n }\n })\n .catch(e => {\n setWritingPackState({\n pending: false,\n url: null,\n modalOpen: false\n })\n })\n }\n\n return {\n handleWritingPackClick,\n closeWritingPackModal: () =>\n setWritingPackState({\n ...writingPackState,\n modalOpen: false\n }),\n writingPackState\n }\n}\n\nexport const WritingPackModal = injectSheet({\n content: {\n width: '300px',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center'\n }\n})(function WritingPackModal({\n classes,\n pending,\n modalOpen,\n url,\n requestClose,\n ...props\n}) {\n return (\n \n \n \n \n {!url && 'Preparing writing pack...'}\n {!!url && 'Writing pack is ready'}\n \n \n \n \n }\n tall\n onClick={() => {\n requestClose()\n window.open(url, '_blank')\n }}>\n Open\n \n \n \n )\n})\n","import { Modal, ModalContent } from 'pobble-components/dist/modal'\nimport React, { useEffect, useState } from 'react'\nimport injectSheet from 'react-jss'\nimport ButtonElement from 'pobble-components/dist/button-element'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faExpand } from '@fortawesome/pro-regular-svg-icons/faExpand'\nimport { faPrint } from '@fortawesome/pro-regular-svg-icons/faPrint'\nimport { faFileAlt } from '@fortawesome/pro-solid-svg-icons/faFileAlt'\nimport { faQrcode } from '@fortawesome/pro-regular-svg-icons/faQrcode'\nimport { faEnvelope } from '@fortawesome/pro-regular-svg-icons/faEnvelope'\nimport { faUsersClass } from '@fortawesome/pro-regular-svg-icons/faUsersClass'\nimport { faCopy } from '@fortawesome/pro-regular-svg-icons/faCopy'\nimport { faCheck } from '@fortawesome/pro-regular-svg-icons/faCheck'\nimport { faPencil } from '@fortawesome/pro-regular-svg-icons/faPencil'\nimport { apiClient } from 'pobble-components/dist/api'\nimport { toast } from 'pobble-components/dist/toast'\nimport { useHistory } from 'react-router-dom'\nimport { usePresentMode } from '../pages/direct-present/present-mode'\nimport Tooltip from 'pobble-components/dist/tooltip'\nimport PrintModal from '../print-modal/print-modal'\nimport ShareLessonModal from '../share-lesson-modal/share-lesson-modal.container'\nimport { useMe } from 'pobble-components/dist/pobble-user'\nimport { QRCodeModal } from './qrcode'\nimport SendToPupilsModal from '../pages/lesson/send-to-pupils-modal/send-to-pupils-modal'\nimport classNames from 'classnames'\nimport gclassroom from './gclassroom.png'\nimport posthog from 'posthog-js'\nimport { useSubscriptionDetails } from 'pobble-components/dist/subscriptions/utils'\nimport { UpsellModal } from '../pages/prompt/upsell'\nimport { useWritingPack, WritingPackModal } from './writing-pack'\n\nfunction objectToQueryParam(obj) {\n return Object.keys(obj)\n .map(key => encodeURIComponent(key) + '=' + encodeURIComponent(obj[key]))\n .join('&')\n}\n\nconst EditLesson = injectSheet({\n button: {\n fontWeight: 'bold',\n color: 'var(--dark-blue)',\n display: 'flex',\n gap: '6px',\n alignItems: 'center',\n padding: '0 4px',\n '& *': {\n pointerEvents: 'none'\n },\n '& svg': {\n fontSize: '12px'\n },\n '&:hover': {\n color: 'var(--dark-blue-)'\n },\n '&:focus': {\n outline: '1px solid var(--gray---)',\n outlineOffset: '4px',\n borderRadius: '4px'\n }\n }\n})(({ classes, presentation, onClick }) => {\n const history = useHistory()\n const [pending, setPending] = useState(false)\n const [upsellModalOpen, setUpsellModalOpen] = useState(false)\n const { hasAccessToTL } = useSubscriptionDetails()\n\n return (\n <>\n {\n onClick && onClick()\n if (!hasAccessToTL) {\n return setUpsellModalOpen(true)\n }\n setPending(true)\n apiClient\n .post(\n `/v3/presentations/${presentation.id}/create_presentation_copy`\n )\n .then(res => {\n history.push(`/lesson/${res.data.presentation.id}`, {\n fromPrompt: true\n })\n })\n }}\n className={classNames(classes.button, 'metrics__edit-button')}>\n {!pending && (\n <>\n Edit lesson before sharing\n \n )}\n {pending && 'Creating your copy...'}\n \n setUpsellModalOpen(false)}\n />\n \n )\n})\n\nconst LessonLink = injectSheet({\n container: {\n display: 'flex',\n flexDirection: 'column',\n gap: '4px'\n },\n label: {\n fontWeight: 'bold',\n color: 'var(--gray)'\n },\n link: {\n position: 'relative',\n '& input': {\n width: '100%',\n padding: '18px 52px 18px 20px',\n background: '#F3F3F3',\n borderRadius: '8px',\n border: '1px solid #F3F3F3',\n color: 'var(--gray-)',\n font: 'var(--body)',\n '&:focus': {\n borderColor: 'var(--gray--)'\n }\n }\n },\n buttonWrapper: {\n position: 'absolute',\n right: '0',\n top: '0',\n height: '100%',\n width: '60px'\n },\n button: {\n height: '100%',\n width: '100%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: '20px',\n color: 'var(--gray)',\n '& *': {\n pointerEvents: 'none'\n },\n '&:focus': {\n color: 'var(--dark-blue)'\n },\n '&:hover': {\n color: 'var(--dark-blue)'\n }\n },\n successIcon: {\n color: 'var(--gray) !important'\n }\n})(({ classes, link, onCopy }) => {\n const [success, setSuccess] = useState(false)\n\n return (\n
\n \n
\n \n \n {\n onCopy && onCopy()\n navigator.clipboard.writeText(link).then(\n () => {\n setSuccess(true)\n },\n () => {\n toast.error(\n 'Something went wrong. Try to copy the link manually'\n )\n }\n )\n }}\n className={classNames(\n classes.button,\n 'metrics__copy-student-link'\n )}>\n {!success && }\n {success && (\n \n )}\n \n \n
\n
\n )\n})\n\nconst ShareButton = injectSheet({\n button: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: '8px',\n textAlign: 'center',\n color: 'var(--gray)',\n '& *': {\n pointerEvents: 'none'\n },\n '&:hover $icon': {\n background: '#e0e0e0',\n borderColor: '#e0e0e0'\n },\n '&:focus $icon': {\n borderColor: 'var(--gray)'\n },\n '&:active $icon': {\n borderColor: 'var(--gray--)'\n }\n },\n icon: {\n border: '1px solid #F2F2F2',\n width: '70px',\n height: '70px',\n background: '#F2F2F2',\n borderRadius: '70px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: '20px'\n },\n title: {\n font: 'var(--body--)',\n fontWeight: 'bold'\n }\n})(({ classes, icon, children, onClick, className }) => {\n return (\n \n {icon}\n {children}\n \n )\n})\n\nconst Share = injectSheet({\n container: {\n padding: '24px'\n },\n title: {\n margin: '0 0 32px',\n font: 'var(--heading_)',\n color: 'var(--gray)'\n },\n buttons: {\n margin: '0',\n listStyle: 'none',\n padding: '0',\n display: 'flex',\n gap: '24px',\n flexWrap: 'wrap'\n },\n pageLinkSection: {\n marginTop: '32px'\n },\n editLessonSection: {\n borderTop: '1px solid #D4D4D4',\n paddingTop: '24px',\n display: 'flex',\n justifyContent: 'center',\n marginTop: '32px'\n },\n gclassroomIcon: {\n width: '32px'\n }\n})(\n ({\n classes,\n presentation,\n onAction,\n onPrint,\n onEmail,\n onQrCode,\n onSendToStudents,\n userIsOwner,\n from\n }) => {\n const { present } = usePresentMode()\n const { me } = useMe()\n const [token, setToken] = useState(presentation.token)\n const { hasAccessToTL } = useSubscriptionDetails()\n const {\n handleWritingPackClick,\n writingPackState,\n closeWritingPackModal\n } = useWritingPack({\n presentation\n })\n\n const posthogActionData = {\n id: presentation.id,\n title: presentation.title,\n category: presentation.category,\n from,\n hasAccessToTL,\n role: me.account.role_in_life\n }\n\n const link = !token\n ? null\n : `${window.location.origin}/lessons/preview/${token}`\n\n /**\n * If presentation is private, automatically set it to public\n * to be able to get a public link\n */\n useEffect(\n () => {\n if (!presentation.token) {\n apiClient\n .put(`/v3/presentations/${presentation.id}/set_to_public`, null, {\n params: { include: 'presentation.details' }\n })\n .then(res => setToken(res.data.presentation.token))\n }\n },\n [presentation]\n )\n\n return (\n
\n

Share

\n
    \n
  • \n {\n onAction()\n posthog.capture('Share action', {\n action: 'Google Classroom',\n ...posthogActionData\n })\n window.open(\n `https://classroom.google.com/u/0/share?url=${\n window.location.origin\n }/lessons/preview/${token}&${objectToQueryParam({\n title: `Pobble Lesson - \"${presentation.title}\"`,\n body: `Write a story about \"${presentation.title}\"`\n })}`\n )\n }}\n icon={\n \n }>\n Google
    Classroom\n \n
  • \n
  • \n {\n onAction()\n posthog.capture('Share action', {\n action: 'Full screen',\n ...posthogActionData\n })\n present(presentation.id)\n }}\n icon={}>\n Full screen\n \n
  • \n
  • \n {\n onAction()\n posthog.capture('Share action', {\n action: 'Print',\n ...posthogActionData\n })\n onPrint()\n }}\n icon={}>\n Print / PDF\n \n \n
  • \n {presentation.p365 && (\n
  • \n {\n handleWritingPackClick()\n posthog.capture('Share action', {\n action: 'Writing pack',\n ...posthogActionData\n })\n }}\n icon={}>\n Writing pack\n \n \n
  • \n )}\n
  • \n {\n onAction()\n posthog.capture('Share action', {\n action: 'QR Code',\n ...posthogActionData\n })\n onQrCode(link)\n }}\n icon={}>\n QR Code\n \n
  • \n {userIsOwner &&\n !!me.account.policy.can_see_actions && (\n <>\n
  • \n {\n onAction()\n posthog.capture('Share action', {\n action: 'Email',\n ...posthogActionData\n })\n onEmail()\n }}\n icon={}>\n Email
    teacher\n \n
  • \n
  • \n {\n onAction()\n posthog.capture('Share action', {\n action: 'Students',\n ...posthogActionData\n })\n onSendToStudents()\n }}\n icon={}>\n My students\n \n
  • \n \n )}\n
\n
\n {\n posthog.capture('Share action', {\n action: 'Copy link',\n ...posthogActionData\n })\n }}\n />\n
\n {!userIsOwner && (\n
\n {\n posthog.capture('Share action', {\n action: 'Edit lesson',\n ...posthogActionData\n })\n }}\n />\n
\n )}\n
\n )\n }\n)\n\nexport const ShareModal = injectSheet({\n content: {\n padding: '0'\n }\n})(({ classes, isOpen, presentation, requestClose, userIsOwner, from }) => {\n const [printModalOpen, setPrintModalOpen] = useState(false)\n const [sendToStudentsOpen, setSendToStudentsOpen] = useState(false)\n const [shareModalOpen, setShareModalOpen] = useState(false)\n const [qrModal, setQrModal] = useState({ open: false, link: null })\n const { me } = useMe()\n\n return (\n <>\n \n \n setPrintModalOpen(true)}\n onEmail={() => setShareModalOpen(true)}\n onQrCode={link => setQrModal({ open: true, link })}\n onSendToStudents={() => setSendToStudentsOpen(true)}\n onSendToPupils={() => setSendToStudentsOpen(true)}\n />\n \n \n {presentation && (\n <>\n setPrintModalOpen(false)}\n />\n setShareModalOpen(false)}\n />\n setQrModal({ ...qrModal, open: false })}\n link={qrModal.link}\n isOpen={qrModal.open}\n />\n setSendToStudentsOpen(false)}\n />\n \n )}\n \n )\n})\n","import React, { useEffect, useMemo, useState, useRef, useContext } from 'react'\nimport injectSheet from 'react-jss'\nimport { Table, HeadCell, TableRow, Cell } from 'pobble-components/dist/table'\nimport {\n BulkActionProvider,\n SelectAllButton,\n BulkCheckbox\n} from 'pobble-components/dist/bulk-action'\nimport { Link, withRouter } from 'react-router-dom'\nimport ContextMenu from './context-menu/context-menu.container'\nimport { useMe } from 'pobble-components/dist/pobble-user'\nimport { format } from 'date-fns'\nimport { Pagination } from 'pobble-components/dist/pagination'\nimport MyLessonsContext from './my-lessons.context'\nimport BulkAction from './bulk-action/bulk-action'\nimport Skeleton from './skeleton/skeleton'\nimport Controls from './controls/controls'\nimport octopus from '../../../../../common/images/octopus.png'\nimport LessonsContext from '../../../lessons/lessons.context'\nimport { PresentationThumbnail } from 'pobble-components/dist/presentation'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faLock } from '@fortawesome/pro-solid-svg-icons/faLock'\nimport { faGlobe } from '@fortawesome/pro-solid-svg-icons/faGlobe'\nimport { faCrown } from '@fortawesome/pro-solid-svg-icons/faCrown'\nimport { ShareModal } from '../../../../share/share'\nimport posthog from 'posthog-js'\n\nconst noResultsStyles = {\n container: {\n fontSize: '14px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexDirection: 'column',\n flex: '1',\n marginTop: '60px',\n marginBottom: '20px',\n '& img': {\n width: '17.2em',\n height: '17.2em'\n },\n '& p': {\n margin: '0'\n }\n }\n}\n\nconst NoResults = withRouter(\n injectSheet(noResultsStyles)(({ classes, children, history }) => {\n const { setCreateLessonOpened } = useContext(LessonsContext)\n return (\n
\n \"Octopus\"\n {children({ history, setCreateLessonOpened })}\n
\n )\n })\n)\n\nconst lessonStyles = ({ COLORS, FONT_SIZES }) => ({\n publicCell: {\n fontWeight: 'bold'\n },\n workIcon: {\n color: COLORS.PURPLE.NORMAL,\n fontSize: '1.3em',\n verticalAlign: 'middle',\n marginRight: '.3em',\n marginTop: '-.1em'\n },\n workIconDelivered: {\n color: COLORS.GREEN.NORMAL\n },\n workIconNoAccess: {\n color: COLORS.RED.FADED\n },\n holder: {\n display: 'flex',\n alignItems: 'center',\n textDecoration: 'none'\n },\n thumbnail: {\n width: '160px',\n borderRadius: '4px',\n overflow: 'hidden',\n marginRight: '16px',\n border: '1px solid #ececec',\n display: 'none',\n position: 'relative',\n '@media (min-width: 541px)': {\n display: 'block'\n },\n '& > *': {\n fontSize: '10px'\n }\n },\n statusLabel: {\n display: 'none',\n '@media (min-width: 541px)': {\n display: 'inline'\n }\n },\n title: {\n ...FONT_SIZES.BODY_LARGE.STYLE,\n color: COLORS.BLUE.NORMAL,\n fontWeight: 'bold',\n display: 'block'\n },\n info: {\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n ...FONT_SIZES.HEADING_NANO.STYLE,\n display: 'flex',\n '& svg': {\n color: '#c1c1c1',\n marginRight: '4px',\n fontSize: '.8em',\n marginTop: '-.2em'\n },\n '& > span:not(:first-child)': {\n position: 'relative',\n paddingLeft: '8px',\n marginLeft: '8px',\n '&:after': {\n content: '\"\"',\n position: 'absolute',\n left: '0',\n top: '4px',\n width: '2px',\n height: '2px',\n background: 'currentColor',\n borderRadius: '100%'\n }\n }\n },\n crown: {\n color: '#000',\n position: 'absolute',\n right: '4px',\n top: '4px',\n zIndex: '100',\n fontSize: '8px',\n width: '18px',\n height: '18px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n background: '#fee966',\n borderRadius: '18px'\n },\n quickAction: {\n display: 'none',\n '@media (min-width: 768px)': {\n display: 'flex'\n }\n }\n})\n\nconst Lesson = injectSheet(lessonStyles)(\n ({ data, classes, pending, canSeePupils, first, ...props }) => {\n const dataMap = useMemo(\n () => {\n return {\n id: data.id,\n title: data.title,\n public: data.public,\n lessonLink: data.id,\n token: data.token,\n lastEdited: format(new Date(data.updated_at), 'DD-MM-YYYY'),\n premiumRestricted: data.policy.premium_restricted\n }\n },\n [data]\n )\n\n return (\n \n \n \n \n \n \n
\n {dataMap.premiumRestricted && (\n \n \n \n )}\n \n
\n
\n \n {dataMap.lastEdited}\n {dataMap.public && (\n \n \n Public\n \n )}\n {!dataMap.public && (\n \n \n Private\n \n )}\n \n {dataMap.title}\n
\n \n
\n \n
\n \n
\n
\n \n )\n }\n)\n\nconst myLessonsStyles = {\n allCell: {\n width: '60px'\n },\n paginationHolder: {\n marginTop: '30px'\n },\n lastEdited: {\n width: '130px'\n },\n context: {\n width: '130px'\n },\n status: {\n width: '100px'\n },\n works: {\n width: '80px'\n },\n pupils: {\n width: '80px'\n }\n}\n\nconst MyLessons = ({\n classes,\n fetchPresentations,\n myPresentations,\n isUpdating,\n fetched,\n pagination,\n fetching,\n filters,\n setToPublic\n}) => {\n const tableRef = useRef(null)\n\n const filtersApplied = useMemo(\n () =>\n !filters.search_string && (!filters.scope || filters.scope === 'all')\n ? false\n : true,\n [filters]\n )\n\n useEffect(() => {\n fetchPresentations({\n scope: filters.scope,\n page: pagination ? pagination.current : 1,\n limit: 10,\n initiator: 'FIRST_LOAD',\n search_string: filters.search_string\n })\n }, []) // eslint-disable-line\n\n useEffect(\n () => {\n if (pagination) {\n posthog.capture('my lessons view', {\n pages: pagination.last,\n $set: { savedLessonsPages: pagination.last }\n })\n }\n },\n [pagination]\n )\n\n const onPageChange = state => {\n fetchPresentations({\n scope: filters.scope,\n page: state.selected,\n limit: 10,\n initiator: 'PAGINATION',\n search_string: filters.search_string\n })\n }\n\n const [shareModalState, setShareModalState] = useState({\n presentation: null,\n opened: false\n })\n\n const { me } = useMe()\n const canSeePupils = !!me.account.policy.can_see_actions\n\n const providerValue = useMemo(\n () => ({\n setShareModalState,\n refreshPage: () =>\n fetchPresentations({\n scope: filters.scope,\n page: pagination.current,\n limit: 10,\n search_string: filters.search_string\n })\n }),\n [pagination, setShareModalState] // eslint-disable-line\n )\n\n return !fetching && !myPresentations.length && !filtersApplied ? (\n \n {({ history, setCreateLessonOpened }) => (\n <>\n

You don't have any lessons yet

\n \n )}\n
\n ) : (\n \n \n {!fetching && !myPresentations.length ? (\n \n {() => (\n <>\n

We couldn't find any lessons

\n

\n Try to change or clear filters\n

\n \n )}\n
\n ) : (\n \n \n \n \n \n \n \n \n \n \n \n \n \n {fetching && }\n {!fetching &&\n !!myPresentations.length && (\n \n {myPresentations.map((presentation, index) => (\n \n setShareModalState({\n id,\n title: presentation.title,\n opened: true\n })\n }\n />\n ))}\n \n )}\n
\n
\n )}\n
\n \n
\n \n setShareModalState({ ...shareModalState, opened: false })\n }\n />\n
\n )\n}\n\nexport default injectSheet(myLessonsStyles)(MyLessons)\n","import { connect } from 'react-redux'\nimport MyLessons from './my-lessons'\nimport {\n fetchMyPresentations,\n setPresentationToPublic\n} from '../../../../../stores/my-presentations/my-presentations.actions'\nimport {\n getMyPresentationsList,\n getData,\n isPresentationUpdating,\n getPagination,\n fetchingPresentations,\n getFilters\n} from '../../../../../stores/my-presentations/my-presentations.selectors'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = state => {\n const fetchingReq = fetchingPresentations(state)\n const fetching =\n fetchingReq.pending &&\n (fetchingReq.params.initiator === 'FIRST_LOAD' ||\n fetchingReq.params.initiator === 'PAGINATION' ||\n fetchingReq.params.initiator === 'FILTERS')\n return {\n fetched: !!getData(state),\n fetching,\n myPresentations: getMyPresentationsList(state),\n isUpdating: isPresentationUpdating(state),\n pagination: getPagination(state),\n filters: getFilters(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n setToPublic: (id, params) =>\n dispatch(setPresentationToPublic(id, params)).catch(errorHandler),\n fetchPresentations: params =>\n dispatch(fetchMyPresentations(params)).catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(MyLessons)\n","import React, { useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport Paper from '../../../paper/paper'\nimport TabNav from './tab-nav/tab-nav.container'\nimport SharedContainer from './shared/shared.container'\nimport { Route } from 'react-router-dom'\nimport MyLessons from './my-lessons/my-lessons.container'\n\nconst styles = {\n paper: {\n minHeight: 'calc(100vh - 230px)',\n margin: '-20px',\n borderRadius: '0',\n borderTop: '1px solid #ececec',\n paddingBottom: '80px',\n '@media (min-width: 768px)': {\n margin: '0',\n borderRadius: '8px',\n paddingBottom: '22px',\n border: 'none'\n }\n },\n tabContainer: {\n padding: '30px 0 0'\n }\n}\n\nconst Lessons = ({ classes, onMount }) => {\n useEffect(() => {\n onMount()\n }, []) // eslint-disable-line\n\n return (\n \n \n
\n \n \n
\n
\n )\n}\n\nexport default injectSheet(styles)(Lessons)\n","import { connect } from 'react-redux'\nimport Lessons from './lessons'\nimport { fetchSharedCounter } from '../../../../stores/shared-presentations/shared-presentations.actions'\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => dispatch(fetchSharedCounter())\n})\n\nexport default connect(\n null,\n mapDispatchToProps\n)(Lessons)\n","import React, { useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport ContentHolder from '../../content-holder/content-holder'\nimport LessonsHead from '../lessons/lessons-head/lessons-head'\nimport Lessons from './lessons/lessons.container'\n\nconst styles = {\n page: {\n '@media (min-width: 768px)': {\n padding: '0 0 60px'\n }\n },\n contentHolder: {\n marginTop: '40px',\n '@media (min-width: 768px)': {\n marginTop: '60px'\n }\n }\n}\n\nconst LessonsList = ({ classes }) => {\n useEffect(() => {\n window.scrollTo(0, 0)\n }, [])\n\n return (\n <>\n \n
\n \n \n \n
\n \n )\n}\n\nexport default injectSheet(styles)(LessonsList)\n","import React, { useEffect, useState } from 'react'\nimport injectSheet from 'react-jss'\nimport { Link, useRouteMatch } from 'react-router-dom'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faCalendarDay } from '@fortawesome/pro-regular-svg-icons/faCalendarDay'\nimport { faCalendarAlt } from '@fortawesome/pro-regular-svg-icons/faCalendarAlt'\nimport { faStopwatch } from '@fortawesome/pro-regular-svg-icons/faStopwatch'\nimport { faStar } from '@fortawesome/pro-regular-svg-icons/faStar'\nimport { faHashtag } from '@fortawesome/pro-regular-svg-icons/faHashtag'\nimport { faSearch } from '@fortawesome/pro-regular-svg-icons/faSearch'\nimport classNames from 'classnames'\nimport { apiClient } from 'pobble-components/dist/api'\nimport { useSubscriptionDetails } from 'pobble-components/dist/subscriptions/utils'\nimport { useMe } from 'pobble-components/dist/pobble-user'\nimport posthog from 'posthog-js'\n\nconst SidebarItem = injectSheet({\n item: {\n position: 'relative',\n '& > *': {\n pointerEvents: 'none'\n },\n '@media (max-width: 1023px)': {\n color: '#8E909A',\n textDecoration: 'none',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: '6px'\n },\n '@media (min-width: 1024px)': {\n font: 'var(--body)',\n fontWeight: 'bold',\n padding: '16px 24px',\n borderRadius: '8px',\n display: 'flex',\n color: '#ccc',\n alignItems: 'center',\n textDecoration: 'none',\n gap: '8px',\n '&:hover': {\n background: '#262626'\n }\n }\n },\n title: {\n '@media (max-width: 1023px)': {\n display: 'none'\n }\n },\n mobileTitle: {\n font: 'var(--body---)',\n '@media (min-width: 1024px)': {\n display: 'none'\n }\n },\n active: {\n '@media (max-width: 1023px)': {\n color: 'var(--light-gray)'\n },\n '@media (min-width: 1024px)': {\n background: '#191919 !important',\n color: '#fff'\n }\n },\n icon: {\n '@media (max-width: 1023px)': {\n fontSize: '20px'\n },\n '@media (min-width: 1024px)': {\n fontSize: '14px'\n }\n },\n subItem: {\n '@media (max-width: 1023px)': {\n display: 'none'\n },\n '@media (min-width: 1024px)': {\n font: 'var(--body--)',\n color: '#fff',\n background: '#191919',\n padding: '4px 16px',\n margin: '8px 0 8px 44px',\n display: 'inline-block',\n borderRadius: '8px',\n position: 'relative',\n '&:after': {\n content: '\"\"',\n position: 'absolute',\n width: '1px',\n height: '32px',\n background: '#ccc',\n left: '-14px',\n bottom: '10px'\n },\n '&:before': {\n content: '\"\"',\n position: 'absolute',\n height: '1px',\n width: '8px',\n background: '#ccc',\n left: '-14px',\n bottom: '10px'\n }\n }\n }\n})(\n ({\n classes,\n className,\n to,\n icon,\n children,\n active,\n mobileTitle,\n subItem\n }) => {\n return (\n
  • \n {\n posthog.capture('click on sidebar navigation on prompt', {\n button: typeof children === 'string' ? children : children[0]\n })\n window.scrollTo(0, 0)\n }}\n className={classNames(\n classes.item,\n { [classes.active]: active },\n className\n )}\n to={to}>\n {icon}\n {children}\n {mobileTitle}\n \n {subItem && {subItem}}\n
  • \n )\n }\n)\n\nconst Sidebar = injectSheet({\n sidebar: {\n '@media (max-width: 1023px)': {\n background: '#2C2D31',\n padding: '20px',\n position: 'fixed',\n bottom: '0',\n width: '100%',\n zIndex: '100',\n height: '80px'\n },\n '@media (min-width: 1024px)': {\n width: '280px',\n background: '#2C2D31',\n padding: '0 20px',\n flexShrink: '0'\n }\n },\n holder: {\n '@media (max-width: 1023px)': {\n display: 'flex',\n gap: '24px',\n justifyContent: 'center'\n },\n '@media (min-width: 1024px)': {\n padding: '32px 0',\n position: 'sticky',\n top: '0',\n display: 'flex',\n flexDirection: 'column',\n gap: '16px'\n }\n },\n items: {\n '@media (max-width: 1023px)': {\n listStyle: 'none',\n padding: '0',\n margin: '0',\n display: 'flex',\n gap: '32px'\n },\n '@media (min-width: 1024px)': {\n listStyle: 'none',\n margin: '0',\n display: 'flex',\n flexDirection: 'column',\n gap: '4px',\n padding: '0'\n }\n },\n free: {\n font: 'var(--body---)',\n color: '#000',\n background: 'var(--light-gray)',\n borderRadius: '8px',\n padding: '2px 6px',\n marginLeft: '8px',\n position: 'absolute',\n right: '12px',\n top: '18px'\n },\n divider: {\n '@media (max-width: 1023px)': {\n width: '1px',\n height: '32px',\n background: '#61636B'\n },\n '@media (min-width: 1024px)': {\n height: '1px',\n background: '#61636B'\n }\n }\n})(({ classes }) => {\n const { path, params } = useRouteMatch()\n const [openedPresentation, setOpenedPresentation] = useState(null)\n const { me } = useMe()\n const { hasAccessToTL } = useSubscriptionDetails()\n\n const studentWithoutSub =\n me.account.role_in_life === 'student' && !hasAccessToTL\n\n useEffect(\n () => {\n if (params.id) {\n apiClient\n .get(`/v3/presentations/${params.id}`, {\n params: {\n include:\n 'presentation.names,presentation.details,presentation.category'\n }\n })\n .then(res => {\n let type = ''\n const presentation = res.data.presentation\n if (path === '/lesson/:id') {\n type = 'saved'\n } else if (presentation.category === 'pobble365') {\n type = 'p365'\n } else if (presentation.category === 'quick_writes') {\n type = 'quickWrite'\n } else if (presentation.category === 'theme_based') {\n type = 'topics'\n }\n\n setOpenedPresentation({\n title: `${presentation.title.slice(0, 24)}${\n presentation.title.length > 24 ? '...' : ''\n }`,\n type\n })\n })\n } else {\n setOpenedPresentation(null)\n }\n },\n [params, path]\n )\n\n let style = {}\n\n if (path === '/prompt/calendar') {\n style = { position: 'sticky', top: 70 }\n }\n\n return (\n
    \n
    \n
      \n }>\n Today's Pobble 365\n {!hasAccessToTL &&\n !studentWithoutSub && Free}\n \n }>\n Pobble 365 calendar\n \n {!studentWithoutSub && (\n <>\n }>\n Quick writes\n \n }>\n Topic writes\n \n }>\n Search\n \n \n )}\n
    \n
    \n
      \n }>\n My lessons\n \n
    \n
    \n
    \n )\n})\n\nexport const PromptsLayout = injectSheet({\n container: {\n '@media (min-width: 1024px)': {\n flex: 1,\n minWidth: '0',\n display: 'flex'\n }\n },\n content: {\n '@media (max-width: 1023px)': {\n paddingBottom: '80px'\n },\n '@media (min-width: 1024px)': {\n flex: 1,\n minWidth: '0'\n }\n }\n})(({ classes, children }) => {\n return (\n
    \n \n
    {children}
    \n
    \n )\n})\n","import React, { Fragment, useState, useMemo, useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './lessons.styles'\nimport { Switch, Route, useRouteMatch } from 'react-router-dom'\nimport LessonsList from '../lessons-list/lessons-list'\nimport LessonsContext from './lessons.context'\nimport PendingTeacherBar from 'pobble-components/dist/pending-teacher-bar'\nimport { PromptsLayout } from '../../prompts-layout'\n\nconst Lessons = ({ classes }) => {\n const match = useRouteMatch()\n const [createLessonOpened, setCreateLessonOpened] = useState(false)\n const value = useMemo(\n () => ({\n setCreateLessonOpened,\n createLessonOpened\n }),\n [setCreateLessonOpened, createLessonOpened]\n )\n\n useEffect(\n () => {\n setCreateLessonOpened(match.path === '/new' ? true : false)\n },\n [match.path]\n )\n\n return (\n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default injectSheet(styles)(Lessons)\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport { UpsellModal } from '../../pages/prompt/upsell'\nimport Button from 'pobble-components/dist/button'\nimport posthog from 'posthog-js'\nimport classNames from 'classnames'\n\nexport const FreeTrialButton = injectSheet({\n button: {\n marginRight: '16px',\n marginLeft: 'auto'\n },\n buttonAccent: {\n background: 'var(--yellow) !important',\n color: 'var(--gray) !important',\n border: '1px solid var(--gray) !important',\n '& > div': {\n textShadow: '0px 0px 1px #000'\n },\n '&:hover': {\n background: 'var(--yellow-) !important'\n }\n }\n})(function FreeTrialButton({ classes }) {\n const [upsellModalOpen, setUpsellModalOpen] = useState(false)\n\n return (\n <>\n {\n posthog.capture('clicked on header free trial button')\n setUpsellModalOpen(true)\n }}\n className={classNames(classes.button, classes.buttonAccent)}>\n {'Try premium features'}\n \n setUpsellModalOpen(false)}\n />\n \n )\n})\n","import React, { useMemo } from 'react'\nimport Header from 'pobble-components/dist/pobble-header'\nimport { useLocation } from 'react-router-dom'\nimport { useMe } from 'pobble-components/dist/pobble-user'\nimport { useSubscriptionDetails } from 'pobble-components/dist/subscriptions/utils'\nimport { FreeTrialButton } from './free-trial-button'\n\nconst LessonHeader = () => {\n const { pathname } = useLocation()\n const { me } = useMe()\n const { offerFreeTrial, isInPobbleSchool } = useSubscriptionDetails()\n\n let preMenuSlot = null\n\n if (\n !!me &&\n !me?.account?.student_type &&\n offerFreeTrial &&\n !isInPobbleSchool\n ) {\n preMenuSlot = \n }\n\n const isPreview = useMemo(\n () => {\n return (\n pathname.startsWith('/preview/') || pathname.startsWith('/teachers/')\n )\n },\n [pathname]\n )\n\n const isCalendar = useMemo(\n () => {\n return pathname.endsWith('/calendar')\n },\n [pathname]\n )\n\n const style = useMemo(\n () => {\n const calendar = isCalendar\n ? { position: 'sticky', top: 0, zIndex: 200 }\n : {}\n return { display: isPreview ? 'none' : 'flex', ...calendar }\n },\n [isPreview, isCalendar]\n )\n\n return (\n \n )\n}\n\nexport default LessonHeader\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './head.styles'\nimport SubHead from '../../../sub-head/sub-head'\nimport { Link } from 'react-router-dom'\nimport LeftIcon from 'react-icons/lib/fa/caret-left'\nimport Button from 'pobble-components/dist/button'\n\nconst Head = ({ classes, title, onCopy, copying }) => (\n \n \n \n Back to shared lessons list\n \n {title && (\n

    \n You are previewing {title}\n

    \n )}\n \n {copying && 'Creating a copy'}\n {!copying && 'Create my copy'}\n \n
    \n)\n\nexport default injectSheet(styles)(Head)\n","export default ({ COLORS, FONT_SIZES }) => ({\n container: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n padding: '0 25px',\n justifyContent: 'center'\n },\n title: {\n animation: '0.3s fadeIn',\n textAlign: 'left',\n margin: '0',\n display: 'flex',\n alignItems: 'center',\n ...FONT_SIZES.HEADING_DEFAULT.STYLE\n },\n titleBone: {\n width: '100px'\n },\n backToLessons: {\n position: 'absolute',\n left: '25px',\n top: '28px',\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n display: 'flex',\n alignItems: 'center'\n },\n copyButton: {\n position: 'absolute',\n right: '25px',\n top: '16px'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n})\n","const getState = state => state.SharedPresentationStore\n\nconst getFetchRequest = state => getState(state).fetchRequest\nconst getCopyRequest = state => getState(state).copyRequest\nconst getSharedPresentation = state => getState(state).sharedPresentation\n\nexport { getSharedPresentation, getFetchRequest, getCopyRequest }\n","import {\n apiGetSharedPresentation,\n apiCopyPresentation\n} from '../../common/api/lesson'\n\nconst fetchSharedPresentation = id => ({\n requestPrefix: 'SHARED_PRESENTATION:FETCH',\n params: { id },\n request: () =>\n apiGetSharedPresentation(id, {\n include:\n 'shared_presentation.presentation.image,shared_presentation.presentation.year_groups,shared_presentation.presentation.year_group.order,shared_presentation.presentation.details,shared_presentation.presentation.names,shared_presentation.presentation.slides,shared_presentation.presentation.slide.details,shared_presentation.presentation.slide.type,shared_presentation.details'\n })\n})\n\nconst copyPresentation = presentationId => ({\n requestPrefix: 'SHARED_PRESENTATION:COPY',\n params: { presentationId },\n request: () => apiCopyPresentation(presentationId)\n})\n\nexport { fetchSharedPresentation, copyPresentation }\n","import { connect } from 'react-redux'\nimport SubHead from './head'\nimport {\n getSharedPresentation,\n getCopyRequest\n} from '../../../../stores/shared-presentation/shared-presentation.selectors'\nimport { copyPresentation } from '../../../../stores/shared-presentation/shared-presentation.actions'\nimport { withRouter } from 'react-router-dom'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = state => {\n const sharedPresentation = getSharedPresentation(state)\n const copyRequest = getCopyRequest(state)\n return {\n copying: copyRequest.pending,\n presentationId: sharedPresentation && sharedPresentation.presentation.id,\n title: sharedPresentation && sharedPresentation.presentation.title\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onCopy: () =>\n dispatch(copyPresentation(stateProps.presentationId))\n .then(() => ownProps.history.push('/'))\n .catch(errorHandler)\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(SubHead)\n)\n","export default {\n container: {\n margin: '0 300px',\n [`@media (max-width: 1440px)`]: {\n maxWidth: '918px',\n margin: '0 auto',\n padding: '0 40px'\n },\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n position: 'fixed',\n left: '0',\n top: '0',\n width: '100vw',\n height: '100vh',\n zIndex: '100',\n background: '#F8F8F8',\n padding: '0 70px 0 0'\n }\n },\n portraitPlaceholder: {\n position: 'fixed',\n bottom: '0',\n top: '50px',\n width: '100%',\n zIndex: '100'\n },\n notFound: {\n marginTop: '10vh'\n }\n}\n","import React from 'react'\n\nconst PresentationContext = React.createContext(null)\nconst PresentationStateContext = React.createContext(null)\n\nexport { PresentationContext, PresentationStateContext }\n","export default ({ FONT_SIZES }) => ({\n container: {\n width: '100%',\n height: '100%'\n },\n note: {\n ...FONT_SIZES.HEADING_MEDIUM.STYLE,\n margin: '0',\n paddingRight: '200px',\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n padding: '20px',\n display: 'none'\n }\n },\n controls: {\n position: 'absolute',\n top: '0',\n right: '0',\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n top: 'auto',\n bottom: '15px',\n right: '90px'\n }\n },\n footer: {\n position: 'relative',\n marginTop: '30px',\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n margin: '0',\n position: 'static'\n }\n },\n slide: {\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n padding: '0',\n height: '100%'\n }\n },\n infoOpened: {\n '& $slide': {\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n display: 'none'\n }\n },\n '& $note': {\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n display: 'block'\n }\n }\n }\n})\n","import React from 'react'\n\nexport default props => (\n \n \n \n \n \n \n \n \n \n \n)\n","import React from 'react'\n\nexport default props => (\n \n \n \n \n \n \n \n \n \n \n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './prev-next-controls.styles'\nimport classNames from 'classnames'\nimport BackIcon from '../icons/back-icon'\nimport ForwardIcon from '../icons/forward-icon'\n\nconst PrevNextControls = ({\n classes,\n position,\n onPrevSlide,\n onNextSlide,\n className\n}) => (\n
    \n \n {position}\n \n
    \n)\n\nexport default injectSheet(styles)(PrevNextControls)\n","export default ({ FONT_SIZES }) => ({\n container: {\n ...FONT_SIZES.HEADING_MEDIUM.STYLE,\n display: 'flex',\n alignItems: 'center',\n width: '162px',\n justifyContent: 'space-between',\n userSelect: 'none',\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n width: '119px',\n background: '#fff',\n padding: '5px',\n borderRadius: '36px'\n }\n },\n icon: {\n cursor: 'pointer',\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n height: '36px',\n width: '36px'\n }\n }\n})\n","import React from 'react'\nimport { PresentationContext, PresentationStateContext } from './context'\n\nconst withPresentation = Component => props => (\n \n {presentation => (\n \n {presentationState => (\n \n )}\n \n )}\n \n)\n\nexport default withPresentation\n","import React from 'react'\nimport PrevNextControls from '../../prev-next-controls/prev-next-controls'\nimport withPresentation from '../with-presentation'\n\nconst SlideControlsContainer = ({\n presentation,\n presentationState,\n ...props\n}) => {\n return (\n \n )\n}\n\nexport default withPresentation(SlideControlsContainer)\n","export default {\n container: {\n display: 'none',\n width: '200px',\n background: '#fff',\n height: '100%',\n position: 'absolute',\n right: '0',\n top: '0',\n borderLeft: '1px solid #ececec',\n transform: 'translateX(130px)',\n transition: 'transform 0.3s',\n padding: '20px',\n [`@media (max-width: 920px) and (orientation: landscape)`]: {\n display: 'block'\n }\n },\n opened: {\n transform: 'translateX(0)'\n }\n}\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './sidebar-item.styles'\nimport classNames from 'classnames'\n\nconst SidebarItem = ({\n classes,\n icon,\n children,\n active,\n showLabel,\n onClick,\n disabled\n}) => (\n \n {icon}\n {children && {children}}\n
    \n)\n\nexport default injectSheet(styles)(SidebarItem)\n","export default ({ COLORS }) => ({\n container: {\n display: 'flex',\n alignItems: 'center',\n marginBottom: '20px'\n },\n active: {\n '& $iconHolder': {\n background: COLORS.BLUE.NORMAL,\n '& > svg': {\n color: '#fff'\n }\n }\n },\n iconHolder: {\n borderRadius: '5px',\n padding: '5px',\n width: '30px',\n height: '30px',\n background: '#ececec',\n marginRight: '10px',\n '& > svg': {\n width: '100%',\n height: '100%',\n color: COLORS.BLUE.NORMAL\n }\n },\n label: {\n transition: 'opacity 0.3s',\n opacity: '0'\n },\n showLabel: {\n '& $label': {\n opacity: '1'\n }\n },\n disabled: {\n '& $iconHolder': {\n '& > svg': {\n color: '#ccc'\n }\n }\n }\n})\n","import React from 'react'\nimport SidebarItem from './sidebar-item'\nimport withPresentation from '../../../with-presentation'\n\nconst SidebarItemContainer = ({\n presentation,\n presentationState,\n ...props\n}) => {\n return \n}\n\nexport default withPresentation(SidebarItemContainer)\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './mobile-sidebar.styles'\nimport classNames from 'classnames'\nimport SidebarItem from './sidebar-item/sidebar-item.container'\nimport BarsIcon from 'react-icons/lib/fa/bars'\nimport InfoIcon from 'react-icons/lib/fa/info-circle'\nimport CopyIcon from 'react-icons/lib/fa/copy'\nimport CloseIcon from 'react-icons/lib/fa/times-circle'\n\nclass MobileSidebar extends Component {\n state = { pendingCopy: false }\n processCopy(onCopy) {\n this.setState({ pendingCopy: true })\n onCopy()\n }\n render() {\n const {\n classes,\n className,\n opened,\n infoOpened,\n noNotes,\n onBurgerClick,\n onInfoClick,\n onCloseClick,\n onCopy\n } = this.props\n const { pendingCopy } = this.state\n return (\n \n }\n />\n }>\n Teaching notes\n \n this.processCopy(onCopy)}\n icon={}>\n Create my copy\n \n }>\n Close preview\n \n \n )\n }\n}\n\nexport default injectSheet(styles)(MobileSidebar)\n","import React from 'react'\nimport MobileSidebar from './mobile-sidebar'\nimport withPresentation from '../../with-presentation'\n\nconst MobileSidebarContainer = ({ presentationState, presentation }) => {\n const slide = presentation.slides[presentationState.activeSlideIndex]\n return (\n \n )\n}\n\nexport default withPresentation(MobileSidebarContainer)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './slide-constructor.styles'\nimport SlideControls from '../slide-controls/slide-controls.container'\nimport MobileSidebar from './mobile-sidebar/mobile-sidebar.container'\nimport classNames from 'classnames'\nimport { Presentation } from 'pobble-components/dist/presentation'\nimport withPresentation from '../with-presentation'\n\nconst SlideConstructor = ({ classes, id, presentation, presentationState }) => {\n const activeSlide = presentationState.slides[presentationState.activeSlideId]\n const note = activeSlide.public_note\n const activeSlideId = activeSlide.id\n return (\n \n \n
    \n {note && (\n

    \n Teaching notes: \n {note}\n

    \n )}\n \n
    \n \n \n )\n}\n\nexport default withPresentation(injectSheet(styles)(SlideConstructor))\n","import box from './box.png'\nimport { fullVHExceptHeader } from 'pobble-components/dist/jss-mixins'\n\nconst styles = ({ FONT_SIZES }) => ({\n container: {\n ...fullVHExceptHeader,\n backgroundColor: '#fff',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center',\n textAlign: 'center'\n },\n box: {\n width: '350px',\n height: '350px',\n backgroundSize: 'contain',\n backgroundImage: `url(${box})`\n },\n title: {\n fontSize: '30px',\n lineHeight: '34px',\n margin: '0 0 20px',\n fontWeight: 'bold'\n },\n desc: {\n ...FONT_SIZES.BODY_LARGE.STYLE,\n margin: '0 0 30px'\n }\n})\n\nexport default styles\n","import React from 'react'\n\nconst RotateIcon = ({ className }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default RotateIcon\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './tablet-portrait-placeholder.styles'\nimport classNames from 'classnames'\nimport RotateIcon from './rotate-icon'\n\nconst TabletPortraitPlaceholder = ({ classes, className }) => (\n
    \n
    \n

    Rotate me please

    \n

    \n This tool is best viewed in landscape mode.
    Please rotate your\n device.\n

    \n \n
    \n)\n\nexport default injectSheet(styles)(TabletPortraitPlaceholder)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './presentation-skeleton.styles'\nimport Bone from 'pobble-components/dist/bone'\n\nconst PresentationSkeleton = ({ classes }) => (\n \n)\n\nexport default injectSheet(styles)(PresentationSkeleton)\n","export default {\n presentation: {\n height: '0',\n paddingBottom: '56%',\n borderRadius: '0',\n background: '#ececec'\n }\n}\n","import React, { useMemo, useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './presentation-preview.styles'\nimport { PresentationContext, PresentationStateContext } from './context'\nimport SlideConstructor from './slide-constructor/slide-constructor'\nimport withWindowSize from 'pobble-components/dist/with-window-size'\nimport TabletPortraitPlaceholder from '../tablet-portrait-placeholder/tablet-portrait-placeholder'\nimport PresentationSkeleton from './presentation-skeleton/presentation-skeleton'\nimport { usePresentationNavigation } from 'pobble-components/dist/presentation'\nimport keyBy from 'lodash/keyBy'\nimport NoItemsPlaceholder from 'pobble-components/dist/no-items-placeholder'\n\nconst PresentationPreview = ({\n classes,\n presentation,\n pending,\n windowSize,\n onClose,\n onCopy\n}) => {\n const isPortrait = windowSize.orientation === 'portrait'\n const [sidebarOpened, setSidebarOpened] = useState(false)\n const [infoOpened, setInfoOpened] = useState(false)\n\n const {\n activeSlideIndex,\n activeSlideId,\n nextSlide,\n prevSlide,\n slidePosition\n } = usePresentationNavigation(presentation, { loop: true })\n\n const slides = useMemo(\n () => (!presentation ? {} : keyBy(presentation.slides, 'id')),\n [presentation]\n )\n\n const value = useMemo(\n () => ({\n slidePosition,\n activeSlideId,\n activeSlideIndex,\n nextSlide,\n prevSlide,\n toggleSidebar: setSidebarOpened,\n toggleInfo: setInfoOpened,\n onClose,\n onCopy,\n sidebarOpened,\n infoOpened,\n slides\n }),\n [activeSlideId, infoOpened, nextSlide, prevSlide, sidebarOpened, slides] // eslint-disable-line\n )\n\n return pending || !!presentation ? (\n \n \n {isPortrait && (\n \n )}\n
    \n {!activeSlideId && }\n {!!activeSlideId && }\n
    \n
    \n
    \n ) : (\n
    \n \n

    Sorry, we coulnd't find this lesson

    \n

    It may have been deleted or set to private

    \n
    \n
    \n )\n}\n\nexport default withWindowSize(injectSheet(styles)(PresentationPreview))\n","import React, { Fragment, useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './shared-preview.styles'\nimport Head from './head/head.container'\nimport PresentationPreview from '../../presentation-preview/presentation-preview'\n\nconst SharedPreview = ({\n classes,\n pending,\n presentation,\n onClose,\n onCopy,\n onMount\n}) => {\n useEffect(() => {\n onMount()\n }, []) // eslint-disable-line\n\n return (\n \n \n
    \n \n
    \n
    \n )\n}\n\nexport default injectSheet(styles)(SharedPreview)\n","export default {\n previewHolder: {\n padding: '40px 0'\n }\n}\n","import { connect } from 'react-redux'\nimport SharedPreview from './shared-preview'\nimport {\n fetchSharedPresentation,\n copyPresentation\n} from '../../../stores/shared-presentation/shared-presentation.actions'\nimport { withRouter } from 'react-router-dom'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport {\n getFetchRequest,\n getSharedPresentation\n} from '../../../stores/shared-presentation/shared-presentation.selectors'\nimport { markAsSeen } from '../../../stores/shared-presentations/shared-presentations.actions'\n\nconst mapStateToProps = (state, { match }) => {\n const fetchRequest = getFetchRequest(state)\n const sharedPresentation = getSharedPresentation(state)\n return {\n pending:\n !sharedPresentation ||\n sharedPresentation.id !== match.params.id ||\n fetchRequest.pending,\n presentation: !sharedPresentation ? null : sharedPresentation.presentation\n }\n}\n\nconst mapDispatchToProps = (dispatch, { match, history }) => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onClose: () => ownProps.history.push('/shared'),\n onCopy: () =>\n dispatch(copyPresentation(stateProps.presentation.id))\n .then(() => ownProps.history.push('/'))\n .catch(errorHandler),\n onMount: () =>\n dispatch(fetchSharedPresentation(ownProps.match.params.id))\n .catch(errorHandler)\n .then(\n res =>\n !res.data.shared_presentation.seen &&\n dispatch(markAsSeen(ownProps.match.params.id)).catch(errorHandler)\n )\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(SharedPreview)\n)\n","import { fullVHExceptHeader } from 'pobble-components/dist/jss-mixins'\n\nexport default {\n pending: {\n ...fullVHExceptHeader,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n },\n notFound: {\n ...fullVHExceptHeader,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n '& img': {\n maxWidth: '300px'\n },\n '& p': {\n margin: '0'\n }\n }\n}\n","import * as React from 'react'\nconst SvgComponent = props => (\n \n \n \n)\nexport default SvgComponent\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport Button from 'pobble-components/dist/button'\nimport { withRouter } from 'react-router-dom'\nimport ShareIcon from './share-icon'\nimport { ShareModal } from '../../../../share/share'\n\nconst styles = ({ COLORS, FONT_SIZES, BREAKPOINTS }) => ({\n container: {\n display: 'flex',\n alignItems: 'center',\n margin: '0 20px 0 0',\n listStyle: 'none',\n padding: '0',\n '& > li': {\n marginLeft: '1em'\n }\n },\n shareCaret: {\n marginLeft: '.6em'\n },\n share: {\n background: 'var(--dark-blue)',\n borderColor: 'var(--dark-blue)',\n '&:hover': {\n background: 'var(--dark-blue-)',\n borderColor: 'var(--dark-blue-)'\n }\n }\n})\n\nconst LPMenu = ({\n classes,\n match,\n presentationTitle,\n presentationLo,\n premiumRestricted,\n pending,\n presentation\n}) => {\n const [showShareModal, setShowShareModal] = useState(false)\n\n return (\n <>\n
      \n {pending ? null : (\n
    • \n {\n setShowShareModal(true)\n }}\n icon={}\n tall>\n Share\n \n
    • \n )}\n
    \n {presentation && (\n setShowShareModal(false)}\n />\n )}\n \n )\n}\n\nexport default withRouter(injectSheet(styles)(LPMenu))\n","import { createSelector } from 'reselect'\nimport sortBy from 'lodash/sortBy'\n\nconst getState = state => state.PresentationStore\n\nexport const getPresentation = state => getState(state).presentation\n\nexport const getFetchingRequest = state => getState(state).fetching\n\nexport const getCreateSlideRequest = state => getState(state).createSlideRequest\n\nexport const getUpdateSlideRequests = state =>\n getState(state).updateSlideRequests\n\nexport const getUploadImageRequests = state =>\n getState(state).uploadImageRequests\n\nexport const getDeleteSlideRequests = state =>\n getState(state).deleteSlideRequests\n\nexport const getUpdatePropertiesRequest = state =>\n getState(state).updatePropertiesRequest\n\nexport const getDuplicateSlideRequest = state =>\n getState(state).duplicateSlideRequest\n\nexport const getUpdateSlideRequest = (state, id) =>\n getUpdateSlideRequests(state)[id] || { pending: false, requestError: null }\n\nexport const getDeleteSlideRequest = (state, id) =>\n getDeleteSlideRequests(state)[id] || { pending: false, requestError: null }\n\nexport const getUploadImageRequest = (state, id) =>\n getUploadImageRequests(state)[id] || { pending: false, requestError: null }\n\nexport const getSlides = state => getState(state).slides\n\nexport const getSlidesMap = createSelector(\n [getSlides],\n slides => (slides ? slides.entities.slides : {})\n)\n\nexport const getSlidesResult = createSelector(\n [getSlides],\n slides => (slides ? slides.result : [])\n)\n\nexport const getSlidesList = createSelector(\n [getSlidesResult, getSlidesMap],\n (result, slidesMap) => result.map(id => slidesMap[id])\n)\n\nexport const getOrderedSlides = createSelector([getSlidesList], slides =>\n sortBy(slides, 'order')\n)\n\nexport const getOrderedVisibleSlides = createSelector(\n [getOrderedSlides],\n slides => slides.filter(slide => !slide.hidden)\n)\n\nexport const getSlide = (state, id) => getSlidesMap(state)[id]\n","import { connect } from 'react-redux'\nimport LPMenu from './lp-menu'\nimport { getPresentation } from '../../../../../stores/presentation/presentation.selectors'\n\nconst mapStateToProps = state => {\n const presentation = getPresentation(state)\n return {\n pending: !presentation,\n presentationTitle: presentation && presentation.title,\n presentationLo: presentation && presentation.lesson_overview,\n premiumRestricted: presentation && presentation.policy.premium_restricted,\n presentation\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(LPMenu)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport LPMenu from '../lp-menu/lp-menu.container'\n\nconst SubHeader = injectSheet({\n subHeader: {\n position: 'relative',\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'flex-end',\n backgroundColor: '#fff',\n flexShrink: '0',\n height: '70px',\n '@media (max-width: 1023px)': {\n display: 'none'\n }\n },\n holder: {\n position: 'absolute',\n left: '0',\n top: '0',\n height: '100%',\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n padding: '18px 0 18px 20px',\n '@media (max-width: 575px)': {\n padding: '0'\n }\n },\n back: {\n textDecoration: 'none',\n color: 'var(--blue)',\n fontWeight: 'bold',\n '& svg': {\n margin: '-2px -4px 0 0'\n },\n '@media (max-width: 575px)': {\n display: 'none'\n }\n }\n})(({ classes, children }) => {\n return (\n
    \n {children}\n \n
    \n )\n})\n\nexport default SubHeader\n","const setActiveSlideId = id => (dispatch, getState) =>\n dispatch({\n type: 'BUILDER:SET_ACTIVE_SLIDE',\n id\n })\n\nconst setPreviewDragging = isDragging => ({\n type: 'BUILDER:SET_PREVIEW_DRAGGING',\n isDragging\n})\n\nconst openEditDialog = id => ({\n type: 'BUILDER:OPEN_EDIT_DIALOG',\n id\n})\n\nconst openSettingsModal = () => ({\n type: 'BUILDER:OPEN_SETTINGS_MODAL'\n})\n\nconst closeSettingsModal = () => ({\n type: 'BUILDER:CLOSE_SETTINGS_MODAL'\n})\n\nconst openCreateSlideDialog = (slideType, slideParams) => ({\n type: 'BUILDER:OPEN_CREATE_SLIDE_DIALOG',\n slideType,\n slideParams\n})\n\nconst closeCreateSlideDialog = () => ({\n type: 'BUILDER:CLOSE_CREATE_SLIDE_DIALOG'\n})\n\nconst openEditSlideDialog = (slideType, slideId, slideParams) => ({\n type: 'BUILDER:OPEN_EDIT_SLIDE_DIALOG',\n slideType,\n slideId,\n slideParams\n})\n\nconst closeEditSlideDialog = () => ({\n type: 'BUILDER:CLOSE_EDIT_SLIDE_DIALOG'\n})\n\nexport {\n setActiveSlideId,\n setPreviewDragging,\n openEditDialog,\n openSettingsModal,\n closeSettingsModal,\n openCreateSlideDialog,\n closeCreateSlideDialog,\n openEditSlideDialog,\n closeEditSlideDialog\n}\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.Lesson.Builder.Main\n\nconst getActiveSlideId = createSelector(\n [getState],\n state => state.activeSlideId\n)\n\nexport const getActiveSlide = createSelector([state => state], state => {\n const activeSlideId = state.Lesson.Builder.Main.activeSlideId\n const activeSlide =\n state.PresentationStore.slides.entities.slides[activeSlideId]\n return activeSlide\n})\n\nconst isDragging = createSelector([getState], state => state.isDragging)\n\nconst isSettingsModalOpened = state => getState(state).settingsModalOpened\n\nconst getCreateSlideDialog = state => getState(state).createSlideDialog\n\nconst getEditSlideDialog = state => getState(state).editSlideDialog\n\nexport {\n getState as getBuilderState,\n getActiveSlideId,\n isDragging,\n isSettingsModalOpened,\n getCreateSlideDialog,\n getEditSlideDialog\n}\n","import {\n apiUpdateSlide,\n apiCreateSlide,\n apiDeleteSlide,\n apiReorderSlides,\n apiUploadImage,\n apiRemoveImage,\n apiDuplicateSlide,\n apiUpdatePresentationProperties,\n apiGetPresentation\n} from '../../common/api/lesson'\nimport {\n getPresentation,\n getOrderedSlides,\n getSlidesMap\n} from './presentation.selectors'\nimport { getActiveSlideId } from '../../components/pages/lesson/builder/redux/builder.selectors'\nimport {\n BUILDER_ACTIVE_SLIDE_ID,\n LP_SHOW_LAST_SLIDE\n} from 'pobble-components/dist/cookies'\n\nconst fetchPresentation = id => ({\n requestPrefix: 'PRESENTATION:FETCH',\n params: {\n id,\n showLastSlide: LP_SHOW_LAST_SLIDE.pull(),\n activeSlideId: BUILDER_ACTIVE_SLIDE_ID.pull()\n },\n request: () =>\n apiGetPresentation(id, {\n include:\n 'presentation.audio,presentation.p365,presentation.policy,presentation.status,presentation.image,presentation.year_groups,presentation.recommended_until,presentation.category,presentation.year_group.order,presentation.details,presentation.slides,presentation.slide.type,presentation.slide.details,presentation.slide.private_note,presentation.names'\n })\n})\n\nexport const resetPresentation = () => ({\n type: 'PRESENTATION:RESET'\n})\n\nconst simulateSlideCreation = (() => {\n let id = 0\n let order = 100\n return slide => ({\n type: 'PRESENTATION:CREATE_SLIDE_REQUEST_SUCCESS',\n response: {\n data: {\n slide: {\n ...slide,\n id: id++,\n order: order++\n }\n }\n }\n })\n})()\n\nconst createSlide = (data, customRequest) => (dispatch, getState) => {\n const state = getState()\n\n const presentationId = getPresentation(getState()).id\n\n const slides = getSlidesMap(state)\n const activeSlideId = getActiveSlideId(state)\n\n const activeSlide = slides[activeSlideId]\n\n const order = activeSlide.order < 2 ? 2 : activeSlide.order + 1\n\n return dispatch({\n params: { presentationId, data, type: data ? data.type : null },\n requestPrefix: 'PRESENTATION:CREATE_SLIDE',\n request: customRequest\n ? customRequest({ order })\n : () =>\n apiCreateSlide(\n presentationId,\n {\n ...data,\n order\n },\n {\n include: 'slide.type,slide.details'\n }\n )\n })\n}\n\nconst immediateSlideUpdate = (id, data) => ({\n type: 'PRESENTATION:IMMEDIATE_UPDATE',\n id,\n data\n})\n\nconst restoreSlide = id => ({\n type: 'PRESENTATION:RESTORE_SLIDE',\n id\n})\n\nconst updateSlide = (id, type, data, params) => (dispatch, getState) => {\n const presentation = getPresentation(getState())\n\n /**\n * Asset presentation doesn't allow user to change title slide\n * Therefore we automatically update title slide whenever user\n * changes title of an asset slide\n */\n if (presentation.asset && ['Exemplar'].indexOf(type) !== -1) {\n apiUpdateSlide(presentation.slides[0].id, {\n title: data.title\n })\n }\n\n return dispatch({\n requestPrefix: 'PRESENTATION:UPDATE_SLIDE',\n params: { id, data, type, ...params },\n request: () => {\n return apiUpdateSlide(id, data, {\n include: 'slide.type,slide.details'\n })\n }\n })\n}\n\nconst directSlideUpdate = slide => ({\n type: 'PRESENTATION:UPDATE_SLIDE_DIRECT',\n slide\n})\n\nconst updatePresentationProperties = (id, data) => ({\n requestPrefix: 'PRESENTATION:UPDATE_PROPERTIES',\n params: { id, data },\n request: () =>\n apiUpdatePresentationProperties(id, data, {\n include:\n 'presentation.year_groups,presentation.year_group.order,presentation.details'\n })\n})\n\nconst uploadImage = (id, data) => ({\n requestPrefix: 'PRESENTATION:UPLOAD_IMAGE_TO_SLIDE',\n params: { id, data },\n request: () =>\n apiUploadImage(id, data).then(() =>\n apiUpdateSlide(\n id,\n { use_presentation_image: false },\n {\n include: 'slide.type,slide.details'\n }\n )\n )\n})\n\nconst removeImageImmediately = (id, params) => dispatch => {\n dispatch({ type: 'PRESENTATION:REMOVE_IMAGE_FROM_SLIDE', id, params })\n return dispatch(removeImage(id)).catch(e => {\n dispatch(restoreSlide(id))\n throw e\n })\n}\n\nconst removeImage = id => ({\n requestPrefix: 'PRESENTATION:REMOVE_IMAGE_FROM_SLIDE',\n params: { id },\n request: () => apiRemoveImage(id)\n})\n\nconst updateSlideImmediately = (id, type, data, testMode) => (\n dispatch,\n getState\n) => {\n dispatch(immediateSlideUpdate(id, data))\n return (\n !testMode &&\n dispatch(updateSlide(id, type, data, { immediateUpdate: true })).catch(\n e => {\n dispatch(restoreSlide(id))\n throw e\n }\n )\n )\n}\n\nconst duplicateSlide = id => ({\n requestPrefix: 'PRESENTATION:DUPLICATE_SLIDE',\n params: { id },\n request: () =>\n apiDuplicateSlide(id, {\n include:\n 'presentation.slides,presentation.slide.type,presentation.slide.details,presentation.slide.private_note'\n })\n})\n\nconst deleteSlide = id => (dispatch, getState) =>\n dispatch({\n requestPrefix: 'PRESENTATION:DELETE_SLIDE',\n params: { id, slides: getOrderedSlides(getState()) },\n request: () => apiDeleteSlide(id)\n })\n\nconst reorderSlidesRequest = (presentationId, slidesOrder) => ({\n requestPrefix: 'PRESENTATION:REORDER_SLIDES',\n params: { presentationId, slidesOrder },\n request: () => apiReorderSlides(presentationId, { slide_ids: slidesOrder })\n})\n\nconst reorderSlides = (presentationId, slidesOrder) => dispatch => {\n dispatch({ type: 'PRESENTATION:REORDER_SLIDES', slidesOrder })\n return dispatch(reorderSlidesRequest(presentationId, slidesOrder)).catch(\n e => {\n dispatch({ type: 'PRESENTATION:RESTORE_ALL_SLIDES' })\n throw e\n }\n )\n}\n\nconst updateNotes = (id, { privateNote, publicNote }) => ({\n requestPrefix: 'PRESENTATION:UPDATE_NOTES',\n params: { privateNote, publicNote },\n request: () =>\n apiUpdateSlide(\n id,\n { public_note: publicNote, private_note: privateNote },\n {\n include: 'slide.details,slide.private_note'\n }\n )\n})\n\nexport {\n fetchPresentation,\n updateSlide,\n createSlide,\n deleteSlide,\n updateSlideImmediately,\n reorderSlides,\n uploadImage,\n removeImageImmediately,\n updateNotes,\n duplicateSlide,\n updatePresentationProperties,\n directSlideUpdate,\n simulateSlideCreation\n}\n","import { Modal, ModalContent } from 'pobble-components/dist/modal'\nimport React from 'react'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faPlay } from '@fortawesome/pro-solid-svg-icons/faPlay'\nimport { faPenFancy } from '@fortawesome/pro-solid-svg-icons/faPenFancy'\nimport { faClipboardCheck } from '@fortawesome/pro-solid-svg-icons/faClipboardCheck'\nimport { faTh } from '@fortawesome/pro-solid-svg-icons/faTh'\nimport { faText } from '@fortawesome/pro-solid-svg-icons/faText'\nimport { faSquare } from '@fortawesome/pro-regular-svg-icons/faSquare'\nimport { faLink } from '@fortawesome/pro-solid-svg-icons/faLink'\nimport { faFileAlt } from '@fortawesome/pro-solid-svg-icons/faFileAlt'\nimport { faImage } from '@fortawesome/pro-solid-svg-icons/faImage'\nimport ButtonElement from 'pobble-components/dist/button-element'\nimport injectSheet from 'react-jss'\nimport pattern from './pattern.png'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { openCreateSlideDialog } from '../../redux/builder.actions'\nimport { getPresentation } from '../../../../../../stores/presentation/presentation.selectors'\nimport { createSlide } from '../../../../../../stores/presentation/presentation.actions'\n\nconst buttons = [\n {\n title: 'Work exemplar',\n icon: ,\n action: dispatch => dispatch(openCreateSlideDialog('WorkExemplar'))\n },\n {\n title: 'Success Criteria',\n icon: ,\n action: dispatch => dispatch(openCreateSlideDialog('SuccessCriteria'))\n },\n {\n title: 'Word Bank',\n icon: ,\n action: dispatch => dispatch(openCreateSlideDialog('WordBank'))\n },\n {\n title: 'Image',\n icon: ,\n action: dispatch => dispatch(openCreateSlideDialog('Image'))\n },\n {\n title: 'Exercise',\n icon: ,\n action: dispatch => dispatch(openCreateSlideDialog('Exercise'))\n },\n {\n title: 'Youtube Video',\n icon: ,\n action: dispatch => dispatch(openCreateSlideDialog('Video'))\n },\n {\n title: 'Text',\n icon: ,\n action: dispatch => dispatch(openCreateSlideDialog('Text'))\n },\n {\n title: 'Lined or Blank',\n icon: ,\n action: dispatch =>\n dispatch(\n createSlide({\n type: 'Blank',\n line_type: 'guides',\n line_height: 'medium',\n color: 'none'\n })\n )\n },\n {\n title: 'Website Link',\n icon: ,\n action: dispatch => dispatch(openCreateSlideDialog('Link'))\n }\n]\n\nconst CreateSlide = injectSheet({\n container: {\n display: 'grid',\n gridTemplateColumns: 'repeat(3, 1fr)',\n gap: '24px',\n listStyle: 'none',\n margin: '0',\n padding: '0'\n },\n button: {\n height: '120px',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center',\n background: '#fff',\n color: 'var(--gray-)',\n font: 'var(--body--)',\n fontWeight: 'bold',\n borderRadius: '8px',\n gap: '8px',\n transition: 'box-shadow 0.1s ease-out',\n '&:hover, &:focus': {\n color: 'var(--dark-blue)',\n boxShadow: '0 0 0 4px var(--blue), 0 0 0 6px #fff',\n '& svg': {\n color: 'var(--dark-blue)'\n }\n }\n },\n icon: {\n width: '48px',\n height: '48px',\n borderRadius: '48px',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n background: 'var(--light-gray--)',\n '& svg': {\n fontSize: '24px',\n color: 'var(--gray--)'\n }\n }\n})(function CreateSlide({ classes, requestClose }) {\n const dispatch = useDispatch()\n\n const presentation = useSelector(getPresentation)\n\n return (\n
      \n {buttons.map(button => {\n return (\n {\n requestClose()\n button.action(dispatch, presentation)\n }}\n className={classes.button}>\n {button.icon}\n {button.title}\n \n )\n })}\n
    \n )\n})\n\nexport const CreateSlideModal = injectSheet({\n content: {\n backgroundSize: 'auto 140px',\n background: `linear-gradient(180deg, rgba(0, 175, 236, .92), rgba(0, 175, 236, .92)), url(\"${pattern}\");`,\n borderRadius: '8px',\n padding: '48px',\n maxWidth: '700px'\n },\n header: {\n textAlign: 'center',\n background: 'var(--light-gray)',\n font: 'var(--heading--)'\n },\n title: {\n font: 'var(--heading)',\n textAlign: 'center',\n margin: '-16px 0 24px',\n color: '#fff'\n }\n})(({ isOpen, requestClose, classes }) => {\n return (\n <>\n \n \n

    Select a slide type

    \n \n
    \n
    \n \n )\n})\n","import React, { useState } from 'react'\nimport classNames from 'classnames'\nimport { useSubscriptionPolicy } from 'pobble-components/dist/subscriptions'\nimport Button from 'pobble-components/dist/button'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faPlusCircle } from '@fortawesome/pro-solid-svg-icons/faPlusCircle'\nimport { CreateSlideModal } from '../../modals/create-slide/create-slide'\n\nconst NewSlideButton = ({ classes }) => {\n const editSp = useSubscriptionPolicy(\n sp => sp.lesson_planning.edit_presentation\n )\n\n const [modalOpened, setModalOpened] = useState(false)\n\n return (\n <>\n }\n className={classNames('metrics__add-new-slide')}\n action={\n editSp.restricted ? editSp.showDialog : () => setModalOpened(true)\n }>\n Add slide\n \n setModalOpened(false)}\n />\n \n )\n}\n\nexport default NewSlideButton\n","import React, { useEffect, useMemo, useRef } from 'react'\nimport injectSheet from 'react-jss'\nimport NewSlideButton from './new-slide-button/new-slide-button'\nimport classNames from 'classnames'\nimport { isTouchScreen } from 'pobble-components/dist/utils'\nimport { Presentation } from 'pobble-components/dist/presentation'\nimport ButtonElement from 'pobble-components/dist/button-element'\nimport { useDispatch } from 'react-redux'\nimport { setActiveSlideId } from '../redux/builder.actions'\nimport { SortableContainer, SortableElement } from 'react-sortable-hoc'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faEyeSlash } from '@fortawesome/pro-solid-svg-icons/faEyeSlash'\n\nconst Sortableholder = SortableContainer(\n ({ children, componentRef, className }) => {\n return (\n
    \n {children}\n
    \n )\n }\n)\nconst SortableComponent = SortableElement(props =>
    )\n\nconst slidePreviewStyles = ({ COLORS, FONT_SIZES }) => ({\n container: {\n position: 'relative'\n },\n button: {\n width: '100%',\n borderRadius: '4px',\n marginBottom: '20px',\n overflow: 'hidden',\n border: '1px solid rgba(0, 0, 0, 0.16)',\n position: 'relative',\n '& > * > *': {\n pointerEvents: 'none'\n }\n },\n active: {\n borderColor: COLORS.BLUE.NORMAL\n },\n hidden: {\n '& > div': {\n opacity: '.4'\n }\n },\n iconHidden: {\n position: 'absolute',\n top: '50%',\n left: '50%',\n marginLeft: '-12px',\n marginTop: '-12px',\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n fontSize: '24px',\n zIndex: '100'\n },\n order: {\n position: 'absolute',\n right: '100%',\n marginRight: '8px',\n ...FONT_SIZES.BODY_DEFAULT.STYLE,\n color: COLORS.TEXT.MID_GREY.NORMAL\n }\n})\n\nconst SlidePreview = injectSheet(slidePreviewStyles)(\n ({\n classes,\n active,\n id,\n setActiveSlide,\n hidden,\n children,\n order,\n ...props\n }) => {\n const dispatch = useDispatch()\n return (\n
    \n {order}\n dispatch(setActiveSlideId(id))}\n className={classNames(\n classes.button,\n `metrics__builder_slide_preview_${order}`,\n {\n [classes.active]: active,\n [classes.hidden]: hidden\n }\n )}\n {...props}>\n <>\n {hidden && (\n \n )}\n {children}\n \n \n
    \n )\n }\n)\n\nconst styles = ({ COLORS }) => ({\n container: {\n height: '100%',\n display: 'flex',\n flexDirection: 'column'\n },\n slide: {\n marginBottom: '20px'\n },\n draggedPreview: {\n transition: 'box-shadow 0.3s',\n boxShadow: '0 2px 5px 0 rgba(0, 0, 0, 0.1)'\n },\n disabledPreview: {\n opacity: '0.5'\n },\n newSlideButtonContainer: {\n padding: '0 20px 0 32px'\n },\n newSlideButtonHolder: {\n paddingBottom: '10px',\n borderBottom: '1px solid rgba(0, 0, 0, .1)'\n },\n slidePreviewList: {\n height: '100%',\n overflow: 'auto',\n position: 'relative',\n padding: '11px 20px 0 32px'\n }\n})\n\nconst SlidePreviewList = ({\n classes,\n slides,\n className,\n onSortEnd,\n onSortStart,\n isDragging,\n activeSlideId,\n presentation\n}) => {\n const container = useRef(null)\n\n const dispatch = useDispatch()\n\n const upToDatePresentation = useMemo(\n () => {\n return !presentation\n ? null\n : {\n ...presentation,\n slides: slides\n }\n },\n [presentation, slides]\n )\n\n const activeSlideIndex = useMemo(\n () => {\n for (let i = 0; i < slides.length; i++) {\n if (slides[i].id === activeSlideId) {\n return i\n }\n }\n },\n [activeSlideId, slides]\n )\n\n /**\n * Scroll to active preview to keep it visible\n */\n useEffect(\n () => {\n const selectedSlide = container.current.children[activeSlideIndex]\n if (selectedSlide.offsetTop - container.current.scrollTop < 0) {\n container.current.scrollTop = selectedSlide.offsetTop\n } else if (\n selectedSlide.offsetTop - container.current.scrollTop + 210 >\n container.current.offsetHeight\n ) {\n container.current.scrollTop =\n selectedSlide.offsetTop - container.current.offsetHeight + 225\n }\n },\n [slides, activeSlideId, activeSlideIndex, isDragging]\n )\n\n // Keyboard navigation\n useEffect(\n () => {\n const listener = e => {\n const element = e.target\n const key = e.key\n if (\n !element.getAttribute('contenteditable') &&\n element.tagName !== 'TEXTAREA' &&\n element.tagName !== 'INPUT'\n ) {\n switch (key) {\n case 'ArrowDown':\n case 'ArrowRight':\n if (activeSlideIndex < slides.length - 1) {\n dispatch(setActiveSlideId(slides[activeSlideIndex + 1].id))\n }\n break\n case 'ArrowUp':\n case 'ArrowLeft':\n if (activeSlideIndex > 0) {\n dispatch(setActiveSlideId(slides[activeSlideIndex - 1].id))\n }\n break\n default:\n break\n }\n }\n }\n document.addEventListener('keydown', listener)\n return () => document.removeEventListener('keydown', listener)\n },\n [slides, dispatch, activeSlideIndex]\n )\n\n return (\n
    \n
    \n
    \n \n
    \n
    \n \n \n {props => {\n return props.slides.map((slide, index) => {\n const slideData = slides[index]\n const preview = (\n
    \n )\n}\n\nexport default injectSheet(styles)(SlidePreviewList)\n","import { connect } from 'react-redux'\nimport SlidePreviewList from './slide-preview-list.jsx'\nimport { setActiveSlideId, setPreviewDragging } from '../redux/builder.actions'\nimport { getActiveSlideId, isDragging } from '../redux/builder.selectors'\nimport {\n getOrderedSlides,\n getPresentation\n} from '../../../../../stores/presentation/presentation.selectors'\nimport { reorderSlides } from '../../../../../stores/presentation/presentation.actions'\nimport { arrayMove } from 'react-sortable-hoc'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = state => {\n return {\n presentation: getPresentation(state),\n activeSlideId: getActiveSlideId(state),\n isDragging: isDragging(state),\n slides: getOrderedSlides(state),\n presentationId: getPresentation(state).id\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...ownProps,\n ...stateProps,\n setActiveSlideId: id => dispatch(setActiveSlideId(id)),\n onSortStart: () => dispatch(setPreviewDragging(true)),\n onSortEnd: ({ oldIndex, newIndex }) =>\n dispatch(\n reorderSlides(\n stateProps.presentationId,\n arrayMove(stateProps.slides, oldIndex, newIndex).map(slide => slide.id)\n )\n ).catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(SlidePreviewList)\n","const style = ({ COLORS }) => ({\n container: {\n display: 'flex',\n flexDirection: 'column',\n position: 'relative'\n },\n restrictOverlay: {\n position: 'absolute',\n left: '0',\n top: '0',\n width: '100%',\n height: '100%',\n zIndex: '5',\n cursor: 'pointer'\n },\n cell: {\n width: 'calc(50% - 10px)',\n marginLeft: '20px',\n '&:first-child': {\n marginLeft: '0'\n }\n },\n labelsContainer: {\n marginBottom: '15px',\n display: 'flex',\n width: '100%',\n alignItems: 'flex-end'\n },\n label: {\n cursor: 'pointer',\n color: COLORS.TEXT.DARK_GREY.NORMAL\n },\n textareasContainer: {\n display: 'flex',\n width: '100%'\n },\n notes: {\n width: '100%',\n height: '166px',\n resize: 'none'\n },\n publicNote: {\n backgroundColor: '#fff'\n },\n privateNote: {\n backgroundColor: '#FFF8CB'\n }\n})\n\nexport default style\n","import React, { useMemo } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './slide-footer.styles'\nimport classNames from 'classnames'\nimport debounce from 'lodash/debounce'\nimport { Formik } from 'formik'\nimport FormTextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport { useSubscriptionPolicy } from 'pobble-components/dist/subscriptions'\n\nconst PUBLIC_LABEL =\n 'Add your notes to this slide (people can see this if you share the lesson)'\nconst PRIVATE_LABEL = 'Add private notes to this slide (only you can see these)'\n\nconst SlideFooter = ({\n classes,\n className,\n onSubmit,\n privateNote,\n publicNote\n}) => {\n const debounceChange = useMemo(\n () => debounce(submitForm => submitForm(), 500),\n []\n )\n const editSp = useSubscriptionPolicy(\n sp => sp.lesson_planning.edit_presentation\n )\n\n return (\n \n {({ handleSubmit, handleChange, handleBlur, values, submitForm }) => (\n
    \n
    \n {editSp.restricted && (\n \n )}\n
    \n
    \n \n {PUBLIC_LABEL}\n \n
    \n
    \n \n {PRIVATE_LABEL}\n \n
    \n
    \n
    \n
    \n {\n handleChange(e)\n debounceChange(submitForm)\n }}\n onBlur={handleBlur}\n className={classNames(classes.notes, classes.publicNote)}\n />\n
    \n
    \n {\n handleChange(e)\n debounceChange(submitForm)\n }}\n onBlur={handleBlur}\n className={classNames(classes.notes, classes.privateNote)}\n id=\"public-notes\"\n />\n
    \n
    \n
    \n
    \n )}\n \n )\n}\n\nexport default injectSheet(styles)(SlideFooter)\n","import { connect } from 'react-redux'\nimport SlideFooter from './slide-footer.jsx'\nimport { updateNotes } from '../../../../../stores/presentation/presentation.actions.js'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getSlide } from '../../../../../stores/presentation/presentation.selectors.js'\n\nconst mapStateToProps = (state, { id }) => {\n const slide = getSlide(state, id)\n return {\n privateNote: slide.private_note,\n publicNote: slide.public_note\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...ownProps,\n ...stateProps,\n onSubmit: values =>\n dispatch(updateNotes(ownProps.id, values)).catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(SlideFooter)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './preview-item.styles'\nimport classNames from 'classnames'\n\nconst PreviewItem = ({\n classes,\n className,\n image,\n onClick,\n id,\n author,\n userProfileUrl\n}) => (\n
    \n onClick(id)}\n className={classes.holder}\n style={{ backgroundImage: `url(${image})` }}>\n
    \n e.stopPropagation()}\n className={classes.authorLink}\n href={`${userProfileUrl}?utm_source=pobble&utm_medium=referral`}\n target=\"_blank\"\n rel=\"noopener noreferrer\">\n Photo by {author}\n \n
    \n
    \n
    \n)\n\nexport default injectSheet(styles)(PreviewItem)\n","export default {\n container: {\n width: 'calc(33.333% - 12px)',\n margin: '6px'\n },\n holder: {\n position: 'relative',\n cursor: 'pointer',\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n background: '#fff',\n borderRadius: '5px',\n border: '1px solid #ddd',\n width: '100%',\n paddingBottom: '56%',\n overflow: 'hidden',\n '&:hover': {\n '& $author': {\n opacity: '1'\n }\n }\n },\n author: {\n position: 'absolute',\n bottom: '0',\n left: '0',\n width: '100%',\n background: 'rgba(0, 0, 0, 0.6)',\n fontSize: '12px',\n color: '#fff',\n padding: '3px 5px',\n opacity: '0',\n transition: 'opacity 0.3s ease-in'\n },\n authorLink: {\n color: '#fff',\n textDecoration: 'none',\n display: 'block',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n '&:hover': {\n textDecoration: 'underline'\n }\n }\n}\n","import React from 'react'\nimport styles from './pending-area.styles'\nimport injectSheet from 'react-jss'\nimport Spinner from 'pobble-components/dist/spinner'\nimport classNames from 'classnames'\n\nconst PendingArea = ({ classes, className, spinnerParams, fadeIn }) => (\n \n \n
    \n)\n\nexport default injectSheet(styles)(PendingArea)\n","export default {\n container: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n width: '100%',\n height: '100%'\n },\n fadeIn: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './preview.styles'\nimport classNames from 'classnames'\nimport PreviewItem from './preview-item/preview-item'\nimport PendingArea from '../../../pending-area/pending-area'\n\nconst Preview = ({\n classes,\n className,\n previews,\n pending,\n notFound,\n onUnsplashSelect\n}) => (\n
    \n {pending && }\n {notFound &&
    Nothing was found...
    }\n {previews && (\n
    \n {previews.map((preview, index) => (\n \n ))}\n
    \n )}\n
    \n)\n\nexport default injectSheet(styles)(Preview)\n","export default ({ COLORS }) => ({\n container: {\n height: '232px',\n borderRadius: '8px',\n border: '1px solid #ddd',\n backgroundColor: '#f9f9f9',\n padding: '8px',\n overflow: 'auto',\n position: 'relative'\n },\n pendingArea: {\n zIndex: '100',\n backgroundColor: 'rgba(255, 255, 255, 0.5)',\n left: '1px',\n top: '1px',\n position: 'absolute',\n width: 'calc(100% - 2px)',\n height: 'calc(100% - 2px)',\n animation: '0.3s fadeIn ease-in'\n },\n notFound: {\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n width: '100%',\n height: '100%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n },\n previews: {\n height: '100%',\n overflow: 'auto',\n display: 'flex',\n flexWrap: 'wrap'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n})\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './unsplash.styles'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport Preview from './preview/preview'\nimport { useState } from 'react'\n\nconst Unsplash = ({\n classes,\n onSearchChange,\n defaultSearchValue,\n id,\n pending,\n previews,\n onUnsplashSelect\n}) => {\n const [value, setValue] = useState(defaultSearchValue)\n\n return (\n
    \n \n Search for an image\n \n {\n const value = e.target.value\n setValue(value)\n onSearchChange(value)\n }}\n />\n

    \n Photos by{' '}\n \n Unsplash\n \n

    \n \n
    \n )\n}\n\nexport default injectSheet(styles)(Unsplash)\n","export default ({ COLORS }) => ({\n searchInput: {\n margin: '0 0 20px'\n },\n unsplashMessage: {\n textAlign: 'right',\n color: '#555',\n fontSize: '12px',\n lineHeight: '1',\n margin: '0 0 5px',\n '& a': {\n color: COLORS.TEXT.DARK_GREY.NORMAL\n }\n }\n})\n","import React, { Component } from 'react'\nimport Unsplash from './unsplash'\nimport debounce from 'lodash/debounce'\nimport { apiUnsplashSearch } from '../../../common/api/lesson'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nclass UnsplashContainer extends Component {\n state = { previews: [], request: { pending: false, error: null } }\n componentDidMount() {\n const { defaultSearchValue } = this.props\n defaultSearchValue && this.onSearchChange(defaultSearchValue)\n }\n onSearchChange = value => {\n this.search(value)\n }\n search(value) {\n this.setState({ request: { pending: true, error: false } })\n apiUnsplashSearch({ search_term: value, per_page: 12, page: 1 })\n .then(res =>\n this.setState({\n previews: res.data,\n request: { pending: false, error: null }\n })\n )\n .catch(e => {\n this.setState({ request: { pending: false, error: e } })\n throw e\n })\n .catch(errorHandler)\n }\n render() {\n const { defaultSearchValue, onUnsplashSelect, pending } = this.props\n const { previews, request } = this.state\n return (\n \n )\n }\n}\n\nexport default UnsplashContainer\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './image-selectors.styles'\nimport Unsplash from './unsplash/unsplash.container'\nimport FormFile from 'pobble-components/dist/form-elements/form-file'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faPlusCircle } from '@fortawesome/pro-solid-svg-icons/faPlusCircle'\nimport ButtonElement from 'pobble-components/dist/button-element'\n\nconst ImageSelector = ({\n classes,\n defaultSearchValue,\n onUnsplashSelect,\n onFileSelect,\n onMainImageSelect,\n pending,\n presentation\n}) => {\n return (\n
    \n \n
    \n
    \n Upload your own image\n \n
    \n \n
    \n \n
    \n {presentation.image &&\n onMainImageSelect && (\n
    \n Use cover image\n \n
    \n )}\n
    \n
    \n )\n}\n\nexport default injectSheet(styles)(ImageSelector)\n","export default {\n uploadImageWrapper: {\n width: '100%'\n },\n uploadImage: {\n paddingBottom: '56%',\n background: '#f9f9f9',\n border: '1px solid #ddd',\n borderRadius: '5px',\n position: 'relative',\n cursor: 'pointer'\n },\n uploadIcon: {\n position: 'absolute',\n left: '50%',\n top: '50%',\n fontSize: '30px',\n margin: '-15px 0 0 -15px',\n color: '#c3c3c3'\n },\n optionsHolder: {\n marginTop: '20px',\n padding: '8px',\n display: 'flex'\n },\n option: {\n width: 'calc(33.333% - 12px)',\n margin: '6px'\n },\n mainImage: {\n display: 'block',\n backgroundColor: '#f9f9f9',\n width: '100%',\n paddingBottom: '56%',\n borderRadius: '5px',\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n cursor: 'pointer'\n }\n}\n","import { connect } from 'react-redux'\nimport ImageSelector from './image-selector'\nimport { getPresentation } from '../../stores/presentation/presentation.selectors'\n\nconst mapStateToProps = state => ({\n presentation: getPresentation(state)\n})\n\nexport default connect(\n mapStateToProps,\n null\n)(ImageSelector)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './image-dialog.styles'\nimport { Modal, ModalHeader, ModalContent } from 'pobble-components/dist/modal'\nimport ImageSelector from '../../../image-selector/image-selector.container'\n\nconst ImageDialog = ({\n classes,\n isOpen,\n onChange,\n onClose,\n onSubmit,\n title,\n updating,\n defaultSearchValue,\n onUnsplashSelect,\n pending,\n id,\n onFileSelect,\n onMainImageSelect,\n offerUseCoverImage\n}) => (\n \n Set image\n \n \n onUnsplashSelect(...props).then(onClose)\n }\n defaultSearchValue={defaultSearchValue}\n onFileSelect={(...props) => onFileSelect(...props).then(onClose)}\n onMainImageSelect={\n offerUseCoverImage\n ? (...props) => {\n onMainImageSelect(...props)\n onClose()\n }\n : undefined\n }\n />\n \n \n)\n\nexport default injectSheet(styles)(ImageDialog)\n","export default {\n modalContent: {\n width: '600px'\n }\n}\n","import { connect } from 'react-redux'\nimport ImageDialog from './image-dialog'\nimport {\n getSlide,\n getUploadImageRequest\n} from '../../../../stores/presentation/presentation.selectors'\nimport {\n uploadImage,\n updateSlideImmediately,\n removeImageImmediately\n} from '../../../../stores/presentation/presentation.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = (state, { id }) => {\n const slide = getSlide(state, id)\n const uploadImageRequest = getUploadImageRequest(state, id)\n return {\n defaultSearchValue: slide.title,\n pending: uploadImageRequest.pending,\n image: slide.image,\n offerUseCoverImage: slide.type === 'Image'\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...ownProps,\n ...stateProps,\n onUnsplashSelect: unsplashId =>\n dispatch(uploadImage(ownProps.id, { unsplash_id: unsplashId })).catch(\n errorHandler\n ),\n onFileSelect: files =>\n dispatch(uploadImage(ownProps.id, { image: files[0] })).catch(errorHandler),\n onMainImageSelect: () => {\n stateProps.image &&\n dispatch(removeImageImmediately(ownProps.id)).catch(errorHandler)\n dispatch(\n updateSlideImmediately(ownProps.id, 'Image', {\n use_presentation_image: true\n })\n )\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(ImageDialog)\n","import React, { useState } from 'react'\nimport ButtonElement from 'pobble-components/dist/button-element'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faPencil } from '@fortawesome/pro-solid-svg-icons/faPencil'\nimport { faCopy } from '@fortawesome/pro-solid-svg-icons/faCopy'\nimport { faTrash } from '@fortawesome/pro-solid-svg-icons/faTrash'\nimport { faEye } from '@fortawesome/pro-solid-svg-icons/faEye'\nimport { faEyeSlash } from '@fortawesome/pro-solid-svg-icons/faEyeSlash'\nimport { faColumns } from '@fortawesome/pro-solid-svg-icons/faColumns'\nimport { faLineColumns } from '@fortawesome/pro-solid-svg-icons/faLineColumns'\nimport { faImage } from '@fortawesome/pro-solid-svg-icons/faImage'\nimport { faPalette } from '@fortawesome/pro-solid-svg-icons/faPalette'\nimport {\n deleteSlide,\n duplicateSlide,\n updateSlideImmediately\n} from '../../../../../stores/presentation/presentation.actions'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\nimport { openEditSlideDialog } from '../redux/builder.actions'\nimport injectSheet from 'react-jss'\nimport { useDispatch } from 'react-redux'\nimport ImageDialog from '../../../../presentation-wizard/image-slide/image-dialog/image-dialog.container'\nimport { backgroundColorsList } from 'pobble-components/dist/presentation'\nimport posthog from 'posthog-js'\n\nconst nextItemInArray = (array, item) => {\n const index = array.indexOf(item)\n if (index === -1) {\n return null\n }\n return array[index + 1] || array[0]\n}\n\nconst layouts = [\n 'left-fit',\n 'right-fit',\n 'center-fit',\n 'left-fill',\n 'right-fill',\n 'center-fill'\n]\n\nconst lines = [\n 'guides-medium',\n 'lines-medium',\n 'blank-medium',\n 'guides-large',\n 'lines-large',\n 'guides-narrow',\n 'lines-narrow'\n]\n\nexport const EditSlidePanel = injectSheet({\n quickActions: {\n border: '1px solid var(--gray)',\n display: 'flex',\n alignItems: 'flex-end',\n padding: '0',\n margin: '0',\n background: 'var(--gray)',\n listStyle: 'none',\n borderRadius: '24px',\n overflow: 'hidden',\n '& li': {\n borderLeft: '1px solid var(--gray-)',\n '&:first-child': {\n borderLeft: 'none'\n }\n },\n '& button': {\n display: 'flex',\n padding: '12px 24px',\n alignItems: 'center',\n justifyContent: 'center',\n font: 'var(--font-body-)',\n fontWeight: 'bold',\n color: 'var(--light-gray)',\n height: '40px',\n width: '40px',\n '&:hover': {\n background: '#000'\n },\n '& svg': {\n opacity: '.6',\n font: 'var(--font-body--)'\n }\n }\n },\n titleButton: {\n paddingLeft: '16px !important',\n width: 'auto !important',\n '& svg': {\n marginRight: '8px'\n }\n }\n})(({ classes, slideData }) => {\n const dispatch = useDispatch()\n const [imageDialogOpened, setImagedialogOpened] = useState(false)\n\n return (\n <>\n
      \n {slideData.type === 'Blank' && (\n
    • \n {\n const linesVariation =\n nextItemInArray(\n lines,\n `${slideData.line_type}-${slideData.line_height}`\n ) || 'guides-medium'\n dispatch(\n updateSlideImmediately(slideData.id, 'Blank', {\n line_type: linesVariation.split('-')[0],\n line_height: linesVariation.split('-')[1]\n })\n ).catch(errorHandler)\n }}>\n \n Change line type\n \n
    • \n )}\n {(slideData.type === 'Title' || slideData.type === 'Image') && (\n
    • \n {\n setImagedialogOpened(true)\n }}>\n \n Change image\n \n
    • \n )}\n {slideData.type !== 'Blank' && (\n
    • \n {\n posthog.capture('click on edit content from builder', {\n slide_type: slideData.type\n })\n dispatch(openEditSlideDialog(slideData.type, slideData.id))\n }}>\n \n Edit content\n \n
    • \n )}\n {(slideData.type === 'Text' || slideData.type === 'Exercise') && (\n
    • \n {\n const color =\n nextItemInArray(\n backgroundColorsList,\n slideData.secondaryColor\n ) || 'sqyi'\n dispatch(\n updateSlideImmediately(slideData.id, null, {\n secondaryColor: color\n })\n ).catch(errorHandler)\n }}>\n \n Change color\n \n
    • \n )}\n {slideData.type === 'Image' && (\n
    • \n {\n const layout = nextItemInArray(\n layouts,\n `${slideData.imagePosition}-${slideData.image_size}`\n )\n dispatch(\n updateSlideImmediately(slideData.id, 'Image', {\n imagePosition: layout.split('-')[0],\n image_size: layout.split('-')[1]\n })\n )\n }}>\n \n Change layout\n \n
    • \n )}\n {slideData.type !== 'Title' &&\n slideData.type !== 'LessonOverview' && (\n
    • \n {\n openConfirmationDialog({\n bodyText: 'Are you sure you want to duplicate this slide?',\n action: () =>\n dispatch(duplicateSlide(slideData.id)).catch(\n errorHandler\n ),\n confirmText: 'Duplicate',\n cancelText: 'Cancel'\n })\n }}>\n \n \n
    • \n )}\n\n {slideData.type !== 'Title' && (\n
    • \n {\n openConfirmationDialog({\n bodyText: `Are you sure you want to ${\n slideData.hidden ? 'show' : 'hide'\n } this slide?`,\n action: () =>\n dispatch(\n updateSlideImmediately(slideData.id, null, {\n hidden: !slideData.hidden\n })\n ).catch(errorHandler),\n confirmText: slideData.hidden ? 'Show' : 'Hide',\n cancelText: 'Cancel'\n })\n }}>\n \n \n
    • \n )}\n {slideData.type !== 'Title' &&\n slideData.type !== 'LessonOverview' && (\n
    • \n {\n openConfirmationDialog({\n bodyText: 'Are you sure you want to delete this slide?',\n action: () =>\n dispatch(deleteSlide(slideData.id)).catch(errorHandler),\n theme: 'danger',\n confirmText: 'Delete',\n cancelText: 'Cancel'\n })\n }}>\n \n \n
    • \n )}\n
    \n setImagedialogOpened(false)}\n isOpen={imageDialogOpened}\n id={slideData.id}\n />\n \n )\n})\n","import React, { useRef } from 'react'\nimport injectSheet from 'react-jss'\nimport SlideFooter from '../slide-footer/slide-footer.container'\nimport { Presentation } from 'pobble-components/dist/presentation'\nimport { EditSlidePanel } from '../edit-slide-panel/edit-slide-panel'\n\nconst styles = {\n container: {\n display: 'flex',\n flexDirection: 'row'\n },\n layoutContent: {\n flex: '1',\n marginTop: '1px'\n },\n footer: {\n paddingTop: '40px'\n },\n restrictedOverlay: {\n position: 'absolute',\n left: '0',\n top: '0',\n width: '100%',\n height: '100%',\n zIndex: '5',\n cursor: 'pointer'\n },\n slideContainer: {\n boxShadow: '0 0 0 1px rgba(0, 0, 0, 0.16)'\n },\n slideWrapper: {\n position: 'relative',\n transition: 'box-shadow 0.2s ease-out',\n '@supports (aspect-ratio: 1 / 1)': {\n maxHeight: 'calc(100vh - 180px)',\n aspectRatio: '16 / 9',\n margin: '0 auto'\n },\n '&:hover': {\n boxShadow: '0 0 0 4px var(--light-gray), 0 0 0 6px var(--gray)',\n '& $quickActionsPanel': {\n opacity: '1',\n transform: 'scale(1)'\n }\n }\n },\n quickActionsPanel: {\n position: 'absolute',\n top: '-20px',\n left: '0',\n width: '100%',\n display: 'flex',\n justifyContent: 'center',\n opacity: '0',\n transition: 'opacity 0.2s ease-out, transform 0.2s ease-out',\n transform: 'scale(.95)',\n zIndex: '10'\n }\n}\n\nconst SlideConstructor = ({\n classes,\n id,\n presentation,\n slides,\n activeSlideId,\n onSlideUpdate\n}) => {\n const containerRef = useRef(null)\n\n return (\n \n {({ currentSlide, slideData, slides }) => {\n return (\n
    \n
    \n
    \n
    \n \n
    \n {currentSlide}\n
    \n {!presentation.asset && (\n
    \n \n
    \n )}\n
    \n
    \n )\n }}\n \n )\n}\n\nexport default injectSheet(styles)(SlideConstructor)\n","import { connect } from 'react-redux'\nimport SlideConstructor from './slide-constructor.jsx'\nimport { getActiveSlideId } from '../redux/builder.selectors'\nimport {\n getSlide,\n getPresentation,\n getSlidesMap\n} from '../../../../../stores/presentation/presentation.selectors'\nimport { directSlideUpdate } from '../../../../../stores/presentation/presentation.actions.js'\n\nconst mapStateToProps = state => {\n const presentation = getPresentation(state)\n const slide = getSlide(state, getActiveSlideId(state))\n return {\n id: slide.id,\n fontSize: presentation.font_size,\n presentation,\n slides: getSlidesMap(state),\n activeSlideId: getActiveSlideId(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onSlideUpdate: slide => dispatch(directSlideUpdate(slide))\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(SlideConstructor)\n","const styles = ({ FONT_SIZES, BREAKPOINTS }) => ({\n container: {\n display: 'flex',\n flexDirection: 'row',\n [`@media (max-width: ${BREAKPOINTS.MD}) and (orientation: portrait)`]: {\n flexDirection: 'column'\n }\n },\n cat: {\n display: 'block',\n height: '100%',\n flex: '0',\n [`@media (max-width: ${BREAKPOINTS.MD}) and (orientation: portrait)`]: {\n width: '100vw',\n height: '100vw'\n }\n },\n textBox: {\n fontSize: '16px',\n backgroundColor: '#fff',\n flex: '1',\n display: 'flex',\n flexDirection: 'column',\n textAlign: 'center',\n justifyContent: 'center',\n alignItems: 'center',\n [`@media (max-width: 320px) and (orientation: portrait)`]: {\n fontSize: '14px'\n }\n },\n title: {\n fontSize: '1.85em',\n lineHeight: '1.06',\n fontWeight: 'bold',\n margin: '0 0 0.66em'\n },\n desc: {\n fontSize: '1em',\n lineHeight: '1.25',\n margin: '0'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './small-screen-placeholder.styles'\nimport classNames from 'classnames'\nimport cat from './cat-squashed.gif'\n\nconst SmallScreenPlaceholder = ({ classes, className }) => (\n
    \n \n
    \n

    Too big for this screen!

    \n

    \n Please use a tablet or laptop
    to plan a lesson.\n

    \n
    \n
    \n)\n\nexport default injectSheet(styles)(SmallScreenPlaceholder)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone/'\n\nconst styles = {\n container: {\n display: 'flex',\n margin: '20px 0 0'\n },\n sidebar: {\n width: '280px',\n height: '100%',\n padding: '0 20px 0 32px'\n },\n content: {\n flex: '1',\n height: 'calc(100vh - 140px)',\n display: 'flex',\n background: '#e3e3e3',\n padding: '20px',\n marginTop: '-20px'\n },\n slideHolder: {\n flex: '1'\n },\n slide: {\n width: '100%',\n height: '0',\n padding: '0 0 56%',\n borderRadius: '0',\n background: 'var(--light-gray-)'\n },\n slidePreview: {\n height: '0',\n width: '100%',\n padding: '0 0 56%',\n borderRadius: '4px',\n marginBottom: '20px',\n background: 'var(--light-gray--)'\n },\n button: {\n height: '40px',\n borderRadius: '4px',\n marginBottom: '20px',\n background: 'var(--light-gray--)'\n }\n}\n\nconst Skeleton = ({ classes }) => (\n
    \n
    \n \n \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n)\n\nexport default injectSheet(styles)(Skeleton)\n","import React from 'react'\nimport styles from './label.styles'\nimport injectSheet from 'react-jss'\nimport classNames from 'classnames'\n\nconst Label = ({ classes, children, className }) => (\n {children}\n)\n\nexport default injectSheet(styles)(Label)\n","export default {\n label: {\n display: 'block',\n color: '#acacac',\n marginBottom: '3px'\n }\n}\n","const styles = ({ COLORS }) => ({\n valueStyles: {\n color: COLORS.TEXT.MID_GREY.NORMAL,\n left: '0',\n top: '0',\n width: 'calc(100% - 30px)',\n height: '100%',\n lineHeight: '40px',\n position: 'absolute',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n padding: '0 0 0 15px',\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n borderRight: '1px solid #ddd'\n },\n select: {\n position: 'relative',\n '& .Select-control': {\n overflow: 'hidden',\n height: '40px',\n lineHeight: '40px',\n border: '1px solid #DDD',\n borderRadius: '4px',\n backgroundColor: '#fff',\n position: 'relative',\n cursor: 'pointer'\n },\n '& .Select-input': {\n display: 'none'\n },\n '& .Select-placeholder': {\n extend: 'valueStyles'\n },\n '& .Select-arrow-zone': {\n position: 'absolute',\n right: '0',\n top: '0',\n width: '22px'\n },\n '& .Select-menu-outer': {\n maxHeight: '200px',\n position: 'absolute',\n top: '100%',\n width: '100%',\n zIndex: '1'\n },\n '& .Select-menu': {\n maxHeight: '200px',\n overflowY: 'auto',\n border: '1px solid #DDD',\n boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1)',\n backgroundColor: '#fff',\n borderRadius: '4px',\n overflow: 'hidden',\n marginTop: '4px',\n color: COLORS.TEXT.LIGHT_GREY.NORMAL\n },\n '& .Select-noresults': {\n padding: '5px 15px'\n },\n '& .Select-option.is-selected > span': {\n color: COLORS.BLUE.NORMAL\n }\n },\n value: {\n extend: 'valueStyles'\n },\n option: {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n cursor: 'pointer',\n padding: '5px 15px',\n '&:hover': {\n color: COLORS.BLUE.NORMAL\n }\n },\n oddOption: {\n backgroundColor: '#f9f9f9'\n },\n buttonIcon: {\n color: '#787878'\n }\n})\n\nexport default styles\n","import React, { Component, Fragment } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './form-select.styles.js'\nimport Select from 'react-select'\nimport AngleDownIcon from 'react-icons/lib/fa/angle-down'\nimport classNames from 'classnames'\n\nclass FormSelect extends Component {\n arrowRenderer() {\n const { classes } = this.props\n return \n }\n renderLabel(option) {\n const { classes } = this.props\n const prefix = option.prefix ? option.prefix : null\n const label = {option.label}\n const suffix = option.suffix ? option.suffix : null\n return (\n \n {prefix}\n {label}\n {suffix}\n \n )\n }\n valueRenderer(option) {\n const { classes, valueClassName } = this.props\n return (\n \n {this.renderLabel(option)}\n \n )\n }\n optionRenderer(option, i) {\n const { classes } = this.props\n return (\n \n {this.renderLabel(option)}\n \n )\n }\n render() {\n const {\n classes,\n value,\n options,\n selectProps,\n className,\n onChange,\n ...props\n } = this.props\n return (\n this.arrowRenderer()}\n optionRenderer={(option, i) => this.optionRenderer(option, i)}\n valueRenderer={option => this.valueRenderer(option)}\n searchable={false}\n clearable={false}\n onChange={onChange}\n options={options}\n {...selectProps}\n {...props}\n />\n )\n }\n}\n\nexport default injectSheet(styles)(FormSelect)\n","const styles = {\n colorSelect: {},\n option: {\n cursor: 'pointer',\n display: 'block',\n height: '40px'\n },\n value: {\n position: 'absolute',\n left: '0',\n top: '0',\n width: 'calc(100% - 30px)',\n height: '100%',\n borderRight: '1px solid #DDD'\n }\n}\n\nexport default styles\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport Select from '../common/form-elements/form-select/form-select'\nimport styles from './color-select.styles'\nimport classNames from 'classnames'\n\nclass ColorSelect extends Component {\n optionRenderer(option) {\n const { classes } = this.props\n return (\n \n )\n }\n valueRenderer(option) {\n const { classes } = this.props\n return (\n \n )\n }\n render() {\n const { classes, value, options, onChange, className } = this.props\n return (\n this.optionRenderer(option),\n valueRenderer: option => this.valueRenderer(option)\n }}\n value={value}\n options={options}\n />\n )\n }\n}\n\nexport default injectSheet(styles)(ColorSelect)\n","import React, { Fragment } from 'react'\nimport Label from '../label/label'\nimport injectSheet from 'react-jss'\nimport styles from './accessibility-select.styles'\nimport ColorSelect from '../../../color-select/color-select'\nimport {\n accessibilityColors,\n accessibilityColorsList\n} from 'pobble-components/dist/presentation'\n\nconst colorOptions = accessibilityColorsList.map(id => ({\n color: accessibilityColors[id],\n value: id\n}))\n\nconst AccessibilitySelect = ({\n classes,\n value = '#FFFFFF',\n onChange,\n onApplyToAll\n}) => (\n \n \n \n \n)\n\nexport default injectSheet(styles)(AccessibilitySelect)\n","import { hover } from 'pobble-components/dist/jss-mixins'\n\nexport default ({ COLORS }) => ({\n applyToAll: {\n color: COLORS.BLUE.FADED,\n cursor: 'pointer',\n ...hover({\n color: COLORS.BLUE.NORMAL\n })\n }\n})\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.YearGroups\n\nconst getYearGroups = state => getState(state).yearGroups\n\nconst getFilteredYearGroups = createSelector(\n [getYearGroups],\n yearGroups =>\n !yearGroups\n ? null\n : yearGroups.filter(group => group.order > 1 && group.order !== 15)\n)\n\nexport { getYearGroups, getFilteredYearGroups }\n","import { apiClient } from 'pobble-components/dist/api'\n\nconst apiGetYearGroups = params => apiClient.get('/v3/year_groups', { params })\n\nexport { apiGetYearGroups }\n","import React, { useEffect, useMemo } from 'react'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\nimport classNames from 'classnames'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { getYearGroups } from '../../stores/year-groups/year-groups.selectors'\nimport { fetchYearGroups } from '../../stores/year-groups/year-groups.action'\nimport ButtonElement from 'pobble-components/dist/button-element'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faTimes } from '@fortawesome/pro-regular-svg-icons/faTimes'\n\nconst styles = {\n ageContainer: {\n display: 'flex',\n alignItems: 'center',\n width: '340px',\n minWidth: '100px',\n '& > *': {\n flex: '1'\n }\n },\n option: {\n '& > *': {\n padding: '10px 15px'\n }\n },\n ageDash: {\n flex: '0',\n margin: '0 16px'\n },\n bone: {\n borderRadius: '4px',\n height: '40px'\n },\n clear: {\n textDecoration: 'underline',\n marginLeft: '16px',\n '& > svg': {\n fontSize: '.7em',\n marginRight: '4px'\n }\n },\n hideClear: {\n opacity: '0',\n pointerEvents: 'none'\n }\n}\n\nconst YearGroupsSelection = ({\n classes,\n selected,\n onChange,\n className,\n boneClassName,\n selectClassName,\n contrast,\n optionClassName,\n yearGroupsFilter = yearGroups => yearGroups.filter(group => group.order < 15)\n}) => {\n const yearGroupsPull = useSelector(getYearGroups)\n const dispatch = useDispatch()\n\n useEffect(() => {\n !yearGroupsPull && dispatch(fetchYearGroups())\n }, []) // eslint-disable-line\n\n const yearGroups = useMemo(\n () => {\n return !yearGroupsPull ? null : yearGroupsFilter(yearGroupsPull)\n },\n [yearGroupsPull] // eslint-disable-line\n )\n\n const yearGroupsMap = useMemo(\n () => {\n if (!yearGroups) return null\n const result = {}\n yearGroups.forEach(yearGroup => (result[yearGroup.id] = yearGroup))\n return result\n },\n [yearGroups]\n )\n\n const range = useMemo(\n () => {\n if (!yearGroupsMap || !selected) return null\n\n if (!selected.length)\n return {\n from: yearGroups[0].order,\n to: yearGroups[yearGroups.length - 1].order\n }\n\n return {\n from: yearGroupsMap[selected[0]].order,\n to: yearGroupsMap[selected[selected.length - 1]].order\n }\n },\n [yearGroups, yearGroupsMap, selected]\n )\n\n const options = useMemo(\n () => {\n if (!yearGroups || !range) return null\n return {\n from: yearGroups.map(yearGroup => ({\n value: yearGroup.order,\n label: `Age ${yearGroup.from}`\n })),\n to: yearGroups\n .filter(yearGroup => yearGroup.order >= range.from)\n .map(yearGroup => ({\n value: yearGroup.order,\n label: `Age ${yearGroup.to}`\n }))\n }\n },\n [yearGroups, range]\n )\n\n return (\n
    \n {!options && }\n {!!options && (\n {\n const value = parseInt(e.target.value)\n let selected = yearGroups.filter(yearGroup => {\n return yearGroup.order === value\n })\n\n if (selected.length === yearGroups.length) {\n selected = []\n }\n\n onChange({\n selected,\n selectedIds: selected.map(selected => selected.id)\n })\n }}>\n {options.from.map(option => (\n \n {option.label}\n \n ))}\n \n )}\n
    to
    \n {!options && }\n {!!options && (\n {\n const value = parseInt(e.target.value)\n let selected = yearGroups.filter(yearGroup => {\n return yearGroup.order >= range.from && yearGroup.order <= value\n })\n\n if (selected.length === yearGroups.length) {\n selected = []\n }\n\n onChange({\n selected,\n selectedIds: selected.map(selected => selected.id)\n })\n }}>\n {options.to.map(option => (\n \n {option.label}\n \n ))}\n \n )}\n {\n onChange({\n selected: [],\n selectedIds: []\n })\n }}\n className={classNames(classes.clear, {\n [classes.hideClear]: !yearGroups || !selected.length\n })}>\n Clear\n \n
    \n )\n}\n\nexport default injectSheet(styles)(YearGroupsSelection)\n","import { apiGetYearGroups } from '../../common/api/year-groups'\n\nconst fetchYearGroups = () => ({\n requestPrefix: 'YEAR_GROUPS:FETCH',\n request: () =>\n apiGetYearGroups({\n include: 'year_group.names,year_group.order'\n })\n})\n\nexport { fetchYearGroups }\n","import React, { Fragment, useMemo, useState } from 'react'\nimport injectSheet from 'react-jss'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport AccessibilitySelect from '../../../../../presentation-wizard/components/accessibility-select/accessibility-select'\nimport { Formik } from 'formik'\nimport FormSelect from '../../../../../common/form-elements/form-select/form-select'\nimport Label from '../../../../../presentation-wizard/components/label/label'\nimport YearGroupSelection from '../../../../../year-groups-selection/year-groups-selection'\nimport FormRow from 'pobble-components/dist/form-elements/form-row'\nimport FormCheckbox from 'pobble-components/dist/form-elements/form-checkbox'\nimport { useSelector } from 'react-redux'\nimport { isSettingsModalOpened } from '../../redux/builder.selectors'\nimport {\n getPresentation,\n getUpdatePropertiesRequest\n} from '../../../../../../stores/presentation/presentation.selectors'\nimport { useDispatch } from 'react-redux'\nimport { closeSettingsModal } from '../../redux/builder.actions'\nimport { updatePresentationProperties } from '../../../../../../stores/presentation/presentation.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst styles = {\n option: {\n '& > *': {\n padding: '10px 15px'\n }\n },\n gridCell: {\n display: 'grid',\n gridTemplateColumns: '1fr 1fr 1fr',\n gridGap: '16px'\n },\n ageRow: {\n display: 'flex',\n alignItems: 'flex-end'\n },\n showAge: {\n '& label': {\n display: 'flex',\n alignItems: 'center',\n marginBottom: '10px',\n '& > *:first-child': {\n marginRight: '8px'\n }\n }\n }\n}\n\nconst Settings = injectSheet(styles)(({ classes }) => {\n const dispatch = useDispatch()\n\n const presentation = useSelector(getPresentation)\n const yearGroupsSet = presentation.year_groups\n const accessibilityColor = presentation.accessibility_color\n const showAge = presentation.show_age\n const fontSize = presentation.font_size\n const updatingPropertiesRequest = useSelector(getUpdatePropertiesRequest)\n const pending = updatingPropertiesRequest.pending\n const allYearGroups = presentation.all_year_groups\n const fontType = presentation.font_type\n\n const yearGroupsSetIds = useMemo(\n () => (!yearGroupsSet ? null : yearGroupsSet.map(item => item.id)),\n [yearGroupsSet]\n )\n\n const [showAgeSelector, setShowAgeSelector] = useState(\n !allYearGroups && yearGroupsSetIds.length\n )\n\n return (\n \n Presentation settings\n {\n dispatch(\n updatePresentationProperties(presentation.id, {\n accessibility_color: values.accessibilityColor,\n font_size: values.fontSize,\n year_groups: values.yearGroups,\n show_age: values.showAge,\n font_type: values.fontType\n })\n ).catch(errorHandler)\n }}\n initialValues={{\n accessibilityColor,\n fontSize,\n yearGroups: yearGroupsSetIds,\n showAge,\n fontType\n }}>\n {({\n handleSubmit,\n isValid,\n values,\n submitForm,\n setFieldValue,\n handleChange\n }) => (\n
    \n \n
    \n {!showAgeSelector && (\n \n setShowAgeSelector(true)}\n tall\n secondary>\n Set age group\n \n \n )}\n {showAgeSelector && (\n \n
    \n \n {\n setFieldValue('yearGroups', selectedIds)\n if (!selectedIds.length) {\n setShowAgeSelector(false)\n }\n }}\n />\n
    \n
    \n \n
    \n
    \n )}\n \n
    \n \n \n setFieldValue('fontSize', selected.value)\n }\n options={[\n {\n value: 'small',\n label: 'Small'\n },\n {\n value: 'medium',\n label: 'Medium'\n },\n {\n value: 'large',\n label: 'Large'\n }\n ]}\n />\n
    \n
    \n \n setFieldValue('accessibilityColor', selected.value)\n }\n value={values.accessibilityColor}\n />\n
    \n
    \n \n \n setFieldValue('fontType', selected.value)\n }\n optionClassName={classes.option}\n value={values.fontType}\n options={[\n {\n value: 'default',\n label: 'Default'\n },\n {\n value: 'cursive_a',\n label: 'Cursive C4'\n },\n {\n value: 'cursive_b',\n label: 'Cursive C6'\n }\n ]}\n />\n
    \n
    \n
    \n
    \n \n \n \n Save\n \n \n
    \n )}\n \n
    \n )\n})\n\nconst SettingsModal = () => {\n const isOpen = useSelector(isSettingsModalOpened)\n const dispatch = useDispatch()\n\n return (\n dispatch(closeSettingsModal())}>\n \n \n )\n}\n\nexport default SettingsModal\n","import { apiClient } from 'pobble-components/dist/api'\n\nconst apiSetPresentationAsRecommended = (id, data) =>\n apiClient.put(`/v3/admin/presentations/${id}/set_recommended_until`, data)\n\nconst apiSetPresentationCategory = (id, data) =>\n apiClient.put(`/v3/admin/presentations/${id}/set_category`, data)\n\nconst apiFlagPresentation = (id, data) =>\n apiClient.put(`/v3/admin/presentations/${id}/flag`, data)\n\nconst apiUnflagPresentation = (id, data) =>\n apiClient.put(`/v3/admin/presentations/${id}/unflag`, data)\n\nexport {\n apiSetPresentationAsRecommended,\n apiSetPresentationCategory,\n apiFlagPresentation,\n apiUnflagPresentation\n}\n","import React, { useState, useCallback, useMemo } from 'react'\nimport injectSheet from 'react-jss'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport Button from 'pobble-components/dist/button'\nimport {\n apiSetPresentationAsRecommended,\n apiSetPresentationCategory,\n apiFlagPresentation,\n apiUnflagPresentation\n} from '../../../common/api/admin'\nimport { toast } from 'pobble-components/dist/toast'\nimport { CATEGORIES } from 'pobble-components/dist/presentation'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\nimport FormCheckbox from 'pobble-components/dist/form-elements/form-checkbox'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { withRouter } from 'react-router-dom'\nimport { apiClient } from 'pobble-components/dist/api'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nconst toastText =\n 'Presentation status has been updated. Changes will be applied in a couple of seconds. Reload the page'\n\nconst styles = {\n container: {\n '& > *': {\n marginTop: '30px',\n '&:first-child': {\n marginTop: '0'\n }\n }\n },\n recommendedControlsRow: {\n display: 'flex'\n },\n setAsRecommended: {\n marginLeft: '10px'\n },\n unsetRecommended: {\n marginLeft: '10px'\n },\n optionGroup: {\n display: 'flex',\n alignItems: 'center'\n },\n lastRow: {\n display: 'flex',\n justifyContent: 'space-between'\n },\n checkboxes: {\n display: 'flex',\n '& > *': {\n marginLeft: '16px'\n }\n },\n p365form: {\n display: 'flex',\n gap: '16px',\n '& button': {\n whiteSpace: 'nowrap'\n }\n },\n audio: {\n display: 'flex',\n alignItems: 'center',\n gap: '16px'\n }\n}\n\nconst Controls = injectSheet(styles)(\n ({ classes, onRecommendedChange, presentation, history }) => {\n const {\n recommended,\n category,\n flag,\n id,\n lessonLink,\n approved,\n publicPresentation,\n premium\n } = useMemo(\n () => ({\n recommended: presentation.recommended_until,\n category: presentation.category,\n flag: presentation.flag,\n id: presentation.id,\n lessonLink: `/lesson/${presentation.id}`,\n approved: presentation.approved,\n publicPresentation: presentation.public,\n premium: presentation.premium\n }),\n [presentation]\n )\n\n const categories = useMemo(() => {\n return Object.keys(CATEGORIES).map(key => ({\n value: key,\n label: CATEGORIES[key]\n }))\n }, [])\n\n const [recommendedUntil, setRecommendedUntil] = useState(recommended || '')\n const [selectedCategory, setSelectedCategory] = useState(category)\n const [currentlyFlagged, setCurrentlyFlagged] = useState(flag)\n const [currentlyPremium, setCurrentlyPremium] = useState(premium)\n const [currentlyApproved, setCurrentlyApproved] = useState(approved)\n const [currentlyPublic, setCurrentlyPublic] = useState(publicPresentation)\n\n const changeApprovedStatus = value => {\n if (value) {\n apiClient\n .put(`/v3/admin/presentations/${id}/approve`)\n .catch(errorHandler)\n setCurrentlyApproved(true)\n } else {\n apiClient\n .put(`/v3/admin/presentations/${id}/decline`)\n .catch(errorHandler)\n setCurrentlyApproved(false)\n }\n }\n\n const changePublicStatus = value => {\n if (value) {\n apiClient\n .put(`/v3/presentations/${id}/set_to_public`)\n .catch(errorHandler)\n setCurrentlyPublic(true)\n } else {\n apiClient\n .put(`/v3/presentations/${id}/set_to_private`)\n .catch(errorHandler)\n setCurrentlyPublic(false)\n }\n }\n\n const submitRecommended = useCallback(\n until => {\n const request = apiSetPresentationAsRecommended(id, {\n recommended_until: until\n }).then(() => toast.success(toastText))\n onRecommendedChange &&\n onRecommendedChange({\n id: id,\n date: until,\n request\n })\n },\n [id] // eslint-disable-line\n )\n const changeCategory = useCallback(\n category => {\n setSelectedCategory(category)\n apiSetPresentationCategory(id, { category: category || null })\n .then(() => toast.success(toastText))\n .catch(errorHandler)\n },\n [id]\n )\n\n const flagPresentation = useCallback(\n checked => {\n setCurrentlyFlagged(checked)\n checked &&\n apiFlagPresentation(id, { reason: 'flagging as an admin' })\n .then(() => toast.success(toastText))\n .catch(errorHandler)\n !checked &&\n apiUnflagPresentation(id, { reason: 'flagging as an admin' })\n .then(() => toast.success(toastText))\n .catch(errorHandler)\n },\n [id]\n )\n\n function setSponsored(value) {\n apiClient.put(`v3/admin/presentations/${id}/set_sponsored`, {\n sponsored: value\n })\n }\n\n const setPremium = checked => {\n if (checked) {\n setCurrentlyPremium(true)\n apiClient.put(`v3/admin/presentations/${id}/set_premium`, {\n premium: true\n })\n } else {\n setCurrentlyPremium(false)\n apiClient.put(`v3/admin/presentations/${id}/set_premium`, {\n premium: false\n })\n }\n }\n\n return (\n
    \n
    \n \n {!recommended && `Put presentation in \"This week's lessons\" until:`}\n {!!recommended &&\n `This presentation is in \"This week's lessons\" until:`}\n \n {\n e.preventDefault()\n submitRecommended(recommendedUntil)\n }}\n className={classes.recommendedControlsRow}>\n setRecommendedUntil(e.currentTarget.value)}\n placeholder=\"YYYY-MM-DD\"\n />\n \n {!!recommended && (\n {\n setRecommendedUntil('')\n submitRecommended('')\n }}\n dangerSecondary\n tall\n className={classes.unsetRecommended}>\n Unset\n \n )}\n \n
    \n
    \n Select a category\n changeCategory(e.currentTarget.value)}>\n \n {categories.map(({ value, label }) => (\n \n ))}\n \n
    \n
    \n Set as Pobble 365 day\n {\n e.preventDefault()\n const day = e.target.day.value\n const month = e.target.month.value\n openConfirmationDialog({\n bodyText: `This will swap existing Pobble 365 presentation with this one.`,\n confirmText: 'Set as Pobble 365',\n action: () => {\n apiClient\n .put(`v3/presentations/${id}/set_to_public`)\n .then(() => {\n apiClient\n .put(`v3/admin/presentations/${id}/set_category`, {\n category: 'pobble365'\n })\n .then(() => {\n apiClient\n .put(\n `v3/admin/presentations/${id}/swap_for_p365_presentation`,\n {\n day,\n month\n }\n )\n .then(res => {\n history.push(\n `/prompt/${res.data.presentation.id}`\n )\n })\n })\n })\n }\n })\n }}\n className={classes.p365form}>\n \n \n \n \n
    \n
    \n Set differentiated lessons\n {\n e.preventDefault()\n const easier = e.target.easier.value\n const harder = e.target.harder.value\n\n let easierReq = null\n let harderReq = null\n\n if (!easier) {\n easierReq = apiClient.put(\n `v3/admin/presentations/${id}/unset_easier_version`\n )\n } else {\n easierReq = apiClient\n .put(`v3/presentations/${easier}/set_to_public`)\n .then(() => {\n return apiClient.put(\n `v3/admin/presentations/${id}/set_easier_version`,\n {\n easier_version_id: easier\n }\n )\n })\n }\n\n if (!harder) {\n harderReq = apiClient.put(\n `v3/admin/presentations/${id}/unset_harder_version`\n )\n } else {\n harderReq = apiClient\n .put(`v3/presentations/${harder}/set_to_public`)\n .then(() => {\n return apiClient.put(\n `v3/admin/presentations/${id}/set_harder_version`,\n {\n harder_version_id: harder\n }\n )\n })\n }\n Promise.all([easierReq, harderReq])\n .then(() => {\n toast.success(\n `Updated sucessfully.\\nReload the page to see changes`\n )\n })\n .catch(() => toast.error('Something went wrong'))\n }}\n className={classes.p365form}>\n
    \n \n {presentation.easier_version_id && (\n \n Open easier\n \n )}\n
    \n
    \n \n {presentation.harder_version_id && (\n \n Open harder\n \n )}\n
    \n \n \n
    \n
    \n
    \n \n {\n apiClient\n .post(`/v3/presentations/${id}/create_presentation_copy`)\n .then(res => {\n window.open(`/lessons/lesson/${res.data.presentation.id}`)\n })\n }}\n tall\n secondary>\n Duplicate\n \n
    \n
    \n
    \n changeApprovedStatus(e.target.checked)}\n id=\"approve\"\n />\n \n Approved\n \n
    \n
    \n changePublicStatus(e.target.checked)}\n id=\"public\"\n />\n \n Public\n \n
    \n
    \n setPremium(e.target.checked)}\n id=\"flag\"\n />\n \n Premium\n \n
    \n
    \n flagPresentation(e.target.checked)}\n id=\"flag\"\n />\n \n Flagged\n \n
    \n
    \n setSponsored(e.target.checked)}\n id=\"sponsored\"\n />\n \n Sponsored\n \n
    \n
    \n
    \n
    \n )\n }\n)\n\nexport default withRouter(injectSheet(styles)(Controls))\n","import React, { Fragment, useState } from 'react'\nimport injectSheet from 'react-jss'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faTools } from '@fortawesome/pro-solid-svg-icons/faTools'\nimport Button from 'pobble-components/dist/button'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport Controls from './controls/controls'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst styles = ({ COLORS }) => ({\n button: {\n display: 'none',\n '@media (min-width: 768px)': {\n display: 'inline-flex'\n }\n }\n})\n\nconst PresentationControls = ({\n classes,\n me,\n meRequest,\n presentation,\n style,\n ...props\n}) => {\n const [modalOpen, setModalOpen] = useState(false)\n if (!me || !me.account.policy.can_set_presentation_recommended_until)\n return null\n return (\n \n }\n action={() => setModalOpen(true)}\n style={style}\n tall>\n Admin\n \n {!!presentation && (\n setModalOpen(false)}>\n Admin presentation tools\n \n \n \n \n \n \n \n )}\n \n )\n}\n\nexport default withMe(injectSheet(styles)(PresentationControls))\n","const styles = {\n formHolder: {\n flex: '1'\n },\n previewHolder: {\n width: '124px',\n marginLeft: '20px',\n height: '124px'\n }\n}\n\nexport default styles\n","const styles = THEME => ({\n row: {\n marginTop: '20px'\n },\n first: {\n marginTop: '0'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './form-row.styles.js'\nimport classNames from 'classnames'\n\nconst FormRow = ({ classes, children, first, className }) => (\n \n {children}\n \n)\n\nexport default injectSheet(styles)(FormRow)\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './slide-form.styles'\nimport { ModalContent } from 'pobble-components/dist/modal'\nimport FormRow from '../../../common/form-elements/form-row/form-row'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormTextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport CharactersCount from 'pobble-components/dist/form-elements/characters-count'\nimport FormRadio from 'pobble-components/dist/form-elements/form-radio'\nimport THEME from 'pobble-components/dist/theme'\nimport ColorSelect from '../../../color-select/color-select'\n\nconst TITLE_MAX_LENGTH = 100\n\nconst { COLORS } = THEME\n\nconst colors = [\n COLORS.PURPLE.NORMAL,\n COLORS.BLUE.NORMAL,\n COLORS.GREEN.NORMAL,\n COLORS.DARK_BLUE.NORMAL\n]\n\nconst titlePlaceholders = [\n 'e.g. Adjectives',\n 'e.g. Openers',\n 'e.g. Wow words',\n 'e.g. Adverbs'\n]\n\nconst colorsOptions = colors.map(color => ({\n color,\n value: color\n}))\n\nconst SlideForm = ({\n classes,\n initialValues = {\n bank: [\n {\n words: '',\n title: '',\n color: colors[0]\n },\n {\n words: '',\n title: '',\n color: colors[1]\n },\n {\n words: '',\n title: '',\n color: colors[2]\n }\n ],\n title: ''\n },\n footer,\n onSubmit\n}) => {\n const [bankHistory, setBankHistory] = useState(initialValues.bank)\n const [bank, setBank] = useState(initialValues.bank)\n const [title, setTitle] = useState(initialValues.title)\n\n const setAmountOfGroups = e => {\n const n = parseInt(e.target.value)\n if (n === bank.length) return\n setBankHistory([...Array(4).keys()].map(i => bank[i] || bankHistory[i]))\n if (n < bank.length) {\n setBank(bank.slice(0, n))\n } else {\n setBank(\n [...Array(n).keys()].map(\n i =>\n bank[i] ||\n bankHistory[i] || { words: '', title: '', color: colors[i] }\n )\n )\n }\n }\n\n return (\n {\n e.preventDefault()\n onSubmit({ title, bank })\n }}>\n \n \n Title of the slide\n \n \n \n setTitle(e.target.value)}\n />\n \n \n Chose number of word groups\n
    \n
    \n \n \n One\n \n
    \n
    \n \n \n Two\n \n
    \n
    \n \n \n Three\n \n
    \n
    \n \n \n Four\n \n
    \n
    \n
    \n \n {bank.map((group, index) => {\n return (\n
    \n {bank.length > 1 && (\n <>\n Group {index + 1}\n \n {\n const bankCopy = [...bank]\n bankCopy[index].title = e.target.value\n setBank(bankCopy)\n }}\n value={bank[index].title}\n placeholder={titlePlaceholders[index]}\n name=\"title\"\n />\n \n \n )}\n \n {bank.length === 1 && Words:}\n {\n const bankCopy = [...bank]\n bankCopy[index].words = e.target.value\n setBank(bankCopy)\n }}\n placeholder=\"Type here, use commas to create new blocks\"\n />\n \n \n {\n const bankCopy = [...bank]\n bankCopy[index].color = value\n setBank(bankCopy)\n }}\n value={bank[index].color}\n options={colorsOptions}\n />\n \n
    \n )\n })}\n \n
    \n {footer(bank)}\n \n )\n}\n\nexport default injectSheet(styles)(SlideForm)\n","export default {\n groups: {\n display: 'grid',\n gridGap: '1em',\n marginTop: '30px'\n },\n groupsRadioHolder: {\n display: 'flex',\n marginTop: '10px'\n },\n groupsRadioRow: {\n marginTop: '30px'\n },\n groupRadio: {\n display: 'flex',\n alignItems: 'center',\n marginRight: '20px'\n },\n colorSelect: {\n width: '100px'\n }\n}\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './create-dialog.styles'\nimport { Modal, ModalHeader, ModalFooter } from 'pobble-components/dist/modal'\nimport SlideForm from '../slide-form/slide-form'\nimport Button from 'pobble-components/dist/button'\n\nconst WordBankSlideCreateDialog = ({\n classes,\n modalOpened,\n onChange,\n onClose,\n onSubmit,\n onLinkChange,\n disableSubmit\n}) => {\n return (\n \n Add word bank slide\n (\n \n \n \n \n )}\n />\n \n )\n}\n\nexport default injectSheet(styles)(WordBankSlideCreateDialog)\n","import { connect } from 'react-redux'\nimport WordBankSlideCreateDialog from './create-dialog.jsx'\nimport { createSlide } from '../../../../stores/presentation/presentation.actions'\nimport { getCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.selectors.js'\nimport { closeCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.actions.js'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = state => {\n const createSlideDialog = getCreateSlideDialog(state)\n return {\n modalOpened:\n createSlideDialog.opened && createSlideDialog.type === 'WordBank'\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onClose: () => dispatch(closeCreateSlideDialog()),\n onSubmit: values => {\n dispatch(\n createSlide({\n type: 'WordBank',\n title: values.title,\n bank: values.bank,\n layout: 'column'\n })\n ).catch(errorHandler)\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(WordBankSlideCreateDialog)\n","const styles = {}\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './create-dialog.styles'\nimport {\n Modal,\n ModalHeader,\n ModalFooter,\n ModalContent\n} from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport { Formik } from 'formik'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormTextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport FormRow from '../../../../components/common/form-elements/form-row/form-row'\nimport CharactersCount from 'pobble-components/dist/form-elements/characters-count'\nimport * as Yup from 'yup'\n\nconst TITLE_MAX_LENGTH = 45\nconst TEXT_MAX_LENGTH = 1000\nconst OPTIONS_MAX_LENGTH = 200\n\nconst ExerciseSlideCrateDialog = ({\n classes,\n modalOpened,\n onChange,\n onClose,\n onSubmit,\n pending\n}) => (\n \n Add an exercise slide\n \n {({\n handleSubmit,\n handleBlur,\n handleChange,\n values,\n errors,\n touched\n }) => {\n return (\n
    \n \n \n \n Title\n \n \n \n \n \n \n Text\n \n \n \n \n \n \n Word bank\n \n \n \n \n \n \n \n \n \n
    \n )\n }}\n \n
    \n)\n\nexport default injectSheet(styles)(ExerciseSlideCrateDialog)\n","import { connect } from 'react-redux'\nimport TextSlideCreaeteDialog from './create-dialog.jsx'\nimport { createSlide } from '../../../../stores/presentation/presentation.actions'\nimport { getCreateSlideRequest } from '../../../../stores/presentation/presentation.selectors'\nimport { getCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.selectors.js'\nimport { closeCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.actions.js'\n\nconst mapStateToProps = state => {\n const createSlideDialog = getCreateSlideDialog(state)\n const createRequest = getCreateSlideRequest(state)\n return {\n pending: createRequest.pending && createRequest.params.type === 'Exercise',\n modalOpened:\n createSlideDialog.opened && createSlideDialog.type === 'Exercise'\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onClose: () => dispatch(closeCreateSlideDialog()),\n onSubmit: values => {\n dispatch(\n createSlide({\n type: 'Exercise',\n title: values.title,\n text: values.text,\n options: values.options.split(',').map(item => item.trim()),\n color: 'none'\n })\n )\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(TextSlideCreaeteDialog)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport { Modal, ModalHeader, ModalContent } from 'pobble-components/dist/modal'\nimport ImageSelector from '../../../image-selector/image-selector.container'\nimport { useDispatch, useSelector } from 'react-redux'\nimport {\n getCreateSlideRequest,\n getPresentation\n} from '../../../../stores/presentation/presentation.selectors'\nimport {\n apiCreateSlide,\n apiUpdateSlide,\n apiUploadImage\n} from '../../../../common/api/lesson'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { createSlide } from '../../../../stores/presentation/presentation.actions'\nimport { getCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.selectors'\nimport { closeCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.actions'\nimport PendingArea from '../../../pending-area/pending-area'\n\nconst styles = {\n formHolder: {\n flex: '1'\n },\n previewHolder: {\n width: '124px',\n marginLeft: '20px',\n height: '124px'\n },\n content: {\n position: 'relative'\n },\n pending: {\n position: 'absolute',\n left: '0',\n top: '0',\n zIndex: '100',\n background: 'rgba(255,255,255,.7)'\n }\n}\n\nconst ImageSlideCreateDialog = ({\n classes,\n onChange,\n onClose,\n onSubmit,\n onLinkChange,\n disableSubmit\n}) => {\n const dispatch = useDispatch()\n const presentation = useSelector(getPresentation)\n const createSlideDialog = useSelector(getCreateSlideDialog)\n const request = useSelector(getCreateSlideRequest)\n const modalOpened =\n createSlideDialog.opened && createSlideDialog.type === 'Image'\n\n const createImageSlide = uploadImage => {\n dispatch(\n createSlide({ type: 'Image' }, ({ order }) => () => {\n return apiCreateSlide(presentation.id, {\n type: 'Image',\n imagePosition: 'center',\n image_size: 'fill',\n order\n })\n .then(createSlideRes => {\n const slide = createSlideRes.data.slide\n return uploadImage(slide).then(res => {\n /**\n * Redux relies on the data response from create slide endpoint\n * so we extend this data with the newly uploaded image\n */\n createSlideRes.data.slide = res.data.slide\n return createSlideRes\n })\n })\n .catch(errorHandler)\n })\n )\n }\n\n return (\n dispatch(closeCreateSlideDialog())}>\n Select an image\n \n {request.pending && }\n {\n createImageSlide(slide => {\n return apiUploadImage(\n slide.id,\n {\n image: files[0]\n },\n {\n include: 'slide.type,slide.details'\n }\n )\n })\n }}\n onUnsplashSelect={unsplashId => {\n createImageSlide(slide => {\n return apiUploadImage(\n slide.id,\n {\n unsplash_id: unsplashId\n },\n {\n include: 'slide.type,slide.details'\n }\n )\n })\n }}\n onMainImageSelect={e => {\n createImageSlide(slide => {\n return apiUpdateSlide(\n slide.id,\n {\n use_presentation_image: true\n },\n {\n include: 'slide.type,slide.details'\n }\n )\n })\n }}\n />\n \n \n )\n}\n\nexport default injectSheet(styles)(ImageSlideCreateDialog)\n","import React from 'react'\nconst EditorContext = React.createContext(null)\n\nexport default EditorContext\n","import React, { useContext } from 'react'\nimport { Editor, RichUtils } from 'draft-js'\nimport { EditorContext } from '.'\nimport injectSheet from 'react-jss'\nimport styles from './editor.styles'\nimport classNames from 'classnames'\n\nconst PobbleEditor = ({ classes, className, error, ...props }) => {\n const { editorState, onChange } = useContext(EditorContext)\n const handleKeyCommand = (command, editorState) => {\n const newState = RichUtils.handleKeyCommand(editorState, command)\n if (newState) {\n onChange(newState)\n return 'handled'\n }\n return 'not-handled'\n }\n return (\n \n \n \n )\n}\n\nexport default injectSheet(styles)(PobbleEditor)\n","export default ({ COLORS }) => ({\n container: {\n '& .public-DraftEditor-content': {\n color: '#999',\n border: '1px solid #ececec',\n padding: '10px',\n borderRadius: '4px',\n transition: 'border-color 0.3s ease-in-out',\n '&:focus': {\n borderColor: 'rgba(0,175,236,1)'\n }\n }\n },\n error: {\n '& .public-DraftEditor-content': {\n border: `1px solid ${COLORS.RED.NORMAL}`\n }\n }\n})\n","import React, { useMemo } from 'react'\nimport { EditorContext } from '.'\n\nconst EditorProvider = ({ children, editorState, onChange }) => {\n const value = useMemo(\n () => ({\n editorState,\n onChange\n }),\n [editorState, onChange]\n )\n return (\n {children}\n )\n}\n\nexport default EditorProvider\n","const controlPanelStyles = {\n container: {\n fontSize: '30px'\n },\n sticky: {\n position: 'sticky',\n top: '0',\n borderRadius: '4px 4px 0 0',\n padding: '.2em'\n },\n holder: {\n display: 'flex',\n alignItems: 'center'\n }\n}\n\nconst controlButtonStyles = ({ COLORS }, b) => ({\n button: {\n width: '1em',\n height: '1em',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: COLORS.TEXT.DARK_GREY.NORMAL,\n borderRadius: '.1em',\n '&:hover': {\n background: 'rgba(0, 0, 0, 0.05)'\n },\n '&:active': {\n background: 'rgba(0, 0, 0, 0.1)'\n }\n },\n active: {\n color: COLORS.BLUE.NORMAL\n },\n content: {\n fontSize: '.5em',\n '& svg': {\n display: 'block'\n }\n }\n})\n\nconst separatorStyles = {\n separator: {\n width: '1px',\n backgroundColor: '#ccc',\n height: '.5em',\n margin: '0 .2em'\n }\n}\n\nexport { controlButtonStyles, controlPanelStyles, separatorStyles }\n","import React, { useContext, useMemo } from 'react'\nimport { RichUtils } from 'draft-js'\nimport { EditorContext } from '.'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faBold } from '@fortawesome/pro-solid-svg-icons/faBold'\nimport { faItalic } from '@fortawesome/pro-solid-svg-icons/faItalic'\nimport { faUnderline } from '@fortawesome/pro-solid-svg-icons/faUnderline'\nimport { faListUl } from '@fortawesome/pro-solid-svg-icons/faListUl'\nimport { faListOl } from '@fortawesome/pro-solid-svg-icons/faListOl'\nimport injectSheet from 'react-jss'\nimport {\n controlButtonStyles,\n controlPanelStyles,\n separatorStyles\n} from './controls.styles'\nimport classNames from 'classnames'\n\nconst ControlPanel = injectSheet(controlPanelStyles)(\n ({ children, classes, className, sticky }) => (\n \n
    {children}
    \n \n )\n)\n\nconst ControlButton = injectSheet(controlButtonStyles)(\n ({ children, action, classes, active }) => (\n {\n e.preventDefault()\n action && action()\n }}>\n {children}\n \n )\n)\n\nconst ControlSeparator = injectSheet(separatorStyles)(({ classes }) => (\n
    \n))\n\nconst Bold = () => {\n const { editorState, onChange } = useContext(EditorContext)\n const hasBold = useMemo(\n () => {\n return editorState.getCurrentInlineStyle().has('BOLD')\n },\n [editorState]\n )\n return (\n {\n const newState = RichUtils.toggleInlineStyle(editorState, 'BOLD')\n onChange(newState)\n }}>\n \n \n )\n}\n\nconst Italic = () => {\n const { editorState, onChange } = useContext(EditorContext)\n const hasItalic = useMemo(\n () => {\n return editorState.getCurrentInlineStyle().has('ITALIC')\n },\n [editorState]\n )\n return (\n {\n const newState = RichUtils.toggleInlineStyle(editorState, 'ITALIC')\n onChange(newState)\n }}>\n \n \n )\n}\n\nconst Underline = () => {\n const { editorState, onChange } = useContext(EditorContext)\n const hasItalic = useMemo(\n () => {\n return editorState.getCurrentInlineStyle().has('UNDERLINE')\n },\n [editorState]\n )\n return (\n {\n const newState = RichUtils.toggleInlineStyle(editorState, 'UNDERLINE')\n onChange(newState)\n }}>\n \n \n )\n}\n\nconst UnorderedList = () => {\n const { editorState, onChange } = useContext(EditorContext)\n const blockType = useMemo(\n () => {\n const selectionState = editorState.getSelection()\n const anchorKey = selectionState.getAnchorKey()\n const currentContent = editorState.getCurrentContent()\n const currentContentBlock = currentContent.getBlockForKey(anchorKey)\n return currentContentBlock.getType()\n },\n [editorState]\n )\n return (\n {\n const newState = RichUtils.toggleBlockType(\n editorState,\n 'unordered-list-item'\n )\n onChange(newState)\n }}>\n \n \n )\n}\n\nconst OrderedList = () => {\n const { editorState, onChange } = useContext(EditorContext)\n const blockType = useMemo(\n () => {\n const selectionState = editorState.getSelection()\n const anchorKey = selectionState.getAnchorKey()\n const currentContent = editorState.getCurrentContent()\n const currentContentBlock = currentContent.getBlockForKey(anchorKey)\n return currentContentBlock.getType()\n },\n [editorState]\n )\n return (\n {\n const newState = RichUtils.toggleBlockType(\n editorState,\n 'ordered-list-item'\n )\n onChange(newState)\n }}>\n \n \n )\n}\n\nexport default {\n Bold,\n Italic,\n Underline,\n UnorderedList,\n OrderedList,\n Panel: ControlPanel,\n Separator: ControlSeparator\n}\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './sticky-editor.styles'\nimport classNames from 'classnames'\nimport { EditorProvider, Controls, Editor } from '..'\n\nconst StickyEditor = ({\n classes,\n editorState,\n onChange,\n controls,\n className,\n placeholder,\n error,\n ...props\n}) => (\n \n
    \n {controls}\n \n
    \n
    \n)\n\nexport default injectSheet(styles)(StickyEditor)\n","export default {\n container: {\n position: 'relative',\n fontSize: '30px'\n },\n editor: {\n marginTop: 'calc(-1.4em - 2px)',\n '& .public-DraftEditor-content': {\n fontSize: '14px',\n minHeight: '200px',\n paddingTop: '52px'\n }\n },\n panel: {\n background: '#f5f5f5',\n borderRadius: '4px 4px 0 0',\n margin: '1px',\n position: 'sticky',\n top: '-40px',\n padding: '.2em'\n }\n}\n","import EditorContext from './context'\nimport Editor from './editor'\nimport EditorProvider from './editor-provider'\nimport Controls from './controls'\nimport StickyEditor from './builds/sticky-editor'\nimport { EditorState } from 'draft-js'\nimport { sanitizeHtml } from 'pobble-components/dist/presentation'\nimport { convertToHTML, convertFromHTML } from 'draft-convert'\n\nconst createStateFromHtml = text => {\n const contentState = convertFromHTML(sanitizeHtml(text))\n return EditorState.createWithContent(contentState)\n}\n\nconst stateToHTML = editorState =>\n sanitizeHtml(convertToHTML(editorState.getCurrentContent()))\n\nexport {\n EditorContext,\n Editor,\n EditorProvider,\n Controls,\n StickyEditor,\n EditorState,\n stateToHTML,\n sanitizeHtml,\n createStateFromHtml\n}\n","import React, { useRef, useState, Fragment } from 'react'\nimport injectSheet from 'react-jss'\nimport { ModalContent } from 'pobble-components/dist/modal'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport FormRow from '../../../../components/common/form-elements/form-row/form-row'\nimport { apiCrawlLink } from '../../../../common/api/lesson'\nimport {\n StickyEditor,\n EditorState,\n Controls,\n createStateFromHtml,\n stateToHTML\n} from '../../../editor'\n\nconst TITLE_MAX_LENGTH = 50\nconst URL_MAX_LENGTH = 1000\nconst DESCRIPTION_MAX_LENGTH = 400\n\nconst linkSlideFormStyles = ({ COLORS }) => ({\n error: {\n color: COLORS.RED.NORMAL,\n margin: '4px 0 8px'\n }\n})\n\nconst LinkSlideForm = ({\n classes,\n onSubmit,\n onCancel,\n disableSubmit,\n footer,\n defaultValues = {}\n}) => {\n const formRef = useRef(null)\n const [status, setStatus] = useState(null)\n const [editorState, setEditorState] = useState(\n defaultValues.htmlText\n ? createStateFromHtml(defaultValues.htmlText)\n : EditorState.createEmpty()\n )\n\n return (\n {\n e.preventDefault()\n setStatus('pending')\n\n if (defaultValues.url === formRef.current.elements.url.value) {\n onSubmit({\n title: formRef.current.elements.title.value,\n text: editorState.getCurrentContent().getPlainText(),\n htmlText: stateToHTML(editorState)\n })\n } else {\n apiCrawlLink(\n { url: formRef.current.elements.url.value },\n { include: 'link.image' }\n )\n .then(res => {\n onSubmit({\n title: formRef.current.elements.title.value,\n linkId: res.data.link.id,\n text: editorState.getCurrentContent().getPlainText(),\n htmlText: stateToHTML(editorState)\n })\n })\n .catch(e => setStatus('error'))\n }\n }}\n className=\"metrics__slide-form\">\n \n
    \n \n \n What’s the website link?\n \n \n {status === 'error' && (\n

    \n Sorry, we couldn't process this url\n

    \n )}\n
    \n \n \n Give your link a title\n \n \n \n \n \n Description (optional)\n \n \n \n \n \n \n \n \n \n }\n editorState={editorState}\n onChange={newState => {\n setEditorState(newState)\n }}\n />\n \n
    \n
    \n {footer({ status })}\n \n )\n}\n\nexport default injectSheet(linkSlideFormStyles)(LinkSlideForm)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './create-dialog.styles'\nimport { Modal, ModalHeader, ModalFooter } from 'pobble-components/dist/modal'\nimport SlideForm from '../slide-form/slide-form'\nimport Button from 'pobble-components/dist/button'\nimport { useDispatch } from 'react-redux'\nimport { createSlide } from '../../../../stores/presentation/presentation.actions'\nimport { closeCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { useSelector } from 'react-redux'\nimport { getCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.selectors'\n\nconst LinkSlideCreateDialog = ({ classes }) => {\n const dispatch = useDispatch()\n const close = () => dispatch(closeCreateSlideDialog())\n const createSlideDialog = useSelector(getCreateSlideDialog)\n const modalOpened =\n createSlideDialog.opened && createSlideDialog.type === 'Link'\n\n return (\n \n Add a website link to your slide\n {\n dispatch(\n createSlide({\n type: 'Link',\n title: values.title,\n link_id: values.linkId,\n text: values.text,\n html_text: values.htmlText\n })\n )\n .then(close)\n .catch(errorHandler)\n }}\n footer={({ status }) => (\n \n \n \n \n )}\n />\n \n )\n}\n\nexport default injectSheet(styles)(LinkSlideCreateDialog)\n","const styles = {\n text: {\n height: '200px'\n }\n}\n\nexport default styles\n","import React from 'react'\n\nconst SvgComponent = props => (\n \n \n \n \n \n)\n\nexport default SvgComponent\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './form-row.styles'\nimport { SortHandle } from '../sortable-components/sortable-components'\nimport TextareaAutosize from 'react-autosize-textarea'\nimport classNames from 'classnames'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faTrashAlt } from '@fortawesome/pro-solid-svg-icons/faTrashAlt'\n\nconst FormRow = ({\n classes,\n criterion,\n prompts,\n first,\n last,\n id,\n isDragging,\n formikProps,\n onDelete\n}) => {\n const { handleChange } = formikProps\n return (\n \n \n \n
    \n \n \n
    \n )\n}\n\nexport default injectSheet(styles)(FormRow)\n","import { hover } from 'pobble-components/dist/jss-mixins'\n\nexport default ({ COLORS }) => ({\n row: {\n display: 'flex',\n alignItems: 'center',\n border: '1px solid #ddd',\n marginTop: '-1px',\n '& textArea': {\n '-webkit-appearance': 'none',\n resize: 'none',\n border: 'none',\n background: 'none',\n color: '#999',\n padding: '10px',\n '&::placeholder': {\n color: '#BBBBBB'\n }\n }\n },\n dragging: {\n borderRadius: '0 !important'\n },\n first: {\n borderRadius: '4px 4px 0 0'\n },\n last: {\n borderBottom: '1px solid #ddd',\n borderRadius: '0 0 4px 4px'\n },\n handle: {\n color: '#bbb',\n margin: '0 0 0 10px',\n cursor: 'move',\n width: '16px',\n height: '16px'\n },\n criteria: {\n flex: '1'\n },\n prompts: {\n width: '200px'\n },\n separator: {\n width: '1px',\n height: '20px',\n background: '#ddd'\n },\n deleteButton: {\n cursor: 'pointer',\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n marginRight: '10px',\n ...hover({\n color: COLORS.BLUE.FADED\n })\n }\n})\n","import React from 'react'\nimport {\n SortableContainer,\n SortableElement,\n SortableHandle\n} from 'react-sortable-hoc'\nimport SortHandleIcon from '../../icons/sort-handle'\nimport FormRow from '../form-row/form-row'\n\nconst SortableHolder = SortableContainer(({ componentRef, ...props }) => (\n
    \n))\n\nconst SortableFormRow = SortableElement(props => )\n\nconst SortHandle = SortableHandle(props => )\n\nexport { SortableHolder, SortableFormRow, SortHandle }\n","import React, { useEffect, useMemo, useRef, useState } from 'react'\nimport injectSheet from 'react-jss'\nimport {\n Modal,\n ModalContent,\n ModalFooter,\n ModalHeader\n} from 'pobble-components/dist/modal'\nimport { apiSuccessCriteriaSearch } from '../../../../common/api/lesson'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport Button from 'pobble-components/dist/button'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport FormCheckbox from 'pobble-components/dist/form-elements/form-checkbox'\nimport { apiGetYearGroups } from '../../../../common/api/year-groups'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, Cell, TableRow } from 'pobble-components/dist/table'\nimport Spinner from 'pobble-components/dist/spinner'\nimport NoItemsPlaceholder from 'pobble-components/dist/no-items-placeholder'\nimport classNames from 'classnames'\nimport AgeGroup from 'pobble-components/dist/age-group'\n\nconst GENRES = [\n 'Acrostic poem',\n 'Advertising',\n 'Autobiography',\n 'Balanced Argument',\n 'Biography',\n 'Character description',\n 'Diary entry',\n 'Explanation text',\n 'Fact file',\n 'Fairy tale',\n 'Formal letter',\n 'Instructions',\n 'Letter',\n 'Narrative',\n 'Newspaper report',\n 'Non-chronological report',\n 'Persuasion',\n 'Persuasive letter',\n 'Persuasive report',\n 'Recount',\n 'Story'\n]\n\nconst LEVELS = ['Greater Depth', 'Expected', 'Working towards']\n\nconst formStyles = ({ COLORS, FONT_SIZES }) => ({\n content: {\n padding: '0',\n maxWidth: '700px'\n },\n head: {\n padding: '20px 20px 0',\n borderBottom: '1px solid #ececec'\n },\n filters: {\n background: '#fff',\n display: 'grid',\n gridTemplateColumns: '1fr 1fr 1fr',\n gridGap: '16px'\n },\n selectButton: {\n marginTop: '16px'\n },\n body: {\n height: '400px',\n overflow: 'auto'\n },\n table: {\n padding: '0 0 20px',\n marginTop: '-1px'\n },\n criteria: {\n color: COLORS.TEXT.DARK_GREY.NORMAL\n },\n criteriaContainer: {\n '@media (min-width: 541px)': {\n display: 'flex'\n }\n },\n criteriaHolder: {\n flex: '1',\n marginTop: '-4px'\n },\n prompt: {\n display: 'block',\n marginTop: '4px',\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n ...FONT_SIZES.BODY_SMALL.STYLE\n },\n ageGroupHolder: {\n marginTop: '16px',\n '@media (min-width: 541px)': {\n margin: '0 16px'\n }\n },\n checkboxCell: {\n width: '60px',\n textAlign: 'center',\n paddingRight: '0',\n verticalAlign: 'top'\n },\n holder: {\n height: '100%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n },\n loadMoreIndication: {\n display: 'flex',\n justifyContent: 'center',\n padding: '10px 0 30px',\n '& > *': {\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n fontSize: '20px'\n }\n },\n loadingMore: {\n '& > *': {\n color: COLORS.BLUE.NORMAL\n }\n }\n})\n\nconst SuggestedForm = injectSheet(formStyles)(\n ({ classes, selectedYearGroup, requestClose, onAdd }) => {\n const defaultFilters = useMemo(\n () => {\n return {\n genre: null,\n level: null,\n year_group_id: selectedYearGroup || null\n }\n },\n [selectedYearGroup]\n )\n\n const containerRef = useRef(null)\n const [yearGroups, setYearGroups] = useState(null)\n const yearGroupsMap = useMemo(\n () => {\n if (!yearGroups) return null\n const result = {}\n yearGroups.forEach(yearGroup => (result[yearGroup.id] = yearGroup))\n return result\n },\n [yearGroups]\n )\n const [searchResult, setSearchResult] = useState(null)\n const [filters, setFilters] = useState(defaultFilters)\n const [selected, setSelected] = useState({})\n const [loadMoreState, setLoadMoreState] = useState({\n pending: false,\n everythingFetched: false\n })\n\n const selectedArray = useMemo(\n () => {\n return Object.keys(selected)\n .filter(key => !!selected[key])\n .map(key => selected[key])\n },\n [selected]\n )\n\n const loadMore = () => {\n if (!loadMoreState.pending && !loadMoreState.everythingFetched) {\n setLoadMoreState({ ...loadMoreState, pending: true })\n apiSuccessCriteriaSearch({\n ...filters,\n from: searchResult.length,\n limit: 50\n })\n .then(res => {\n setLoadMoreState({\n pending: false,\n everythingFetched: res.data.length < 50\n })\n setSearchResult([...searchResult, ...res.data])\n })\n .catch(errorHandler)\n }\n }\n\n useEffect(() => {\n apiGetYearGroups({\n include: 'year_group.names,year_group.order'\n })\n .then(res =>\n setYearGroups(\n res.data.year_groups.filter(yg => yg.order >= 3 && yg.order <= 8)\n )\n )\n .catch(errorHandler)\n }, [])\n\n useEffect(\n () => {\n setSearchResult(null)\n apiSuccessCriteriaSearch({\n ...filters,\n limit: 50\n })\n .then(res => {\n setLoadMoreState({\n pending: false,\n everythingFetched: res.data.length < 50\n })\n setSearchResult(res.data)\n })\n .catch(errorHandler)\n },\n [filters]\n )\n\n useEffect(\n () => {\n const node = containerRef.current\n const handler = () => {\n if (node.scrollTop === node.scrollHeight - node.offsetHeight) {\n loadMore()\n }\n }\n node.addEventListener('scroll', handler)\n return () => {\n node.removeEventListener('scroll', handler)\n }\n },\n [searchResult] // eslint-disable-line\n )\n\n return (\n
    \n \n
    \n
    \n
    \n Genre\n \n setFilters({ ...filters, genre: e.target.value || null })\n }\n id=\"genre\"\n name=\"genre\">\n \n {GENRES.map(genre => )}\n \n
    \n
    \n Age Group\n {!yearGroups && }\n {!!yearGroups && (\n \n setFilters({\n ...filters,\n year_group_id: e.target.value || null\n })\n }\n id=\"ageGroup\"\n name=\"ageGroup\">\n \n {yearGroups.map(yg => (\n \n ))}\n \n )}\n
    \n
    \n Levels\n \n setFilters({ ...filters, level: e.target.value || null })\n }>\n \n {LEVELS.map(level => )}\n \n
    \n
    \n {\n if (!selectedArray.length) {\n const selected = {}\n searchResult.forEach(\n result => (selected[result.criteria] = result)\n )\n setSelected(selected)\n } else {\n setSelected({})\n }\n }}\n tertiary\n tall\n bleed\n className={classes.selectButton}>\n {!searchResult || !searchResult.length ? (\n  \n ) : !selectedArray.length ? (\n 'Select all'\n ) : (\n 'Deselect all'\n )}\n \n
    \n
    \n {!searchResult && (\n
    \n \n
    \n )}\n {searchResult &&\n !!searchResult.length && (\n <>\n \n \n {searchResult.map(result => {\n return (\n \n \n \n setSelected({\n ...selected,\n [result.criteria]: selected[result.criteria]\n ? null\n : result\n })\n }\n />\n \n \n
    \n
    \n {result.criteria}\n {result.prompt && (\n \n prompt: {result.prompt}\n \n )}\n
    \n
    \n {!!yearGroupsMap &&\n yearGroupsMap[result.year_group_id] && (\n \n )}\n
    \n
    \n
    \n
    \n )\n })}\n \n
    \n {!loadMoreState.everythingFetched && (\n \n \n
    \n )}\n \n )}\n {searchResult &&\n !searchResult.length && (\n
    \n \n

    We couldn't find anything

    \n setFilters(defaultFilters)}>\n Reset filters\n \n
    \n
    \n )}\n
    \n \n \n \n {\n onAdd(selectedArray)\n requestClose()\n }}\n disabled={!selectedArray.length}\n tall>\n Add {selectedArray.length || ''} selected\n \n \n \n )\n }\n)\n\nexport const SuggestedModal = ({\n classes,\n selectedYearGroup,\n onAdd,\n ...props\n}) => {\n return (\n \n Suggested success criteria\n \n \n )\n}\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './slide-form.styles'\nimport { Formik, FieldArray } from 'formik'\nimport FormRow from '../../../common/form-elements/form-row/form-row'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport CharactersCount from 'pobble-components/dist/form-elements/characters-count'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport {\n SortableHolder,\n SortableFormRow\n} from './sortable-components/sortable-components'\nimport Button from 'pobble-components/dist/button'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faPlusCircle } from '@fortawesome/pro-solid-svg-icons/faPlusCircle'\nimport { faTrashAlt } from '@fortawesome/pro-solid-svg-icons/faTrashAlt'\nimport { faLightbulbOn } from '@fortawesome/pro-solid-svg-icons/faLightbulbOn'\nimport * as Yup from 'yup'\nimport { SuggestedModal } from '../suggested/suggested'\n\nconst TITLE_MAX_LENGTH = 60\n\nconst defaultCriteria = [\n { criterion: '', prompts: '' },\n { criterion: '', prompts: '' },\n { criterion: '', prompts: '' }\n]\n\nlet SlideForm = React.memo(({ classes, formikProps }) => {\n const {\n values,\n handleChange,\n handleBlur,\n setFieldValue,\n errors,\n touched\n } = formikProps\n const [isDragging, setDragging] = useState(false)\n const [openSuggested, setOpenSuggested] = useState(false)\n return (\n <>\n \n \n Title of the slide\n \n \n \n
    \n {\n const removeEmptyLines = () => {\n let i = 0\n values.criteria.forEach(criteria => {\n if (!criteria.criterion) {\n arrayHelpers.remove(i--)\n }\n i++\n })\n }\n\n return (\n
    \n
    \n setOpenSuggested(true)}\n simple\n tall\n bleed\n icon={}>\n Pick from suggestions\n \n setFieldValue('criteria', defaultCriteria)}\n className={classes.clearAllButton}\n tall\n tertiary\n bleed\n icon={}>\n Clear all\n \n
    \n
    \n setDragging(true)}\n className={classes.criteriaList}\n onSortEnd={({ oldIndex, newIndex }) => {\n setDragging(false)\n arrayHelpers.move(oldIndex, newIndex)\n }}\n useDragHandle={true}\n helperClass={classes.sortHelper}>\n {values.criteria.map((criteria, index) => (\n arrayHelpers.remove(index)}\n formikProps={formikProps}\n isDragging={isDragging}\n first={index === 0}\n last={index === values.criteria.length - 1}\n criterion={criteria.criterion}\n prompts={criteria.prompts}\n key={index}\n index={index}\n id={index}\n />\n ))}\n \n \n arrayHelpers.push({ criterion: '', prompts: '' })\n }\n icon={}\n tertiary\n bleed\n tall>\n Add a line\n \n
    \n {\n removeEmptyLines()\n result.forEach(item =>\n arrayHelpers.push({\n criterion: item.criteria || '',\n prompts: item.prompt || ''\n })\n )\n }}\n isOpen={openSuggested}\n requestClose={() => setOpenSuggested(false)}\n />\n
    \n )\n }}\n />\n
    \n
    \n \n )\n})\n\nSlideForm = injectSheet(styles)(SlideForm)\n\nconst FormSupplier = ({ children, onSubmit, defaultValues = {} }) => (\n \n {formikProps => {\n const { handleSubmit } = formikProps\n return (\n
    \n {children({\n ...formikProps,\n slideForm: \n })}\n \n )\n }}\n \n)\n\nexport { SlideForm, FormSupplier }\n","export default {\n sortHelper: {\n zIndex: '1000',\n borderRadius: '4px',\n borderBottom: '1px solid #ddd',\n background: '#fff'\n },\n criteriaContainer: {\n padding: '1px 0 0',\n minHeight: '250px',\n maxHeight: '250px',\n overflow: 'auto'\n },\n criteriaWrapper: {\n margin: '10px 0 0',\n position: 'relative',\n '&:after': {\n pointerEvents: 'none',\n content: '\"\"',\n position: 'absolute',\n bottom: '0',\n left: '0',\n width: '100%',\n height: '20px',\n background:\n 'linear-gradient(to top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%)'\n }\n },\n controls: {\n display: 'flex',\n justifyContent: 'space-between',\n marginTop: '16px'\n },\n addLineButton: {\n padding: '0 2px'\n }\n}\n","import React, { Fragment } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './create-dialog.styles'\nimport {\n Modal,\n ModalHeader,\n ModalFooter,\n ModalContent\n} from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport { FormSupplier } from '../slide-form/slide-form'\n\nconst SuccessCriteriaSlideCreateDialog = React.memo(\n ({ classes, modalOpened, onClose, onSubmit, body, pending }) => (\n \n Create success criteria slide\n \n {({ slideForm }) => (\n \n {slideForm}\n \n \n \n \n \n )}\n \n \n )\n)\n\nexport default injectSheet(styles)(SuccessCriteriaSlideCreateDialog)\n","const filterCriteria = criteria =>\n criteria.filter(criteria => criteria.criterion)\n\nexport { filterCriteria }\n","import { connect } from 'react-redux'\nimport SuccessCriteriaSlideCreateDialog from './create-dialog.jsx'\nimport { createSlide } from '../../../../stores/presentation/presentation.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getCreateSlideRequest } from '../../../../stores/presentation/presentation.selectors.js'\nimport { getCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.selectors.js'\nimport { closeCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.actions.js'\nimport { filterCriteria } from '../helpers.js'\n\nconst mapStateToProps = state => {\n const createSlideModal = getCreateSlideDialog(state)\n return {\n modalOpened:\n createSlideModal.opened && createSlideModal.type === 'SuccessCriteria',\n pending: getCreateSlideRequest(state).pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onSubmit: values => {\n dispatch(\n createSlide({\n type: 'SuccessCriteria',\n title: values.title,\n criteria: filterCriteria(values.criteria)\n })\n ).catch(errorHandler)\n },\n onClose: () => dispatch(closeCreateSlideDialog())\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(SuccessCriteriaSlideCreateDialog)\n","const styles = {\n label: {\n display: 'flex',\n justifyContent: 'space-between'\n },\n text: {\n height: '200px'\n },\n editor: {\n '& .public-DraftEditor-content': {\n minHeight: '200px'\n }\n }\n}\n\nexport default styles\n","import React, { useState, Fragment } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './slide-form.styles'\nimport { Formik } from 'formik'\nimport * as Yup from 'yup'\nimport { ModalContent } from 'pobble-components/dist/modal'\nimport FormRow from '../../../common/form-elements/form-row/form-row'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport CharactersCount from 'pobble-components/dist/form-elements/characters-count'\nimport {\n StickyEditor,\n EditorState,\n Controls,\n createStateFromHtml,\n stateToHTML\n} from '../../../editor'\n\nconst TITLE_MAX_LENGTH = 90\nconst TEXT_MAX_LENGTH = 1000\n\nconst SlideForm = ({ classes, initialValues, onSubmit, footer }) => {\n const [editorState, setEditorState] = useState(\n !initialValues.text\n ? EditorState.createEmpty()\n : createStateFromHtml(initialValues.text)\n )\n return (\n \n onSubmit({\n ...values,\n text: editorState.getCurrentContent().getPlainText(),\n html: stateToHTML(editorState)\n })\n }\n initialValues={initialValues}\n validationSchema={Yup.object().shape({\n title: Yup.string().required('Please provide a title'),\n text: Yup.string().required('Please provide some text')\n })}>\n {formikProps => {\n const {\n handleSubmit,\n handleBlur,\n handleChange,\n values,\n touched,\n errors,\n setFieldValue,\n setFieldTouched\n } = formikProps\n\n return (\n
    \n \n \n \n Title of the slide\n \n \n \n \n \n \n Main text\n \n \n setFieldTouched('text')}\n maxLength={TEXT_MAX_LENGTH}\n error={!!touched.text && !!errors.text}\n placeholder=\"Body of the slide\"\n controls={\n \n \n \n \n \n \n \n \n }\n editorState={editorState}\n onChange={newState => {\n const plainText = newState\n .getCurrentContent()\n .getPlainText()\n setFieldValue('text', plainText)\n setEditorState(newState)\n }}\n />\n \n \n {footer(formikProps)}\n
    \n )\n }}\n \n )\n}\n\nexport default injectSheet(styles)(SlideForm)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './create-dialog.styles'\nimport { Modal, ModalHeader, ModalFooter } from 'pobble-components/dist/modal'\nimport SlideForm from '../slide-form/slide-form'\nimport Button from 'pobble-components/dist/button'\n\nconst TextSlideCreateDialog = ({\n classes,\n modalOpened,\n onClose,\n onSubmit,\n pending\n}) => {\n return (\n \n Create text slide\n (\n \n \n \n \n )}\n />\n \n )\n}\n\nexport default injectSheet(styles)(TextSlideCreateDialog)\n","import { connect } from 'react-redux'\nimport TextSlideCreaeteDialog from './create-dialog.jsx'\nimport { createSlide } from '../../../../stores/presentation/presentation.actions'\nimport { getCreateSlideRequest } from '../../../../stores/presentation/presentation.selectors'\nimport { getCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.selectors.js'\nimport { closeCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.actions.js'\n\nconst mapStateToProps = state => {\n const createSlideDialog = getCreateSlideDialog(state)\n const createRequest = getCreateSlideRequest(state)\n return {\n pending: createRequest.pending && createRequest.params.type === 'Text',\n modalOpened: createSlideDialog.opened && createSlideDialog.type === 'Text'\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onClose: () => dispatch(closeCreateSlideDialog()),\n onSubmit: values => {\n dispatch(\n createSlide({\n type: 'Text',\n title: values.title,\n body: values.text,\n html_body: values.html\n })\n )\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(TextSlideCreaeteDialog)\n","const styles = {\n formHolder: {\n flex: '1'\n },\n previewHolder: {\n width: '124px',\n marginLeft: '20px',\n height: '124px'\n }\n}\n\nexport default styles\n","import React, { useState, Fragment } from 'react'\nimport { Formik } from 'formik'\nimport { ModalContent } from 'pobble-components/dist/modal'\nimport styles from './slide-form.styles'\nimport injectSheet from 'react-jss'\nimport FormRow from '../../../common/form-elements/form-row/form-row'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport CharactersCount from 'pobble-components/dist/form-elements/characters-count'\nimport {\n StickyEditor,\n EditorState,\n Controls,\n createStateFromHtml,\n stateToHTML\n} from '../../../editor'\nimport * as Yup from 'yup'\n\nconst TITLE_MAX_LENGTH = 100\nconst TEXT_MAX_LENGTH = 1500\n\nconst SlideForm = ({ classes, initialValues, onSubmit, footer }) => {\n const [editorState, setEditorState] = useState(\n !initialValues.text\n ? EditorState.createEmpty()\n : createStateFromHtml(initialValues.text)\n )\n return (\n \n onSubmit({\n ...values,\n text: editorState.getCurrentContent().getPlainText(),\n html: stateToHTML(editorState)\n })\n }\n initialValues={initialValues}\n validationSchema={Yup.object().shape({\n title: Yup.string().required(),\n url: Yup.string()\n .url()\n .required(),\n text: Yup.string().max(TEXT_MAX_LENGTH)\n })}>\n {formikProps => {\n const {\n handleSubmit,\n handleBlur,\n handleChange,\n values,\n errors,\n setFieldValue,\n touched\n } = formikProps\n return (\n
    \n \n \n \n YouTube video url\n \n \n \n \n \n \n Title\n \n \n \n \n \n \n Description\n \n \n \n \n \n \n \n \n \n \n }\n editorState={editorState}\n onChange={newState => {\n const plainText = newState\n .getCurrentContent()\n .getPlainText()\n setFieldValue('text', plainText)\n setEditorState(newState)\n }}\n />\n \n \n {footer(formikProps)}\n
    \n )\n }}\n \n )\n}\n\nexport default injectSheet(styles)(SlideForm)\n","export default {\n modalContent: {\n width: '600px'\n }\n}\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './create-dialog.styles'\nimport { Modal, ModalHeader, ModalFooter } from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport SlideForm from '../slide-form/slide-form'\n\nconst VideoSlideCreateDialog = ({\n classes,\n modalOpened,\n onChange,\n onClose,\n onSubmit,\n onLinkChange,\n disableSubmit\n}) => {\n return (\n \n Add YouTube video slide\n (\n \n \n \n \n )}\n />\n \n )\n}\n\nexport default injectSheet(styles)(VideoSlideCreateDialog)\n","import { connect } from 'react-redux'\nimport ImageSlideCreateDialog from './create-dialog.jsx'\nimport { createSlide } from '../../../../stores/presentation/presentation.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.selectors.js'\nimport { closeCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.actions.js'\n\nconst mapStateToProps = state => {\n const createSlideDialog = getCreateSlideDialog(state)\n return {\n modalOpened: createSlideDialog.opened && createSlideDialog.type === 'Video'\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onClose: () => dispatch(closeCreateSlideDialog()),\n onSubmit: values => {\n dispatch(\n createSlide({\n type: 'Video',\n title: values.title,\n text: values.text,\n html_text: values.html,\n video_url: values.url\n })\n ).catch(errorHandler)\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(ImageSlideCreateDialog)\n","import { apiClient } from 'pobble-components/dist/api'\nimport { Modal, ModalContent, ModalFooter } from 'pobble-components/dist/modal'\nimport React from 'react'\nimport { useEffect } from 'react'\nimport { useState } from 'react'\nimport ButtonElement from 'pobble-components/dist/button-element'\nimport injectSheet from 'react-jss/lib/injectSheet'\nimport { Link } from 'react-router-dom'\nimport Spinner from 'pobble-components/dist/spinner'\nimport NoItemsPlaceholder from 'pobble-components/dist/no-items-placeholder'\nimport Button from 'pobble-components/dist/button'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faSearch } from '@fortawesome/pro-solid-svg-icons/faSearch'\nimport { faTimes } from '@fortawesome/pro-solid-svg-icons/faTimes'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport { useSubscriptionDetails } from 'pobble-components/dist/subscriptions/utils'\nimport { SubsCrown } from 'pobble-components/dist/subscriptions'\nimport { UpsellModal } from '../../../pages/prompt/upsell'\nimport { Presentation } from 'pobble-components/dist/presentation'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { getCreateSlideRequest } from '../../../../stores/presentation/presentation.selectors'\nimport { getCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.selectors'\nimport { createSlide } from '../../../../stores/presentation/presentation.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { closeCreateSlideDialog } from '../../../pages/lesson/builder/redux/builder.actions'\n\n/**\n * Work preview creates a fake presentation\n * that looks like the work asset.\n *\n * We are doing that because if user saves or uses this work\n * that's what backend will do. It will map the work data\n * to the presentation asset data.\n *\n * This way we ensure that visual end result is as close\n * to reality as possible\n *\n */\nconst WorkPreview = injectSheet({\n content: {\n background: 'var(--light-gray-)',\n overflow: 'hidden',\n maxWidth: '1100px',\n padding: '48px',\n borderRadius: '4px 4px 0 0'\n },\n presentation: {\n boxShadow: '0 0 0 1px rgb(0 0 0 / 16%)',\n borderRadius: '4px',\n overflow: 'hidden',\n '& a': {\n display: 'none !important'\n }\n }\n})(({ work, classes, requestClose }) => {\n const dispatch = useDispatch()\n\n const addWorkSlide = work => {\n dispatch(\n createSlide({\n type: 'Exemplar',\n work_id: work.id,\n title: work.title,\n description: work.description\n })\n ).catch(errorHandler)\n }\n\n return (\n <>\n \n
    \n ${work.description || ''}

    `,\n work: {\n id: work.id,\n title: 'title',\n media: work.media\n }\n }\n ]\n }}\n />\n

    \n
    \n \n \n {\n requestClose()\n addWorkSlide(work)\n }}>\n Add this slide\n \n \n \n )\n})\n\nconst WorkPreviewModal = ({ isOpen, requestClose, work }) => {\n return (\n \n \n \n )\n}\n\nconst Img = injectSheet({\n img: {\n transform: 'translateY(8px)',\n opacity: '0'\n },\n loaded: {\n opacity: '1',\n transform: 'translateY(0)'\n }\n})(({ classes, className, alt, ...props }) => {\n const [loaded, setLoaded] = useState(false)\n return (\n setLoaded(true)}\n {...props}\n />\n )\n})\n\nconst WorksGrid = injectSheet({\n works: {\n padding: '64px 0 0 0',\n display: 'grid',\n gap: '80px 24px',\n gridTemplateColumns: 'repeat(auto-fill, minmax(240px, 1fr))',\n '& img': {\n position: 'absolute',\n bottom: '96px',\n left: '16px',\n width: 'calc(100% - 32px)',\n maxHeight: '270px',\n boxShadow: '0 0 4px rgba(0, 0, 0, .2)',\n objectFit: 'cover',\n objectPosition: 'top',\n transition: 'transform .2s ease-out, opacity .2s ease-out'\n }\n },\n work: {\n height: '320px',\n borderRadius: '8px',\n background: 'var(--gray-)',\n padding: '16px',\n position: 'relative',\n boxShadow: '0 0 4px rgba(0, 0, 0, .2)',\n '&:hover': {\n '& img': {\n transform: 'translateY(-8px)'\n }\n },\n '& footer': {\n position: 'absolute',\n left: '0',\n bottom: '0',\n background: '#fff',\n width: '100%',\n borderRadius: '0 0 8px 8px',\n color: 'var(--gray)',\n zIndex: '10',\n '&:after': {\n content: '\"\"',\n position: 'absolute',\n left: '0',\n width: '100%',\n bottom: '100%',\n background:\n 'linear-gradient(to top, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0))',\n height: '16px',\n zIndex: '10'\n },\n '& h3': {\n font: 'var(--heading---)',\n textAlign: 'center',\n margin: '0',\n padding: '16px'\n }\n }\n },\n holder: {\n position: 'relative',\n height: '100%',\n display: 'flex',\n alignItems: 'flex-end'\n },\n subFooter: {\n borderTop: '1px solid var(--light-gray)',\n padding: '16px',\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n color: 'var(--gray-)'\n },\n yearGroup: {\n padding: '8px 16px',\n background: 'rgba(0, 0, 0, .05)',\n borderRadius: '4px'\n },\n loading: {\n height: '100%',\n width: '100%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n marginTop: '140px'\n },\n spinner: {\n fontSize: '100px',\n color: '#ccc'\n }\n})(({ classes, search, filter, onSelect, age }) => {\n const [works, setWorks] = useState(null)\n\n useEffect(\n () => {\n setWorks(null)\n apiClient\n .get('v3/search.json', {\n params: {\n search_string: search,\n exemplar: filter === 'exemplars' || undefined,\n year_group_id: age === 'all-ages' ? undefined : age,\n limit: '100'\n }\n })\n .then(res => {\n setWorks(res.data.works)\n })\n },\n [search, filter, age]\n )\n\n return !works ? (\n
    \n \n
    \n ) : !works.length ? (\n \n

    Oops, we couldn't find any works

    \n

    \n Reset filters\n

    \n
    \n ) : (\n
    \n {works &&\n works.map(work => {\n const media = work.media[0]\n const img = media && media.thumb_url\n return (\n onSelect(work)}\n className={classes.work}\n key={work.id}>\n
    \n {work.title}\n
    \n
    \n

    {work.title}

    \n
    \n {work.school.country}\n \n {work.year_group.title}\n \n
    \n
    \n \n )\n })}\n
    \n )\n})\n\nconst Works = injectSheet({\n container: {\n '& header': {\n padding: '24px',\n background: '#fff',\n display: 'flex',\n position: 'sticky',\n zIndex: '20',\n top: '-40px',\n boxShadow: '0 0 4px rgb(0 0 0 / 10%)',\n borderRadius: '8px 8px 0 0'\n },\n '& main': {\n padding: '24px',\n background: 'var(--light-gray--)',\n minHeight: '100vh',\n borderRadius: '0 0 8px 8px'\n }\n },\n search: {\n display: 'flex',\n flex: '1',\n maxWidth: '600px',\n '& input': {\n borderRight: 'none',\n borderRadius: '4px 0 0 4px'\n },\n '& button': {\n borderRadius: '0 4px 4px 0'\n }\n },\n headerHolder: {\n maxWidth: '800px',\n margin: 'auto',\n display: 'flex',\n gap: '24px',\n flex: '1'\n },\n toggle: {\n display: 'flex',\n '& button': {\n minWidth: '100px',\n display: 'flex',\n justifyContent: 'center',\n color: 'var(--gray--)',\n borderColor: '#ccc',\n '&:hover': {\n background: 'hsl(224deg 33% 94%)',\n color: 'var(--dark-blue)'\n },\n '&:first-child': {\n borderRadius: '4px 0 0 4px',\n borderRight: 'none'\n },\n '&:last-child': {\n borderRadius: '0 4px 4px 0',\n borderLeft: 'none'\n }\n }\n },\n active: {\n background: 'hsl(225deg 59% 97%)',\n color: 'var(--dark-blue) !important',\n borderColor: 'var(--dark-blue--) !important',\n border: '1px solid var(--dark-blue) !important'\n },\n selectedAge: {\n '& select': {\n background: 'hsl(225deg 59% 97%)',\n borderColor: 'var(--dark-blue) !important',\n color: 'var(--dark-blue)'\n }\n },\n crown: {\n marginRight: '8px',\n color: 'var(--blue)'\n },\n loading: {\n height: '100%',\n width: '100%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n margin: '30vh 0'\n },\n spinner: {\n fontSize: '100px',\n color: '#ccc'\n },\n closeIcon: {\n color: `var(--gray)`,\n background: `var(--light-gray)`,\n width: '24px',\n height: '24px',\n borderRadius: '24px',\n position: 'absolute',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n right: '20px',\n top: '20px',\n '&:hover': {\n border: '1px solid var(--gray--)'\n },\n '&:focus, &:active': {\n background: 'var(--gray)',\n color: 'var(--light-gray)'\n }\n }\n})(({ classes, onSelect, requestClose }) => {\n const [upsell, setUpsell] = useState(false)\n const { hasAccessToTL } = useSubscriptionDetails()\n\n const [controls, setControls] = useState({\n search: '',\n filter: 'all',\n age: 'all-ages'\n })\n const request = useSelector(getCreateSlideRequest)\n\n const dispatch = useDispatch()\n\n useEffect(\n () => {\n window.scrollTo({ top: 0 })\n },\n [controls.filter, controls.age]\n )\n\n return request.pending ? (\n
    \n \n
    \n ) : (\n
    \n
    \n {\n dispatch(closeCreateSlideDialog())\n }}>\n \n \n
    \n
    \n {\n if (!hasAccessToTL) return setUpsell(true)\n setControls({ ...controls, filter: 'exemplars' })\n }}\n className={`${\n controls.filter === 'exemplars' ? classes.active : ''\n } ${!hasAccessToTL ? 'metrics__exemplars--restricted' : ''}`}\n tall\n secondary>\n {!hasAccessToTL && }\n Exemplars\n \n setControls({ ...controls, filter: 'all' })}\n className={controls.filter === 'all' ? classes.active : ''}\n tall\n secondary>\n All work\n \n
    \n {\n setControls({ ...controls, age: e.target.value })\n }}\n value={controls.age}>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n e.preventDefault()\n setControls({ ...controls, search: e.target.search.value })\n }}\n className={classes.search}>\n \n }>\n Search\n \n \n
    \n
    \n
    \n \n setUpsell(false)}\n isOpen={upsell}\n />\n
    \n
    \n )\n})\n\nexport const SelectWorkModal = injectSheet({\n content: {\n maxWidth: '1200px',\n padding: '0'\n }\n})(({ onSelect, classes }) => {\n const [workPreview, setWorkPreview] = useState({ isOpen: false, work: null })\n\n const createSlideDialog = useSelector(getCreateSlideDialog)\n const modalOpened =\n createSlideDialog.opened && createSlideDialog.type === 'WorkExemplar'\n\n return (\n <>\n \n \n setWorkPreview({ isOpen: true, work })} />\n \n \n setWorkPreview({ ...workPreview, isOpen: false })}\n />\n \n )\n})\n","import React from 'react'\nimport WordBank from './word-bank/create-dialog/create-dialog.container'\nimport Exercise from './exercise-slide/create-dialog/create-dialog.container'\nimport Image from './image-slide/create-dialog/create-dialog'\nimport LinkSlide from './link-slide/create-dialog/create-dialog'\nimport SuccessCriteria from './success-criteria-slide/create-dialog/create-dialog.container'\nimport Text from './text-slide/create-dialog/create-dialog.container'\nimport Video from './video-slide/create-dialog/create-dialog.container'\nimport { SelectWorkModal } from './exemplar-slide/select-work/select-work'\n\nexport const CreateSlideDialogs = () => {\n return (\n <>\n \n \n