<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default_frame.twig */
class __TwigTemplate_09f3509ae349b26f87a4f00e06389d09 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'main' => [$this, 'block_main'],
'javascript' => [$this, 'block_javascript'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default_frame.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default_frame.twig"));
// line 1
echo "<!doctype html>
";
// line 12
echo "<html lang=\"";
echo twig_escape_filter($this->env, twig_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", false, false, false, 12), "html", null, true);
echo "\">
<head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<meta name=\"eccube-csrf-token\" content=\"";
// line 16
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html", null, true);
echo "\">
<title>";
// line 17
echo twig_escape_filter($this->env, twig_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", false, false, false, 17), "html", null, true);
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); })())))) {
echo " / ";
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", null, true);
} 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); })())))) {
echo " / ";
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", null, true);
}
echo "</title>
";
// line 18
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", false, false, false, 18))) {
// line 19
echo " ";
echo twig_include($this->env, $context, twig_template_from_string($this->env, 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.', 19, $this->source); })()), "meta_tags", [], "any", false, false, false, 19)));
echo "
";
// line 20
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", false, false, false, 20))) {
// line 21
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, 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.', 21, $this->source); })()), "description", [], "any", false, false, false, 21), "html", null, true);
echo "\">
";
}
// line 23
echo " ";
} else {
// line 24
echo " ";
echo twig_include($this->env, $context, "meta.twig");
echo "
";
}
// line 26
echo " ";
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", false, false, false, 26))) {
// line 27
echo " <meta name=\"author\" content=\"";
echo twig_escape_filter($this->env, 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.', 27, $this->source); })()), "author", [], "any", false, false, false, 27), "html", null, true);
echo "\">
";
}
// line 29
echo " ";
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", false, false, false, 29))) {
// line 30
echo " <meta name=\"keywords\" content=\"";
echo twig_escape_filter($this->env, 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.', 30, $this->source); })()), "keyword", [], "any", false, false, false, 30), "html", null, true);
echo "\">
";
}
// line 32
echo " ";
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", false, false, false, 32))) {
// line 33
echo " <meta name=\"robots\" content=\"";
echo twig_escape_filter($this->env, 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.', 33, $this->source); })()), "meta_robots", [], "any", false, false, false, 33), "html", null, true);
echo "\">
";
}
// line 35
echo " <link rel=\"icon\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/favicon.ico", "user_data"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
<link rel=\"stylesheet\" href=\"";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html", null, true);
echo "\">
<script src=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front.bundle.js", "bundle"), "html", null, true);
echo "\"></script>
";
// line 39
$this->displayBlock('stylesheet', $context, $blocks);
// line 40
echo " <script>
\$(function() {
\$.ajaxSetup({
'headers': {
'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
}
});
});
</script>
";
// line 50
echo " ";
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", false, false, false, 50)) {
// line 51
echo " ";
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", false, false, false, 51)]);
echo "
";
}
// line 53
echo " ";
// line 54
echo " ";
if (array_key_exists("plugin_assets", $context)) {
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); })())]);
}
// line 55
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/customize.css", "user_data"), "html", null, true);
echo "\">
";
// line 57
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", false, false, false, 57)) {
// line 58
echo " <!--
EC-CUBEカスタマイズ
-->
<script type=\"text/javascript\">
// 値取得確認
console.log(window);
console.log('The user id is ' + '";
// line 64
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 64, $this->source); })()), "user", [], "any", false, false, false, 64), "id", [], "any", false, false, false, 64), "html", null, true);
echo "');
console.log('The user email is ' + '";
// line 65
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 65, $this->source); })()), "user", [], "any", false, false, false, 65), "email", [], "any", false, false, false, 65), "html", null, true);
echo "');
console.log('The user name is ' + '";
// line 66
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 66, $this->source); })()), "user", [], "any", false, false, false, 66), "name01", [], "any", false, false, false, 66), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 66, $this->source); })()), "user", [], "any", false, false, false, 66), "name02", [], "any", false, false, false, 66), "html", null, true);
echo "');
console.log('The user point is ' + '";
// line 67
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 67, $this->source); })()), "user", [], "any", false, false, false, 67), "point", [], "any", false, false, false, 67), "html", null, true);
echo "');
";
}
// line 69
echo "
</script>
<!--
DataCloud用タグ
-->
<script type=\"text/javascript\" src=\"https://cdn.c360a.salesforce.com/beacon/c360a/f36d614a-e1b5-4bfd-8585-97d816238409/scripts/c360a.min.js\">
console.log('DataCloud tag loaded');
</script>
<!--
//ここまで DataCloud用Beaconタグ
-->
<!--
//ここまで EC-CUBEカスタマイズ
-->
<!--
Personalization用Beaconタグ
<script type=\"text/javascript\" async src=\"//cdn.evgnet.com/beacon/directusinc/tokutakeaws/scripts/evergage.min.js\"></script>
//ここまで Personalization様Beconタグ
-->
<!--
Braze用WebSDKタグ
-->
<!-- SDK読み込み(必須。ただし直接記述の方法)
<script type=\"text/javascript\">
+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';
y.src='https://js.appboycdn.com/web-sdk/4.5/braze.min.js';
y.async=1;(b=p.getElementsByTagName(P)[0]).parentNode.insertBefore(y,b)
}(window,document,'script');
// initialize the SDK(初期設定)
braze.initialize('712642bd-8b92-4338-8417-373195f29d87', {
baseUrl: \"sdk.iad-05.braze.com\",
enableLogging: true
});
// optionally show all in-app messages without custom handling
braze.automaticallyShowInAppMessages();
// if you use Content Cards
braze.subscribeToContentCardsUpdates(function(cards){
// cards have been updated
});
// optionally set the current user's External ID
//if (isLoggedIn){
// braze.changeUser(userIdentifier);
//}
// Be sure to call `openSession` after `automaticallyShowInAppMessages`
braze.openSession();
// Troubleshooting
// braze.toggleLogging()
\t\t -->
<script type=\"text/javascript\">
";
// line 130
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", false, false, false, 130)) {
// line 131
echo " // 変数前準備
const userId = '";
// line 132
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 132, $this->source); })()), "user", [], "any", false, false, false, 132), "id", [], "any", false, false, false, 132), "html", null, true);
echo "';
const lastName = '";
// line 133
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 133, $this->source); })()), "user", [], "any", false, false, false, 133), "name01", [], "any", false, false, false, 133), "html", null, true);
echo "';
const firstName = '";
// line 134
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 134, $this->source); })()), "user", [], "any", false, false, false, 134), "name02", [], "any", false, false, false, 134), "html", null, true);
echo "';
const email = '";
// line 135
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 135, $this->source); })()), "user", [], "any", false, false, false, 135), "email", [], "any", false, false, false, 135), "html", null, true);
echo "';
";
}
// line 137
echo "</script>
<!--
// ID設定
braze.changeUser(userId);
// StanderdAttributesへユーザー情報をセットする為の関数
const setStandardAttributes = () => {
if (lastName) {
braze.getUser().setLastName(lastName);
}
if (firstName) {
braze.getUser().setFirstName(firstName);
}
if (email) {
braze.getUser().setEmail(email);
}
}
// StanderdAttributesの関数呼び出し(実行)
setStandardAttributes();
";
// line 158
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", false, false, false, 158)) {
// line 159
echo " // カスタムユーザー属性のKeyの作成。事前にBraze Manage Settingsからカスタム属性を作成しておく
const point = 'point'
const pointValue = '";
// line 161
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 161, $this->source); })()), "user", [], "any", false, false, false, 161), "point", [], "any", false, false, false, 161), "html", null, true);
echo "';
";
}
// line 163
echo " // カスタムユーザー属性
const setCustomUserAttribute = () => {
if (point && pointValue) {
braze.getUser().setCustomUserAttribute(point, pointValue);
}
}
// setCustomUserAttributeの関数呼び出し(実行)
setCustomUserAttribute();
// カスタムイベント属性の作成。事前にBraze Manage Settingsからカスタムイベントを作成しておく
const eventName = 'changeRegist'; // EventName
const eventPropertyName = 'open'; // EventPropertyName
const eventPropertyValue = new Date(); // EventPropertyValue
console.log('The time is ' + eventPropertyValue.toLocaleString())
// カスタムイベント
const setCustomEvent = () => {
if (eventName) {
if (eventPropertyName && eventPropertyValue) {
let eventProperties = {}
eventProperties[eventPropertyName] = eventPropertyValue.toLocaleString()
braze.logCustomEvent(eventName, eventProperties)
}
else {
braze.logCustomEvent(eventName)
}
}
}
// setCustomEventの関数呼び出し(実行)本来はカスタムイベントを起こす場所で発火
setCustomEvent();
// 購入イベント
const setPurchaseEvent = () => {
}
</script>
//ここまで Braze用WebSDKタグ
-->
</head>
<body id=\"page_";
// line 214
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 214, $this->source); })()), "request", [], "any", false, false, false, 214), "get", [0 => "_route"], "method", false, false, false, 214), "html", null, true);
echo "\" class=\"";
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", null, true);
echo "\">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5JZRBCNS\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
// line 220
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", false, false, false, 220)) {
// line 221
echo " ";
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", false, false, false, 221)]);
echo "
";
}
// line 223
echo "
";
// line 224
if ((isset($context["isMaintenance"]) || array_key_exists("isMaintenance", $context) ? $context["isMaintenance"] : (function () { throw new RuntimeError('Variable "isMaintenance" does not exist.', 224, $this->source); })())) {
// line 225
echo " <div class=\"ec-maintenanceAlert\">
<div>
<div class=\"ec-maintenanceAlert__icon\"><img src=\"";
// line 227
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html", null, true);
echo "\"/></div>
";
// line 228
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メンテナンスモードが有効になっています。"), "html", null, true);
echo "
</div>
</div>
";
}
// line 232
echo "
<div class=\"ec-layoutRole\">
";
// line 235
echo " ";
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", false, false, false, 235)) {
// line 236
echo " <header class=\"ec-layoutRole__header\">
";
// line 237
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", false, false, false, 237)]);
echo "
</header>
";
}
// line 240
echo "
";
// line 242
echo " ";
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", false, false, false, 242)) {
// line 243
echo " <div class=\"ec-layoutRole__contentTop\">
";
// line 244
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", false, false, false, 244)]);
echo "
</div>
";
}
// line 247
echo "
<div class=\"ec-layoutRole__contents\">
";
// line 250
echo " ";
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", false, false, false, 250)) {
// line 251
echo " <aside class=\"ec-layoutRole__left\">
";
// line 252
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", false, false, false, 252)]);
echo "
</aside>
";
}
// line 255
echo "
";
// line 256
$context["layoutRoleMain"] = "ec-layoutRole__main";
// line 257
echo " ";
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", false, false, false, 257) == 2)) {
// line 258
echo " ";
$context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn";
// line 259
echo " ";
} 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", false, false, false, 259) == 3)) {
// line 260
echo " ";
$context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
// line 261
echo " ";
}
// line 262
echo "
<main class=\"";
// line 263
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", null, true);
echo "\">
";
// line 265
echo " ";
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", false, false, false, 265)) {
// line 266
echo " <div class=\"ec-layoutRole__mainTop\">
";
// line 267
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", false, false, false, 267)]);
echo "
</div>
";
}
// line 270
echo "
";
// line 272
echo " ";
$this->displayBlock('main', $context, $blocks);
// line 273
echo "
";
// line 275
echo " ";
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", false, false, false, 275)) {
// line 276
echo " <div class=\"ec-layoutRole__mainBottom\">
";
// line 277
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", false, false, false, 277)]);
echo "
</div>
";
}
// line 280
echo " </main>
";
// line 283
echo " ";
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", false, false, false, 283)) {
// line 284
echo " <aside class=\"ec-layoutRole__right\">
";
// line 285
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", false, false, false, 285)]);
echo "
</aside>
";
}
// line 288
echo " </div>
";
// line 291
echo " ";
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", false, false, false, 291)) {
// line 292
echo " <div class=\"ec-layoutRole__contentBottom\">
";
// line 293
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", false, false, false, 293)]);
echo "
</div>
";
}
// line 296
echo "
";
// line 298
echo " ";
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", false, false, false, 298)) {
// line 299
echo " <footer class=\"ec-layoutRole__footer\">
";
// line 300
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", false, false, false, 300)]);
echo "
</footer>
";
}
// line 303
echo "</div><!-- ec-layoutRole -->
<div class=\"ec-overlayRole\"></div>
<div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
<div class=\"ec-drawerRole\">
";
// line 309
echo " ";
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", false, false, false, 309)) {
// line 310
echo " ";
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", false, false, false, 310)]);
echo "
";
}
// line 312
echo "</div>
<div class=\"ec-blockTopBtn pagetop\">";
// line 313
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ページトップへ"), "html", null, true);
echo "</div>
";
// line 314
$this->loadTemplate("@common/lang.twig", "default_frame.twig", 314)->display($context);
// line 315
echo "<script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 316
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html", null, true);
echo "\"></script>
";
// line 317
$this->displayBlock('javascript', $context, $blocks);
// line 319
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", false, false, false, 319)) {
// line 320
echo " ";
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", false, false, false, 320)]);
echo "
";
}
// line 323
if (array_key_exists("plugin_snippets", $context)) {
// line 324
echo " ";
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); })())]);
echo "
";
}
// line 326
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/customize.js", "user_data"), "html", null, true);
echo "\"></script>
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 39
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 272
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 317
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "default_frame.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<!doctype html>
{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<html lang=\"{{ eccube_config.locale }}\">
<head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
<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>
{% if Page.meta_tags is not empty %}
{{ include(template_from_string(Page.meta_tags)) }}
{% if Page.description is not empty %}
<meta name=\"description\" content=\"{{ Page.description }}\">
{% endif %}
{% else %}
{{ include('meta.twig') }}
{% endif %}
{% if Page.author is not empty %}
<meta name=\"author\" content=\"{{ Page.author }}\">
{% endif %}
{% if Page.keyword is not empty %}
<meta name=\"keywords\" content=\"{{ Page.keyword }}\">
{% endif %}
{% if Page.meta_robots is not empty %}
<meta name=\"robots\" content=\"{{ Page.meta_robots }}\">
{% endif %}
<link rel=\"icon\" href=\"{{ asset('assets/img/common/favicon.ico', 'user_data') }}\">
<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.css') }}\">
<script src=\"{{ asset('front.bundle.js', 'bundle') }}\"></script>
{% block stylesheet %}{% endblock %}
<script>
\$(function() {
\$.ajaxSetup({
'headers': {
'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
}
});
});
</script>
{# Layout: HEAD #}
{% if Layout.Head %}
{{ include('block.twig', {'Blocks': Layout.Head}) }}
{% endif %}
{# プラグイン用styleseetやmetatagなど #}
{% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/customize.css', 'user_data') }}\">
{% if app.user %}
<!--
EC-CUBEカスタマイズ
-->
<script type=\"text/javascript\">
// 値取得確認
console.log(window);
console.log('The user id is ' + '{{ app.user.id }}');
console.log('The user email is ' + '{{ app.user.email }}');
console.log('The user name is ' + '{{ app.user.name01 }} {{ app.user.name02 }}');
console.log('The user point is ' + '{{ app.user.point }}');
{% endif %}
</script>
<!--
DataCloud用タグ
-->
<script type=\"text/javascript\" src=\"https://cdn.c360a.salesforce.com/beacon/c360a/f36d614a-e1b5-4bfd-8585-97d816238409/scripts/c360a.min.js\">
console.log('DataCloud tag loaded');
</script>
<!--
//ここまで DataCloud用Beaconタグ
-->
<!--
//ここまで EC-CUBEカスタマイズ
-->
<!--
Personalization用Beaconタグ
<script type=\"text/javascript\" async src=\"//cdn.evgnet.com/beacon/directusinc/tokutakeaws/scripts/evergage.min.js\"></script>
//ここまで Personalization様Beconタグ
-->
<!--
Braze用WebSDKタグ
-->
<!-- SDK読み込み(必須。ただし直接記述の方法)
<script type=\"text/javascript\">
+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';
y.src='https://js.appboycdn.com/web-sdk/4.5/braze.min.js';
y.async=1;(b=p.getElementsByTagName(P)[0]).parentNode.insertBefore(y,b)
}(window,document,'script');
// initialize the SDK(初期設定)
braze.initialize('712642bd-8b92-4338-8417-373195f29d87', {
baseUrl: \"sdk.iad-05.braze.com\",
enableLogging: true
});
// optionally show all in-app messages without custom handling
braze.automaticallyShowInAppMessages();
// if you use Content Cards
braze.subscribeToContentCardsUpdates(function(cards){
// cards have been updated
});
// optionally set the current user's External ID
//if (isLoggedIn){
// braze.changeUser(userIdentifier);
//}
// Be sure to call `openSession` after `automaticallyShowInAppMessages`
braze.openSession();
// Troubleshooting
// braze.toggleLogging()
\t\t -->
<script type=\"text/javascript\">
{% if app.user %}
// 変数前準備
const userId = '{{ app.user.id }}';
const lastName = '{{ app.user.name01 }}';
const firstName = '{{ app.user.name02 }}';
const email = '{{ app.user.email }}';
{% endif %}
</script>
<!--
// ID設定
braze.changeUser(userId);
// StanderdAttributesへユーザー情報をセットする為の関数
const setStandardAttributes = () => {
if (lastName) {
braze.getUser().setLastName(lastName);
}
if (firstName) {
braze.getUser().setFirstName(firstName);
}
if (email) {
braze.getUser().setEmail(email);
}
}
// StanderdAttributesの関数呼び出し(実行)
setStandardAttributes();
{% if app.user %}
// カスタムユーザー属性のKeyの作成。事前にBraze Manage Settingsからカスタム属性を作成しておく
const point = 'point'
const pointValue = '{{ app.user.point }}';
{% endif %}
// カスタムユーザー属性
const setCustomUserAttribute = () => {
if (point && pointValue) {
braze.getUser().setCustomUserAttribute(point, pointValue);
}
}
// setCustomUserAttributeの関数呼び出し(実行)
setCustomUserAttribute();
// カスタムイベント属性の作成。事前にBraze Manage Settingsからカスタムイベントを作成しておく
const eventName = 'changeRegist'; // EventName
const eventPropertyName = 'open'; // EventPropertyName
const eventPropertyValue = new Date(); // EventPropertyValue
console.log('The time is ' + eventPropertyValue.toLocaleString())
// カスタムイベント
const setCustomEvent = () => {
if (eventName) {
if (eventPropertyName && eventPropertyValue) {
let eventProperties = {}
eventProperties[eventPropertyName] = eventPropertyValue.toLocaleString()
braze.logCustomEvent(eventName, eventProperties)
}
else {
braze.logCustomEvent(eventName)
}
}
}
// setCustomEventの関数呼び出し(実行)本来はカスタムイベントを起こす場所で発火
setCustomEvent();
// 購入イベント
const setPurchaseEvent = () => {
}
</script>
//ここまで Braze用WebSDKタグ
-->
</head>
<body id=\"page_{{ app.request.get('_route') }}\" class=\"{{ body_class|default('other_page') }}\">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5JZRBCNS\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{# Layout: BODY_AFTER #}
{% if Layout.BodyAfter %}
{{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
{% endif %}
{% if isMaintenance %}
<div class=\"ec-maintenanceAlert\">
<div>
<div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
{{ 'メンテナンスモードが有効になっています。'|trans }}
</div>
</div>
{% endif %}
<div class=\"ec-layoutRole\">
{# Layout: HEADER #}
{% if Layout.Header %}
<header class=\"ec-layoutRole__header\">
{{ include('block.twig', {'Blocks': Layout.Header}) }}
</header>
{% endif %}
{# Layout: CONTENTS_TOP #}
{% if Layout.ContentsTop %}
<div class=\"ec-layoutRole__contentTop\">
{{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
</div>
{% endif %}
<div class=\"ec-layoutRole__contents\">
{# Layout: SIDE_LEFT #}
{% if Layout.SideLeft %}
<aside class=\"ec-layoutRole__left\">
{{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
</aside>
{% endif %}
{% set layoutRoleMain = 'ec-layoutRole__main' %}
{% if Layout.ColumnNum == 2 %}
{% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
{% elseif Layout.ColumnNum == 3 %}
{% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
{% endif %}
<main class=\"{{ layoutRoleMain }}\">
{# Layout: MAIN_TOP #}
{% if Layout.MainTop %}
<div class=\"ec-layoutRole__mainTop\">
{{ include('block.twig', {'Blocks': Layout.MainTop}) }}
</div>
{% endif %}
{# MAIN AREA #}
{% block main %}{% endblock %}
{# Layout: MAIN_Bottom #}
{% if Layout.MainBottom %}
<div class=\"ec-layoutRole__mainBottom\">
{{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
</div>
{% endif %}
</main>
{# Layout: SIDE_RIGHT #}
{% if Layout.SideRight %}
<aside class=\"ec-layoutRole__right\">
{{ include('block.twig', {'Blocks': Layout.SideRight}) }}
</aside>
{% endif %}
</div>
{# Layout: CONTENTS_BOTTOM #}
{% if Layout.ContentsBottom %}
<div class=\"ec-layoutRole__contentBottom\">
{{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
</div>
{% endif %}
{# Layout: CONTENTS_FOOTER #}
{% if Layout.Footer %}
<footer class=\"ec-layoutRole__footer\">
{{ include('block.twig', {'Blocks': Layout.Footer}) }}
</footer>
{% endif %}
</div><!-- ec-layoutRole -->
<div class=\"ec-overlayRole\"></div>
<div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
<div class=\"ec-drawerRole\">
{# Layout: DRAWER #}
{% if Layout.Drawer %}
{{ include('block.twig', {'Blocks': Layout.Drawer}) }}
{% endif %}
</div>
<div class=\"ec-blockTopBtn pagetop\">{{'ページトップへ'|trans}}</div>
{% include('@common/lang.twig') %}
<script src=\"{{ asset('assets/js/function.js') }}\"></script>
<script src=\"{{ asset('assets/js/eccube.js') }}\"></script>
{% block javascript %}{% endblock %}
{# Layout: CLOSE_BODY_BEFORE #}
{% if Layout.CloseBodyBefore %}
{{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
{% endif %}
{# プラグイン用Snippet #}
{% if plugin_snippets is defined %}
{{ include('snippet.twig', { snippets: plugin_snippets }) }}
{% endif %}
<script src=\"{{ asset('assets/js/customize.js', 'user_data') }}\"></script>
</body>
</html>
", "default_frame.twig", "/opt/bitnami/apache/htdocs/ec-cube/src/Eccube/Resource/template/default/default_frame.twig");
}
}