<?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;
/* __string_template__e7d324ebf520c6a5a8887d58b7cc27ca */
class __TwigTemplate_7f3ae3f192e4a585dd3108a9b01ad580 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 4
return "default_frame.twig";
}
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", "__string_template__e7d324ebf520c6a5a8887d58b7cc27ca"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__string_template__e7d324ebf520c6a5a8887d58b7cc27ca"));
// line 6
$context["body_class"] = "registration_page";
// line 4
$this->parent = $this->loadTemplate("default_frame.twig", "__string_template__e7d324ebf520c6a5a8887d58b7cc27ca", 4);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 8
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"));
// line 9
echo " <style>
.line_replace,.line_replace_disabled {
width: 320px;
margin: auto;
}
.line_btn_outer {
margin-bottom: 24px;
margin-top: 4px;
}
.line_replace img {
width: 320px;
}
.ig_browser_alert {
width: 265px;
right: 2px;
position: absolute;
top: 0px;
}
.login-msg {
text-align: center;
margin-bottom: 20px;
font-size: 14px;
font-weight: 400;
color: #000;
}
.login-msg a {
font-weight: 800;
color: #1F9FCB;
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 42
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"));
// line 43
echo "
<script>
\$(function() {
var userAgent = navigator.userAgent.toLowerCase();
var isInstagramOrFacebook = userAgent.includes(\"instagram\") || userAgent.includes(\"facebook\");
";
// line 50
$context["current_domain"] = 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.', 50, $this->source); })()), "request", [], "any", false, false, true, 50), "getHost", [], "method", false, false, true, 50);
// line 51
echo " ";
$context["is_prod"] = twig_in_filter("web-order.shikomel.com", (isset($context["current_domain"]) || array_key_exists("current_domain", $context) ? $context["current_domain"] : (function () { throw new RuntimeError('Variable "current_domain" does not exist.', 51, $this->source); })()));
// line 52
echo " ";
$context["is_stg"] = twig_in_filter("web-order-stg.shikomel.com", (isset($context["current_domain"]) || array_key_exists("current_domain", $context) ? $context["current_domain"] : (function () { throw new RuntimeError('Variable "current_domain" does not exist.', 52, $this->source); })()));
// line 53
echo "
// 会員情報入力画面の表示イベント
";
// line 55
if ((isset($context["is_prod"]) || array_key_exists("is_prod", $context) ? $context["is_prod"] : (function () { throw new RuntimeError('Variable "is_prod" does not exist.', 55, $this->source); })())) {
// line 56
echo "
fbq('trackCustom', 'ce_show_entry_before', {
content_type: \"ShowEntryBefore\",
value: 60
});
window.dataLayer.push({
event: 'ce_show_entry_before',
custom_event_name: 'ce_show_entry_before',
custom_customer_id: '',
custom_user_agent: \$(\"#user_agent\").val(),
custom_is_ig: \$(\"#is_ig\").val(),
custom_is_line: \$(\"#is_line\").val(),
custom_referer: \$(\"#referer\").val(),
custom_real_ip: \$(\"#real_ip\").val(),
});
_lt('send', 'cv', {
type: 'ce_show_entry_before'
},['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
// Line登録ボタンクリック
\$('.line-button').click(function() {
fbq('trackCustom', 'ce_click_line_entry', {
content_type: \"ClickLineEntry\",
value: 65
});
window.dataLayer.push({
event: 'ce_click_line_entry',
custom_event_name: 'ce_click_line_entry',
custom_customer_id: '',
custom_user_agent: \$(\"#user_agent\").val(),
custom_is_ig: \$(\"#is_ig\").val(),
custom_is_line: \$(\"#is_line\").val(),
custom_referer: \$(\"#referer\").val(),
custom_real_ip: \$(\"#real_ip\").val(),
});
_lt('send', 'cv', {
type: 'ce_click_line_entry'
},['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
});
// メアド登録ボタンクリック
\$('.entryByMailBtn').click(function() {
fbq('trackCustom', 'ce_click_mail_entry', {
content_type: \"ClickMailEntry\",
value: 65
});
window.dataLayer.push({
event: 'ce_click_mail_entry',
custom_event_name: 'ce_click_mail_entry',
custom_customer_id: '',
custom_user_agent: \$(\"#user_agent\").val(),
custom_is_ig: \$(\"#is_ig\").val(),
custom_is_line: \$(\"#is_line\").val(),
custom_referer: \$(\"#referer\").val(),
custom_real_ip: \$(\"#real_ip\").val(),
});
_lt('send', 'cv', {
type: 'ce_click_mail_entry'
},['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
});
";
}
// line 125
echo "
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 131
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"));
// line 132
echo " ";
$context["sendto"] = twig_get_attribute($this->env, $this->source, 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); })()), "request", [], "any", false, false, true, 132), "query", [], "any", false, false, true, 132), "get", [0 => "sendto"], "method", false, false, true, 132);
// line 133
echo " ";
$context["param"] = twig_get_attribute($this->env, $this->source, 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); })()), "request", [], "any", false, false, true, 133), "query", [], "any", false, false, true, 133), "get", [0 => "param"], "method", false, false, true, 133);
// line 134
echo " ";
$context["login_query"] = [];
// line 135
echo " ";
if ((isset($context["sendto"]) || array_key_exists("sendto", $context) ? $context["sendto"] : (function () { throw new RuntimeError('Variable "sendto" does not exist.', 135, $this->source); })())) {
// line 136
echo " ";
$context["login_query"] = twig_array_merge($this->sandbox->ensureToStringAllowed((isset($context["login_query"]) || array_key_exists("login_query", $context) ? $context["login_query"] : (function () { throw new RuntimeError('Variable "login_query" does not exist.', 136, $this->source); })()), 136, $this->source), ["sendto" => (isset($context["sendto"]) || array_key_exists("sendto", $context) ? $context["sendto"] : (function () { throw new RuntimeError('Variable "sendto" does not exist.', 136, $this->source); })())]);
// line 137
echo " ";
}
// line 138
echo " ";
if ((isset($context["param"]) || array_key_exists("param", $context) ? $context["param"] : (function () { throw new RuntimeError('Variable "param" does not exist.', 138, $this->source); })())) {
// line 139
echo " ";
$context["login_query"] = twig_array_merge($this->sandbox->ensureToStringAllowed((isset($context["login_query"]) || array_key_exists("login_query", $context) ? $context["login_query"] : (function () { throw new RuntimeError('Variable "login_query" does not exist.', 139, $this->source); })()), 139, $this->source), ["param" => (isset($context["param"]) || array_key_exists("param", $context) ? $context["param"] : (function () { throw new RuntimeError('Variable "param" does not exist.', 139, $this->source); })())]);
// line 140
echo " ";
}
// line 141
echo " ";
$context["login_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login", $this->sandbox->ensureToStringAllowed((isset($context["login_query"]) || array_key_exists("login_query", $context) ? $context["login_query"] : (function () { throw new RuntimeError('Variable "login_query" does not exist.', 141, $this->source); })()), 141, $this->source));
// line 142
echo " ";
$context["user_agent"] = twig_get_attribute($this->env, $this->source, 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.', 142, $this->source); })()), "request", [], "any", false, false, true, 142), "headers", [], "any", false, false, true, 142), "get", [0 => "User-Agent"], "method", false, false, true, 142);
// line 143
echo " ";
$context["ref"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, true, 143), "headers", [], "any", false, true, true, 143), "get", [0 => "Referer"], "method", true, true, true, 143)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, true, 143), "headers", [], "any", false, true, true, 143), "get", [0 => "Referer"], "method", false, false, true, 143), 143, $this->source), "")) : (""));
// line 144
echo " ";
$context["from"] = ((twig_get_attribute($this->env, $this->source, 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.', 144, $this->source); })()), "request", [], "any", false, false, true, 144), "query", [], "any", false, false, true, 144), "get", [0 => "from"], "method", false, false, true, 144)) ? (twig_get_attribute($this->env, $this->source, 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.', 144, $this->source); })()), "request", [], "any", false, false, true, 144), "query", [], "any", false, false, true, 144), "get", [0 => "from"], "method", false, false, true, 144)) : (((twig_get_attribute($this->env, $this->source, 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.', 144, $this->source); })()), "request", [], "any", false, false, true, 144), "cookies", [], "any", false, false, true, 144), "get", [0 => "from_param"], "method", false, false, true, 144)) ? (twig_get_attribute($this->env, $this->source, 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.', 144, $this->source); })()), "request", [], "any", false, false, true, 144), "cookies", [], "any", false, false, true, 144), "get", [0 => "from_param"], "method", false, false, true, 144)) : (""))));
// line 145
echo "
";
// line 146
$context["isFromX"] = (((preg_match("/twitter/i", // line 148
(isset($context["user_agent"]) || array_key_exists("user_agent", $context) ? $context["user_agent"] : (function () { throw new RuntimeError('Variable "user_agent" does not exist.', 148, $this->source); })())) || preg_match("/https?:\\/\\/t\\.co\\//i", // line 149
(isset($context["ref"]) || array_key_exists("ref", $context) ? $context["ref"] : (function () { throw new RuntimeError('Variable "ref" does not exist.', 149, $this->source); })()))) || preg_match("/https?:\\/\\/(www\\.)?x\\.com\\//i", // line 150
(isset($context["ref"]) || array_key_exists("ref", $context) ? $context["ref"] : (function () { throw new RuntimeError('Variable "ref" does not exist.', 150, $this->source); })()))) || (is_string($__internal_compile_0 = // line 151
(isset($context["from"]) || array_key_exists("from", $context) ? $context["from"] : (function () { throw new RuntimeError('Variable "from" does not exist.', 151, $this->source); })())) && is_string($__internal_compile_1 = "x_") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1))));
// line 153
echo " ";
$context["is_in_app_browser"] = ((preg_match("/instagram/i", (isset($context["user_agent"]) || array_key_exists("user_agent", $context) ? $context["user_agent"] : (function () { throw new RuntimeError('Variable "user_agent" does not exist.', 153, $this->source); })())) || preg_match("/facebook/i", (isset($context["user_agent"]) || array_key_exists("user_agent", $context) ? $context["user_agent"] : (function () { throw new RuntimeError('Variable "user_agent" does not exist.', 153, $this->source); })()))) || (isset($context["isFromX"]) || array_key_exists("isFromX", $context) ? $context["isFromX"] : (function () { throw new RuntimeError('Variable "isFromX" does not exist.', 153, $this->source); })()));
// line 154
echo " ";
// line 155
echo " ";
if ((isset($context["is_in_app_browser"]) || array_key_exists("is_in_app_browser", $context) ? $context["is_in_app_browser"] : (function () { throw new RuntimeError('Variable "is_in_app_browser" does not exist.', 155, $this->source); })())) {
// line 156
echo " <div>
<img class=\"ig_browser_alert\" src=\"";
// line 157
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/ig_browser_alert.png", "user_data"), "html", null, true);
echo "\">
</div>
";
}
// line 160
echo "
<div class=\"ec-registerRole\">
<div class=\"ec-pageHeader\">
<h1 style=\"margin-top: 10px; margin-bottom: 20px; border-top: none; border-bottom: 1px solid #ccc;\">会員登録(無料)</h1>
</div>
";
// line 165
if ((isset($context["invalidCode"]) || array_key_exists("invalidCode", $context) ? $context["invalidCode"] : (function () { throw new RuntimeError('Variable "invalidCode" does not exist.', 165, $this->source); })())) {
// line 166
echo " <div
style=\"font-size: 13px; color: #e76675; margin: 12px auto; width: 320px;\"
><span>紹介リンクが不正です。正しい紹介リンクからやり直してください。</span></div>
";
}
// line 170
echo " <div style=\"max-width: 430px; margin: auto;\">
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\" style=\"text-align: center;\">
<div style=\"margin-bottom: 8px;\">
<span style=\"font-size: 14px; color: #000;\">入力項目は2つだけ!約1分で完了!</span>
</div>
";
// line 177
echo " ";
if ((isset($context["is_in_app_browser"]) || array_key_exists("is_in_app_browser", $context) ? $context["is_in_app_browser"] : (function () { throw new RuntimeError('Variable "is_in_app_browser" does not exist.', 177, $this->source); })())) {
// line 178
echo " <div class=\"line_replace_disabled\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_line_disabled.png", "user_data"), "html", null, true);
echo "\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\">
<div class=\"line_btn_outer\">
<img src=\"";
// line 180
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/line_relate_3000.png", "user_data"), "html", null, true);
echo "\" alt=\"メールログイン\" style=\"width: 277px;\">
</div>
";
// line 184
echo " </div>
";
} else {
// line 186
echo " <div class=\"line_replace\"><a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_line.png", "user_data"), "html", null, true);
echo "\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
<div class=\"line_btn_outer\">
<img src=\"";
// line 188
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/line_relate_3000.png", "user_data"), "html", null, true);
echo "\" alt=\"メールログイン\" style=\"width: 277px;\">
</div>
";
// line 192
echo " </div>
";
}
// line 194
echo " </div>
</div>
<div style=\"max-width: 320px; margin: auto;\">
<img src=\"";
// line 197
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_before_parts1.png", "user_data"), "html", null, true);
echo "\">
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<div style=\"color: #525263; text-align: left; margin-top: 20px; margin-bottom: 60px; font-size: 14px;letter-spacing: 1.5px; line-height: 30px;\">
<div style=\"max-width: 320px; margin: auto;\">
<a href=\"";
// line 203
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\" class=\"entryByMailBtn\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_mail.png", "user_data"), "html", null, true);
echo "\" alt=\"メールとパスワードで登録\" style=\"max-width: 100%;\"></a>
</div>
</div>
</div>
</div>
<div class=\"login-msg\"><span>すでに登録済みですか?
<a href=\"";
// line 209
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["login_url"]) || array_key_exists("login_url", $context) ? $context["login_url"] : (function () { throw new RuntimeError('Variable "login_url" does not exist.', 209, $this->source); })()), 209, $this->source), "html", null, true);
echo "\">ログイン</a></span></div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "__string_template__e7d324ebf520c6a5a8887d58b7cc27ca";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 392 => 209, 381 => 203, 372 => 197, 367 => 194, 363 => 192, 357 => 188, 351 => 186, 347 => 184, 341 => 180, 335 => 178, 332 => 177, 324 => 170, 318 => 166, 316 => 165, 309 => 160, 303 => 157, 300 => 156, 297 => 155, 295 => 154, 292 => 153, 290 => 151, 289 => 150, 288 => 149, 287 => 148, 286 => 146, 283 => 145, 280 => 144, 277 => 143, 274 => 142, 271 => 141, 268 => 140, 265 => 139, 262 => 138, 259 => 137, 256 => 136, 253 => 135, 250 => 134, 247 => 133, 244 => 132, 234 => 131, 220 => 125, 149 => 56, 147 => 55, 143 => 53, 140 => 52, 137 => 51, 135 => 50, 126 => 43, 116 => 42, 75 => 9, 65 => 8, 54 => 4, 52 => 6, 39 => 4,);
}
public function getSourceContext()
{
return new Source("{#
カスタマイズTwig
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'registration_page' %}
{% block stylesheet %}
<style>
.line_replace,.line_replace_disabled {
width: 320px;
margin: auto;
}
.line_btn_outer {
margin-bottom: 24px;
margin-top: 4px;
}
.line_replace img {
width: 320px;
}
.ig_browser_alert {
width: 265px;
right: 2px;
position: absolute;
top: 0px;
}
.login-msg {
text-align: center;
margin-bottom: 20px;
font-size: 14px;
font-weight: 400;
color: #000;
}
.login-msg a {
font-weight: 800;
color: #1F9FCB;
}
</style>
{% endblock %}
{% block javascript %}
<script>
\$(function() {
var userAgent = navigator.userAgent.toLowerCase();
var isInstagramOrFacebook = userAgent.includes(\"instagram\") || userAgent.includes(\"facebook\");
{% set current_domain = app.request.getHost() %}
{% set is_prod = 'web-order.shikomel.com' in current_domain %}
{% set is_stg = 'web-order-stg.shikomel.com' in current_domain %}
// 会員情報入力画面の表示イベント
{% if is_prod %}
fbq('trackCustom', 'ce_show_entry_before', {
content_type: \"ShowEntryBefore\",
value: 60
});
window.dataLayer.push({
event: 'ce_show_entry_before',
custom_event_name: 'ce_show_entry_before',
custom_customer_id: '',
custom_user_agent: \$(\"#user_agent\").val(),
custom_is_ig: \$(\"#is_ig\").val(),
custom_is_line: \$(\"#is_line\").val(),
custom_referer: \$(\"#referer\").val(),
custom_real_ip: \$(\"#real_ip\").val(),
});
_lt('send', 'cv', {
type: 'ce_show_entry_before'
},['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
// Line登録ボタンクリック
\$('.line-button').click(function() {
fbq('trackCustom', 'ce_click_line_entry', {
content_type: \"ClickLineEntry\",
value: 65
});
window.dataLayer.push({
event: 'ce_click_line_entry',
custom_event_name: 'ce_click_line_entry',
custom_customer_id: '',
custom_user_agent: \$(\"#user_agent\").val(),
custom_is_ig: \$(\"#is_ig\").val(),
custom_is_line: \$(\"#is_line\").val(),
custom_referer: \$(\"#referer\").val(),
custom_real_ip: \$(\"#real_ip\").val(),
});
_lt('send', 'cv', {
type: 'ce_click_line_entry'
},['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
});
// メアド登録ボタンクリック
\$('.entryByMailBtn').click(function() {
fbq('trackCustom', 'ce_click_mail_entry', {
content_type: \"ClickMailEntry\",
value: 65
});
window.dataLayer.push({
event: 'ce_click_mail_entry',
custom_event_name: 'ce_click_mail_entry',
custom_customer_id: '',
custom_user_agent: \$(\"#user_agent\").val(),
custom_is_ig: \$(\"#is_ig\").val(),
custom_is_line: \$(\"#is_line\").val(),
custom_referer: \$(\"#referer\").val(),
custom_real_ip: \$(\"#real_ip\").val(),
});
_lt('send', 'cv', {
type: 'ce_click_mail_entry'
},['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
});
{% endif %}
});
</script>
{% endblock javascript %}
{% block main %}
{% set sendto = app.request.query.get('sendto') %}
{% set param = app.request.query.get('param') %}
{% set login_query = {} %}
{% if sendto %}
{% set login_query = login_query|merge({'sendto': sendto}) %}
{% endif %}
{% if param %}
{% set login_query = login_query|merge({'param': param}) %}
{% endif %}
{% set login_url = url('mypage_login', login_query) %}
{% set user_agent = app.request.headers.get('User-Agent') %}
{% set ref = app.request.headers.get('Referer')|default('') %}
{% set from = app.request.query.get('from') ?: app.request.cookies.get('from_param') ?: '' %}
{% set isFromX = (
user_agent matches '/twitter/i'
or ref matches '/https?:\\\\/\\\\/t\\\\.co\\\\//i'
or ref matches '/https?:\\\\/\\\\/(www\\\\.)?x\\\\.com\\\\//i'
or from starts with 'x_'
) %}
{% set is_in_app_browser = user_agent matches '/instagram/i' or user_agent matches '/facebook/i' or isFromX %}
{# IGブラウザの場合 #}
{% if is_in_app_browser %}
<div>
<img class=\"ig_browser_alert\" src=\"{{ asset(\"assets/img/common/ig_browser_alert.png\", \"user_data\") }}\">
</div>
{% endif %}
<div class=\"ec-registerRole\">
<div class=\"ec-pageHeader\">
<h1 style=\"margin-top: 10px; margin-bottom: 20px; border-top: none; border-bottom: 1px solid #ccc;\">会員登録(無料)</h1>
</div>
{% if invalidCode %}
<div
style=\"font-size: 13px; color: #e76675; margin: 12px auto; width: 320px;\"
><span>紹介リンクが不正です。正しい紹介リンクからやり直してください。</span></div>
{% endif %}
<div style=\"max-width: 430px; margin: auto;\">
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\" style=\"text-align: center;\">
<div style=\"margin-bottom: 8px;\">
<span style=\"font-size: 14px; color: #000;\">入力項目は2つだけ!約1分で完了!</span>
</div>
{# IGブラウザの場合 #}
{% if is_in_app_browser %}
<div class=\"line_replace_disabled\"><img src=\"{{ asset(\"assets/img/common/entry_line_disabled.png\", \"user_data\") }}\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\">
<div class=\"line_btn_outer\">
<img src=\"{{ asset(\"assets/img/common/line_relate_3000.png\", \"user_data\") }}\" alt=\"メールログイン\" style=\"width: 277px;\">
</div>
{# Line連携ボタンをPHPで埋め込み #}
</div>
{% else %}
<div class=\"line_replace\"><a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"{{ asset(\"assets/img/common/entry_line.png\", \"user_data\") }}\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
<div class=\"line_btn_outer\">
<img src=\"{{ asset(\"assets/img/common/line_relate_3000.png\", \"user_data\") }}\" alt=\"メールログイン\" style=\"width: 277px;\">
</div>
{# Line連携ボタンをPHPで埋め込み #}
</div>
{% endif %}
</div>
</div>
<div style=\"max-width: 320px; margin: auto;\">
<img src=\"{{ asset(\"assets/img/common/entry_before_parts1.png\", \"user_data\") }}\">
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<div style=\"color: #525263; text-align: left; margin-top: 20px; margin-bottom: 60px; font-size: 14px;letter-spacing: 1.5px; line-height: 30px;\">
<div style=\"max-width: 320px; margin: auto;\">
<a href=\"{{ url('entry') }}\" class=\"entryByMailBtn\"><img src=\"{{ asset(\"assets/img/common/entry_mail.png\", \"user_data\") }}\" alt=\"メールとパスワードで登録\" style=\"max-width: 100%;\"></a>
</div>
</div>
</div>
</div>
<div class=\"login-msg\"><span>すでに登録済みですか?
<a href=\"{{ login_url }}\">ログイン</a></span></div>
</div>
</div>
{% endblock %}
", "__string_template__e7d324ebf520c6a5a8887d58b7cc27ca", "");
}
public function checkSecurity()
{
static $tags = array("set" => 6, "if" => 55);
static $filters = array("merge" => 136, "default" => 143, "escape" => 157);
static $functions = array("url" => 141, "asset" => 157);
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['merge', 'default', 'escape'],
['url', 'asset']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}