<commit_before><ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	template="/casa/login-template.xhtml">
	
	<f:metadata>
		<f:viewAction action="#{authenticator.prepareAuthenticationForStep}" if="#{not identity.loggedIn}" />
	</f:metadata>
	
	<ui:define name="pageTitle">#{msgs['casa.login.title']}</ui:define>
	
	<ui:define name="maincontent">
		<section class="pa4 shadow-4 bg-blank gray cust-section" id="phone_sel_section">
			<h2 class="f3 dark-blue2">#{msgs['casa.snd_step']}</h2>
			<h:messages class="list dark-red tc pv2 ph0 ma0 f5" />
			
			<div class="flex flex-column justify-center items-center pa3">
				<img src="#{request.contextPath}/img/phone-ver.png" />
				<span class="db w5 tc f7-cust pt2">#{msgs['casa.sms.choose']}</span>
			</div>
			
			<h:form id="OtpSmsloginForm" class="pt2">

				<ul id="phones" class="list-group f7-cust pt1 mb3">
				</ul>
				<div class="flex justify-between items-center mt4">
					<div class="pr4">
						<a href="javascript:showAlternative('phone_sel_section')" class="green hover-green f7-cust">#{msgs['casa.alternative']}</a>
					</div>
					<h:commandButton class="f7-cust bw0 br1 ph4 pv2 bg-bsgreen-success white hover-bsgreen-success hover-white btn cust-primary-button"
						value="#{msgs['casa.sms.send']}" action="#{authenticator.authenticate}" />
				</div>
				<h:inputHidden id="indexOfNumber" value="0" />
			</h:form>
		</section>
		<ui:include src="/casa/casa.xhtml" />
		
		<script>
			let ast = "XXXXXX "
			var numbs = "${identity.getWorkingParameter('choppedNos')}"
			numbs = numbs.split(",")
		
			for (let i=0; i &lt; numbs.length; i++) {
				let checked = (i == 0) ? " checked" : ""
				//very ugly... yes<commit_msg>Edit missed file https://github.com/GluuFederation/casa/issues/126<commit_after><ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	template="/casa/login-template.xhtml">
	
	<f:metadata>
		<f:viewAction action="#{authenticator.prepareAuthenticationForStep}" if="#{not identity.loggedIn}" />
	</f:metadata>
	
	<ui:define name="pageTitle">#{msgs['casa.login.title']}</ui:define>
	
	<ui:define name="maincontent">
		<section class="pa4 shadow-4 bg-blank gray cust-section" id="phone_sel_section">
			<h2 class="f3 dark-blue2">#{msgs['casa.snd_step']}</h2>
			<h:messages class="list dark-red tc pv2 ph0 ma0 f5" />
			
			<div class="flex flex-column justify-center items-center pa3">
				<img src="#{request.contextPath}/img/phone-ver.png" />
				<span class="db w5 tc f7-cust pt2">#{msgs['casa.sms.choose']}</span>
			</div>
			
			<h:form id="OtpSmsloginForm" class="pt2">

				<ul id="phones" class="list-group f7-cust pt1 mb3">
				</ul>
				<div class="flex justify-between items-center mt4">
					<div class="pr4">
						<!-- do not change the ID of anchor following -->
						<a id="alter_link" href="javascript:showAlternative('phone_sel_section')" class="green hover-green f7-cust">#{msgs['casa.alternative']}</a>
					</div>
					<h:commandButton class="f7-cust bw0 br1 ph4 pv2 bg-bsgreen-success white hover-bsgreen-success hover-white btn cust-primary-button"
						value="#{msgs['casa.sms.send']}" action="#{authenticator.authenticate}" />
				</div>
				<h:inputHidden id="indexOfNumber" value="0" />
			</h:form>
		</section>
		<ui:include src="/casa/casa.xhtml" />
		
		<script>
			let ast = "XXXXXX "
			var numbs = "${identity.getWorkingParameter('choppedNos')}"
			numbs = numbs.split(",")
		
			for (let i=0; i &lt; numbs.length; i++) {
				let checked = (i == 0) ? " checked" : ""
				//very ugly... yes
{'fraction_non_alphanumeric': 0.1964522107492719, 'fraction_numerical': 0.018797987821021975, 'mean_word_length': 4.010610079575597, 'pattern_counts': {'":': 0, '<': 66, '<?xml version=': 0, '>': 66, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3863377', 'n_tokens_mistral': 1628, 'n_tokens_neox': 1417, 'n_words': 247}