PageSourceSearch

https://static.vecteezy.com/vite/assets/page-load-purchase-modals-controller-_lxtdS1B-2.js

js vecteezy.com collected 2026-10-01 06:56:31 UTC 1,098 bytes, 1 lines download raw bytes

1import{r}from"./stimulus-DBvRIZLb-2.js";import{n as i}from"./stimulus-helpers-De2POZIB-2.js";import{t as a}from"./init-user-DNgjjOyZ-2.js";import{c as e}from"./ajax-helpers-DkxlkZNO-2.js";var s=class extends r{connect(){this.showDunningPayment(),this.showLoginModalBeforePurchaseModal("upgrade_modal"),this.showLoginModalBeforePurchaseModal("rebuy_credits"),this.showLoginModalBeforePurchaseModal("reactivation_modal")}showDunningPayment(){const n=window.location.search.slice(1);if(window.location.pathname!=="/"||!n)return;const o=new URLSearchParams(n);o.has("dunning_update_payment")&&o.get("dunning_update_payment")==="true"&&(a.signedIn?(e("/account/billing/info-modal?origin=Trigger-Dunning_Email"),window.history.pushState(window.history.state,"","/")):e("/users/sign_in?dunning_update_payment=true&origin=Trigger-Dunning_Email"))}showLoginModalBeforePurchaseModal(n){const o=window.location.search.slice(1);window.location.pathname!=="/"||!o||new URLSearchParams(o).has(n)&&(a.signedIn||e(`/users/sign_in?${n}=true`))}};i({name:"page-load-purchase-modals",import:s});export{s as default};

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.