var/cache/dev/twig/8e/8ecc323fc8a2444a12a5533e5f8b4ee8.php line 421

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* default_frame.twig */
  14. class __TwigTemplate_09f3509ae349b26f87a4f00e06389d09 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.             'javascript' => [$this'block_javascript'],
  27.         ];
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  36.         // line 1
  37.         echo "<!doctype html>
  38. ";
  39.         // line 12
  40.         echo "<html lang=\"";
  41.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'12$this->source); })()), "locale", [], "any"falsefalsefalse12), "html"nulltrue);
  42.         echo "\">
  43. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  44.     <meta charset=\"utf-8\">
  45.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  46.     <meta name=\"eccube-csrf-token\" content=\"";
  47.         // line 16
  48.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html"nulltrue);
  49.         echo "\">
  50.     <title>";
  51.         // line 17
  52.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'17$this->source); })()), "shop_name", [], "any"falsefalsefalse17), "html"nulltrue);
  53.         if ((array_key_exists("subtitle"$context) &&  !twig_test_empty((isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'17$this->source); })())))) {
  54.             echo " / ";
  55.             echo twig_escape_filter($this->env, (isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'17$this->source); })()), "html"nulltrue);
  56.         } elseif ((array_key_exists("title"$context) &&  !twig_test_empty((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'17$this->source); })())))) {
  57.             echo " / ";
  58.             echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'17$this->source); })()), "html"nulltrue);
  59.         }
  60.         echo "</title>
  61.     ";
  62.         // line 18
  63.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'18$this->source); })()), "meta_tags", [], "any"falsefalsefalse18))) {
  64.             // line 19
  65.             echo "        ";
  66.             echo twig_include($this->env$contexttwig_template_from_string($this->envtwig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'19$this->source); })()), "meta_tags", [], "any"falsefalsefalse19)));
  67.             echo "
  68.         ";
  69.             // line 20
  70.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'20$this->source); })()), "description", [], "any"falsefalsefalse20))) {
  71.                 // line 21
  72.                 echo "            <meta name=\"description\" content=\"";
  73.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'21$this->source); })()), "description", [], "any"falsefalsefalse21), "html"nulltrue);
  74.                 echo "\">
  75.         ";
  76.             }
  77.             // line 23
  78.             echo "    ";
  79.         } else {
  80.             // line 24
  81.             echo "        ";
  82.             echo twig_include($this->env$context"meta.twig");
  83.             echo "
  84.     ";
  85.         }
  86.         // line 26
  87.         echo "    ";
  88.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'26$this->source); })()), "author", [], "any"falsefalsefalse26))) {
  89.             // line 27
  90.             echo "        <meta name=\"author\" content=\"";
  91.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'27$this->source); })()), "author", [], "any"falsefalsefalse27), "html"nulltrue);
  92.             echo "\">
  93.     ";
  94.         }
  95.         // line 29
  96.         echo "    ";
  97.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'29$this->source); })()), "keyword", [], "any"falsefalsefalse29))) {
  98.             // line 30
  99.             echo "        <meta name=\"keywords\" content=\"";
  100.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'30$this->source); })()), "keyword", [], "any"falsefalsefalse30), "html"nulltrue);
  101.             echo "\">
  102.     ";
  103.         }
  104.         // line 32
  105.         echo "    ";
  106.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'32$this->source); })()), "meta_robots", [], "any"falsefalsefalse32))) {
  107.             // line 33
  108.             echo "        <meta name=\"robots\" content=\"";
  109.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'33$this->source); })()), "meta_robots", [], "any"falsefalsefalse33), "html"nulltrue);
  110.             echo "\">
  111.     ";
  112.         }
  113.         // line 35
  114.         echo "    <link rel=\"icon\" href=\"";
  115.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/favicon.ico""user_data"), "html"nulltrue);
  116.         echo "\">
  117.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  118.     <link rel=\"stylesheet\" href=\"";
  119.         // line 37
  120.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html"nulltrue);
  121.         echo "\">
  122.     <script src=\"";
  123.         // line 38
  124.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front.bundle.js""bundle"), "html"nulltrue);
  125.         echo "\"></script>
  126.     ";
  127.         // line 39
  128.         $this->displayBlock('stylesheet'$context$blocks);
  129.         // line 40
  130.         echo "    <script>
  131.         \$(function() {
  132.             \$.ajaxSetup({
  133.                 'headers': {
  134.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  135.                 }
  136.             });
  137.         });
  138.     </script>
  139.     ";
  140.         // line 50
  141.         echo "    ";
  142.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'50$this->source); })()), "Head", [], "any"falsefalsefalse50)) {
  143.             // line 51
  144.             echo "        ";
  145.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'51$this->source); })()), "Head", [], "any"falsefalsefalse51)]);
  146.             echo "
  147.     ";
  148.         }
  149.         // line 53
  150.         echo "    ";
  151.         // line 54
  152.         echo "    ";
  153.         if (array_key_exists("plugin_assets"$context)) {
  154.             echo twig_include($this->env$context"@admin/snippet.twig", ["snippets" => (isset($context["plugin_assets"]) || array_key_exists("plugin_assets"$context) ? $context["plugin_assets"] : (function () { throw new RuntimeError('Variable "plugin_assets" does not exist.'54$this->source); })())]);
  155.         }
  156.         // line 55
  157.         echo "    <link rel=\"stylesheet\" href=\"";
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/customize.css""user_data"), "html"nulltrue);
  159.         echo "\">
  160. ";
  161.         // line 57
  162.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'57$this->source); })()), "user", [], "any"falsefalsefalse57)) {
  163.             // line 58
  164.             echo "    <!--
  165.         EC-CUBEカスタマイズ
  166.     -->
  167.     <script type=\"text/javascript\">
  168.         // 値取得確認
  169.         console.log(window);
  170.         console.log('The user id is ' + '";
  171.             // line 64
  172.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'64$this->source); })()), "user", [], "any"falsefalsefalse64), "id", [], "any"falsefalsefalse64), "html"nulltrue);
  173.             echo "');
  174.         console.log('The user email is ' + '";
  175.             // line 65
  176.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'65$this->source); })()), "user", [], "any"falsefalsefalse65), "email", [], "any"falsefalsefalse65), "html"nulltrue);
  177.             echo "');
  178.         console.log('The user name is ' + '";
  179.             // line 66
  180.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'66$this->source); })()), "user", [], "any"falsefalsefalse66), "name01", [], "any"falsefalsefalse66), "html"nulltrue);
  181.             echo " ";
  182.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'66$this->source); })()), "user", [], "any"falsefalsefalse66), "name02", [], "any"falsefalsefalse66), "html"nulltrue);
  183.             echo "');
  184.         console.log('The user point is ' + '";
  185.             // line 67
  186.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'67$this->source); })()), "user", [], "any"falsefalsefalse67), "point", [], "any"falsefalsefalse67), "html"nulltrue);
  187.             echo "');
  188. ";
  189.         }
  190.         // line 69
  191.         echo "
  192.     </script>
  193.     <!--
  194.         DataCloud用タグ
  195.     -->
  196.     <script type=\"text/javascript\" src=\"https://cdn.c360a.salesforce.com/beacon/c360a/f36d614a-e1b5-4bfd-8585-97d816238409/scripts/c360a.min.js\">
  197.     console.log('DataCloud tag loaded');
  198.     </script>
  199.     <!--
  200.         //ここまで DataCloud用Beaconタグ
  201.     -->
  202.     <!--
  203.         //ここまで EC-CUBEカスタマイズ
  204.     -->
  205.     <!--
  206.         Personalization用Beaconタグ
  207.     <script type=\"text/javascript\" async src=\"//cdn.evgnet.com/beacon/directusinc/tokutakeaws/scripts/evergage.min.js\"></script>
  208.         //ここまで Personalization様Beconタグ
  209.     -->
  210.     <!--
  211.         Braze用WebSDKタグ
  212.     -->
  213.     
  214.     <!-- SDK読み込み(必須。ただし直接記述の方法)
  215.     <script type=\"text/javascript\">
  216.         +function(a,p,P,b,y){a.braze={};a.brazeQueue=[];for(var s=\"BrazeSdkMetadata DeviceProperties Card Card.prototype.dismissCard Card.prototype.removeAllSubscriptions Card.prototype.removeSubscription Card.prototype.subscribeToClickedEvent Card.prototype.subscribeToDismissedEvent Card.fromContentCardsJson Banner CaptionedImage ClassicCard ControlCard ContentCards ContentCards.prototype.getUnviewedCardCount Feed Feed.prototype.getUnreadCardCount ControlMessage InAppMessage InAppMessage.SlideFrom InAppMessage.ClickAction InAppMessage.DismissType InAppMessage.OpenTarget InAppMessage.ImageStyle InAppMessage.Orientation InAppMessage.TextAlignment InAppMessage.CropType InAppMessage.prototype.closeMessage InAppMessage.prototype.removeAllSubscriptions InAppMessage.prototype.removeSubscription InAppMessage.prototype.subscribeToClickedEvent InAppMessage.prototype.subscribeToDismissedEvent InAppMessage.fromJson FullScreenMessage ModalMessage HtmlMessage SlideUpMessage User User.Genders User.NotificationSubscriptionTypes User.prototype.addAlias User.prototype.addToCustomAttributeArray User.prototype.addToSubscriptionGroup User.prototype.getUserId User.prototype.incrementCustomUserAttribute User.prototype.removeFromCustomAttributeArray User.prototype.removeFromSubscriptionGroup User.prototype.setCountry User.prototype.setCustomLocationAttribute User.prototype.setCustomUserAttribute User.prototype.setDateOfBirth User.prototype.setEmail User.prototype.setEmailNotificationSubscriptionType User.prototype.setFirstName User.prototype.setGender User.prototype.setHomeCity User.prototype.setLanguage User.prototype.setLastKnownLocation User.prototype.setLastName User.prototype.setPhoneNumber User.prototype.setPushNotificationSubscriptionType InAppMessageButton InAppMessageButton.prototype.removeAllSubscriptions InAppMessageButton.prototype.removeSubscription InAppMessageButton.prototype.subscribeToClickedEvent automaticallyShowInAppMessages destroyFeed hideContentCards showContentCards showFeed showInAppMessage toggleContentCards toggleFeed changeUser destroy getDeviceId initialize isPushBlocked isPushPermissionGranted isPushSupported logCardClick logCardDismissal logCardImpressions logContentCardImpressions logContentCardsDisplayed logCustomEvent logFeedDisplayed logInAppMessageButtonClick logInAppMessageClick logInAppMessageHtmlClick logInAppMessageImpression logPurchase openSession requestPushPermission removeAllSubscriptions removeSubscription requestContentCardsRefresh requestFeedRefresh refreshFeatureFlags requestImmediateDataFlush enableSDK isDisabled setLogger setSdkAuthenticationSignature addSdkMetadata disableSDK subscribeToContentCardsUpdates subscribeToFeedUpdates subscribeToInAppMessage subscribeToSdkAuthenticationFailures toggleLogging unregisterPush wipeData handleBrazeAction subscribeToFeatureFlagsUpdates getAllFeatureFlags\".split(\" \"),i=0;i<s.length;i++){for(var m=s[i],k=a.braze,l=m.split(\".\"),j=0;j<l.length-1;j++)k=k[l[j]];k[l[j]]=(new Function(\"return function \"+m.replace(/\\./g,\"_\")+\"(){window.brazeQueue.push(arguments); return true}\"))()}window.braze.getCachedContentCards=function(){return new window.braze.ContentCards};window.braze.getCachedFeed=function(){return new window.braze.Feed};window.braze.getUser=function(){return new window.braze.User};window.braze.getFeatureFlag=function(){return new window.braze.FeatureFlag};(y=p.createElement(P)).type='text/javascript';
  217.           y.src='https://js.appboycdn.com/web-sdk/4.5/braze.min.js';
  218.           y.async=1;(b=p.getElementsByTagName(P)[0]).parentNode.insertBefore(y,b)
  219.         }(window,document,'script');
  220.         // initialize the SDK(初期設定)
  221.         braze.initialize('712642bd-8b92-4338-8417-373195f29d87', {
  222.             baseUrl: \"sdk.iad-05.braze.com\",
  223.             enableLogging: true
  224.         });
  225.         
  226.         // optionally show all in-app messages without custom handling
  227.         braze.automaticallyShowInAppMessages();
  228.         // if you use Content Cards
  229.         braze.subscribeToContentCardsUpdates(function(cards){
  230.             // cards have been updated
  231.         });
  232.         // optionally set the current user's External ID
  233.         //if (isLoggedIn){
  234.         //   braze.changeUser(userIdentifier);
  235.         //}
  236.         // Be sure to call `openSession` after `automaticallyShowInAppMessages`
  237.         braze.openSession();
  238.         // Troubleshooting
  239.         // braze.toggleLogging()
  240. \t\t -->
  241. <script type=\"text/javascript\">
  242. ";
  243.         // line 130
  244.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'130$this->source); })()), "user", [], "any"falsefalsefalse130)) {
  245.             // line 131
  246.             echo "        // 変数前準備
  247.         const userId = '";
  248.             // line 132
  249.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'132$this->source); })()), "user", [], "any"falsefalsefalse132), "id", [], "any"falsefalsefalse132), "html"nulltrue);
  250.             echo "';
  251.         const lastName = '";
  252.             // line 133
  253.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'133$this->source); })()), "user", [], "any"falsefalsefalse133), "name01", [], "any"falsefalsefalse133), "html"nulltrue);
  254.             echo "';
  255.         const firstName = '";
  256.             // line 134
  257.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'134$this->source); })()), "user", [], "any"falsefalsefalse134), "name02", [], "any"falsefalsefalse134), "html"nulltrue);
  258.             echo "';
  259.         const email = '";
  260.             // line 135
  261.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'135$this->source); })()), "user", [], "any"falsefalsefalse135), "email", [], "any"falsefalsefalse135), "html"nulltrue);
  262.             echo "';
  263. ";
  264.         }
  265.         // line 137
  266.         echo "</script>
  267.     <!--
  268.         // ID設定
  269.         braze.changeUser(userId);
  270.         // StanderdAttributesへユーザー情報をセットする為の関数
  271.         const setStandardAttributes = () => {
  272.             if (lastName) {
  273.                 braze.getUser().setLastName(lastName);
  274.             }
  275.             if (firstName) {
  276.                 braze.getUser().setFirstName(firstName);
  277.             }
  278.             if (email) {
  279.                 braze.getUser().setEmail(email);
  280.             }
  281.         }
  282.         // StanderdAttributesの関数呼び出し(実行)
  283.         setStandardAttributes();
  284. ";
  285.         // line 158
  286.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'158$this->source); })()), "user", [], "any"falsefalsefalse158)) {
  287.             // line 159
  288.             echo "        // カスタムユーザー属性のKeyの作成。事前にBraze Manage Settingsからカスタム属性を作成しておく
  289.         const point = 'point'
  290.         const pointValue = '";
  291.             // line 161
  292.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'161$this->source); })()), "user", [], "any"falsefalsefalse161), "point", [], "any"falsefalsefalse161), "html"nulltrue);
  293.             echo "';
  294. ";
  295.         }
  296.         // line 163
  297.         echo "        // カスタムユーザー属性
  298.         const setCustomUserAttribute = () => {
  299.             if (point && pointValue) {
  300.                 braze.getUser().setCustomUserAttribute(point, pointValue);
  301.             }
  302.         }
  303.         // setCustomUserAttributeの関数呼び出し(実行)
  304.         setCustomUserAttribute();
  305.         // カスタムイベント属性の作成。事前にBraze Manage Settingsからカスタムイベントを作成しておく
  306.         const eventName = 'changeRegist';    // EventName
  307.         const eventPropertyName = 'open';        // EventPropertyName
  308.         const eventPropertyValue = new Date();    // EventPropertyValue
  309.         console.log('The time is ' + eventPropertyValue.toLocaleString())
  310.         // カスタムイベント
  311.         const setCustomEvent = () => {
  312.             if (eventName) {
  313.                 if (eventPropertyName && eventPropertyValue) {
  314.                     let eventProperties = {}
  315.                     eventProperties[eventPropertyName] = eventPropertyValue.toLocaleString()
  316.                     braze.logCustomEvent(eventName, eventProperties)
  317.                 }
  318.                 else {
  319.                     braze.logCustomEvent(eventName)
  320.                 }
  321.             }
  322.         }
  323.         // setCustomEventの関数呼び出し(実行)本来はカスタムイベントを起こす場所で発火
  324.         setCustomEvent();
  325.         // 購入イベント
  326.         const setPurchaseEvent = () => {
  327.         }
  328.     </script>      
  329.     
  330.         //ここまで Braze用WebSDKタグ
  331.     -->
  332. </head>
  333. <body id=\"page_";
  334.         // line 214
  335.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'214$this->source); })()), "request", [], "any"falsefalsefalse214), "get", [=> "_route"], "method"falsefalsefalse214), "html"nulltrue);
  336.         echo "\" class=\"";
  337.         echo twig_escape_filter($this->env, ((array_key_exists("body_class"$context)) ? (_twig_default_filter((isset($context["body_class"]) || array_key_exists("body_class"$context) ? $context["body_class"] : (function () { throw new RuntimeError('Variable "body_class" does not exist.'214$this->source); })()), "other_page")) : ("other_page")), "html"nulltrue);
  338.         echo "\">
  339. <!-- Google Tag Manager (noscript) -->
  340. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5JZRBCNS\"
  341. height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  342. <!-- End Google Tag Manager (noscript) -->
  343. ";
  344.         // line 220
  345.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'220$this->source); })()), "BodyAfter", [], "any"falsefalsefalse220)) {
  346.             // line 221
  347.             echo "    ";
  348.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'221$this->source); })()), "BodyAfter", [], "any"falsefalsefalse221)]);
  349.             echo "
  350. ";
  351.         }
  352.         // line 223
  353.         echo "
  354. ";
  355.         // line 224
  356.         if ((isset($context["isMaintenance"]) || array_key_exists("isMaintenance"$context) ? $context["isMaintenance"] : (function () { throw new RuntimeError('Variable "isMaintenance" does not exist.'224$this->source); })())) {
  357.             // line 225
  358.             echo "    <div class=\"ec-maintenanceAlert\">
  359.         <div>
  360.             <div class=\"ec-maintenanceAlert__icon\"><img src=\"";
  361.             // line 227
  362.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  363.             echo "\"/></div>
  364.             ";
  365.             // line 228
  366.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メンテナンスモードが有効になっています。"), "html"nulltrue);
  367.             echo "
  368.         </div>
  369.     </div>
  370. ";
  371.         }
  372.         // line 232
  373.         echo "
  374. <div class=\"ec-layoutRole\">
  375.     ";
  376.         // line 235
  377.         echo "    ";
  378.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'235$this->source); })()), "Header", [], "any"falsefalsefalse235)) {
  379.             // line 236
  380.             echo "        <header class=\"ec-layoutRole__header\">
  381.             ";
  382.             // line 237
  383.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'237$this->source); })()), "Header", [], "any"falsefalsefalse237)]);
  384.             echo "
  385.         </header>
  386.     ";
  387.         }
  388.         // line 240
  389.         echo "
  390.     ";
  391.         // line 242
  392.         echo "    ";
  393.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'242$this->source); })()), "ContentsTop", [], "any"falsefalsefalse242)) {
  394.             // line 243
  395.             echo "        <div class=\"ec-layoutRole__contentTop\">
  396.             ";
  397.             // line 244
  398.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'244$this->source); })()), "ContentsTop", [], "any"falsefalsefalse244)]);
  399.             echo "
  400.         </div>
  401.     ";
  402.         }
  403.         // line 247
  404.         echo "
  405.     <div class=\"ec-layoutRole__contents\">
  406.         ";
  407.         // line 250
  408.         echo "        ";
  409.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'250$this->source); })()), "SideLeft", [], "any"falsefalsefalse250)) {
  410.             // line 251
  411.             echo "            <aside class=\"ec-layoutRole__left\">
  412.                 ";
  413.             // line 252
  414.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'252$this->source); })()), "SideLeft", [], "any"falsefalsefalse252)]);
  415.             echo "
  416.             </aside>
  417.         ";
  418.         }
  419.         // line 255
  420.         echo "
  421.         ";
  422.         // line 256
  423.         $context["layoutRoleMain"] = "ec-layoutRole__main";
  424.         // line 257
  425.         echo "        ";
  426.         if ((twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'257$this->source); })()), "ColumnNum", [], "any"falsefalsefalse257) == 2)) {
  427.             // line 258
  428.             echo "            ";
  429.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn";
  430.             // line 259
  431.             echo "        ";
  432.         } elseif ((twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'259$this->source); })()), "ColumnNum", [], "any"falsefalsefalse259) == 3)) {
  433.             // line 260
  434.             echo "            ";
  435.             $context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
  436.             // line 261
  437.             echo "        ";
  438.         }
  439.         // line 262
  440.         echo "
  441.         <main class=\"";
  442.         // line 263
  443.         echo twig_escape_filter($this->env, (isset($context["layoutRoleMain"]) || array_key_exists("layoutRoleMain"$context) ? $context["layoutRoleMain"] : (function () { throw new RuntimeError('Variable "layoutRoleMain" does not exist.'263$this->source); })()), "html"nulltrue);
  444.         echo "\">
  445.             ";
  446.         // line 265
  447.         echo "            ";
  448.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'265$this->source); })()), "MainTop", [], "any"falsefalsefalse265)) {
  449.             // line 266
  450.             echo "                <div class=\"ec-layoutRole__mainTop\">
  451.                     ";
  452.             // line 267
  453.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'267$this->source); })()), "MainTop", [], "any"falsefalsefalse267)]);
  454.             echo "
  455.                 </div>
  456.             ";
  457.         }
  458.         // line 270
  459.         echo "
  460.             ";
  461.         // line 272
  462.         echo "            ";
  463.         $this->displayBlock('main'$context$blocks);
  464.         // line 273
  465.         echo "
  466.             ";
  467.         // line 275
  468.         echo "            ";
  469.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'275$this->source); })()), "MainBottom", [], "any"falsefalsefalse275)) {
  470.             // line 276
  471.             echo "                <div class=\"ec-layoutRole__mainBottom\">
  472.                     ";
  473.             // line 277
  474.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'277$this->source); })()), "MainBottom", [], "any"falsefalsefalse277)]);
  475.             echo "
  476.                 </div>
  477.             ";
  478.         }
  479.         // line 280
  480.         echo "        </main>
  481.         ";
  482.         // line 283
  483.         echo "        ";
  484.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'283$this->source); })()), "SideRight", [], "any"falsefalsefalse283)) {
  485.             // line 284
  486.             echo "            <aside class=\"ec-layoutRole__right\">
  487.                 ";
  488.             // line 285
  489.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'285$this->source); })()), "SideRight", [], "any"falsefalsefalse285)]);
  490.             echo "
  491.             </aside>
  492.         ";
  493.         }
  494.         // line 288
  495.         echo "    </div>
  496.     ";
  497.         // line 291
  498.         echo "    ";
  499.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'291$this->source); })()), "ContentsBottom", [], "any"falsefalsefalse291)) {
  500.             // line 292
  501.             echo "        <div class=\"ec-layoutRole__contentBottom\">
  502.             ";
  503.             // line 293
  504.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'293$this->source); })()), "ContentsBottom", [], "any"falsefalsefalse293)]);
  505.             echo "
  506.         </div>
  507.     ";
  508.         }
  509.         // line 296
  510.         echo "
  511.     ";
  512.         // line 298
  513.         echo "    ";
  514.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'298$this->source); })()), "Footer", [], "any"falsefalsefalse298)) {
  515.             // line 299
  516.             echo "        <footer class=\"ec-layoutRole__footer\">
  517.             ";
  518.             // line 300
  519.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'300$this->source); })()), "Footer", [], "any"falsefalsefalse300)]);
  520.             echo "
  521.         </footer>
  522.     ";
  523.         }
  524.         // line 303
  525.         echo "</div><!-- ec-layoutRole -->
  526. <div class=\"ec-overlayRole\"></div>
  527. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  528. <div class=\"ec-drawerRole\">
  529.     ";
  530.         // line 309
  531.         echo "    ";
  532.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'309$this->source); })()), "Drawer", [], "any"falsefalsefalse309)) {
  533.             // line 310
  534.             echo "        ";
  535.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'310$this->source); })()), "Drawer", [], "any"falsefalsefalse310)]);
  536.             echo "
  537.     ";
  538.         }
  539.         // line 312
  540.         echo "</div>
  541. <div class=\"ec-blockTopBtn pagetop\">";
  542.         // line 313
  543.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ページトップへ"), "html"nulltrue);
  544.         echo "</div>
  545. ";
  546.         // line 314
  547.         $this->loadTemplate("@common/lang.twig""default_frame.twig"314)->display($context);
  548.         // line 315
  549.         echo "<script src=\"";
  550.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html"nulltrue);
  551.         echo "\"></script>
  552. <script src=\"";
  553.         // line 316
  554.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html"nulltrue);
  555.         echo "\"></script>
  556. ";
  557.         // line 317
  558.         $this->displayBlock('javascript'$context$blocks);
  559.         // line 319
  560.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'319$this->source); })()), "CloseBodyBefore", [], "any"falsefalsefalse319)) {
  561.             // line 320
  562.             echo "    ";
  563.             echo twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'320$this->source); })()), "CloseBodyBefore", [], "any"falsefalsefalse320)]);
  564.             echo "
  565. ";
  566.         }
  567.         // line 323
  568.         if (array_key_exists("plugin_snippets"$context)) {
  569.             // line 324
  570.             echo "    ";
  571.             echo twig_include($this->env$context"snippet.twig", ["snippets" => (isset($context["plugin_snippets"]) || array_key_exists("plugin_snippets"$context) ? $context["plugin_snippets"] : (function () { throw new RuntimeError('Variable "plugin_snippets" does not exist.'324$this->source); })())]);
  572.             echo "
  573. ";
  574.         }
  575.         // line 326
  576.         echo "    <script src=\"";
  577.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/customize.js""user_data"), "html"nulltrue);
  578.         echo "\"></script>
  579. </body>
  580. </html>
  581. ";
  582.         
  583.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  584.         
  585.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  586.     }
  587.     // line 39
  588.     public function block_stylesheet($context, array $blocks = [])
  589.     {
  590.         $macros $this->macros;
  591.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  592.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  593.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  594.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  595.         
  596.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  597.         
  598.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  599.     }
  600.     // line 272
  601.     public function block_main($context, array $blocks = [])
  602.     {
  603.         $macros $this->macros;
  604.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  605.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  606.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  607.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  608.         
  609.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  610.         
  611.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  612.     }
  613.     // line 317
  614.     public function block_javascript($context, array $blocks = [])
  615.     {
  616.         $macros $this->macros;
  617.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  618.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  619.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  620.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  621.         
  622.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  623.         
  624.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  625.     }
  626.     public function getTemplateName()
  627.     {
  628.         return "default_frame.twig";
  629.     }
  630.     public function isTraitable()
  631.     {
  632.         return false;
  633.     }
  634.     public function getDebugInfo()
  635.     {
  636.         return array (  668 => 317,  650 => 272,  632 => 39,  617 => 326,  611 => 324,  609 => 323,  603 => 320,  601 => 319,  599 => 317,  595 => 316,  590 => 315,  588 => 314,  584 => 313,  581 => 312,  575 => 310,  572 => 309,  565 => 303,  559 => 300,  556 => 299,  553 => 298,  550 => 296,  544 => 293,  541 => 292,  538 => 291,  534 => 288,  528 => 285,  525 => 284,  522 => 283,  518 => 280,  512 => 277,  509 => 276,  506 => 275,  503 => 273,  500 => 272,  497 => 270,  491 => 267,  488 => 266,  485 => 265,  481 => 263,  478 => 262,  475 => 261,  472 => 260,  469 => 259,  466 => 258,  463 => 257,  461 => 256,  458 => 255,  452 => 252,  449 => 251,  446 => 250,  442 => 247,  436 => 244,  433 => 243,  430 => 242,  427 => 240,  421 => 237,  418 => 236,  415 => 235,  411 => 232,  404 => 228,  400 => 227,  396 => 225,  394 => 224,  391 => 223,  385 => 221,  383 => 220,  373 => 214,  320 => 163,  315 => 161,  311 => 159,  309 => 158,  286 => 137,  281 => 135,  277 => 134,  273 => 133,  269 => 132,  266 => 131,  264 => 130,  201 => 69,  196 => 67,  190 => 66,  186 => 65,  182 => 64,  174 => 58,  172 => 57,  166 => 55,  161 => 54,  159 => 53,  153 => 51,  150 => 50,  139 => 40,  137 => 39,  133 => 38,  129 => 37,  123 => 35,  117 => 33,  114 => 32,  108 => 30,  105 => 29,  99 => 27,  96 => 26,  90 => 24,  87 => 23,  81 => 21,  79 => 20,  74 => 19,  72 => 18,  61 => 17,  57 => 16,  49 => 12,  46 => 1,);
  637.     }
  638.     public function getSourceContext()
  639.     {
  640.         return new Source("<!doctype html>
  641. {#
  642. This file is part of EC-CUBE
  643. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  644. http://www.ec-cube.co.jp/
  645. For the full copyright and license information, please view the LICENSE
  646. file that was distributed with this source code.
  647. #}
  648. <html lang=\"{{ eccube_config.locale }}\">
  649. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  650.     <meta charset=\"utf-8\">
  651.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  652.     <meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
  653.     <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  654.     {% if Page.meta_tags is not empty %}
  655.         {{ include(template_from_string(Page.meta_tags)) }}
  656.         {% if Page.description is not empty %}
  657.             <meta name=\"description\" content=\"{{ Page.description }}\">
  658.         {% endif %}
  659.     {% else %}
  660.         {{ include('meta.twig') }}
  661.     {% endif %}
  662.     {% if Page.author is not empty %}
  663.         <meta name=\"author\" content=\"{{ Page.author }}\">
  664.     {% endif %}
  665.     {% if Page.keyword is not empty %}
  666.         <meta name=\"keywords\" content=\"{{ Page.keyword }}\">
  667.     {% endif %}
  668.     {% if Page.meta_robots is not empty %}
  669.         <meta name=\"robots\" content=\"{{ Page.meta_robots }}\">
  670.     {% endif %}
  671.     <link rel=\"icon\" href=\"{{ asset('assets/img/common/favicon.ico', 'user_data') }}\">
  672.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  673.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.css') }}\">
  674.     <script src=\"{{ asset('front.bundle.js', 'bundle') }}\"></script>
  675.     {% block stylesheet %}{% endblock %}
  676.     <script>
  677.         \$(function() {
  678.             \$.ajaxSetup({
  679.                 'headers': {
  680.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  681.                 }
  682.             });
  683.         });
  684.     </script>
  685.     {# Layout: HEAD #}
  686.     {% if Layout.Head %}
  687.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  688.     {% endif %}
  689.     {# プラグイン用styleseetやmetatagなど #}
  690.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  691.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/customize.css', 'user_data') }}\">
  692. {% if app.user %}
  693.     <!--
  694.         EC-CUBEカスタマイズ
  695.     -->
  696.     <script type=\"text/javascript\">
  697.         // 値取得確認
  698.         console.log(window);
  699.         console.log('The user id is ' + '{{ app.user.id }}');
  700.         console.log('The user email is ' + '{{ app.user.email }}');
  701.         console.log('The user name is ' + '{{ app.user.name01 }} {{ app.user.name02 }}');
  702.         console.log('The user point is ' + '{{ app.user.point }}');
  703. {% endif %}
  704.     </script>
  705.     <!--
  706.         DataCloud用タグ
  707.     -->
  708.     <script type=\"text/javascript\" src=\"https://cdn.c360a.salesforce.com/beacon/c360a/f36d614a-e1b5-4bfd-8585-97d816238409/scripts/c360a.min.js\">
  709.     console.log('DataCloud tag loaded');
  710.     </script>
  711.     <!--
  712.         //ここまで DataCloud用Beaconタグ
  713.     -->
  714.     <!--
  715.         //ここまで EC-CUBEカスタマイズ
  716.     -->
  717.     <!--
  718.         Personalization用Beaconタグ
  719.     <script type=\"text/javascript\" async src=\"//cdn.evgnet.com/beacon/directusinc/tokutakeaws/scripts/evergage.min.js\"></script>
  720.         //ここまで Personalization様Beconタグ
  721.     -->
  722.     <!--
  723.         Braze用WebSDKタグ
  724.     -->
  725.     
  726.     <!-- SDK読み込み(必須。ただし直接記述の方法)
  727.     <script type=\"text/javascript\">
  728.         +function(a,p,P,b,y){a.braze={};a.brazeQueue=[];for(var s=\"BrazeSdkMetadata DeviceProperties Card Card.prototype.dismissCard Card.prototype.removeAllSubscriptions Card.prototype.removeSubscription Card.prototype.subscribeToClickedEvent Card.prototype.subscribeToDismissedEvent Card.fromContentCardsJson Banner CaptionedImage ClassicCard ControlCard ContentCards ContentCards.prototype.getUnviewedCardCount Feed Feed.prototype.getUnreadCardCount ControlMessage InAppMessage InAppMessage.SlideFrom InAppMessage.ClickAction InAppMessage.DismissType InAppMessage.OpenTarget InAppMessage.ImageStyle InAppMessage.Orientation InAppMessage.TextAlignment InAppMessage.CropType InAppMessage.prototype.closeMessage InAppMessage.prototype.removeAllSubscriptions InAppMessage.prototype.removeSubscription InAppMessage.prototype.subscribeToClickedEvent InAppMessage.prototype.subscribeToDismissedEvent InAppMessage.fromJson FullScreenMessage ModalMessage HtmlMessage SlideUpMessage User User.Genders User.NotificationSubscriptionTypes User.prototype.addAlias User.prototype.addToCustomAttributeArray User.prototype.addToSubscriptionGroup User.prototype.getUserId User.prototype.incrementCustomUserAttribute User.prototype.removeFromCustomAttributeArray User.prototype.removeFromSubscriptionGroup User.prototype.setCountry User.prototype.setCustomLocationAttribute User.prototype.setCustomUserAttribute User.prototype.setDateOfBirth User.prototype.setEmail User.prototype.setEmailNotificationSubscriptionType User.prototype.setFirstName User.prototype.setGender User.prototype.setHomeCity User.prototype.setLanguage User.prototype.setLastKnownLocation User.prototype.setLastName User.prototype.setPhoneNumber User.prototype.setPushNotificationSubscriptionType InAppMessageButton InAppMessageButton.prototype.removeAllSubscriptions InAppMessageButton.prototype.removeSubscription InAppMessageButton.prototype.subscribeToClickedEvent automaticallyShowInAppMessages destroyFeed hideContentCards showContentCards showFeed showInAppMessage toggleContentCards toggleFeed changeUser destroy getDeviceId initialize isPushBlocked isPushPermissionGranted isPushSupported logCardClick logCardDismissal logCardImpressions logContentCardImpressions logContentCardsDisplayed logCustomEvent logFeedDisplayed logInAppMessageButtonClick logInAppMessageClick logInAppMessageHtmlClick logInAppMessageImpression logPurchase openSession requestPushPermission removeAllSubscriptions removeSubscription requestContentCardsRefresh requestFeedRefresh refreshFeatureFlags requestImmediateDataFlush enableSDK isDisabled setLogger setSdkAuthenticationSignature addSdkMetadata disableSDK subscribeToContentCardsUpdates subscribeToFeedUpdates subscribeToInAppMessage subscribeToSdkAuthenticationFailures toggleLogging unregisterPush wipeData handleBrazeAction subscribeToFeatureFlagsUpdates getAllFeatureFlags\".split(\" \"),i=0;i<s.length;i++){for(var m=s[i],k=a.braze,l=m.split(\".\"),j=0;j<l.length-1;j++)k=k[l[j]];k[l[j]]=(new Function(\"return function \"+m.replace(/\\./g,\"_\")+\"(){window.brazeQueue.push(arguments); return true}\"))()}window.braze.getCachedContentCards=function(){return new window.braze.ContentCards};window.braze.getCachedFeed=function(){return new window.braze.Feed};window.braze.getUser=function(){return new window.braze.User};window.braze.getFeatureFlag=function(){return new window.braze.FeatureFlag};(y=p.createElement(P)).type='text/javascript';
  729.           y.src='https://js.appboycdn.com/web-sdk/4.5/braze.min.js';
  730.           y.async=1;(b=p.getElementsByTagName(P)[0]).parentNode.insertBefore(y,b)
  731.         }(window,document,'script');
  732.         // initialize the SDK(初期設定)
  733.         braze.initialize('712642bd-8b92-4338-8417-373195f29d87', {
  734.             baseUrl: \"sdk.iad-05.braze.com\",
  735.             enableLogging: true
  736.         });
  737.         
  738.         // optionally show all in-app messages without custom handling
  739.         braze.automaticallyShowInAppMessages();
  740.         // if you use Content Cards
  741.         braze.subscribeToContentCardsUpdates(function(cards){
  742.             // cards have been updated
  743.         });
  744.         // optionally set the current user's External ID
  745.         //if (isLoggedIn){
  746.         //   braze.changeUser(userIdentifier);
  747.         //}
  748.         // Be sure to call `openSession` after `automaticallyShowInAppMessages`
  749.         braze.openSession();
  750.         // Troubleshooting
  751.         // braze.toggleLogging()
  752. \t\t -->
  753. <script type=\"text/javascript\">
  754. {% if app.user %}
  755.         // 変数前準備
  756.         const userId = '{{ app.user.id }}';
  757.         const lastName = '{{ app.user.name01 }}';
  758.         const firstName = '{{ app.user.name02 }}';
  759.         const email = '{{ app.user.email }}';
  760. {% endif %}
  761. </script>
  762.     <!--
  763.         // ID設定
  764.         braze.changeUser(userId);
  765.         // StanderdAttributesへユーザー情報をセットする為の関数
  766.         const setStandardAttributes = () => {
  767.             if (lastName) {
  768.                 braze.getUser().setLastName(lastName);
  769.             }
  770.             if (firstName) {
  771.                 braze.getUser().setFirstName(firstName);
  772.             }
  773.             if (email) {
  774.                 braze.getUser().setEmail(email);
  775.             }
  776.         }
  777.         // StanderdAttributesの関数呼び出し(実行)
  778.         setStandardAttributes();
  779. {% if app.user %}
  780.         // カスタムユーザー属性のKeyの作成。事前にBraze Manage Settingsからカスタム属性を作成しておく
  781.         const point = 'point'
  782.         const pointValue = '{{ app.user.point }}';
  783. {% endif %}
  784.         // カスタムユーザー属性
  785.         const setCustomUserAttribute = () => {
  786.             if (point && pointValue) {
  787.                 braze.getUser().setCustomUserAttribute(point, pointValue);
  788.             }
  789.         }
  790.         // setCustomUserAttributeの関数呼び出し(実行)
  791.         setCustomUserAttribute();
  792.         // カスタムイベント属性の作成。事前にBraze Manage Settingsからカスタムイベントを作成しておく
  793.         const eventName = 'changeRegist';    // EventName
  794.         const eventPropertyName = 'open';        // EventPropertyName
  795.         const eventPropertyValue = new Date();    // EventPropertyValue
  796.         console.log('The time is ' + eventPropertyValue.toLocaleString())
  797.         // カスタムイベント
  798.         const setCustomEvent = () => {
  799.             if (eventName) {
  800.                 if (eventPropertyName && eventPropertyValue) {
  801.                     let eventProperties = {}
  802.                     eventProperties[eventPropertyName] = eventPropertyValue.toLocaleString()
  803.                     braze.logCustomEvent(eventName, eventProperties)
  804.                 }
  805.                 else {
  806.                     braze.logCustomEvent(eventName)
  807.                 }
  808.             }
  809.         }
  810.         // setCustomEventの関数呼び出し(実行)本来はカスタムイベントを起こす場所で発火
  811.         setCustomEvent();
  812.         // 購入イベント
  813.         const setPurchaseEvent = () => {
  814.         }
  815.     </script>      
  816.     
  817.         //ここまで Braze用WebSDKタグ
  818.     -->
  819. </head>
  820. <body id=\"page_{{ app.request.get('_route') }}\" class=\"{{ body_class|default('other_page') }}\">
  821. <!-- Google Tag Manager (noscript) -->
  822. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5JZRBCNS\"
  823. height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  824. <!-- End Google Tag Manager (noscript) -->
  825. {# Layout: BODY_AFTER #}
  826. {% if Layout.BodyAfter %}
  827.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  828. {% endif %}
  829. {% if isMaintenance %}
  830.     <div class=\"ec-maintenanceAlert\">
  831.         <div>
  832.             <div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  833.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  834.         </div>
  835.     </div>
  836. {% endif %}
  837. <div class=\"ec-layoutRole\">
  838.     {# Layout: HEADER #}
  839.     {% if Layout.Header %}
  840.         <header class=\"ec-layoutRole__header\">
  841.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  842.         </header>
  843.     {% endif %}
  844.     {# Layout: CONTENTS_TOP #}
  845.     {% if Layout.ContentsTop %}
  846.         <div class=\"ec-layoutRole__contentTop\">
  847.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  848.         </div>
  849.     {% endif %}
  850.     <div class=\"ec-layoutRole__contents\">
  851.         {# Layout: SIDE_LEFT #}
  852.         {% if Layout.SideLeft %}
  853.             <aside class=\"ec-layoutRole__left\">
  854.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  855.             </aside>
  856.         {% endif %}
  857.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  858.         {% if Layout.ColumnNum == 2 %}
  859.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  860.         {% elseif Layout.ColumnNum == 3 %}
  861.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  862.         {% endif %}
  863.         <main class=\"{{ layoutRoleMain }}\">
  864.             {# Layout: MAIN_TOP #}
  865.             {% if Layout.MainTop %}
  866.                 <div class=\"ec-layoutRole__mainTop\">
  867.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  868.                 </div>
  869.             {% endif %}
  870.             {# MAIN AREA #}
  871.             {% block main %}{% endblock %}
  872.             {# Layout: MAIN_Bottom #}
  873.             {% if Layout.MainBottom %}
  874.                 <div class=\"ec-layoutRole__mainBottom\">
  875.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  876.                 </div>
  877.             {% endif %}
  878.         </main>
  879.         {# Layout: SIDE_RIGHT #}
  880.         {% if Layout.SideRight %}
  881.             <aside class=\"ec-layoutRole__right\">
  882.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  883.             </aside>
  884.         {% endif %}
  885.     </div>
  886.     {# Layout: CONTENTS_BOTTOM #}
  887.     {% if Layout.ContentsBottom %}
  888.         <div class=\"ec-layoutRole__contentBottom\">
  889.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  890.         </div>
  891.     {% endif %}
  892.     {# Layout: CONTENTS_FOOTER #}
  893.     {% if Layout.Footer %}
  894.         <footer class=\"ec-layoutRole__footer\">
  895.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  896.         </footer>
  897.     {% endif %}
  898. </div><!-- ec-layoutRole -->
  899. <div class=\"ec-overlayRole\"></div>
  900. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  901. <div class=\"ec-drawerRole\">
  902.     {# Layout: DRAWER #}
  903.     {% if Layout.Drawer %}
  904.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  905.     {% endif %}
  906. </div>
  907. <div class=\"ec-blockTopBtn pagetop\">{{'ページトップへ'|trans}}</div>
  908. {% include('@common/lang.twig') %}
  909. <script src=\"{{ asset('assets/js/function.js') }}\"></script>
  910. <script src=\"{{ asset('assets/js/eccube.js') }}\"></script>
  911. {% block javascript %}{% endblock %}
  912. {# Layout: CLOSE_BODY_BEFORE #}
  913. {% if Layout.CloseBodyBefore %}
  914.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  915. {% endif %}
  916. {# プラグイン用Snippet #}
  917. {% if plugin_snippets is defined %}
  918.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  919. {% endif %}
  920.     <script src=\"{{ asset('assets/js/customize.js', 'user_data') }}\"></script>
  921. </body>
  922. </html>
  923. ""default_frame.twig""/opt/bitnami/apache/htdocs/ec-cube/src/Eccube/Resource/template/default/default_frame.twig");
  924.     }
  925. }