PageSourceSearch

https://app.pad.ai/assets/authz-DvJO2IaP.js

js pad.ai collected 2026-10-05 12:24:29 UTC 8,682 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0f301-e013-0000-898a-cf107d5448ef";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="af2db600-7877-5f3e-949d-221fba1b8073")}catch(e){}}();import{c as e}from"./files-BGgx3L6e.js";var t=[[`path`,{d:`M4 13V4.0022C4 2.89676 4.89679 2.00097 6.00223 2.0022L12.9958 2.00998L20 9V13M13 2.5V7C13 8.10457 13.8954 9 15 9H19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M13 16H11C10.4477 16 10 16.4477 10 17V18C10 18.5523 10.4477 19 11 19H12C12.5523 19 13 19.4477 13 20V21C13 21.5523 12.5523 22 12 22H10M15.5 16L17.75 22L20 16M7.5 21C7.5 21.5523 7.05228 22 6.5 22H5C4.44772 22 4 21.5523 4 21V17C4 16.4477 4.44772 16 5 16H6.5C7.05228 16 7.5 16.4477 7.5 17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],n=[[`path`,{d:`M4 13V4.0022C4 2.89676 4.89679 2.00097 6.00223 2.0022L12.9958 2.00998L20 9V13M13 2.5V7C13 8.10457 13.8954 9 15 9H19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M20 17C20 16.4477 19.5523 16 19 16H17.5C16.9477 16 16.5 16.4477 16.5 17V21C16.5 21.5523 16.9477 22 17.5 22H19C19.5523 22 20 21.5523 20 21M4 16V22H5.5C6.60457 22 7.5 21.1046 7.5 20V18C7.5 16.8954 6.60457 16 5.5 16H4ZM11.25 16H12.75C13.3023 16 13.75 16.4477 13.75 17V21C13.75 21.5523 13.3023 22 12.75 22H11.25C10.6977 22 10.25 21.5523 10.25 21V17C10.25 16.4477 10.6977 16 11.25 16Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],r=[[`path`,{d:`M7.99976 7H15.9998`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M7.99976 11H11.9998`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.9955 22.0015H6C4.89421 22.0015 3.99828 21.1042 4 19.9984L4.02496 3.99688C4.02668 2.89353 4.92161 2 6.02496 2H17.9969C19.1014 2 19.9969 2.89543 19.9969 4V15.0145L12.9955 22.0015Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M20 15H15C13.8954 15 13 15.8954 13 17V22`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],i=[[`path`,{d:`M20 15V9L13 2H6C4.89543 2 4 2.89543 4 4V20C4 21.1046 4.89543 22 6 22H10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M13 2V7C13 8.10457 13.8954 9 15 9H20`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14.5 22L12 19.5L14.5 17M17.5 22L20 19.5L17.5 17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],a=[[`path`,{d:`M8 6.99446H12.0179M12.0179 6.99446H20C21.1046 6.99446 22 7.88989 22 8.99446V19C22 20.1046 21.1046 21 20 21H4C2.89543 21 2 20.1046 2 19V4C2 3.44772 2.44772 3 3 3H8.5022C8.81572 3 9.11109 3.14703 9.30008 3.39718L12.0179 6.99446Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],o=[[`path`,{d:`M2 21V4C2 3.44772 2.44772 3 3 3H7.03163C7.3284 3 7.60985 3.13182 7.79985 3.35982L10 6M10 6H7M10 6H18C19.1046 6 20 6.89543 20 8V11`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M18.4766 21H2L5.74856 11.6286C5.90042 11.249 6.26813 11 6.67703 11H20.9995C21.707 11 22.1908 11.7145 21.928 12.3714L18.4766 21Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],s=[[`circle`,{cx:`8`,cy:`8`,r:`1.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M21.5 19.5V4.5C21.5 3.39543 20.6046 2.5 19.5 2.5H4.5C3.39543 2.5 2.5 3.39543 2.5 4.5V19.5C2.5 20.6046 3.39543 21.5 4.5 21.5H19.5C20.6046 21.5 21.5 20.6046 21.5 19.5Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M5.5 21.5L14.3453 13.5393C15.0247 12.9278 16.0321 12.8547 16.7926 13.3617L21.5 16.5`,stroke:`currentColor`,strokeWidth:`1.5`,key:`2`}]],c=[[`path`,{d:`M20.5 20V4C20.5 2.89543 19.6046 2 18.5 2H5.50016C4.39559 2 3.50017 2.89542 3.50016 3.99998L3.50002 20C3.50001 21.1046 4.39544 22 5.50002 22H18.5C19.6046 22 20.5 21.1046 20.5 20Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 7H16M8 12H16M8 17L12 17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],l=[[`path`,{d:`M4 12.9978L4.01994 3.99557C4.02238 2.89186 4.91845 1.99877 6.02216 2L12.9958 2.00776L20 8.99481L19.9922 12.9978M13 2.49778V6.99778C13 8.10235 13.8954 8.99778 15 8.99778H19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19.5 16.75C19.9142 16.75 20.25 16.4142 20.25 16C20.25 15.5858 19.9142 15.25 19.5 15.25V16.75ZM16 16V15.25C15.5858 15.25 15.25 15.5858 15.25 16H16ZM15.25 22C15.25 22.4142 15.5858 22.7
15 16 22.75C16.4142 22.75 16.75 22.4142 16.75 22H15.25ZM19 19.75C19.4142 19.75 19.75 19.4142 19.75 19C19.75 18.5858 19.4142 18.25 19 18.25V19.75ZM4 16V15.25C3.58579 15.25 3.25 15.5858 3.25 16H4ZM3.25 22C3.25 22.4142 3.58579 22.75 4 22.75C4.41421 22.75 4.75 22.4142 4.75 22H3.25ZM10 16V15.25C9.58579 15.25 9.25 15.5858 9.25 16H10ZM10 22H9.25C9.25 22.4142 9.58579 22.75 10 22.75V22ZM19.5 15.25H16V16.75H19.5V15.25ZM15.25 16V19H16.75V16H15.25ZM15.25 19V22H16.75V19H15.25ZM16 19.75H19V18.25H16V19.75ZM4 16.75H5.75V15.25H4V16.75ZM4.75 22V19.5H3.25V22H4.75ZM4.75 19.5V16H3.25V19.5H4.75ZM5.75 18.75H4V20.25H5.75V18.75ZM6.75 17.75C6.75 18.3023 6.30228 18.75 5.75 18.75V20.25C7.13071 20.25 8.25 19.1307 8.25 17.75H6.75ZM5.75 16.75C6.30228 16.75 6.75 17.1977 6.75 17.75H8.25C8.25 16.3693 7.13071 15.25 5.75 15.25V16.75ZM10 16.75H11.5V15.25H10V16.75ZM12.75 18V20H14.25V18H12.75ZM11.5 21.25H10V22.75H11.5V21.25ZM10.75 22V16H9.25V22H10.75ZM12.75 20C12.75 20.6904 12.1904 21.25 11.5 21.25V22.75C13.0188 22.75 14.25 21.5188 14.25 20H12.75ZM11.5 16.75C12.1904 16.75 12.75 17.3096 12.75 18H14.25C14.25 16.4812 13.0188 15.25 11.5 15.25V16.75Z`,fill:`currentColor`,key:`1`}]],u=[[`path`,{d:`M3.99988 12.9978L4.01982 3.99557C4.02226 2.89186 4.91833 1.99877 6.02204 2L12.9957 2.00776L19.9999 8.99481L19.9921 12.9978M12.9999 2.49778V6.99778C12.9999 8.10235 13.8953 8.99778 14.9999 8.99778H19.4999`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9.99988 16L11.9999 19M11.9999 19L13.9999 22M11.9999 19L13.9999 16M11.9999 19L9.99988 22M16.4998 16H18.2498M18.2498 16H19.9998M18.2498 16V22M3.99988 16H5.74984M5.74984 16H7.49981M5.74984 16V22`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],d=[[`path`,{d:`M18 17.5V6.5C18 5.39543 17.1046 4.5 16 4.5H4C2.89543 4.5 2 5.39543 2 6.5V17.5C2 18.6046 2.89543 19.5 4 19.5H16C17.1046 19.5 18 18.6046 18 17.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M15 9C15 9.82843 14.3284 10.5 13.5 10.5C12.6716 10.5 12 9.82843 12 9C12 8.17157 12.6716 7.5 13.5 7.5C14.3284 7.5 15 8.17157 15 9Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M18 15L22 17.5V6.5L18 9`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],f={image:s,video:d,pdf:l,table:t,markdown:r,json:i,code:i,docx:n,text:u,none:r};function p(t){return f[e(t)]}function m(e,t){switch(e.document_type){case`folder`:return t?.open?o:a;case`file`:return p({filename:e.title});default:return c}}var h=`Untitled`;function g(e){return e===``?h:e}function _(e,t){if(!e)return!1;if(e.pad_type===`personal`)return e.membership!=null;if(t)return!0;let n=e.membership?.pad_role;return n===`admin`||n===`editor`}function v(e,t){return!e||e.archived_at!==null?!1:e.membership==null?e.pad_type===`shared`&&t:!0}function y(e,t,n,r){return e.state===`archived`?!1:_(t,n)?!0:e.state===`draft`&&r!==void 0&&e.created_by_user_id===r&&v(t,n)}function b(e,t,n,r){return y(e,t,n,r)}function x(e,t,n,r){return _(t,n)?!0:r!==void 0&&e.created_by_user_id===r&&v(t,n)}function S(e,t,n,r){return e.state===`draft`&&r!==void 0&&e.created_by_user_id===r&&!_(t,n)}function C(e){switch(e){case`folder`:return`Folder`;case`file`:return`File`;default:return`Page`}}export{C as a,m as c,c as d,o as f,x as i,p as l,r as m,v as n,S as o,a as p,y as r,g as s,b as t,d as u};
2//# chunkId=af2db600-7877-5f3e-949d-221fba1b8073

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.