PageSourceSearch

https://declonedroyaltyfreemusic.notion.site/_assets/SidebarShortcutGroupMenuButton-f18b04dcbf0dce5c.js

js declonedroyaltyfreemusic.notion.site collected 2026-10-10 00:57:48 UTC 6,308 bytes, 1 lines download raw bytes

1"use strict";(globalThis.rspackChunknotion_next=globalThis.rspackChunknotion_next||[]).push([[20650],{87945(e,t,n){let o=n(546605).Store.createValue(!1,{name:"slipperySlopeSidebarCustomizationModeStore"});n.d(t,{},{F:o})},636255(e,t,n){var o=n(635790),r=n(440302);function i({children:e,onChange:t,horizontal:a,style:l}){let s=(0,o.useRef)(null),u=(0,o.useRef)(0),c=(0,o.useRef)(0);return(0,o.useEffect)(()=>{let e=s.current;if(!e)return;let o=(0,n(54503).NM)(e);if(o){function r(){return(null==o?void 0:o.scrollTop)||0}function i(){if(a){let n=function(){if(!e||!o)return 0;{let t=e.getBoundingClientRect(),n=o.getBoundingClientRect(),{scrollLeft:r,scrollWidth:i}=o,a=t.left+t.width+r-n.left,l=r+n.width;return i-t.width-(l-a)}}(),i={offsetFromTop:r()};n!==c.current&&(c.current=n,t(n,i))}else{let n=function(){if(!e||!o)return 0;{let t=e.getBoundingClientRect(),n=o.getBoundingClientRect(),{scrollTop:r}=o;return t.top+t.height+r-n.top-(r+n.height)}}(),i={offsetFromTop:r()};n!==u.current&&(u.current=n,t(n,i))}}i();let l=(0,n(960408).nF)(function(e){i()},50);return(0,n(166027).P)({el:o,eventName:"scroll",callback:l}),()=>{(0,n(260244).O)({el:o,eventName:"scroll",callback:l})}}},[a,t]),(0,r.jsx)("div",{...n(398276).A.props(l),ref:s,children:e})}n.d(t,{F:()=>i})},497857(e,t,n){n(635790);var o=n(440302);function r(){return(0,o.jsx)(n(16275).I,{icon:n(746204).w,size:"lg",colorVariant:"primary"})}n.d(t,{h:()=>r})},590943(e,t,n){let o=new(n(552709)).O2("pagePresentationActions",async()=>await Promise.resolve().then(n.bind(n,697203)));n.d(t,{},{e:o})},928896(e,t,n){function o(e,t){(0,n(104310).u)({event:{eventName:"reorder_outliner_section",eventProperties:{section:t.section,previous_order:t.previous_order,new_order:t.new_order,from:t.from}}})}n.d(t,{U:()=>o})},772103(e,t,n){var o=n(635790),r=n(440302);let i=(0,n(327219).YK)({rename:{id:"sidebar.simplification.databaseView.menu.rename",defaultMessage:"Rename"}}),a={paddingTop:8,paddingBottom:8};function l(e){let{menuItemProps:t,onFocus:o,customName:a,placeholderNameRef:l,maxLength:u,onCommit:c}=e,d=(0,n(327219).tz)();return(0,r.jsx)(n(816231).A,{...t,onFocus:o,disableDefaultClick:!0,alignmentToOrigin:"start",keepOpenUntilDismissed:!0,renderExtension:(e,t)=>(0,r.jsx)(s,{extensionPopupButtonEvents:e,extensionMenuParent:t,customName:a,placeholderName:l.current??"",maxLength:u,onCommit:c}),children:(e,t)=>(0,r.jsx)(n(860287).A,{...e,ref:t,title:d.formatMessage(i.rename),svg:n(636).pencilLineIcon})})}function s(e){let{extensionPopupButtonEvents:t,extensionMenuParent:i,customName:l,placeholderName:s,maxLength:u,onCommit:c}=e,[d,m]=(0,o.useState)(l??""),p=(0,o.useRef)(!1),f=(0,o.useRef)(!1),g=(0,o.useCallback)(()=>{p.current||(p.current=!0,c(d),i.close())},[i,d,c]),h=(0,o.useCallback)(()=>{p.current=!0,i.close()},[i]),v=(0,o.useCallback)(e=>{if(void 0!==l&&!f.current){f.current=!0;let t=e.currentTarget;window.requestAnimationFrame(()=>t.select())}},[l]);return(0,r.jsx)(n(747369).A,{...t,menuType:n(649476).gu.Popup,width:220,children:(0,r.jsx)(n(369064).N,{debugName:"SidebarSectionRenameInputMenu",capture:!0,onEnter:g,onEsc:h,children:(0,r.jsx)(n(310324).Ay,{style:a,value:d,placeholder:s,onChange:e=>m(e.target.value),onSubmit:g,onBlur:g,onCancel:h,onFocus:v,autoFocus:!0,showClearButton:!1,maxlength:u})})})}n.d(t,{UL:()=>l},{K2:i})},41406(e,t,n){n.r(t);var o=n(635790),r=n(440302);let i=(0,n(327219).YK)({rename:{id:"sidebar.simplification.shortcutGroup.rename",defaultMessage:"Rename"},groupName:{id:"sidebar.simplification.shortcutGroup.nameSection",defaultMessage:"Group name"}});function a(e){let{section:t,sidebarTabId:i,variant:a}=e,s=(0,n(275141).cZ)(),u=(0,o.useCallback)(e=>{s(o=>(0,n(481790).Xx)({config:o,tabId:i,sectionId:t.id,name:e}),"sidebarSimplificationTabs.renameShortcutGroup")},[s,t.id,i]);return(0,r.jsx)(n(316969).Z,{buttonType:"customization"===a.type?"settings":"overflow",renderMenu:e=>(0,r.jsx)(l,{section:t,variant:a,onRename:u,onClose:e})})}function l(e){let{section:t,variant:a,onRename:l,onClose:s}=e,u=(0,n(327219).tz)().formatMessage(i.groupName),c=(0,o.useMemo)(()=>({current:u}),[u]),d=(0,o.useMemo)(()=>(0,n(876011).Ls)({key:"renameShortcutGroup",displayName:i.rename,analyticsName:i.rename.defaultMessage,validators:[],closeParentMenu:!0,svg:n(636).pencilLineIcon,action:()=>{"customization"===a.type&&a.onStartRename(),s()},render:"customization"===a.type?void 0:(e,o,i)=>(0,r.jsx)(n(772103).UL,{menuItemProps:e,onFocus:i.onFocus,customName:t.name,placeholderNameRef:c,maxLength:150,onCommit:l})}),[c,l,t.name,a,s]);return(0,r.jsx)(n(4881).d,{type:"shortcut_group",sectionKey:(0,n(476431).EA)(t),settingsMenuItems:[d],hideRemoveAndCustomizeActions:"customization"===a.type,onClose:s,width:220})}n.d(t,{SidebarShortcutGroupMenuButton:()=>a})},746204(e,t,n){n(635790);let o={viewBox:"0 0 20 20",fittedViewBox:"5.87 3.72 7.16 12.56",directional:!0,svg:(0,n(440302).jsx)("path",{d:"M6.131 9.381a.875.875 0 0 0 0 1.238l5.4 5.4a.875.875 0 1 0 1.238-1.238L7.987 10l4.782-4.781A.875.875 0 0 0 11.53 3.98z"})},r=(0,n(104509).wt)("arrowChevronSingleLeftFill",o,"fill");n.d(t,{},{w:r})},924171(e,t,n){n(635790);var o=n(440302);let r={viewBox:"0 0 16 16",fittedViewBox:"0.7 2.19 14.6 11.6",svg:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("path",{d:"M3.142 2.332a.55.55 0 0 1 .695-.017l.08.076.227.265.008.01 8.773 10.235.056.082a.551.551 0 0 1-.818.701l-.081-.076-1.18-1.376A8.5 8.5 0 0 1 8 12.74c-3.027 0-5.685-1.569-7.026-3.911L.848 8.6a1.29 1.29 0 0 1 0-1.198l.12
16-.228c.705-1.233 1.776-2.251 3.073-2.94l-.965-1.125-.063-.092a.55.55 0 0 1 .123-.684M4.884 5.21c-1.21.58-2.198 1.486-2.825 2.582l-.104.19a.04.04 0 0 0 0 .035l.104.19c1.108 1.935 3.34 3.281 5.941 3.281.706 0 1.385-.1 2.022-.284l-.772-.902a2.6 2.6 0 0 1-1.25.32l-.269-.013A2.626 2.626 0 0 1 5.39 8.266l-.014-.268c0-.597.201-1.147.537-1.588zm2.241 2.787c0 .484.392.876.875.876l.022-.002-.883-1.03a1 1 0 0 0-.014.156M8 3.26c3.125 0 5.857 1.673 7.152 4.141l.065.144c.11.293.11.617 0 .91l-.065.144a7.5 7.5 0 0 1-2.256 2.578l-.817-.954a6.3 6.3 0 0 0 1.966-2.205L14.05 8l-.005-.018c-1.069-2.036-3.36-3.47-6.045-3.47q-.397 0-.781.04l-.955-1.115A8.6 8.6 0 0 1 8 3.261"}),(0,o.jsx)("path",{d:"M8 5.372a2.626 2.626 0 0 1 2.625 2.626l-.014.268q-.011.106-.031.208l-2.657-3.1z"})]})},i=(0,n(104509).wt)("eyeSlashSmall",r,"small");n.d(t,{},{V:i})}}]);

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.