This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The regex for a SF ID. | |
* @type {RegExp} | |
* @const | |
*/ | |
var ID_REGEX = /^[0-9a-zA-Z]{15}([0-9a-zA-Z]{3})?$/; | |
/** | |
* Array used to expand a SF ID from 15 to 18 characters. | |
* @type {Array.<String>} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-block sqs-block-form" data-block-type="9"> | |
<div class="sqs-block-content"> | |
<div class="form-wrapper"> | |
<div class="form-inner-wrapper"> | |
<form accept-charset="UTF-8" action="YOUR_VALUE" class="infusion-form" method="POST"> | |
<input name="inf_form_xid" type="hidden" value="YOUR_VALUE" /> | |
<input name="inf_form_name" type="hidden" value="YOUR_VALUE" /> | |
<input name="infusionsoft_version" type="hidden" value="YOUR_VALUE" /> | |
<div class="field-list clear"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span id="custom-subscribe-button" class="sqs-system-button sqs-editable-button" style="float:right;">Subscribe</span> | |
<div id="custom-subscribe-popup-template" class="yui3-widget sqs-widget sqs-modal-lightbox" style="display:none;"> | |
<div class="sqs-modal-lightbox-content"> | |
<div class="lightbox-background"></div> | |
<div class="lightbox-inner"> | |
<div class="lightbox-content" style="margin-top: 332.5px; margin-bottom: 332.5px;"> | |
<div class="form-wrapper"> | |
<div class="form-title">Subscribe</div> | |
<div class="form-inner-wrapper"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Used to create, manage, and parse unique IDs. This code creates stripe-like IDs, | |
// (e.g., xx_000000000000000000000000000). It allows for a prefix and a 27 | |
// character ksuid separated by an underscore. The prefix makes it easy | |
// to visibly identify what the ID is for. | |
// | |
// Author: Kirk Morales | |
package util | |
import ( |