PageSourceSearch

https://yellowlearning.notion.site/_assets/transformActions-51f6d8959bec9386.js

js yellowlearning.notion.site collected 2026-10-10 02:29:47 UTC 6,941 bytes, 1 lines download raw bytes

1"use strict";(globalThis.rspackChunknotion_next=globalThis.rspackChunknotion_next||[]).push([[18199],{199894(e,t,o){function r(e){let{environment:t,selection:r,transaction:n,preventSetSelection:a}=e,{blocks:l}=e,s=(0,o(385941).Z)();if(!s)throw Error("No root store.");if(r.length>0){let e=r[0],s=o(240414).T.find(t=>t.props.store===e&&t.props.canInsertAbove&&t.props.onInsertAbove);if(!s||!s.props.onInsertAbove)throw Error("No Selectable found.");let i=s.props.onInsertAbove({insertStores:l,transaction:n});return a||(0,o(967551).t)({environment:t,stores:i}),i}{let e=s.getContentStore(),r=l.map(t=>(0,o(33028).B)({parentStore:e,appendStore:t,transaction:n}).childStore);return a||(0,o(967551).t)({environment:t,stores:r}),r}}o(533958),o(730330),o(139583),o(159952),o.d(t,{t:()=>r})},210318(e,t,o){o(533958),o(953925),o(540679),o(730330),o(139583),o(974864),o(159952);var r=()=>o(188993);function n(e){let t,{environment:n,tabId:a,blocksToInsert:l,target:s,transaction:i,replaceEmptyTextBlock:c,preventSetSelection:p}=e,d=(0,o(385941).Z)();if(!d){let{route:e}=n.RouterStore.state;(0,o(132702).Dk)(e)&&(d=s.at(0))}let f=d;if(!f)throw Error("No root store.");if(s.length>0){let e=s.at(-1),r=e;if(l.find(e=>e.isType("column_list"))){let t=null==e?void 0:e.findRecordStoreUIAncestor(e=>e&&e instanceof o(970831).B&&e.isType("column_list")).ancestor;t&&t instanceof o(970831).B&&(r=t)}let p=o(240414).T.find(e=>e.props.store===r&&e.props.canInsertBelow&&e.props.onInsertBelow);p&&p.props.onInsertBelow?(t=(0,o(960408).oE)(p.props.onInsertBelow({insertStores:l,transaction:i})),c&&e&&e.isEmptyTextBlock()&&(0,o(155953).Z)({environment:n,tabId:a,blocks:[e],transaction:i})):t=l.slice().reverse().map(e=>(0,o(61506).H)({parentStore:f.getContentStore(),prependStore:e,transaction:i}).childStore)}else if(f.isCollectionView()){let e=o(496704).K.findCollectionViewBlockFromStore(f);if(e){let o=e.collectionContextStore,a=o.collectionStore();if(a)for(let e of l)(0,r().j)({environment:n,store:e,collectionStore:a,collectionContextStore:o,shouldCoerce:!0,groupsPointer:[],transaction:i});t=[]}else throw Error("No collection view found.")}else{let e=f.getContentStore();t=l.map(t=>(0,o(33028).B)({parentStore:e,appendStore:t,transaction:i}).childStore)}return p||(t=t.flatMap(e=>e.isType("column_list")?e.getContentStores().flatMap(e=>e.getContentStores()):[e]),(0,o(967551).t)({environment:n,stores:t})),t}o.d(t,{L:()=>n})},931263(e,t,o){function r(e){let{stores:t}=o(584265).default.state,r=t[0];if(!r)return;let n=o(240414).T.findSelectableFromStore(r);if(n&&n.props.onEditText){let t=n.props.onEditText,a=r.pointer.spaceId;(0,o(323517).createAndCommit)({userAction:"selectionActions.editSelection",environment:e,canUndo:!0,cellTarget:a?{spaceWithId:a}:void 0,perform:e=>{t({isAtStartOfLine:!1,isClick:!1,transaction:e})}})}}o.d(t,{Z:()=>r})},937776(e,t,o){o(635790);var r=o(440302);let n={viewBox:"0 0 20 20",fittedViewBox:"3.12 3.12 13.75 13.76",svg:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M8 9.875a.625.625 0 1 0 0 1.25h4a.625.625 0 1 0 0-1.25z"}),(0,r.jsx)("path",{d:"M3.125 4.75c0-.897.728-1.625 1.625-1.625h10.5c.898 0 1.625.728 1.625 1.625v1.57c0 .676-.413 1.256-1 1.5v7.43c0 .898-.727 1.625-1.625 1.625h-8.5a1.625 1.625 0 0 1-1.625-1.625V7.82c-.587-.244-1-.824-1-1.5zm11.5 3.195h-9.25v7.305c0 .207.168.375.375.375h8.5a.375.375 0 0 0 .375-.375zm1-1.625V4.75a.375.375 0 0 0-.375-.375H4.75a.375.375 0 0 0-.375.375v1.57c0 .205.164.372.369.375h10.512a.375.375 0 0 0 .369-.375"})]})},a=(0,o(104509).wt)("archiveBox",n,"default");o.d(t,{},{B:a})},823811(e,t,o){o(635790);let r={viewBox:"0 0 20 20",fittedViewBox:"2.37 4.12 15.25 11.75",svg:(0,o(440302).jsx)("path",{d:"M2.375 6.25c0-1.174.951-2.125 2.125-2.125h11c1.174 0 2.125.951 2.125 2.125v7.5a2.125 2.125 0 0 1-2.125 2.125h-11a2.125 2.125 0 0 1-2.125-2.125zm1.25 7.49L7.366 10 3.625 6.259zm.884.885H15.49l-3.74-3.741-1.309 1.308a.625.625 0 0 1-.884 0L8.25 10.884zM12.634 10l3.741 3.741V6.26zM4.509 5.375 10 10.866l5.491-5.491z"})},n=(0,o(104509).wt)("envelope",r,"default");o.d(t,{},{o:n})},680983(e,t,o){o.r(t),o(635790);var r=o(440302);let n={viewBox:"0 0 20 20",fittedViewBox:"3.49 1.5 13.02 16.01",svg:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("g",{className:"logo-light-mode",children:(0,r.jsx)("path",{fill:"#000",d:"M12.927 5.37q.17 0 .525.04.364.032.825.178.46.145.938.469.476.323.881.905-.041.025-.307.219-.26.194-.59.566a3.4 3.4 0 0 0-.582.93q-.243.557-.243 1.333 0 .89.307 1.504.315.615.728.995.42.38.744.557.331.17.355.178-.008.033-.12.364a9 9 0 0 1-.357.84q-.233.51-.614 1.068-.348.493-.72.946a3.4 3.4 0 0 1-.8.736 1.7 1.7 0 0 1-.97.29q-.413 0-.704-.096a5 5 0 0 1-.558-.227 4.4 4.4 0 0 0-.573-.218 2.7 2.7 0 0 0-.785-.097q-.615 0-1.027.
1162-.403.17-.768.331a2.1 2.1 0 0 1-.857.162q-.75 0-1.326-.598a14 14 0 0 1-1.164-1.431 9 9 0 0 1-.84-1.528 10.5 10.5 0 0 1-.607-1.836 8.5 8.5 0 0 1-.226-1.94q0-1.552.59-2.611T5.594 5.96a3.73 3.73 0 0 1 1.916-.542q.525 0 .986.17.47.17.873.348.405.17.736.17.315 0 .744-.179.428-.186.946-.371.525-.186 1.132-.186m-.566-1.31a3.3 3.3 0 0 1-1.019.816q-.606.324-1.148.324a1 1 0 0 1-.218-.024l-.025-.114a2 2 0 0 1-.008-.178q0-.614.267-1.196t.615-.97q.428-.51 1.083-.85.663-.339 1.27-.363.023.138.024.315 0 .623-.235 1.213a3.8 3.8 0 0 1-.606 1.027"})}),(0,r.jsx)("g",{className:"logo-dark-mode",children:(0,r.jsx)("path",{fill:"#fff",d:"M12.927 5.37q.17 0 .525.04.364.032.825.178.46.145.938.469.476.323.881.905-.041.025-.307.219-.26.194-.59.566a3.4 3.4 0 0 0-.582.93q-.243.557-.243 1.333 0 .89.307 1.504.315.615.728.995.42.38.744.557.331.17.355.178-.008.033-.12.364a9 9 0 0 1-.357.84q-.233.51-.614 1.068-.348.493-.72.946a3.4 3.4 0 0 1-.8.736 1.7 1.7 0 0 1-.97.29q-.413 0-.704-.096a5 5 0 0 1-.558-.227 4.4 4.4 0 0 0-.573-.218 2.7 2.7 0 0 0-.785-.097q-.615 0-1.027.162-.403.17-.768.331a2.1 2.1 0 0 1-.857.162q-.75 0-1.326-.598a14 14 0 0 1-1.164-1.431 9 9 0 0 1-.84-1.528 10.5 10.5 0 0 1-.607-1.836 8.5 8.5 0 0 1-.226-1.94q0-1.552.59-2.611T5.594 5.96a3.73 3.73 0 0 1 1.916-.542q.525 0 .986.17.47.17.873.348.405.17.736.17.315 0 .744-.179.428-.186.946-.371.525-.186 1.132-.186m-.566-1.31a3.3 3.3 0 0 1-1.019.816q-.606.324-1.148.324a1 1 0 0 1-.218-.024l-.024-.114a2 2 0 0 1-.009-.178q0-.614.267-1.196t.615-.97q.428-.51 1.083-.85.663-.339 1.27-.363.023.138.024.315 0 .623-.235 1.213a3.8 3.8 0 0 1-.606 1.027"})})]})},a=(0,o(104509).wt)("apple",n,"default");o.d(t,{},{appleIcon:a,iconDefinition:n})},692218(e,t,o){function r(e){return n(e).isDatabaseAgent}function n(e){var t;let o=null==e||null==(t=e.find(e=>"notion"===e.type))||null==(t=t.state)?void 0:t.ownedByDatabasePropertyIds;return o?{isDatabaseAgent:!0,ownedByDatabasePropertyIds:o}:{isDatabaseAgent:!1}}o(730330),o(139583),o.d(t,{b:()=>n,u:()=>r})},886883(e,t,o){function r(e){return!!Array.isArray(e)}function n(e){return!(!e||Array.isArray(e))}function a(e){return r(e)?e:[]}o(499468),o(586042),o(169187),o(726090),o(132457),o(219390),o(73168),o.d(t,{Zv:()=>r,ap:()=>n,rr:()=>a})}}]);

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.