PageSourceSearch

https://join.meghan-weir.com/landing/assets/v3/index-a7b0ff35.js

js meghan-weir.com collected 2026-10-05 19:23:51 UTC 2,927 bytes, 11 lines download raw bytes

1import{j as c}from"./pablo-ui-31e49a41.js";import{u as v,b as k,g as f,P as p,S as g}from"./index-600d55e8.js";import{r as S}from"./react-core-fc5d60b8.js";import{u as N}from"./apollo-core-ebb9a6d1.js";import"./carousel-1e7d2809.js";import"./icons-4c26fa71.js";import"./bugsnag-1da23246.js";import"./aws-core-5b4f1710.js";import"./stripe-js-cf694e32.js";var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"vendorUuid"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"returnUrl"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getStripeBillingPortalSession"},arguments:[{kind:"Argument",name:{kind:"Name",value:"vendorUuid"},value:{kind:"Variable",name:{kind:"Name",value:"vendorUuid"}}},{kind:"Argument",name:{kind:"Name",value:"returnUrl"},value:{kind:"Variable",name:{kind:"Name",value:"returnUrl"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"created"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"returnUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:223}};t.loc.source={body:`query ($vendorUuid: ID!, $returnUrl: String) {
2    getStripeBillingPortalSession(vendorUuid: $vendorUuid, returnUrl: $returnUrl) {
3        data {
4            created
5            returnUrl
6            url
7        }
8    }
9}
10
11`,name:"GraphQL request",locationOffset:{line:1,column:1}};function r(e,n){if(e.kind==="FragmentSpread")n.add(e.name.value);else if(e.kind==="VariableDefinition"){var i=e.type;i.kind==="NamedType"&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(a){r(a,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(a){r(a,n)}),e.definitions&&e.definitions.forEach(function(a){r(a,n)})}var U={};(function(){t.definitions.forEach(function(n){if(n.name){var i=new Set;r(n,i),U[n.name.value]=i}})})();const B=()=>{var l,o;const{vendorUuid:e}=v(),[n]=k("returnUrl",g),{data:i,loading:a}=N(t,{variables:{vendorUuid:e,returnUrl:n||`https://${(o=(l=f())==null?void 0:l.domainName)==null?void 0:o.replace("checkout.","app.")}`}});return S.useEffect(()=>{var d,u,s,m;!a&&((u=(d=i==null?void 0:i.getStripeBillingPortalSession)==null?void 0:d.data)!=null&&u.url)&&window.open((m=(s=i==null?void 0:i.getStripeBillingPortalSession)==null?void 0:s.data)==null?void 0:m.url,"_self")},[i,a]),c.jsx(p,{isLoading:a})};export{B 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.