PageSourceSearch

https://subjecttoclimate.org/js/tenant/pages/StcMaterial-components-TabsSectionMobile-vue.6188ebf9.js

js subjecttoclimate.org collected 2026-09-24 09:09:44 UTC 9,686 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[3672],{42902:(e,t,n)=>{n.r(t),n.d(t,{default:()=>M});var l=n(41916);function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=new Array(t);n<t;n++)l[n]=e[n];return l}var o={class:"block space-y-[11px] lg:hidden"},s=["onClick"],i={key:0,class:"p-[16px] bg-[#EEF1F6] rounded-bl-xl rounded-br-xl"},c={key:0},m=["innerHTML"],d=["innerHTML"],u={key:1},p={class:"w-full h-[350px]"},g=["src"],k={class:"text-right px-6"},B=["href"],E={key:2},h={class:"-mt-6 trix"},f={class:"font-semibold"},b={class:"-mt-6"},y={class:"-mt-2"},w={class:"mt-8"},A={class:"-mt-6 trix"},v={class:"font-semibold"},N={class:"-mt-6"},C={class:"-mt-2"},x={key:3},V={class:"list-disc space-y-1 pl-[20px]"},S=["href"];var T=n(87879),D=[{label:"Accompanying Materials",name:"accompanying_materials"},{label:"Lesson Plan Preview",name:"lesson_plan_preview"},{label:"Teaching Tips",name:"teaching_tips"},{label:"Standards",name:"standards"}];const G={props:{resource:Object,isActivity:Boolean},components:{},data:function(){var e,t,n;return{selectedTabName:"scientist-notes",embeddings:null!==(e=null===(t=this.resource)||void 0===t||null===(n=t.teachable)||void 0===n?void 0:n.embeddings)&&void 0!==e?e:[]}},mounted:function(){var e;console.log(null===(e=this.resource.teachable)||void 0===e?void 0:e.url)},computed:{selectedTab:function(){var e=this,t=this.tabs.filter((function(t){return t.name==e.selectedTabName}));return t.length?t[0]:null},primaryStandardsNamesTree:function(){return this.resource.standards_names_trees[this.tenantSlug].primary},supportingStandardsNamesTree:function(){return this.resource.standards_names_trees[this.tenantSlug].supporting}},setup:function(){var e=(0,T.qt)().props.tenantSlug;return{tabs:D,tenantSlug:e}}};const M=(0,n(83744).Z)(G,[["render",function(e,t,n,a,T,D){return(0,l.openBlock)(),(0,l.createElementBlock)("div",o,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(a.tabs,(function(e){var a,o,G;return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[!n.isActivity||n.isActivity&&"lesson_plan_preview"!==e.name?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:e.name},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)([T.selectedTabName===e.name?"rounded-tl-xl rounded-tr-xl bg-primary-500":"rounded-xl bg-primary-100","cursor-pointer flex justify-between px-[15px] py-[8px] h-[40px] items-center"]),onClick:function(t){return T.selectedTabName===e.name?T.selectedTabName="":T.selectedTabName=e.name}},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.label),1),(0,l.createElementVNode)("span",null,[((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(T.selectedTabName!==e.name?"":"rotate-180"),xmlns:"http://www.w3.org/2000/svg",width:"12",height:"7",viewBox:"0 0 12 7",fill:"none"},r(t[0]||(t[0]=[(0,l.createElementVNode)("path",{d:"M5.99935 6.50033L0.166016 0.666992H11.8327L5.99935 6.50033Z",fill:"#2B2B2B"},null,-1)])),2))])],10,s),T.selectedTabName===e.name?((0,l.openBlock)(),(0,l.createElementBlock)("div",i,["teaching_tips"===T.selectedTabName?((0,l.openBlock)(),(0,l.createElementBlock)("div",c,[(0,l.createElementVNode)("div",{innerHTML:n.resource.teaching_tips},null,8,m),n.resource.scientist_notes?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,innerHTML:n.resource.scientist_notes,class:"mt-4"},null,8,d)):(0,l.createCommentVNode)("",!0)])):"lesson_plan_preview"===T.selectedTabName?((0,l.openBlock)(),(0,l.createElementBlock)("div",u,[(0,l.createElementVNode)("div",p,[(0,l.createElementVNode)("iframe",{loading:"lazy",src:(null===(a=n.resource)||void 0===a||null===(o=a.teachable)||void 0===o?void 0:o.url)||"https://docs.google.com/presentation/d/e/2PACX-1vQ8Xoe_t38KzRS2hzgKWisChVoCzprTGLKv-7QqOLHI4wtZhLp0k5FSBeKcRbICfESCmUMeMo4BsP35/embed",frameborder:"0",width:"100%",height:"100%",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"},null,8,g)]),(0,l.createElementVNode)("div",k,[(0,l.createElementVNode)("a",{href:null===(G=n.resource.teachable)||void 0===G?void 0:G.url,class:"underline inline-flex space-x-[6px] text-lg items-center",target:"_blank"},r(t[1]||(t[1]=[(0,l.createStaticVNode)('<svg width="23" height="23" viewBox="0 0 23 23" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><rect width="23" height="23" fill="url(#pattern0_99_2191)"></rect><defs><pattern id="pattern0_99_2191" patternContentUnits="objectBoundingBox" width="1" height="1"><use xlink:href="#image0_99_2191" transform="scale(0.01)"></use></pattern><image id="image0_99_2191" width="100" height="100" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAADf0lEQVR4nO3dT2sTQRzG8elFRPHPG9B4CCbze5bmEFBE8aDg2bN/QJCqFG9KFau0oqgHiydR9E2or8Cqxx4UPelFvIqIRaoe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wZY4wxxhhjjDHGGDOB+w5DziUbzN6bkwAAAABJRU5ErkJggg=="></image></defs></svg><span>View in new tab</span>',2)])),8,B)])])):"standards"===T.selectedTabName?((0,l.openBlock)(),(0,l.createElementBlock)("div",E,[(0,l.createElementVNode)("div",null,[t[2]||(t[2]=(0,l.createElementVNode)("h3",{class:"font-semibold"},"Primary Standards",-1)),(0,l.createElementVNode)("ul",h,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(D.primaryStandardsNamesTree,(function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:t,class:"mt-8"},[(0,l.createElementVNode)("span",f,(0,l.toDisplayString)(t),1),(0,l.createElementVNode)("ul",b,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,(function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:t,class:"mt-8"},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(t),1),(0,l.createElementVNode)("ul",y,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:e,class:"mt-4"},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e),1)])})),128))])])})),128))])])})),128))])]),(0,l.createElementVNode)("div",w,[t[3]||(t[3]=(0,l.createElementVNode)("h3",{class:"font-semibold"},"Supporting Standards",-1)),(0,l.createElementVNode)("ul",A,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(D.supportingStandardsNamesTree,(function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:t,class:"mt-8"},[(0,l.createElementVNode)("span",v,(0,l.toDisplayString)(t),1),(0,l.createElementVNode)("ul",N,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,(function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:t,class:"mt-8"},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(t),1),(0,l.createElementVNode)("ul",C,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("li",{key:e,class:"mt-4"},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e),1)])})),128))])])})),128))])])})),128))])])])):"accompanying_materials"===T.selectedTabName?((0,l.openBlock)(),(0,l.createElementBlock)("div",x,[(0,l.createElementVNode)("ul",V,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(T.embeddings,(function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("li",null,[(0,l.createElementVNode)("a",{href:e.url,target:"_blank",class:"underline"},(0,l.toDisplayString)(e.name),9,S)])})),256)),t[4]||(t[4]=(0,l.createElementVNode)("li",{class:"!mt-4"},[(0,l.createElementVNode)("a",{href:"https://www.youtube.com/watch?v=39XuefVSaH0&ab_channel=SubjectToClimate",target:"_blank",class:"underline"},"How to edit materials")],-1))])])):(0,l.createCommentVNode)("",!0)])):(0,l.createCommentVNode)("",!0)])):(0,l.createCommentVNode)("",!0)],64)})),256))])}]])}}]);
2//# sourceMappingURL=StcMaterial-components-TabsSectionMobile-vue.6188ebf9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.