From fd52bc2e1cd998092d388d2945bc35eadb21f16a Mon Sep 17 00:00:00 2001 From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 00:05:46 +0000 Subject: [PATCH] Update from Shopify for theme FA24 Drop 2 Launch Committed from shop: Misha & Puff --- snippets/locksmith-variables.liquid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/locksmith-variables.liquid b/snippets/locksmith-variables.liquid index b751a5d0f61..2ebce3ca4a2 100644 --- a/snippets/locksmith-variables.liquid +++ b/snippets/locksmith-variables.liquid @@ -4,7 +4,7 @@ Do not modify this file. Any changes will be reset the next time that Locksmith interacts with this theme. - Last updated: Thu, 19 Sep 2024 20:05:35 -0400 (EDT) + Last updated: Fri, 20 Sep 2024 20:05:34 -0400 (EDT) {% endcomment -%} -{%assign _c=false%}{%assign _g=true%}{%assign _1g='product_in_collection'%}{%assign _0w='product'%}{%assign _08='collection'%}{%assign _1k=",602218,"%}{%assign _24=",610246,"%}{%assign _28=",611620,"%}{%capture _%}{%assign _1c=_c%}{%assign _8=nil%}{%assign _40=scope%}{%assign _o=nil%}{%assign _2w=_c%}{%assign _18=_g%}{%assign _30=_c%}{%assign _4g=_c%}{%assign _1o=_c%}{%assign _2s=_c%}{%assign _2o=_c%}{%assign _0c='resource'%}{%assign _s=''%}{%assign _k=''%}{%assign _00=''%}{%assign _2k=_c%}{%assign _10=_c%}{%assign _2g=''|split:''%}{%assign _3w=nil%}{%assign _2c=_c%}{%assign _3o=nil%}{%assign _44=_c%}{%assign _48=nil%}{%assign _4w=_c%}{%assign _5g=(0..2)%}{%assign _5c=nil%}{%assign _2g=""|split:""%}{%assign _1c=_g%}{%assign _4s="now"|date:"%s"|plus:0%}{%for _4o in _2g%}{%assign _1s=_4o|split:"-"%}{%assign _58=_1s[0]%}{%assign _4k=_1s[1]|plus:0%}{%unless _1s[1]%}{%assign skip_timestamp_check=_g%}{%endunless%}{%if skip_timestamp_check or _4s < _4k%}{%endif%}{%endfor%}{%if original_template%}{%assign _14=template%}{%assign template=original_template%}{%elsif locksmith_original_template%}{%assign _14=template%}{%assign template=locksmith_original_template%}{%else%}{%assign _14=nil%}{%endif%}{%assign _04=template%}{%assign _0k=_04|split:'.'|first%}{%if scope and scope != _1g%}{%assign _8=scope%}{%elsif locksmith_scope and locksmith_scope != _1g%}{%assign _8=locksmith_scope%}{%else%}{%assign _8=_04|split:'/'|first|split:'.'|first%}{%endif%}{%if hiding_scope%}{%assign _0c=hiding_scope%}{%elsif locksmith_hiding_scope%}{%assign _0c=locksmith_hiding_scope%}{%endif%}{%if _8 == blank%}{%assign _8='app'%}{%endif%}{%if _8 == "app" and content_for_layout contains "spof-container"%}{%assign app="single-page-order-form"%}{%endif%}{%if _8 == "app" and content_for_layout contains "sc-shopify-qs-main-container"%}{%assign app="one-page-quick-shop"%}{%endif%}{%if _8 == "app" and content_for_layout contains "get_surrounding_stores.php"%}{%assign app="store-locator"%}{%endif%}{%if _8 == 'subject'%}{%if subject%}{%assign _4=subject%}{%else%}{%assign _4=locksmith_subject%}{%endif%}{%if subject_parent%}{%assign _w=subject_parent%}{%else%}{%assign _w=locksmith_subject_parent%}{%endif%}{%if _4.price and _4.variants%}{%assign product=_4%}{%assign _8=_0w%}{%elsif _4.position and _4.product_id and _4.src and _4.position != 1%}{%assign variant=_4.variants.first%}{%assign _8='variant'%}{%if _4.product_id == _w.id%}{%assign product=_w%}{%else%}{%assign product=nil%}{%endif%}{%elsif _4.inventory_policy%}{%assign variant=_4%}{%assign _8='variant'%}{%if _w.variants contains variant%}{%assign product=_w%}{%else%}{%assign _4c=variant.url|split:'?variant='|first|split:'/'|last%}{%assign product=all_products[_4c]%}{%endif%}{%elsif _w.name and _w.position and _w.values contains _4%}{%assign variant=nil%}{%assign variant_option_name=_w.name%}{%assign variant_option_value=_4%}{%assign _8='variant'%}{%assign _50=_w.name%}{%assign _54=_4%}{%elsif _4.all_types and _4.products%}{%assign collection=_4%}{%assign _8=_08%}{%elsif _4.handle and _4.articles%}{%assign blog=_4%}{%assign _8='blog'%}{%elsif _4.content and _4.excerpt and _4.comments%}{%assign article=_4%}{%assign _8='article'%}{%elsif _4.handle and _4.url contains '/pages/' and _4.current == nil%}{%assign page=_4%}{%assign _8='page'%}{%elsif _4.total_price and _4.total_weight%}{%assign cart=_4%}{%assign _8='cart'%}{%elsif _4.type and _4.url%}{%assign _0c='link_to_resource'%}{%if _4.type == 'collection_link'%}{%assign collection=_4.object%}{%assign _8=_08%}{%elsif _4.type == 'product_link'%}{%assign product=_4.object%}{%assign _8=_0w%}{%elsif _4.type == 'page_link'%}{%assign page=_4.object%}{%assign _8='page'%}{%elsif _4.type == 'blog_link'%}{%assign blog=_4.object%}{%assign _8='blog'%}{%elsif _4.url == '/collections/all'%}{%assign collection=collections.all%}{%assign _8=_08%}{%else%}{%assign _0c='resource'%}{%assign link=_4%}{%assign _8='link'%}{%endif%}{%elsif _4.links and _4.title%}{%assign linklist=_4%}{%assign _8='linklist'%}{%elsif shop.vendors contains _4%}{%assign _8='vendor'%}{%assign vendor=_4%}{%endif%}{%endif%}{%if _8 == 'variant'%}{%assign _4w=_g%}{%endif%}{%if collection and _8 == _0w%}{%assign locksmith_scope=_1g%}{%assign scope=_1g%}{%else%}{%assign locksmith_scope=_8%}{%assign scope=_8%}{%endif%}{%if _8 == "article" and article.tags contains "block-unlogged"%}{%assign _s=_s|append:",602218,"%}{%unless _k contains _1k%}{%assign _3g=_c%}{%if customer%}{%assign _3g=_g%}{%endif%}{%if _3g%}{%assign _k=_k|append:",602218,"%}{%assign _00=_00|append:",836577,"%}{%endif%}{%unless _k contains _1k%}{%assign _10=_g%}{%endunless%}{%endunless%}{%endif%}{%if _8 == _0w%}{%if collection%}{%assign _0g=_g%}{%assign _1w=collection%}{%endif%}{%assign _0o=_g%}{%assign _20=_8%}{%for _0s in product.collections%}{%if _0s.id == 282388365363%}{%assign collection=_0s%}{%assign _8=_08%}{%endif%}{%endfor%}{%endif%}{%if _8 == _08 and collection.id == 282388365363%}{%assign _s=_s|append:",610246,"%}{%unless _k contains _24%}{%assign _3c=_c%}{%if customer%}{%assign _3c=_g%}{%endif%}{%if _3c%}{%assign _k=_k|append:",610246,"%}{%assign _00=_00|append:",845855,"%}{%endif%}{%unless _k contains _24%}{%assign _10=_g%}{%endunless%}{%endunless%}{%endif%}{%if _0g%}{%assign collection=_1w%}{%assign _0g=_c%}{%endif%}{%if _0o%}{%assign _8=_20%}{%assign _0o=_c%}{%endif%}{%if _8 == _0w%}{%if collection%}{%assign _0g=_g%}{%assign _1w=collection%}{%endif%}{%assign _0o=_g%}{%assign _20=_8%}{%for _0s in product.collections%}{%if _0s.id == 282531430451%}{%assign collection=_0s%}{%assign _8=_08%}{%endif%}{%endfor%}{%endif%}{%if _8 == _08 and collection.id == 282531430451%}{%assign _s=_s|append:",611620,"%}{%unless _k contains _28%}{%assign _38=_c%}{%if customer%}{%assign _38=_g%}{%endif%}{%if _38%}{%assign _k=_k|append:",611620,"%}{%assign _00=_00|append:",847415,"%}{%endif%}{%unless _k contains _28%}{%assign _10=_g%}{%endunless%}{%endunless%}{%endif%}{%if _0g%}{%assign collection=_1w%}{%assign _0g=_c%}{%endif%}{%if _0o%}{%assign _8=_20%}{%assign _0o=_c%}{%endif%}{%assign _s=_s|remove_first:","|replace:",,", ","|split:","%}{%assign _k=_k|remove_first:","|replace:",,", ","|split:","%}{%assign _00=_00|remove_first:","|replace:",,", ","|split:","%}{%assign _3s="602218,610246,611620"|split:","%}{%for _34 in _3s%}{%if _s contains _34%}{%unless _k contains _34%}{%assign _2c=_g%}{%endunless%}{%endif%}{%endfor%}{%if request.design_mode or request.host contains ".shopifypreview.com"%}{%unless __locksmith_disable_preview_mode_escape_hatch%}{%assign _2k=_g%}{%endunless%}{%endif%}{%if _2k%}{%assign _k=_s%}{%assign _1o=_c%}{%endif%}{%if _1o == _c%}{%assign _1c=_g%}{%endif%}{%assign locksmith_lock_ids=_s%}{%assign locksmith_opened_lock_ids=_k%}{%assign locksmith_key_ids=_00%}{%if locksmith_lock_ids.size > 0%}{%assign _2w=_g%}{%unless locksmith_opened_lock_ids == locksmith_lock_ids%}{%assign _18=_c%}{%assign _30=_g%}{%endunless%}{%endif%}{%assign _3o=request.locale.root_url%}{%if _18%}{%assign _10=_c%}{%endif%}{%assign locksmith_initialized=_1c%}{%assign locksmith_locked=_2w%}{%unless locksmith_scope%}{%assign locksmith_scope=_8%}{%endunless%}{%assign locksmith_access_granted=_18%}{%assign locksmith_access_denied=_30%}{%assign locksmith_manual_lock=_4g%}{%assign locksmith_remote_lock=_1o%}{%assign locksmith_hide_resource=_2s%}{%assign locksmith_hide_links_to_resource=_2o%}{%assign locksmith_requires_customer=_10%}{%assign locksmith_redirect=_3w%}{%assign locksmith_noindex=_2c%}{%assign locksmith_locale_root_url=_3o%}{%assign locksmith_has_timeout=_44%}{%assign locksmith_section_replacement_content=_48%}{%assign locksmith_transparent=_c%}{%if _18%}{%assign locksmith_transparent=_g%}{%elsif _0c == 'resource' and _2s == _c%}{%assign locksmith_transparent=_g%}{%elsif _0c == 'link_to_resource' and _2o == _c%}{%assign locksmith_transparent=_g%}{%endif%}{%if _0k == _0w%}{%capture _o%}{%if collection%}/collections/{{collection.handle}}{%endif%}/products/{{product.handle}}{%endcapture%}{%elsif _0k == _08%}{%capture _o%}/collections/{{collection.handle}}{%endcapture%}{%elsif _0k == 'page'%}{%assign _o=page.url%}{%elsif _0k == 'blog'%}{%assign _o=blog.url%}{%elsif _0k == 'article'%}{%assign _o=article.url%}{%elsif _04 == 'customers/login'%}{%assign _o='/account/login'%}{%elsif _04 == 'customers/register'%}{%assign _o='/account/register'%}{%elsif _04 == 'index'%}{%assign _o='/'%}{%elsif _04 == 'list-collections'%}{%assign _o='/collections'%}{%elsif _04 == 'cart'%}{%assign _o='/cart'%}{%elsif _04 contains 'search'%}{%assign _o='/search'%}{%endif%}{%assign locksmith_path=_o%}{%assign locksmith_current_path=_o%}{%assign locksmith_version="v146"%}{%capture locksmith_json%}{%endcapture%}{%assign locksmith_json_signature=locksmith_json|hmac_sha256: shop.metafields.locksmith.client_key%}{%if _14%}{%assign template=_14%}{%endif%}{%assign scope=_40%}{%endcapture%}{%if variable != blank%}{%capture value%}{%case variable%}{%when "locked"%}{{locksmith_locked|json}}{%when "initialized"%}{{locksmith_initialized|json}}{%when "scope"%}{{locksmith_scope|json}}{%when "access_granted"%}{{locksmith_access_granted|json}}{%when "access_denied"%}{{locksmith_access_denied|json}}{%when "requires_customer"%}{{locksmith_requires_customer|json}}{%when "manual_lock"%}{{locksmith_manual_lock|json}}{%when "remote_lock"%}{{locksmith_remote_lock|json}}{%when "remote_rendered"%}{{locksmith_remote_rendered|json}}{%when "hide_resource"%}{{locksmith_hide_resource|json}}{%when "hide_links_to_resource"%}{{locksmith_hide_links_to_resource|json}}{%when "transparent"%}{{locksmith_transparent|json}}{%when "lock_ids"%}{{locksmith_lock_ids|join:","|json}}{%when "opened_lock_ids"%}{{locksmith_opened_lock_ids|join:","|json}}{%when "key_ids"%}{{locksmith_key_ids|join:","|json}}{%when "json_tag"%}{{locksmith_json}}{%when "section_replacement"%}{{locksmith_section_replacement_content}}{%endcase%}{%endcapture%}{{value|strip}}{%endif%} \ No newline at end of file +{%assign _c=false%}{%assign _g=true%}{%assign _1g='product_in_collection'%}{%assign _0w='product'%}{%assign _08='collection'%}{%assign _1k=",602218,"%}{%assign _24=",610246,"%}{%assign _28=",611620,"%}{%capture _%}{%assign _1c=_c%}{%assign _8=nil%}{%assign _40=scope%}{%assign _o=nil%}{%assign _2w=_c%}{%assign _18=_g%}{%assign _30=_c%}{%assign _4g=_c%}{%assign _1o=_c%}{%assign _2s=_c%}{%assign _2o=_c%}{%assign _0c='resource'%}{%assign _s=''%}{%assign _k=''%}{%assign _00=''%}{%assign _2k=_c%}{%assign _10=_c%}{%assign _2g=''|split:''%}{%assign _3w=nil%}{%assign _2c=_c%}{%assign _3o=nil%}{%assign _44=_c%}{%assign _48=nil%}{%assign _4w=_c%}{%assign _5g=(0..2)%}{%assign _5c=nil%}{%assign _2g=""|split:""%}{%assign _1c=_g%}{%assign _4s="now"|date:"%s"|plus:0%}{%for _4o in _2g%}{%assign _1s=_4o|split:"-"%}{%assign _58=_1s[0]%}{%assign _4k=_1s[1]|plus:0%}{%unless _1s[1]%}{%assign skip_timestamp_check=_g%}{%endunless%}{%if skip_timestamp_check or _4s < _4k%}{%endif%}{%endfor%}{%if original_template%}{%assign _14=template%}{%assign template=original_template%}{%elsif locksmith_original_template%}{%assign _14=template%}{%assign template=locksmith_original_template%}{%else%}{%assign _14=nil%}{%endif%}{%assign _04=template%}{%assign _0k=_04|split:'.'|first%}{%if scope and scope != _1g%}{%assign _8=scope%}{%elsif locksmith_scope and locksmith_scope != _1g%}{%assign _8=locksmith_scope%}{%else%}{%assign _8=_04|split:'/'|first|split:'.'|first%}{%endif%}{%if hiding_scope%}{%assign _0c=hiding_scope%}{%elsif locksmith_hiding_scope%}{%assign _0c=locksmith_hiding_scope%}{%endif%}{%if _8 == blank%}{%assign _8='app'%}{%endif%}{%if _8 == "app" and content_for_layout contains "spof-container"%}{%assign app="single-page-order-form"%}{%endif%}{%if _8 == "app" and content_for_layout contains "sc-shopify-qs-main-container"%}{%assign app="one-page-quick-shop"%}{%endif%}{%if _8 == "app" and content_for_layout contains "get_surrounding_stores.php"%}{%assign app="store-locator"%}{%endif%}{%if _8 == 'subject'%}{%if subject%}{%assign _4=subject%}{%else%}{%assign _4=locksmith_subject%}{%endif%}{%if subject_parent%}{%assign _w=subject_parent%}{%else%}{%assign _w=locksmith_subject_parent%}{%endif%}{%if _4.price and _4.variants%}{%assign product=_4%}{%assign _8=_0w%}{%elsif _4.position and _4.product_id and _4.src and _4.position != 1%}{%assign variant=_4.variants.first%}{%assign _8='variant'%}{%if _4.product_id == _w.id%}{%assign product=_w%}{%else%}{%assign product=nil%}{%endif%}{%elsif _4.inventory_policy%}{%assign variant=_4%}{%assign _8='variant'%}{%if _w.variants contains variant%}{%assign product=_w%}{%else%}{%assign _4c=variant.url|split:'?variant='|first|split:'/'|last%}{%assign product=all_products[_4c]%}{%endif%}{%elsif _w.name and _w.position and _w.values contains _4%}{%assign variant=nil%}{%assign variant_option_name=_w.name%}{%assign variant_option_value=_4%}{%assign _8='variant'%}{%assign _50=_w.name%}{%assign _54=_4%}{%elsif _4.all_types and _4.products%}{%assign collection=_4%}{%assign _8=_08%}{%elsif _4.handle and _4.articles%}{%assign blog=_4%}{%assign _8='blog'%}{%elsif _4.content and _4.excerpt and _4.comments%}{%assign article=_4%}{%assign _8='article'%}{%elsif _4.handle and _4.url contains '/pages/' and _4.current == nil%}{%assign page=_4%}{%assign _8='page'%}{%elsif _4.total_price and _4.total_weight%}{%assign cart=_4%}{%assign _8='cart'%}{%elsif _4.type and _4.url%}{%assign _0c='link_to_resource'%}{%if _4.type == 'collection_link'%}{%assign collection=_4.object%}{%assign _8=_08%}{%elsif _4.type == 'product_link'%}{%assign product=_4.object%}{%assign _8=_0w%}{%elsif _4.type == 'page_link'%}{%assign page=_4.object%}{%assign _8='page'%}{%elsif _4.type == 'blog_link'%}{%assign blog=_4.object%}{%assign _8='blog'%}{%elsif _4.url == '/collections/all'%}{%assign collection=collections.all%}{%assign _8=_08%}{%else%}{%assign _0c='resource'%}{%assign link=_4%}{%assign _8='link'%}{%endif%}{%elsif _4.links and _4.title%}{%assign linklist=_4%}{%assign _8='linklist'%}{%elsif shop.vendors contains _4%}{%assign _8='vendor'%}{%assign vendor=_4%}{%endif%}{%endif%}{%if _8 == 'variant'%}{%assign _4w=_g%}{%endif%}{%if collection and _8 == _0w%}{%assign locksmith_scope=_1g%}{%assign scope=_1g%}{%else%}{%assign locksmith_scope=_8%}{%assign scope=_8%}{%endif%}{%if _8 == "article" and article.tags contains "block-unlogged"%}{%assign _s=_s|append:",602218,"%}{%unless _k contains _1k%}{%assign _3g=_c%}{%if customer%}{%assign _3g=_g%}{%endif%}{%if _3g%}{%assign _k=_k|append:",602218,"%}{%assign _00=_00|append:",836577,"%}{%endif%}{%unless _k contains _1k%}{%assign _10=_g%}{%endunless%}{%endunless%}{%endif%}{%if _8 == _0w%}{%if collection%}{%assign _0g=_g%}{%assign _1w=collection%}{%endif%}{%assign _0o=_g%}{%assign _20=_8%}{%for _0s in product.collections%}{%if _0s.id == 282388365363%}{%assign collection=_0s%}{%assign _8=_08%}{%endif%}{%endfor%}{%endif%}{%if _8 == _08 and collection.id == 282388365363%}{%assign _s=_s|append:",610246,"%}{%unless _k contains _24%}{%assign _3c=_c%}{%if customer%}{%assign _3c=_g%}{%endif%}{%if _3c%}{%assign _k=_k|append:",610246,"%}{%assign _00=_00|append:",845855,"%}{%endif%}{%unless _k contains _24%}{%assign _10=_g%}{%endunless%}{%endunless%}{%endif%}{%if _0g%}{%assign collection=_1w%}{%assign _0g=_c%}{%endif%}{%if _0o%}{%assign _8=_20%}{%assign _0o=_c%}{%endif%}{%if _8 == _0w%}{%if collection%}{%assign _0g=_g%}{%assign _1w=collection%}{%endif%}{%assign _0o=_g%}{%assign _20=_8%}{%for _0s in product.collections%}{%if _0s.id == 282531430451%}{%assign collection=_0s%}{%assign _8=_08%}{%endif%}{%endfor%}{%endif%}{%if _8 == _08 and collection.id == 282531430451%}{%assign _s=_s|append:",611620,"%}{%unless _k contains _28%}{%assign _38=_c%}{%if customer%}{%assign _38=_g%}{%endif%}{%if _38%}{%assign _k=_k|append:",611620,"%}{%assign _00=_00|append:",847415,"%}{%endif%}{%unless _k contains _28%}{%assign _10=_g%}{%endunless%}{%endunless%}{%endif%}{%if _0g%}{%assign collection=_1w%}{%assign _0g=_c%}{%endif%}{%if _0o%}{%assign _8=_20%}{%assign _0o=_c%}{%endif%}{%assign _s=_s|remove_first:","|replace:",,", ","|split:","%}{%assign _k=_k|remove_first:","|replace:",,", ","|split:","%}{%assign _00=_00|remove_first:","|replace:",,", ","|split:","%}{%assign _3s="602218,610246,611620"|split:","%}{%for _34 in _3s%}{%if _s contains _34%}{%unless _k contains _34%}{%assign _2c=_g%}{%endunless%}{%endif%}{%endfor%}{%if request.design_mode or request.host contains ".shopifypreview.com"%}{%unless __locksmith_disable_preview_mode_escape_hatch%}{%assign _2k=_g%}{%endunless%}{%endif%}{%if _2k%}{%assign _k=_s%}{%assign _1o=_c%}{%endif%}{%if _1o == _c%}{%assign _1c=_g%}{%endif%}{%assign locksmith_lock_ids=_s%}{%assign locksmith_opened_lock_ids=_k%}{%assign locksmith_key_ids=_00%}{%if locksmith_lock_ids.size > 0%}{%assign _2w=_g%}{%unless locksmith_opened_lock_ids == locksmith_lock_ids%}{%assign _18=_c%}{%assign _30=_g%}{%endunless%}{%endif%}{%assign _3o=request.locale.root_url%}{%if _18%}{%assign _10=_c%}{%endif%}{%assign locksmith_initialized=_1c%}{%assign locksmith_locked=_2w%}{%unless locksmith_scope%}{%assign locksmith_scope=_8%}{%endunless%}{%assign locksmith_access_granted=_18%}{%assign locksmith_access_denied=_30%}{%assign locksmith_manual_lock=_4g%}{%assign locksmith_remote_lock=_1o%}{%assign locksmith_hide_resource=_2s%}{%assign locksmith_hide_links_to_resource=_2o%}{%assign locksmith_requires_customer=_10%}{%assign locksmith_redirect=_3w%}{%assign locksmith_noindex=_2c%}{%assign locksmith_locale_root_url=_3o%}{%assign locksmith_has_timeout=_44%}{%assign locksmith_section_replacement_content=_48%}{%assign locksmith_transparent=_c%}{%if _18%}{%assign locksmith_transparent=_g%}{%elsif _0c == 'resource' and _2s == _c%}{%assign locksmith_transparent=_g%}{%elsif _0c == 'link_to_resource' and _2o == _c%}{%assign locksmith_transparent=_g%}{%endif%}{%if _0k == _0w%}{%capture _o%}{%if collection%}/collections/{{collection.handle}}{%endif%}/products/{{product.handle}}{%endcapture%}{%elsif _0k == _08%}{%capture _o%}/collections/{{collection.handle}}{%endcapture%}{%elsif _0k == 'page'%}{%assign _o=page.url%}{%elsif _0k == 'blog'%}{%assign _o=blog.url%}{%elsif _0k == 'article'%}{%assign _o=article.url%}{%elsif _04 == 'customers/login'%}{%assign _o='/account/login'%}{%elsif _04 == 'customers/register'%}{%assign _o='/account/register'%}{%elsif _04 == 'index'%}{%assign _o='/'%}{%elsif _04 == 'list-collections'%}{%assign _o='/collections'%}{%elsif _04 == 'cart'%}{%assign _o='/cart'%}{%elsif _04 contains 'search'%}{%assign _o='/search'%}{%endif%}{%assign locksmith_path=_o%}{%assign locksmith_current_path=_o%}{%assign locksmith_version="v147"%}{%capture locksmith_json%}{%endcapture%}{%assign locksmith_json_signature=locksmith_json|hmac_sha256: shop.metafields.locksmith.client_key%}{%if _14%}{%assign template=_14%}{%endif%}{%assign scope=_40%}{%endcapture%}{%if variable != blank%}{%capture value%}{%case variable%}{%when "locked"%}{{locksmith_locked|json}}{%when "initialized"%}{{locksmith_initialized|json}}{%when "scope"%}{{locksmith_scope|json}}{%when "access_granted"%}{{locksmith_access_granted|json}}{%when "access_denied"%}{{locksmith_access_denied|json}}{%when "requires_customer"%}{{locksmith_requires_customer|json}}{%when "manual_lock"%}{{locksmith_manual_lock|json}}{%when "remote_lock"%}{{locksmith_remote_lock|json}}{%when "remote_rendered"%}{{locksmith_remote_rendered|json}}{%when "hide_resource"%}{{locksmith_hide_resource|json}}{%when "hide_links_to_resource"%}{{locksmith_hide_links_to_resource|json}}{%when "transparent"%}{{locksmith_transparent|json}}{%when "lock_ids"%}{{locksmith_lock_ids|join:","|json}}{%when "opened_lock_ids"%}{{locksmith_opened_lock_ids|join:","|json}}{%when "key_ids"%}{{locksmith_key_ids|join:","|json}}{%when "json_tag"%}{{locksmith_json}}{%when "section_replacement"%}{{locksmith_section_replacement_content}}{%endcase%}{%endcapture%}{{value|strip}}{%endif%} \ No newline at end of file